Lo skin for revcms!

Status
Not open for further replies.

Sledmur

Web-Developer
Nov 29, 2011
459
98
oh 1 moment will do

<?php if($_SESSION['points']['rank'] >= $_CONFIG['admin']['add']) include 'pages/tools.php'; ?>


\put that anywhere
 

James6213

Member
Nov 13, 2011
99
13
479da21a7881fc117a1071a61802efa6.png
 

James6213

Member
Nov 13, 2011
99
13
Release/Addon​
Code:
<?php
define('IN_CLIENT', 1);
require_once 'thehabbos_api/force.client.php';
$query = 'SELECT COUNT(*) FROM users';
$result = mysql_query($query) or die('Sorry, we could not count the number of results: ' . mysql_error());
$stat_usrCount = mysql_result($result, 0);
$query = 'SELECT COUNT(*) FROM users WHERE rank = 4';
$result = mysql_query($query) or die('Sorry, we could not count the number of results: ' . mysql_error());
$stat_vipCount = mysql_result($result, 0);
?>
 
<div id='main_content' style='width:978px;'>   
        <table width='100%' style='text-align:center;'>
            <tr>               
                <td width='20%'>
                    <strong>Users Online: </strong> {online}
                </td>               
                <td width='20%'>
                    <strong>Registered Users:</strong> <?php echo $stat_usrCount; ?>
                </td>
            <td width='20%'>
                    <strong>eXpert's Users:</strong> <?php echo $stat_vipCount; ?>
                </td>
                <td width='20%'>
                    <strong>Server Time: </strong> <?php echo date("G:i a"); ?>   
                </td>
   
            </tr>   
        </table>
</div>
0b44ecbe1a442937ed42d9db01ec6540.png
 

Sledmur

Web-Developer
Nov 29, 2011
459
98
Release/Addon​
Code:
<?php
define('IN_CLIENT', 1);
require_once 'thehabbos_api/force.client.php';
$query = 'SELECT COUNT(*) FROM users';
$result = mysql_query($query) or die('Sorry, we could not count the number of results: ' . mysql_error());
$stat_usrCount = mysql_result($result, 0);
$query = 'SELECT COUNT(*) FROM users WHERE rank = 4';
$result = mysql_query($query) or die('Sorry, we could not count the number of results: ' . mysql_error());
$stat_vipCount = mysql_result($result, 0);
?>
 
<div id='main_content' style='width:978px;'> 
        <table width='100%' style='text-align:center;'>
            <tr>             
                <td width='20%'>
                    <strong>Users Online: </strong> {online}
                </td>             
                <td width='20%'>
                    <strong>Registered Users:</strong> <?php echo $stat_usrCount; ?>
                </td>
            <td width='20%'>
                    <strong>eXpert's Users:</strong> <?php echo $stat_vipCount; ?>
                </td>
                <td width='20%'>
                    <strong>Server Time: </strong> <?php echo date("G:i a"); ?> 
                </td>
 
            </tr> 
        </table>
</div>
0b44ecbe1a442937ed42d9db01ec6540.png
Why not release the player cards aswell? I see you interested in helping me finish it?
 

James6213

Member
Nov 13, 2011
99
13
I don't have a playercard haha but I know you can use the online thing to make it I made one before if you need the online code just ask :)
 

Sledmur

Web-Developer
Nov 29, 2011
459
98
I don't have a playercard haha but I know you can use the online thing to make it I made one before if you need the online code just ask :)
I already have it >_> just been busy with school had to take 5 final exams today....
 

James6213

Member
Nov 13, 2011
99
13
The only problem I ran into was showing the image of the user but now I guess you could just use summin like this
Code:
"<img style=\"position:absolute;\" src=\"http://www.habbo.com/habbo-imaging/avatarimage?figure={$Users['look']}&action=wav&direction=2&head_direction=3&gesture=srp&size=l\">"
 

James6213

Member
Nov 13, 2011
99
13
Any chance you would know how to add News to the side on the /me bit


73bf0a23d1618ea1a2067bae136a2aa5.png


Around this bit?

Cheers :D
 

Sledmur

Web-Developer
Nov 29, 2011
459
98
The actual box with images? simple. The newsList? Need more info bro.
 
Status
Not open for further replies.

Users who are viewing this thread

Top