Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
UberCMS eXpert Page
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CronicHosts" data-source="post: 44211" data-attributes="member: 5733"><p>I've looked around and this hasn't been released, I know this is simple but some people might find it useful so here goes.</p><p></p><p>Download it here:</p><p><a href="http://www.mediafire.com/?dtk1bagm7mes8qz" target="_blank">expert.zip</a></p><p></p><p>Screenshot:</p><p><img src="http://www.iaza.com/work/110825C/iaza15110663042900.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Add this to your HTACCESS:</p><p>[php]RewriteRule ^expert(|/)$ /expert.php[/php]</p><p></p><p>Here are codes if someone wants to see them:</p><p></p><p>Expert.php</p><p>[php]<?php</p><p>/*=======================================================================</p><p>| UberCMS - Advanced Website and Content Management System for uberEmu</p><p>| #######################################################################</p><p>| Copyright (c) 2010, Roy 'Meth0d'</p><p>| http://www.meth0d.org</p><p>| #######################################################################</p><p>| This program is free software: you can redistribute it and/or modify</p><p>| it under the terms of the GNU General Public License as published by</p><p>| the Free Software Foundation, either version 3 of the License, or</p><p>| (at your option) any later version.</p><p>| #######################################################################</p><p>| This program is distributed in the hope that it will be useful,</p><p>| but WITHOUT ANY WARRANTY; without even the implied warranty of</p><p>| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</p><p>| GNU General Public License for more details.</p><p>\======================================================================*/</p><p></p><p>define('TAB_ID', 5);</p><p>define('PAGE_ID', 16);</p><p></p><p>require_once "global.php";</p><p></p><p>$tpl->Init();</p><p></p><p>$tpl->AddGeneric('head-init');</p><p></p><p>$tpl->AddIncludeSet('generic');</p><p>$tpl->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/newcredits.css', 'stylesheet'));</p><p>$tpl->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/newcredits.js'));</p><p>$tpl->WriteIncludeFiles();</p><p></p><p>$tpl->AddGeneric('head-overrides-generic');</p><p>$tpl->AddGeneric('head-bottom');</p><p>$tpl->AddGeneric('generic-top');</p><p></p><p>$tpl->Write('<div id="column1" class="column">');</p><p>$tpl->AddGeneric('comp-expert');</p><p>$tpl->Write('</div>');</p><p></p><p>$tpl->Write('<div id="column2" class="column">');</p><p>$tpl->AddGeneric('comp-expert-about')</p><p>;</p><p>$tpl->Write('</div>');</p><p>$tpl->AddGeneric('footer');</p><p></p><p>$tpl->SetParam('page_title', 'Desire eXperts');</p><p>$tpl->SetParam('body_id', 'home');</p><p></p><p>$tpl->Output();</p><p></p><p>?>[/php]</p><p></p><p>Comp-Expert</p><p>[php]<?php</p><p></p><p>function GetDescr($level)</p><p>{</p><p> </p><p>}</p><p></p><p>$get = dbquery("SELECT id,name FROM ranks WHERE id = 3 ");</p><p></p><p>while ($group = mysql_fetch_assoc($get))</p><p>{</p><p>echo '<div class="habblet-container "></p><p><div class="cbb clearfix blue "></p><p><h2 class="title"><span style="float: left;">' . clean($group['name']) . 's</span> <span style="float: right; font-weight: normal; font-size: 75%;">' . GetDescr($group['id']) . '</span></h2>';</p><p></p><p>$getMembers = dbquery("SELECT id,username,motto,look,online FROM users WHERE rank = '" . $group['id'] . "'");</p><p></p><p>echo '<div class="box-content">';</p><p></p><p>if (mysql_num_rows($getMembers) > 0)</p><p>{</p><p>$oe = 1;</p><p></p><p>while ($member = mysql_fetch_assoc($getMembers))</p><p>{</p><p>if ($oe == 2)</p><p>{</p><p>$oe = 1;</p><p>}</p><p>else</p><p>{</p><p>$oe = 2;</p><p>}</p><p></p><p>echo '<table width="100.3%" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"></p><p><tbody></p><p><tr></p><p><td valign="middle" width="25"></p><p><img style="margin-top: -10px;" src="http://www.habbo.com/habbo-imaging/avatarimage?figure=' . $member['look'] . '&action=crr=3&direction=2&head_direction=3&gesture=sml&size=2"></p><p></td></p><p><td valign="top"></p><p><b style="font-size: 110%;"><a href="%www%/home/' . clean($member['username']) . '">' . clean($member['username']) . '</a></b><br /></p><p><i>' . clean($member['motto']) . '</i><br /></p><p><br />';</p><p></p><p>$getBadges = dbquery("SELECT * FROM user_badges WHERE user_id = '" . $member['id'] . "' AND badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5");</p><p> </p><p>{</p><p>echo '<img src="%www%/c_images/album1584/XXX.gif" style="float: left;">&nbsp;';</p><p>}</p><p></p><p>echo '</td></p><p><td valign="top" style="float: right;"></p><p>' . (($member['online'] == "1") ? '<b style="color: black;">Online<</b>' : '<b style="color: grey;">Offline</b>') . '</p><p></td></p><p></tr></p><p></tbody></p><p></table>';</p><p>}</p><p>}</p><p>else</p><p>{</p><p>echo '<i>There are no eXperts on Desire Hotel.</i>';</p><p>}</p><p></p><p>echo '</div></p><p></div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';</p><p>}</p><p></p><p>?></p><p></p><p>[/php]</p><p></p><p>Comp-Expert-About</p><p>[php]<?php</p><p>echo '<div class="habblet-container "></p><p><div class="cbb clearfix blue "></p><p><h2 class="title"><span style="float: left;">Zap eXperts</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>';</p><p></p><p>$getMembers = dbquery("SELECT id,username,motto,look,online,last_online,rank FROM users WHERE expert = '1'");</p><p></p><p>echo '<div class="box-content">';</p><p></p><p>if (mysql_num_rows($getMembers) > 0)</p><p>{</p><p>$oe = 1;</p><p></p><p>while ($member = mysql_fetch_assoc($getMembers))</p><p>{</p><p>if ($oe == 2)</p><p>{</p><p>$oe = 1;</p><p>}</p><p>else</p><p>{</p><p>$oe = 2;</p><p>}</p><p></p><p>echo '<table width="107%" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"></p><p><tbody></p><p><tr></p><p><td valign="middle" width="25"></p><p><img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' . $member['look'] . '&size=b&direction=2&head_direction=3&gesture=sml&size=m"></p><p></td></p><p><td valign="top"></p><p><b style="font-size: 110%;"><a href="%www%/home/' . clean($member['username']) . '">' . clean($member['username']) . '</a></b><br /></p><p><i>' . clean($member['motto']) . '</i><br /> Last online: ' . date('d F, Y', $member['last_online']) . '</p><p><br />';</p><p>echo '<img src="http://assets.zaphotel.net/c_images/album1584/XXX.gif" style="float: left;">&nbsp;';</p><p>echo '</td></p><p><td valign="top" style="float: right;"></p><p>' . (($member['online'] == "1") ? '<b style="color: darkgreen;">Online</b>' : '<b style="color: darkred;">Offline</b>') . '</p><p></td></p><p></tr></p><p></tbody></p><p></table>';</p><p>}</p><p>}</p><p>else</p><p>{</p><p>echo '<i>Click <a href="http://zapgaming.net/showthread.php?t=529" target="_new">here</a> to view the eXperts.</i>';</p><p>}</p><p></p><p>echo '</div></p><p></div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';[/php]</p><p></p><p>You might want to edit the content, I couldn't think of anything.</p><p></p><p>This is a noob release, It was made for the noobs.</p><p></p><p>Thanks,</p><p>Seano2o6 ( Pr0ject )</p></blockquote><p></p>
[QUOTE="CronicHosts, post: 44211, member: 5733"] I've looked around and this hasn't been released, I know this is simple but some people might find it useful so here goes. Download it here: [url=http://www.mediafire.com/?dtk1bagm7mes8qz]expert.zip[/url] Screenshot: [IMG]http://www.iaza.com/work/110825C/iaza15110663042900.png[/IMG] Add this to your HTACCESS: [php]RewriteRule ^expert(|/)$ /expert.php[/php] Here are codes if someone wants to see them: Expert.php [php]<?php /*======================================================================= | UberCMS - Advanced Website and Content Management System for uberEmu | ####################################################################### | Copyright (c) 2010, Roy 'Meth0d' | http://www.meth0d.org | ####################################################################### | This program is free software: you can redistribute it and/or modify | it under the terms of the GNU General Public License as published by | the Free Software Foundation, either version 3 of the License, or | (at your option) any later version. | ####################################################################### | This program is distributed in the hope that it will be useful, | but WITHOUT ANY WARRANTY; without even the implied warranty of | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | GNU General Public License for more details. \======================================================================*/ define('TAB_ID', 5); define('PAGE_ID', 16); require_once "global.php"; $tpl->Init(); $tpl->AddGeneric('head-init'); $tpl->AddIncludeSet('generic'); $tpl->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/newcredits.css', 'stylesheet')); $tpl->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/newcredits.js')); $tpl->WriteIncludeFiles(); $tpl->AddGeneric('head-overrides-generic'); $tpl->AddGeneric('head-bottom'); $tpl->AddGeneric('generic-top'); $tpl->Write('<div id="column1" class="column">'); $tpl->AddGeneric('comp-expert'); $tpl->Write('</div>'); $tpl->Write('<div id="column2" class="column">'); $tpl->AddGeneric('comp-expert-about') ; $tpl->Write('</div>'); $tpl->AddGeneric('footer'); $tpl->SetParam('page_title', 'Desire eXperts'); $tpl->SetParam('body_id', 'home'); $tpl->Output(); ?>[/php] Comp-Expert [php]<?php function GetDescr($level) { } $get = dbquery("SELECT id,name FROM ranks WHERE id = 3 "); while ($group = mysql_fetch_assoc($get)) { echo '<div class="habblet-container "> <div class="cbb clearfix blue "> <h2 class="title"><span style="float: left;">' . clean($group['name']) . 's</span> <span style="float: right; font-weight: normal; font-size: 75%;">' . GetDescr($group['id']) . '</span></h2>'; $getMembers = dbquery("SELECT id,username,motto,look,online FROM users WHERE rank = '" . $group['id'] . "'"); echo '<div class="box-content">'; if (mysql_num_rows($getMembers) > 0) { $oe = 1; while ($member = mysql_fetch_assoc($getMembers)) { if ($oe == 2) { $oe = 1; } else { $oe = 2; } echo '<table width="100.3%" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"> <tbody> <tr> <td valign="middle" width="25"> <img style="margin-top: -10px;" src="http://www.habbo.com/habbo-imaging/avatarimage?figure=' . $member['look'] . '&action=crr=3&direction=2&head_direction=3&gesture=sml&size=2"> </td> <td valign="top"> <b style="font-size: 110%;"><a href="%www%/home/' . clean($member['username']) . '">' . clean($member['username']) . '</a></b><br /> <i>' . clean($member['motto']) . '</i><br /> <br />'; $getBadges = dbquery("SELECT * FROM user_badges WHERE user_id = '" . $member['id'] . "' AND badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5"); { echo '<img src="%www%/c_images/album1584/XXX.gif" style="float: left;"> '; } echo '</td> <td valign="top" style="float: right;"> ' . (($member['online'] == "1") ? '<b style="color: black;">Online<</b>' : '<b style="color: grey;">Offline</b>') . ' </td> </tr> </tbody> </table>'; } } else { echo '<i>There are no eXperts on Desire Hotel.</i>'; } echo '</div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '; } ?> [/php] Comp-Expert-About [php]<?php echo '<div class="habblet-container "> <div class="cbb clearfix blue "> <h2 class="title"><span style="float: left;">Zap eXperts</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>'; $getMembers = dbquery("SELECT id,username,motto,look,online,last_online,rank FROM users WHERE expert = '1'"); echo '<div class="box-content">'; if (mysql_num_rows($getMembers) > 0) { $oe = 1; while ($member = mysql_fetch_assoc($getMembers)) { if ($oe == 2) { $oe = 1; } else { $oe = 2; } echo '<table width="107%" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"> <tbody> <tr> <td valign="middle" width="25"> <img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' . $member['look'] . '&size=b&direction=2&head_direction=3&gesture=sml&size=m"> </td> <td valign="top"> <b style="font-size: 110%;"><a href="%www%/home/' . clean($member['username']) . '">' . clean($member['username']) . '</a></b><br /> <i>' . clean($member['motto']) . '</i><br /> Last online: ' . date('d F, Y', $member['last_online']) . ' <br />'; echo '<img src="http://assets.zaphotel.net/c_images/album1584/XXX.gif" style="float: left;"> '; echo '</td> <td valign="top" style="float: right;"> ' . (($member['online'] == "1") ? '<b style="color: darkgreen;">Online</b>' : '<b style="color: darkred;">Offline</b>') . ' </td> </tr> </tbody> </table>'; } } else { echo '<i>Click <a href="http://zapgaming.net/showthread.php?t=529" target="_new">here</a> to view the eXperts.</i>'; } echo '</div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';[/php] You might want to edit the content, I couldn't think of anything. This is a noob release, It was made for the noobs. Thanks, Seano2o6 ( Pr0ject ) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
UberCMS eXpert Page
Top