Location: PHPKode > projects > RAMUI WEBBLOG > fw_blog/admin/include/editaddonpage.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="frmedit" id="frmedit" onsubmit="return false;">
<?php
if ($page_id!=''){
    echo '<table id="menu"><tr><td style="width:100px;"><a href="index.php?qur=3M">File list</a></td><td style="width:100px;"><a href="javascript:fw_delete_page(\'3M2M'.$page_id.'\')">Delete file</a></td><td style="width:400px;">&nbsp;</td></tr></table>';
}
?>
<div id="feedback"></div>
<table id="filelist" style="width:100%; float:right; margin-top:20px;">
<tr><td width="150px">Name:</td><td><input value="<?php echo $row['pagename']; ?>" class="text" style="width:650px;" type="text" name="pagename" size="20"></td></tr>
<tr><td>Page content:</td><td>
<fieldset style="padding:0; border:none;">
<textarea class="text" style="width:100%; height:300px;" name="content" cols="6" rows="5"><?php echo htmlentities($row['content'],ENT_QUOTES); ?></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="fwEdit(<?php echo ($page_id==''? -1:$page_id);?>);"></div>
</form></div>
Return current item: RAMUI WEBBLOG