Changeset 209 for quests/form.php


Ignore:
Timestamp:
Jan 11, 2008, 10:51:28 PM (17 years ago)
Author:
maron
Message:

další úpravy překladu questů

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quests/form.php

    r208 r209  
    1414 
    1515    $User = @$_SESSION['User'];
    16     $ID = $Database->SQLCommand("SELECT * FROM user Where user='$User'");
    17     $LineUser = mysql_fetch_array($ID);
    18     if ($LineUser['gm'] == -1) { //zatím vypnuto
    19       echo '  <form action="Action.php" method="get">
    20       <input type="submit" value="Zkontrolováno" name="inspect">
    21       <input type="hidden" name="entry" value="'.$Line['entry'].'">
    22       <input type="hidden" name="user" value="'.$Line['User'].'">
    23       </form>';     
    24     }
     16    $IDUser = $Database->SQLCommand("SELECT * FROM user Where id = '".$Line['User']."'");
     17    $LineUser = mysql_fetch_array($IDUser);
    2518 
    2619 
     
    2922
    3023      echo '
    31       <form action="action.php" method="get">
    32       <a style="color: Red" title="Hlasovat pro tento Quest" href="action.php?vote=1&amp;ID='.$QuestID.'">Hlasovat pro</a> 
     24      <form action="action.php" method="get">';
     25     
     26      if ($Line['Language'] <> '0') echo '<b>Pøelo¾il: '.$LineUser['user'].'</b> ';
     27     
     28      echo '<a style="color: Red" title="Hlasovat pro tento Quest" href="action.php?vote=1&amp;ID='.$QuestID.'">Hlasovat pro</a> 
    3329      <a style="color: Red" title="Hlasovat proti tomuto Questu" href="action.php?vote=-1&amp;ID='.$QuestID.'">Hlasovat proti</a>';
    3430
Note: See TracChangeset for help on using the changeset viewer.