I am near completion but something I have done has caused multiple errors on my index page. One I know of is on line 41, but I can't find it. (Parse error: syntax error, unexpected '<' in /home/pet5079/public_html/oddsnsods/admin/index.php on line 41) This particular error is stopping me accessing my admin page. But there are others because my home/index page is no longer showing up. I have run checks on the page and looked through it myself, but I don't know enough about coding to pick the errors up myself. Kobra has been helping me with some error issues and I thank him greatly; but, I am hoping someone may have a fresh perspective on what may be going wrong. I have customers emailing me wanting to place orders and I am afraid I may lose them if I don't get my website back up and running asap. 
Please help if you can. My code for the file admin/index.php is as follows:
PHP Code:
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers |
// | |
// | [URL="http://www.zen-cart.com/index.php"][B]http://www.zen-cart.com/index.php[/B][/URL] |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | [URL="http://www.zen-cart.com/license/2_0.txt"][B]http://www.zen-cart.com/license/2_0.txt[/B][/URL]. |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | license AT zen-cart DOT com so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// $Id: index.php 2539 2005-12-11 05:17:05Z ajeh $
//
$version_check_index=true;
require('includes/application_top.php');
$languages = zen_get_languages();
$languages_array = array();
$languages_selected = DEFAULT_LANGUAGE;
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$languages_array[] = array('id' => $languages[$i]['code'],
'text' => $languages[$i]['name']);
if ($languages[$i]['directory'] == $language) {
$languages_selected = $languages[$i]['code'];
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"][B]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/B][/URL]">
<html xmlns="[URL="http://www.w3.org/1999/xhtml"][B]http://www.w3.org/1999/xhtml[/B][/URL]" <?php echo HTML_PARAMS; ?>>
<?php // ====> BOF: INFO AT-A-GLANCE <==== ?>
<script language="javascript" src="includes/javascript/overlib_mini.js"><!-- overLIB (c) Erik Bosrup --></script>
<?php // ====> EOF: INFO AT-A-GLANCE <==== >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<script language="JavaScript" src="includes/menu.js" type="text/JavaScript"></script>
<link href="includes/stylesheet.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="includes/cssjsmenuhover.css" media="all" id="hoverJS" />
Bookmarks