Changeset 309 for online_player.php


Ignore:
Timestamp:
Mar 13, 2008, 8:45:46 PM (17 years ago)
Author:
george
Message:

Opravy související s přejmenování sloupce character na characters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • online_player.php

    r140 r309  
    1313        $dir = ($dir) ? 0 : 1;
    1414       
    15         $result = $Database->query("SELECT count(*) FROM `character` WHERE `online`= 1");
     15        $result = $Database->query("SELECT count(*) FROM `characters` WHERE `online`= 1");
    1616        $Row = $result->fetch_array();
    1717        $total_online = $Row[0];
     
    2323                        CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', ".(CHAR_DATA_OFFSET_HONOR_POINTS+1)."), ' ', -1) AS UNSIGNED) AS highest_rank,
    2424                        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");
    2626
    2727        require_once("minimanager/lang/enUS.php");
Note: See TracChangeset for help on using the changeset viewer.