This has been taken off due to putting it back on ma hotel.
HabHotel.co.uk
Printable View
This has been taken off due to putting it back on ma hotel.
HabHotel.co.uk
I Would Prefere Them If They Worked.
'Operation Aborted
Internet Explorer Cannot Open This Website'
Perhaps You Should Re-code Them, :/
Nice ;)
This staff page does work but only on the latest version.
Wow Nice man Ty 10/10 Im gonna use this:)
[/COLOR]PHPRETRO CODES IF U DONT WANNA DOWNLOAD EM EVEN THO TOTALLY SAFE
ok this is the code with out e-mails:
open ur staff.php with notepad and delete it all and put this init:
forgot to tell you you wont have a staff.php so just copy any php file paste it it but rename it to staff.php and delete everything in it and then add code above.Code:<?php /*================================================================+\ || # PHPRetro Staff page By Lost (Lostproductions.co.cc) |+================================================================== || # Copyright (C) 2009 Yifan Lu. All rights reserved. || # http://www.yifanlu.com || # Parts Copyright (C) 2009 Meth0d. All rights reserved. || # http://www.meth0d.org || # All images, scripts, and layouts || # Copyright (C) 2009 Sulake Ltd. All rights reserved. |+================================================================== || # PHPRetro is provided "as is" and comes without || # warrenty of any kind. PHPRetro is free software! || # License: GNU Public License 3.0 || # http://opensource.org/licenses/gpl-license.php \+================================================================*/
$page['allow_guests'] = true; require_once('./includes/core.php'); require_once('./includes/session.php'); $data = new community_sql; $lang->addLocale("community.community"); $page['id'] = "staff"; $page['name'] = "Staff"; $page['bodyid'] = "home"; $page['cat'] = "community"; require_once('./templates/community_header.php'); ?> <div id="container"> <div id="content"> <div id="column1" class="column"> <div class="habblet-container "> <div class="cbb clearfix orange "> <h2 class="title">The Hotel staff team </h2> <div class="habblet box-content"> <BR> <h2 class="title">Senior Management </h2> <div class="habblet box-content"> <?php $sql = "SELECT name,mission,rank,lastvisit,figure,sex,id FROM users WHERE rank = 7 ORDER BY rank DESC"; $result = mysql_query($sql) OR die(mysql_error()); if(mysql_num_rows($result)) { while($row = mysql_fetch_assoc($result)) { $userid = $row['id']; if($row['rank'] == "7") { $rank="Super Admin"; } echo "<p><img src='http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=".$row['figure']."&size=b&direction=3&head_direction=3&gesture=sml&size=s' alt='".$row['name']."' align='left' /> <b><a href='home/".$row['name']."'>".$row['name']."</a></b> <br /> <br /> ".$row['mission']."<br /> <BR> Rank: ".$rank."<br /> <br /><br/><br/><br/><br/><br/><br/>"; } } ?> </div> <h2 class="title">Hotel Management </h2> <div class="habblet box-content"> <?php $sql = "SELECT name,mission,rank,lastvisit,figure,sex,id FROM users WHERE rank = 6 ORDER BY rank DESC"; $result = mysql_query($sql) OR die(mysql_error()); if(mysql_num_rows($result)) { while($row = mysql_fetch_assoc($result)) { $userid = $row['id']; if($row['rank'] == "6") { $rank="Admin"; } echo "<p><img src='http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=".$row['figure']."&size=b&direction=3&head_direction=3&gesture=sml&size=s' alt='".$row['name']."' align='left' /> <b><a href='home/".$row['name']."'>".$row['name']."</a></b> <br /> <br /> ".$row['mission']."<br /> <BR> Rank: ".$rank."<br /> <br /><br/><br/><br/><br/><br/><br/>"; } } ?> </div> <h2 class="title">Moderators </h2> <div class="habblet box-content"> <?php $sql = "SELECT name,mission,rank,lastvisit,figure,sex,id FROM users WHERE rank = 5 ORDER BY rank DESC"; $result = mysql_query($sql) OR die(mysql_error()); if(mysql_num_rows($result)) { while($row = mysql_fetch_assoc($result)) { $userid = $row['id']; if($row['rank'] == "5") { $rank="Moderator"; } echo "<p><img src='http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=".$row['figure']."&size=b&direction=3&head_direction=3&gesture=sml&size=s' alt='".$row['name']."' align='left' /> <b><a href='home/".$row['name']."'>".$row['name']."</a></b> <br /> <br /> ".$row['mission']."<br /> <BR> Rank: ".$rank."<br /><br /><br/><br/><br/><br/><br/><br/>"; } } ?> </div> <h2 class="title">Gold Hobbas </h2> <div class="habblet box-content"> <?php $sql = "SELECT name,mission,rank,lastvisit,figure,sex,id FROM users WHERE rank = 4 ORDER BY rank DESC"; $result = mysql_query($sql) OR die(mysql_error()); if(mysql_num_rows($result)) { while($row = mysql_fetch_assoc($result)) { $userid = $row['id']; if($row['rank'] == "4") { $rank="Gold Hobba"; } echo "<p><img src='http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=".$row['figure']."&size=b&direction=3&head_direction=3&gesture=sml&size=s' alt='".$row['name']."' align='left' /> <b><a href='home/".$row['name']."'>".$row['name']."</a></b> <br /> <br /> ".$row['mission']."<br /> <BR> Rank: ".$rank."<br /> Last Visit: ".$row['lastvisit']."<br /><br/><br/><br/><br/><br/><br/></p>"; } } ?> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> </div> </div> </div> <?php require_once('./templates/community_footer.php'); ?>
now go in ur templates folder and open community_header.php with notepad delete it all and add this:
Code:<?php
/*================================================================+\
|| # PHPRetro - An extendable virtual hotel site and management
|+==================================================================
|| # Copyright (C) 2009 Yifan Lu. All rights reserved.
|| # http://www.yifanlu.com
|| # Parts Copyright (C) 2009 Meth0d. All rights reserved.
|| # http://www.meth0d.org
|| # All images, scripts, and layouts
|| # Copyright (C) 2009 Sulake Ltd. All rights reserved.
|+==================================================================
|| # PHPRetro is provided "as is" and comes without
|| # warrenty of any kind. PHPRetro is free software!
|| # License: GNU Public License 3.0
|| # http://opensource.org/licenses/gpl-license.php
\+================================================================*/
if (!defined("IN_HOLOCMS")) { header("Location: ".PATH."/"); exit; }
$version = version();
$lang->addLocale("community.header");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php echo SHORTNAME; ?>: <?php echo $page['name']; ?> </title>
<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="shortcut icon" href="<?php echo PATH; ?>/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="<?php echo SHORTNAME; ?>: <?php echo $lang->loc['rss']; ?>" href="<?php echo PATH; ?>/articles/rss.xml" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="<?php echo PATH; ?>/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="<?php echo PATH; ?>/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="<?php echo PATH; ?>/web-gallery/static/js/common.js" type="text/javascript"></script>
<script src="<?php echo PATH; ?>/web-gallery/static/js/fullcontent.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/style.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/buttons.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/boxes.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/tooltips.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/local/com.css" type="text/css" />
<script src="<?php echo PATH; ?>/web-gallery/js/local/com.js" type="text/javascript"></script>
<script type="text/javascript">
document.habboLoggedIn = <?php if($user->id == 0){ echo "false"; }else{ echo "true"; } ?>;
var habboName = <?php if($user->id != 0){ ?>"<?php echo $user->name; ?>"<?php }else{ echo "null"; } ?>;
var ad_keywords = "";
var habboReqPath = "<?php echo PATH; ?>";
var habboStaticFilePath = "<?php echo PATH; ?>/web-gallery";
var habboImagerUrl = "<?php echo PATH; ?>/habbo-imaging/";
var habboPartner = "";
window.name = "habboMain";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "client"; }
</script>
<?php
switch($page['id']){
case "welcome":
?>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/welcome.css" type="text/css" />
<?php
break;
case "me":
?>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/personal.css" type="text/css" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/habboclub.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/minimail.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/control.textarea.css" type="text/css" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/minimail.js" type="text/javascript"></script>
<?php
break;
case "profile":
?>
<script src="<?php echo PATH; ?>/web-gallery/static/js/settings.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/settings.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/friendmanagement.css" type="text/css" />
<?php
break;
case "community":
?>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/rooms.css" type="text/css" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/rooms.js" type="text/javascript"></script>
<script src="<?php echo PATH; ?>/web-gallery/static/js/moredata.js" type="text/javascript"></script>
<?php
break;
case "tryout":
?>
<script src="<?php echo PATH; ?>/web-gallery/static/js/settings.js" type="text/javascript"></script>
<?php
break;
case "collectables":
?>
<script src="<?php echo PATH; ?>/web-gallery/static/js/credits.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/collectibles.css" type="text/css" />
<?php
break;
case "home":
?>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/myhabbo.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/skins.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/dialogs.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/buttons.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/control.textarea.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/boxes.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/myhabbo.css" type="text/css" />
<link href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/assets.css" type="text/css" rel="stylesheet" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/homeview.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/lightwindow.css" type="text/css" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/homeauth.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/group.css" type="text/css" />
<style type="text/css">
#playground, #playground-outer {
width: <?php if($user->IsHCMember($userrow[0])){ echo "922"; }else{ echo "752"; } ?>px;
height: 1360px;
}
</style>
<?php if($page['edit'] == true){ ?>
<script src="<?php echo PATH; ?>/web-gallery/static/js/homeedit.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
document.observe("dom:loaded", function() { initView(<?php echo $userrow[0]; ?>, <?php echo $userrow[0]; ?>); });
function isElementLimitReached() {
if (getElementCount() >= 200) {
showHabboHomeMessageBox("<?php echo addslashes($lang->loc['error']); ?>", "<?php echo addslashes($lang->loc['savehome.limit.error']); ?>", "<?php echo addslashes($lang->loc['close']); ?>");
return true;
}
return false;
}
<?php if($page['type'] == "home"){ ?>
function cancelEditing(expired) {
location.replace("<?php echo PATH; ?>/myhabbo/cancel/<?php echo $userrow[0]; ?>" + (expired ? "?expired=true" : ""));
}
function getSaveEditingActionName(){
return '/myhabbo/save';
}
<?php }else{ ?>
function cancelEditing(expired) {
location.replace("<?php echo PATH; ?>/groups/actions/cancelEditingSession" + (expired ? "?expired=true" : ""));
}
function getSaveEditingActionName(){
return '/groups/actions/saveEditingSession';
}
<?php } ?>
function showEditErrorDialog() {
var closeEditErrorDialog = function(e) { if (e) { Event.stop(e); } Element.remove($("myhabbo-error")); Overlay.hide(); }
var dialog = Dialog.createDialog("myhabbo-error", "", false, false, false, closeEditErrorDialog);
Dialog.setDialogBody(dialog, '<p><?php echo addslashes($lang->loc['error.dialog']); ?></p><p><a href="#" class="new-button" id="myhabbo-error-close"><b><?php echo addslashes($lang->loc['close']); ?></b><i></i></a></p><div class="clear"></div>');
Event.observe($("myhabbo-error-close"), "click", closeEditErrorDialog);
Dialog.moveDialogToCenter(dialog);
Dialog.makeDialogDraggable(dialog);
}
<?php if($page['type'] == "groups"){ ?>
document.observe("dom:loaded", function() {
Dialog.showInfoDialog("session-start-info-dialog",
"<?php echo addslashes($lang->loc['editing.session.timeout']); ?> <?php echo millisecondsToMinutes($timeout['expire']); ?> <?php echo addslashes($lang->loc['minutes']); ?>.",
"<?php echo addslashes($lang->loc['ok']); ?>", function(e) {Event.stop(e); Element.hide($("session-start-info-dialog"));Overlay.hide();Utils.setAllEmbededObjectsVisibility('hidden');});
var timeToTwoMinuteWarning= <?php echo $timeout['twominutes']; ?>;
if(timeToTwoMinuteWarning > 0){
setTimeout(function(){
Dialog.showInfoDialog("session-ends-warning-dialog",
"<?php echo addslashes($lang->loc['editing.session.timeout']); ?> 2 <?php echo addslashes($lang->loc['minutes']); ?>.",
"<?php echo addslashes($lang->loc['ok']); ?>", function(e) {Event.stop(e); Element.hide($("session-ends-warning-dialog"));Overlay.hide();Utils.setAllEmbededObjectsVisibility('hidden');});
}, timeToTwoMinuteWarning);
}
});
<?php } ?>
function showSaveOverlay() {
var invalidPos = getElementsInInvalidPositions();
if (invalidPos.length > 0) {
$A(invalidPos).each(function(el) { Element.scrollTo(el); Effect.Pulsate(el); });
showHabboHomeMessageBox("<?php echo addslashes($lang->loc['cant.do.that']); ?>", "<?php echo addslashes($lang->loc['cant.do.that.desc']); ?>", "<?php echo addslashes($lang->loc['close']); ?>");
return false;
} else {
Overlay.show(null,'<?php echo addslashes($lang->loc['saving']); ?>');
return true;
}
}
</script>
<?php }else{ ?>
<script type="text/javascript">
document.observe("dom:loaded", function() { initView(<?php if($page['type'] == "home"){ echo $userrow[0]; }else{ echo $grouprow[0]; } ?>, <?php if($user->id == "0"){ echo "null"; }else{ echo $user->id; } ?>); });
</script>
<?php } ?>
<?php
break;
}
?>
<?php if($page['discussion'] == true){ ?><link href="<?php echo PATH; ?>/web-gallery/styles/discussions.css" type="text/css" rel="stylesheet"/><?php } ?>
<meta name="description" content="<?php echo $settings->find("site_description"); ?>" />
<meta name="keywords" content="<?php echo $settings->find("site_keywords"); ?>" />
<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/ie6.css" type="text/css" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>
<style type="text/css">
body { behavior: url(<?php echo PATH; ?>/web-gallery/js/csshover.htc); }
</style>
<![endif]-->
<meta name="build" content="PHPRetro <?php echo $version['version']." ".$version['status']; ?>" />
</head>
<body id="<?php echo $page['bodyid']; ?>" class="<?php if($user->name == "Guest"){ echo "anonymous"; } ?> ">
<div id="overlay"></div>
<div id="header-container">
<div id="header" class="clearfix">
<h1><a href="<?php echo PATH; ?>/"></a></h1>
<div id="subnavi">
<?php if($user->id != "0"){ ?>
<div id="subnavi-user">
<ul>
<li id="myfriends"><a href="#"><span><?php echo $lang->loc['my.friends']; ?></span></a><span class="r"></span></li>
<li id="mygroups"><a href="#"><span><?php echo $lang->loc['my.groups']; ?></span></a><span class="r"></span></li>
<li id="myrooms"><a href="#"><span><?php echo $lang->loc['my.rooms']; ?></span></a><span class="r"></span></li>
</ul>
</div>
<div id="subnavi-search">
<div id="subnavi-search-upper">
<ul id="subnavi-search-links">
<li><a href="<?php echo PATH; ?>/help" target="habbohelp" onclick="openOrFocusHelp(this); return false"><?php echo $lang->loc['help']; ?></a></li>
<li><a href="<?php echo PATH; ?>/account/logout" class="userlink" id="signout"><?php echo $lang->loc['sign.out']; ?></a></li>
</ul>
</div>
</div>
<div id="to-hotel">
<?php if(HotelStatus() == "online"){ ?>
<a href="<?php echo PATH; ?>/client" class="new-button green-button" target="client" onclick="HabboClient.openOrFocus(this); return false;"><b><?php echo $lang->loc['enter']; ?></b><i></i></a>
<?php }else{ ?>
<div id="hotel-closed-medium"><?php echo $lang->loc['closed']; ?></div>
<?php } ?>
</div>
<?php }else{ ?>
<div id="subnavi-user">
<div class="clearfix"> </div>
<p>
<a href="<?php echo PATH; ?>/client" id="enter-hotel-open-medium-link" target="client" onclick="HabboClient.openOrFocus(this); return false;"><?php echo $lang->loc['enter']; ?></a>
</p>
</div>
<div id="subnavi-login">
<form action="<?php echo PATH; ?>/account/submit" method="post" id="login-form">
<input type="hidden" name="page" value="<?php echo $_SERVER["REQUEST_URI"]; ?>" />
<ul>
<li>
<label for="login-username" class="login-text"><b><?php echo $lang->loc['username']; ?></b></label>
<input tabindex="1" type="text" class="login-field" name="username" id="login-username" />
<a href="#" id="login-submit-new-button" class="new-button" style="float: left; display:none"><b><?php echo $lang->loc['login']; ?></b><i></i></a>
<input type="submit" id="login-submit-button" value="<?php echo $lang->loc['login']; ?>" class="submit"/>
</li>
<li>
<label for="login-password" class="login-text"><b><?php echo $lang->loc['password']; ?></b></label>
<input tabindex="2" type="password" class="login-field" name="password" id="login-password" />
<input tabindex="3" type="checkbox" name="_login_remember_me" value="true" id="login-remember-me" />
<label for="login-remember-me" class="left"><?php echo $lang->loc['remember']; ?></label>
</li>
</ul>
</form>
<div id="subnavi-login-help" class="clearfix">
<ul>
<li class="register"><a href="<?php echo PATH; ?>/account/password/forgot" id="forgot-password"><span><?php echo $lang->loc['forgot']; ?></span></a></li>
<li><a href="<?php echo PATH; ?>/register"><span><?php echo $lang->loc['register']; ?></span></a></li>
</ul>
</div>
<div id="remember-me-notification" class="bottom-bubble" style="display:none;">
<div class="bottom-bubble-t"><div></div></div>
<div class="bottom-bubble-c">
<?php echo $lang->loc['remember.popup']; ?>
</div>
<div class="bottom-bubble-b"><div></div></div>
</div>
</div>
<?php } ?>
</div>
<?php if($user->id != 0){ ?>
<script type="text/javascript">
L10N.put("purchase.group.title", "<?php echo $lang->loc['purchase.group.title']; ?>");
document.observe("dom:loaded", function() {
$("signout").observe("click", function() {
HabboClient.close();
});
});
</script>
<?php }else{ ?>
<script type="text/javascript">
LoginFormUI.init();
RememberMeUI.init("right");
</script>
<?php } ?>
<ul id="navi">
<?php if($user->name != "Guest"){ ?>
<li<?php if($page['cat'] == "home"){ echo " class=\"selected\""; } ?>>
<?php if($page['cat'] == "home"){ echo "<strong>".$user->name." </strong>"; }else{ echo "<a href=\"".PATH."/me\">".$user->name."</a>"; } ?>
<span></span>
</li>
<?php }else{ ?>
<li id="tab-register-now"><a href="<?php echo PATH; ?>/register"><?php echo $lang->loc['register.tab']; ?></a><span></span></li>
<?php } ?>
<li<?php if($page['cat'] == "community"){ echo " class=\"selected\""; } ?>>
<?php if($page['cat'] == "community"){ echo "<strong>".$lang->loc['community']." </strong>"; }else{ echo "<a href=\"".PATH."/community\">".$lang->loc['community']."</a>"; } ?>
<span></span>
</li>
<li<?php if($page['cat'] == "credits"){ echo " class=\"selected\""; } ?>>
<?php if($page['cat'] == "credits"){ echo "<strong>".$lang->loc['coins']." </strong>"; }else{ echo "<a href=\"".PATH."/credits\">".$lang->loc['coins']."</a>"; } ?>
<span></span>
</li>
<?php if((int) $user->user("rank") > 4){ ?>
<li id="tab-register-now"><a href="<?php echo PATH; ?>/housekeeping/"><?php echo $lang->loc['housekeeping']; ?></a><span></span></li>
<?php } ?>
</ul>
<div id="habbos-online"><div class="rounded"><span><?php echo GetOnlineCount()." ".$lang->loc['members.online']; ?></span></div></div>
</div>
</div>
<div id="content-container">
<?php
switch($page['cat']){
case "home":
?>
<?php if($user->name != "Guest"){ ?>
<div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix">
<ul>
<li class="<?php if($page['id'] == "me"){ echo "selected"; } ?>">
<?php if($page['id'] == "me"){ echo $lang->loc['home']; }else{ echo "<a href=\"".PATH."/me\">".$lang->loc['home']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "home" && ($_GET['id'] == $user->id || $_GET['name'] == $user->name)){ echo "selected"; } ?>">
<?php if($page['id'] == "home" && ($_POST['name'] == $user->name || $_GET['name'] == $user->name)){ echo $lang->loc['my.page']; }else{ echo "<a href=\"".PATH."/home/".$user->name."\">".$lang->loc['my.page']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "profile"){ echo "selected"; } ?>">
<?php if($page['id'] == "profile"){ echo $lang->loc['settings']; }else{ echo "<a href=\"".PATH."/profile\">".$lang->loc['settings']."</a>"; } ?>
</li>
<li class=" last">
<a href="<?php echo PATH; ?>/club"><?php echo $lang->loc['habbo.club']; ?></a>
</li>
</ul>
</div>
</div>
<?php } ?>
<?php
break;
case "community":
?>
<div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix">
<ul>
<li class="<?php if($page['id'] == "community"){ echo "selected"; } ?>">
<?php if($page['id'] == "community"){ echo $lang->loc['community']; }else{ echo "<a href=\"".PATH."/community\">".$lang->loc['community']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "news"){ echo "selected"; } ?>">
<?php if($page['id'] == "news"){ echo $lang->loc['news']; }else{ echo "<a href=\"".PATH."/articles\">".$lang->loc['news']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "staff"){ echo "selected"; } ?>">
<?php if($page['id'] == "staff"){ echo "Staff"; }else{ echo "<a href=\"".PATH."/staff\">Staff</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "tags"){ echo "selected"; } ?> last">
<?php if($page['id'] == "tags"){ echo $lang->loc['tags']; }else{ echo "<a href=\"".PATH."/tag\">".$lang->loc['tags']."</a>"; } ?>
</li>
</ul>
</div>
</div>
<?php
break;
case "credits":
?>
<div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix">
<ul>
<li class="<?php if($page['id'] == "credits"){ echo "selected"; } ?>">
<?php if($page['id'] == "credits"){ echo $lang->loc['coins']; }else{ echo "<a href=\"".PATH."/credits\">".$lang->loc['coins']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "club"){ echo "selected"; } ?>">
<?php if($page['id'] == "club"){ echo $lang->loc['habbo.club']; }else{ echo "<a href=\"".PATH."/credits/club\">".$lang->loc['habbo.club']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "collectables"){ echo "selected"; } ?>">
<?php if($page['id'] == "collectables"){ echo $lang->loc['collectables']; }else{ echo "<a href=\"".PATH."/credits/collectables\">".$lang->loc['collectables']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "pixels"){ echo "selected"; } ?> last">
<?php if($page['id'] == "pixels"){ echo $lang->loc['pixels']; }else{ echo "<a href=\"".PATH."/credits/pixels\">".$lang->loc['pixels']."</a>"; } ?>
</li>
</ul>
</div>
</div>
<?php
break;
}
?>
and thats it done for staff page without e-mails make sure you do delete everything in the php file before u edit it for the new code.
IVE JUST DONE THIS AND IT WORKS NEED ANY HELP ASK PERSON WHO PUT THIS THREAD IN OR ASK ME IN THIS THREAD OR PM ME.
http://forum.ragezone.com/attachment...ro-preview.jpg
---------- Post added at 11:13 PM ---------- Previous post was at 11:03 PM ----------
OK SORRY FOR DOUBLE POST AGAIN BUT I NEEDED THIS SEPERATE.
THIS IS THE CODES FOR WITH E-Mail address doubt anyone will use this please comment tell us what uve used.
ok first go into housekeeping copy any php file go back to ur main folder and paste it now rename itand open it with notepad and right-click select all and delete once youve done that add this code:Quote:
Staff
Code:<?php /*================================================================+\ || # PHPRetro Staff page By Lost (Lostproductions.co.cc) |+================================================================== || # Copyright (C) 2009 Yifan Lu. All rights reserved. || # http://www.yifanlu.com || # Parts Copyright (C) 2009 Meth0d. All rights reserved. || # http://www.meth0d.org || # All images, scripts, and layouts || # Copyright (C) 2009 Sulake Ltd. All rights reserved. |+================================================================== || # PHPRetro is provided "as is" and comes without || # warrenty of any kind. PHPRetro is free software! || # License: GNU Public License 3.0 || # http://opensource.org/licenses/gpl-license.php \+================================================================*/
$page['allow_guests'] = true; require_once('./includes/core.php'); require_once('./includes/session.php'); $data = new community_sql; $lang->addLocale("community.community"); $page['id'] = "staff"; $page['name'] = "Staff"; $page['bodyid'] = "home"; $page['cat'] = "community"; require_once('./templates/community_header.php'); ?> <div id="container"> <div id="content"> <div id="column1" class="column"> <div class="habblet-container "> <div class="cbb clearfix orange "> <h2 class="title">The Hotel staff team </h2> <div class="habblet box-content"> <BR> <h2 class="title">Senior Management </h2> <div class="habblet box-content"> <?php $sql = "SELECT name,mission,rank,lastvisit,figure,sex,id FROM users WHERE rank = 7 ORDER BY rank DESC"; $result = mysql_query($sql) OR die(mysql_error()); if(mysql_num_rows($result)) { while($row = mysql_fetch_assoc($result)) { $userid = $row['id']; if($row['rank'] == "7") { $rank="Super Admin"; } echo "<p><img src='http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=".$row['figure']."&size=b&direction=3&head_direction=3&gesture=sml&size=s' alt='".$row['name']."' align='left' /> <b><a href='home/".$row['name']."'>".$row['name']."</a></b> <br /> <br /> ".$row['mission']."<br /> <BR> Rank: ".$rank."<br /> <br /><br/><br/><br/><br/><br/><br/>"; } } ?> </div> <h2 class="title">Hotel Management </h2> <div class="habblet box-content"> <?php $sql = "SELECT name,mission,rank,lastvisit,figure,sex,id FROM users WHERE rank = 6 ORDER BY rank DESC"; $result = mysql_query($sql) OR die(mysql_error()); if(mysql_num_rows($result)) { while($row = mysql_fetch_assoc($result)) { $userid = $row['id']; if($row['rank'] == "6") { $rank="Admin"; } echo "<p><img src='http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=".$row['figure']."&size=b&direction=3&head_direction=3&gesture=sml&size=s' alt='".$row['name']."' align='left' /> <b><a href='home/".$row['name']."'>".$row['name']."</a></b> <br /> <br /> ".$row['mission']."<br /> <BR> Rank: ".$rank."<br /> <br /><br/><br/><br/><br/><br/><br/>"; } } ?> </div> <h2 class="title">Moderators </h2> <div class="habblet box-content"> <?php $sql = "SELECT name,mission,rank,lastvisit,figure,sex,id FROM users WHERE rank = 5 ORDER BY rank DESC"; $result = mysql_query($sql) OR die(mysql_error()); if(mysql_num_rows($result)) { while($row = mysql_fetch_assoc($result)) { $userid = $row['id']; if($row['rank'] == "5") { $rank="Moderator"; } echo "<p><img src='http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=".$row['figure']."&size=b&direction=3&head_direction=3&gesture=sml&size=s' alt='".$row['name']."' align='left' /> <b><a href='home/".$row['name']."'>".$row['name']."</a></b> <br /> <br /> ".$row['mission']."<br /> <BR> Rank: ".$rank."<br /><br /><br/><br/><br/><br/><br/><br/>"; } } ?> </div> <h2 class="title">Gold Hobbas </h2> <div class="habblet box-content"> <?php $sql = "SELECT name,mission,rank,lastvisit,figure,sex,id FROM users WHERE rank = 4 ORDER BY rank DESC"; $result = mysql_query($sql) OR die(mysql_error()); if(mysql_num_rows($result)) { while($row = mysql_fetch_assoc($result)) { $userid = $row['id']; if($row['rank'] == "4") { $rank="Gold Hobba"; } echo "<p><img src='http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=".$row['figure']."&size=b&direction=3&head_direction=3&gesture=sml&size=s' alt='".$row['name']."' align='left' /> <b><a href='home/".$row['name']."'>".$row['name']."</a></b> <br /> <br /> ".$row['mission']."<br /> <BR> Rank: ".$rank."<br /> Last Visit: ".$row['lastvisit']."<br /><br/><br/><br/><br/><br/><br/></p>"; } } ?> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> </div> </div> </div> <?php require_once('./templates/community_footer.php'); ?>
next go in to templates and look for community_header and open it with notepad then right-click delete it all and copy and paste this code in:
Code:<?php
/*================================================================+\
|| # PHPRetro - An extendable virtual hotel site and management
|+==================================================================
|| # Copyright (C) 2009 Yifan Lu. All rights reserved.
|| # http://www.yifanlu.com
|| # Parts Copyright (C) 2009 Meth0d. All rights reserved.
|| # http://www.meth0d.org
|| # All images, scripts, and layouts
|| # Copyright (C) 2009 Sulake Ltd. All rights reserved.
|+==================================================================
|| # PHPRetro is provided "as is" and comes without
|| # warrenty of any kind. PHPRetro is free software!
|| # License: GNU Public License 3.0
|| # http://opensource.org/licenses/gpl-license.php
\+================================================================*/
if (!defined("IN_HOLOCMS")) { header("Location: ".PATH."/"); exit; }
$version = version();
$lang->addLocale("community.header");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php echo SHORTNAME; ?>: <?php echo $page['name']; ?> </title>
<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="shortcut icon" href="<?php echo PATH; ?>/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="<?php echo SHORTNAME; ?>: <?php echo $lang->loc['rss']; ?>" href="<?php echo PATH; ?>/articles/rss.xml" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="<?php echo PATH; ?>/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="<?php echo PATH; ?>/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="<?php echo PATH; ?>/web-gallery/static/js/common.js" type="text/javascript"></script>
<script src="<?php echo PATH; ?>/web-gallery/static/js/fullcontent.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/style.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/buttons.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/boxes.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/tooltips.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/local/com.css" type="text/css" />
<script src="<?php echo PATH; ?>/web-gallery/js/local/com.js" type="text/javascript"></script>
<script type="text/javascript">
document.habboLoggedIn = <?php if($user->id == 0){ echo "false"; }else{ echo "true"; } ?>;
var habboName = <?php if($user->id != 0){ ?>"<?php echo $user->name; ?>"<?php }else{ echo "null"; } ?>;
var ad_keywords = "";
var habboReqPath = "<?php echo PATH; ?>";
var habboStaticFilePath = "<?php echo PATH; ?>/web-gallery";
var habboImagerUrl = "<?php echo PATH; ?>/habbo-imaging/";
var habboPartner = "";
window.name = "habboMain";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "client"; }
</script>
<?php
switch($page['id']){
case "welcome":
?>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/welcome.css" type="text/css" />
<?php
break;
case "me":
?>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/personal.css" type="text/css" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/habboclub.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/minimail.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/control.textarea.css" type="text/css" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/minimail.js" type="text/javascript"></script>
<?php
break;
case "profile":
?>
<script src="<?php echo PATH; ?>/web-gallery/static/js/settings.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/settings.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/friendmanagement.css" type="text/css" />
<?php
break;
case "community":
?>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/rooms.css" type="text/css" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/rooms.js" type="text/javascript"></script>
<script src="<?php echo PATH; ?>/web-gallery/static/js/moredata.js" type="text/javascript"></script>
<?php
break;
case "tryout":
?>
<script src="<?php echo PATH; ?>/web-gallery/static/js/settings.js" type="text/javascript"></script>
<?php
break;
case "collectables":
?>
<script src="<?php echo PATH; ?>/web-gallery/static/js/credits.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/collectibles.css" type="text/css" />
<?php
break;
case "home":
?>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/myhabbo.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/skins.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/dialogs.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/buttons.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/control.textarea.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/boxes.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/myhabbo.css" type="text/css" />
<link href="<?php echo PATH; ?>/web-gallery/styles/myhabbo/assets.css" type="text/css" rel="stylesheet" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/homeview.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/lightwindow.css" type="text/css" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/homeauth.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/group.css" type="text/css" />
<style type="text/css">
#playground, #playground-outer {
width: <?php if($user->IsHCMember($userrow[0])){ echo "922"; }else{ echo "752"; } ?>px;
height: 1360px;
}
</style>
<?php if($page['edit'] == true){ ?>
<script src="<?php echo PATH; ?>/web-gallery/static/js/homeedit.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
document.observe("dom:loaded", function() { initView(<?php echo $userrow[0]; ?>, <?php echo $userrow[0]; ?>); });
function isElementLimitReached() {
if (getElementCount() >= 200) {
showHabboHomeMessageBox("<?php echo addslashes($lang->loc['error']); ?>", "<?php echo addslashes($lang->loc['savehome.limit.error']); ?>", "<?php echo addslashes($lang->loc['close']); ?>");
return true;
}
return false;
}
<?php if($page['type'] == "home"){ ?>
function cancelEditing(expired) {
location.replace("<?php echo PATH; ?>/myhabbo/cancel/<?php echo $userrow[0]; ?>" + (expired ? "?expired=true" : ""));
}
function getSaveEditingActionName(){
return '/myhabbo/save';
}
<?php }else{ ?>
function cancelEditing(expired) {
location.replace("<?php echo PATH; ?>/groups/actions/cancelEditingSession" + (expired ? "?expired=true" : ""));
}
function getSaveEditingActionName(){
return '/groups/actions/saveEditingSession';
}
<?php } ?>
function showEditErrorDialog() {
var closeEditErrorDialog = function(e) { if (e) { Event.stop(e); } Element.remove($("myhabbo-error")); Overlay.hide(); }
var dialog = Dialog.createDialog("myhabbo-error", "", false, false, false, closeEditErrorDialog);
Dialog.setDialogBody(dialog, '<p><?php echo addslashes($lang->loc['error.dialog']); ?></p><p><a href="#" class="new-button" id="myhabbo-error-close"><b><?php echo addslashes($lang->loc['close']); ?></b><i></i></a></p><div class="clear"></div>');
Event.observe($("myhabbo-error-close"), "click", closeEditErrorDialog);
Dialog.moveDialogToCenter(dialog);
Dialog.makeDialogDraggable(dialog);
}
<?php if($page['type'] == "groups"){ ?>
document.observe("dom:loaded", function() {
Dialog.showInfoDialog("session-start-info-dialog",
"<?php echo addslashes($lang->loc['editing.session.timeout']); ?> <?php echo millisecondsToMinutes($timeout['expire']); ?> <?php echo addslashes($lang->loc['minutes']); ?>.",
"<?php echo addslashes($lang->loc['ok']); ?>", function(e) {Event.stop(e); Element.hide($("session-start-info-dialog"));Overlay.hide();Utils.setAllEmbededObjectsVisibility('hidden');});
var timeToTwoMinuteWarning= <?php echo $timeout['twominutes']; ?>;
if(timeToTwoMinuteWarning > 0){
setTimeout(function(){
Dialog.showInfoDialog("session-ends-warning-dialog",
"<?php echo addslashes($lang->loc['editing.session.timeout']); ?> 2 <?php echo addslashes($lang->loc['minutes']); ?>.",
"<?php echo addslashes($lang->loc['ok']); ?>", function(e) {Event.stop(e); Element.hide($("session-ends-warning-dialog"));Overlay.hide();Utils.setAllEmbededObjectsVisibility('hidden');});
}, timeToTwoMinuteWarning);
}
});
<?php } ?>
function showSaveOverlay() {
var invalidPos = getElementsInInvalidPositions();
if (invalidPos.length > 0) {
$A(invalidPos).each(function(el) { Element.scrollTo(el); Effect.Pulsate(el); });
showHabboHomeMessageBox("<?php echo addslashes($lang->loc['cant.do.that']); ?>", "<?php echo addslashes($lang->loc['cant.do.that.desc']); ?>", "<?php echo addslashes($lang->loc['close']); ?>");
return false;
} else {
Overlay.show(null,'<?php echo addslashes($lang->loc['saving']); ?>');
return true;
}
}
</script>
<?php }else{ ?>
<script type="text/javascript">
document.observe("dom:loaded", function() { initView(<?php if($page['type'] == "home"){ echo $userrow[0]; }else{ echo $grouprow[0]; } ?>, <?php if($user->id == "0"){ echo "null"; }else{ echo $user->id; } ?>); });
</script>
<?php } ?>
<?php
break;
}
?>
<?php if($page['discussion'] == true){ ?><link href="<?php echo PATH; ?>/web-gallery/styles/discussions.css" type="text/css" rel="stylesheet"/><?php } ?>
<meta name="description" content="<?php echo $settings->find("site_description"); ?>" />
<meta name="keywords" content="<?php echo $settings->find("site_keywords"); ?>" />
<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo PATH; ?>/web-gallery/v2/styles/ie6.css" type="text/css" />
<script src="<?php echo PATH; ?>/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>
<style type="text/css">
body { behavior: url(<?php echo PATH; ?>/web-gallery/js/csshover.htc); }
</style>
<![endif]-->
<meta name="build" content="PHPRetro <?php echo $version['version']." ".$version['status']; ?>" />
</head>
<body id="<?php echo $page['bodyid']; ?>" class="<?php if($user->name == "Guest"){ echo "anonymous"; } ?> ">
<div id="overlay"></div>
<div id="header-container">
<div id="header" class="clearfix">
<h1><a href="<?php echo PATH; ?>/"></a></h1>
<div id="subnavi">
<?php if($user->id != "0"){ ?>
<div id="subnavi-user">
<ul>
<li id="myfriends"><a href="#"><span><?php echo $lang->loc['my.friends']; ?></span></a><span class="r"></span></li>
<li id="mygroups"><a href="#"><span><?php echo $lang->loc['my.groups']; ?></span></a><span class="r"></span></li>
<li id="myrooms"><a href="#"><span><?php echo $lang->loc['my.rooms']; ?></span></a><span class="r"></span></li>
</ul>
</div>
<div id="subnavi-search">
<div id="subnavi-search-upper">
<ul id="subnavi-search-links">
<li><a href="<?php echo PATH; ?>/help" target="habbohelp" onclick="openOrFocusHelp(this); return false"><?php echo $lang->loc['help']; ?></a></li>
<li><a href="<?php echo PATH; ?>/account/logout" class="userlink" id="signout"><?php echo $lang->loc['sign.out']; ?></a></li>
</ul>
</div>
</div>
<div id="to-hotel">
<?php if(HotelStatus() == "online"){ ?>
<a href="<?php echo PATH; ?>/client" class="new-button green-button" target="client" onclick="HabboClient.openOrFocus(this); return false;"><b><?php echo $lang->loc['enter']; ?></b><i></i></a>
<?php }else{ ?>
<div id="hotel-closed-medium"><?php echo $lang->loc['closed']; ?></div>
<?php } ?>
</div>
<?php }else{ ?>
<div id="subnavi-user">
<div class="clearfix"> </div>
<p>
<a href="<?php echo PATH; ?>/client" id="enter-hotel-open-medium-link" target="client" onclick="HabboClient.openOrFocus(this); return false;"><?php echo $lang->loc['enter']; ?></a>
</p>
</div>
<div id="subnavi-login">
<form action="<?php echo PATH; ?>/account/submit" method="post" id="login-form">
<input type="hidden" name="page" value="<?php echo $_SERVER["REQUEST_URI"]; ?>" />
<ul>
<li>
<label for="login-username" class="login-text"><b><?php echo $lang->loc['username']; ?></b></label>
<input tabindex="1" type="text" class="login-field" name="username" id="login-username" />
<a href="#" id="login-submit-new-button" class="new-button" style="float: left; display:none"><b><?php echo $lang->loc['login']; ?></b><i></i></a>
<input type="submit" id="login-submit-button" value="<?php echo $lang->loc['login']; ?>" class="submit"/>
</li>
<li>
<label for="login-password" class="login-text"><b><?php echo $lang->loc['password']; ?></b></label>
<input tabindex="2" type="password" class="login-field" name="password" id="login-password" />
<input tabindex="3" type="checkbox" name="_login_remember_me" value="true" id="login-remember-me" />
<label for="login-remember-me" class="left"><?php echo $lang->loc['remember']; ?></label>
</li>
</ul>
</form>
<div id="subnavi-login-help" class="clearfix">
<ul>
<li class="register"><a href="<?php echo PATH; ?>/account/password/forgot" id="forgot-password"><span><?php echo $lang->loc['forgot']; ?></span></a></li>
<li><a href="<?php echo PATH; ?>/register"><span><?php echo $lang->loc['register']; ?></span></a></li>
</ul>
</div>
<div id="remember-me-notification" class="bottom-bubble" style="display:none;">
<div class="bottom-bubble-t"><div></div></div>
<div class="bottom-bubble-c">
<?php echo $lang->loc['remember.popup']; ?>
</div>
<div class="bottom-bubble-b"><div></div></div>
</div>
</div>
<?php } ?>
</div>
<?php if($user->id != 0){ ?>
<script type="text/javascript">
L10N.put("purchase.group.title", "<?php echo $lang->loc['purchase.group.title']; ?>");
document.observe("dom:loaded", function() {
$("signout").observe("click", function() {
HabboClient.close();
});
});
</script>
<?php }else{ ?>
<script type="text/javascript">
LoginFormUI.init();
RememberMeUI.init("right");
</script>
<?php } ?>
<ul id="navi">
<?php if($user->name != "Guest"){ ?>
<li<?php if($page['cat'] == "home"){ echo " class=\"selected\""; } ?>>
<?php if($page['cat'] == "home"){ echo "<strong>".$user->name." </strong>"; }else{ echo "<a href=\"".PATH."/me\">".$user->name."</a>"; } ?>
<span></span>
</li>
<?php }else{ ?>
<li id="tab-register-now"><a href="<?php echo PATH; ?>/register"><?php echo $lang->loc['register.tab']; ?></a><span></span></li>
<?php } ?>
<li<?php if($page['cat'] == "community"){ echo " class=\"selected\""; } ?>>
<?php if($page['cat'] == "community"){ echo "<strong>".$lang->loc['community']." </strong>"; }else{ echo "<a href=\"".PATH."/community\">".$lang->loc['community']."</a>"; } ?>
<span></span>
</li>
<li<?php if($page['cat'] == "credits"){ echo " class=\"selected\""; } ?>>
<?php if($page['cat'] == "credits"){ echo "<strong>".$lang->loc['coins']." </strong>"; }else{ echo "<a href=\"".PATH."/credits\">".$lang->loc['coins']."</a>"; } ?>
<span></span>
</li>
<?php if((int) $user->user("rank") > 4){ ?>
<li id="tab-register-now"><a href="<?php echo PATH; ?>/housekeeping/"><?php echo $lang->loc['housekeeping']; ?></a><span></span></li>
<?php } ?>
</ul>
<div id="habbos-online"><div class="rounded"><span><?php echo GetOnlineCount()." ".$lang->loc['members.online']; ?></span></div></div>
</div>
</div>
<div id="content-container">
<?php
switch($page['cat']){
case "home":
?>
<?php if($user->name != "Guest"){ ?>
<div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix">
<ul>
<li class="<?php if($page['id'] == "me"){ echo "selected"; } ?>">
<?php if($page['id'] == "me"){ echo $lang->loc['home']; }else{ echo "<a href=\"".PATH."/me\">".$lang->loc['home']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "home" && ($_GET['id'] == $user->id || $_GET['name'] == $user->name)){ echo "selected"; } ?>">
<?php if($page['id'] == "home" && ($_POST['name'] == $user->name || $_GET['name'] == $user->name)){ echo $lang->loc['my.page']; }else{ echo "<a href=\"".PATH."/home/".$user->name."\">".$lang->loc['my.page']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "profile"){ echo "selected"; } ?>">
<?php if($page['id'] == "profile"){ echo $lang->loc['settings']; }else{ echo "<a href=\"".PATH."/profile\">".$lang->loc['settings']."</a>"; } ?>
</li>
<li class=" last">
<a href="<?php echo PATH; ?>/club"><?php echo $lang->loc['habbo.club']; ?></a>
</li>
</ul>
</div>
</div>
<?php } ?>
<?php
break;
case "community":
?>
<div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix">
<ul>
<li class="<?php if($page['id'] == "community"){ echo "selected"; } ?>">
<?php if($page['id'] == "community"){ echo $lang->loc['community']; }else{ echo "<a href=\"".PATH."/community\">".$lang->loc['community']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "news"){ echo "selected"; } ?>">
<?php if($page['id'] == "news"){ echo $lang->loc['news']; }else{ echo "<a href=\"".PATH."/articles\">".$lang->loc['news']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "staff"){ echo "selected"; } ?>">
<?php if($page['id'] == "staff"){ echo "Staff"; }else{ echo "<a href=\"".PATH."/staff\">Staff</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "tags"){ echo "selected"; } ?> last">
<?php if($page['id'] == "tags"){ echo $lang->loc['tags']; }else{ echo "<a href=\"".PATH."/tag\">".$lang->loc['tags']."</a>"; } ?>
</li>
</ul>
</div>
</div>
<?php
break;
case "credits":
?>
<div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix">
<ul>
<li class="<?php if($page['id'] == "credits"){ echo "selected"; } ?>">
<?php if($page['id'] == "credits"){ echo $lang->loc['coins']; }else{ echo "<a href=\"".PATH."/credits\">".$lang->loc['coins']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "club"){ echo "selected"; } ?>">
<?php if($page['id'] == "club"){ echo $lang->loc['habbo.club']; }else{ echo "<a href=\"".PATH."/credits/club\">".$lang->loc['habbo.club']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "collectables"){ echo "selected"; } ?>">
<?php if($page['id'] == "collectables"){ echo $lang->loc['collectables']; }else{ echo "<a href=\"".PATH."/credits/collectables\">".$lang->loc['collectables']."</a>"; } ?>
</li>
<li class="<?php if($page['id'] == "pixels"){ echo "selected"; } ?> last">
<?php if($page['id'] == "pixels"){ echo $lang->loc['pixels']; }else{ echo "<a href=\"".PATH."/credits/pixels\">".$lang->loc['pixels']."</a>"; } ?>
</li>
</ul>
</div>
</div>
<?php
break;
}
?>
http://forum.ragezone.com/attachment...ith-emails.jpg
all credits go to HabboPro for pictures and the actual codes this tutorial on how to add it is from me.
All you did was alter the PHP scripts from holoCMS and ported them to PHPretro. Also change the design around a bit. It can be easily done manually but nice release I guess.
That looks horrible you should of done them in rows and columns. E.G:
http://i45.tinypic.com/2vm7ak7.png
I'm In Need Of A Better Working PHPRetro Staff List Like In The Post Above
Lol aim dont liket of you want to make beter staff.php so dont doing aim gpnne give you a God staff.php
soon
it looks even worse then the one already out for phpretro, try adding badges and cleaning it up a bit. or make it look like the one in the screenshot above
Sorry i don't like it , betta luck next time ;)