<div id="selListAll">
	<h2 class="clsOpenQuestion">{$myobj->title}</h2>
        <div id="selMisNavLinks">
        <ul>
            <li><a href="{$CFG.site.relative_url}manageDebates.php">{$LANG.back_to_debates}</a></li>
        </ul>
	</div>

{include file='information.tpl'}

{if $myobj->isShowPageBlock('form_debate')}

    <div id="selMsgConfirm" class="selMsgConfirm" style="display:none;position:absolute;">
    <h3 id="confirmation_msg"></h3>
    <form name="deleteForm" id="deleteForm" method="post" action="viewDebates.php?did={$myobj->getFormField('did')}" autocomplete="off">
        <table >
            <tr>
                <td>
                    <input type="submit" class="clsSubmitButton" name="delete_add" id="delete_add" value="{$LANG.common_yes_option}" tabindex="{smartyTabIndex}" /> &nbsp;
                    <input type="button" class="clsCancelButton" name="cancel" id="cancel" value="{$LANG.common_no_option}" tabindex="{smartyTabIndex}" onClick="return hideAllBlocks();" />
                    <input type="hidden" name="aid" id="aid" />
                    <input type="hidden" name="act" id="act" />
                    {$myobj->populateHidden($myobj->form_debate.delete_hidden_arr)}
                </td>
            </tr>
        </table>
    </form>
    </div>
{/if}

{if $myobj->isShowPageBlock('form_confirm')}
		  <div id="selMsgConfirm">
		    <form name="selFormConfirm" id="selFormConfirm" method="post" action="{$CFG.site.relative_url}viewDebates.php?did={$myobj->getFormField('did')}">
				<p>{$myobj->confirm_message}</p>
		      <table summary="{$LANG.confirm_tbl_summary}" border="1">
		        <tr>
		          <td>
		            <input type="submit" class="clsSubmitButton" name="{$myobj->action}" id="{$myobj->action}" tabindex="{smartyTabIndex}" value="{$LANG.response_yes}" />
				  </td>
				  <td>
				  	<input type="submit" class="clsCancelButton" name="cancel" id="cancel" tabindex="{smartyTabIndex}" value="{$LANG.response_no}"  />
		          </td>
		        </tr>
			  </table>
			  {$myobj->populateHidden($myobj->hidden_array)}
			</form>
		  </div>
{/if}


{if $myobj->isShowPageBlock('form_search')}
    <form name="selDebateSearchs" id="selDebateSearchs" method="post" action="{$CFG.site.relative_url}manageDebates.php" autocomplete="off">
		    <table summary="{$LANG.response_tbl_summary}">
		      <tr>
		        <td class="{$myobj->getCSSFormLabelCellClass('search_name')}"><label for="search_name">{$LANG.response_search_name}</label></td>
		        <td class="{$myobj->getCSSFormFieldCellClass('search_name')}">
		          <input type="text" class="clsTextBox" name="search_name" id="search_name" tabindex="{smartyTabIndex}" value="{$myobj->getFormField('search_name')}" />
                  {$myobj->getFormFieldElementErrorTip('search_name')}
                 </td>
		      </tr>
		      <tr>
		        <td class="{$myobj->getCSSFormLabelCellClass('search_cat')}"><label for="search_cat">{$LANG.response_search_cat}</label></td>
		        <td class="{$myobj->getCSSFormFieldCellClass('search_cat')}">
		          <select name="search_cat" id="search_cat" tabindex="{smartyTabIndex}">
                  	{$myobj->generalPopulateArray($myobj->search_cat_arr, $myobj->getFormField('search_cat'))}
		          </select>
                  {$myobj->getFormFieldElementErrorTip('search_cat')}
		        </td>
		      </tr>
		      <tr>
		        <td colspan="2"  class="{$myobj->getCSSFormFieldCellClass('submit')}"><input type="submit" class="clsSubmitButton" name="go" tabindex="{smartyTabIndex}" value="{$LANG.response_go}" /></td>
		      </tr>
		    </table>
		</form>
{/if}

{if $myobj->isShowPageBlock('form_debate')}
	{if $myobj->form_debate.displayDebateDetails_arr}   {*if $myobj->debate_details*}

				<div id="selQuickLinks">
				{$myobj->showAnotherDebate()}
				<form name="debateDetails" id="debateDetails" method="post" action="{$myobj->getCurrentUrl()}" autocomplete="off">
				<table summary="display debate details" id="selAuthorTbl">
					<tr>
						<td class="clsForumTitle">
						{$myobj->displayProfileImage($myobj->debate_details, 'thumb', false)}
						<p class="clsBold"><strong>{$myobj->form_debate.displayDebateDetails_arr.debate_manual}</strong></p>
						{if chkIsVideoAllowed('debate') AND $myobj->debate_details.video_id}
							<span><a id="video_add{$myobj->form_debate.displayDebateDetails_arr.did}" href="{$myobj->form_debate.displayDebateDetails_arr.ans_view_video.url}" onClick="{$myobj->getBrowser($myobj->form_debate.displayDebateDetails_arr.ans_view_video.on_click)}"><img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-qusvideo1.gif" alt="{$LANG.debates_video_available}" /></a></span>
						{/if}
						{if chkIsAudioAllowed('debate') AND $myobj->debate_details.audio_id}
							<span><a id="audio_add{$myobj->form_debate.displayDebateDetails_arr.did}" href="{$myobj->form_debate.displayDebateDetails_arr.ans_view_audio.url}" onClick="{$myobj->getBrowser($myobj->form_debate.displayDebateDetails_arr.ans_view_audio.on_click)}"  params="lightwindow_height=110"><img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-qusaudio1.gif" alt="{$LANG.debates_audio_available}" /></a></span>
						{/if}
						<p class="clsDesc">{$myobj->form_debate.displayDebateDetails_arr.description_manual}</p>
						<p>
							{$myobj->form_debate.displayDebateDetails_arr.showCategoryNameInAdmin}
							<span class="clsForumAuthor">{$LANG.response_asked_by} <a href="{$CFG.site.url}admin/viewMembers.php?uid={$myobj->debate_details.user_id}">{$myobj->debate_details.asked_by}</a></span>
							&nbsp;-&nbsp;
							<span>{$myobj->debate_details.total_againsts}&nbsp;{$LANG.common_total_responses}</span>
							&nbsp;-&nbsp;
							<span>
							{if $myobj->debate_details.date_asked}
								{$myobj->getTimeDiffernceFormat($myobj->debate_details.date_asked)}
                            {/if}

							</span>
							&nbsp;-&nbsp;
							<span><a href="manageDebates.php?did={$myobj->debate_details.debate_id}&f=v">{$LANG.common_edit}</a></span>
							&nbsp;-&nbsp;
							<span><a id="anchorDelDebate"  href="#" title="{$LANG.response_delete}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteDebate','{$myobj->form_debate.displayDebateDetails_arr.did}', '{$LANG.confirm_delete_debate_message}'), Array('value','value', 'innerHTML'));">{$LANG.response_delete}</a></span>
							{if chkIsVideoAllowed('debate') AND $myobj->debate_details.video_id}
								&nbsp;-&nbsp;
								<a id="anchorDeleteDebateVideo"  href="#" title="{$LANG.delete_video}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteDebateVideo','{$myobj->debate_details.video_id}', '{$LANG.confirm_delete_video_message}'), Array('value','value', 'innerHTML'));">{$LANG.delete_video}</a>
							{/if}
							{if chkIsAudioAllowed('debate') AND $myobj->debate_details.audio_id}
								&nbsp;-&nbsp;
								<a id="anchorDeleteDebateAudio"  href="#" title="{$LANG.delete_audio}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteDebateAudio','{$myobj->debate_details.audio_id}', '{$LANG.confirm_delete_audio_message}'), Array('value','value', 'innerHTML'));">{$LANG.delete_audio}</a>
							{/if}
							{if $myobj->debate_details.is_open}
                                <ul>
                                	<li>
										<a id="anchorResolveDebate"  href="#" title="{$LANG.response_resolve_debate}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','did', 'confirmation_msg'), Array('resolve','{$myobj->form_debate.displayDebateDetails_arr.did}', '{$LANG.confirm_resolve_message}'), Array('value','value', 'innerHTML'));">{$LANG.response_resolve_debate}</a>
									</li>
								</ul>
							{/if}

						</p>
						</td>
					</tr>
                    {if $myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr}

                        <tr>
                            <td class="clsForumTitle">
                            <div class="clsAnswers">
                                <p><strong>{$LANG.response_best_debate}</strong></p>
                                {if chkIsVideoAllowed('response') AND $myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.record.video_id}
                                    <span><a id="video_add{$myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.best_response_id}" href="{$myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.ans_view_video.url}" onClick="{$myobj->getBrowser($myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.ans_view_video.on_click)}"><img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-qusvideo1.gif" alt="{$LANG.debates_video_available}" /></a></span>
                                {/if}
                                {if chkIsAudioAllowed('response') AND $myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.record.audio_id}
                                    <span><a id="audio_add{$myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.best_response_id}" href="{$myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.ans_view_audio.url}" onClick="{$myobj->getBrowser($myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.ans_view_audio.on_click)}"  params="lightwindow_height=110"><img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-qusaudio1.gif" alt="{$LANG.debates_audio_available}" /></a></span>
                                {/if}
                                <p>{$myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.row_response_manual}</p>
                                <p>
                                    <span class="clsForumAuthor">{$LANG.response_responded_by} <a href="{$CFG.site.relative_url}viewMembers.php?uid={$myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.record.user_id}/">{$myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.record.answered_by}</a></span>
                                    &nbsp;-&nbsp;
                                    <span>{$myobj->getTimeDiffernceFormat($myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.record.date_answered)}</span>
                                    {if chkIsVideoAllowed('response') AND $myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.record.video_id}
                                        &nbsp;-&nbsp;
                                        <a id="anchorDelVideo"  href="#" title="{$LANG.delete_video}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deletevideo','{$myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.record.video_id}', '{$LANG.confirm_delete_video_message}'), Array('value','value', 'innerHTML'), 'selListAdvertisementForm');">{$LANG.delete_video}</a>
                                    {/if}
                                    {if chkIsAudioAllowed('response') AND $myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.record.audio_id}
                                        &nbsp;-&nbsp;
                                        <a id="anchorDelAudio"  href="#" title="{$LANG.delete_audio}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteaudio','{$myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.record.audio_id}', '{$LANG.confirm_delete_audio_message}'), Array('value','value', 'innerHTML'));">{$LANG.delete_audio}</a>
                                    {/if}
                                    &nbsp;-&nbsp;
                                    <a id="anchorRemoveBest"  href="#" title="{$LANG.delete_best_debate}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteBestResponse','{$myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.record.response_id}', '{$LANG.confirm_delete_best_response_message}'), Array('value','value', 'innerHTML'));">{$LANG.delete_best_debate}</a>
                                    &nbsp;-&nbsp;
                                    <a id="anchorDeleteAnswer"  href="#" title="{$LANG.response_delete}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteResponse','{$myobj->form_debate.displayDebateDetails_arr.displayBestResponse_arr.record.response_id}', '{$LANG.confirm_delete_message}'), Array('value','value', 'innerHTML'));">{$LANG.response_delete}</a>
                                </p>
                            </div>
                            </td>
                        </tr>
				   {/if}

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

				{if $myobj->debate_details.is_open && $myobj->debate_details.user_id != $CFG.user.user_id}
					<span class="clsAnswerQuestion"><a target="_blank" href="{$myobj->form_debate.displayDebateDetails_arr.reply_debate.url}">{$LANG.response_this_debates}</a></span>
				{/if}
	{/if}

{/if}

{if $myobj->isShowPageBlock('form_responses')}
    {if $myobj->isResultsFound()}

        {if $CFG.admin.navigation.top}
            {include file='pagination.tpl'}
        {/if}

            <form name="selListAdvertisementForm" id="selListAdvertisementForm" method="post" action="{$myobj->getCurrentUrl()}" autocomplete="off">
                <table summary="{$LANG.display_all_responses}">
					<tr>
						<td>
							<div>
                            	<table>
								{foreach key=daKey item=daValue from=$myobj->form_responses.displayForResponses_arr}
										<tr>
											<td>
											<input type="checkbox" class="clsCheckRadio" name="aid[]" value="{$daValue.record.response_id}" tabindex="{smartyTabIndex}" />
											</td>
											<td>
											<div class="clsAnswers">
												<p>{$daValue.type}</p>
												<p>{$daValue.row_response_manual}</p>
												<p>
													<span class="clsForumAuthor">{$LANG.response_responded_by} <a href="{$CFG.site.relative_url}viewMembers.php?uid={$daValue.record.user_id}">{$daValue.row_response_by_manual}</a></span>
													&nbsp;-&nbsp;
													<span>{$myobj->getTimeDiffernceFormat($daValue.record.date_answered)}</span>
													{if $CFG.admin.abuse_responses.allowed AND $CFG.user.user_id != $daValue.record.user_id AND $myobj->debate_details.status == 'Open'}
														&nbsp;-&nbsp;
														<span>({$LANG.response_abuse_count} {$daValue.record.abuse_count})</span>
													{/if}
													{if $CFG.admin.best_responses.allowed AND $myobj->debate_details.status == 'Open' AND $myobj->debate_details.best_response_id == 0 AND $daValue.record.status !='ToActivate'}
														&nbsp;-&nbsp;
														<a id="{$daValue.anchor1}"  href="#" title="{$LANG.response_best_debate}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('bestresponse','{$daValue.record.response_id}', '{$LANG.best_response_confirm_message}'), Array('value','value', 'innerHTML'));">{$LANG.response_best_debate}</a>
													{/if}
													{if chkIsVideoAllowed('debate') AND  $daValue.record.video_id}
														&nbsp;-&nbsp;
														<a id="{$daValue.anchor1}"  href="#" title="{$LANG.delete_video}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deletevideo','{$daValue.record.video_id}', '{$LANG.confirm_delete_video_message}'), Array('value','value', 'innerHTML'));">{$LANG.delete_video}</a>
													{/if}
													{if chkIsAudioAllowed('debate') AND $daValue.record.audio_id}
														&nbsp;-&nbsp;
														<a id="{$daValue.anchor2}"  href="#" title="{$LANG.delete_audio}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteaudio','{$daValue.record.audio_id}', '{$LANG.confirm_delete_audio_message}'), Array('value','value', 'innerHTML'));">{$LANG.delete_audio}</a>
													{/if}
													{if $daValue.record.status =='ToActivate'}
														&nbsp;-&nbsp;
														<a id="{$daValue.anchor2}"  href="#" title="{$LANG.publish}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('publishresponse','{$daValue.record.response_id}', '{$LANG.publish_response_confirm_message}'), Array('value','value', 'innerHTML'));">{$LANG.publish}</a>
													{/if}
													&nbsp;-&nbsp;
													<a id="anchorDeleteAnswer"  href="#"  onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteResponse','{$daValue.record.response_id}', '{$LANG.confirm_delete_message}'), Array('value','value', 'innerHTML'));">{$LANG.response_delete}</a>
													<!-- sel display debate response comment -->
													<div id="{$daValue.selReplyId}"  class="clsReplies">
														{if $myobj->hasReply($daValue.record.response_id) }
															<div id="{$daValue.selViewReplyId}" class="clsViewReplies">
                                                                {foreach key=key item=value from=$daValue.fetch_reply.row}
                                                                    <!--div class="clsBlogReply clsReplyPopupSection"-->
                                                                    <div class="clsReplyPopupSection">
                                                                        <p><span id="selEditCommentTxt_{$value.response_id}" class="clsNoBorder">{$value.comments}</span></p>
                                                                                {$LANG.replied_by $LANG.title_seperator}</span>&nbsp;<a href="{$value.username_url}">{$value.name}</a>
                                                                                <span class="clsBlogInfoTitle">{$LANG.title_seperator}</span>&nbsp;{$value.date_added}
                                                                                </li>
                                                                        </p>
                                                                    </div>
                                                                {/foreach}
															</div>
														{/if}
													</div>
													<!-- sel debates response comments end -->
												</p>
											</div>
											</td>
										</tr>
								{/foreach}
                                </table>
							</div>
							<div>
                            	<table>

								{foreach key=daKey item=daValue from=$myobj->form_responses.displayAgainstResponses_arr}
										<tr>
											<td>
											<input type="checkbox" class="clsCheckRadio" name="aid[]" value="{$daValue.record.response_id}" tabindex="{smartyTabIndex}" />
											</td>
											<td>
											<div class="clsAnswers">
												<p>{$daValue.type}</p>
												<p>{$daValue.row_response_manual}</p>
												<p>
													<span class="clsForumAuthor">{$LANG.response_responded_by} <a href="{$CFG.site.relative_url}viewMembers.php?uid={$daValue.record.user_id}">{$daValue.row_response_by_manual}</a></span>
													&nbsp;-&nbsp;
													<span>{$myobj->getTimeDiffernceFormat($daValue.record.date_answered)}</span>
													{if $CFG.admin.abuse_responses.allowed AND $CFG.user.user_id != $daValue.record.user_id AND $myobj->debate_details.status == 'Open'}
														&nbsp;-&nbsp;
														<span>({$LANG.response_abuse_count} {$daValue.record.abuse_count})</span>
													{/if}
													{if $CFG.admin.best_responses.allowed AND $myobj->debate_details.status == 'Open' AND $myobj->debate_details.best_response_id == 0 AND $daValue.record.status !='ToActivate'}
														&nbsp;-&nbsp;
														<a id="{$daValue.anchor1}"  href="#" title="{$LANG.response_best_debate}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('bestresponse','{$daValue.record.response_id}', '{$LANG.best_response_confirm_message}'), Array('value','value', 'innerHTML'));">{$LANG.response_best_debate}</a>
													{/if}
													{if chkIsVideoAllowed('debate') AND  $daValue.record.video_id}
														&nbsp;-&nbsp;
														<a id="{$daValue.anchor1}"  href="#" title="{$LANG.delete_video}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deletevideo','{$daValue.record.video_id}', '{$LANG.confirm_delete_video_message}'), Array('value','value', 'innerHTML'));">{$LANG.delete_video}</a>
													{/if}
													{if chkIsAudioAllowed('debate') AND $daValue.record.audio_id}
														&nbsp;-&nbsp;
														<a id="{$daValue.anchor2}"  href="#" title="{$LANG.delete_audio}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteaudio','{$daValue.record.audio_id}', '{$LANG.confirm_delete_audio_message}'), Array('value','value', 'innerHTML'));">{$LANG.delete_audio}</a>
													{/if}

													{if $daValue.record.status =='ToActivate'}
														&nbsp;-&nbsp;
														<a id="{$daValue.anchor2}"  href="#" title="{$LANG.publish}" onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('publishresponse','{$daValue.record.response_id}', '{$LANG.publish_response_confirm_message}'), Array('value','value', 'innerHTML'));">{$LANG.publish}</a>
													{/if}
													&nbsp;-&nbsp;
													<a id="anchorDeleteAnswer"  href="#"  onClick="return Confirmation('selMsgConfirm', 'deleteForm', Array('act','aid', 'confirmation_msg'), Array('deleteResponse','{$daValue.record.response_id}', '{$LANG.confirm_delete_message}'), Array('value','value', 'innerHTML'));">{$LANG.response_delete}</a>
													<!-- sel display debate response comment -->
													<div id="{$daValue.selReplyId}"  class="clsReplies">
														{if $myobj->hasReply($daValue.record.response_id) }
															<div id="{$daValue.selViewReplyId}" class="clsViewReplies">
                                                                {foreach key=key item=value from=$daValue.fetch_reply.row}
                                                                    <!--div class="clsBlogReply clsReplyPopupSection"-->
                                                                    <div class="clsReplyPopupSection">
                                                                        <p><span id="selEditCommentTxt_{$value.response_id}" class="clsNoBorder">{$value.comments}</span></p>
                                                                                {$LANG.replied_by $LANG.title_seperator}</span>&nbsp;<a href="{$value.username_url}">{$value.name}</a>
                                                                                <span class="clsBlogInfoTitle">{$LANG.title_seperator}</span>&nbsp;{$value.date_added}
                                                                                </li>
                                                                        </p>
                                                                    </div>
                                                                {/foreach}
															</div>
													{/if}
													</div>
													<!-- sel debates response comments end -->
												</p>
											</div>
											</td>
										</tr>
								{/foreach}
								</table>

							</div>

						</td>
					</tr>

                <tr>
                    <td colspan="2">
                    <a href="#" id="{$myobj->da_anchor}"></a>
                    <input type="button" class="clsSubmitButton" name="delete_submit" id="delete_submit" tabindex="{smartyTabIndex}" value="Delete" onClick="if(getMultiCheckBoxValue('selListAdvertisementForm', 'check_all', '{$LANG.select_a_response}'))Confirmation('selMsgConfirm', 'deleteForm', Array('aid', 'act', 'confirmation_msg'), Array(multiCheckValue, 'delete', '{$myobj->form_responses.confirm_delete}'), Array('value', 'value', 'innerHTML'));" />
                    </td>
                </tr>
            </table>
            </form>

        {if $CFG.admin.navigation.bottom}
            {include file='pagination.tpl'}
        {/if}

    {else}
        <div id="selMsgAlert">
            <p>{$LANG.response_not_added}</p>
        </div>
    {/if}

{/if}
</div>