<?php /* Smarty version 2.6.18, created on 2010-11-25 19:05:05
         compiled from viewAnswers.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'smartyTabIndex', 'viewAnswers.tpl', 19, false),array('modifier', 'date_format', 'viewAnswers.tpl', 291, false),)), $this); ?>
<div id="selListAll">
	<h2 class="clsOpenQuestion"><?php echo $this->_tpl_vars['myobj']->title; ?>
</h2>
        <div id="selMisNavLinks">
        <ul>
            <li><a href="<?php echo $this->_tpl_vars['CFG']['site']['relative_url']; ?>
manageAnswers.php"><?php echo $this->_tpl_vars['LANG']['back_to_questions']; ?>
</a></li>
        </ul>
	</div>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'information.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php if ($this->_tpl_vars['myobj']->isShowPageBlock('form_question')): ?>

    <div id="selMsgConfirm" class="selMsgConfirm" style="display:none;position:absolute;">
    <h3 id="confirmation_msg"></h3>
    <form name="deleteForm" id="deleteForm" method="post" action="viewAnswers.php?qid=<?php echo $this->_tpl_vars['myobj']->getFormField('qid'); ?>
" autocomplete="off">
        <table >
            <tr>
                <td>
                    <input type="submit" class="clsSubmitButton" name="delete_add" id="delete_add" value="<?php echo $this->_tpl_vars['LANG']['common_yes_option']; ?>
" tabindex="<?php echo smartyTabIndex(array(), $this);?>
" /> &nbsp;
                    <input type="button" class="clsCancelButton" name="cancel" id="cancel" value="<?php echo $this->_tpl_vars['LANG']['common_no_option']; ?>
" tabindex="<?php echo smartyTabIndex(array(), $this);?>
" onClick="return hideAllBlocks();" />
                    <input type="hidden" name="aid" id="aid" />
                    <input type="hidden" name="act" id="act" />
					<input type="hidden" name="comment_id" id="comment_id" />
                    <?php echo $this->_tpl_vars['myobj']->populateHidden($this->_tpl_vars['myobj']->form_question['delete_hidden_arr']); ?>

                </td>
            </tr>
        </table>
    </form>
    </div>
    <div id="selDelAttachconfirm" class="clsPopupConfirmation" style="display:none;position:absolute;">
            <p id="msgAttachConfirmText"></p>
            <form name="msgAttachConfirmform" id="msgAttachConfirmform" method="post" action="<?php echo $this->_tpl_vars['CFG']['site']['relative_url']; ?>
viewAnswers.php?qid=<?php echo $this->_tpl_vars['myobj']->getFormField('qid'); ?>
">
                <table summary="<?php echo $this->_tpl_vars['LANG']['confirm_tbl_summary']; ?>
">
                    <tr>
                        <td>
                            <p id="brsBtn" <?php echo $this->_tpl_vars['myobj']->form_question['attach_style']; ?>
><input type="button" class="clsSubmitButton" name="confirm" id="confirm" onclick="deleteAnswerAttachments('<?php echo $this->_tpl_vars['CFG']['site']['relative_url']; ?>
viewAnswers.php?qid=<?php echo $this->_tpl_vars['myobj']->getFormField('qid'); ?>
', '&amp;ajax_page=true&amp;deletemoreattachments=1'); return hideAllBlocks();" value="<?php echo $this->_tpl_vars['LANG']['common_yes_option']; ?>
" tabindex="<?php echo smartyTabIndex(array(), $this);?>
" /> &nbsp;
                                <input type="button" class="clsCancelButton" name="no" id="no" value="<?php echo $this->_tpl_vars['LANG']['common_no_option']; ?>
" tabindex="<?php echo smartyTabIndex(array(), $this);?>
" onClick="return hideAllBlocks();" /></p>
                            <input type="hidden" name="attach_id" id="attach_id" />
                            <input type="hidden" name="attach_content_id" id="attach_content_id" />
                            <input type="hidden" name="attach_name" id="attach_name" />
                            <input type="hidden" name="act" id="act" />
                            <?php echo $this->_tpl_vars['myobj']->populateHidden($this->_tpl_vars['myobj']->form_question['attach_hidden_arr']); ?>

                        </td>
                    </tr>
                </table>
            </form>
      </div>

<?php endif; ?>

<?php if ($this->_tpl_vars['myobj']->isShowPageBlock('form_confirm')): ?>
		  <div id="selMsgConfirm">
		    <form name="selFormConfirm" id="selFormConfirm" method="post" action="<?php echo $this->_tpl_vars['CFG']['site']['relative_url']; ?>
viewAnswers.php?qid=<?php echo $this->_tpl_vars['myobj']->getFormField('qid'); ?>
">
				<p><?php echo $this->_tpl_vars['myobj']->confirm_message; ?>
</p>
		      <table summary="<?php echo $this->_tpl_vars['LANG']['confirm_tbl_summary']; ?>
" border="1">
		        <tr>
		          <td>
		            <input type="submit" class="clsSubmitButton" name="<?php echo $this->_tpl_vars['myobj']->action; ?>
" id="<?php echo $this->_tpl_vars['myobj']->action; ?>
" tabindex="<?php echo smartyTabIndex(array(), $this);?>
" value="<?php echo $this->_tpl_vars['LANG']['common_yes_option']; ?>
" />
				  </td>
				  <td>
				  	<input type="submit" class="clsCancelButton" name="cancel" id="cancel" tabindex="<?php echo smartyTabIndex(array(), $this);?>
" value="<?php echo $this->_tpl_vars['LANG']['common_no_option']; ?>
"  />
		          </td>
		        </tr>
			  </table>
			  <?php echo $this->_tpl_vars['myobj']->populateHidden($this->_tpl_vars['myobj']->hidden_array); ?>

			</form>
		  </div>
<?php endif; ?>


<?php if ($this->_tpl_vars['myobj']->isShowPageBlock('form_search')): ?>
    <form name="selQuestionSearchs" id="selQuestionSearch" method="post" action="<?php echo $this->_tpl_vars['CFG']['site']['relative_url']; ?>
manageAnswers.php" autocomplete="off">
		    <table summary="<?php echo $this->_tpl_vars['LANG']['answers_tbl_summary']; ?>
">
		      <tr>
		        <td class="<?php echo $this->_tpl_vars['myobj']->getCSSFormLabelCellClass('search_name'); ?>
"><label for="search_name"><?php echo $this->_tpl_vars['LANG']['search']; ?>
</label></td>
		        <td class="<?php echo $this->_tpl_vars['myobj']->getCSSFormFieldCellClass('search_name'); ?>
">
		          <input type="text" class="clsTextBox" name="search_name" id="search_name" tabindex="<?php echo smartyTabIndex(array(), $this);?>
" value="<?php echo $this->_tpl_vars['myobj']->getFormField('search_name'); ?>
" />
                  <?php echo $this->_tpl_vars['myobj']->getFormFieldElementErrorTip('search_name'); ?>

                 </td>
		      </tr>
		      <tr>
		        <td class="<?php echo $this->_tpl_vars['myobj']->getCSSFormLabelCellClass('search_cat'); ?>
"><label for="search_cat"><?php echo $this->_tpl_vars['LANG']['answers_search_cat']; ?>
</label></td>
		        <td class="<?php echo $this->_tpl_vars['myobj']->getCSSFormFieldCellClass('search_cat'); ?>
">
		          <select name="search_cat" id="search_cat" tabindex="<?php echo smartyTabIndex(array(), $this);?>
">
                  	<?php echo $this->_tpl_vars['myobj']->generalPopulateArray($this->_tpl_vars['myobj']->search_cat_arr,$this->_tpl_vars['myobj']->getFormField('search_cat')); ?>

		          </select>
                  <?php echo $this->_tpl_vars['myobj']->getFormFieldElementErrorTip('search_cat'); ?>

		        </td>
		      </tr>
		      <tr>
		        <td colspan="2"  class="<?php echo $this->_tpl_vars['myobj']->getCSSFormFieldCellClass('submit'); ?>
"><input type="submit" class="clsSubmitButton" name="go" tabindex="<?php echo smartyTabIndex(array(), $this);?>
" value="<?php echo $this->_tpl_vars['LANG']['common_go']; ?>
" /></td>
		      </tr>
		    </table>
		</form>
<?php endif; ?>

<?php if ($this->_tpl_vars['myobj']->isShowPageBlock('form_question')): ?>
	<?php if ($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']): ?>   
				<div id="selQuickLinks">
				<?php echo $this->_tpl_vars['myobj']->showAnotherQuestion(); ?>

				<form name="questionDetails" id="questionDetails" method="post" action="<?php echo $this->_tpl_vars['myobj']->getCurrentUrl(); ?>
" autocomplete="off">
				<table summary="display question details" id="selAuthorTbl">
					<tr>
						<td class="clsForumTitle">
						<p class="clsBold"><strong><?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['question_manual']; ?>
</strong></p>
						<?php if (chkIsVideoAllowed ( 'question' ) && $this->_tpl_vars['myobj']->question_details['video_id']): ?>
							<span><a id="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['ans_view_video']['on_click']; ?>
" href="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['ans_view_video']['url']; ?>
" onClick="<?php echo $this->_tpl_vars['myobj']->getBrowser($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['ans_view_video']['on_click']); ?>
"><img src="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
design/templates/<?php echo $this->_tpl_vars['CFG']['html']['template']['default']; ?>
/root/images/<?php echo $this->_tpl_vars['CFG']['html']['stylesheet']['screen']['default']; ?>
/icon-qusvideo.gif" alt="<?php echo $this->_tpl_vars['LANG']['questions_video_available']; ?>
" /></a></span>
						<?php endif; ?>
						<?php if (chkIsAudioAllowed ( 'question' ) && $this->_tpl_vars['myobj']->question_details['audio_id']): ?>
							<span><a id="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['ans_view_audio']['on_click']; ?>
" href="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['ans_view_audio']['url']; ?>
" onClick="<?php echo $this->_tpl_vars['myobj']->getBrowser($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['ans_view_audio']['on_click']); ?>
" ><img src="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
design/templates/<?php echo $this->_tpl_vars['CFG']['html']['template']['default']; ?>
/root/images/<?php echo $this->_tpl_vars['CFG']['html']['stylesheet']['screen']['default']; ?>
/icon-qusaudio.gif" alt="<?php echo $this->_tpl_vars['LANG']['common_audio_available']; ?>
" /></a></span>
						<?php endif; ?>
						<?php if (chkExternalVideoAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->question_details['external_video_id']): ?>
	                       <span><a id="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['ans_view_ext_video']['on_click']; ?>
" href="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['ans_view_ext_video']['url']; ?>
" onClick="<?php echo $this->_tpl_vars['myobj']->getBrowser($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['ans_view_ext_video']['on_click']); ?>
"><img src="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
design/templates/<?php echo $this->_tpl_vars['CFG']['html']['template']['default']; ?>
/root/images/<?php echo $this->_tpl_vars['CFG']['html']['stylesheet']['screen']['default']; ?>
/icon-externalvideo.gif" alt="<?php echo $this->_tpl_vars['LANG']['external_video_available']; ?>
" title="<?php echo $this->_tpl_vars['LANG']['external_video_available']; ?>
" /></a></span>
                        <?php endif; ?>
                        <?php if (chkExternalAudioAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->question_details['external_audio_id']): ?>
                           <span><a id="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['ans_view_ext_audio']['on_click']; ?>
" href="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['ans_view_ext_audio']['url']; ?>
" onClick="<?php echo $this->_tpl_vars['myobj']->getBrowser($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['ans_view_ext_audio']['on_click']); ?>
"><img src="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
design/templates/<?php echo $this->_tpl_vars['CFG']['html']['template']['default']; ?>
/root/images/<?php echo $this->_tpl_vars['CFG']['html']['stylesheet']['screen']['default']; ?>
/icon-externalaudio.gif" alt="<?php echo $this->_tpl_vars['LANG']['external_video_available']; ?>
" title="<?php echo $this->_tpl_vars['LANG']['external_video_available']; ?>
" /></a></span>
						<?php endif; ?>

						<p class="clsDesc"><?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['description_manual']; ?>
</p>
						<div>
							<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['showCategoryNameInAdmin']; ?>

							<span class="clsForumAuthor"><?php echo $this->_tpl_vars['LANG']['common_question_asked_by']; ?>
 <a href="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
admin/viewMembers.php?uid=<?php echo $this->_tpl_vars['myobj']->question_details['user_id']; ?>
"><?php echo $this->_tpl_vars['myobj']->question_details['asked_by']; ?>
</a></span>
							&nbsp;-&nbsp;
							<span><?php echo $this->_tpl_vars['myobj']->question_details['total_answer']; ?>
&nbsp;<?php echo $this->_tpl_vars['LANG']['answers']; ?>
</span>
							&nbsp;-&nbsp;
							<?php if ($this->_tpl_vars['CFG']['admin']['questions_module']['voting']): ?>
							<span><?php echo $this->_tpl_vars['LANG']['helpful']; ?>
:<span class="clsNoBorder clsBold"><?php echo $this->_tpl_vars['myobj']->question_details['votes']; ?>
</span></span>
							&nbsp;-&nbsp;
							<?php endif; ?>
							<span>
							<?php if ($this->_tpl_vars['myobj']->question_details['date_asked']): ?>
								<?php echo $this->_tpl_vars['myobj']->getTimeDiffernceFormat($this->_tpl_vars['myobj']->question_details['date_asked']); ?>

                            <?php endif; ?>

							</span>
							&nbsp;-&nbsp;
							<span><a href="manageAnswers.php?qid=<?php echo $this->_tpl_vars['myobj']->question_details['ques_id']; ?>
&amp;f=v"><?php echo $this->_tpl_vars['LANG']['common_edit']; ?>
</a></span>
							&nbsp;-&nbsp;
							<span><a id="anchorDelQuestion"  href="#" title="<?php echo $this->_tpl_vars['LANG']['common_delete']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteQuestion','<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['qid']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_deletequestion_message']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['common_delete']; ?>
</a></span>
							<?php if (chkIsVideoAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->question_details['video_id']): ?>
								&nbsp;-&nbsp;
								<a id="anchorDeleteQuestionVideo"  href="#" title="<?php echo $this->_tpl_vars['LANG']['delete_video']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteQuestionVideo','<?php echo $this->_tpl_vars['myobj']->question_details['video_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_delete_video_message']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['delete_video']; ?>
</a>
							<?php endif; ?>
							<?php if (chkIsAudioAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->question_details['audio_id']): ?>
								&nbsp;-&nbsp;
								<a id="anchorDeleteQuestionAudio"  href="#" title="<?php echo $this->_tpl_vars['LANG']['delete_audio']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteQuestionAudio','<?php echo $this->_tpl_vars['myobj']->question_details['audio_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_delete_audio_message']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['delete_audio']; ?>
</a>
							<?php endif; ?>
							 <?php if (chkExternalVideoAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->question_details['external_video_id']): ?>
								&nbsp;-&nbsp;
								<a id="anchorDeleteExternalVideo"  href="#" title="<?php echo $this->_tpl_vars['LANG']['delete_external_video']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteQuestion_ExtVideo','<?php echo $this->_tpl_vars['myobj']->question_details['external_video_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['delete_external_video_confirmation']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['delete_external_video']; ?>
</a>
							<?php endif; ?>
							<?php if (chkExternalAudioAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->question_details['external_audio_id']): ?>
								&nbsp;-&nbsp;
								<a id="anchorDeleteExternalAudio"  href="#" title="<?php echo $this->_tpl_vars['LANG']['delete_external_audio']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteQuestion_ExtAudio','<?php echo $this->_tpl_vars['myobj']->question_details['external_audio_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['delete_external_audio_confirmation']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['delete_external_audio']; ?>
</a>
							<?php endif; ?>
							<?php if ($this->_tpl_vars['myobj']->question_details['is_open']): ?>
                                <ul>
                                	<li>
										<a id="anchorResolveQuestion"  href="#" title="<?php echo $this->_tpl_vars['LANG']['answers_resolve_question']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','qid', 'confirmation_msg'), Array('resolve','<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['qid']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_resolve_message']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['answers_resolve_question']; ?>
</a>
									</li>
								</ul>
							<?php endif; ?>
						  <!--start-->
							   <div id="allAttachments">
								<div  class="clsReplies">
									<?php if (isset ( $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['fetchMoreAttachments']['row'] )): ?>
										<div class="clsViewReplies">
                                            <?php $_from = $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['fetchMoreAttachments']['row']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['fmaKey'] => $this->_tpl_vars['fmaValue']):
?>
                                                <div class="clsBlogReply">
                                                    <ul class="clsBlogDisplayLinks">
                                                        <li class="clsLastBlogInfo"></li>
                                                        <li id="attach_<?php echo $this->_tpl_vars['fmaValue']['record']['attachment_id']; ?>
">
                                                            <p class="">
															<div class="clsThumbImageOuter cls90PXthumbImage">
															 <div class="clsrThumbImageMiddle">
																<div class="clsThumbImageInner">
																<a id="<?php echo $this->_tpl_vars['fmaValue']['img_id']; ?>
" href="<?php echo $this->_tpl_vars['fmaValue']['attachment_path']; ?>
" onclick="return displayImageGallery('<?php echo $this->_tpl_vars['fmaValue']['img_id']; ?>
')" title="<?php echo $this->_tpl_vars['fmaValue']['attachment_name']; ?>
" ><img src="<?php echo $this->_tpl_vars['fmaValue']['image_path']; ?>
" /></a>
															</div></div></div><img src="<?php echo $this->_tpl_vars['fmaValue']['image_large_path']; ?>
" style="display: none;" />
                                                            <a href="#" id="<?php echo $this->_tpl_vars['fmaValue']['anchor']; ?>
" onClick="return Confirmation('selDelAttachconfirm', 'msgAttachConfirmform', Array('act', 'attach_id', 'attach_content_id', 'attach_name', 'msgAttachConfirmText'), Array('deletemoreattachments', '<?php echo $this->_tpl_vars['fmaValue']['record']['attachment_id']; ?>
', '<?php echo $this->_tpl_vars['fmaValue']['record']['content_id']; ?>
', '<?php echo $this->_tpl_vars['fmaValue']['attachment_file_name']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_remove_info_message']; ?>
'), Array('value', 'value', 'value', 'value', 'innerHTML'));" class="clsAttachmentRemove"><?php echo $this->_tpl_vars['LANG']['common_remove_attachments']; ?>
</a></p>
                                                        </li>
                                                    </ul>
                                                </div>
                                            <?php endforeach; endif; unset($_from); ?>

                                        </div>
									<?php endif; ?>
								</div>
							  </div>
						       <!--end-->
						</div>
						</td>
					</tr>

                    <?php if ($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']): ?>

                        <tr>
                            <td class="clsForumTitle">
                            <div class="clsAnswers">
                                <p><strong><?php echo $this->_tpl_vars['LANG']['best_answer']; ?>
</strong></p>
                                <?php if (chkIsVideoAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['video_id']): ?>
                                    <span><a id="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['ans_view_video']['on_click']; ?>
" href="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['ans_view_video']['url']; ?>
" onClick="<?php echo $this->_tpl_vars['myobj']->getBrowser($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['ans_view_video']['on_click']); ?>
"><img src="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
design/templates/<?php echo $this->_tpl_vars['CFG']['html']['template']['default']; ?>
/images/icon-video.png" alt="<?php echo $this->_tpl_vars['LANG']['questions_video_available']; ?>
" /></a></span>
                                <?php endif; ?>
                                <?php if (chkIsAudioAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['audio_id']): ?>
                                    <span><a id="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['ans_view_audio']['on_click']; ?>
" href="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['ans_view_audio']['url']; ?>
" onClick="<?php echo $this->_tpl_vars['myobj']->getBrowser($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['ans_view_audio']['on_click']); ?>
" ><img src="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
design/templates/<?php echo $this->_tpl_vars['CFG']['html']['template']['default']; ?>
/images/icon-audio.png" alt="<?php echo $this->_tpl_vars['LANG']['common_audio_available']; ?>
" /></a></span>
                                <?php endif; ?>
                                <?php if (chkExternalVideoAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['external_video_id']): ?>
                                    <span><a id="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['ans_view_ext_video']['on_click']; ?>
" href="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['ans_view_ext_video']['url']; ?>
" onClick="<?php echo $this->_tpl_vars['myobj']->getBrowser($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['ans_view_ext_video']['on_click']); ?>
"><img src="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
design/templates/<?php echo $this->_tpl_vars['CFG']['html']['template']['default']; ?>
/root/images/<?php echo $this->_tpl_vars['CFG']['html']['stylesheet']['screen']['default']; ?>
/icon-externalvideo.gif" alt="<?php echo $this->_tpl_vars['LANG']['external_video_available']; ?>
" title="<?php echo $this->_tpl_vars['LANG']['external_video_available']; ?>
" /></a></span>
                                <?php endif; ?>
                                <?php if (chkExternalAudioAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['external_audio_id']): ?>
                                    <span><a id="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['ans_view_ext_audio']['on_click']; ?>
" href="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['ans_view_ext_audio']['url']; ?>
" onClick="<?php echo $this->_tpl_vars['myobj']->getBrowser($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['ans_view_ext_audio']['on_click']); ?>
"><img src="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
design/templates/<?php echo $this->_tpl_vars['CFG']['html']['template']['default']; ?>
/root/images/<?php echo $this->_tpl_vars['CFG']['html']['stylesheet']['screen']['default']; ?>
/icon-externalaudio.gif" alt="<?php echo $this->_tpl_vars['LANG']['external_video_available']; ?>
" title="<?php echo $this->_tpl_vars['LANG']['external_video_available']; ?>
" /></a></span>
                                <?php endif; ?>
                                <p><?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['row_answer_manual']; ?>
</p>
                                <?php if ($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['source']): ?>
                                    <p><?php echo $this->_tpl_vars['LANG']['answers_sources']; ?>
:</p>
                                    <p><?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['row_source_manual']; ?>
</p>
                                <?php endif; ?>
                                <div>
                                	<?php if ($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['facebook_user_details']): ?>
	                                	<div class="clsUserLinkName clsNoLeftBgPadngMrgn"><a href="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['facebook_user_details']['profile_url']; ?>
"><?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['facebook_user_details']['name']; ?>
</a></div>
	                                	<div class="clsUserLinkName clsNoLeftBgPadngMrgn"> <?php echo $this->_tpl_vars['LANG']['common_via']; ?>
 <a href="http://www.facebook.com/"><?php echo $this->_tpl_vars['LANG']['common_facebook']; ?>
</a></div>
                                	<?php else: ?>
                                    	<span class="clsForumAuthor"><?php echo $this->_tpl_vars['LANG']['common_question_answered_by']; ?>
 <a href="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
admin/viewMembers.php?uid=<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['user_id']; ?>
"><?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['answered_by']; ?>
</a></span>
                                    	&nbsp;-&nbsp;
                                    <?php endif; ?>
									<?php if ($this->_tpl_vars['CFG']['admin']['answers_module']['voting']): ?>
										<span><?php echo $this->_tpl_vars['LANG']['helpful']; ?>
:<span class="clsNoBorder clsBold"><?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['votes']; ?>
</span></span>
										&nbsp;-&nbsp;
								   <?php endif; ?>
                                    <span><?php echo $this->_tpl_vars['myobj']->getTimeDiffernceFormat($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['date_answered']); ?>
</span>
                                    <?php if (chkIsVideoAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['video_id']): ?>
                                        &nbsp;-&nbsp;
                                        <a id="anchorDelVideo"  href="#" title="<?php echo $this->_tpl_vars['LANG']['delete_video']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deletevideo','<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['video_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_delete_video_message']; ?>
'), Array('value','value', 'innerHTML'), 'selListAdvertisementForm');"><?php echo $this->_tpl_vars['LANG']['delete_video']; ?>
</a>
                                    <?php endif; ?>
                                    <?php if (chkIsAudioAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['audio_id']): ?>
                                        &nbsp;-&nbsp;
                                        <a id="anchorDelAudio"  href="#" title="<?php echo $this->_tpl_vars['LANG']['delete_audio']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteaudio','<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['audio_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_delete_audio_message']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['delete_audio']; ?>
</a>
                                    <?php endif; ?>
                                    &nbsp;-&nbsp;
                                    <?php if (chkExternalVideoAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['external_video_id']): ?>
                                        &nbsp;-&nbsp;
                                        <a id="anchorDelExtVideo"  href="#" title="<?php echo $this->_tpl_vars['LANG']['delete_external_video']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteExtvideo','<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['external_video_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['delete_external_video_confirmation']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['delete_external_video']; ?>
</a>
                                    <?php endif; ?>
                                    <?php if (chkExternalAudioAllowed ( 'answer' ) && $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['external_audio_id']): ?>
                                        &nbsp;-&nbsp;
                                        <a id="anchorDelExtAudio"  href="#" title="<?php echo $this->_tpl_vars['LANG']['delete_external_audio']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteExtaudio','<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['external_audio_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['delete_external_audio_confirmation']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['delete_external_audio']; ?>
</a>
                                    <?php endif; ?>
                                    &nbsp;-&nbsp;
                                    <a id="anchorRemoveBest"  href="#" title="<?php echo $this->_tpl_vars['LANG']['delete_best_answer']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteBestAnswer','<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['ans_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_delete_best_answer_message']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['delete_best_answer']; ?>
</a>
                                    &nbsp;-&nbsp;
                                    <a id="anchorDeleteAnswer"  href="#" title="<?php echo $this->_tpl_vars['LANG']['common_delete']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteAnswer','<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['record']['ans_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_delete_message']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['common_delete']; ?>
</a>

									<p class="clsAttachment">
                                    <?php if (isset ( $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['fetchMoreAttachments']['row'] )): ?>
										<div class="clsViewReplies">
                                            <?php $_from = $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['fetchMoreAttachments']['row']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['fmaaKey'] => $this->_tpl_vars['fmaaValue']):
?>
                                                <div class="clsBlogReply">
                                                    <ul class="clsBlogDisplayLinks">
                                                        <li class="clsLastBlogInfo"></li>
                                                        <li id="attach_<?php echo $this->_tpl_vars['fmaaValue']['record']['attachment_id']; ?>
">
                                                            <p class="">
															<div class="clsThumbImageOuter cls90PXthumbImage">
																<div class="clsrThumbImageMiddle">
																	<div class="clsThumbImageInner">
																		<a id="<?php echo $this->_tpl_vars['fmaaValue']['img_id']; ?>
" href="<?php echo $this->_tpl_vars['fmaaValue']['attachment_path']; ?>
" onclick="return displayImageGallery('<?php echo $this->_tpl_vars['fmaaValue']['img_id']; ?>
')" title="<?php echo $this->_tpl_vars['fmaaValue']['attachment_name']; ?>
" ><img src="<?php echo $this->_tpl_vars['fmaaValue']['image_path']; ?>
" /></a>
															         </div><img src="<?php echo $this->_tpl_vars['fmaaValue']['image_large_path']; ?>
" style="display: none;" />
																   </div>
																 </div>

                                                            <a href="#" id="<?php echo $this->_tpl_vars['fmaaValue']['anchor']; ?>
" onClick="return Confirmation('selDelAttachconfirm', 'msgAttachConfirmform', Array('act', 'attach_id', 'attach_content_id', 'attach_name', 'msgAttachConfirmText'), Array('deletemoreattachments', '<?php echo $this->_tpl_vars['fmaaValue']['record']['attachment_id']; ?>
', '<?php echo $this->_tpl_vars['fmaaValue']['record']['content_id']; ?>
', '<?php echo $this->_tpl_vars['fmaaValue']['attachment_file_name']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_remove_info_message']; ?>
'), Array('value', 'value', 'value', 'value', 'innerHTML'));" class="clsAttachmentRemove"><?php echo $this->_tpl_vars['LANG']['common_remove_attachments']; ?>
</a></p>
                                                        </li>
                                                    </ul>
                                                </div>
                                            <?php endforeach; endif; unset($_from); ?>
                                       </div>
                                    <?php endif; ?>
                                    </p>

                                </div>
                            </div>
                            </td>
                        </tr>
						 <tr>
							<td>
						 <?php if ($this->_tpl_vars['CFG']['admin']['answers_comment']['allowed']): ?>
						  <?php if ($this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['populateCommentList']): ?>
							<?php $_from = $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['displayBestAnswer_arr']['populateCommentList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['farlkey'] => $this->_tpl_vars['farlvalue']):
?>
							  <div  class="clsCommentAnswerDisplay">
								<div id="<?php echo $this->_tpl_vars['farlvalue']['commentSpanIDId']; ?>
">
									<p><span><?php echo $this->_tpl_vars['LANG']['common_comment_posted_by']; ?>
</span> : <a href="<?php echo $this->_tpl_vars['farlvalue']['myanswers']['url']; ?>
"><?php echo $this->_tpl_vars['farlvalue']['user_details']['display_name']; ?>
</a></p>
									<p><span><?php echo $this->_tpl_vars['LANG']['common_date_added']; ?>
</span> : <?php echo ((is_array($_tmp=$this->_tpl_vars['farlvalue']['record']['date_added'])) ? $this->_run_mod_handler('date_format', true, $_tmp) : smarty_modifier_date_format($_tmp)); ?>
</p>
									<p><?php echo $this->_tpl_vars['farlvalue']['record']['comment']; ?>
</p>
								</div>
							  </div>
							<?php endforeach; endif; unset($_from); ?>
						<?php endif; ?>
						<?php endif; ?>
						</td>
					</tr>
				   <?php endif; ?>

				</table>
				</form>
				</div>

				<?php if ($this->_tpl_vars['myobj']->question_details['is_open'] && $this->_tpl_vars['myobj']->question_details['user_id'] != $this->_tpl_vars['CFG']['user']['user_id']): ?>
					<span class="clsAnswerQuestion"><a target="_blank" href="<?php echo $this->_tpl_vars['myobj']->form_question['displayQuestionDetails_arr']['reply_answer']['url']; ?>
"><?php echo $this->_tpl_vars['LANG']['answers_this_question']; ?>
</a></span>
				<?php endif; ?>
	<?php endif; ?>

<?php endif; ?>

<?php if ($this->_tpl_vars['myobj']->isShowPageBlock('form_answers')): ?>
    <?php if ($this->_tpl_vars['myobj']->isResultsFound()): ?>

        <?php if ($this->_tpl_vars['CFG']['admin']['navigation']['top']): ?>
            <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'pagination.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
        <?php endif; ?>

            <form name="selListAdvertisementForm" id="selListAdvertisementForm" method="post" action="<?php echo $this->_tpl_vars['myobj']->getCurrentUrl(); ?>
" autocomplete="off">
                <table summary="<?php echo $this->_tpl_vars['LANG']['display_all_answers']; ?>
">
                <?php $_from = $this->_tpl_vars['myobj']->form_answers['displayAllAnswers_arr']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['daKey'] => $this->_tpl_vars['daValue']):
?>
                        <tr id="<?php echo $this->_tpl_vars['daValue']['ans_id']; ?>
">
                            <td>
                            <input type="checkbox" class="clsCheckRadio" name="aid[]" value="<?php echo $this->_tpl_vars['daValue']['record']['ans_id']; ?>
" tabindex="<?php echo smartyTabIndex(array(), $this);?>
" />
                            </td>
                            <td>
                            <div class="clsAnswers">
                                <p><?php echo $this->_tpl_vars['daValue']['row_answer_manual']; ?>
</p>
                                <div>
	                                <?php if (chkIsVideoAllowed ( 'answer' ) && $this->_tpl_vars['daValue']['record']['video_id']): ?>
	                                    <span><a id="<?php echo $this->_tpl_vars['daValue']['ans_view_video']['on_click']; ?>
" href="<?php echo $this->_tpl_vars['daValue']['ans_view_video']['url']; ?>
" onClick="<?php echo $this->_tpl_vars['myobj']->getBrowser($this->_tpl_vars['daValue']['ans_view_video']['on_click']); ?>
"><img src="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
design/templates/<?php echo $this->_tpl_vars['CFG']['html']['template']['default']; ?>
/root/images/<?php echo $this->_tpl_vars['CFG']['html']['stylesheet']['screen']['default']; ?>
/icon-qusvideo.gif" alt="<?php echo $this->_tpl_vars['LANG']['questions_video_available']; ?>
" title="<?php echo $this->_tpl_vars['LANG']['questions_video_available']; ?>
" /></a></span>
	                                <?php endif; ?>
	                                <?php if (chkIsAudioAllowed ( 'answer' ) && $this->_tpl_vars['daValue']['record']['audio_id']): ?>
	                                    <span><a id="<?php echo $this->_tpl_vars['daValue']['ans_view_audio']['on_click']; ?>
" href="<?php echo $this->_tpl_vars['daValue']['ans_view_audio']['url']; ?>
" onClick="<?php echo $this->_tpl_vars['myobj']->getBrowser($this->_tpl_vars['daValue']['ans_view_audio']['on_click']); ?>
"><img src="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
design/templates/<?php echo $this->_tpl_vars['CFG']['html']['template']['default']; ?>
/root/images/<?php echo $this->_tpl_vars['CFG']['html']['stylesheet']['screen']['default']; ?>
/icon-qusaudio.gif" alt="<?php echo $this->_tpl_vars['LANG']['common_audio_available']; ?>
" title="<?php echo $this->_tpl_vars['LANG']['common_audio_available']; ?>
" /></a></span>
	                                <?php endif; ?>
	                                <?php if (chkExternalVideoAllowed ( 'answer' ) && $this->_tpl_vars['daValue']['record']['external_video_id']): ?>
	                                    <span><a id="<?php echo $this->_tpl_vars['daValue']['ans_view_ext_video']['on_click']; ?>
" href="<?php echo $this->_tpl_vars['daValue']['ans_view_ext_video']['url']; ?>
" onClick="<?php echo $this->_tpl_vars['myobj']->getBrowser($this->_tpl_vars['daValue']['ans_view_ext_video']['on_click']); ?>
"><img src="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
design/templates/<?php echo $this->_tpl_vars['CFG']['html']['template']['default']; ?>
/root/images/<?php echo $this->_tpl_vars['CFG']['html']['stylesheet']['screen']['default']; ?>
/icon-externalvideo.gif" alt="<?php echo $this->_tpl_vars['LANG']['external_video_available']; ?>
" title="<?php echo $this->_tpl_vars['LANG']['external_video_available']; ?>
" /></a></span>
	                                <?php endif; ?>
	                                <?php if (chkExternalAudioAllowed ( 'answer' ) && $this->_tpl_vars['daValue']['record']['external_audio_id']): ?>
	                                    <span><a id="<?php echo $this->_tpl_vars['daValue']['ans_view_ext_audio']['on_click']; ?>
" href="<?php echo $this->_tpl_vars['daValue']['ans_view_ext_audio']['url']; ?>
" onClick="<?php echo $this->_tpl_vars['myobj']->getBrowser($this->_tpl_vars['daValue']['ans_view_ext_audio']['on_click']); ?>
"><img src="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
design/templates/<?php echo $this->_tpl_vars['CFG']['html']['template']['default']; ?>
/root/images/<?php echo $this->_tpl_vars['CFG']['html']['stylesheet']['screen']['default']; ?>
/icon-externalaudio.gif" alt="<?php echo $this->_tpl_vars['LANG']['external_video_available']; ?>
" title="<?php echo $this->_tpl_vars['LANG']['external_video_available']; ?>
" /></a></span>
	                                <?php endif; ?>
                                </div>
                                <?php if ($this->_tpl_vars['daValue']['record']['source']): ?>
                                    <p><?php echo $this->_tpl_vars['LANG']['answers_sources']; ?>
:</p>
                                    <p><?php echo $this->_tpl_vars['daValue']['row_source_manual']; ?>
</p>
                                <?php endif; ?>
                                <div>
                                <?php if ($this->_tpl_vars['daValue']['facebook_user_details']): ?>
                                	<div class="clsUserLinkName clsNoLeftBgPadngMrgn"><a href="<?php echo $this->_tpl_vars['daValue']['facebook_user_details']['profile_url']; ?>
"><?php echo $this->_tpl_vars['daValue']['facebook_user_details']['name']; ?>
</a></div>
                                	<div class="clsUserLinkName clsNoLeftBgPadngMrgn"> <?php echo $this->_tpl_vars['LANG']['common_via']; ?>
 <a href="http://www.facebook.com/"><?php echo $this->_tpl_vars['LANG']['common_facebook']; ?>
</a></div>
                                <?php else: ?>
                                    <span class="clsForumAuthor"><?php echo $this->_tpl_vars['LANG']['common_question_answered_by']; ?>
 <a href="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
admin/viewMembers.php?uid=<?php echo $this->_tpl_vars['daValue']['record']['user_id']; ?>
"><?php echo $this->_tpl_vars['daValue']['row_answered_by_manual']; ?>
</a></span>
                                    &nbsp;-&nbsp;
                                <?php endif; ?>
                                    <span><?php echo $this->_tpl_vars['myobj']->getTimeDiffernceFormat($this->_tpl_vars['daValue']['record']['date_answered']); ?>
</span>
                                    <?php if ($this->_tpl_vars['CFG']['admin']['abuse_answers']['allowed'] && $this->_tpl_vars['CFG']['user']['user_id'] != $this->_tpl_vars['daValue']['record']['user_id'] && $this->_tpl_vars['myobj']->question_details['status'] == 'Open'): ?>
                                        &nbsp;-&nbsp;
                                        <span>(<?php echo $this->_tpl_vars['LANG']['common_abuse_count']; ?>
 <a id="selAbuseDetails" href="manageAbuseContent.php?aid=<?php echo $this->_tpl_vars['daValue']['record']['ans_id']; ?>
&qid=<?php echo $this->_tpl_vars['daValue']['record']['ques_id']; ?>
" onclick="<?php echo $this->_tpl_vars['myobj']->getBrowser('selAbuseDetails'); ?>
"><?php echo $this->_tpl_vars['daValue']['record']['abuse_count']; ?>
</a>)</span>
                                    <?php endif; ?>
                                    <?php if ($this->_tpl_vars['CFG']['admin']['answers_module']['voting']): ?>
										<span><?php echo $this->_tpl_vars['LANG']['helpful']; ?>
:<span class="clsNoBorder clsBold"><?php echo $this->_tpl_vars['daValue']['record']['votes']; ?>
</span></span>
									<?php endif; ?>
                                    <?php if ($this->_tpl_vars['CFG']['admin']['best_answers']['allowed'] && $this->_tpl_vars['myobj']->question_details['best_ans_id'] == 0 && $this->_tpl_vars['daValue']['record']['status'] != 'ToActivate'): ?>
                                        &nbsp;-&nbsp;
                                        <a id="<?php echo $this->_tpl_vars['daValue']['anchor1']; ?>
"  href="#" title="<?php echo $this->_tpl_vars['LANG']['best_answer']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('bestanswer','<?php echo $this->_tpl_vars['daValue']['record']['ans_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['best_answer_confirm_message']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['best_answer']; ?>
</a>
                                    <?php endif; ?>
                                    <?php if (chkIsVideoAllowed ( 'answer' ) && $this->_tpl_vars['daValue']['record']['video_id']): ?>
                                        &nbsp;-&nbsp;
                                        <a id="<?php echo $this->_tpl_vars['daValue']['anchor1']; ?>
"  href="#" title="<?php echo $this->_tpl_vars['LANG']['delete_video']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deletevideo','<?php echo $this->_tpl_vars['daValue']['record']['video_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_delete_video_message']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['delete_video']; ?>
</a>
                                    <?php endif; ?>
                                    <?php if (chkIsAudioAllowed ( 'answer' ) && $this->_tpl_vars['daValue']['record']['audio_id']): ?>
                                        &nbsp;-&nbsp;
                                        <a id="<?php echo $this->_tpl_vars['daValue']['anchor2']; ?>
"  href="#" title="<?php echo $this->_tpl_vars['LANG']['delete_audio']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteaudio','<?php echo $this->_tpl_vars['daValue']['record']['audio_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_delete_audio_message']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['delete_audio']; ?>
</a>
                                    <?php endif; ?>
                                    <?php if (chkExternalVideoAllowed ( 'answer' ) && $this->_tpl_vars['daValue']['record']['external_video_id']): ?>
                                        &nbsp;-&nbsp;
                                        <a id="<?php echo $this->_tpl_vars['daValue']['anchor3']; ?>
"  href="#" title="<?php echo $this->_tpl_vars['LANG']['delete_external_video']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteExtvideo','<?php echo $this->_tpl_vars['daValue']['record']['external_video_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['delete_external_video_confirmation']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['delete_external_video']; ?>
</a>
                                    <?php endif; ?>
                                    <?php if (chkExternalAudioAllowed ( 'answer' ) && $this->_tpl_vars['daValue']['record']['external_audio_id']): ?>
                                        &nbsp;-&nbsp;
                                        <a id="<?php echo $this->_tpl_vars['daValue']['anchor4']; ?>
"  href="#" title="<?php echo $this->_tpl_vars['LANG']['delete_external_audio']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteExtaudio','<?php echo $this->_tpl_vars['daValue']['record']['external_audio_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['delete_external_audio_confirmation']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['delete_external_audio']; ?>
</a>
                                    <?php endif; ?>
                                    <?php if ($this->_tpl_vars['daValue']['record']['status'] == 'ToActivate'): ?>
                                        &nbsp;-&nbsp;
                                        <a id="<?php echo $this->_tpl_vars['daValue']['anchor2']; ?>
"  href="#" title="<?php echo $this->_tpl_vars['LANG']['publish']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('publishanswer','<?php echo $this->_tpl_vars['daValue']['record']['ans_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['publish_answer_confirm_message']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['publish']; ?>
</a>
                                    <?php endif; ?>
                                    <p  class="clsAttachment">
                                    <?php if (isset ( $this->_tpl_vars['daValue']['fetchMoreAttachments']['row'] )): ?>
									<div class="clsViewReplies">
                                            <?php $_from = $this->_tpl_vars['daValue']['fetchMoreAttachments']['row']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['fmaaKey'] => $this->_tpl_vars['fmaaValue']):
?>
                                                <div class="clsBlogReply">
                                                    <ul class="clsBlogDisplayLinks">
                                                        <li class="clsLastBlogInfo"></li>
                                                        <li id="attach_<?php echo $this->_tpl_vars['fmaaValue']['record']['attachment_id']; ?>
">
                                                            <p class="">
															<div class="clsThumbImageOuter cls90PXthumbImage">
																<div class="clsrThumbImageMiddle">
																	<div class="clsThumbImageInner">
																		<a id="<?php echo $this->_tpl_vars['fmaaValue']['img_id']; ?>
" href="<?php echo $this->_tpl_vars['fmaaValue']['attachment_path']; ?>
" onclick="return displayImageGallery('<?php echo $this->_tpl_vars['fmaaValue']['img_id']; ?>
')" title="<?php echo $this->_tpl_vars['fmaaValue']['attachment_name']; ?>
" ><img src="<?php echo $this->_tpl_vars['fmaaValue']['image_path']; ?>
" /></a>
															         </div><img src="<?php echo $this->_tpl_vars['fmaaValue']['image_large_path']; ?>
" style="display: none;" />
																   </div>
																 </div>
                                                            <a href="#" id="<?php echo $this->_tpl_vars['fmaaValue']['anchor']; ?>
" onClick="return Confirmation('selDelAttachconfirm', 'msgAttachConfirmform', Array('act', 'attach_id', 'attach_content_id', 'attach_name', 'msgAttachConfirmText'), Array('deletemoreattachments', '<?php echo $this->_tpl_vars['fmaaValue']['record']['attachment_id']; ?>
', '<?php echo $this->_tpl_vars['fmaaValue']['record']['content_id']; ?>
', '<?php echo $this->_tpl_vars['fmaaValue']['attachment_file_name']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_remove_info_message']; ?>
'), Array('value', 'value', 'value', 'value', 'innerHTML'));" class="clsAttachmentRemove"><?php echo $this->_tpl_vars['LANG']['common_remove_attachments']; ?>
</a></p>
                                                        </li>
                                                    </ul>
                                                </div>
                                            <?php endforeach; endif; unset($_from); ?>
                                       </div>
                                    <?php endif; ?>
                                    </p>
                                </div>
                            </div>

							<div id="msg<?php echo $this->_tpl_vars['daValue']['commentSpanIDId']; ?>
">
							<?php if ($this->_tpl_vars['CFG']['admin']['answers_comment']['allowed']): ?>
							<?php if ($this->_tpl_vars['daValue']['populateCommentList']): ?>
								<?php $_from = $this->_tpl_vars['daValue']['populateCommentList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['farlkey'] => $this->_tpl_vars['farlvalue']):
?>
                                <div  class="clsCommentAnswerDisplay">
										<div id="<?php echo $this->_tpl_vars['farlvalue']['commentSpanIDId']; ?>
">
											<p><span><?php echo $this->_tpl_vars['LANG']['common_comment_posted_by']; ?>
</span> : <a href="<?php echo $this->_tpl_vars['farlvalue']['myanswers']['url']; ?>
"><?php echo $this->_tpl_vars['farlvalue']['user_details']['display_name']; ?>
</a></p>
											<p><span><?php echo $this->_tpl_vars['LANG']['common_date_added']; ?>
</span> : <?php echo ((is_array($_tmp=$this->_tpl_vars['farlvalue']['record']['date_added'])) ? $this->_run_mod_handler('date_format', true, $_tmp) : smarty_modifier_date_format($_tmp)); ?>
</p>
											<p><?php echo $this->_tpl_vars['farlvalue']['record']['comment']; ?>
</p>
										</div>
										<p><span id="editComment_<?php echo $this->_tpl_vars['daValue']['record']['ans_id']; ?>
"><a href="<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
admin/viewAnswers.php?qid=<?php echo $this->_tpl_vars['myobj']->getFormField('qid'); ?>
"  onClick="if(checkifAlreadyOpen())ajaxUpdateDiv('<?php echo $this->_tpl_vars['CFG']['site']['url']; ?>
admin/viewAnswers.php?qid=<?php echo $this->_tpl_vars['myobj']->getFormField('qid'); ?>
', 'ajax_page=true&showOptionToComment=1&c_ans_id=<?php echo $this->_tpl_vars['daValue']['record']['ans_id']; ?>
&c_seo_title=<?php echo $this->_tpl_vars['myobj']->question_details['seo_title']; ?>
&c_qid= <?php echo $this->_tpl_vars['myobj']->getFormField('qid'); ?>
&comment_id=<?php echo $this->_tpl_vars['farlvalue']['record']['comment_id']; ?>
', '<?php echo $this->_tpl_vars['farlvalue']['commentSpanIDId']; ?>
'); return false;"><?php echo $this->_tpl_vars['LANG']['edit_comment']; ?>
</a></span> |
										<a  href="#" title="<?php echo $this->_tpl_vars['LANG']['common_delete']; ?>
" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','comment_id', 'confirmation_msg'), Array('deletecomment','<?php echo $this->_tpl_vars['farlvalue']['record']['comment_id']; ?>
', '<?php echo $this->_tpl_vars['LANG']['confirm_delete_message_comment']; ?>
'), Array('value','value', 'innerHTML'));"><?php echo $this->_tpl_vars['LANG']['common_delete']; ?>
</a>

										</p>
                                        </div>

								<?php endforeach; endif; unset($_from); ?>
							<?php endif; ?>
							<?php endif; ?>
						   </div>
                            </td>
                        </tr>

                <?php endforeach; endif; unset($_from); ?>

                <tr>
					<td></td>
                    <td>
                    <a href="#" id="<?php echo $this->_tpl_vars['myobj']->da_anchor; ?>
"></a>
                    <input type="button" class="clsSubmitButton" name="delete_submit" id="delete_submit" tabindex="<?php echo smartyTabIndex(array(), $this);?>
" value="<?php echo $this->_tpl_vars['LANG']['common_delete']; ?>
" onClick="if(getMultiCheckBoxValue('selListAdvertisementForm', 'check_all', '<?php echo $this->_tpl_vars['LANG']['select_a_answer']; ?>
'))Confirmation('selMsgConfirm', 'deleteForm', Array('aid', 'act', 'confirmation_msg'), Array(multiCheckValue, 'delete', '<?php echo $this->_tpl_vars['myobj']->form_answers['confirm_delete']; ?>
'), Array('value', 'value', 'innerHTML'));" />
                    </td>
                </tr>
            </table>
            </form>

        <?php if ($this->_tpl_vars['CFG']['admin']['navigation']['bottom']): ?>
            <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'pagination.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
        <?php endif; ?>

    <?php else: ?>
        <div id="selMsgAlert">
            <p><?php echo $this->_tpl_vars['LANG']['answers_not_added']; ?>
</p>
        </div>
    <?php endif; ?>

<?php endif; ?>
</div>
