Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 18th, 2010 | Syntax: PHP | Size: 2.53 KB | Hits: 173 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. <?php
  2. /*================================================================+\
  3. || # PHPRetro Staff page By Lost (Lostproductions.co.cc) |+================================================================== ||
  4.  # Copyright (C) 2009 Yifan Lu. All rights reserved.
  5. || # http://www.yifanlu.com
  6. || # Parts Copyright (C) 2009 Meth0d. All rights reserved.
  7. || # http://www.meth0d.org
  8. || # All images, scripts, and layouts
  9. || # Copyright (C) 2009 Sulake Ltd. All rights reserved.
  10. |+==================================================================
  11. || # PHPRetro is provided "as is" and comes without
  12. || # warrenty of any kind. PHPRetro is free software!
  13. || # License: GNU Public License 3.0
  14. || # http://opensource.org/licenses/gpl-license.php \+================================================================*/
  15.  
  16.  $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>
  17.  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>&nbsp;<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'); ?>