Changeset 288 for quests/statistic.php
- Timestamp:
- Jan 30, 2008, 9:40:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/statistic.php
r287 r288 57 57 $ID = $Database->SQLCommand(" 58 58 SELECT ID,user, LastLogin, GM, ( 59 (SELECT count(*) FROM `quests` WHERE User = user.ID AND User <> 0 ANDComplete = 1) +60 (SELECT count(*) FROM `npc_text` WHERE User = user.ID AND User <> 0 ANDComplete = 1) +61 (SELECT count(*) FROM `page_text` WHERE User = user.ID AND User <> 0 ANDComplete = 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) 62 62 ) as NumberTranslate, ( 63 63 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.