{$ADMIN_HEADER}
<div id="content" class="setdiv">
{if $msg neq ''}
<div {if $err eq 'true'} class="errormsg" {else} class="succmsg" {/if} style="width:500px">{$msg}</div>
{/if}
<div id="full-contentdiv">
<div class="righttop">
<h2 align="center">
Upsell Page Buttons
</h2>
</div>
<div class="whole-page clear">
<span style="float:right;">
<input class="btncss" type="button" id='btnback' name="btnback" style="cursor:pointer !important" {if $upsellmainid eq ''} onclick="window.location.href='admin_product_v.php'" {else} onclick="window.location.href='admin_product_upsell_m.php?productid={$upsellmainid}'" {/if} value="<<Back" >
</span>
{if $isButtonFound eq 'yes'}
<div style="text-align:left;font-size:15px;"><b>Code For HTTP Sales Pages </b></div>
<table width="100%">
<tr>
<td width="50%" style="font-size:15px;">
<b>Yes Button</b>
</td>
<td width="50%" style="font-size:15px;">
<b>No Button</b>
</td>
</tr>
{section name=cu loop=$yesbuttonHttp}
<tr>
<td>
<textarea onclick="this.select();" name="yes_http" id='yes_http' cols="53" rows="5">{$yesbuttonHttp[$smarty.section.cu.index]}</textarea>
<div style="margin-top:5px;margin-bottom:5px;">
<center>{$yesbuttonHttp[$smarty.section.cu.index]}</center>
</div>
</td>
<td valign="top">
{if $nobuttonHttp[$smarty.section.cu.index] neq ''}
<textarea onclick="this.select();" name="no_http" id='no_http' cols="53" rows="5">{$nobuttonHttp[$smarty.section.cu.index]}</textarea>
<div style="margin-top:5px;margin-bottom:5px;">
<center>{$nobuttonHttp[$smarty.section.cu.index]}</center>
</div>
{else}
{/if}
</td>
</tr>
{/section}
</table>
<br/>
<hr/>
<div style="text-align:left;font-size:15px;"><b>Code For HTTPS Sales Pages </b></div>
<br/>
<table width="100%">
<tr>
<td width="50%" style="font-size:15px;">
<b>Yes Button</b>
</td>
<td width="50%" style="font-size:15px;">
<b>No Button</b>
</td>
</tr>
{section name=cu loop=$yesbuttonHttps}
<tr>
<td>
<textarea onclick="this.select();" name="yes_http" id='yes_http' cols="53" rows="5">{$yesbuttonHttps[$smarty.section.cu.index]}</textarea>
<div style="margin-top:5px;margin-bottom:5px;">
<center>{$yesbuttonHttps[$smarty.section.cu.index]}</center>
</div>
</td>
<td valign="top">
{if $nobuttonHttps[$smarty.section.cu.index] neq ''}
<textarea onclick="this.select();" name="no_http" id='no_http' cols="53" rows="5">{$nobuttonHttps[$smarty.section.cu.index]}</textarea>
<div style="margin-top:5px;margin-bottom:5px;">
<center>{$nobuttonHttps[$smarty.section.cu.index]}</center>
</div>
{else}
{/if}
</td>
</tr>
{/section}
</table>
{else}
<center>No upsell button found</center>
{/if}
</div>
</div>
</div>
{$ADMIN_FOOTER}