Changeset 540 for trunk/pages
- Timestamp:
- Mar 24, 2009, 10:26:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/register.php
r539 r540 1 <? include('../inc/db.php'); 1 <? 2 include('../inc/db.php'); 2 3 ?> 4 3 5 <table align="center" width="460"> 4 <tr><th align=" center"><h1> Heroes of Fantasy</h1></th></tr>5 6 <tr><th align="left"><h1> Registrace nového účtu</h1></th></tr> 7 6 8 <tr><td align="center"> 7 9 8 10 <table align="center" width="230"> 9 <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="POST">11 <form method="post" action="http://wow.zdechov.net/?page=register"> 10 12 <tr><td>Account</td><td><input type="text" name="account"></td></tr> 11 13 <tr><td>Heslo</td><td><input type="password" name="heslo1"></td></tr> … … 16 18 <option value="0">bez datadisku</option> 17 19 <option value="1">s datadiskem TBC</option> 20 18 21 <tr><td></td><td><input type="submit" Value="Registrovat"></td></tr> 19 22 </form> … … 59 62 else: 60 63 61 mysql_select_db($ realmd, $dbconn) or die ("Nepovedlo se vybrat databázy $characters");64 mysql_select_db($db_realmd, $dbconn) or die ("Nepovedlo se vybrat databázy $characters"); 62 65 63 66 $sqlko = "INSERT INTO `account` (`username`,`sha_pass_hash`,`email`,`expansion`) values ('$account','$heslo','$email','$expansion')";
Note:
See TracChangeset
for help on using the changeset viewer.