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

{if $invalid}

	<div class="notice notice-error">
		<div class="inside">
			<p>{$LANG.clientareacancelinvalid}</p>
		</div>
	</div>

{else}

{if $requested}

	<div class="notice notice-success">
		<div class="inside">
			<p>{$LANG.clientareacancelconfirmation}</p>
		</div>
	</div>

{else}

	<div class="notice notice-error">
		<div class="inside">
			<p>{$LANG.cancelationr_notice}</p>
		</div>
	</div>


		<div class="table-responsive table-grey">
				<table>
				
					<tr>
						<th>{$LANG.cancelationr_th1}</th>
						{if $domain}<th width="70%">{$LANG.cancelationr_th2}</th>{/if}
					</tr>
					
					<tr>
						<td>{$groupname} - {$productname}</td>
						{if $domain}<td>{$domain}</td>{/if}
					</tr>
					
				</table>
				
		</div>

<form method="post" action="{$smarty.server.PHP_SELF}?action=cancel&amp;id={$id}">
<input type="hidden" name="sub" value="submit" />

  		<div class="feildset">
		
			<div class="col1">
			
				<div>
					<label>
						<span>{$LANG.clientareacancelreason}: ({$LANG.required})</span>
						<textarea name="cancellationreason" placeholder="{$LANG.cancelationr_reason}" autofocus="autofocus"></textarea>
					</label>
				</div>
				
				<div>
					<label>
						<span>{$LANG.clientareacancellationtype}: ({$LANG.required})</span>
						<select name="type">
						<option value="Immediate">{$LANG.clientareacancellationimmediate}</option>
						<option value="End of Billing Period">{$LANG.clientareacancellationendofbillingperiod}</option>
						</select>
					</label>
				</div>
				
				{if $domainid}
				<div>
					<label>				
				<p><strong>{$LANG.cancelrequestdomain}</strong></p>
				
				<p>{$LANG.cancelrequestdomaindesc|sprintf2:$domainnextduedate:$domainprice:$domainregperiod}</p>
				
				<input type="checkbox" name="canceldomain" id="canceldomain" /> <label for="canceldomain" class="textred">{$LANG.cancelrequestdomainconfirm}</label>
					</label>
				</div>				
				{/if}				
										
			
			</div>
			
		</div>


<p class="center"><input type="submit" value="{$LANG.clientareacancelrequestbutton}" class="button1 color2" /></p>
</form>

{/if}{/if}