Changeset 229
- Timestamp:
- Jan 15, 2008, 3:27:54 PM (17 years ago)
- Location:
- quests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/dictionary.php
r225 r229 110 110 $sql = "SELECT * FROM `dictionary`"; 111 111 } 112 echo '<table border="1" cellpadding="2" cellspacing="0" width="100%">'; 112 echo '<table border="1" cellpadding="2" cellspacing="0" width="100%"> 113 <tr><th>Eng</th> 114 <th>Cze</th> 115 <th> Popis</th></tr>'; 113 116 $ID = $Database->SQLCommand($sql); 114 117 while ($Line = mysql_fetch_array($ID)) { -
quests/export.php
r225 r229 172 172 <input type="text" name="Vote" value="3" size="1"> Známka lep¹í jak 173 173 </td><td> 174 <input type="checkbox" name="Diacritical" checked="true"> Vèetnì diakritiky <br> 174 <input type="checkbox" name="Diacritical" checked="true"> Vèetnì diakritiky <br> 175 <br /> 175 176 <input type="checkbox" name="CZ" checked="true"> Èeský pøeklad <br> 176 177 <input type="checkbox" name="SK" checked="true"> Slovenský pøeklad <br> -
quests/form.php
r224 r229 9 9 $LineAJ = mysql_fetch_array($Database->SQLCommand("SELECT * FROM quests Where Language = '0' 10 10 AND entry = '".$Line['entry']."'")); 11 12 // echo 'Jméno Questu: <b>'.$LineAJ['Title'].'</b> ';13 14 11 15 12 $User = @$_SESSION['User']; … … 17 14 $LineUser = mysql_fetch_array($IDUser); 18 15 19 20 // <input name="complete" value="1" checked="checked" type="checkbox"> Hotovo21 22 16 23 17 if ($Line['Language'] <> '0' and $LineUser['user'] <> '') echo 'Pøelo¾il: <b>'.$LineUser['user'].'</b> '; 24 // if ($Line['Language'] <> '0' and $LineUser['user'] = '') echo '<b>Pøelo¾il: Neznámý</b> '; 25 18 if ($Line['Take'] <> '0' and $Line['Take'] <> $Line['ID']) echo 'Pøevzato z: <a href="form.php?ID='.$Line['Take'].'">'.$Line['Take'].'</a>'; 26 19 20 // Speciální znaky: $B - Odøádkování, $N - Jméno, $C - povolání 27 21 ?> 28 Speciální znaky: $B - Odøádkování, $N - Jméno, $C - povolání29 22 <form action="save.php" method="post"> 30 23 <?php -
quests/includes/global.php
r227 r229 169 169 </tr> 170 170 <tr> 171 <td></td><td> <span style="color: grey">Program naprogramoval maron (maron2@cetrum.cz)</span>'; 171 <td></td> 172 <td><span style="color: grey">Program naprogramoval maron (maron2@cetrum.cz)</span>'; 172 173 if (Licence(0)) 173 174 echo ' Jste pøihlá¹en jako: <b>'.$_SESSION['User'].'</b> <a href="index.php?Logout">Odhlásit</a>'; -
quests/save.php
r220 r229 43 43 if (!$Line) { 44 44 45 $Database->SQLCommand("INSERT INTO `quests` (`entry` , `Title` , `Details` , `Objectives` , `OfferRewardText` , `RequestItemsText` , `EndText` , `ObjectiveText1` , `ObjectiveText2` , `ObjectiveText3` , `ObjectiveText4` , `Language` , `User` , `complete` )46 VALUES('$entry','$Title','$Details','$Objectives','$OfferRewardText','$RequestItemsText','$EndText','$ObjectiveText1','$ObjectiveText2','$ObjectiveText3','$ObjectiveText4','$Language','$UserID','$complete' )");45 $Database->SQLCommand("INSERT INTO `quests` (`entry` , `Title` , `Details` , `Objectives` , `OfferRewardText` , `RequestItemsText` , `EndText` , `ObjectiveText1` , `ObjectiveText2` , `ObjectiveText3` , `ObjectiveText4` , `Language` , `User` , `complete` , `Take` ) 46 VALUES('$entry','$Title','$Details','$Objectives','$OfferRewardText','$RequestItemsText','$EndText','$ObjectiveText1','$ObjectiveText2','$ObjectiveText3','$ObjectiveText4','$Language','$UserID','$complete','$QuestID')"); 47 47 // $Database->SQLCommand("INSERT INTO czquests VALUES('$entry','$Title','$Details','$Objectives','$OfferRewardText','$RequestItemsText','1','$User','$complete')"); 48 48 // $Database->SQLCommand("UPDATE ajquests SET state = '1' WHERE entry = '$entry'");
Note:
See TracChangeset
for help on using the changeset viewer.