<ul class="navsub">
	<li><a href="{$smarty.server.PHP_SELF}#overview">{$LANG.affiliateprogram_tabs_overview}</a></li>  
	<li><a href="{$smarty.server.PHP_SELF}#commissions">{$LANG.affiliateprogram_tabs_commissions}</a></li>  
	<li><a href="{$smarty.server.PHP_SELF}#why-choose-us">{$LANG.affiliateprogram_tabs_whychooseus}</a></li> 
	<li><a href="{$smarty.server.PHP_SELF}#how-to-join">{$LANG.affiliateprogram_tabs_howtojoin}</a></li> 
</ul>	

<div class="clear">&nbsp;</div>

<div class="highlightbox" id="overview">

	<p>{$LANG.affiliateprogram_overview_text}</p>
	
	<p class="center">
		<a href="affiliates.php" class="button1 color1">{$LANG.affiliateprogram_overview_login}</a>
		<a href="register.php" class="button1 color2">{$LANG.affiliateprogram_overview_join}</a>
	</p>

</div><!-- .highlightbox -->

		<div class="bigheader" id="commissions">
			<h2>{$LANG.affiliateprogram_commissions_title}</h2>
		</div><!-- .bigheader -->

	<div class="table-responsive table-grey">
		<table>
		
			<tr>
				<th width="40%">{$LANG.affiliateprogram_commissions_th1}</th>
				<th width="30%">{$LANG.affiliateprogram_commissions_th2}</th>
				<th width="30%">{$LANG.affiliateprogram_commissions_th3}</th>
			</tr>
			
			{if $feature_custom1 eq 'on'}
			
			<tr>
				<td colspan="3"><strong class="red">{$LANG.menu_custom1}</strong></td>
			</tr>
			
			{if $custom1_layout_plans gte '1'}
				<tr>
					<td>{$c1hp1_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c1hp1_bprice}{if $c1hp1_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c1hp1_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom1_layout_plans gte '2'}
				<tr>
					<td>{$c1hp2_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c1hp2_bprice}{if $c1hp2_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c1hp2_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom1_layout_plans gte '3'}
				<tr>
					<td>{$c1hp3_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c1hp3_bprice}{if $c1hp3_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c1hp3_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}	
			
			{if $custom1_layout_plans gte '4'}
				<tr>
					<td>{$c1hp4_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c1hp4_bprice}{if $c1hp4_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c1hp4_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom1_layout_plans gte '5'}
				<tr>
					<td>{$c1hp5_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c1hp5_bprice}{if $c1hp5_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c1hp5_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}	
			
			{if $custom1_layout_plans gte '6'}
				<tr>
					<td>{$c1hp6_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c1hp6_bprice}{if $c1hp6_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c1hp6_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}													
			
			{/if}
			
			{if $feature_custom2 eq 'on'}
			
			<tr>
				<td colspan="3"><strong class="red">{$LANG.menu_custom2}</strong></td>
			</tr>
			
			{if $custom2_layout_plans gte '1'}
				<tr>
					<td>{$c2hp1_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c2hp1_bprice}{if $c2hp1_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c2hp1_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom2_layout_plans gte '2'}
				<tr>
					<td>{$c2hp2_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c2hp2_bprice}{if $c2hp2_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c2hp2_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom2_layout_plans gte '3'}
				<tr>
					<td>{$c2hp3_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c2hp3_bprice}{if $c2hp3_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c2hp3_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}	
			
			{if $custom2_layout_plans gte '4'}
				<tr>
					<td>{$c2hp4_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c2hp4_bprice}{if $c2hp4_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c2hp4_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom2_layout_plans gte '5'}
				<tr>
					<td>{$c2hp5_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c2hp5_bprice}{if $c2hp5_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c2hp5_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}	
			
			{if $custom2_layout_plans gte '6'}
				<tr>
					<td>{$c2hp6_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c2hp6_bprice}{if $c2hp6_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c2hp6_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}													
			
			{/if}			
			
			{if $feature_custom3 eq 'on'}
			
			<tr>
				<td colspan="3"><strong class="red">{$LANG.menu_custom3}</strong></td>
			</tr>
			
			{if $custom3_layout_plans gte '1'}
				<tr>
					<td>{$c3hp1_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c3hp1_bprice}{if $c3hp1_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c3hp1_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom3_layout_plans gte '2'}
				<tr>
					<td>{$c3hp2_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c3hp2_bprice}{if $c3hp2_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c3hp2_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom3_layout_plans gte '3'}
				<tr>
					<td>{$c3hp3_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c3hp3_bprice}{if $c3hp3_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c3hp3_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}	
			
			{if $custom3_layout_plans gte '4'}
				<tr>
					<td>{$c3hp4_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c3hp4_bprice}{if $c3hp4_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c3hp4_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom3_layout_plans gte '5'}
				<tr>
					<td>{$c3hp5_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c3hp5_bprice}{if $c3hp5_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c3hp5_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}	
			
			{if $custom3_layout_plans gte '6'}
				<tr>
					<td>{$c3hp6_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c3hp6_bprice}{if $c3hp6_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c3hp6_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}													
			
			{/if}
			
			{if $feature_custom4 eq 'on'}
			
			<tr>
				<td colspan="3"><strong class="red">{$LANG.menu_custom4}</strong></td>
			</tr>
			
			{if $custom4_layout_plans gte '1'}
				<tr>
					<td>{$c4hp1_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c4hp1_bprice}{if $c4hp1_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c4hp1_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom4_layout_plans gte '2'}
				<tr>
					<td>{$c4hp2_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c4hp2_bprice}{if $c4hp2_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c4hp2_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom4_layout_plans gte '3'}
				<tr>
					<td>{$c4hp3_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c4hp3_bprice}{if $c4hp3_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c4hp3_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}	
			
			{if $custom4_layout_plans gte '4'}
				<tr>
					<td>{$c4hp4_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c4hp4_bprice}{if $c4hp4_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c4hp4_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom4_layout_plans gte '5'}
				<tr>
					<td>{$c4hp5_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c4hp5_bprice}{if $c4hp5_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c4hp5_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}	
			
			{if $custom4_layout_plans gte '6'}
				<tr>
					<td>{$c4hp6_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c4hp6_bprice}{if $c4hp6_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c4hp6_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}													
			
			{/if}
			
			{if $feature_custom5 eq 'on'}
			
			<tr>
				<td colspan="3"><strong class="red">{$LANG.menu_custom5}</strong></td>
			</tr>
			
			{if $custom5_layout_plans gte '1'}
				<tr>
					<td>{$c5hp1_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c5hp1_bprice}{if $c5hp1_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c5hp1_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom5_layout_plans gte '2'}
				<tr>
					<td>{$c5hp2_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c5hp2_bprice}{if $c5hp2_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c5hp2_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom5_layout_plans gte '3'}
				<tr>
					<td>{$c5hp3_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c5hp3_bprice}{if $c5hp3_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c5hp3_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}	
			
			{if $custom5_layout_plans gte '4'}
				<tr>
					<td>{$c5hp4_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c5hp4_bprice}{if $c5hp4_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c5hp4_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom5_layout_plans gte '5'}
				<tr>
					<td>{$c5hp5_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c5hp5_bprice}{if $c5hp5_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c5hp5_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}	
			
			{if $custom5_layout_plans gte '6'}
				<tr>
					<td>{$c5hp6_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c5hp6_bprice}{if $c5hp6_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c5hp6_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}													
			
			{/if}
			
			{if $feature_custom6 eq 'on'}
			
			<tr>
				<td colspan="3"><strong class="red">{$LANG.menu_custom6}</strong></td>
			</tr>
			
			{if $custom6_layout_plans gte '1'}
				<tr>
					<td>{$c6hp1_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c6hp1_bprice}{if $c6hp1_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c6hp1_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom6_layout_plans gte '2'}
				<tr>
					<td>{$c6hp2_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c6hp2_bprice}{if $c6hp2_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c6hp2_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom6_layout_plans gte '3'}
				<tr>
					<td>{$c6hp3_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c6hp3_bprice}{if $c6hp3_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c6hp3_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}	
			
			{if $custom6_layout_plans gte '4'}
				<tr>
					<td>{$c6hp4_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c6hp4_bprice}{if $c6hp4_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c6hp4_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}
			
			{if $custom6_layout_plans gte '5'}
				<tr>
					<td>{$c6hp5_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c6hp5_bprice}{if $c6hp5_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c6hp5_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}	
			
			{if $custom6_layout_plans gte '6'}
				<tr>
					<td>{$c6hp6_name}</td>
					<td><strong>-</strong></td>
					<td>{$currency_prefix}{$c6hp6_bprice}{if $c6hp6_bterm eq "monthly"}{$LANG.term_monthly}{elseif $c6hp6_bterm eq "annually"}{$LANG.term_annually}{else}{/if}</td>
				</tr>
			{/if}													
			
			{/if}																																																															
		</table>
	</div><!-- .table-responsive -->
	
		<div class="bigheader" id="why-choose-us">
			<h2>{$LANG.affiliateprogram_why}</h2>
		</div><!-- .bigheader -->
		
		<div class="highlightbox">

			<div class="features">
				
				<div class="box box1">
					<div class="image">
						<img src="templates/{$template}/images/icon-reports.png" alt="{$LANG.affiliateprogram_why_1_title}" class="img-respond" />
					</div>
					<div class="text">
						<h3>{$LANG.affiliateprogram_why_1_title}</h3>
						<p>{$LANG.affiliateprogram_why_1_desc}</p>
					</div>
				</div><!-- .box -->
	
				<div class="box box2">
					<div class="image">
						<img src="templates/{$template}/images/icon4.png" alt="{$LANG.affiliateprogram_why_2_title}" class="img-respond" />
					</div>	
					<div class="text">						
						<h3>{$LANG.affiliateprogram_why_2_title}</h3>
						<p>{$LANG.affiliateprogram_why_2_desc}</p>
					</div>
				</div><!-- .box -->
				
				<div class="box box3">
					<div class="image">
						<img src="templates/{$template}/images/icon-quick.png" alt="{$LANG.affiliateprogram_why_3_title}" class="img-respond" />
					</div>	
					<div class="text">						
						<h3>{$LANG.affiliateprogram_why_3_title}</h3>
						<p>{$LANG.affiliateprogram_why_3_desc}</p>
					</div>
				</div><!-- .box -->	
				
				<div class="box box4">
					<div class="image">
						<img src="templates/{$template}/images/icon-free.png" alt="{$LANG.affiliateprogram_why_4_title}" class="img-respond" />
					</div>			
					<div class="text">				
						<h3>{$LANG.affiliateprogram_why_4_title}</h3>
						<p>{$LANG.affiliateprogram_why_4_desc}</p>
					</div>
				</div><!-- .box -->	
				
				<div class="clear">&nbsp;</div>			
									
			</div><!-- .features -->

		</div><!-- .highlightbox -->
				
		<div class="bigheader" id="how-to-join">
			<h2>{$LANG.affiliateprogram_howtojoin}</h2>
		</div><!-- .bigheader -->			
		
		<div class="featureimage">
			<img src="templates/{$template}/images/affiliate-register.jpg" alt="{$LANG.affiliateprogram_howtojoin_1_alt}" class="img-respond img-affscreens" />
			<span>{$LANG.affiliateprogram_howtojoin_1_text}</span>
		</div>

		<div class="featureimage">
			<img src="templates/{$template}/images/affiliate-join.jpg" alt="{$LANG.affiliateprogram_howtojoin_2_alt}" class="img-respond img-affscreens" />
			<span>{$LANG.affiliateprogram_howtojoin_2_text}</span>
		</div>

		<div class="featureimage">
			<img src="templates/{$template}/images/affiliate-activate.jpg" alt="{$LANG.affiliateprogram_howtojoin_3_alt}" class="img-respond img-affscreens" />
			<span>{$LANG.affiliateprogram_howtojoin_3_text}</span>
		</div>
		
		<div class="featureimage">
			<img src="templates/{$template}/images/affiliate-link.jpg" alt="{$LANG.affiliateprogram_howtojoin_4_alt}" class="img-respond img-affscreens" />
			<span>{$LANG.affiliateprogram_howtojoin_4_text}</span>
		</div>									