Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2020
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.54 KB | None | 0 0
  1.     <title><?= User::userData('username') ?> <?php echo $lang["Iindex"]; ?></title>
  2.     <link href="<?php echo H. $config['skin']; ?>/assets/css/bootstrap.min.css?<?= $config['css'] ?>" rel="stylesheet">
  3.     <link href="<?php echo H. $config['skin']; ?>/assets/css/habbo-theme.css?<?= $config['css'] ?>" rel="stylesheet">
  4.     <link href="<?php echo H. $config['skin']; ?>/assets/css/newhabbo.css?<?= $config['css'] ?>" rel="stylesheet">
  5.  
  6. </head>
  7.  
  8. <body>
  9.  
  10. <?php include_once("includes/header.php"); ?>
  11.  
  12. <?php include_once("includes/subheader-community.php"); ?>
  13.  
  14. <div id="content">
  15. <style>
  16. .error {
  17.     width: 100%;
  18.     height: 27px;
  19.     border-radius: 5px;
  20.     min-height: 0px;
  21.     margin-top: -50px;
  22.     position: relative;
  23.     z-index: 1;
  24.     text-align: center;
  25.     font-family: 'Ubuntu', sans-serif;
  26.     font-weight: 800;
  27.     font-size: 16px;
  28.     color: #FFF;
  29.     background: #bb0707;
  30. }
  31. .staff-offline {
  32.     text-indent: -9999px;
  33.     width: 48px;
  34.     height: 15px;
  35.     position: absolute;
  36.     margin-top: 3px;
  37.     background: url(<?php echo H. $config['skin']; ?>/assets/images/icons/iconoffline.gif);
  38. }
  39.        
  40. .staff-online {
  41.     text-indent: -9999px;
  42.     width: 48px;
  43.     height: 15px;
  44.     position: absolute;
  45.     margin-top: 3px;
  46.     background: url(<?php echo H. $config['skin']; ?>/assets/images/icons/icononline.png);
  47. }
  48. </style>   
  49.  
  50.     <div class="container">
  51.  
  52.         <div class="col-xs-7 no-padding-left">
  53. <?php
  54.             if ($config['hotelEmu'] == 'arcturus')
  55.             {
  56.                 $getRanks = $dbh->prepare("SELECT * FROM permissions WHERE id >=5 AND id <= 10  ORDER BY id DESC");
  57.             }
  58.             else
  59.             {
  60.                 $getRanks = $dbh->prepare("SELECT id,name,badgeid FROM ranks WHERE id >=5 AND id <= 10  ORDER BY id DESC");
  61.             }
  62.             $getRanks->execute();
  63.             while ($Ranks = $getRanks->fetch())
  64.             {  
  65.                 if ($config['hotelEmu'] == 'arcturus')
  66.                 {
  67.                     $rankName = $Ranks['rank_name'];
  68.                 }
  69.                 else
  70.                 {
  71.                     $rankName = $Ranks['name'];
  72.                 }
  73.                 echo '
  74.            <div class="habbo-box content">
  75.  
  76.                <div class="habbo-box-header title-blue">
  77.                    <h4>' . $rankName . '</h4>
  78.                </div>
  79.                 ';
  80.                     $getMembers = $dbh->prepare("SELECT id,username,motto,look,online FROM users WHERE (rank = :ranid) AND (hide_staff = 0)");
  81.                 $getMembers->bindParam(':ranid', $Ranks['id']);
  82.                 $getMembers->execute();
  83.                 if ($getMembers->RowCount() > 0)
  84.                 {
  85.                     while ($member = $getMembers->fetch())
  86.                     {
  87.                         $username = filter($member['username']);
  88.                         $motto = filter($member['motto']);
  89.                         $look = filter($member['look']);
  90.                         $online = filter($member['online']);
  91.                         if($online == 1){ $OnlineStatus = "online"; } else { $OnlineStatus = "offline"; }
  92.                     echo '
  93.                     <a href="/home/'.$username.'" style=" color: #fff; "><div style="pointer;float: left;border: 1px solid #e6e6e6;background: url('. H. $config['skin'].'/assets/images/alfapromo.png);padding-top: 20px;border-radius: 5px;width: 610px;margin-bottom: 10px;margin-left: 5px;margin-right: 5px;line-height: 30px;">
  94.                     <div id="column" style="border: 2px dotted rgba(0, 0, 0, 0.2);margin-top: -10px;margin-left: 10px;margin-right: 10px;margin-bottom: 10px;float: left;height:95px;width: 100px;border-radius: 555px;-moz-border-radius: 555px;-webkit-border-radius: 555px;background:url('.$config['HabboImg'].'/habbo-imaging/avatarimage?figure='.$look.'&head_direction=2&amp;action=wav&size=l) no-repeat rgba(255, 255, 255, 0.25);background-position: 60% 27%;"></div>
  95.                     <div style=" background: rgba(34, 34, 34, 0.36); width: 400px; margin-left: 120px; padding: 8px; border-radius: 5px; "><b  style="font-size: 16px;">' .$username . ' </b> <span class="staff-'.$OnlineStatus.'">0</span>
  96.                     <img src="'.$config['badgeURL'].'' . $Ranks['badgeid'] . '.gif" style="margin-right:5px;" align="right">
  97.                     </a>
  98.                     <br>  <img src="'. H. $config['skin'] .'/assets/images/icons/motto.png"> <i style="font-size: 12px; color: #fff; ">' .$motto . '</i>
  99.                     <BR></div></div>
  100.                    
  101.                     ';
  102.                     }
  103.                 }
  104.                 else
  105.                 {
  106.                     echo '<center><div style="padding: 10px">'.$lang["Snostaff"].'</div></center>';
  107.                 }
  108.                 echo '
  109.                 </div>
  110.                 ';
  111.             }
  112.         ?>
  113.         </div>
  114.         <div class="col-xs-5">
  115.        
  116.             <div class="habbo-box content">
  117.  
  118.                 <div class="habbo-box-header title-blue">
  119.                     <h4><?= $lang["Sthestaff"] ?></h4>
  120.                 </div><div style="padding: 10px;">
  121.                 <?= $lang["Stheteamtext"] ?></div></div>
  122.             </div>
  123.  
  124.     </div>
  125.  
  126.  
  127.     </div>
  128.  
  129. <?php include_once("includes/footer.php"); ?>
  130.  
  131. </body>
  132. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement