File: //home/webuyanywebsite.co.uk/public_html/includes/sidebar-contact-form.php
<div class="contact-form form-wrap">
<style>
.box-left {width:45%; float:left;}
.box-right {width:45%; float:right;}
.box-left input {width:100%; margin:5px; padding:3px;}
.box-left textarea {width:100%;margin:5px; padding:3px;}
</style>
<h2>Contact us below</h2>
<div class="box-left">
<?php
if(!empty($form_errors)){
echo "<p class='err'>".nl2br($form_errors)."</p>";
}
?>
<div id='contact_form_errorloc' class='err'></div>
<form method="POST" name="contact_form" action="<?php echo htmlentities($_SERVER['PHP_SELF']); ?>">
<input name="first_name" class="text valid-required valid-ajax" id="in_1" onfocus="if(this.value=='NAME') this.value='';" onblur="if(this.value=='') this.value='NAME';" type="text" value="NAME" placeholder="Name">
<input name="email_address" class="text valid-required valid-ajax" id="in_5" onfocus="if(this.value=='EMAIL') this.value='';" onblur="if(this.value=='') this.value='EMAIL';" type="text" value="EMAIL" placeholder="Email">
<input name="telephone" class="text valid-required" id="in_3" onfocus="if(this.value=='TELEPHONE') this.value='';" onblur="if(this.value=='') this.value='TELEPHONE';" type="text" value="TELEPHONE" placeholder="Web Address">
<textarea rows=8 name="message" id="mytextarea" onfocus='if(document.getElementById("mytextarea").value =="PLEASE ENTER YOUR DETAILS") document.getElementById("mytextarea").value="";' onblur='if(document.getElementById("mytextarea").value=="") document.getElementById("mytextarea").value ="PLEASE ENTER YOUR DETAILS";' placeholder="Please enter your message">PLEASE ENTER YOUR DETAILS</textarea>
<textarea rows=8 name="comments" id="mytextarea2" onfocus='if(document.getElementById("mytextarea2").value =="ANY OTHER COMMENTS") document.getElementById("mytextarea2").value="";' onblur='if(document.getElementById("mytextarea2").value=="") document.getElementById("mytextarea2").value ="ANY OTHER COMMENTS";' placeholder="Any other comments">ANY OTHER COMMENTS</textarea>
<input name="submit" class="button" id="in_6" type="submit" value="Submit">
</form>
</div>
<div class="box-right"><br />
<br />
<br />
<br />
If contacting us about a possible sale of a website please include <br />
» The URL<br />
» How long it has existed,<br />
» The subject matter,<br />
» What revenue if any it has had in recent months.<br />
» Number of unique visitors per month and page views per month. <br />
» Any related websites / domains that may be included in the transaction
<div></div>
<div> </div>
</div>
</div>