Location: PHPKode > scripts > Ramui web hosting directory script > Ramui web hosting directory script/gb/admin/include/editcomments.php
<?php
/*
Copyright (c) 2011 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.
*/
$hmenu='<table id="menu"><tr><td width="100px"><a href="index.php?qur=9M">Comment list</a></td><td width="100px"><a href="javascript:fwPublish()"><span id="fw_block">'.(($row['publish']=='Y')? 'Block' : 'Publish').'</span></a></td>';
$hmenu.='<td width="100px"><a href="javascript:fwDelete()">Delete</a></td>';
$hmenu.='<td width="100px"><a href="index.php?qur=2M1M'.$row['pid'].'">View post</a></td>';
$hmenu.='<td style="border-right:none;"></td></tr></table>';
echo $hmenu;
?>
<div style="float:right;clear:both;color:red;margin:10px 30px;"><img src="images/mandatory.gif" /> Fields are mandatory</div>
<form name="frmedit" id="frmedit" style="width:800px;margin:10px 0;padding:10px;font-size:11px;" onsubmit="return false;">
<table id="fw_addcomment" style="width:100%;">
<tr><td colspan="2" id="feedback"></td></tr>
<tr><td style="padding:15px 5px;width:100px;"><b>User:</b></td><td style="padding: 5px 0;"><?php echo '<a href="index.php?qur=3M7M'.$row['uid'].'">'.$row['user'].'</a>';?></td></tr>
<tr><td style="padding:5px 0;width:100px;"><img src="images/mandatory.gif" />Title:</td><td style="padding: 5px 0;">
<input type="text" class="text" style="width: 665px;" name="title" id="title" size="20" value="<?php echo $row['title'];?>" /></td></tr>
<tr><td style="vertical-align:middle;"><img src="images/mandatory.gif" />Detail:<br />[ <a href="javascript:fwOpenBBCodeEditor('<?php echo '1M3M2M'.$cid.'&editor=comment&max='.$max;?>')">Open editor</a> ]</td>
<td style="padding: 5px 0;"><textarea class="text" style="width:665px; height:260px;" name="comment" id="comment"><?php echo $row['comment'];?></textarea></td></tr>
<tr><td colspan="2" style="padding:25px 0 0 20px;">
<input type="reset" class="fw_button" value="Reset" name="B1" onclick="resetForm()" />&nbsp;&nbsp;
<input type="button" class="fw_button" value="Submit" onClick="fwEdit(<?php echo $max;?>)" />&nbsp;&nbsp;
<input style="width:15px; border:none; margin:0;" type="checkbox" name="fw_parseurls" id="fw_parseurls"<?php if($row['autolink']=='Y'){echo ' checked';}?> /> automatically parse URLs</td></tr></table>
</form>
</div>
Return current item: Ramui web hosting directory script