Changeset 139 for trunk/download.php
- Timestamp:
- Mar 2, 2009, 9:16:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/download.php
r138 r139 21 21 $Percent = substr($Percent, 0, 5); 22 22 23 foreach($Group['Items'] as $Column)24 if($Column['AddonFileName'] == '') return ('');23 $result = false; 24 foreach($Group['Items'] as $Column) if($Column['AddonFileName'] != '') $result = true; 25 25 26 return ($Group['Name'].': '.$NumberTranslate.'/'.$NumberAJ.' '.$Percent.'% 26 if ($result) 27 return ($Group['Name'].': '.$NumberTranslate.'/'.$NumberAJ.' '.$Percent.'% 27 28 '); 29 else return (''); 28 30 } 29 31 … … 62 64 while($Line = mysql_fetch_assoc($ID)) { 63 65 echo('<tr> 64 <td><strong>'.$Line['verse'].'</strong> <a href="tmp/Addon/CzWoW_'.$Line['verse'].'.zip">Stáhnout</a> <br />'. $Line['date'].'</td>66 <td><strong>'.$Line['verse'].'</strong> <a href="tmp/Addon/CzWoW_'.$Line['verse'].'.zip">Stáhnout</a> <br />'.MysqlDateTimeToTime($Line['date']).'</td> 65 67 <td>'.str_replace(chr(13),'<br />',$Line['text']).'</td> 66 68 ');
Note:
See TracChangeset
for help on using the changeset viewer.