本篇实现发表博客。
八、发表博客
(1)、界面实现file.php
<tr>
<td colSpan=3 valign="baseline" style="BACKGROUND-IMAGE: url( images/bg.jpg); VERTICAL-ALIGN: middle; HEIGHT: 450px; TEXT-ALIGN: center">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="451" align="center" valign="top">
<!-- 发表文章 -->
<table width="640" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="613" height="223" align="center"><br>
<span style="white-space:pre"> </span><table width="500" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<span style="white-space:pre"> </span> <form name="myform" method="post" action="check_file.php?flag=<?php echo $flag; if($flag){echo "&id=".$_GET['file_id'];}?>">
<span style="white-space:pre"> </span> <table width="630" border="1" cellpadding="3" cellspacing="1" bordercolor="#D6E7A5">
<tr>
<td class="i_table" colspan="2"> <span class="tableBorder_LTR">添加博客文章</span></td>
</tr>
<tr>
<td valign="top" align="right" width="14%">博客主题:<br></td>
<td width="86%"><input name="txt_title" type="text" id="txt_title" size="68" value="<?php if($flag){echo $title;}?>"></td>
</tr>
<tr>
<td align="right" width="14%">文字编辑区:</td>
<td width="86%">
<img src=" images/UBB/B.gif" width="21" height="20" onClick="bold()">
<img src=" i