Hi all .could any tell me how to fix this error:
VB Code:
Parse error: syntax error, unexpected $end in /home2/method/public_html/musicboxv2/admin/news.php on line 85
Thanks
PHP Code:<?
include_once("../sources/session.php");
?>
<html>
<title>Admin : Authorisation</title>
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<meta HTTP-EQUIV="Expires" CONTENT="Mon, 06 May 1996 04:57:00 GMT">
<link rel="stylesheet" type="text/css" media="all" href="../template/css/admintheme.css"/>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<?php
/* Display information for logged in users */
if ($session->logged_in)
{
$uname = $session->userinfo['username'];
?>
<?php
if($session->isAdmin()){
print("<link rel='stylesheet' type='text/css' media='all' href='../template/css/admintheme.css' />");
echo " <table width=\"100%\" align=\"center\" class='tdrow2'>";
echo " <tr>";
echo " <td>";
print("<div id='logomain'><div id='logotopmain'><div style='font-weight:bold;font-size:12px;color:#000;padding-top:14px;padding-left:4px'>Musicbox Version 2.3</div></div></div><table width='100%' cellspacing='6' id='submenu'><tr><td align='left'><a href='../documentation/index.html' target=_blank>First time here ? Read the documentation</a></td><td align='right'><a href='news.php'>Admin Home</a></td></tr></table>");
print("<div class='tableborder'><div class='maintitle'>Latest Announcements</div>");
print("<center>Welcome Administrator, Current Musicbox <img src='version/checknewversion2.3.gif' alt='Free Lifetime updates' border='0'><center><br>");
echo " </td>";
echo " <td>";
echo " </td>";
echo " </tr>";
echo " </table>";
/*
}
echo " <table width=\"100%\" align=\"center\" class='tdrow1'>";
echo " <tr>";
echo " <td>";
print("<iframe src='http://www.nolink.com/news/index.php' scrolling='no' marginwidth='0' marginheight='0' frameborder='0' vspace='0' hspace='0' style='overflow:visible; width:100%; height=100% display:none'></iframe> <br><br>");
echo " </td>";
echo " <td>";
echo " </td>";
echo " </tr>";
echo " </table>";
*/
?>
<?php
}
else
{
?>
<form action="../aprocess.php" method="POST" target="_top">
<h1>Login Please !</h1>
<table align="center" border="0" cellspacing="0" cellpadding="3">
<tr><td>Username:</td><td><input type="text" name="user" maxlength="30" value="<? echo $form->value("user"); ?>"></td><td><? echo $form->error("user"); ?></td></tr>
<tr><td>Password:</td><td><input type="password" name="pass" maxlength="30" value="<? echo $form->value("pass"); ?>"></td><td><? echo $form->error("pass"); ?></td></tr>
<tr><td colspan="2" align="left"><input type="checkbox" name="remember" checked>
<font size="2">Remember me next time
<input type="hidden" name="sublogin" value="1">
<input type="submit" value="Login"></td></tr>
<tr><td colspan="2" align="left"><br><font size="2">[<a href="../forgotpass.php">Forgot Password?</a>]</font></td><td align="right"></td></tr>
<tr><td colspan="2" align="left"><br>Not registered? <a href="../register.php">Sign-Up!</a></td></tr>
</table>
</form>
<?
}
[B]?> ===> error here[/B]




Reply With Quote