Location: PHPKode > scripts > Ramui web hosting directory script > Ramui web hosting directory script/gb/user/include/add_post.php
<div style="float:right;clear:both;color:red;margin:10px 30px;"><img src="images/mandatory.gif" /> Fields are mandatory</div>
<form name="frmComment" 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: 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="padding: 5px 0;">
<img src="images/mandatory.gif" />URL:</td><td style="padding: 5px 0;"><input type="text" class="text" style="width: 665px;" name="url" id="url" size="20" value="<?php echo $row['url'];?>" /></td></tr>
<tr><td style="padding: 5px 0;vertical-align:middle;">Description:</td><td style="padding: 5px 0;">
<textarea class="text" style="width: 665px; height:60px;" name="description" id="description"><?php echo $row['description'];?></textarea></td></tr>
<tr><td style="vertical-align:middle;"><img src="images/mandatory.gif" />Detail:<br />[ <a id="editorlink" href="javascript:fwOpenBBCodeEditor('<?php echo '1M4M'.$id.'&editor=content&max='.$max;?>')">Open editor</a> ]</td>
<td style="padding: 5px 0;"><textarea class="text" style="width:665px; height:260px;" name="content" id="content"><?php echo $row['content'];?></textarea></td></tr>
<tr><td style="padding: 5px 0 20px;">
Tags:</td><td style="padding: 5px 0 20px;">
<input type="text" class="text" style="width: 665px;" name="tags" id="tags" size="20"></td></tr>
<tr><td colspan="2" style="border:1px solid #a7beb7;background:#e0f0e8;">
<table id="mydata" cellspacing="4">
<tr><td style="vertical-align:middle;padding-left:5px;width:60px;"><u>Minimum</u>:</td><td style="padding:0;">BW in Ghz<br />
<input type="text" class="txtsmall" name="bw" id="bw" value="<?php echo $row['bw'];?>" size="20" /></td><td>Price in USD
<br /><input type="text" class="txtsmall" name="usd" id="usd" value="<?php echo $row['usd'];?>" size="20" /> /year</td><td>Space in GB
<br /><input type="text" class="txtsmall" name="space" id="space" value="<?php echo $row['space'];?>" size="20" /></td><td>Uptime
<br /><input type="text" class="txtsmall" name="uptime" id="uptime" value="<?php echo $row['uptime'];?>" size="20" /> %</td>
<td>Domain / account<br /><input type="text" class="txtsmall" name="noofdomain" id="noofdomain" value="<?php echo $row['noofdomain'];?>" size="20" /></td>
</tr>
<tr><td>&nbsp;</td>
<td colspan="2" style="padding:10px 0 0 0;"><input style="width:15px; margin:0;" type="checkbox" name="freedomain"<?php if($row['freedomain']=='Y'){echo ' checked';}?> /> Include free domain</td>
<td colspan="3" style="padding:10px 0 0 10px;">Server: <select name="server" id="server" class="text" style="width:120px;height:18px;font-size:10px;color:#606060;">
<?php
$arr=array('- - Select - -','Linux','Windows','Solaris','FreeBSD','Mac OSX');
for($i=0; $i<6; $i++){echo '<option value="'.$i.(($row['server']==$i)? '" selected':'"').'>'.$arr[$i].'</option>';}
?>
</select></td></tr>
</table>
</td></tr>
<tr><td style="padding: 10px 0;"><img src="images/mandatory.gif" />
<a href="javascript:fw_verification_image()">Verify:</a></td><td>
<input id="captcha" name="captcha" class="text" type="text" style="width:100px;" >
&nbsp;&nbsp;<img id="fw_verification_img" alt="refrace" style="border:none; height:16px;" align="absbottom" /></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 id="btnSubmit" type="button" class="fw_button" value="Submit" onClick="fw_post(<?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>
<script type="text/javascript">
fw_verification_image();
</script>
Return current item: Ramui web hosting directory script