Changeset 139 for trunk/download.php


Ignore:
Timestamp:
Mar 2, 2009, 9:16:15 PM (16 years ago)
Author:
maron
Message:

Přepsání odkazu stažení, Fonty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/download.php

    r138 r139  
    2121        $Percent = substr($Percent, 0, 5);
    2222       
    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;     
    2525       
    26         return ($Group['Name'].': '.$NumberTranslate.'/'.$NumberAJ.'  '.$Percent.'%
     26        if ($result)
     27                return ($Group['Name'].': '.$NumberTranslate.'/'.$NumberAJ.'  '.$Percent.'%
    2728        ');
     29        else return ('');
    2830}
    2931
     
    6264        while($Line = mysql_fetch_assoc($ID)) {
    6365        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>
    6567                <td>'.str_replace(chr(13),'<br />',$Line['text']).'</td>
    6668                ');
Note: See TracChangeset for help on using the changeset viewer.