Changeset 265 for trunk/download.php
- Timestamp:
- Jul 27, 2009, 2:25:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/download.php
r260 r265 22 22 $Percent = substr($Percent, 0, 5); 23 23 24 $result = false;25 foreach($Group['Items'] as $Column) if($Column['AddonFileName'] != '') $result = true;26 27 24 if (($TableID == 14) or ($TableID == 15)) $result = true; 28 25 29 if ($result)30 26 return ($Group['Name'].': '.$NumberTranslate.'/'.$NumberAJ.' '.$Percent.'% 31 27 '); … … 88 84 89 85 if (Licence(LICENCE_USER)) { 90 $ID = $Database->SQLCommand('SELECT * FROM tasks WHERE User = '.$_SESSION['UserID'] );86 $ID = $Database->SQLCommand('SELECT * FROM tasks WHERE User = '.$_SESSION['UserID'].' ORDER BY Date DESC LIMIT 10'); 91 87 if (mysql_num_rows($ID) > 0) 92 88 { 93 89 $Database->SQLCommand('UPDATE tasks SET Downloaded = 1 WHERE Active = 0 AND User = '.$_SESSION['UserID']); 94 echo ('<h3>Seznam zadaných úkolů</h3> <table class="BaseTable"><tr><th>Datum</th><th>Vygenerováno</th><th>Staženo</th><th>Soubor</th>< /tr>');90 echo ('<h3>Seznam zadaných úkolů</h3> <table class="BaseTable"><tr><th>Datum</th><th>Vygenerováno</th><th>Staženo</th><th>Soubor</th><th>Nastavení exportu</th></tr>'); 95 91 while($Line = mysql_fetch_assoc($ID)) 96 92 { … … 108 104 '<td>'.$Active.'</td>'. 109 105 '<td>'.$Downloaded.'</td>'. 110 '<td>'.$Download.'</td>'); 106 '<td>'.$Download.'</td>'. 107 '<td><textarea>'.$Line['ExportSetting'].'</textarea></td>'); 111 108 echo('</tr>'); 112 109 }
Note:
See TracChangeset
for help on using the changeset viewer.