Hi
to all
plz solve my php code
code is below
<!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="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
<head>
<?php print $head ?>
<title><?php print $head_title ?></title>
<?php print $styles ?>
<?php print $scripts ?>
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="/themes/omved/ie6.css" />
<![endif]-->
<!--[if lt IE 7]>
<?php print phptemplate_get_ie_styles(); ?>
<![endif]-->
<script type="text/javascript" src="/themes/omved/js/jquery/1.3.2.min.js"></script>
<script type="text/javascript" src="/themes/omved/js/jquery.timers.js"></script>
<script type="text/javascript" src="/themes/omved/js/jquery.dropshadow.js"></script>
<script type="text/javascript" src="/themes/omved/js/mbTooltip.js"></script>
<script type="text/javascript">
$(function(){
$("[title]").mbTooltip({ // also $([domElement]).mbTooltip
opacity : .65, //opacity
wait:800, //before show
cssClass:"default", // default = default
timePerWord:70, //time to show in milliseconds per word
hasArrow:true, // if you whant a little arrow on the corner
hasShadow:true,
imgPath:"/themes/omved/images/",
anchor:"mouse", //or "parent" you can ancor the tooltip to the mouse or to the element
shadowColor:"black", //the color of the shadow
mb_fade:200, //the time to fade-in
'-webkit-border-radius':"3px",
'-moz-border-radius':"3px",
'border-radius':"3px"
});
});
</script>
<script type="text/javascript" src="http://use.typekit.com/teh0wpm.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
</head>
<body>
<div id="content">
<div id="header">
<div id="header_nav">
<a href="/"><img src="/themes/omved/images/transparent.gif" width="225" height="114" alt="Logo" style="margin-right:24px"/></a>
<?php $curr_path = strstr( $node->path, "vedicpedia" ); ?>
<a href="/vedicpedia" onmouseover="switchOn('btn_main_vedicpedia')" <?php if( !$curr_path ) { ?>onmouseout="switchOff('btn_main_vedicpedia')"<? } ?> title="Vedicpedia"><img src="/themes/omved/images/btn_main_vedicpedia<?php if( $curr_path ) { print '_on'; } ?>.jpg" name="btn_main_vedicpedia" width="119" height="114" alt="Vedicpedia" style="margin-right:23px;" /></a>
<?php $curr_path = strstr( $node->path, "our-products" ); ?>
<a href="/our-products" onmouseover="switchOn('btn_main_our_products')" <?php if( !$curr_path ) { ?>onmouseout="switchOff('btn_main_our_products')"<? } ?> title="Our Products"><img src="/themes/omved/images/btn_main_our_products<?php if( $curr_path ) { print '_on'; } ?>.jpg" name="btn_main_our_products" width="145" height="114" alt="Our Products" style="margin-right:23px;" /></a>
<?php $curr_path = strstr( $node->path, "news-and-events" ); ?>
<a href="/news-and-events" onmouseover="switchOn('btn_main_news_and_events')" <?php if( !$curr_path ) { ?>onmouseout="switchOff('btn_main_news_and_events')"<? } ?> title="News and Events"><img src="/themes/omved/images/btn_main_news_and_events<?php if( $curr_path ) { print '_on'; } ?>.jpg" name="btn_main_news_and_events" width="154" height="114" alt="News and Events" style="margin-right:23px;" /></a>
<?php $curr_path = strstr( $node->path, "find-a-location" ); ?>
<a href="/find-a-location" onmouseover="switchOn('btn_main_find_a_location')" <?php if( !$curr_path ) { ?>onmouseout="switchOff('btn_main_find_a_location')"<? } ?> title="Find a Location"><img src="/themes/omved/images/btn_main_find_a_location<?php if( $curr_path ) { print '_on'; } ?>.jpg" name="btn_main_find_a_location" width="169" height="114" alt="Find a Location" style="margin-right:23px;" /></a>
<?php $curr_path = strstr( $node->path, "contact-us" ); ?>
<a href="/contact-us" onmouseover="switchOn('btn_main_contact_us')" <?php if( !$curr_path ) { ?>onmouseout="switchOff('btn_main_contact_us')"<? } ?> title="Contact Us"><img src="/themes/omved/images/btn_main_contact_us<?php if( $curr_path ) { print '_on'; } ?>.jpg" name="btn_main_contact_us" width="128" height="114" alt="Contact Us" /></a>
}
</div>
error is shown in last line of the code
thanks
nachiket