- Timestamp:
- Jan 22, 2008, 6:01:34 PM (17 years ago)
- Location:
- quests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/npc_form.php
r251 r261 8 8 $LineAJ = mysql_fetch_array($Database->SQLCommand("SELECT * FROM npc_text Where Language = '0' AND entry = '".$Line['entry']."'")); 9 9 $LineUser = mysql_fetch_array($Database->SQLCommand("SELECT * FROM user Where id = '".$Line['User']."'")); 10 $LineVote = mysql_fetch_array($Database->SQLCommand("SELECT * FROM npc_vote WHERE IDuser = ".$_SESSION['UserID']."AND IDnpc = $npc_ID"));10 $LineVote = mysql_fetch_array($Database->SQLCommand("SELECT * FROM npc_vote WHERE IDuser = '".@$_SESSION['UserID']."' AND IDnpc = $npc_ID")); 11 11 12 12 -
quests/save.php
r260 r261 48 48 '$ObjectiveText2','$ObjectiveText3','$ObjectiveText4','$Language','$UserID','$complete','$QuestID','3','1')"); 49 49 echo 'Quest: '.$entry.' ulo¾en!<br />'; 50 WriteLog('Quest: '.$entry.' ulo µen! <a href="form.php?ID='.$QuestID.'">'.$QuestID.'</a>', 1);50 WriteLog('Quest: '.$entry.' ulo¾en! <a href="form.php?ID='.$QuestID.'">'.$QuestID.'</a>', 1); 51 51 } else { 52 52 $sql = "UPDATE quests SET complete = '$complete', Title = '$Title', … … 60 60 // echo $sql.'<br />'; 61 61 echo 'Zmìny v Questu: '.$entry.' ulo¾eny!<br />'; 62 WriteLog('Zmìny v Questu: '.$entry.' ulo µeny! <a href="form.php?ID='.$QuestID.'">'.$QuestID.'</a>', 1);62 WriteLog('Zmìny v Questu: '.$entry.' ulo¾eny! <a href="form.php?ID='.$QuestID.'">'.$QuestID.'</a>', 1); 63 63 $Database->SQLCommand("DELETE FROM `quests_vote` WHERE `quests_vote`.`IDquest` = ".$QuestID); 64 64 } 65 65 66 echo 'Pøekládat: <a href="ListQuests.php?selection">Nepøelo ené</a> ';66 echo 'Pøekládat: <a href="ListQuests.php?selection">Nepøelo¶ené</a> '; 67 67 68 68 }
Note:
See TracChangeset
for help on using the changeset viewer.