Jump to content

PHP Sidebar Problem


VAService

Recommended Posts

Please help. My client added some or other validation code to her sidebar php file and then deleted it, and I am sure she deleted something else important as we now get this error, instead of the sidebar:

 

Parse error: syntax error, unexpected $end in/home/virtualp/public_html/linkymerwe.com/wp-content/themes/Multiple_Streams_Theme/sidebar.php on line 133

 

 

The actual codes is below, can you please help?

 

Regards

 

Sandra

 

 

 

<div class="Sidebar">

<ul>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
       
<?php
$featuredPost = new WP_Query();
$featuredPost->query('category_name=featured&showposts=1&orderby=date');
while ($featuredPost->have_posts()) : $featuredPost->the_post();
?>
<li class="featured" id="featured-<?php the_ID(); ?>">
<h2>Featured Post</h2>
<div class="entry">
<h3><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php the_title(); ?>
</a></h3>
<?php the_excerpt(); ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory');?>/images/featured-read-more.png" alt="Read More" id="featured-read-more" /></a>
 
</div>
</li><?php endwhile; ?>
<table width="295" border="0" cellspacing="4" cellpadding="4">
  <tr>
    <td width="37"><a href="http://feeds.feedburner.com/LinkyMerwe" target="_blank"><img src="http://www.linkymerwe.com/images/RSS reader.png"  alt="Subscribe To My Blog Feed" width="50" height="50" border="1"></a></td>
    <td width="250"><a href="http://feeds.feedburner.com/LinkyMerwe" target="_blank"><h2>Subscribe To My Blog Feed</h2></a></span></td>
  </tr>
</table>
  
<p><h2><a href="http://feedburner.google.com/fb/a/mailverify?uri=LinkyMerwe&loc=en_US">Subscribe by Email</a></h2></p>
<p>
<h2>Download Free Reports!</h2><br>
<h3>1. <a href= "http://www.virtualprojectconsulting.com/socialmedia/">Top Ten Questions Social Media Report</a></h3>
<p><h3>2. <a href= "http://www.virtualprojectconsulting.com/socialmedia/smstrategybonus.htm">Free Social Media Strategy Template</a></h3>
<p><h3>3. <a href= "http://linkymerwe.com/mobilemarketingactivation/mobile-marketing-free-report.html">Mobile Marketing for your Business</a>
</h3>
<p><h3>4. <a href= "http://linkymerwe.com/mobilemarketingactivation/localsearch-optin.html">Free Local Search e-course</a></h3>
<p><h3>5. <a href= "http://linkymerwe.com/21emailtips.htm">21 Email Marketing Tips e-course</a></h3>
</p>
 
 
 
 
<P>  
<div class="module-elsewhere module">
<h2 class="module-header"></h2>
<h2>Let's be Social!</h2> 
<p>
<div class="module-content">
 
 
alt="Twitter" width="26" height="26" /></a>
 
src="http://www.virtualprojectconsulting.com/images/Facebook.png" alt="Facebook" width="26" height="26" /></a>
 
<a href="http://www.linkedin.com/in/virtualpm" rel="me"><img 
 
src="http://linkymerwe.com/wp-content/uploads/2013/01/linkedin-web.jpg" alt="LinkedIn" width="26" height="26" /></a>
 
rel="me"><img src="http://linkymerwe.com/wp-content/uploads/2013/01/google-plus-web.jpg" alt="Google+" width="26" 
 
height="26" /></a>
<a href="http://www.friendfeed.com/virtualpm" rel="me"><img 
 
src="http://www.virtualprojectconsulting.com/images/friendfeed_32.png" alt="FriendFeed" width="26" height="26" /></a>
 
 
 
<p><a href="http://pinterest.com/linkymerwe/"><img src="http://passets-cdn.pinterest.com/images/about/buttons/follow-me-on-pinterest-button.png" width="169" height="28" alt="Follow Me on Pinterest" /></a>
<p><a href='http://vizualize.me/virtualpm?r=virtualpm' title='Linky Van Der Merwe's infographic CV on vizualize.me' target='_blank'><img src='http://vizualize.me/media/img/socialicons/viewmyviz.png'/></a>
<p><h2>Book for an Online Marketing Strategy</h2><br>
<h3><a href="http://www.internetmarketingadvisor.co.za" >Linky-Internet Marketing Advisor, IMA for Cape Town</a></h3>
 
</div>
 
<p>
<div class="fb-like-box" data-href="http://www.facebook.com/integratedcommunicationadvisor" data-width="292" data-show-faces="true" data-stream="true" data-header="true"></div>      
<P> 
<a href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=linkypm "><img class="alignleft size-full wp-image-540" title="web hosting" src="http://linkymerwe.com/wp-content/uploads/2012/11/hostgator-234x60-animated.gif" alt="Hostgator web hosting" width="234" height="60" /></a> 
<P>
<div class="module-elsewhere module">
<h2 class="module-header"></h2>
<a href="http://www.whitepapersource.com/cmd.php?Clk=5004129" target="_blank"><img title="300x250" src="http://www.socialmediaexaminer.com/images/SMMW_AdD.png" alt="" width="300" height="250" /></a>
<!--Begin--->
 
<!--End--->
<p> <h2>Free Webinar!</h2> 
<p>
<div class="module-content">
<a href="http://dcswebinar.dotcomsecrets.com/w/2?tracking1=361"> <img src="http://linkymerwe.com/wp-content/uploads/2011/12/box4-webinar1.gif" alt="Webinar - How to get 100 customers in 100 days" /></a>
</li>
<li id="banners">
</li>
<li id="banners">
<a href="http://nichetraining.co.za/store/?a_aid=socialpm&a_bid=7aec0973#ecwid:category=106022&mode=category&offset=0&sort=normal" target="_top"><img src="http://nichetraining.postaffiliatepro.com/accounts/default1/banners/Custom Square 250 x 250-1.png" alt="Niche Training Banner" title="Niche Training Banner" width="250" height="250" /></a><img style="border:0" src="http://nichetraining.postaffiliatepro.com/scripts/imp.php?a_aid=socialpm&a_bid=7aec0973" width="1" height="1" alt="" />
</li>
<li id="banners">
                       <a href="http://www.kickstartcart.com/app/?Clk=4354217"><img src="<?php bloginfo('stylesheet_directory');?>/images/new-releases.png" alt="Profitable Membership Sites" /></a>
        </li>
 
 
<li>
                <h2>
<?php _e('Categories'); ?>
</h2>
<ul>
<?php wp_list_cats('sort_column=name&optioncount=0&hierarchical=0'); ?>
</ul>
</li>
 
<?php wp_list_bookmarks('title_li=Reccommended Links'); ?>
 
<li>
<h2>
<?php _e('Archives'); ?>
</h2>
 
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</li>
</div>
 
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
<?php endif; ?> 
</div>
<!-- End SideBar1 -->
 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.