zubboH123
New Member
- Apr 12, 2012
- 15
- 0
Hey, Devbest i need help with my staff page im using Aurora CMS skin for Revcms my (edit) and i cant seem to fix the staff page problem. If you could help that would be great below will be a screenie and the staff page please help.
screenie:
staff page below:
<div id="black_bar">
<div class="container">
Welcome Back, {username}
<span class="online_users"> <img
src="../app/tpl/skins/HubboCMS/images/users.png" border="0" style="float:left; padding-left:15px;position:relative;left:-7px;" />
{online} Zubbo's Online!
</span>
</div>
</div>
<div id="blue_bar">
<div class="container">
<a href="index.php">
<img src="../app/tpl/skins/HubboCMS/images/logo.gif" border="0" style="float:left; padding-top:15px;position:relative;left:-7px;" />
</a>
<div id="user_avatar" class="avatar" style="background:url(
<div id="enter_area">
<div class="enterButton">
<center>
<a href="client" onClick"mango.client.popup(); return false;">Enter {hotelName} Hotel</a>
</center>
</div>
</div>
</div>
</div>
<div id="menu">
<div class="container">
<ul>
<li><a href="me">Me</a></li>
<li><a href="account">My Account</a></li>
<li><a href="news">News</a></li>
<li><a href="staff">Staff</a></li>
<li><a href="rules">Rules</a></li>
<li><a href="vip">Vip</a></li>
<li><a href="tinychat">Tinychat</a>
{housekeeping}
<li><a href="logout">Logout</a></li>
</ul>
</div>
</div>
<div id="container"
<div id="main_left">
<div id="main_content" style="width:578px;">
<h2 class="title">{hotelname} Owner's</h2><br />
<hr />
<?php
$querylist = mysql_query("SELECT * FROM users WHERE rank = 7");
while($row = mysql_fetch_array($querylist))
{
echo "<div id=\"StaffBox\"><div id=\"StaffBox\">";
echo "<img src=\"
echo $row['look'];
echo "\"style=\"float:left\"/>";
echo "<div id=\"staff_online\">";
if($row['online'] == 0){
echo "<div id=\"offline\">Offline</div>";
}
else{
echo "<div id=\"online\">On Duty</div>";
}
echo "</div><div id=\"staff_username\">";
$username = $row['username'];
echo ucwords($username);
echo "</div>";
echo $row['motto'];
echo "</br>";
echo "<img src=\"app/tpl/skins/HubboCMS/images/owner.bmp\">";
echo "</div></div>";
}
?>
</div>
<br />
<div id="main_content" style="width:578px;">
<h2 class="title">{hotelname} Admin's</h2>
<hr />
<?php
$querylist = mysql_query("SELECT * FROM users WHERE rank = 6");
while($row = mysql_fetch_array($querylist))
{
echo "<div id=\"StaffBox\"><div id=\"StaffBox\">";
echo "<img src=\"
echo $row['look'];
echo "\"style=\"float:left\"/>";
echo "<div id=\"staff_online\">";
if($row['online'] == 0){
echo "<div id=\"offline\">Offline</div>";
}
else{
echo "<div id=\"online\">On Duty</div>";
}
echo "</div><div id=\"staff_username\">";
$username = $row['username'];
echo ucwords($username);
echo "</div>";
echo $row['motto'];
echo "</br>";
echo "<img src=\"app/tpl/skins/HubboCMS/images/admin.bmp\">";
echo "</div></div>";
}
?>
</div>
<br />
<div id="main_content" style="width:578px;">
<h2 class="title">{hotelname} Moderator's </h2>
<hr />
<?php
$querylist = mysql_query("SELECT * FROM users WHERE rank = 5");
while($row = mysql_fetch_array($querylist))
{
echo "<div id=\"StaffBox\"><div id=\"StaffBox\">";
echo "<img src=\"
echo $row['look'];
echo "\"style=\"float:left\"/>";
echo "<div id=\"staff_online\">";
if($row['online'] == 0){
echo "<div id=\"offline\">Offline</div>";
}
else{
echo "<div id=\"online\">On Duty</div>";
}
echo "</div><div id=\"staff_username\">";
$username = $row['username'];
echo ucwords($username);
echo "</div>";
echo $row['motto'];
echo "</br>";
echo "<img src=\"app/tpl/skins/HubboCMS/images/mod.bmp\">";
echo "</div></div>";
}
?>
</div>
<br />
<div id="main_content" style="width:578px;">
<h2 class="title">{hotelname} Trial Moderators </h2>
<hr />
<?php
$querylist = mysql_query("SELECT * FROM users WHERE rank = 4");
while($row = mysql_fetch_array($querylist))
{
echo "<div id=\"StaffBox\"><div id=\"StaffBox\">";
echo "<img src=\"
echo $row['look'];
echo "\"style=\"float:left\"/>";
echo "<div id=\"staff_online\">";
if($row['online'] == 0){
echo "<div id=\"offline\">Offline</div>";
}
else{
echo "<div id=\"online\">On Duty</div>";
}
echo "</div><div id=\"staff_username\">";
$username = $row['username'];
echo ucwords($username);
echo "</div>";
echo $row['motto'];
echo "</br>";
echo "<img src=\"app/tpl/skins/HubboCMS/images/trial mod.bmp\">";
echo "</div></div>";
}
?>
</div>
<br />
<div id="main_content" style="width:578px;">
<h2 class="title">{hotelname} Event Staff </h2>
<hr />
<?php
$querylist = mysql_query("SELECT * FROM users WHERE rank = 3");
while($row = mysql_fetch_array($querylist))
{
echo "<div id=\"StaffBox\"><div id=\"StaffBox\">";
echo "<img src=\"
echo $row['look'];
echo "\"style=\"float:left\"/>";
echo "<div id=\"staff_online\">";
if($row['online'] == 0){
echo "<div id=\"offline\">Offline</div>";
}
else{
echo "<div id=\"online\">On Duty</div>";
}
echo "</div><div id=\"staff_username\">";
$username = $row['username'];
echo ucwords($username);
echo "</div>";
echo $row['motto'];
echo "</br>";
echo "<img src=\"app/tpl/skins/HubboCMS/images/event staff.bmp\">";
echo "</div></div>";
}
?>
</div><br/>
<div style="clear:both;"></div>
<hr/>
<div style="clear:both;"></div></div>
</div>
<div id="footer">
<hr />
<strong>Copyright {hotelName} 2012, All rights reserved go to their respective owner(s).<strong/><br/>
<br/>
</div>
screenie:
You must be registered for see links
staff page below:
<div id="black_bar">
<div class="container">
Welcome Back, {username}
<span class="online_users"> <img
src="../app/tpl/skins/HubboCMS/images/users.png" border="0" style="float:left; padding-left:15px;position:relative;left:-7px;" />
{online} Zubbo's Online!
</span>
</div>
</div>
<div id="blue_bar">
<div class="container">
<a href="index.php">
<img src="../app/tpl/skins/HubboCMS/images/logo.gif" border="0" style="float:left; padding-top:15px;position:relative;left:-7px;" />
</a>
<div id="user_avatar" class="avatar" style="background:url(
You must be registered for see links
) -75px 0px;"> </div><div id="enter_area">
<div class="enterButton">
<center>
<a href="client" onClick"mango.client.popup(); return false;">Enter {hotelName} Hotel</a>
</center>
</div>
</div>
</div>
</div>
<div id="menu">
<div class="container">
<ul>
<li><a href="me">Me</a></li>
<li><a href="account">My Account</a></li>
<li><a href="news">News</a></li>
<li><a href="staff">Staff</a></li>
<li><a href="rules">Rules</a></li>
<li><a href="vip">Vip</a></li>
<li><a href="tinychat">Tinychat</a>
{housekeeping}
<li><a href="logout">Logout</a></li>
</ul>
</div>
</div>
<div id="container"
<div id="main_left">
<div id="main_content" style="width:578px;">
<h2 class="title">{hotelname} Owner's</h2><br />
<hr />
<?php
$querylist = mysql_query("SELECT * FROM users WHERE rank = 7");
while($row = mysql_fetch_array($querylist))
{
echo "<div id=\"StaffBox\"><div id=\"StaffBox\">";
echo "<img src=\"
You must be registered for see links
";echo $row['look'];
echo "\"style=\"float:left\"/>";
echo "<div id=\"staff_online\">";
if($row['online'] == 0){
echo "<div id=\"offline\">Offline</div>";
}
else{
echo "<div id=\"online\">On Duty</div>";
}
echo "</div><div id=\"staff_username\">";
$username = $row['username'];
echo ucwords($username);
echo "</div>";
echo $row['motto'];
echo "</br>";
echo "<img src=\"app/tpl/skins/HubboCMS/images/owner.bmp\">";
echo "</div></div>";
}
?>
</div>
<br />
<div id="main_content" style="width:578px;">
<h2 class="title">{hotelname} Admin's</h2>
<hr />
<?php
$querylist = mysql_query("SELECT * FROM users WHERE rank = 6");
while($row = mysql_fetch_array($querylist))
{
echo "<div id=\"StaffBox\"><div id=\"StaffBox\">";
echo "<img src=\"
You must be registered for see links
";echo $row['look'];
echo "\"style=\"float:left\"/>";
echo "<div id=\"staff_online\">";
if($row['online'] == 0){
echo "<div id=\"offline\">Offline</div>";
}
else{
echo "<div id=\"online\">On Duty</div>";
}
echo "</div><div id=\"staff_username\">";
$username = $row['username'];
echo ucwords($username);
echo "</div>";
echo $row['motto'];
echo "</br>";
echo "<img src=\"app/tpl/skins/HubboCMS/images/admin.bmp\">";
echo "</div></div>";
}
?>
</div>
<br />
<div id="main_content" style="width:578px;">
<h2 class="title">{hotelname} Moderator's </h2>
<hr />
<?php
$querylist = mysql_query("SELECT * FROM users WHERE rank = 5");
while($row = mysql_fetch_array($querylist))
{
echo "<div id=\"StaffBox\"><div id=\"StaffBox\">";
echo "<img src=\"
You must be registered for see links
";echo $row['look'];
echo "\"style=\"float:left\"/>";
echo "<div id=\"staff_online\">";
if($row['online'] == 0){
echo "<div id=\"offline\">Offline</div>";
}
else{
echo "<div id=\"online\">On Duty</div>";
}
echo "</div><div id=\"staff_username\">";
$username = $row['username'];
echo ucwords($username);
echo "</div>";
echo $row['motto'];
echo "</br>";
echo "<img src=\"app/tpl/skins/HubboCMS/images/mod.bmp\">";
echo "</div></div>";
}
?>
</div>
<br />
<div id="main_content" style="width:578px;">
<h2 class="title">{hotelname} Trial Moderators </h2>
<hr />
<?php
$querylist = mysql_query("SELECT * FROM users WHERE rank = 4");
while($row = mysql_fetch_array($querylist))
{
echo "<div id=\"StaffBox\"><div id=\"StaffBox\">";
echo "<img src=\"
You must be registered for see links
";echo $row['look'];
echo "\"style=\"float:left\"/>";
echo "<div id=\"staff_online\">";
if($row['online'] == 0){
echo "<div id=\"offline\">Offline</div>";
}
else{
echo "<div id=\"online\">On Duty</div>";
}
echo "</div><div id=\"staff_username\">";
$username = $row['username'];
echo ucwords($username);
echo "</div>";
echo $row['motto'];
echo "</br>";
echo "<img src=\"app/tpl/skins/HubboCMS/images/trial mod.bmp\">";
echo "</div></div>";
}
?>
</div>
<br />
<div id="main_content" style="width:578px;">
<h2 class="title">{hotelname} Event Staff </h2>
<hr />
<?php
$querylist = mysql_query("SELECT * FROM users WHERE rank = 3");
while($row = mysql_fetch_array($querylist))
{
echo "<div id=\"StaffBox\"><div id=\"StaffBox\">";
echo "<img src=\"
You must be registered for see links
";echo $row['look'];
echo "\"style=\"float:left\"/>";
echo "<div id=\"staff_online\">";
if($row['online'] == 0){
echo "<div id=\"offline\">Offline</div>";
}
else{
echo "<div id=\"online\">On Duty</div>";
}
echo "</div><div id=\"staff_username\">";
$username = $row['username'];
echo ucwords($username);
echo "</div>";
echo $row['motto'];
echo "</br>";
echo "<img src=\"app/tpl/skins/HubboCMS/images/event staff.bmp\">";
echo "</div></div>";
}
?>
</div><br/>
<div style="clear:both;"></div>
<hr/>
<div style="clear:both;"></div></div>
</div>
<div id="footer">
<hr />
<strong>Copyright {hotelName} 2012, All rights reserved go to their respective owner(s).<strong/><br/>
<br/>
</div>