Legend:
- Unmodified
- Added
- Removed
-
index.php
r105 r126 1 <? 1 <?php 2 2 include('global.php'); 3 3 include('news.php'); 4 4 ShowHeader(); 5 ?> 6 7 <TABLE width="100%" border="0"> 5 echo('<TABLE width="100%" border="0"> 8 6 <TR> 9 7 <TD id="MainCell" valign="top"> 10 11 8 <div> 12 9 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> … … 16 13 </div> 17 14 <table id="SplitTable" cellspacing="5" cellpadding="0" width="100%"> 18 <tr><td width="60%" valign="top"> 15 <tr><td width="60%" valign="top">'); 19 16 20 <?php21 17 echo(ShowNews()); 22 ?> 18 echo(' 23 19 </td><td id="EmuInfo" valign="top"> 24 25 20 <br> 26 27 21 <div align="center"> 28 22 <table class="MiniTable" border="1" cellspacing="0" cellpadding="2"> 29 23 <tr><th>Emulátor</th><td>MaNGOS</td></tr> 30 <tr><th>Verze hry</th><td><?php echo($Config['Mangos']['ClientVersion']); ?></td></tr> 31 <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> 32 <tr><th>Online hráèù</th><td><a href="<?php echo('http://'.$WoWServer); ?>/online_player.php"> 33 <?php 24 <tr><th>Verze hry</th><td>'); 25 echo($Config['Mangos']['ClientVersion']); 26 echo('</td></tr>'. 27 '<tr><th>Stav</th><td>'); 28 if(CheckPortStatus($WoWServer, 8085)) echo('<span style="color: #33ff33;">ONLINE</span>'); 29 else echo('<span style="color: red;">OFFLINE</span>'); 30 echo('</td></tr> 31 <tr><th>Online hráèù</th><td><a href="http://'.$WoWServer.'/online_player.php">'); 32 34 33 $Database->select_db('realmd'); 35 34 $Result = $Database->select('account', 'COUNT(*)', 'online=1'); … … 47 46 $AccountCount = $Row[0]; 48 47 $Remain = $MaximumAccountCount-$AccountCount; 49 if($Remain == 0) echo('VYÈERPANÉ'); else echo('POVOLENÉ');48 if($Remain <= 0) echo('VYÈERPANÉ'); else echo('VOLNÉ'); 50 49 echo('</td></tr> 51 50 <tr><th>Registrace</th><td>'); … … 65 64 $AccountCount = $Row[0]; 66 65 echo($AccountCount); 67 ?> 68 </td></tr>69 <tr><th>Postav</th><td> 70 <?php 66 67 echo('</td></tr> 68 <tr><th>Postav</th><td>'); 69 71 70 $Database->select_db('mangos'); 72 71 $Result = $Database->select('character', 'COUNT(*)'); … … 74 73 $CharactersCount = $Row[0]; 75 74 echo($CharactersCount); 76 ?></td></tr> 75 76 echo('</td></tr> 77 77 </table> 78 78 </div> 79 <br> 80 <?php 79 <br>'); 80 81 81 echo('<div> 82 82 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 /> … … 87 87 </div>'); 88 88 //Dotazník pro nové Administrátory: <a href="FormGM/">Dotazník</a> 89 ?> 89 90 echo(' 90 91 <br> 91 92 <a href="gm.php">Administrátoøi</a> 92 <div> 93 <?php 93 <div>'); 94 94 95 //include('administrace/SubFiles/DatabaseConection.php'); 95 96 $Database->select_db('wow'); … … 97 98 while($Row = $Result->fetch_array()) 98 99 echo($Row['User'].' - '.$Row['Function'].'<br/>'); 99 ?> 100 </div>100 101 echo('</div> 101 102 102 103 </td></tr></table> … … 109 110 border="0" width="88" height="60" alt="counter"></A> 110 111 111 </TABLE> 112 </TABLE>'); 112 113 113 <?114 114 ShowFooter(); 115 115 ?>
Note:
See TracChangeset
for help on using the changeset viewer.