Changeset 70 for trunk/form.php
- Timestamp:
- Feb 6, 2009, 9:20:10 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/form.php
r67 r70 42 42 } 43 43 44 if($Line['Language'] <> 0)45 {46 echo('Známka překladu: <b>'.$Line['Vote'].'</b><br />');47 }48 49 if(Licence(LICENCE_USER) and ($LineUser['ID'] <> $_SESSION['UserID']) and ($Line['Language'] <> 0))50 {51 $LineVote = mysql_fetch_array($Database->SQLCommand('SELECT * FROM '.$Table.'_vote WHERE IDuser = '.$_SESSION['UserID'].' AND TextId = '.$TextID));52 if(!$LineVote)53 {54 echo(' Hodnotit text: ');55 for($i = 1; $i < 6; ++$i)56 echo('<a href="action.php?group='.$GroupId.'&vote='.$i.'&ID='.$TextID.'">'.$i.'</a> ');57 echo(' bodů (5 nejlepší)');58 } else59 {60 echo(' Již jsi hlasoval: '.$LineVote['vote']);61 }62 echo('<br />');63 }64 65 44 // kontrolování textů 66 45 $ID_translation = $TextID;
Note:
See TracChangeset
for help on using the changeset viewer.