-
Posts
21 -
Joined
-
Last visited
About wrighty

wrighty's Achievements

Junior Member (1/3)
0
Reputation
-
Hi just wanted know what will be the best card payment gateway to use what is not hard to setup What gateway do you use any help will do for me Regards Mark
-
I don't know why you don't do it your self its easy to make that way u ant copying if u want you can pm me n ile do you one like just nt same background color.
-
Hi mate how i do this 1 add the server. 2 add your packages to your server in whm. 3 add your Products/Services in whmcs. 4 setup support and cron jobs. 5 setup mailing and your General Settings and Automation Settings. 6 setup your Domains/TLDS and prices. feel free to email me and i will help you get online codentools @ gmail .com
-
Hi have you added your server to the whmcs and have u added the packages to the server or in whmcs?
-
Website is weird when using float in div.
wrighty replied to DennisHermannsen's topic in Developer Corner
</head> <body> {if $pagetitle eq $LANG.carttitle}</div>{/if} </div> </div> <div class="footerdivider"> <div class="fill"> </div> <div class="footer"> <div class="socialicons"> <a href="http://Twitter.com/GameDeskNet"><img src="http://game-desk.net/templates/gamedesk2013/images/twitter.png" width="50px" height="50px"/></a> <a href="http://Facebook.com/GameDeskNet"><img src="http://game-desk.net/templates/gamedesk2013/images/facebook.png" width="50px" height="50px"/></a> </div> <div class="footer-text"> <div id="copyright">{$LANG.copyright} © {$date_year} {$companyname}. {$LANG.allrightsreserved}.</div> {if $langchange}<div id="languagechooser">{$setlanguage}</div>{/if} <div class="clear"></div> {$footeroutput} </div> </div> </div> </body> css .footerdivider { margin: 0 auto; padding: 0; width: 100%; height: 100%; background-color: #03152b; background-repeat: repeat-x; -o-border-radius: 2px; color:#fff; } .footerdivider #languagefrm select { margin: 0 0 0 5px; padding: 4px; font-family: Tahoma; font-size: 11px; color: #000000; height: 25px; line-height: 25px; -moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; border-radius: 6px; float: middle; } .footerdivider #copyright { float: right; color: #fff; } .fill{ color:white; padding: 10px 0px 2px 7px; min-height:20px; width:960px; height:100%; margin-left:auto; margin-right:auto; } .footer{ margin: 0 auto; padding: 0; width: 100%; height:50px; background-color: #000; background-repeat: repeat-x; color:#fff; margin-top:auto; margin-bottom:auto; } .footer-text{ width:960px; margin-left:auto; margin-right:auto; margin-top:auto; margin-bottom:auto; padding-top:13px; } .socialicons{ float:right; padding-left:5px; } -
are u usein new whmcs the new one as it set cron jobs up it should pop up
-
Network Status: Only Show Server Where Client is Hosted On
wrighty replied to JLHC's topic in Developer Corner
This the code im useing hope it works for u mate let me know Copy all the code and pase it in serverstatus.tpl {if $loggedin} <td height="29"> <div align="center"><font color="red"><strong>Live Uptime Status as of Today:</font> {$todaysdate}{$time} </strong> </div></td> <hr /> <br /> <table width="100%" class="clientareatable" align="center" cellspacing="1"> <tr class="clientareatableheading"> <td>{$LANG.servername}</td> <td>Hosting</td> <td>HTTP</td> <td>WHM</td> <td>CPanel</td> <td>FTP</td> <td>POP3</td> <td>SMTP</td> </tr> <tr> {php} $query1 = "SELECT * FROM tblservers ORDER BY name"; $result1 = mysql_query($query1); while ($row1 = mysql_fetch_array($result1)) { $serverid = $row1['id']; $servername = $row1['name']; $host = $row1['ipaddress']; $hosteddomains=""; $query2 = "SELECT * FROM tblhosting WHERE userid='".$_SESSION["uid"]."' AND domainstatus='Active' AND server='".$serverid."'"; $result2 = mysql_query($query2); while ($row2 = mysql_fetch_array($result2)) { $hosteddomain = $row2['domain']; $hosteddomains.=$hosteddomain."<br>"; } if ($hosteddomains) { $hosteddomains=substr($hosteddomains,0,-4); if ($host) { //HTTP $port = 80; $fp = fsockopen($host,$port,$errno,$errstr,10); if(!$fp) { echo "<tr class=\"clientareatableactive\">"; echo "<td><b>".$servername."</b> </td>"; echo "<td>" .$hosteddomains."</td>"; echo "<td rowspan=\"2\"><img src=\"images/statusfailed.gif\"></td>"; } else{ echo "<tr class=\"clientareatableactive\">"; echo "<td>".$servername." </td>"; echo "<td>" .$hosteddomains."</td>"; echo "<td><img src=\"images/statusok.gif\"></td>"; fclose($fp); } //CPanel $port = 2082; $fp = fsockopen($host,$port,$errno,$errstr,10); if(!$fp) { echo "<td rowspan=\"2\"><img src=\"images/statusfailed.gif\"></td>"; }else{ echo "<td><img src=\"images/statusok.gif\"></td>"; fclose($fp); } //WHM $port = 2086; $fp = fsockopen($host,$port,$errno,$errstr,10); if(!$fp) { echo "<td rowspan=\"2\"><img src=\"images/statusfailed.gif\"></td>"; }else{ echo "<td><img src=\"images/statusok.gif\"></td>"; fclose($fp); } //FTP $port = 21; $fp = fsockopen($host,$port,$errno,$errstr,10); if(!$fp) { echo "<td rowspan=\"2\"><img src=\"images/statusfailed.gif\"></td>"; }else{ echo "<td><img src=\"images/statusok.gif\"></td>"; fclose($fp); } //POP3 $port = 110; $fp = fsockopen($host,$port,$errno,$errstr,10); if(!$fp) { echo "<td rowspan=\"2\"><img src=\"images/statusfailed.gif\"></td>"; }else{ echo "<td><img src=\"images/statusok.gif\"></td>"; fclose($fp); } //SMTP $port = 25; $fp = fsockopen($host,$port,$errno,$errstr,10); if(!$fp) { echo "<td rowspan=\"2\"><img src=\"imagesfailed.gif\"></td>"; }else{ echo "<td><img src=\"images/statusok.gif\"></td>"; fclose($fp); } $this->assign('serverid',$serverid); $this->assign('servername',$servername); {/php} {php} echo "</td></tr>"; } else { echo "<tr class=\"clientareatableactive\">"; echo "<td>".$servername."</td>"; echo "<td>" .$hosteddomains."</td>"; echo "<td colspan=\"5\"><strong><font color=\"#AAAAAA\">Not Monitored Here</font></strong></td>"; }}} {/php} </table> {else} <p>{$LANG.loginintrotext}</p> <form action="dologin.php?goto=serverstatus" method="post"> <table align="center"> <tr><td align="right">{$LANG.loginemail}:</td><td><input type="text" name="username" size="40" value="{$username}"></td></tr> <tr><td align="right">{$LANG.loginpassword}:</td><td><input type="password" name="password" size="25" value="{$password}"></td></tr> </table> <p align="center"><input type="submit" value="{$LANG.loginbutton}"><br><input type="checkbox" name="rememberme"{$rememberme}> {$LANG.loginrememberme}</p> </form> <p><b>{$LANG.loginforgotten}</B> <a href="passwordreminder.php">{$LANG.loginforgotteninstructions}</a>.</p> {/if} -
Network Status: Only Show Server Where Client is Hosted On
wrighty replied to JLHC's topic in Developer Corner
Ye running latest mate -
Network Status: Only Show Server Where Client is Hosted On
wrighty replied to JLHC's topic in Developer Corner
-
Network Status: Only Show Server Where Client is Hosted On
wrighty replied to JLHC's topic in Developer Corner
try this http://forum.whmcs.com/showthread.php?14002-Server-Status-display-wizardry hope that's what u looking for. -
Thank's Just opened a ticket.
-
Update Was a bug thay fixed this with the new one had same prob's