That parse error means that you either missed a closing bracket, semicolon, etc. It's hard to tell you what to fix if we don't have the code. Please post the code so that we can help you further.
Hope this helps.
Printable View
That parse error means that you either missed a closing bracket, semicolon, etc. It's hard to tell you what to fix if we don't have the code. Please post the code so that we can help you further.
Hope this helps.
Dear Pal, this is the code and could you please tell me what missing? very much appreciated. This is the header code. The next post after this is the footer. Tq for teaching.
<head><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="forex,finance,trading, trader online,investment,loan, mortgage, cash online,
making money,adwords, adsense" content="text/html; charset=<?php bloginfo('charset'); ?>" />
<meta name="description" content="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>" />
<meta name="keywords" content="" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<title><?php bloginfo('name'); wp_title(); ?></title>
<?php wp_head(); ?>
</head>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<body>
<script type='text/javascript' src='http://track3.mybloglog.com/js/jsserv.php?mblID=2007032920273844'></script>
<div id="wrap">
<!--
<div id="header">
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<p><strong><?php bloginfo('description'); ?></strong></p>
</div>
-->
<img id="frontphoto" src="<?php bloginfo('template_directory'); ?>/img/front.jpg" width="760" height="175" alt="" />
<p align=center>
<script type="text/javascript"><!--
google_ad_client = "pub-3684802826311457";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
google_ad_channel = "";
google_color_border = "CC0000";
google_color_bg = "FFFFCC";
google_color_link = "CC0000";
google_color_text = "000000";
google_color_url = "3D81EE";
//--></script>
<script type="text/javascript"><!--<p align=center><p align=center>
google_ad_client = "pub-3684802826311457";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
//2007-10-27: Forex, Financial, Investment, homebusiness, loan
google_ad_channel = "6908781396+9166596418+0136310777+3165203788+9984693700";
google_color_border = "FFFF66";
google_color_bg = "9D1961";
google_color_link = "00FF80";
google_color_text = "66B5FF";
google_color_url = "FFFFFF";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<?
srand(time());
$random = 0; /*(rand()%2);*/
if ($random == 0){
?>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "pub-3684802826311457";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
//2007-10-22: Financial, Investment, Forex, homebusiness, loan
google_ad_channel = "9166596418+0136310777+6908781396+3165203788+9984693700";
google_color_border = "6131BD";
google_color_bg = "000000";
google_color_link = "FFFF66";
google_color_text = "00FF80";
google_color_url = "FF6FCF";
google_ui_features = "rc:0";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<?
}
else
{
?>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "pub-3684802826311457";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "FF0000";
google_color_text = "000000";
google_color_url = "000000";
//--></script>
<?
}
?>
<script type="text/javascript"><!--
google_ad_client = "pub-3684802826311457";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al";
//2007-10-27: Forex, Financial, Investment, homebusiness, loan
google_ad_channel = "6908781396+9166596418+0136310777+3165203788+9984693700";
google_color_border = "000000";
google_color_bg = "3D81EE";
google_color_link = "FFFF66";
google_color_text = "66B5FF";
google_color_url = "FFFFFF";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>
<div id="leftside">
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Main Sidebar') ) : else : ?>
<h2 class="hide">Main menu:</h2>
<ul class="page">
<?php if (is_page()) { $highlight = "page_item"; } else {$highlight = "page_item current_page_item"; } ?>
<li class="<?php echo $highlight; ?>"><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
<li ><?php wp_loginout(); ?></li>
</ul>
<?php endif; ?>
<p id="<?php echo $highlight; ?>">
<script type="text/javascript"><!--
auctionads_ad_client = "e9a00afe98370e4654f3";
auctionads_ad_campaign = "";
auctionads_ad_width = "160";
auctionads_ad_height = "600";
auctionads_ad_kw = "digital camera;mp3;money";
auctionads_color_border = "FFFFFF";
auctionads_color_bg = "FFFFFF";
auctionads_color_heading = "00A0E2";
auctionads_color_text = "000000";
auctionads_color_link = "008000";
auctionads_options = "n";
--></script>
<script type="text/javascript" src="http://ads.auctionads.com/pagead/show_ads.js">
</script>
</p>
</div>
THIS IS THE 404 TEMPLATE
Please tell me where shall i put this code after it is accidentally deleted by me....sigh....tq pal very much.
Plus admin of this site i will delete the code after it is solve or not after this ok. i dont like spamming
<?php get_header(); ?>
<?php get_sidebar(); ?>
<div id="content">
<div class="post">
<h2>Error 404 - Page not found!</h2>
<p>The page you trying to reach does not exist, or has been moved. Please use the menus or the search box to find what you are looking for.</p>
<p>Go Back HomePage <a href="http://www.NexGWeb.com">www.NexGWeb.com</a> </p>
</div>
</div>
<?php get_footer(); ?>