<div class="news_holder"> <div class="news_top"></div> <div class="news"> <img src="images/news_bulletin.png" alt="" /> <h1>Welcome to our new website</h1> <p>Our website is currently under developement,the login/register system ain't working right now.</p> <p>Server updates are up at the forums.</p> <p>Regards,<br />Luca Salerino</p> </div> <div class="news_bottom"></div> <!--Please do not remove this copyright--> <div class="copyright">Designed by <a href="http://www.zasprexstudios.com/">Zasprex Studios</a> & Coded by <a href="http://www.fredricksw.com/">FredrickSW & Viswanath</a></div> <!--Please do not remove this copyright--> </div> <div class="right_holder"> <div class="login_box"> <div class="righ_top"></div> <div class="right_middle"> <img class="login_img" src="images/login_img.png" alt="" /> <div class="login_text"> <input class="textfield" name="username" type="text" placeholder="Username" /> <input class="password textfield" name="password" type="password" placeholder="Password" /> </div> <div class="login_btn"> <a href="#"><img src="images/login_btn.png" border="0" alt="" /></a> </div> </div> <div class="right_bottom"></div> </div> <div class="stats_box"> <div class="statsrigh_top"></div> <div class="statsright_middle"> <img class="stats_img" src="images/stats.png" alt="" /> Server: Online<br /> Server IP: 127.0.0.1<br /> Port: 7777<br /> Players: 0/49<br /> Mode: MP-RP v.1000<br /> Map: San Andreas<br /> </div>
<?php require "SampQueryAPI.php"; $query = new SampQueryAPI('80.79.113.13', '7777'); $aInformation = $query->getInfo(); ?> <div class="news_holder"> <div class="news_top"></div> <div class="news"> <img src="images/news_bulletin.png" alt="" /> <h1>Welcome to our new website</h1> <p>Our website is currently under developement,the login/register system ain't working right now.</p> <p>Server updates are up at the forums.</p> <p>Regards,<br />Luca Salerino</p> </div> <div class="news_bottom"></div> <!--Please do not remove this copyright--> <div class="copyright">Designed by <a href="http://www.zasprexstudios.com/">Zasprex Studios</a> & Coded by <a href="http://www.fredricksw.com/">FredrickSW & Viswanath</a></div> <!--Please do not remove this copyright--> </div> <div class="right_holder"> <div class="login_box"> <div class="righ_top"></div> <div class="right_middle"> <img class="login_img" src="images/login_img.png" alt="" /> <div class="login_text"> <input class="textfield" name="username" type="text" placeholder="Username" /> <input class="password textfield" name="password" type="password" placeholder="Password" /> </div> <div class="login_btn"> <a href="#"><img src="images/login_btn.png" border="0" alt="" /></a> </div> </div> <div class="right_bottom"></div> </div> <div class="stats_box"> <div class="statsrigh_top"></div> <div class="statsright_middle"> <img class="stats_img" src="images/stats.png" alt="" /> <?= htmlentities($aInformation['hostname']) ?><br /> Server: Online<br /> Server IP: 80.79.113.13:7777<br /> Players: <?= $aInformation['players'] ?> / <?= $aInformation['maxplayers'] ?><br /> Mode: <?= htmlentities($aInformation['gamemode']) ?><br /> Map: <?= htmlentities($aInformation['mapname']) ?><br /> </div>
bump!
i tried this way: Код:
<?php require "SampQueryAPI.php"; $query = new SampQueryAPI('80.79.113.13', '7777'); $aInformation = $query->getInfo(); ?> <div class="news_holder"> <div class="news_top"></div> <div class="news"> <img src="images/news_bulletin.png" alt="" /> <h1>Welcome to our new website</h1> <p>Our website is currently under developement,the login/register system ain't working right now.</p> <p>Server updates are up at the forums.</p> <p>Regards,<br />Luca Salerino</p> </div> <div class="news_bottom"></div> <!--Please do not remove this copyright--> <div class="copyright">Designed by <a href="http://www.zasprexstudios.com/">Zasprex Studios</a> & Coded by <a href="http://www.fredricksw.com/">FredrickSW & Viswanath</a></div> <!--Please do not remove this copyright--> </div> <div class="right_holder"> <div class="login_box"> <div class="righ_top"></div> <div class="right_middle"> <img class="login_img" src="images/login_img.png" alt="" /> <div class="login_text"> <input class="textfield" name="username" type="text" placeholder="Username" /> <input class="password textfield" name="password" type="password" placeholder="Password" /> </div> <div class="login_btn"> <a href="#"><img src="images/login_btn.png" border="0" alt="" /></a> </div> </div> <div class="right_bottom"></div> </div> <div class="stats_box"> <div class="statsrigh_top"></div> <div class="statsright_middle"> <img class="stats_img" src="images/stats.png" alt="" /> <?= htmlentities($aInformation['hostname']) ?><br /> Server: Online<br /> Server IP: 80.79.113.13:7777<br /> Players: <?= $aInformation['players'] ?> / <?= $aInformation['maxplayers'] ?><br /> Mode: <?= htmlentities($aInformation['gamemode']) ?><br /> Map: <?= htmlentities($aInformation['mapname']) ?><br /> </div> |