Changeset 432 for trunk/form.php
- Timestamp:
- Apr 8, 2010, 8:58:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/form.php
r431 r432 34 34 if(!$Line) ErrorMessage('Překlad nenalezen.'); 35 35 36 $DbResult = $Database->SQLCommand('SELECT * FROM `'.$Table.'` WHERE `Language` = 0 AND `Entry` = '.$Line['Entry'].' AND `VersionEnd` = '.$Line['VersionEnd'].'LIMIT 1');36 $DbResult = $Database->SQLCommand('SELECT * FROM `'.$Table.'` WHERE (`Language` = 0) AND (`Entry` = '.$Line['Entry'].') AND (`VersionEnd` = '.$Line['VersionEnd'].') LIMIT 1'); 37 37 $LineAJ = mysql_fetch_assoc($DbResult); 38 38 if(!$Line) ErrorMessage('Anglický originál k překladu nenalezen.'); … … 63 63 echo('<br />'); 64 64 65 $DbResult = $Database->SQLCommand('SELECT COUNT(*) FROM `'.$Table.'` WHERE (`Entry` = '.$Line['Entry'].') AND (`Language` <> 0) AND (`Complete` = 1) AND (`ID` <> '.$Line['ID'].')');65 $DbResult = $Database->SQLCommand('SELECT COUNT(*) FROM `'.$Table.'` WHERE (`Entry` = '.$Line['Entry'].') AND (`Language` <> 0) AND (`Complete` = 1)'); 66 66 $Version = mysql_fetch_row($DbResult); 67 67 $Version = $Version[0]; … … 88 88 } else 89 89 { 90 echo('<a href="TranslationList.php?group='.$GroupId.'&action=searchentry&ID='.$Line[' Entry'].'">Počet verzí: <strong>'.$Version.'</strong></a>');90 echo('<a href="TranslationList.php?group='.$GroupId.'&action=searchentry&ID='.$Line['ID'].'">Počet verzí: <strong>'.$Version.'</strong></a>'); 91 91 } 92 92
Note:
See TracChangeset
for help on using the changeset viewer.