Untitled
By: a guest | Mar 18th, 2010 | Syntax:
PHP | Size: 2.53 KB | Hits: 173 | Expires: Never
<?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'] = "vips"; $page['name'] = "Vips"; $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 blue "> <h2 class="title">Athens Exclusive VIP members </h2> <center><br><br>Do you want your account listed here? <br>Well head over to the <a href="store">store</a>
to purchase VIP.</center> </b> <div class="habblet box-content"> <BR> <h2 class="title">VIP Users </h2> <div class="habblet box-content"> <?php $sql = "SELECT name,mission,rank,lastvisit,figure,sex,id FROM users WHERE rank = 3 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'] == "3") { $rank="VIP"; } echo "<p><img src='http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=".$row['figure']."&size=s&direction=2&head_direction=2&gesture=sml&size=s' alt='".$row['name']."' align='left' /> <b><a href='home/".$row['name']."'>".$row['name']."</a></b> <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'); ?>