Changeset 250 for quests/registrace.php


Ignore:
Timestamp:
Jan 20, 2008, 12:08:14 PM (17 years ago)
Author:
maron
Message:

Dafaultní jazyk, neoznámkované questy, aj.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quests/registrace.php

    r240 r250  
    99  $Pass2 = $_POST['pass2'];
    1010  $Email = $_POST['Email'];
     11  $Language = $_POST['Language'];
    1112
    1213  if ($Pass == $Pass2) {
     
    1516    if (!$Line) {
    1617      $Addres = $_SERVER['REMOTE_ADDR'];
    17       $Database->SQLCommand("INSERT INTO `user` (`user` , `pass` , `LastIP` , `LastLogin` , `Email` )
    18       VALUES ('$User','$Pass','$Addres',now(),'$Email')");
     18      $Database->SQLCommand("INSERT INTO `user` (`user` , `pass` , `LastIP` , `LastLogin` , `Email` , `Language` )
     19      VALUES ('$User','$Pass','$Addres',now(),'$Email','$Language')");
    1920   //   $Database->SQLCommand("INSERT INTO user () VALUES('$User','$Pass','0','$Addres',now(),'0','$Email')");
    2021      echo 'Registrace probìhla úspì¹nì<br />';
     
    5960    </tr>
    6061    <tr>
     62      <td>Normálnì budu pøekládat do: </td>
     63      <td><?php WriteLanguages($Line['Language']); ?></td>
     64    </tr>
     65
     66
     67    <tr>
    6168      <th><input type="submit" value="Registrovat"></th>
    6269    </tr>
Note: See TracChangeset for help on using the changeset viewer.