</tr>
      <tr>
        <td colspan="3"><div align="center" style="margin:5px;"><strong><?php 
echo $_GET['msg'];
?>
</strong></div></td>
      </tr>
      <tr>
        <td colspan="3"><div align="center">
        <?
			include("./config.php");
			echo"<table border=0 id=border width=95%><tr><td id=border align=center>Blog Post</td><td id=border align=center>Posted Date</td><td id=border align=center>Reply</td><td id=border align=center>Visits</td><td id=border align=center>Detail</td><td id=border align=center>Edit</td><td id=border align=center>Delete</td></tr>";
			$result=mysql_query("select * from blog order by blogdate desc");
			while($row=mysql_fetch_array($result))
			{
				echo"<tr><td align=center><a href=./blog_detail.php?id=".$row['blogid'].">".$row['blogsubject']."</a></td><td align=center>".$row['blogdate']."</td><td align=center>".get_blogreply($row['blogid'])."</td><td align=center>".$row['blogvisit']."</td><td align=center><a href=./blog_detail.php?id=".$row['blogid']."><img src=./images/detail_item.png alt=Detail border=0></a></td><td align=center><a href=./blog_edit.php?id=".$row['blogid']."><img src=./images/edit_item.png alt=Edit border=0></a></td><td align=center><a href=./blog_del.php?id=".$row['blogid']."><img src=./images/del_item.png alt=Delete border=0></a></td></tr>";
			}
			echo"</table>"
		?>
        </div></td>
      </tr>
      <tr>
        <td width="91">&nbsp;</td>
        <td width="809" colspan="2">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="3">
        <a name="add">
	    <form name="form1" method="post" action="./blog_add_db.php" >
        <input type="hidden" name="login" value="<?php 
echo $_SESSION['cuser'];
                    <td width="12%" style="border-right:solid 1px #CC0000;"><div align="center">Reply</div></td>
                    <td width="11%" style="border-right:solid 1px #CC0000;"><div align="center">Visits</div></td>
                    <td width="12%"><div align="center">Detail</div></td>
                    </tr>
              </table></td>
              <td id="box_right">&nbsp;</td>
            </tr>
            <tr>
              <td colspan="3" width="854px" id="box_border" valign="top" align="center"><div align="center">
             <table width="95%" border="0" align="center">
             <? ini_set('error_reporting', E_ALL ^ ~E_NOTICE ^ ~E_WARNING);
			include("./config.php");
			$result=mysql_query("select * from blog order by blogdate desc");
			while($row=mysql_fetch_array($result))
			{
				echo"<tr><td align=center width=25%><a href=./blog_detail.php?id=".$row['blogid'].">".$row['blogsubject']."</a></td><td align=center width=18%>".$row['blogdate']."</td><td align=center width=12%>".get_blogreply($row['blogid'])."</td><td align=center width=11%>".$row['blogvisit']."</td><td align=center width=13%><a href=./blog_detail.php?id=".$row['blogid']."><img src=./images/detail_item.png alt=Detail border=0></a></td></tr>";
			}
		?>
                </table>
              
              </div></td>
            </tr>
          </table>
          <p>&nbsp;</p>
         </div></td>
      </tr>
      
    </table></td>
  </tr>
  <tr>
    <td><hr color="#FFDCB9" size="1px" width="98%"></td>