{if !$status}

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

{else}

{if $errormessage}
			<div class="notice notice-error">
				<div class="inside">
				{$errormessage|replace:'<li>':' &nbsp;#&nbsp; '} &nbsp;#&nbsp;
				</div>
			</div> 				
{/if}

<p><strong>{$LANG.sslcertinfo}</strong></p>

  		<div class="table-responsive table-grey">

<table>
	<tr>
		<td>{$LANG.sslorderdate}</td>
		<td>{$date}</td></tr>
	
	<tr>
		<td>{$LANG.sslcerttype}</td>
		<td>{$certtype}</td>
	</tr>
{if $domain}<tr>
		<td>{$LANG.domainname}</td>
		<td>{$domain}</td>
		</tr>
{/if}

<tr>
	<td>{$LANG.orderprice}</td>
	<td>{$price}</td>
</tr>
<tr>
	<td>{$LANG.sslstatus}</td>
	<td>{$status}</td>
</tr>
{foreach from=$displaydata key=displaydataname item=displaydatavalue}
<tr>
	<td>{$displaydataname}</td>
	<td>{$displaydatavalue}</td>
</tr>
{/foreach}
</table>
</div>

{if $status eq "Awaiting Configuration"}

<form name="submitticket" method="post" action="{$smarty.server.PHP_SELF}?cert={$cert}&step=2">

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

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

<div class="table-responsive table-grey">
<table>
<tr>
	<td>{$LANG.sslservertype}</td>
	<td><select name="servertype"><option value="" selected>{$LANG.pleasechooseone}</option>{foreach from=$webservertypes key=webservertypeid item=webservertype}<option value="{$webservertypeid}"{if $servertype eq $webservertypeid} selected{/if}>{$webservertype}</option>{/foreach}</select></td>
</tr>
<tr>
	<td>{$LANG.sslcsr}</td>
	<td><textarea name="csr" rows="7" style="width:90%">{$csr}</textarea></td>
</tr>
</table>
</div>

{foreach from=$additionalfields key=heading item=fields}
<h2>{$heading}</h2>
<div class="table-responsive table-grey">
<table>
{foreach from=$fields item=vals}
<tr><td width="120" class="fieldarea">{$vals.name}</td><td>{$vals.input} {$vals.description}</td></tr>
{/foreach}
</table>
</div>
{/foreach}

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

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

<div class="table-responsive table-grey">
<table>
<tr>
	<td>{$LANG.clientareafirstname}</td>
	<td><input type="text" name="firstname" size="30" value="{$firstname}" /></td>
</tr>
<tr>
	<td>{$LANG.clientarealastname}</td>
	<td><input type="text" name="lastname" size="30" value="{$lastname}" /></td>
</tr>
<tr>
	<td>{$LANG.organizationname}</td>
	<td><input type="text" name="orgname" size="30" value="{$orgname}" /></td></tr>
<tr>
	<td>{$LANG.jobtitle}</td>
	<td><input type="text" name="jobtitle" size="30" value="{$jobtitle}" /> (Required if Organization Name is set)</td>
</tr>
<tr>
	<td>{$LANG.clientareaemail}</td>
	<td><input type="text" name="email" size="30" value="{$email}" /></td>
</tr>
<tr>
	<td>{$LANG.clientareaaddress1}</td>
	<td><input type="text" name="address1" size="30" value="{$address1}" /></td>
</tr>
<tr>
	<td>{$LANG.clientareaaddress2}</td>
	<td><input type="text" name="address2" size="30" value="{$address2}" /></td>
</tr>
<tr>
	<td>{$LANG.clientareacity}</td>
	<td><input type="text" name="city" size="30" value="{$city}" /></td>
</tr>
<tr>
	<td>{$LANG.clientareastate}</td>
	<td><input type="text" name="state" size="30" value="{$state}" /></td>
</tr>
<tr>
	<td>{$LANG.clientareapostcode}</td>
	<td><input type="text" name="postcode" value="{$postcode}" size="30" /></td>
</tr>
<tr>
	<td>{$LANG.clientareacountry}</td>
	<td>{$countriesdropdown}</td>
</tr>
<tr>
	<td>{$LANG.clientareaphonenumber}</td>
	<td><input type="text" name="phonenumber" size="30" value="{$phonenumber}" /></td>
</tr>
</table>
</div>

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

</form>

{else}

<form method="post" action="clientarea.php?action=productdetails">
<input type="hidden" name="id" value="{$serviceid}" />

<div class="floatleft"><input type="submit" value="{$LANG.invoicesbacktoclientarea}" class="button1 color1" /></div>
<div class="clear">&nbsp;</div>
 </form>

{/if}{/if}