Changeset 307 for minimanager/pomm_run.php
- Timestamp:
- Mar 13, 2008, 8:18:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/pomm_run.php
r143 r307 18 18 19 19 if( !$user_lvl && !$server[$realm_id]['both_factions']){ 20 $result = $sql->query("SELECT race FROM `character ` WHERE account = '$user_id' AND totaltime = (SELECT MAX(totaltime) FROM `character` WHERE account = '$user_id') LIMIT 1");20 $result = $sql->query("SELECT race FROM `characters` WHERE account = '$user_id' AND totaltime = (SELECT MAX(totaltime) FROM `characters` WHERE account = '$user_id') LIMIT 1"); 21 21 if ($sql->num_rows($result)){ 22 22 $order_side = (in_array($sql->result($result, 0, 'race'),array(2,5,6,8,10))) ? … … 27 27 $result = $sql->query("SELECT name,race,class,position_x,position_y,map,SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 35), ' ', -1), 28 28 SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 37), ' ', -1),zone 29 FROM `character ` WHERE `online`= 1 $order_side");29 FROM `characters` WHERE `online`= 1 $order_side"); 30 30 31 31 $i = 0;
Note:
See TracChangeset
for help on using the changeset viewer.