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

<div id="col-container">

<div class="row-fluid">

<div class="field">



<?php

	$commenter = wp_get_current_commenter();

	$req = get_option( 'require_name_email' );

	$aria_req = ( $req ? " aria-required='true'" : '' );



	$name        = 'Name';

	$authorEmail = "Email";

	$phone     = "Phone(optional)";



	if($commenter['comment_author'])            $name         =  $commenter['comment_author'];

	if($commenter['comment_author_email'])      $authorEmail  =  $commenter['comment_author_email'];

	if(isset($commenter['comment_author_phone']))      $phone        =  $commenter['comment_author_phone'];



	$comment_args = array(

		'id_form' => 'commentform',

		'id_submit' => 'submit',

		'title_reply' => __( '' ),

		'title_reply_to' => __( 'Leave a Reply to %s','hybrid_lang' ),

		'cancel_reply_link' => __( 'Cancel Reply' ,'hybrid_lang'),

		'label_submit' => __( 'Send Message','hybrid_lang' ),

		'comment_field' => '<div class="span8"><div class="row-fluid"><p class="post-categoty color-black capitalize">comment:</p><textarea  id="comment" name="comment" class="contact-txtarea" rows="5" placeholder="your message goes here..."></textarea></div></div>',

		'must_log_in' => '<p class="must-log-in">' .  sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '</p>',

		'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '</p>',

		'comment_notes_before' => '',

		'comment_notes_after' => '',

		'fields' => apply_filters( 'comment_form_default_fields', array(

			'author' => '<div class="span4"><div class="field"><p class="post-categoty color-black capitalize">name:</p><input id="author" name="author" type="text" class="contact-txtbox" value="" ' . $aria_req . ' /></div>',

			'email' =>  '<div class="field"><p class="post-categoty color-black capitalize">email:</p><input id="email" name="email" type="text" class="contact-txtbox" value=""' . $aria_req . ' /></div>',

			'phone' =>  '<div class="field"><p class="post-categoty color-black capitalize">phone:</p><input id="phone" name="phone" type="text" class="contact-txtbox" value=""/></div></div>' ) )

	);

?>	

	<?php comment_form( $comment_args ); ?>		



	</div>	<!-- field -->

</div>	<!-- row-fluid -->

</div> <!-- col-container -->

<?php  endif; ?>

<?php

/*

 * If the current post is protected by a password and

 * the visitor has not yet entered the password we will

 * return early without loading the comments.

 */

if ( post_password_required() )

	return;

?>



	<?php // You can start editing here -- including this comment! ?>



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

	<h3>

		<?php echo _e('Comments','hybrid_lang') ?>

		<span class="color-grey">(

		<?php echo get_comments_number();?>

		)</span>

	</h3>

	<div class="up-container">

		<ul class="coments">	

			<?php wp_list_comments( array( 'callback' => 'hybrid_comment', 'style' => 'ol' ) ); ?>

		</ul><!-- .commentlist -->		

		<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>

		<nav id="comment-nav-below" class="navigation" role="navigation">

			<h1 class="assistive-text section-heading"><?php _e( 'Comment navigation', 'hybrid_lang' ); ?></h1>

			<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'hybrid_lang' ) ); ?></div>

			<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'hybrid_lang' ) ); ?></div>

		</nav>

		<?php endif; // check for comment navigation ?>

		<?php

		/* If there are no comments and comments are closed, let's leave a note.

		 * But we only want the note on posts and pages that had comments in the first place.

		 */

		if ( ! comments_open() && get_comments_number() ) : ?>

		<p class="nocomments"><?php _e( 'Comments are closed.' , 'hybrid_lang' ); ?></p>

		<?php endif; ?>

		</div>

	<?php endif; // have_comments() ?>  <!-- #comments .comments-area -->