Problem with Wordpress search form

[php]<?php get_header(); ?>

<?php if (have_posts()) : ?>
	<h1><?php if (get_gambling_option('search-results')) { echo get_gambling_option('search-results'); } else { ?>Search Result For<?php } ?> -  <?php /* Search Count */ $allsearch = &new WP_Query("s=$s&showposts=-1"); $key = wp_specialchars($s, 1); $count = $allsearch->post_count; _e(''); _e('<span class="search-terms">'); echo $key; _e('</span>'); _e(' &mdash; '); echo $count . ' '; 

if (get_gambling_option(‘search-art’)) { echo get_gambling_option(‘search-art’); } else { echo ‘Articles’; }
wp_reset_query(); ?>

	<?php while (have_posts()) : the_post(); ?>

		
			<li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><strong><?php the_title(); ?></strong></a>, <?php the_time('l, F jS, Y') ?>

                              </li>


	<?php endwhile; ?>

</ul>	
<?php kriesi_pagination();?>
<?php else : ?>

	<h1 class="center">No posts found. Try a different search?</h1>
	<?php include (STYLESHEETPATH. '/searchform.php'); ?>

<?php endif; ?>
<?php get_sidebar(); ?> <?php get_footer(); ?>[/php]

getting :
Parse error: syntax error, unexpected ‘new’ (T_NEW) in /home/paybyphonecasino.eu/public_html/wp-content/themes/slotstheme/search.php on line 6

I have no idea how to fix it

any ideas?

Sponsor our Newsletter | Privacy Policy | Terms of Service