Changeset 185 for trunk/banners.php
- Timestamp:
- Apr 22, 2009, 10:58:57 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/banners.php
r67 r185 5 5 ShowPage(); 6 6 7 $ID = $Database->SQLCommand( "SELECT * FROM `banner` WHERE `Show`=1 AND `DateLast` > (NOW() - INTERVAL 3 MONTH)");7 $ID = $Database->SQLCommand('SELECT * FROM `banner` WHERE `Show`=1 AND `DateLast` > (NOW() - INTERVAL 3 MONTH)'); 8 8 9 9 echo('<strong>Servery odkazující na nás:</strong> <br /> 10 10 <div style="font-size: 10px;">Seznam je automaticky aktualizován a zobrazeny jsou servery s aktivní bannerem mladším než tři měsíce.</div><br />'); 11 while($Line = mysql_fetch_a rray($ID))11 while($Line = mysql_fetch_assoc($ID)) 12 12 { 13 echo('<a href="'.$Line['Web'].'">'.$Line[' Web'].'</a> '.$Line['Description'].' <br />');13 echo('<a href="'.$Line['Web'].'">'.$Line['LastURL'].'</a> '.$Line['Description'].' <br />'); 14 14 } 15 15
Note:
See TracChangeset
for help on using the changeset viewer.