daily pastebin goal
50%
SHARE
TWEET

Untitled

a guest Jul 21st, 2017 125 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php include("includes/header1.inc"); ?>
  2. <title>Syndicate Jailers</title>
  3. <?php include("includes/header2.inc"); ?>
  4.  
  5. <body>
  6. <?php include("includes/header3.inc"); ?>
  7.                     <div class="main_news_con">
  8.                             <div class="main_news_post">
  9.                             <div class="main_news_post_img">
  10.                                 <img src="images/news_post_img.jpg" alt="" />
  11.                             </div>
  12.                             <div class="main_news_post_text_con">
  13.                                 <div class="main_news_post_text_details">
  14.                                     <div class="main_news_post_text_title">
  15.                                         <a href="#">sJ Official Ros</a></div>
  16.                                     <div class="main_news_post_text_date">
  17.                                         2/7/2011</div>
  18.                                     <div class="main_news_post_text_comments">
  19.                                         Posted by Alex</div>
  20.                                     <div class="clr"></div>
  21.                                 </div>
  22.                                 <div class="main_news_post_text">
  23.                                     <p>
  24.                                         <br />
  25. This page contains all official roster information</p>
  26. <p align="center">
  27. <table>
  28. <tr>
  29.     <th>Gamertag</th>
  30.     <th>Rank</th>
  31. </tr>
  32. <?php
  33. $username="sj";
  34. $password="laha";
  35. $database="sj_xbl";
  36.  
  37. mysql_connect(localhost,$username,$password);
  38. @mysql_select_db($database) or die( "Unable to select database");
  39. $query="SELECT * FROM members";
  40. $result=mysql_query($query);
  41.  
  42. $num=mysql_numrows($result);
  43.  
  44. mysql_close();
  45.  
  46. $i=0;
  47. while ($i < $num) {
  48.  
  49. $tag=mysql_result($result,$i,"tag");
  50. $email=mysql_result($result,$i,"email");
  51. $pts=mysql_result($result,$i,"points");
  52. $ref=mysql_result($result,$i,"referral");
  53. $age=mysql_result($result,$i,"age");
  54. $rank=mysql_result($result,$i,"rank");
  55. $active=mysql_result($result,$i,"active");
  56.  
  57. echo "
  58.     <tr>
  59.         <td>$tag</td>
  60.         <td>$rank</td>
  61.     </tr>>";
  62.  
  63. $i++;
  64. }
  65.  
  66. ?>
  67. </table>    
  68. </p>
  69.                            </div>
  70.                             </div>
  71.                             <div class="clr"></div>
  72.                         </div>
  73.                     </div>
  74.                 </div>
  75.                <?php include("includes/sidebar.inc"); ?>
  76.                 </div>
  77.                 <div class="clr"></div>
  78.             </div>
  79.            
  80.                 <?php include("includes/footer.inc"); ?>
  81.                 <div class="clr"></div>
  82.             </div>
  83.         </div>
  84.     </div>
  85. </div>
  86. </body>
  87. </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