Changeset 14
- Timestamp:
- Aug 12, 2007, 2:13:09 AM (17 years ago)
- Files:
-
- 6 added
- 18 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
config.sample.php
r11 r14 1 1 <?php 2 2 3 $MangosVerison = '0.6 beta'; 4 $MangosRevision = '4043'; 5 $SilverDBVersion = '0.6.3'; 6 $SilverDBChangeset = '199'; 7 $WoWServer = 'localhost'; 8 $DatabaseUser = 'root'; 9 $DatabasePassword = ''; 10 $DatabaseHost = 'localhost'; 11 $Charset = 'windows-1250'; 12 $BaseUrl = '/'; 3 $Config = array( 4 'Database' => array( 5 'Host' => 'localhost', 6 'User' => 'root', 7 'Password' => '', 8 'Database' => 'wow', 9 'Prefix' => '', 10 'Charset' => 'cp1250', 11 ), 12 'Style' => 'maron', 13 'Mangos' => array( 14 'Version' => '0.8 beta SVN', 15 'Revision' => '4203', 16 'SilverDBVersion' => '0.7', 17 'SilverDBRevision' => '204', 18 ), 19 'Web' => array( 20 'Charset' => 'windows-1250', 21 'BaseURL' => '/', 22 'WoWServerAddr' => 'localhost', 23 ), 24 ); 25 26 // Deprecated 27 $MangosVerison = $Config['Mangos']['Version']; 28 $MangosRevision = $Config['Mangos']['Revision']; 29 $SilverDBVersion = $Config['Mangos']['SilverDBVersion']; 30 $SilverDBChangeset = $Config['Mangos']['SilverDBRevision']; 31 $WoWServer = $Config['Web']['WoWServerAddr']; 32 $DatabaseUser = $Config['Database']['User']; 33 $DatabasePassword = $Config['Database']['Password']; 34 $DatabaseHost = $Config['Database']['Host']; 35 $Charset = $Config['Web']['Charset']; 36 $BaseUrl = $Config['Web']['BaseURL']; 13 37 14 38 ?> -
css/style.css
r11 r14 7 7 width: 1005; 8 8 background-image: url(images/background.jpg); 9 background-repeat: no-repeat; 10 border =0;9 background-repeat: no-repeat; 10 border: 0; 11 11 } 12 12 .pHlavni{ … … 65 65 color:#ffff33 66 66 } 67 .registrace{ 67 .registrace_frame 68 { 68 69 color: #A0A0ff; 69 70 } … … 81 82 .TdSloupec{ 82 83 padding-top: 20px; 84 width: 250; 83 85 } 84 86 .SpanAktuality{ … … 139 141 } 140 142 143 #SplitTable 144 { 145 } 146 147 #SplitTable.td 148 { 149 padding: 10px 10px 10px 10px; 150 } 151 141 152 .MiniTable 142 153 { 154 width: 250px; 143 155 color: white; 144 156 font-size: 14px; 145 157 } 146 158 159 .MiniTable td 160 { 161 vertical-align: top; 162 } 163 .NewsTable 164 { 165 color: white; 166 font-size: 11px; 167 border: thin dotted; 168 } 169 .NewsItem 170 { 171 border: 1px dotted white; 172 background: #86272F; 173 margin-top: 5px; 174 padding: 0px 5px 5px 5px; 175 } 176 .NewsItemTitle 177 { 178 border-bottom-width: thin; 179 border-bottom-style: solid; 180 margin-top: 0px; 181 margin-bottom: 0px; 182 } 147 183 div 148 184 { … … 150 186 color:white; 151 187 font-family: Comic Sans MS; 152 }} 188 } 189 #MainCell 190 { 191 padding-left: 8px; 192 padding-right: 5px; 193 } 194 #EmuInfo 195 { 196 padding-left: 10px; 197 } -
download_soubory/files.php
r5 r14 39 39 'title' => '2.1.0 na 2.1.1', 40 40 'torrent' => 'http://wow.zdechov.net:6969/torrents/WoW-2.1.0.6729-to-2.1.1.6739-enUS-patch.exe.torrent?910D6970ECA434183CA15751FF18A72861FFB5BC', 41 'web' => 'http://www.google.cz/search?hl=cs& q=wow-1.12.0-enus-patch.exe&btnG=Vyhledat+Googlem&lr=',41 'web' => 'http://www.google.cz/search?hl=cs&q=wow-1.12.0-enus-patch.exe&btnG=Vyhledat+Googlem&lr=', 42 42 'info' => '', 43 43 ), -
finance/index.php
r12 r14 1 <? 1 <?php 2 include_once('../global.php'); 3 ShowHeader(); 4 ?> 2 5 3 include('administrace/george/db.php'); 4 include('config.php'); 5 DB_Init($DatabaseHost, $DatabaseUser, $DatabasePassword, 'wow'); 6 DB_Query('SET NAMES cp1250'); 6 <TABLE width="100%" border="0"> 7 <TR> 7 8 9 10 <TD width="3%" valign="top"> 11 12 <TD valign="top"> 13 <P> 14 Pøispìjte na server budete mít kvalitnìjí hraní, dobrý pocit a budete zde uvedeni.<br> 15 Své pøíspìvky posílejte na úèet 86-7755240207/0100, pøedem vøele dík.<br> 16 Peníze mùete poslat bankovním pøevodem z jiného úètu nebo vloit pøímo v hotovosti v nìkteré bance na pøepáce nebo také na potì. Do zprávy pro pøíjemce uvìïte slovo WoW, svùj nick a jméno svého úètu na serveru, pøípadnì krátký text, který tu bude v pøípadì nezávadnosti zobrazen.<br> 17 <br> 18 Pøíspìvky jsou dobrovolné a nevymahatelné nazpìt. Vybrané peníze budou pouity na financování provozu a zlepování serveru.<br> 19 </P> 20 21 <?php 8 22 // 2.12.2006 +2400 Maron 9 23 /* … … 80 94 'contribution' => 'Pøispìvek od', 81 95 ); 82 DB_Select('finance', 'SUM(money)');83 $Row = DB_Row();96 $Result = $Database->select('finance', 'SUM(money)'); 97 $Row = $Result->fetch_array(); 84 98 echo('<p><strong>Stav financí: '.$Row[0].' Kè</strong></p>'); 85 99 86 100 echo('<table style="font-size: small;" class="TableDonate" border="1" cellspacing="0" cellpadding="1"> 87 101 <tr><th>Datum</th><th>Suma</th><th>Popis</th></tr>'); 88 DB_Select('finance', '*', '1 ORDER BY time DESC');89 while($Row = DB_Row())102 $Result = $Database->select('finance', '*', '1 ORDER BY time DESC'); 103 while($Row = $Result->fetch_array()) 90 104 { 91 105 if($Row['money'] > 0) … … 113 127 */ 114 128 echo('</table>'); 129 ?> 115 130 131 </table> 132 133 <?php 134 ShowFooter(); 116 135 ?> 136 -
global.php
r12 r14 1 1 <?php 2 2 3 session_start(); 3 4 include('config.php'); 5 include('database.php'); 6 include('error.php'); 7 $Database = new Database($Config['Database']['Host'], $Config['Database']['User'], $Config['Database']['Password'], $Config['Database']['Database']); 8 $Database->Prefix = $Config['Database']['Prefix']; 9 $Database->charset($Config['Database']['Charset']); 10 11 function HumanDate($DateTime) 12 { 13 $DateTimeParts = explode(' ', $DateTime); 14 $Parts = explode('-', $DateTimeParts[0]); 15 if($DateTimeParts[0] != '0000-00-00') return(($Parts[2]*1).'.'.($Parts[1]*1).'.'.$Parts[0]); 16 else return(' '); 17 } 4 18 5 19 function ShowOnlinePlayerCount() 6 20 { 7 global $WowEmuDirectory, $WoWServer;21 global $Database; 8 22 //ini_set('allow_url_fopen', 'On'); 9 23 // World of Warcraft user stat … … 12 26 //$Content = fgets($File, 1000000); 13 27 //fclose($File); 14 $ Content = file_get_contents('http://'.$WoWServer.'/mangos/inc/stat2.php');15 if(strlen($Content) > 0)16 {17 $PlayerCount = substr_count($Content, '<player>');18 $P = 'hráèù';19 20 21 echo($PlayerCount.' '.$P);22 } else echo('OFFLINE');28 $Database->select_db('realmd'); 29 $Result = $Database->select('account', 'COUNT(*)', 'online=1'); 30 $Row = $Result->fetch_array(); 31 $PlayerCount = $Row[0]; 32 33 if($PlayerCount == 1) $P = 'hráè'; 34 else if(($PlayerCount >= 2) and ($PlayerCount <= 4)) $P = 'hráèi'; 35 else $P = 'hráèù'; 36 echo($PlayerCount.' '.$P); 23 37 } 24 38 … … 42 56 { 43 57 global $Charset, $BaseUrl; 44 echo(' 45 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 58 echo('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 46 59 <HTML> 47 60 <HEAD> … … 53 66 <style type="text/css" media="screen">@import url('.$BaseUrl.'css/style.css);</style> 54 67 </HEAD> 55 56 57 68 <BODY text="#cccccc"> 58 69 … … 113 124 </script> 114 125 115 <TABLE align="center" class="TableHlavni" border="0">126 <TABLE cellspacing="0" cellpadding="0" align="center" class="TableHlavni" border="0"> 116 127 <TR> 117 128 <TD> 118 < pclass="pHlavni">129 <div class="pHlavni"> 119 130 <br> 120 131 <br> … … 132 143 global $BaseUrl; 133 144 echo(' 145 </div> 134 146 </td> 135 <TD class="TdSloupec" width="240" valign="top" align="center" > 136 <div class="Nadpis">Heroes of Fantasy</div> 137 <div class="DivText"> 138 '); 139 140 ShowOnlinePlayerCount(); 147 <TD class="TdSloupec" valign="top" align="center"> 148 <div class="Nadpis">Heroes of Fantasy</div> 149 <div class="DivText">'); 150 151 ShowOnlinePlayerCount(); 141 152 142 143 144 echo(' 145 <br> 153 echo('</div> 146 154 <a href="'.$BaseUrl.'index.php" onMouseOver="swtch("2","home")" onMouseOut="swtch("1","home")"><IMG SRC="'.$BaseUrl.'images/home.jpg" name="home" alt="Home" border="0"></A> 147 155 <a href="'.$BaseUrl.'server.php" onMouseOver="swtch("30","Server")" onMouseOut="swtch("29","Server")"><IMG SRC="'.$BaseUrl.'images/server.jpg" name="Server" alt="Server" border="0"></A> 148 <a href="'.$BaseUrl.' donate.php" onMouseOver="swtch("4","donate")" onMouseOut="swtch("3","donate")"><IMG SRC="'.$BaseUrl.'images/donate.jpg" alt="donate" name="donate" border="0"></A>156 <a href="'.$BaseUrl.'finance/" onMouseOver="swtch("4","donate")" onMouseOut="swtch("3","donate")"><IMG SRC="'.$BaseUrl.'images/donate.jpg" alt="donate" name="donate" border="0"></A> 149 157 <a href="'.$BaseUrl.'download_soubory/" onMouseOver="swtch("6","download")" onMouseOut="swtch("5","download")"><IMG SRC="'.$BaseUrl.'images/download.jpg" alt="download" name="download" border="0"></A> 150 158 <a href="'.$BaseUrl.'jak_zacit.php" onMouseOver="swtch("14","how")" onMouseOut="swtch("13","how")"><IMG SRC="'.$BaseUrl.'images/how.jpg" alt="how" name="how" border="0"></A> … … 158 166 <a href="'.$BaseUrl.'Death%20Dealers%20Hratelne%20Rasy.php" onMouseOver="swtch("26","Rasy")" onMouseOut="swtch("25","Rasy")"><IMG SRC="'.$BaseUrl.'images/rasy.jpg" alt="Rasy" name="Rasy" border="0"></A> 159 167 <a href="'.$BaseUrl.'Death%20Dealers%20Povolani.php" onMouseOver="swtch("22","Povolani")" onMouseOut="swtch("21","Povolani")"><IMG SRC="'.$BaseUrl.'images/povolani.jpg" alt="Povolani" name="Povolani" border="0"></A> 160 <a href="'.$BaseUrl.'Death%20Dealers%20Profese.php" onMouseOver="swtch("24","profese")" onMouseOut="swtch("23","profese")"><IMG SRC="'.$BaseUrl.'images/profese.jpg" alt="profese" name="profese" border="0"></A> 161 162 163 <TABLE width="220" border="1" align="center"> 168 <a href="'.$BaseUrl.'Death%20Dealers%20Profese.php" onMouseOver="swtch("24","profese")" onMouseOut="swtch("23","profese")"><IMG SRC="'.$BaseUrl.'images/profese.jpg" alt="profese" name="profese" border="0"></A>'); 169 170 171 /* 172 echo('<TABLE width="220" border="1" align="center"> 164 173 <TR><TD width="15%" valign="top"> 165 174 <P class="pAktuality"> … … 168 177 169 178 include('aktuality.php'); 170 171 echo(' 172 173 <A HREF="http://www.toplist.cz/" target="_blank"><IMG alt="pocitadlo" 174 SRC="http://toplist.cz/count.asp?logo=mc&ID=324802" 179 */ 180 181 echo('<A HREF="http://www.toplist.cz/" target="_blank"><IMG alt="pocitadlo" 182 SRC="http://toplist.cz/count.asp?logo=mc&ID=324802" 175 183 border="0" width="1" height="1"></A> 176 184 177 178 </p> 179 </td> 180 </tr> 181 </table> 182 183 </div> 184 </TD> 185 </TR> 185 </td> 186 </tr> 186 187 <tr> 187 188 <td colspan="2"> … … 199 200 </I> 200 201 201 </DIV>202 </DIV> 202 203 </td> 203 204 </tr> 204 </TABLE>205 </BODY>205 </TABLE> 206 </BODY> 206 207 </HTML> 207 208 '); -
gm.php
r11 r14 17 17 18 18 <?php 19 include 'administrace/SubFiles/DatabaseConection.php'; 20 $Database = new Database($DatabaseHost, $DatabaseUser, $DatabasePassword); 21 $Database->SelectDatabase('wow'); 22 23 $ID = $Database->SQLCommand("SELECT * FROM user WHERE ban = 0"); 24 while ($Line = mysql_fetch_array($ID)) { 19 $Database->select_db('wow'); 20 $Result = $Database->query('SELECT * FROM user WHERE ban = 0'); 21 while ($Line = $Result->fetch_array()) 22 { 25 23 echo '<table border="0">'; 26 24 echo '<tr><td><p>Pøezdívka:</p></td>';; … … 36 34 } 37 35 $Acc = $Line['AccID']; 38 $Database-> SelectDatabase('mangos');36 $Database->select_db('mangos'); 39 37 if ($Acc <> '0') { 40 38 echo '<tr><td><p>GM Postavy ve høe:</p></td>'; 41 39 echo '<td><p><b>'; 42 $IDMangos = $Database->SQLCommand("SELECT * FROM `character` WHERE account = '$Acc'"); 43 while ($LineMangos = mysql_fetch_array($IDMangos)) { 40 $ResultMangos = $Database->query('SELECT * FROM `character` WHERE account = "'.$Acc.'"'); 41 while ($LineMangos = $ResultMangos->fetch_array()) 42 { 44 43 if ($LineMangos['online'] == 1) 45 44 echo $LineMangos['name'].'(online) '; -
guildy.php
r11 r14 1 1 <? 2 2 include('global.php'); 3 $ Charset = 'iso-8859-2';3 $Database->select_db('mangos'); 4 4 ShowHeader(); 5 5 … … 8 8 <TD valign="top"> 9 9 <div class="DivText">'); 10 11 include('test/db.php');12 DB_Init($DatabaseHost, $DatabaseUser, $DatabasePassword, 'mangos');13 DB_Query('SET NAMES latin2');14 10 15 11 $RanksEN = array('Guildmaster', 'Veteran', 'Intendant', 'Support Officer', 'PR Officer', 'Officer', 'Famed Member', … … 22 18 echo('<table class="TableGuilda" style="align: center;" border="1" cellpadding="3" cellspacing="0" ><tr><th>Název</th><th>Poèet èlenù</th><th>Souèet levelù</th><th>Souèet bodù cti</th><th>Webové stránky</th></tr>'); 23 19 // DB_Query(' COUNT(guild_member.guildid) as member_count FROM guild JOIN guild_member ON guild_member.guildid = guild.guildid GROUP BY guild.name ORDER BY member_count DESC'); 24 DB_Query('SELECT `guild`.name, guild.guildid, COUNT(`guild_member`.`guildid`) as member_count, SUM(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, " ", 35), " ", -1)) as guild_level, SUM(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, " ", 1421), " ", -1)) as guild_honor FROM `guild` JOIN `guild_member` ON `guild_member`.`guildid` = `guild`.`guildid` JOIN `character` ON `character`.`guid`= `guild_member`.`guid` GROUP BY guild.name ORDER BY guild.name');25 while($Guild = DB_Row())20 $Result = $Database->query('SELECT `guild`.name, guild.guildid, COUNT(`guild_member`.`guildid`) as member_count, SUM(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, " ", 35), " ", -1)) as guild_level, SUM(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, " ", 1421), " ", -1)) as guild_honor FROM `guild` JOIN `guild_member` ON `guild_member`.`guildid` = `guild`.`guildid` JOIN `character` ON `character`.`guid`= `guild_member`.`guid` GROUP BY guild.name ORDER BY guild.name'); 21 while($Guild = $Result->fetch_array()) 26 22 { 27 23 echo('<tr><td><a href="?guild='.$Guild['guildid'].'">'.$Guild['name'].'</a></td><td>'.$Guild['member_count'].'</td><td>'.$Guild['guild_level'].'</td><td>'.$Guild['guild_honor'].'</td><td> </td></tr>'); … … 30 26 } else { 31 27 $_GET['guild'] = addslashes($_GET['guild']); 32 DB_Query('SELECT `guild`.name, guild.guildid, guild.leaderguid, COUNT(`guild_member`.`guildid`) as member_count, SUM(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, " ", 35), " ", -1)) as guild_level, SUM(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, " ", 1421), " ", -1)) as guild_honor FROM `guild` JOIN `guild_member` ON `guild_member`.`guildid` = `guild`.`guildid` JOIN `character` ON `character`.`guid`= `guild_member`.`guid` WHERE guild.guildid='.$_GET['guild'].' GROUP BY guild.name');33 if( DB_NumRows()> 0)28 $Result = $Database->query('SELECT `guild`.name, guild.guildid, guild.leaderguid, COUNT(`guild_member`.`guildid`) as member_count, SUM(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, " ", 35), " ", -1)) as guild_level, SUM(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, " ", 1421), " ", -1)) as guild_honor FROM `guild` JOIN `guild_member` ON `guild_member`.`guildid` = `guild`.`guildid` JOIN `character` ON `character`.`guid`= `guild_member`.`guid` WHERE guild.guildid='.$_GET['guild'].' GROUP BY guild.name'); 29 if($Result->num_rows > 0) 34 30 { 35 $Guild = DB_Row();31 $Guild = $Result->fetch_array(); 36 32 // if($Guild['homepage'] != '') $Guild['name'] = $Guild['name'].' <a href="'.$Guild['homepage'].'">WWW</a>'; 37 33 //if($Guild['info'] != '') $Guild['info'] = ''.$Guild['info'].'</i>'; 38 34 echo('<div align="center"><strong>Seznam èlenù guildy '.$Guild['name'].'</strong><br>'); 39 DB_Select('`character`', 'name', $Guild['leaderguid'].'=guid');40 $GuildMaster = DB_Row();35 $Result = $Database->select('character', 'name', $Guild['leaderguid'].'=guid'); 36 $GuildMaster = $Result->fetch_array(); 41 37 echo('Vedoucí guildy: '.$GuildMaster['name'].'<br>'); 42 38 echo('<table class="TableGuilda" border="1" cellpadding="1" cellspacing="0">'); … … 45 41 46 42 $GuildRanks = array(); 47 DB_Select('guild_rank', '*', 'guildid='.$Guild['guildid']);48 while($GuildRank = DB_Row()) $GuildRanks[$GuildRank['rid']] = $GuildRank;43 $Result = $Database->select('guild_rank', '*', 'guildid='.$Guild['guildid']); 44 while($GuildRank = $Result->fetch_array()) $GuildRanks[$GuildRank['rid']] = $GuildRank; 49 45 50 DB_Query('SELECT guild_member.rank, guild_member.guid, SUBSTRING_INDEX(SUBSTRING_INDEX(character.data," ", 35), " ", -1)*1 as level, SUBSTRING_INDEX(SUBSTRING_INDEX(character.data," ", 1421), " ", -1)*1 as honor, character.name FROM guild_member JOIN `character` ON guild_member.guid = character.guid AND guild_member.guildid='.$Guild['guildid'].' ORDER BY character.name');51 while($Member = DB_Row())46 $Result = $Database->query('SELECT guild_member.rank, guild_member.guid, SUBSTRING_INDEX(SUBSTRING_INDEX(character.data," ", 35), " ", -1)*1 as level, SUBSTRING_INDEX(SUBSTRING_INDEX(character.data," ", 1421), " ", -1)*1 as honor, character.name FROM guild_member JOIN `character` ON guild_member.guid = character.guid AND guild_member.guildid='.$Guild['guildid'].' ORDER BY character.name'); 47 while($Member = $Result->fetch_array()) 52 48 { 53 49 // $DataParts = explode(' ', $Member['data']); -
index.php
r13 r14 1 1 <? 2 2 include('global.php'); 3 include('news.php'); 3 4 ShowHeader(); 4 5 ?> 5 6 6 7 <TABLE width="100%" border="0"> 7 <TR> 8 <TR> 9 <TD id="MainCell" valign="top"> 8 10 11 <div> 12 Vítejte na serveru <span class="Nadpis">Heroes of Fantasy</span>, neoficiálním herním serveru hry <a href="http://www.worldofwarcraft.com/">World of Warcraft</a>!<br> 13 WoW je <acronym title="Massive Multiplayer Online Role Playing Game">MMORPG</acronym> její tvùrcem je spoleènost <a href="http://www.blizzard.com/">Blizzard Entertainment</a>. 14 Existují oficiální servery, na kterých je nutno platit mìsíèní poplatek. Tento server je vak neoficiální a mùete zde hrát zdarma. Pøestoe neoficiální servery nikdy nedosáhnou takové kvality jako oficiální, mùete zde zaít mnoho pøíjemných chvil a seznámit se zajímavými lidmi. 15 Nyní je ji potøeba se jenom zaregistrovat, pøipojit do hry a vít se do role hrdiny, který putuje svìtem fantasie a utkává se v boji s rozliènými stvùrami. 16 </div> 17 <table id="SplitTable" cellspacing="5" cellpadding="0" width="100%"> 18 <tr><td width="50%" valign="top"> 9 19 10 <TD width="3%" valign="top"> 11 12 <TD valign="top"> 13 14 <P> 15 Vítejte na serveru: <span class="Nadpis">Heroes of Fantasy</span> 20 <?php 21 ShowNews(); 22 ?> 23 </td><td id="EmuInfo" valign="top"> 16 24 17 25 <br> 18 Vítejte na neoficiálním herním serveru hry <a href="http://www.worldofwarcraft.com/">World of Warcraft</a>! 19 <br>WoW je <acronym title="Massive Multiplayer Online Role Playing Game">MMORPG</acronym> její tvùrcem je spoleènost <a href="http://www.blizzard.com/">Blizzard Entertainment</a>. 20 Existují oficiální servery, na kterých je nutno platit mìsíèní poplatek. Tento server je vak neoficiální a mùete zde hrát zdarma. Pøestoe neoficiální servery nikdy nedosáhnou takové kvality jako oficiální, mùete zde zaít mnoho pøíjemných chvil a seznámit se zajímavými lidmi. 21 Nyní je ji potøeba se jenom zaregistrovat, pøipojit do hry a vít se do role hrdiny, který putuje svìtem fantasie a utkává se v boji s rozliènými stvùrami. 26 27 <div align="center"> 28 <table class="MiniTable" border="1" cellspacing="0" cellpadding="2"> 29 <tr><th>Emulátor</th><td>MaNGOS TBC</td></tr> 30 <tr><th>Stav</th><td><?php if(CheckPortStatus($WoWServer, 8085)) echo('<span style="color: #33ff33;">ONLINE</span>'); else echo('<span style="color: red;">OFFLINE</span>'); ?></td></tr> 31 <tr><th>Online hráèù</th><td><a href="<?php echo('http://'.$WoWServer); ?>/online_player.php"><? echo(file_get_contents('http://'.$WoWServer.'/mangos/players.php')); ?></a></td></tr> 32 <tr><th>Návod</th><td><a href="jak_zacit.php">zde</a></td></tr> 33 <tr><th>Stav registrací</th><td><?php echo('POVOLENÉ'); 34 //include('registrace/LockRegistration/script.php'); 35 //AdresaRegistrace(); ?></td></tr> 36 <tr><th>Registrace</th><td><?php echo('<a href="'.$BaseUrl.'minimanager/register.php">zde</a>'); ?></td></tr> 37 <tr><th>Správa úètu</th><td><?php echo('<a href="'.$BaseUrl.'minimanager/">zde</a>'); ?></td></tr> 38 <tr><th>Existuje dnù</th><td><?php echo(round((time()-mktime (0,0,0,4,21,2007))/3600/24)); ?></td></tr> 39 <tr><th>Úètù</th><td> 40 <?php 41 $Database->select_db('realmd'); 42 $Result = $Database->select('account', 'COUNT(*)'); 43 $Row = $Result->fetch_array(); 44 $AccountCount = $Row[0]; 45 echo($AccountCount); 46 ?> 47 </td></tr> 48 <tr><th>Postav</th><td> 49 <?php 50 $Database->select_db('mangos'); 51 $Result = $Database->select('character', 'COUNT(*)'); 52 $Row = $Result->fetch_array(); 53 $CharactersCount = $Row[0]; 54 echo($CharactersCount); 55 ?></td></tr> 56 </table> 57 </div> 22 58 <br> 23 <br> 24 <table class="MiniTable" border="1" cellspacing="0" cellpadding="2"> 25 <tr> 26 <th>Emulátor</th> 27 <th>Stav</th> 28 <th>Online</th> 29 <th>Návod</th> 30 <th>Registrace</th> 31 <th>Stav registrací</th> 32 <th>Existuje dnù</th> 33 <th>Úètù</th> 34 <th>Postav</th> 35 </tr> 36 <tr> 37 <td>MaNGOS TBC</td> 38 <td><?php if(CheckPortStatus($WoWServer, 8085)) echo('<span style="color: #33ff33;">ONLINE</span>'); else echo('<span style="color: red;">OFFLINE</span>'); ?></td> 39 <td><a href="<?php echo('http://'.$WoWServer); ?>/online_player.php"><? echo(file_get_contents('http://'.$WoWServer.'/mangos/players.php')); ?></a></td> 40 <td><a href="jak_zacit.php">zde</a></td> 41 <td><?php echo('<a href="'.$BaseUrl.'registrace/">zde</a>'); 42 //include('registrace/LockRegistration/script.php'); 43 //AdresaRegistrace(); 44 ?></td> 45 <td><?php echo('POVOLENÉ'); 46 //StafRegistraci(); 47 ?></td> 48 <td><?php echo(round((time()-mktime (0,0,0,4,21,2007))/3600/24)); ?></td> 49 <td><?php echo(file_get_contents('http://'.$WoWServer.'/mangos/accounts.php')); ?></td> 50 <td><?php echo(file_get_contents('http://'.$WoWServer.'/mangos/characters.php')); ?></td> 51 </tr> 52 </table> 59 <?php 60 echo('<div> 53 61 RSS kanál diskusního fóra: <a href="forum/smartfeed_url.php"><img src="forum/templates/subSilver/images/rss20.png" alt="RSS"></a><br /> 54 62 Teamspeek server: ts2.shotzone.cz:9207<br /> 55 Projek pøekládání questù <a href="quests/">Questy</a><br> 56 Dotazník pro nové Administrátory: <a href="FormGM/">Dotazník</a></p> 63 Projekt pøekládání questù: <a href="quests/">Questy</a><br> 64 Dotazník pro nové Administrátory: <a href="FormGM/">Dotazník</a> 65 </div>'); 66 ?> 67 <br> 68 <a href="gm.php">Administrátoøi</a> 69 <div> 70 <?php 71 //include('administrace/SubFiles/DatabaseConection.php'); 72 $Database->select_db('wow'); 73 $Result = $Database->select('user', '*', 'ban = 0 ORDER BY id'); 74 while($Row = $Result->fetch_array()) 75 echo($Row['User'].' - '.$Row['Function'].'<br/>'); 76 ?> 77 </div> 57 78 58 59 <DL> 60 <DT><a href="gm.php">Administrátoøi</a> 61 <div><?php 62 include 'administrace/SubFiles/DatabaseConection.php'; 63 $Database = new Database($DatabaseHost, $DatabaseUser, $DatabasePassword); 64 $Database->SelectDatabase('wow'); 65 $Database->SQLCommand("SET NAMES cp1250"); 66 67 $ID = $Database->SQLCommand("SELECT * FROM user WHERE ban = 0 ORDER BY id"); 68 while ($Line = mysql_fetch_array($ID)) 69 echo $Line['User'].' - '.$Line['Function'].'<br />'; 70 71 ?></div> 72 </DL> 73 <font color="yellow"> 79 </td></tr></table> 74 80 <br> 75 76 81 <a href="http://www.wowstatus.net/detail.php?server=160156"> 77 82 <img alt="wowstatus" src="http://www.wowstatus.net/sbanner.php?server=160156" border="0"></a> 78 83 79 84 <A HREF="http://www.toplist.cz/" target="_blank"><IMG 80 SRC="http://toplist.cz/count.asp?logo=mc& ID=324802"85 SRC="http://toplist.cz/count.asp?logo=mc&ID=324802" 81 86 border="0" width="88" height="60"></A> 82 87 -
jak_zacit.php
r5 r14 10 10 11 11 <TD width="3%" valign="top"> 12 12 </td> 13 13 <TD valign="top"> 14 14 <br><H3>Jak se pøipojit:</H3> … … 26 26 9) Vytvoøte si nový úèet <a href="/registrace/">zde</a>.<br> 27 27 10) Spuste hru pøes zástupce na ploe, pøihlate se, vytvoøte si postavu a vstupte do fantasy svìta.<br> 28 </p> 28 29 29 30 <br><br><font color="yellow"> 30 <br><br> 31 31 <br><br><br> 32 33 </P>34 35 32 36 33 -
mapa.php
r5 r14 8 8 <TR> 9 9 <td> 10 <IFRAME name="Registrace"src="http://wow.zdechov.net/minimanager/pomm_public/pomm.php"></IFRAME>10 <IFRAME src="http://wow.zdechov.net/minimanager/pomm_public/pomm.php"></IFRAME> 11 11 </td> 12 12 </tr> -
online_player.php
r5 r14 8 8 <TR> 9 9 <td> 10 <IFRAME name=" Registrace" src="http://wow.zdechov.net/mangos/inc/stat2.php"></IFRAME>10 <IFRAME name="registrace_frame" src="http://wow.zdechov.net/mangos/inc/stat2.php"></IFRAME> 11 11 </td> 12 12 </tr>
Note:
See TracChangeset
for help on using the changeset viewer.