Advertisement
Guest User

Untitled

a guest
May 31st, 2017
551
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 7.21 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>Registration PAge</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <style type="text/css">
  6. .Header {
  7.     background-image: url(images/Registration-Page_02.png);
  8.     height: 68px;
  9.     width: 900px;
  10.     font-family: Arial, Helvetica, sans-serif;
  11.     font-size: 50px;
  12.     font-style: italic;
  13.     text-transform: uppercase;
  14.     text-decoration: underline;
  15.     color: #F30;
  16.     font-weight: bold;
  17.     font-variant: normal;
  18. }
  19. .Register {
  20.     font-family: Georgia, "Times New Roman", Times, serif;
  21.     font-size: 14px;
  22.     font-style: normal;
  23.     font-weight: lighter;
  24.     text-transform: capitalize;
  25.     color: #999;
  26.     background-image: url(images/Registration-Page_05.png);
  27.     height: 360px;
  28.     width: 349px;
  29. }
  30. .Information {
  31.     background-image: url(images/Registration-Page_08.png);
  32.     height: 263px;
  33.     width: 210px;
  34. }
  35. </style>
  36. </head>
  37. <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  38. <!-- Save for Web Slices (Registration PAge.psd) -->
  39. <table id="Table_01" width="901" height="1001" border="0" cellpadding="0" cellspacing="0">
  40.     <tr>
  41.         <td colspan="9">
  42.             <img src="images/Registration-Page_01.png" width="900" height="42" alt=""></td>
  43.         <td>
  44.             <img src="images/spacer.gif" width="1" height="42" alt=""></td>
  45.     </tr>
  46.     <tr>
  47.         <td colspan="9"><div class="Header">
  48.           <div align="center">Server Name</div>
  49.         </div></td>
  50.         <td>
  51.             <img src="images/spacer.gif" width="1" height="68" alt=""></td>
  52.     </tr>
  53.     <tr>
  54.         <td colspan="9">
  55.             <img src="images/Registration-Page_03.png" width="900" height="152" alt=""></td>
  56.         <td>
  57.             <img src="images/spacer.gif" width="1" height="152" alt=""></td>
  58.     </tr>
  59.     <tr>
  60.         <td colspan="4">
  61.             <img src="images/Registration-Page_04.png" width="271" height="65" alt=""></td>
  62.         <td rowspan="3"><div class="Register"> <form action= method="post">
  63.             <div align="center"><br /><br /><br /><br /><br />
  64.               Username:(e.g John) <br /><input type="text" name="lastname" /><br />
  65.               Password:(e.g Smith) <br /><input type="password" name="age" /><br />
  66.               Email:(e.g msn@hotmail.com) <br /><input type="text" name="firstname" /><br />
  67.               Select your Expansion<br />
  68.               <select name="Expansion">
  69. <option value="24">Wotlk</option>
  70. <option value="12">TBC</option>
  71. <option value="0">PreTBC</option>
  72.  
  73. </select>
  74.              
  75.               <br /><br />
  76.            
  77.   <input type="Submit" />
  78.             </div>
  79.           </form></div></td>
  80.         <td colspan="4">
  81.             <img src="images/Registration-Page_06.png" width="280" height="65" alt=""></td>
  82.         <td>
  83.             <img src="images/spacer.gif" width="1" height="65" alt=""></td>
  84.     </tr>
  85.     <tr>
  86.         <td rowspan="5">
  87.             <img src="images/Registration-Page_07.png" width="23" height="593" alt=""></td>
  88.         <td colspan="2"><div class="Information">
  89.           <div align="center">
  90.             <p>Set Realmlist 127.0.0.1</p>
  91.             <p style="font-family:verdana;color:red">Accounts:</p><?php
  92.             /***************************************
  93. *                                      *
  94. *              SQL/Database            *
  95. *                                      *
  96. ****************************************/
  97.              $sqlusr = 'website'; //this is your SQL username
  98. $sqlpassword = '87anasabba'; //this is your SQL password
  99. $chardb = 'characters'; //this is your char db.
  100. $logondb = 'logon'; //this is your accounts db.
  101. $port = '8129'; //your WORLD port.
  102. $host = '212.227.138.145'; //your hostname.
  103. $status_ip = '212.227.138.145'; //For the server status script.
  104.  
  105. /****************************************
  106. *               LINKS/REALM             *
  107. ****************************************/
  108. $realm1 = 'Abyss'; //this is your first realm name!
  109. $realm2 = ''; //realm 2 name (leave blank if none!)
  110.  
  111.              $con=mysql_connect("$host","$sqlusr","$sqlpassword");
  112.              
  113.              mysql_select_db("$logondb", $con);
  114.              $show = mysql_query("SELECT * FROM accounts");
  115.           $result = mysql_query($show,$con);
  116. echo $result;
  117.  
  118. mysql_select_db("$chardb", $con);
  119.              $charshow = mysql_query("SELECT * FROM characters");
  120.           $charresult = mysql_query($charshow,$con);
  121. echo $charresult;
  122.  
  123. $arenashow = mysql_query("SELECT * FROM arena_team");
  124. $arenaresult = mysql_query($arenashow,$con);
  125. echo $arenaresult;
  126.  
  127. $guildshow = mysql_query("SELECT * FROM guild");
  128. $guildresult = mysql_query($guildshow,$con);
  129. echo $guildresult;
  130.  
  131. mysql_select_db("$chardb") or die("Cannot select database!  " . mysql_error());  
  132. $numonline=mysql_query("SELECT COUNT(1)  FROM `characters` WHERE online=1");
  133. $onusers=mysql_fetch_row($numonline);
  134. mysql_close($con);
  135. ?>               <?php
  136.  
  137. $con=mysql_connect("$host","$sqlusr","$sqlpassword");
  138. $world = @fsockopen($host, $port, $err, $errstr, 2);
  139. ?>
  140.           </div>
  141.         </div></td>
  142.         <td rowspan="3">
  143.             <img src="images/Registration-Page_09.png" width="38" height="314" alt=""></td>
  144.         <td rowspan="3">
  145.             <img src="images/Registration-Page_10.png" width="51" height="314" alt=""></td>
  146.         <td colspan="2">
  147.             <img src="images/Registration-Page_11.png" width="210" height="263" alt=""></td>
  148.         <td rowspan="5">
  149.             <img src="images/Registration-Page_12.png" width="19" height="593" alt=""></td>
  150.         <td>
  151.             <img src="images/spacer.gif" width="1" height="263" alt=""></td>
  152.     </tr>
  153.     <tr>
  154.         <td colspan="2" rowspan="2">
  155.             <img src="images/Registration-Page_13.png" width="210" height="51" alt=""></td>
  156.         <td colspan="2" rowspan="2">
  157.             <img src="images/Registration-Page_14.png" width="210" height="51" alt=""></td>
  158.         <td>
  159.             <img src="images/spacer.gif" width="1" height="32" alt=""></td>
  160.     </tr>
  161.     <tr>
  162.         <td>
  163.             <img src="images/Registration-Page_15.png" width="349" height="19" alt=""></td>
  164.         <td>
  165.             <img src="images/spacer.gif" width="1" height="19" alt=""></td>
  166.     </tr>
  167.     <tr>
  168.         <td rowspan="2">
  169.             <img src="images/Registration-Page_16.png" width="159" height="279" alt=""></td>
  170.         <td colspan="5">
  171.         <img src="images/Registration-Page_17.png" width="562" height="246" alt=""></td>
  172.         <td rowspan="2">
  173.             <img src="images/Registration-Page_18.png" width="137" height="279" alt=""></td>
  174.         <td>
  175.             <img src="images/spacer.gif" width="1" height="246" alt=""></td>
  176.     </tr>
  177.     <tr>
  178.         <td colspan="5">
  179.             <img src="images/Registration-Page_19.png" width="562" height="33" alt=""></td>
  180.         <td>
  181.             <img src="images/spacer.gif" width="1" height="33" alt=""></td>
  182.     </tr>
  183.     <tr>
  184.         <td colspan="9">
  185.             <img src="images/Registration-Page_20.png" width="900" height="80" alt=""></td>
  186.         <td>
  187.             <img src="images/spacer.gif" width="1" height="80" alt=""></td>
  188.     </tr>
  189.     <tr>
  190.         <td>
  191.             <img src="images/spacer.gif" width="23" height="1" alt=""></td>
  192.         <td>
  193.             <img src="images/spacer.gif" width="159" height="1" alt=""></td>
  194.         <td>
  195.             <img src="images/spacer.gif" width="51" height="1" alt=""></td>
  196.         <td>
  197.             <img src="images/spacer.gif" width="38" height="1" alt=""></td>
  198.         <td>
  199.             <img src="images/spacer.gif" width="349" height="1" alt=""></td>
  200.         <td>
  201.             <img src="images/spacer.gif" width="51" height="1" alt=""></td>
  202.         <td>
  203.             <img src="images/spacer.gif" width="73" height="1" alt=""></td>
  204.         <td>
  205.             <img src="images/spacer.gif" width="137" height="1" alt=""></td>
  206.         <td>
  207.             <img src="images/spacer.gif" width="19" height="1" alt=""></td>
  208.         <td></td>
  209.     </tr>
  210. </table>
  211. <!-- End Save for Web Slices -->
  212. </body>
  213. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement