afcbob
01-20-10, 05:36 PM
I am wanting to add my address to the top of the contact form i thought it would of been the contact.tpl
this is what i added
<p>
Our Address:<br /><br />
Host2design<br /><br />
26 marchburn Drive<br />
Aberdeen<br />
Scotland<br />
AB16 7LS<br />
</p>
<p>{$LANG.contactheader}</p>
{if $sent}
<p align="center"><strong>{$LANG.contactsent}</strong></p>
{else}
<form method="post" action="contact.php?action=send">
{if $errormessage}<div class="errorbox">{$errormessage|replace:'<li>':' # '} # </div><br />{/if}
<table cellspacing="1" cellpadding="0" class="frame"><tr><td>
<table width="100%" cellpadding="2">
<tr><td width="100" class="fieldarea">{$LANG.contactname}</td><td><input type="text" name="name" size="30" value="{$name}"></td></tr>
<tr><td class="fieldarea">{$LANG.contactemail}</td><td><input type="text" name="email" size="50" value="{$email}"></td></tr>
<tr><td class="fieldarea">{$LANG.contactsubject}</td><td><input type="text" name="subject" size="60" value="{$subject}"></td></tr>
<tr><td class="fieldarea">{$LANG.contactmessage}</td><td><textarea name="message" rows=8 style="width:95%">{$message}</textarea></td></tr>
</table>
</td></tr></table>
{if $capatacha}<p align="center">{$LANG.imagecheck}<br /><img src="includes/verifyimage.php" align="middle"> <input type="text" name="code" size="10" maxlength="5"></p>{/if}
<p align="center"><input type="submit" value="{$LANG.contactsend}"></p>
</form>
{/if}
You can view it here http://www.host2design.co.uk/support/submitticket.php?step=2&deptid=3
this is what i added
<p>
Our Address:<br /><br />
Host2design<br /><br />
26 marchburn Drive<br />
Aberdeen<br />
Scotland<br />
AB16 7LS<br />
</p>
<p>{$LANG.contactheader}</p>
{if $sent}
<p align="center"><strong>{$LANG.contactsent}</strong></p>
{else}
<form method="post" action="contact.php?action=send">
{if $errormessage}<div class="errorbox">{$errormessage|replace:'<li>':' # '} # </div><br />{/if}
<table cellspacing="1" cellpadding="0" class="frame"><tr><td>
<table width="100%" cellpadding="2">
<tr><td width="100" class="fieldarea">{$LANG.contactname}</td><td><input type="text" name="name" size="30" value="{$name}"></td></tr>
<tr><td class="fieldarea">{$LANG.contactemail}</td><td><input type="text" name="email" size="50" value="{$email}"></td></tr>
<tr><td class="fieldarea">{$LANG.contactsubject}</td><td><input type="text" name="subject" size="60" value="{$subject}"></td></tr>
<tr><td class="fieldarea">{$LANG.contactmessage}</td><td><textarea name="message" rows=8 style="width:95%">{$message}</textarea></td></tr>
</table>
</td></tr></table>
{if $capatacha}<p align="center">{$LANG.imagecheck}<br /><img src="includes/verifyimage.php" align="middle"> <input type="text" name="code" size="10" maxlength="5"></p>{/if}
<p align="center"><input type="submit" value="{$LANG.contactsend}"></p>
</form>
{/if}
You can view it here http://www.host2design.co.uk/support/submitticket.php?step=2&deptid=3