Changeset 540


Ignore:
Timestamp:
Mar 24, 2009, 10:26:48 PM (16 years ago)
Author:
barny
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pages/register.php

    r539 r540  
    1 <? include('../inc/db.php');
     1<?
     2   include('../inc/db.php');
    23?>
     4
    35<table align="center" width="460">
    4           <tr><th align="center"><h1>&nbsp;Heroes of Fantasy</h1></th></tr>
    5 
     6          <tr><th align="left"><h1>&nbsp;Registrace nového účtu</h1></th></tr>
     7         
    68          <tr><td align="center">
    79         
    810<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">
    1012<tr><td>Account</td><td><input type="text" name="account"></td></tr>
    1113<tr><td>Heslo</td><td><input type="password" name="heslo1"></td></tr>
     
    1618      <option value="0">bez datadisku</option>
    1719      <option value="1">s datadiskem TBC</option>
     20     
    1821<tr><td></td><td><input type="submit" Value="Registrovat"></td></tr>
    1922</form>
     
    5962      else:
    6063
    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");
    6265       
    6366        $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.