<?php get_header(); ?>

<div class="content">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
	<h2><?php the_title() ?></h2>
	<?php if(is_page('contact')) {
			comment_form(
				array('title_reply'=>'Lasa o impresie',
					  'comment_notes_before'=>'',
					  'comment_notes_after'=>'',
					  'comment_field'=>'<p class="comment-form-comment"><label for="comment">' . _x( 'Impresie', 'noun' ) . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
					  'label_submit'=>'Trimite',
					  'fields' => apply_filters( 'comment_form_default_fields', array(
					  		'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Nume', 'domainreference' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>',
					  		'email' => '<p class="comment-form-email"><label for="email">' . __( 'Email', 'domainreference' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '<input id="email" name="email" type="text" value="' . esc_attr(  $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>',
					  		'url' => '<p class="comment-form-url"><label for="url">' . __( 'Sejur', 'domainreference' ) . '</label>' . '<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>' ))
				      )
			); 
		  }
	?>		
	<?php the_content(); ?>
<?php endwhile; endif; ?>
</div>

<?php get_footer(); ?>