source: branches/old/test/buttons/panel.php

Last change on this file was 123, checked in by george, 17 years ago

Přesun složky pro generování tlačítek do složky test.

File size: 1.0 KB
Line 
1
2<?
3function Button($Text, $URL)
4{
5 $RandId = rand(10000, 99999);
6 $URL = 'http://wow.zdechov.net'.$URL;
7 echo('<a href="'.$URL.'" onMouseOver="document[\'image\'+'.$RandId.'].src = \'/buttons/button.php?text='.$Text.'&b=1\'"
8 onMouseOut="document[\'image\'+'.$RandId.'].src = \'/buttons/button.php?text='.$Text.'\'">');
9 echo('<img border="0" src="button.php?text='.$Text.'" alt="'.$Text.'" name="image'.$RandId.'"><br>');
10 echo('</a>');
11}
12
13Button('Home', '/');
14Button('Server', '/server.php');
15Button('Dotace', '/donate.php');
16Button('Stahování', '/download_soubory.php');
17Button('Jak zacít', '/jak_zacit.php');
18Button('Odkazy', '/link.php');
19Button('Mapa', '/mapa.php');
20Button('Guildy', '/guildy.php');
21Button('Fórum', '/forum/');
22Button('Registrace', '/registrace.php');
23Button('Online hráci', '/online_player.php');
24Button('Honor', '/honor.php');
25Button('Rasy', '/Death%20dealers%20hratelne%20rasy.php');
26Button('Povolání', '/Death%20dealers%20povolani.php');
27Button('Profese', '/Death%20dealers%20profese.php');
28
29?>
30
Note: See TracBrowser for help on using the repository browser.