source: trunk/banners.php@ 462

Last change on this file since 462 was 462, checked in by george, 15 years ago
  • Opraveno: Zaznamenávání odkazovaných stránek.
File size: 1.4 KB
Line 
1<?php
2
3include('includes/global.php');
4
5ShowPage();
6
7$Banner = '<a href="'.$System->Link('/').'"><img src="'.$System->Link('/banners/wowpreklad_big.jpg').'" '.
8 'alt="wowpreklad" title="Otevřený projekt překládání celé hry World of Warcraft" '.
9 'class="banner" height="60" width="468" /></a>';
10
11$BannerSmall = '<a href="'.$System->Link('/').'"><img src="'.$System->Link('/banners/wowpreklad_small.jpg').'" '.
12 'alt="wowpreklad" title="Otevřený projekt překládání celé hry World of Warcraft" '.
13 'class="banner" height="31" width="88" /></a>';
14
15echo('<strong>Bannery:</strong><br />');
16
17echo($Banner.' &nbsp;&nbsp;<textarea rows="2" cols="30">'.htmlspecialchars($Banner).'</textarea><br />');
18echo($BannerSmall.' &nbsp;&nbsp;<textarea rows="2" cols="30">'.htmlspecialchars($BannerSmall).'</textarea><br />');
19
20$DbResult = $System->Database->query('SELECT * FROM `Referrer` WHERE `Show`=1 AND `DateLast` > (NOW() - INTERVAL 3 MONTH)');
21
22echo('<br/><strong>Servery odkazující na nás:</strong> <br />
23<div style="font-size: 10px;">Seznam je automaticky aktualizován a zobrazeny jsou servery, ze kterých přišli uživatelé během posledních třech měsíců.</div><br />');
24while($Line = $DbResult->fetch_assoc())
25{
26 echo('<a href="'.$Line['LastURL'].'">'.$Line['Web'].'</a> '.$Line['Description'].' <br />');
27}
28
29ShowFooter();
30
31?>
32
Note: See TracBrowser for help on using the repository browser.