Changeset 136
- Timestamp:
- Nov 17, 2007, 8:10:19 PM (17 years ago)
- Location:
- db
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
db/include/myacc.php
r133 r136 27 27 SwitchDB(1); // nastavení databáze na mangos 28 28 $XpRess = new XpRess($_GET['resetxp']); 29 $XpRess->ShowXp(); 30 $XpRess->XpRestart(); 31 $XpRess->XpRestartDone(); 29 if( $XpRess->char_name != false ){ 30 $XpRess->ShowXp(); 31 $XpRess->XpRestart(); 32 $XpRess->XpRestartDone(); 33 } 32 34 }; 33 35 -
db/include/position_reset.php
r132 r136 17 17 $sql = mysql_query("SELECT * FROM `character` WHERE `guid` = '".$this->char_id."' AND `account`='".$user['acc']."' LIMIT 1"); 18 18 $load = mysql_fetch_array($sql); 19 if( $load['online'] == 0 )19 if( $load['online'] != 0 ) 20 20 { 21 21 print("Nemůžete přesouvat postavu, která je online! Nejprve se odhlašte!<br>"); -
db/include/xp_reset.php
r133 r136 17 17 $sql = mysql_query("SELECT * FROM `character` WHERE `guid` = '".$this->char_id."' AND `account`='".$user['acc']."' LIMIT 1"); 18 18 $load = mysql_fetch_array($sql); 19 if( $load['online'] == 0 )19 if( $load['online'] != 0 ) 20 20 { 21 21 print("Nemůžete restartovat zkušenosti postavy, která je online! Nejprve se odhlašte!<br>\n"); -
db/post_read.php
r135 r136 695 695 $this->sql_select['result']['other']['chars'] .= "<td title=\"Povolání\">".$Database['class'][$this->sql_select['result']['char'][$i]['class']]."</td>\n"; 696 696 //$this->sql_select['result']['other']['chars'] .= "<td><a href=\"./index.php?char=".$this->sql_select['result']['char'][$i]['guid'].$this->sid."\" target=\"_blank\">Exportovat</a></td>\n"; 697 //$this->sql_select['result']['other']['chars'] .= "<td><a href=\"./index.php?id=myacc&heartstone=".$this->sql_select['result']['char'][$i]['guid'].$this->sid."\">Heartstone</a></td>\n";698 //$this->sql_select['result']['other']['chars'] .= "<td><a href=\"./index.php?id=myacc&resetxp=".$this->sql_select['result']['char'][$i]['guid'].$this->sid."\">ResetXP</a></td></tr>\n";697 $this->sql_select['result']['other']['chars'] .= "<td><a href=\"./index.php?id=myacc&heartstone=".$this->sql_select['result']['char'][$i]['guid'].$this->sid."\">Heartstone</a></td>\n"; 698 $this->sql_select['result']['other']['chars'] .= "<td><a href=\"./index.php?id=myacc&resetxp=".$this->sql_select['result']['char'][$i]['guid'].$this->sid."\">ResetXP</a></td></tr>\n"; 699 699 }; 700 700 if( $this->sql_select['result']['char_count'] == 0 ){
Note:
See TracChangeset
for help on using the changeset viewer.