Changeset 54 for trunk/form.php
- Timestamp:
- Feb 2, 2009, 7:38:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/form.php
r49 r54 11 11 $TextID = $_GET['ID']; 12 12 13 $Line = mysql_fetch_a rray($Database->SQLCommand('SELECT * FROM '.$Table.' Where ID = '.$TextID));13 $Line = mysql_fetch_assoc($Database->SQLCommand('SELECT * FROM '.$Table.' Where ID = '.$TextID)); 14 14 if(!$Line) die('Překlad nenalezen.'); 15 15 16 $LineAJ = mysql_fetch_a rray($Database->SQLCommand('SELECT * FROM '.$Table.' WHERE Language = 0 AND entry = '.$Line['entry']));16 $LineAJ = mysql_fetch_assoc($Database->SQLCommand('SELECT * FROM '.$Table.' WHERE Language = 0 AND entry = '.$Line['entry'])); 17 17 if(!$Line) die('Anglický originál k překladu nenalezen.'); 18 18 … … 25 25 if(($Line['Take'] <> 0) and ($Line['Take'] <> $Line['ID'])) 26 26 { 27 $Language = mysql_fetch_a rray($Database->SQLCommand('SELECT Language FROM '.$Table.' Where ID = '.$Line['Take']));27 $Language = mysql_fetch_assoc($Database->SQLCommand('SELECT Language FROM '.$Table.' Where ID = '.$Line['Take'])); 28 28 // echo $Language['Language'].' '.$Line['Take']; 29 29 if($Language['Language'] <> 0) … … 33 33 if($Line['Language'] <> 0) 34 34 { 35 if($Line[' complete'] == 1) echo(' <b>Hotov</b><br />');35 if($Line['Complete'] == 1) echo(' <b>Hotov</b><br />'); 36 36 else echo(' <b> Uložen v rozepsaných</b><br />'); 37 37 } else
Note:
See TracChangeset
for help on using the changeset viewer.