Location: PHPKode > scripts > Ramui web hosting directory script > Ramui web hosting directory script/gb/admin/include/contactform.php
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Contact</title>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="script/mail.js"></script>
<style type="text/css">
body{margin:0; padding:0; font-family: arial, serif;}
td{font-size:11px;padding: 10px 5px;font-size:11px;color:#517068;}
td span{font-size:9px;color:#666666;}
img{border:none;clear:none;}
.text{height:20px; width:280px; font-size:11px; padding:0;border:1px solid #a7beb7;background:#ffffff;}
.hovertext{height:20px; width:280px; font-size:11px; padding:0;border:1px solid #a7beb7;background:#fff4f0;}
.fw_button{height:22px; font-size:11px;font-family:arial; color:#000000; font-weight:500;}
#feedback{font-weight:500;font-size:11px;margin:0; clear:both;}
#menu{margin:0;clear:both;border-bottom:1px solid #c0c0c0;padding:5px;font-size:18px;color:#8b5d2f;background:url('images/bg.png') repeat-x;}
#menu ul{margin:10px 0 5px 5px;padding:0;float:right;clear:right;}
#menu li{list-style-type:none;display:inline;padding:0px 5px 0px 5px;margin:0;font-size:11px;}
#menu a{color:blue;font-size:11px;font-weight:500;text-decoration:none;}
#menu a:hover{color:black;text-decoration:underline;}
#help{margin:0;width:100%;border-collapse:collapse;display:none;}
#help td{padding:10px 5px;font-size:11px;line-height:140%;color:#333355;background:#f0f4f4;border:1px dotted #333333;}
</style>
</head><body>
<div id="menu"><span id="heading">Contact:</span><ul><li><a href="javascript:showmail()">Contact</a></li><li><a href="javascript:showsettings()">Settings</a></li><li><a href="javascript:showhelp()">Help</a></li></ul></div>
<div id="feedback"></div>
<form name="frmmail" id="frmmail" style="margin:0 5px;" onsubmit="return false">
<table width="100%">
<tr><td width="90px"><img src="images/mandatory.gif" /> Subject:<br /><span>100 characters max</span></td><td><input type="text" class="text" name="subject" id="subject" onmouseover="this.className='hovertext'" onmouseout="this.className='text'" size="20" /></td></tr>
<tr><td><img src="images/mandatory.gif" /> From:<br /><span>100 characters max</span></td><td><input type="text" class="text" name="from" id="from" value="<?php echo $row['defaultfrom'];?>" onmouseover="this.className='hovertext'" onmouseout="this.className='text'" size="20" /></td></tr>
<tr><td>Reply to:<br /><span>100 characters max</span></td><td><input type="text" class="text" name="replyto" id="replyto" value="<?php echo $row['replyto'];?>" onmouseover="this.className='hovertext'" onmouseout="this.className='text'" size="20" /></td></tr>
<tr><td><img src="images/mandatory.gif" /> Message:<br /><span><?php echo $row['messagesize'];?> characters max</span></td><td><textarea class="text" style="height:200px;" name="message" id="message" onmouseover="this.className='hovertext'" onmouseout="this.className='text'"></textarea></td></tr>
<tr><td colspan="2"><input style="width:15px; margin:0;" type="checkbox" name="sendcopy" id="sendcopy" /> Send a copy of message to my email address</td></tr>
<tr><td colspan="2" style="padding:5px 0 0 0;">
<input type="reset" class="fw_button" value="Reset" name="B1" onclick="resetForm()">&nbsp;&nbsp;<input type="button" class="fw_button" value="Submit" onClick="fwSend();"></td></tr>
</table>
<div style="float:right;clear:both;color:red;font-size:11px;margin:5px 0;"><img src="images/mandatory.gif" /> Fields are mandatory</div></form>
<form name="frmsettings" id="frmsettings" style="margin:0 5px;display:none;" onsubmit="return false">
<table width="100%">
<tr><td width="100px">Max. message size:</td><td><input id="messagesize" name="messagesize" class="text" value="<?php echo $row['messagesize'];?>" onmouseover="this.className='hovertext'" onmouseout="this.className='text'" type="text" style="width:50px;" /></td></tr>
<tr><td width="100px">Default from:<br /><span>100 characters max</span></td><td><input type="text" class="text" name="defaultfrom" id="defaultfrom" value="<?php echo $row['defaultfrom'];?>" onmouseover="this.className='hovertext'" onmouseout="this.className='text'" size="20" /></td></tr>
<tr><td>Default reply to:<br /><span>100 characters max</span></td><td><input type="text" class="text" name="defaultto" id="defaultto" value="<?php echo $row['replyto'];?>" onmouseover="this.className='hovertext'" onmouseout="this.className='text'" size="20" /></td></tr>
<tr><td>Autoresponder message:<br /><span>1000 characters max</span></td><td><textarea class="text" style="height:200px;" name="responsetext" id="responsetext" onmouseover="this.className='hovertext'" onmouseout="this.className='text'"><?php echo $row['response'];?></textarea></td></tr>
<tr><td colspan="2"><input style="width:15px; margin:3px;" type="checkbox" name="autoresponder" id="autoresponder" <?php echo ($row['autoresponder'])? 'checked ':'';?>/>Turn off autoresponder</td></tr>
<tr><td colspan="2" style="padding:5px 0 0 0;">
<input type="reset" class="fw_button" value="Reset" name="B1" onclick="resetForm()">&nbsp;&nbsp;<input type="button" class="fw_button" value="Submit" onClick="fwSaveSettings();"></td></tr>
</table>
<div style="float:right;clear:both;margin:5px 0;"><img style="float:left;margin-right:2px;" src="images/help.gif" /><a style="color:#546e1a;font-size:11px;" href="javascript:showhelp()">Click here to get help</a></div></form>
<table id="help"><tr><td colspan="2"><b>Quick reference: email form</b></td></tr>
<tr><td width="60px">Subject</td><td>Write the subject of your message in one line.</td></tr>
<?php $domain=str_ireplace('www.','',getenv('HTTP_HOST'));?>
<tr><td>From</td><td>Write the sender email from where the the message is being delevered. This email address may or may not be a real email address. Common example of such email address are noreply@<?php echo $domain;?>, support@<?php echo $domain;?>, etc.</td></tr>
<tr><td>Reply to</td><td>Write the sender email address where receiver may reply. It must be your real email address.</td></tr>
<tr><td>Message</td><td>Write your message body here. The character limit of message is determined by the max. message size under <a href="javascript:showsettings()">email settings</a>.</td></tr>
<tr><td>&nbsp;</td><td>Sometimes you may require to keep a copy of the message for future reference. There is a option to send a message copy to your email address. Receiver could not be aware that whether you keep a copy or not.</td></tr>
<tr><td colspan="2"><b>Quick reference: email settings</b></td></tr>
<tr><td>Max. message size</td><td>Use numeric value between 100 to 2000 which will be used to limit email body for entire scope of this script.</td></tr>
<tr><td>Default from</td><td>Same as From field. Autoresponder will use this email address as sender email address.</td></tr>
<tr><td>Default reply to</td><td>This email address has not much significant, only appear on your email form as default value.</td></tr>
<tr><td>Autoresponder message</td><td>Write few lines of text to be sent as immediate response to the message sent by your viewers; Use variables<br />%%SENDER%% = Sender name;<br />%%EMAIL%% = Sender email;<br />%%MESSAGE%% = Message sent by user;</td></tr>
<tr><td>&nbsp;</td><td>As an administrator or webmaster you have an option to turn off autoresponder from delevering message. Please check the option if you require so.</td></tr>
</table>
<script type="text/javascript">
var max=<?php echo $row['messagesize'];?>;
var email='<?php echo $email;?>';
</script>
</body></html>
Return current item: Ramui web hosting directory script