Advertisement
Guest User

4spec

a guest
May 6th, 2015
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.60 KB | None | 0 0
  1. <div class="popup popup-userlist" <?php if($forum->LoggedIn()) {
  2.             if($forum->GetCurrentUser()->GetColorScheme() == "dark") {
  3.                 echo 'style="background: #232527;"';
  4.             } elseif ($forum->GetCurrentUser()->GetColorScheme() == "white") {
  5.                 echo 'style="background: #FFFFFF;"';
  6.             } else {
  7.                 echo 'style="background: #EFEFF4;"';
  8.             }
  9.         } else { echo 'style="background: #EFEFF4;"'; } ?>>
  10.             <div class="navbar">
  11.                 <div class="navbar-inner">
  12.                     <div class="left">
  13.                         <a href="#" class="link close-popup">Close</a>
  14.                     </div>
  15.                     <div class="center">User List</div>
  16.                     <div class="right">
  17.                         <a href="#" class="link">Search</a>
  18.                     </div>
  19.                 </div>
  20.             </div>
  21.             <div class="content-block-title">Users</div>
  22.             <div class="list-block media-list">
  23.                 <ul>
  24.                     <?php
  25.                         foreach($forum->GetUsers() as $user) {
  26.                             echo '<li><a href="member.php?uid=' . $user->GetUid() . '" class="item-link external">' . "\r\n";
  27.                             echo "\t" . '<div class="item-content post-item">' . "\r\n";
  28.                             echo "\t\t" . '<div class="item-media"><img width="45" style="border-radius:100%;" src="' . $user->GetAvatar() . '" /></div>' . "\r\n";
  29.                             echo "\t\t" . '<div class="item-inner">' . "\r\n";
  30.                             echo "\t\t\t" . '<div class="item-title" uid="' . $user->GetUid() . '">' . $user->GetUsername() . '</div>' . "\r\n";
  31.                             echo "\t\t\t" . '<div class="item-subtitle" style="color:#555;">' . $user->GetTitle() . '</div>' . "\r\n";
  32.                             echo "\t\t" . '</div>' . "\r\n";
  33.                             echo "\t" . '</div>' . "\r\n";
  34.                             echo '</a></li>' . "\r\n";
  35.                         }
  36.                     ?>
  37.                 </ul>
  38.             </div>
  39.         </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement