Changeset 309 for honor.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
  • honor.php

    r140 r309  
    3434        $order_dir = ($dir) ? "ASC" : "DESC";
    3535       
    36         $result = $Database->query("SELECT count(*) FROM `character`");
     36        $result = $Database->query("SELECT count(*) FROM `characters`");
    3737        $Row = $result->fetch_array();
    3838        $total_online = $Row[0];
     
    4848                        CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', ".(CHAR_DATA_OFFSET_HONOR_POINTS+1)."), ' ', -1) AS UNSIGNED) AS highest_rank,
    4949                        CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', ".(CHAR_DATA_OFFSET_LEVEL+1).'), " ", -1) AS UNSIGNED) AS level,account
    50                         FROM `character` WHERE 1 '.$order_side.' ORDER BY '.$order_by.' '.$order_dir.' LIMIT '.$Page*$PerPage.','.$PerPage);
     50                        FROM `characters` WHERE 1 '.$order_side.' ORDER BY '.$order_by.' '.$order_dir.' LIMIT '.$Page*$PerPage.','.$PerPage);
    5151
    5252        require_once("minimanager/lang/enUS.php");
Note: See TracChangeset for help on using the changeset viewer.