<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
	<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
		<?php if ( is_front_page() ) { ?>
			<h1 class="h1_title"><span>Welcome to </span><?php echo get_bloginfo('name');?></h1>
			
			<!--?php echo do_shortcode("[short_title id='" . get_the_ID() . "']"); ?--> 
			
		<?php } else { ?>
			<h1><?php the_title(); ?></h1>
				<?php if($post->post_content=="" && !is_page('sitemap')) { ?>
					<p>We are still updating our website with contents. Please check back next time.</p>
				<?php } ?>
		<?php } ?>
		<div class="entry-content">
		
		<?php echo do_shortcode("[page_intro id='" . get_the_ID() . "']"); ?>

		
			<div class="main_padd">
				<?php the_content();?>
			</div>

			<?php if(is_page('sitemap')){ ?>
				<ol type="1" class="sitemap col2"><?php wp_list_pages(array('title_li' => '')); ?></ol>
			<?php } ?>
			<!-- <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> -->
			<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
		</div><!-- .entry-content -->
	</div><!-- #post-## -->
<?php endwhile; // end of the loop. ?>
