Changeset 295 for trunk/download.php
- Timestamp:
- Dec 28, 2009, 10:21:57 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/download.php
r290 r295 72 72 { 73 73 74 if(Licence(LICENCE_USER))75 {76 $ID = $Database->SQLCommand('SELECT * FROM tasks WHERE User = '.$_SESSION['UserID'].' ORDER BY Date DESC LIMIT 10');77 if (mysql_num_rows($ID) > 0)78 {79 $Database->SQLCommand('UPDATE tasks SET Downloaded = 1 WHERE Active = 0 AND User = '.$_SESSION['UserID']);80 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>');81 while($Line = mysql_fetch_assoc($ID))82 {83 if ($Line['Active'] == 0)84 {85 $Active = 'Hotovo';86 $Download = '<a href="'.$Config['Web']['TempFolder'].$_SESSION['User'].'/CzWoW_DBC.zip">Stáhnout - CzWoW_DBC.zip</a>';87 } else88 {89 $Active = 'Čeká na zpracování';90 $Download = 'CzWoW_DBC.zip';91 }92 if ($Line['Downloaded'] == 1) $Downloaded = 'Staženo'; else $Downloaded = 'Nestaženo';93 echo('<tr>'.94 '<td><strong>'.HumanDate($Line['Date']).'</strong></td>'.95 '<td>'.$Active.'</td>'.96 '<td>'.$Downloaded.'</td>'.97 '<td>'.$Download.'</td>'.98 '<td><textarea>'.$Line['ExportSetting'].'</textarea></td>');99 echo('</tr>');100 }101 echo('</table><br />');102 }103 }104 105 106 74 echo ('<h3>Doplňky pro klienta</h3> 107 75 <a href="?addon">Čeština pro klienta</a> - jednoduché stáhnutí češtiny pro klienta (zatím obsahuje fonty, Addon, herní tipy).<br />
Note:
See TracChangeset
for help on using the changeset viewer.