Changeset 255 for trunk/download.php
- Timestamp:
- Jul 24, 2009, 11:39:21 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/download.php
r183 r255 76 76 } else 77 77 { 78 79 80 if (Licence(LICENCE_USER)) { 81 $ID = $Database->SQLCommand('SELECT * FROM tasks WHERE User = '.$_SESSION['UserID']); 82 if (mysql_num_rows($ID) > 0) 83 { 84 echo ('<table class="BaseTable"><tr><th>Datum</th><th>Vygenerováno</th><th>Staženo</th><th>Soubor</th></tr>'); 85 while($Line = mysql_fetch_assoc($ID)) 86 { 87 if ($Line['Active'] == 0) 88 { 89 $Active = 'Hotovo'; 90 $Download = '<a href="'.$Config['Web']['TempFolder'].$_SESSION['User'].'/dbc/CzWoW_DBC.zip">Stáhnout - CzWoW_DBC.zip</a>'; 91 } else { 92 $Active = 'Čeká na zpracování'; 93 $Download = 'CzWoW_DBC.zip'; 94 } 95 if ($Line['Downloaded'] == 1) $Downloaded = 'Staženo'; else $Downloaded = 'Nestaženo'; 96 echo('<tr>'. 97 '<td><strong>'.$Line['Date'].'</strong></td>'. 98 '<td>'.$Active.'</td>'. 99 '<td>'.$Downloaded.'</td>'. 100 '<td>'.$Download.'</td>'); 101 echo('</tr>'); 102 } 103 echo('</table>'); 104 } 105 } 106 78 107 echo(' 79 108 <br />
Note:
See TracChangeset
for help on using the changeset viewer.