can any1 plz help me that wats wrong in this index.php codings bcoz i m getting error like Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in /home/wap/public_html/index.php on line 5013
}else if($action=="givep")
{
addonline(getuid_ses($ses),"Share your Credits","");
if($mime== WEB)
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
echo "Here you can share credits with your Firends
Note:All Logs are Reporting to Staff
"
echo "Give Credits To ".getnick_uid($who)."
";
$gps = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id='".getuid_ses($ses)."'"));
echo "You have $gps[0] Credits
";
echo "<form action=\"genproc.php?action=givep&ses=$ses&who=$wh o\" method=\"post\">";
echo "Credits to give
";
echo "<input name=\"ptg\" format=\"*N\" maxlength=\"2\"/>";
echo "
";
echo "<input type=\"submit\" value=\"Give Credits\"/>";
echo "</form>";
echo "
<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo webfoot();
}else{
echo waphead($stitle);
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"tfgp\" value=\"0\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Give Credits To ".getnick_uid($who)."
";
$gps = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id='".getuid_ses($ses)."'"));
echo "You have $gps[0] Credits's
";
echo "credits's to give
";
echo "<input name=\"tfgp\" format=\"*N\" maxlength=\"2\"/>";
echo "
<anchor>Give";
echo "<go href=\"genproc.php?action=givep&ses=$ses&who=$who\ " method=\"post\">";
echo "<postfield name=\"ptg\" value=\"$(tfgp)\"/>";
echo "</go></anchor>";
echo "
<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo wapfoot();
}
}else if($action=="givep")
{
addonline(getuid_ses($ses),"Share your Credits","");
if($mime== WEB)
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
echo "Here you can share credits with your Firends
Note:All Logs are Reporting to Staff
"
echo "Give Credits To ".getnick_uid($who)."
";
$gps = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id='".getuid_ses($ses)."'"));
echo "You have $gps[0] Credits
";
echo "<form action=\"genproc.php?action=givep&ses=$ses&who=$wh o\" method=\"post\">";
echo "Credits to give
";
echo "<input name=\"ptg\" format=\"*N\" maxlength=\"2\"/>";
echo "
";
echo "<input type=\"submit\" value=\"Give Credits\"/>";
echo "</form>";
echo "
<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo webfoot();
}else{
echo waphead($stitle);
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"tfgp\" value=\"0\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Give Credits To ".getnick_uid($who)."
";
$gps = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id='".getuid_ses($ses)."'"));
echo "You have $gps[0] Credits's
";
echo "credits's to give
";
echo "<input name=\"tfgp\" format=\"*N\" maxlength=\"2\"/>";
echo "
<anchor>Give";
echo "<go href=\"genproc.php?action=givep&ses=$ses&who=$who\ " method=\"post\">";
echo "<postfield name=\"ptg\" value=\"$(tfgp)\"/>";
echo "</go></anchor>";
echo "
<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo wapfoot();
}
Comment