<script type="text/javascript" src="templates/orderforms/{$carttpl}/js/jqueryui.js"></script>
<script type="text/javascript" src="templates/orderforms/{$carttpl}/js/main.js"></script>
<link rel="stylesheet" type="text/css" href="templates/orderforms/{$carttpl}/style.css" />
<link rel="stylesheet" type="text/css" href="templates/orderforms/{$carttpl}/uistyle.css" />
<div class="wrapper purple-content">
    	<div class="container">
        	<div class="content-heading white whmcsportal">
    			<h2>{$pagetitle}</h2>
                <small>{$LANG.cartproductaddons}</small>
            </div>
            <div class="view-cart">
            	<a href="{$smarty.server.PHP_SELF}?a=view"><i class="fa fa-shopping-cart"></i></a>
            </div>
		</div>
    </div>
    <div class="wrapper purple optionbar small">
    	<div class="container">
        <ul>
{foreach key=num item=productgroup from=$productgroups}
{if $gid eq $productgroup.gid}
<li class="active"><a href="{$smarty.server.PHP_SELF}?gid={$productgroup.gid}">{$productgroup.name}</a><span></span></li>{else}<li><a href="{$smarty.server.PHP_SELF}?gid={$productgroup.gid}">{$productgroup.name}</a><span></span></li>{/if}{/foreach}{if $loggedin}<li class="active"><a href="{$smarty.server.PHP_SELF}?gid=addons">{$LANG.cartproductaddons}</a><span></span></li>{if $renewalsenabled}<li><a href="{$smarty.server.PHP_SELF}?gid=renewals">{$LANG.domainrenewals}</a><span></span></li>{/if}{/if}{if $registerdomainenabled}<li><a href="{$smarty.server.PHP_SELF}?a=add&domain=register">{$LANG.registerdomain}</a><span></span></li>{/if}{if $transferdomainenabled}<li><a href="{$smarty.server.PHP_SELF}?a=add&domain=transfer">{$LANG.transferdomain}</a><span></span></li>{/if}</ul>
</div>
</div>
    <div class="wrapper" id="maincontent">
	<div class="container">
			
            <div class="whmcssection homeclient" id="knowledgebase">

<div id="order-comparison">

<p>{$LANG.cartfollowingaddonsavailable}</p>

{foreach from=$addons key=num item=addon}
<div class="addoncontainer">
<form method="post" action="{$smarty.server.PHP_SELF}?a=add">
<input type="hidden" name="aid" value="{$addon.id}" />
<div class="addon">
<div class="title">{$addon.name}</div>
<div class="pricing">{if $addon.free}
{$LANG.orderfree}
{else}
{$addon.recurringamount} {$addon.billingcycle}
{if $addon.setupfee}<br /><span class="setup">{$addon.setupfee} {$LANG.ordersetupfee}</span>{/if}
{/if}</div>
<div class="clear"></div>
{$addon.description}
<div class="product">
<select name="productid">
{foreach from=$addon.productids item=product}
<option value="{$product.id}">{$product.product}{if $product.domain} - {$product.domain}{/if}</option>
{/foreach}
</select> <input type="submit" value="{$LANG.ordernowbutton}" class="cartbutton green" />
</div>
</div>
</form>
</div>
{if $num is not div by 2}
<div class="clear"></div>
{/if}
{/foreach}
<div class="clear"></div>

{if $noaddons}
<div class="errorbox">{$LANG.cartproductaddonsnone}</div>
{/if}

</div>
</div>
</div>
</div>