Changeset 309 for online_player.php
- Timestamp:
- Mar 13, 2008, 8:45:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
online_player.php
r140 r309 13 13 $dir = ($dir) ? 0 : 1; 14 14 15 $result = $Database->query("SELECT count(*) FROM `character ` WHERE `online`= 1");15 $result = $Database->query("SELECT count(*) FROM `characters` WHERE `online`= 1"); 16 16 $Row = $result->fetch_array(); 17 17 $total_online = $Row[0]; … … 23 23 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', ".(CHAR_DATA_OFFSET_HONOR_POINTS+1)."), ' ', -1) AS UNSIGNED) AS highest_rank, 24 24 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', ".(CHAR_DATA_OFFSET_LEVEL+1)."), ' ', -1) AS UNSIGNED) AS level,account 25 FROM `character ` WHERE `online`= 1 $order_side ORDER BY $order_by $order_dir");25 FROM `characters` WHERE `online`= 1 $order_side ORDER BY $order_by $order_dir"); 26 26 27 27 require_once("minimanager/lang/enUS.php");
Note:
See TracChangeset
for help on using the changeset viewer.