{if $reason eq "supportandupdates"}

<div class="wrapper purple-content">
    	<div class="container">
        	<div class="content-heading white whmcsportal">
    			<h2>{$pagetitle}</h2>
                <small>{$LANG.headertext}</small>
            </div>
            <div class="search-wiki">
            <form method="post" action="knowledgebase.php?action=search">
   				<input type="text" name="search" placeholder="Search Knowledgebase"/> <input type="submit" value="{$LANG.knowledgebasesearch}" />
			</form>	
            </div>
		</div>
    </div>
     <div class="wrapper purple optionbar">
    	<div class="container">
                 <ul><li><a href="serverstatus.php"><i class="fa fa-info-circle"></i>{$LANG.serverstatustitle}</a><span></span></li><li class="active"><a href="clientarea.php"><i class="fa fa-home"></i>{$LANG.clientareatitle}</a><span></span></li><li><a href="knowledgebase.php"><i class="fa fa-info-circle"></i>{$LANG.knowledgebasetitle}</a><span></span></li></ul>
        </div>
    </div>
    <div class="wrapper" id="maincontent">
	<div class="container">
			
            <div id="knowledgebase">

<p><b>Your Support & Updates period for {if $licensekey}license key "{$licensekey}"{else}this license{/if} has expired</b></p>
<p>Support and updates access needs to be renewed before you can access this download.</p>

<br />

<form action="{$systemsslurl}cart.php?a=add" method="post">
<input type="hidden" name="productid" value="{$serviceid}" />
<input type="hidden" name="aid" value="{$addonid}" />
<p align="center"><input type="submit" value="Click Here to Renew &raquo;" class="btn" /></p>
</form>

{else}

{include file="$template/pageheader.tpl" title=$LANG.accessdenied}

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

<div class="alert alert-block alert-info">
<p class="textcenter"><strong>{if $prodname}{$prodname}{else}{$addonname}{/if}</strong></p>
</div>

{if $pid || $aid}
<form action="{$systemsslurl}cart.php" method="post">
{if $pid}
<input type="hidden" name="a" value="add" />
<input type="hidden" name="pid" value="{$pid}" />
{elseif $aid}
<input type="hidden" name="gid" value="addons" />
{/if}
<p align="center"><input type="submit" value="{$LANG.ordernowbutton} &raquo;" class="btn" /></p>
</form>
{/if}
</div>
</div>
</div>
{/if}
