Changeset 229


Ignore:
Timestamp:
Jan 15, 2008, 3:27:54 PM (17 years ago)
Author:
maron
Message:

Převzato, menší úprava slovníčku

Location:
quests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • quests/dictionary.php

    r225 r229  
    110110      $sql = "SELECT * FROM `dictionary`";
    111111    }
    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>';
    113116        $ID = $Database->SQLCommand($sql);
    114117          while ($Line = mysql_fetch_array($ID)) {
  • quests/export.php

    r225 r229  
    172172        <input type="text" name="Vote" value="3" size="1"> Známka lep¹í jak                                                               
    173173      </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 />                                                               
    175176        <input type="checkbox" name="CZ" checked="true"> Èeský pøeklad <br>                                                                 
    176177        <input type="checkbox" name="SK" checked="true"> Slovenský pøeklad <br>                                                                 
  • quests/form.php

    r224 r229  
    99    $LineAJ = mysql_fetch_array($Database->SQLCommand("SELECT * FROM quests Where Language = '0'
    1010    AND entry = '".$Line['entry']."'"));
    11 
    12  //   echo 'Jméno Questu: <b>'.$LineAJ['Title'].'</b> '; 
    13    
    1411 
    1512    $User = @$_SESSION['User'];
     
    1714    $LineUser = mysql_fetch_array($IDUser);
    1815 
    19  
    20 //    <input name="complete" value="1" checked="checked" type="checkbox"> Hotovo
    21 
    2216     
    2317      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>';
    2619
     20//    Speciální znaky: $B - Odøádkování, $N - Jméno, $C - povolání
    2721?>   
    28     Speciální znaky: $B - Odøádkování, $N - Jméno, $C - povolání
    2922  <form action="save.php" method="post">
    3023<?php
  • quests/includes/global.php

    r227 r229  
    169169    </tr>
    170170    <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>';
    172173if (Licence(0))
    173174  echo '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jste pøihlá¹en jako: <b>'.$_SESSION['User'].'</b> <a href="index.php?Logout">Odhlásit</a>';
  • quests/save.php

    r220 r229  
    4343    if (!$Line) {
    4444   
    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')");
    4747    //  $Database->SQLCommand("INSERT INTO czquests VALUES('$entry','$Title','$Details','$Objectives','$OfferRewardText','$RequestItemsText','1','$User','$complete')");     
    4848    //  $Database->SQLCommand("UPDATE ajquests SET state = '1' WHERE entry = '$entry'");     
Note: See TracChangeset for help on using the changeset viewer.