Changeset 260
- Timestamp:
- Jul 25, 2009, 12:02:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/download.php
r258 r260 91 91 if (mysql_num_rows($ID) > 0) 92 92 { 93 $Database->SQLCommand('UPDATE tasks SET Downloaded = 1 WHERE User = '.$_SESSION['UserID']);93 $Database->SQLCommand('UPDATE tasks SET Downloaded = 1 WHERE Active = 0 AND User = '.$_SESSION['UserID']); 94 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>'); 95 95 while($Line = mysql_fetch_assoc($ID)) … … 98 98 { 99 99 $Active = 'Hotovo'; 100 $Download = '<a href="'.$Config['Web']['TempFolder'].$_SESSION['User'].'/ dbc/CzWoW_DBC.zip">Stáhnout - CzWoW_DBC.zip</a>';100 $Download = '<a href="'.$Config['Web']['TempFolder'].$_SESSION['User'].'/CzWoW_DBC.zip">Stáhnout - CzWoW_DBC.zip</a>'; 101 101 } else { 102 102 $Active = 'Čeká na zpracování'; … … 105 105 if ($Line['Downloaded'] == 1) $Downloaded = 'Staženo'; else $Downloaded = 'Nestaženo'; 106 106 echo('<tr>'. 107 '<td><strong>'. $Line['Date'].'</strong></td>'.107 '<td><strong>'.HumanDate($Line['Date']).'</strong></td>'. 108 108 '<td>'.$Active.'</td>'. 109 109 '<td>'.$Downloaded.'</td>'.
Note:
See TracChangeset
for help on using the changeset viewer.