Jump to content

rajnikant

Member
  • Posts

    8
  • Joined

  • Last visited

Posts posted by rajnikant

  1. hi all,

     

    while i am activating a new theame this error message is coming can anyone help me fixing the issue

     

    Parse error: syntax error, unexpected T_ELSE in C:\wamp\www\wordpress\wp-content\themes\TreeHouse\TreeHouse\index.php on line 46

     

    below is the php code of index.php

     

    *.........................................................

     

     

     

    <?php get_header(); ?>

     

     

    <?php if (have_posts()) : ?>

     

    <?php $i=0; while (have_posts()) : the_post(); $i++; ?>

     

    <?php the_title(); ?>

    Posted by <?php the_author() ?> | Posted in <?php the_category(', ') ?> | Posted on <?php the_time('d-m-Y') ?>

    <?php comments_number('0', '1', '%'); ?>

     

    <?php if($i==1 || $i==2) : ?>

    <?php theme_google_468_ads_show(); ?>

    <? endif; ?>

    <?php the_content('',FALSE,''); ?>

     

     

    <?php endwhile; ?>

     

    <?php theme_google_468_ads_show(); ?>

     

    <?php if(!function_exists('wp_pagenavi')) : ?>

    <?php next_posts_link('Previous') ?>

    <?php previous_posts_link('Next') ?>

    <?php else : wp_pagenavi(); endif; ?>

     

    <?php else : ?>

     

    Not Found

    Sorry, but you are looking for something that isn't here.

    <?php include (TEMPLATEPATH . "/searchform.php"); ?>

     

    <?php endif; ?>

     

     

    <?php get_footer(); ?>

     

     

    thanks,

    rajnikant(dgmagician)

×
×
  • Create New...