Changeset 137 for db/include/myacc.php
- Timestamp:
- Nov 17, 2007, 8:57:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
db/include/myacc.php
r136 r137 19 19 mysql_query("INSERT INTO `acc_heartstone` (`acc`,`char`,`date`,`ip`) VALUES ('".$sql_select['result']['acc']['id']."','".$_GET['heartstone']."','".time()."','".$_SERVER["REMOTE_ADDR"]."') "); 20 20 }; 21 } 22 else{ 23 print("Dnes už byla postava jednou přesunuta! Zkuste to zítra.<br>\n"); 24 } 25 } 26 else{ 27 SwitchDB(1); // nastavení databáze na mangos 28 $PosRess = new PosRess($_GET['heartstone']); 29 if( $PosRess->char_name != false ){ 30 $PosRess->GoHome(); 31 $PosRess->GoHomeDone(); 32 SwitchDB(3); // nastavení databáze na web 33 mysql_query("INSERT INTO `acc_heartstone` (`acc`,`char`,`date`,`ip`) VALUES ('".$sql_select['result']['acc']['id']."','".$_GET['heartstone']."','".time()."','".$_SERVER["REMOTE_ADDR"]."') "); 21 34 }; 22 35 };
Note:
See TracChangeset
for help on using the changeset viewer.