Changeset 130 for trunk/img_level.php
- Timestamp:
- Feb 23, 2009, 7:14:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/img_level.php
r129 r130 65 65 foreach($TranslationTree as $Group) { //překladové skupiny 66 66 if($Group['TablePrefix'] != '') { 67 $IDtran = $Database->SQLCommand('SELECT * FROM `'.$Group['TablePrefix'].'` WHERE User = '.$user_ID.' AND Complete = 1 GROUP BY Take'); 67 $groupby = 'GROUP BY'; 68 foreach($TranslationTree[$Group['Id']]['Items'] as $Index => $TextItem) { 69 if ($groupby == 'GROUP BY') $groupby .= ' '.$TextItem['Column']; 70 else $groupby .= ', '.$TextItem['Column']; 71 } 72 $IDtran = $Database->SQLCommand('SELECT * FROM `'.$Group['TablePrefix'].'` WHERE User = '.$user_ID.' AND Complete = 1 '.$groupby); 68 73 while ($Line = mysql_fetch_array($IDtran)) { //jednotlivé překlady 69 74 $LineComparison = mysql_fetch_assoc($Database->SQLCommand('SELECT * FROM `'.$Group['TablePrefix'].'` WHERE ID = '.$Line['Take']));
Note:
See TracChangeset
for help on using the changeset viewer.