I am getting an error
Quote:
Parse error: syntax error, unexpected T_STRING in /home/austinba/public_html/wp-content/themes/directorypress/header.php on line 155
|
I am very confused with this error I had check all the "" or ' ...I dont know where I am getting problem...plz help me
here is the code
<?php function _bit_submenu_inside(){ /*SUB MENU BAR */
global $wpdb,$PPT, $userdata; get_currentuserinfo(); $string='';
$string .= '<div class="w_960">';
if(isset($GLOBALS['ppt_layout_styles']['submenubar']) && isset($GLOBALS['ppt_layout_styles']['submenubar']['search']) && $GLOBALS['ppt_layout_styles']['submenubar']['search'] == 1){
$string .= '<div id="hpages"><ul>'.premiumpress_pagelist().'</ul></div>';
}else{
$string .= "<form method='get' action='".$GLOBALS['bloginfo_url']."/' name='searchBox' id='searchBox'>
<input type='text' value='".$PPT->_e(array('head','2'))."' name='s' id='s' onfocus="this.value='';" />";
if(isset($GLOBALS['ppt_layout_styles']['submenubar']) && isset($GLOBALS['ppt_layout_styles']['submenubar']['hidecat']) && $GLOBALS['ppt_layout_styles']['submenubar']['hidecat'] == 1){ }else{
// BUILD CATEGORY DROP DOWN LIST
$catdata = premiumpress_categorylist(0,'toponly');
if(strlen($catdata) > 1){
$string .= '<select id="catsearch" name="cat"><option value=""> </option>'.$catdata.'</select>';
}
}
$string .= '<div class="searchBtn left" onclick="document.searchBox.submit();"> </div>';
if(get_option("display_advanced_search") ==1){
$string .= '<a href="javascript
:jQuery(';
$string .= "'#AdvancedSearchBox').show();";
$string .= 'javascript
:void(0);"';
$string .="><small>".$PPT->_e(array('head','3'))."</small></a>";
}
$string .= '</form>';
}
$string .= '';
$string .= '</div> <!-- end w_960 -->';
return $string;
} ?>
<?php echo premiumpress_submenu_inside(_bit_submenu_inside()) ; /* HOOK / FILTER */ ?>
</div><!-- end submenubar -->
<div class="flashbanner"><img title="JAM Music" src="http://www.austinbandsearch.com/wp-content/themes/directorypress/template_directorypress/images/flashbanner.jpg" alt="JAM Music" width="960" height="238"/></div>
<?php premiumpress_submenu_after(); /* HOOK */ ?>
<?php } ?>
<?php premiumpress_page_before(); ?>
<div id="page" class="clearfix full">
<div class="w_960">
<?php if(get_option("PPT_slider") =="s1" && is_home() && !isset($_GET['s']) && !isset($_GET['search-class']) ){ echo $PPTDesign->SLIDER(); } ?>
<?php premiumpress_content_before(); ?>
<div id="content" <?php $PPTDesign->CSS("padding"); ?>>
<?php
if(file_exists(str_replace("functions/","",THEME_PATH)."/themes/".$GLOBALS['premiumpress']['theme']."/_sidebar1.php") && !isset($GLOBALS['nosidebar-left']) ){
include(str_replace("functions/","",THEME_PATH)."/themes/".$GLOBALS['premiumpress']['theme']."/_sidebar1.php");
}elseif(!isset($GLOBALS['nosidebar-left']) ){ ?>
<div id="sidebar-left" class="<?php $PPTDesign->CSS("columns-left"); ?>">
<?php premiumpress_sidebar_left_top(); /* HOOK */ ?>
<?php if(is_single() && !isset($GLOBALS['ARTICLEPAGE']) && isset($GLOBALS['nosidebar-right']) && get_option("display_listinginfo") =="yes"){ echo $PPTDesign->GetObject('authorinfo'); }