Changeset 288
- Timestamp:
- Jan 30, 2008, 9:40:23 PM (17 years ago)
- Location:
- quests
- Files:
-
- 2 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) -
quests/user.php
r287 r288 8 8 9 9 10 if (array_key_exists('text', $_POST) and Licence( 1)) {10 if (array_key_exists('text', $_POST) and Licence(2)) { 11 11 $text = $_POST['text']; 12 12 $email = $_POST['email']; … … 16 16 echo 'text: <b>'.$text.'</b><br />'; 17 17 18 if(@mail($email, $subject, $text )){18 if(@mail($email, $subject, $text, "From: maron2@centrum.cz\nReply-To: maron2@centrum.cz\nX-Mailer: PHP/")){ 19 19 echo 'Zpráva byla odeslána.<br /><br />'; 20 20 }
Note:
See TracChangeset
for help on using the changeset viewer.