Changeset 187
- Timestamp:
- Jan 1, 2008, 2:56:42 PM (17 years ago)
- Files:
-
- 4 added
- 13 deleted
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
global.php
r180 r187 11 11 $Menu = array( 12 12 array('index.php', 'Home', 'home'), 13 array('jak_zacit.php', 'Jak zaèít', 'how'), 14 array('registrace/', 'Registrace', 'registrace'), 15 array('minimanager/', 'Správa úètu', 'account'), 16 array('forum/', 'Diskusní fórum', 'forum'), 13 17 array('server.php', 'Server', 'server'), 14 18 array('finance/', 'Finance', 'donate'), 15 19 array('db/', 'Online databáze', 'database'), 16 array('download_soubory/', 'Stahování', 'download'), 17 array('jak_zacit.php', 'Jak zaèít', 'how'), 20 array('download_soubory/', 'Soubory', 'download'), 18 21 array('link.php', 'Odkazy', 'link'), 19 22 array('mapa.php', 'Mapa', 'mapa'), 20 23 array('guildy.php', 'Seznam guild', 'guilds'), 21 array('forum/', 'Diskusní fórum', 'forum'),22 array('registrace/', 'Registrace', 'registrace'),23 24 array('online_player.php', 'Online hráèi', 'online_player'), 24 25 array('honor.php', 'Tabulka cti', 'honor'), -
test/buttons/button.php
r123 r187 1 <? 1 <?php 2 2 include('code.php'); 3 3 … … 10 10 11 11 if(array_key_exists('text', $_GET)) $Text = $_GET['text']; 12 else $Text = ' None';12 else $Text = 'Tabulka cti'; 13 13 14 $FontFile = 'FRIZQT__. TTF';14 $FontFile = 'FRIZQT__.ttf'; 15 15 //$FontFile = 'c:\WINDOWS\fonts\arial.ttf'; 16 16 $FontSize = 20; … … 44 44 $PositionX += $SizeX[$I] / 2; 45 45 } 46 46 47 $Image2 = ImageCreateTrueColor(125, 27); 47 48 imagecopyresampled($Image2, $Image, 0, 0, 0, 0, imagesx($Image2), imagesy($Image2), imagesx($Image), imagesy($Image)); 49 50 48 51 49 52 header("Content-type: image/jpeg"); … … 51 54 ImageDestroy($Image); 52 55 ImageDestroy($Image2); 56 53 57 ?> -
test/buttons/code.php
r123 r187 1 <? 1 <?php 2 2 /* 3 3 ISO8859-2 <-> UTF-8 conversion functions designed for use in PHP-GTK apps -
test/buttons/generate_images.php
r123 r187 1 <? 1 <?php 2 3 include('../global.php'); 2 4 3 5 function GenerateButton($Text = '', $Highlighted = 0) … … 21 23 ImageDestroy($Image3); 22 24 23 $FontFile = 'FRIZQT__. TTF';25 $FontFile = 'FRIZQT__.ttf'; 24 26 //$FontFile = 'c:\WINDOWS\fonts\arial.ttf'; 25 27 $FontSize = 20;
Note:
See TracChangeset
for help on using the changeset viewer.