Changeset 250 for quests/Options.php
- Timestamp:
- Jan 20, 2008, 12:08:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/Options.php
r240 r250 11 11 $NewPass = $_POST['NewPass']; 12 12 $NewPass2 = $_POST['NewPass2']; 13 $Language = $_POST['Language']; 13 14 14 15 $Line = mysql_fetch_array($Database->SQLCommand("SELECT * FROM user WHERE ID = ".$_SESSION['UserID'])); … … 17 18 echo 'Heslo zmìnìno!<br />'; 18 19 } else echo '<br />Hesla se neshodují!<br />'; 19 $Database->SQLCommand("UPDATE user SET Email = '$Email' WHERE ID = ".$_SESSION['UserID']);20 $Database->SQLCommand("UPDATE user SET Email = '$Email', Language = '$Language' WHERE ID = ".$_SESSION['UserID']); 20 21 echo 'Úprava nastavení probìhla v poøádku, Email: <b>'.$Email.'</b> U¾ivatel: <b>'.$User.'</b><br />'; 21 22 WriteLog('Úprava nastavení!', 3); … … 42 43 </tr> 43 44 <tr> 45 <td>Normálnì budu pøekládat do: </td> 46 <td><?php WriteLanguages($Line['Language']); ?></td> 47 </tr> 48 <tr> 44 49 <th><input type="submit" value="Ulo¾it"></th> 45 50 </tr>
Note:
See TracChangeset
for help on using the changeset viewer.