daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Jul 21st, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. <?php include("includes/header1.inc"); ?>
  4. <title>Syndicate Jailers - Members</title>
  5. <?php include("includes/header2.inc"); ?>
  6.  
  7. <body>
  8. <?php include("includes/header3.inc"); ?>
  9.                     <div class="main_news_con">
  10.                             <div class="main_news_post">
  11.                             <div class="main_news_post_img">
  12.                                 <img src="images/news_post_img.jpg" alt="" />
  13.                             </div>
  14.                             <div class="main_news_post_text_con">
  15.                                 <div class="main_news_post_text_details">
  16.                                     <div class="main_news_post_text_title">
  17.                                         <a href="#">sJ Member List</a></div>
  18.                                     <div class="main_news_post_text_date">
  19.                                         </div>
  20.                                     <div class="main_news_post_text_comments">
  21.                                         Posted by Alex</div>
  22.                                     <div class="clr"></div>
  23.                                 </div>
  24.                                 <div class="main_news_post_text">
  25.                                     <p>
  26.                                         <br />
  27.                                        <?php
  28. $tag=$_GET['tag'];
  29. $loc="localhost";
  30. $username="sj";
  31. $password="FUCKING BLEEP";
  32. $database="sj_xbl";
  33. $link = mysql_connect($loc,$username,$password);
  34. mysql_connect($loc,$username,$password);
  35.  
  36. @mysql_select_db($database) or die( "Unable to select database");
  37. $query="SELECT * FROM members WHERE tag='$tag'";
  38. $result=mysql_query($query);
  39. $num=mysql_numrows($result);
  40. echo mysql_errno($link) . ": " . mysql_error($link) . "\n";
  41. mysql_close();
  42.  
  43. $i=0;
  44. $tag=mysql_result($result,$i,"tag");
  45. $email=mysql_result($result,$i,"email");
  46. $points=mysql_result($result,$i,"points");
  47. $referral=mysql_result($result,$i,"referral");
  48. $age=mysql_result($result,$i,"age");
  49. $rank=mysql_result($result,$i,"rank");
  50. $active=mysql_result($result,$i,"active");
  51.  
  52. if ($active == 0) {
  53. $status = '<font color="yellow">Pending</font>';
  54. }
  55. elseif ($active == 1) {
  56. $status = '<font color="green">Active</font>';
  57. }
  58. elseif ($active == 2) {
  59. $status = '<font color="red">Suspended</font>';
  60. }
  61.  
  62. echo "GamerTag: $tag <br />
  63. Email: $email <br />
  64. GamerPoints: $points <br />
  65. Age: $age <br />
  66. Rank: $rank <br />
  67. Status: $status<br />
  68. ";
  69. ?> </p>
  70.                                 </div>
  71.                             </div>
  72.                             <div class="clr"></div>
  73.                         </div>
  74.                     </div>
  75.                 </div>
  76.                <?php include("includes/sidebar.inc"); ?>
  77.                 </div>
  78.                 <div class="clr"></div>
  79.             </div>
  80.            
  81.                 <?php include("includes/footer.inc"); ?>
  82.                 <div class="clr"></div>
  83.             </div>
  84.         </div>
  85.     </div>
  86. </div>
  87. </body>
  88. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top