Heya to all
I need help in php im geting this error
Parse error: syntax error, unexpected T_STRING in C:\wamp\www\Home.php on line 105
and here is php code:
Total Players Online: <b><?php echo (exec('netstat -a -n |find "5816" |find "ESTABLISHED" /c')-2); ?></b><br />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Malboro-co</title>
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<style type="text/css">
<!--
.style12 {font-size: larger; font-weight: bold; }
.style15 {font-size: 13px; font-weight: bold; }
.style17 {font-size: 13px; font-weight: bold; font-style: italic; }
.style19 {
font-size: large;
font-weight: bold;
}
.style21 {
color: #00CC00;
font-family: Geneva, Arial, Helvetica, sans-serif;
}
.style22 {color: #000000}
-->
</style>
</head>
<body>
<div id="header">
<div id="logo">
<p><img src="http://img177.imageshack.us/img177/2309/24054916.png" width="382" height="49"> </p>
<p> </p>
</div>
<!-- end #logo -->
<div id="menu">
<table width="200" border="1" bordercolor="#000000">
<tr>
<td><div align="left"><em><span class="style15"><a href="Home.php">Home</a></span></em></div></td>
<td><span class="style17"><a href="register/index.php">Register</a></span></td>
<td><span class="style17"><a href="ChatBox.php">Chatbox</a></span></td>
<td><span class="style17"><a href="Downloads.php">Download</a></strong></em></td>
<td><span class="style17"><a href="Donations.php">Donations</a></span></td>
<td><span class="style17"><a href="http://malboro-co.**********.net/forum.htm">Forums</a></span></td>
<td><span class="style17"><a href="Rules.php">Rules</a></span></td>
</tr>
</table>
</div>
<p> </p>
</div>
<!-- end #header -->
<div id="page">
<div id="content">
<div class="post">
<h2 align="left" class="title">Welcome to Malboro-co</h2>
<p align="left" class="byline"><small>Posted by Baze</small></p>
<div class="entry">
<p>Malboro-co is the new private server for conquer online. It's one of better servers because of amount of Quests, Updates, Features, Events and because of it's Stability. The server is a leveling server. And please support our community to make the server more and more awesome.
<br>
</p>
</div>
</div>
<div class="post">
<h2 align="left" class="title">Vote for us.</h2>
<p align="left" class="byline"><small>Posted by Baze</small></p>
<div class="entry">
<p>Vote for this private server everyday so that we will be in top and more and more people will join this awesome server. So vote for our server now and have some special prizes in game.For Vote <a href="http://www.google.com/">Clickhere</a>.</p> </div>
</div>
<div class="post">
<h2 align="left" class="title">Malboro-co Patches</h2>
<p align="left" class="byline"><small>Posted by Baze</small></p>
<div class="entry">
<p>.................</p>
<p class="style19"> </p>
<p align="left" class="title style22">
</div>
</div>
</div>
<!-- end #content -->
<div id="sidebar">
<ul>
</li>
<li>
<h2 align="center" class="style12">Vote for us everyday!</h2>
<ul>
<li>
<div align="center"><a href="http://www.xtremetop100.com/in.php?site=1132284369"><img src="http://www.xtremetop100.com/votenew.jpg" width="94" height="54" /></a></div>
</li>
</ul>
</li>
<li>
<h2 align="center">Server Status</h2>
<ul>
<li>
<?php
require_once ('config.php');
mysql_select_db($accdb);
$res = mysql_query('SELECT count(id) FROM account;');
$val = mysql_fetch_array($res);
echo 'Total Accounts: '.$val[0].'<br />';
mysql_select_db($gamedb);
$res = mysql_query('SELECT count(id) FROM cq_user;');
$val = mysql_fetch_array($res);
echo 'Total Characters: '.$val[0].'<br />';
Total Players Online: echo (exec('netstat -a -n |find "5816" |find "ESTABLISHED" /c')-2);
echo 'Server Status: ';
$fp = @fsockopen($serveraddress, $serverport, $errno, $errstr, 1);
if (!$fp) {
echo '<font style="color: #FF3300"><b>Offline</b></font><br />';
}
else
{
echo '<font style="color: #00FF00"><b>Online</b></font><br />';
fclose($fp);
}
?>
</li>
</ul>
</li>
<li>
<h2 align="center">Short Links</h2>
<ul>
<li>
<div align="center"><a href="http://www.google.com/"></a></div>
</li>
</ul>
</li>
</ul>
</div>
<div id="footer">
<p><span style="font-family: Arial; font-size: 13px; font-weight: bold;">Copyright © AjvarCo | All rights resived |Site made By Baze Janevski</span></p>
</div>
<!-- end #footer -->
</body>
</html>
PLEASE HELP :o
Thanks