Changeset 63 for trunk/includes/global.php
- Timestamp:
- Feb 5, 2009, 8:30:59 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global.php
r61 r63 151 151 if(!array_key_exists('UserID', $_SESSION)) $_SESSION['UserID'] = ''; 152 152 if(!array_key_exists('User', $_SESSION)) $_SESSION['User'] = 'NotRegistred'; 153 if(!array_key_exists('Pass', $_SESSION)) $_SESSION['Pass'] = ''; 153 154 154 155 // Přihlášení … … 156 157 { 157 158 $_SESSION['User'] = $_POST['LoginUser']; 158 $_SESSION['Pass'] = $_POST['LoginPass'];159 $_SESSION['Pass'] = sha1($_POST['LoginPass']); 159 160 160 161 $Line = mysql_fetch_array($Database->SQLCommand("SELECT * FROM user WHERE LOWER(user) = LOWER('".$_SESSION['User']."') AND pass = '".$_SESSION['Pass']."'")); … … 205 206 </tr> 206 207 <tr> 207 <td colspan="2" class="page-bottom">Autoři: maron (maron2@centrum.cz), chronos');208 <td colspan="2" class="page-bottom">Autoři: maron, chronos <a href="http://wowpreklad.zdechov.net/trac/wowpreklad/browser/trunk">Zdrojové soubory</a>'); 208 209 echo(' </td></tr> 209 210 </table>
Note:
See TracChangeset
for help on using the changeset viewer.