Changeset 435 for trunk/TranslationList.php
- Timestamp:
- Apr 9, 2010, 6:42:57 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/TranslationList.php
r434 r435 130 130 echo('<a title="Zobrazit texty podle vlastního filtru" href="?group='.$GroupId.'&action=filter">Filtr textů</a> -> 131 131 <a title="Nedokončené texty" href="?group='.$GroupId.'&action=mydevelop">Rozepsané překlady</a><br /><br />'); 132 WriteQuests('SELECT *, (SELECT `User`.`Name` FROM `User` WHERE `User`.`ID` = `'.$Table.'`.`User`) AS `UserName` FROM `'.$Table.'` WHERE `User` = '.$User->Id.' AND `Complete` = 0');132 WriteQuests('SELECT *, (SELECT `User`.`Name` FROM `User` WHERE `User`.`ID` = `'.$Table.'`.`User`) AS `UserName` FROM `'.$Table.'` WHERE (`User` = '.$User->Id.') AND (`Complete` = 0)'); 133 133 } 134 134 … … 155 155 function UserAll() 156 156 { 157 global $Database, $T able, $GroupId, $TranslationTree;157 global $Database, $TranslationTree; 158 158 159 159 $ID = $Database->SQLCommand('SELECT `Name` FROM `User` WHERE `ID` = '.$_GET['user']); 160 160 $Line = mysql_fetch_row($ID); 161 echo('<a title="Zobrazit texty podle vlastního filtru" href="?group='.$GroupId.'&action=filter">Filtr textů</a>'. 162 ' -> <strong>Počty překladů uživatele '.$Line[0].': </strong><br /><br />'); 163 164 echo('<table class="BaseTable"><tr><th>Skupina</th><th>Rozpracovaných</th><th>Hotových</th></tr>'); 161 echo('<strong>Počty překladů uživatele '.$Line[0].': </strong><br /><br />'); 162 163 echo('<table class="BaseTable"><tr><th>Skupina</th><th>Rozpracované</th><th>Hotové</th></tr>'); 165 164 $Total = 0; 166 165 $Total2 = 0; … … 175 174 $Line2 = mysql_fetch_row($ID); 176 175 $GroupId = $Group['Id']; 177 echo('<tr><td> <a href="?group='.$GroupId.'&action=userid&not&user='.$_GET['user'].'">'.$Group['Name'].'</a></td><td>'.$Line[0].'</td><td>'.$Line2[0].'</td></tr>');176 echo('<tr><td>'.$Group['Name'].'</td><td><a href="?group='.$GroupId.'&action=userid&not&user='.$_GET['user'].'">'.$Line[0].'</a></td><td><a href="?group='.$GroupId.'&action=userid&user='.$_GET['user'].'">'.$Line2[0].'</a></td></tr>'); 178 177 $Total += $Line[0]; 179 178 $Total2 += $Line2[0];
Note:
See TracChangeset
for help on using the changeset viewer.