This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/affiliate/user_recurr_tier_iframe.tpl
2011-05-03 09:49:01 +10:00

60 lines
2.1 KiB
Smarty

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">-->
<html>
<head>
<title>{$smarty.const.SITE_NAME}</title>
<meta http-equiv="expires" content="Wed, 26 Feb 2004 08:21:57 GMT"/>
<meta http-equiv="cache-control" content="no-cache"/>
<link rel="stylesheet" href="themes/{$THEME_NAME}/style.css" type="text/css"/>
</head>
{assign var=meth value=':'|explode:$VAR._page}
<!-- {$meth.0}:{$meth.1} -->
<body style="background-color: transparent">
<script type="text/javascript">
<!--
var tiers = {$VAR.tiers};
{literal}
function sval(i,a) {
document.getElementById('t_'+i).value = a;
}
function gval(i) {
return document.getElementById('t_'+i).value;
}
{/literal}
//-->
</script>
<form id="view" method="post" action="" enctype="multipart/form-data">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr valign="top">
<td class="table_heading">{osb f=tt}</td>
</tr>
<tr valign="top">
<td class="row1">
<table width="100%" border="0" cellspacing="1" cellpadding="1" class="row1">
{section name=i start=0 loop=$VAR.tiers step=1}
<tr valign="top">
<td style="width: 70%;">{t}Tier{/t} {$smarty.section.i.index+1}</td>
<td style="width: 30%;">
<input type="text" id="t_{$smarty.section.i.index}" name="{$smarty.section.i.index}" value="" onchange="parent.UpdateTierValueRecur('{$smarty.section.i.index}',gval('{$smarty.section.i.index}'));" size="8" disabled="disabled"/>
<script type="text/javascript">sval({$smarty.section.i.index},parent.GetTierValueRecur({$smarty.section.i.index}));</script>
</td>
</tr>
{/section}
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>