Location: PHPKode > projects > Spam free PHP GuestBook > Spam free PHP GuestBook-1.2beta/gb/admin/include/editsite.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" style="margin:10px;" onsubmit="return false;">
<table id="fw_addcomment">
<tr><td id="feedback"></td></tr>
<tr><td style="padding: 10px 0;"><b>Title</b> (80 characters maximum):<br />
<input type="text" class="text" style="width: 680px; height:24px;" name="sitename" id="sitename" size="20" value="<?php echo $row['sitename'];?>" /></td></tr>
<tr><td style="padding: 10px 0;"><b>Description</b> (250 characters maximum):<br />
<textarea class="text" style="width: 680px; height:60px;" name="description" id="description"><?php echo $row['description'];?></textarea></td></tr>
<tr><td style="padding: 10px 0 30px 0;"><b>Keywords</b> (250 characters maximum):<br />
<input type="text" class="text" style="width: 680px; height:24px;" name="keywords" id="keywords" size="20" value="<?php echo $row['keywords'];?>" /></td></tr>
<tr><td style="border:1px solid #808080;padding:3px;">
<table><tr><td style="width:38%;border-right:2px solid #aaaaaa;padding-right:20px;">
<table><tr><td width="140px"><b>Max. post size:</b></td>
<td><input type="text" class="text" name="postsize" id="postsize" style="width: 80px; height:18px;" size="20" value="<?php echo $row['postsize'];?>" /></td></tr>
<tr><td><b>Max. comment size:</b></td>
<td><input type="text" class="text" name="commentsize" id="commentsize" style="width: 80px; height:18px;" size="20" value="<?php echo $row['commentsize'];?>" /></td></tr>
<tr><td><b>List par page:</b></td>
<td><input type="text" class="text" name="listcount" id="listcount" style="width: 80px; height:18px;" size="20" value="<?php echo $row['listcount'];?>" /></td></tr></table>
<td style="padding-left:15px;">
<table cellspacing="4">
<tr><td><input style="width:15px; margin:0;" type="checkbox" name="approval"<?php echo (($row['approval']=='A')? ' checked' : '');?> /> automatically approve user post and comments</td></tr>
<tr><td><input style="width:15px; margin:0;" type="checkbox" name="nofollow"<?php echo (($row['nofollow']=='Y')? ' checked' : '');?> /> Use nofollow link</td></tr>
<tr><td><input style="width:15px; margin:0;" type="checkbox" name="allowemail"<?php echo (($row['allowemail']=='Y')? ' checked' : '');?> /> Allow user to email from this board</td></tr></table>
</td></tr></table>
</td></tr>
<tr><td style="padding: 30px 0 30px 0;"><b>Select template:</b>&nbsp;
<select size="1" class="text" style="width: 300px;" name="template">
<?php echo $option;?>
</select></td></tr>
<tr><td><b>User registration:</b></td></tr>
<tr><td style="border:1px solid #808080;padding:5px 5px 5px 30px;"><table><tr><td style="width:160px;vertical-align:middle; border-right:2px solid #aaaaaa;padding-right:20px;">
<input style="width:15px; margin:0;" type="checkbox" name="verify"<?php echo (($row['verifyuser']=='Y')? ' checked' : '');?> /> Verify user email address
</td><td style="padding-left:20px;color:#cc3333;font-size:11px;">
If you select this option every time whenever user input a new email address a <u>verification email will be sent</u> to confirm that email address.
</td></tr></table></td></tr>
<tr><td style="padding: 30px 0 0 0;"><b>Image settings:</b></td></tr>
<tr><td style="border:1px solid #808080;padding:5px 5px 5px 30px;">
<table>
<tr><td width="230px"><b>Max. number of image per post:</b></td>
<td><input type="text" name="imagecount" class="text" style="width: 80px; height:18px;" size="20" value="<?php echo $row['imagecount'];?>" /></td></tr>
<tr><td><b>Max. image width in pixel:</b></td>
<td><input type="text" name="imagewidth" class="text" style="width: 80px; height:18px;" size="20" value="<?php echo $row['imagewidth'];?>" /></td></tr>
<tr><td><b>Max. image height in pixel:</b></td>
<td><input type="text" name="imageheight" class="text" style="width: 80px; height:18px;" size="20" value="<?php echo $row['imageheight'];?>" /></td></tr></table>
</td></tr>
<tr><td style="padding:35px 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="fwSite();">
&nbsp;&nbsp;<span id="fw_blocksite" style="font-weight:600;border:1px solid #999999;padding:2px 15px 1px 10px;cursor:pointer;" onclick="fwblockSite()"><?php echo $blocksite;?></span>
</td></tr>
</table></form></div>
Return current item: Spam free PHP GuestBook