Location: PHPKode > projects > RAMUI WEBBLOG > fw_blog/admin/include/mailform.php
<?php
/*
Copyright (c) 2008 http://ramui.com. All right reserved.
This product is protected by copyright and distributed under licenses restricting copying, distribution. Permission is granted to the public to download and use this script provided that this Notice and any statement of authorship are reproduced in every page on all copies of the script.
*/
?>
<form name="frmMail" id="frmedit" onsubmit="return false;">
<?php
if($id!==''){echo '<div style="float:right; padding:5px;"><a href="index.php?qur=5M1M'.$row['id'].'"><b>Back to message</b></a></div>';}
$email=$_REQUEST['mailto'];
if(empty($email)){$email=$row['email'];}
?>
<div id="feedback"></div>
<table id="filelist" style="width:100%; float:right; margin-top:20px;">
<tr><td width="80px">To:</td><td><input value="<?php echo $email; ?>" class="text" style="width:650px;" type="text" name="to" size="20"></td></tr>
<tr><td>Cc:</td><td><input class="text" style="width:650px;" type="text" name="cc" size="20"></td></tr>
<tr><td>Bcc:</td><td><input class="text" style="width:650px;" type="text" name="bcc" size="20"></td></tr>
<tr><td>From:</td><td><input value="<?php echo $from; ?>" class="text" style="width:650px;" type="text" name="from" size="20"></td></tr>
<tr><td>Reply to:</td><td><input value="<?php echo $reply; ?>" class="text" style="width:650px;" type="text" name="reply" size="20"></td></tr>
<tr><td>Subject:</td><td><input value="<?php echo $row['subject']; ?>" class="text" style="width:650px;" type="text" name="subject" size="20"></td></tr>
<tr><td>Message:</td><td>
<fieldset style="padding:0; border:none;">
<textarea class="text" style="width:100%; height:300px;" name="message" cols="6" rows="5"><?php echo $message; ?></textarea></fieldset></td></tr>
</table>
<div id="confirmation" style="text-align:center; clear:both;">
<input id="Reset" type="reset" class="button" value="Reset">&nbsp;
<input name="submit" type="button" class="button" value="Submit" onClick="fwSendmail(<?php echo $type; ?>)"></div>
</form></div>
Return current item: RAMUI WEBBLOG