hi there i need help..id greatly appreciate it

Parse error: syntax error, unexpected '}' in /newadmin/index.php on line 238

<?
############################################################

eMeeting Dating / Community Software

############################################################
$subd = "../";
require_once $subd . "includes/sv_config.php";
require_once $subd . "includes/langs/".D_LANG.".php";
require_once $subd . "includes/db_connect.php";
$connector = new DbConnector();
require_once $subd . "includes/functions.php";
require_once $subd . "templates/admin1/adm_layout.php";
############################################################
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="65%" valign="top">
<table width="100%" cellpadding=0 cellspacing=1 class="EM_data_table">
<tbody>
<tr>
<td colspan="4" class="EM_data_table_header">Overview</td>
</tr>
<tr>
<td colspan="4" class="EM_data_table_header">&nbsp;</td>
</tr>
<tr valign="top">
<td width="48" height="48" align="center" class="EM_data_table_inputarea1"><img src="img/icons/overview/members.gif" width="48" height="48"></td>
<td width="246" align="center" class="EM_data_table_inputarea1"><table width="100%" border="0">
<tr>
<td><a href="members.php"><? print $emAdmin['5']; ?></a></td>
</tr>
<tr>
<td>

<a href="members.php"><? print $emAdmin['6']; ?></a>,
<a href="members.php?page=add"><? print $emAdmin['7']; ?>,
</a><a href="groups.php"><? print $emAdmin['8']; ?>,
</a><a href="upgrade.php"><? print $emAdmin['9']; ?>,
</a><a href="online.php" ><? print $emAdmin['10']; ?>,</a>
<a href="stats.php"><? print $emAdmin['11']; ?>.</a>

</td>
</tr>
</table></td>
<td width="48" align="center" class="EM_data_table_inputarea1"><img src="img/icons/overview/photos.gif" width="48" height="48"></td>
<td width="317" align="center" class="EM_data_table_inputarea1"><table width="100%" border="0">
<tr>
<td><? print S($emAdmin['12']); ?></td>
</tr>
<tr>
<td><a href="members.php" ><? print $emAdmin['13']; ?>,</a><a href="members.php" >
<? print $emAdmin['14']; ?>.</a></td>
</tr>
</table></td>
</tr>
<tr valign="top">
<td align="center" class="EM_data_table_row2"><img src="img/icons/overview/web.gif" width="48" height="48"></td>
<td align="center" class="EM_data_table_inputarea2"><table width="100%" border="0">
<tr>
<td><? print S($emAdmin['15']); ?></td>
</tr>
<tr>
<td>

<a href="settings.php?view=5"><? print $emAdmin['16']; ?>,
</a><a href="settings.php?view=3"><? print $emAdmin['17']; ?>,
</a> <a href="settings.php?view=2"><? print $emAdmin['19']; ?>,
</a> <a href="settings.php?view=6"><? print $emAdmin['21']; ?>,
</a><a href="settings.php?view=7"><? print $emAdmin['20']; ?>.</a>

</td>
</tr>
</table></td>
<td align="center" class="EM_data_table_inputarea2"><img src="img/icons/overview/payment.gif" width="48" height="48"></td>
<td align="center" class="EM_data_table_inputarea2"><table width="100%" border="0">
<tr>
<td><? print S($emAdmin['23']); ?></td>
</tr>
<tr>
<td><a href="payment.php"><? print $emAdmin['16']; ?></a></td>
</tr>
<tr>
<td><form method="post" action="payment.php?view=">
<select name="gateway">
<option value="0">NoChex</option>
<option value="1">Paypal</option>
<option value="2">2Checkout</option>
<option value="3">Authorize.net</option>
<option value="4">Cheque/Money order</option>
<option value="5">Bank Payment</option>
<option value="6">Worldpay</option>
<option value="7">e-Gold</option>
<option value="8">USA</option>
<option value="10">Moneybookers</option>
<option value="9">AlterPay</option>
<option value="11">E-Path</option>
<option value="12">Netstores</option>
<option value="13">Paymate</option>
</select>
<input type="submit" name="Submit2" value="select">
</form></td>
</tr>
</table></td>
</tr>
<tr valign="top">
<td align="center" class="EM_data_table_row2"><img src="img/icons/overview/profile.gif" width="48" height="48"></td>
<td align="center" class="EM_data_table_inputarea2"><a href="members.php" >
</a> <table width="100%" border="0">
<tr>
<td><? print S($emAdmin['30']); ?></td>
</tr>
<tr>
<td><a href="fields.php"><? print $emAdmin['31']; ?></a>
<a href="badwords.php">,<? print $emAdmin['33']; ?></a>
<a href="backup.php">,<? print $emAdmin['34']; ?></a></td>
</tr>
</table></td>
<td align="center" class="EM_data_table_inputarea2"><img src="img/icons/overview/templates.gif" width="48" height="48"></td>
<td align="center" class="EM_data_table_inputarea2">
<table width="100%" border="0">
<tr>
<td><? print S($emAdmin['35']); ?></td>
</tr>
<tr>
<td><a href="template_design.php?view=change"><? print $emAdmin['36']; ?>, </a>
<a href="template_design.php?view=edit"><? print $emAdmin['312']; ?>.</a>
</td>
</tr>
</table></td>
</tr>
<tr valing="top">
<td align="center" class="EM_data_table_row2"><img src="img/icons/overview/tools.gif" width="48" height="48"></td>
<td align="center" class="EM_data_table_inputarea2"><table width="100%" border="0">
<tr>
<td><? print S($emAdmin['52']); ?></td>
</tr>
<tr>
<td><a href="pages.php"><? print $emAdmin['53']; ?></a>,
<a href="banners.php"><? print $emAdmin['54']; ?></a>,
<a href="feedback.php"><? print $emAdmin['55']; ?></a>,
<a href="tools.php"><? print $emAdmin['56']; ?></a>,
<a href="billing.php"><? print $emAdmin['0']; ?></a>,
<a href="help.php"><? print $emAdmin['22']; ?></a>,
<a href="faq.php">F.A.Q</a>.
</td>
</tr>
</table></td>
<td align="center" class="EM_data_table_inputarea2"><img src="img/icons/overview/mail.gif" width="48" height="48"></td>
<td align="center" class="EM_data_table_inputarea2"> <table width="100%" border="0">
<tr>
<td><? print S($emAdmin['57']); ?></td>
</tr>
<tr>
<td><a href="email.php"><? print $emAdmin['58']; ?></a>,
<a href="settings.php?view=1"><? print $emAdmin['59']; ?></a>,
<a href="newsletters.php"><? print $emAdmin['60']; ?></a>,
<a href="email.php?page=ext"><? print $emAdmin['060']; ?></a>.
</td>
</tr>
</table></td>
</tr>
<tr valign="top">
<td align="center" class="EM_data_table_row2"><img src="img/icons/overview/chat.gif" width="48" height="48"></td>
<td align="center" class="EM_data_table_inputarea2"><table width="100%" border="0">
<tr>
<td><? print S($emAdmin['61']); ?></td>
</tr>
<tr>
<td><a href="chat.php"><? print $emAdmin['66']; ?></a>,
<a href="chat.php"><? print $emAdmin['68']; ?></a>
</td>
</tr>
</table></td>
<td align="center" class="EM_data_table_inputarea2"><img src="img/icons/overview/forum.gif" width="48" height="48"></td>
<td align="center" class="EM_data_table_inputarea2"><table width="100%" border="0">
<tr>
<td><? print S($emAdmin['66']); ?></td>
</tr>
<tr>
<td><a href="forum.php"><? print $emAdmin['62']; ?></a></td>
</tr>
</table></td>
</tr>
<tr valign="top">
<td align="center" class="EM_data_table_row2"><img src="img/icons/overview/plugins.gif" width="48" height="48"></td>
<td align="center" class="EM_data_table_inputarea2"><table width="100%" border="0">
<tr>
<td><? print S($emAdmin['69']); ?></td>
</tr>
<tr>
<td><a href="userplane.php">Userplane</a></td>
</tr>
</table></td>
<td align="center" class="EM_data_table_inputarea2">&nbsp;</td>
<td align="center" class="EM_data_table_inputarea2">&nbsp;</td>
</tr>
<tr>
<td colspan="4" class="EM_data_table_header">&nbsp;</td>
</tr>
</tbody>
</table> </td>
<td width="1%">&nbsp;</td>
<td width="34%" valign="top"> <table width="100%" cellpadding=0 cellspacing=1 class="EM_data_table">
<tbody>
<tr>
<td colspan="4" class="EM_data_table_header">Last 20 Login Attempts</td>
</tr>
<tr>
<td class="EM_data_table_inputarea1">&nbsp;</td>
<td align="center" class="EM_data_table_inputarea1"><? print $emAdmin['128']; ?></td>
<td align="center" class="EM_data_table_inputarea1">Time/Date</td>
<td align="center" class="EM_data_table_inputarea1">IP</td>
</tr>
<?

DISPLAY LOGIN ATTEMPTS

$RunThisLogCheck = "SELECT username,date,time,ip, value FROM frm_adminlog ORDER by id DESC LIMIT 20";
$LogResult = $connector->query($RunThisLogCheck);
while ($row = $connector->fetchArray($LogResult)){
if($row['value'] == 1){$bg = "#E2FFD9"; $bgimage = "box_yes.gif";}else{$bg = "#FFDDDD"; $bgimage = "box_error.gif";}
?>
<tr>
<td width="20" class="EM_data_table_row2"><img src="img/icons/<? print $bgimage; ?>" width="16" height="16">
</td>
<td width="125" align="center" class="EM_data_table_row2"><? print $row['username']; ?></td>
<td width="173" align="center" class="EM_data_table_inputarea2"><? print $row['time']."/". $row['date']; ?></td>
<td align="center" class="EM_data_table_inputarea2"><? print $row['ip']; ?></td>
</tr>
<? } ?>
<tr>
<td colspan="4" class="EM_data_table_header">&nbsp;</td>
</tr>
</tbody>
</table>

</td>
</tr>
</table>
<? }elseif(isset($REQUEST['view']) && $REQUEST['view'] == "info"){ ?>
<iframe width="100%" height="500px" src="phpinfo.php"></iframe>
<? }elseif(isset($REQUEST['view']) && $REQUEST['view'] == "license"){ ?><form method="post" action="index.php">
<table width="100%" cellpadding=0 cellspacing=1 class="EM_data_table">
<tbody>
<tr>
<td colspan="2" class="EM_data_table_header">Update Software License
<input type="hidden" name="do" value="license"></td>
</tr>
<tr>
<td class="EM_data_table_inputarea1">Currenct License</td>
<td class="EM_data_table_inputarea1"><? print KEY_ID; ?></td>
</tr>
<tr>
<td width="248" class="EM_data_table_row2">Enter New License</td>
<td width="724" class="EM_data_table_inputarea2"><input name="newl" type="text" class="textbox" id="newl" size="45"></td>
</tr>
<tr>
<td colspan="2" class="EM_data_table_header"><input type="submit" name="Submit" value="<? print $emButtons['but3']; ?>" class="button"></td>
</tr>
</tbody>
</table>
</form>
<? } ?>
<? print $tdata[2]["contents"]; ?>

    if($row['value'] == 1){
    $bg = "#E2FFD9"; $bgimage = "box_yes.gif";}else{$bg = "#FFDDDD"; $bgimage = "box_error.gif";}

    ?>
    --- htl removed - your are missing an opening bracket ---
    <? } ?>
    --- htl removed - your are missing an opening bracket ---

    <? }elseif(isset($REQUEST['view']) && $REQUEST['view'] == "info"){ ?>
    <iframe width="100%" height="500px" src="phpinfo.php"></iframe>
    <? }elseif(isset($REQUEST['view']) && $REQUEST['view'] == "license"){ ?><form method="post" action="index.php">

      this is all foreign to me
      its still giving me errors

        When posting PHP code, please use the board's [noparse]

        [/noparse] BBcode tags as they make your code much easier to read. You should go back now and edit your post to include these tags.

          Write a Reply...