Changeset 288 for quests/statistic.php


Ignore:
Timestamp:
Jan 30, 2008, 9:40:23 PM (17 years ago)
Author:
maron
Message:

oprava emailu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quests/statistic.php

    r287 r288  
    5757  $ID = $Database->SQLCommand("
    5858  SELECT ID,user, LastLogin, GM, (
    59      (SELECT count(*) FROM `quests` WHERE User = user.ID AND User <> 0 AND Complete = 1) +
    60      (SELECT count(*) FROM `npc_text` WHERE User = user.ID AND User <> 0 AND Complete = 1) +
    61      (SELECT count(*) FROM `page_text` WHERE User = user.ID AND User <> 0 AND Complete = 1)
     59     (SELECT count(*) FROM `quests` WHERE User = user.ID AND Complete = 1) +
     60     (SELECT count(*) FROM `npc_text` WHERE User = user.ID AND Complete = 1) +
     61     (SELECT count(*) FROM `page_text` WHERE User = user.ID AND Complete = 1)
    6262   ) as NumberTranslate, (
    6363       IFNULL((SELECT sum(Vote) AS Vote FROM `quests` WHERE User = user.ID AND Complete =1),0)
Note: See TracChangeset for help on using the changeset viewer.