<?
	session_start();
	$mId = $_SESSION['mId'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>留言板</title>
<style>
.style1 {font-size: 13px; color: #FFFFFF; }
BODY {
	SCROLLBAR-FACE-COLOR: #D4D0C8;
	SCROLLBAR-HIGHLIGHT-COLOR: #D4D0C8;
	SCROLLBAR-SHADOW-COLOR: #999999;
	SCROLLBAR-3DLIGHT-COLOR: #FFFFFF;
	SCROLLBAR-ARROW-COLOR:  #000000;
	SCROLLBAR-TRACK-COLOR: #E3E3E3;
	SCROLLBAR-DARKSHADOW-COLOR: #666666;
	background-color: #000000;
	background-image: url(img/bg3.png);
	background-attachment: fixed;
}
a:link {
	color: white;
	text-decoration: none;
}
a:visited {
	color: white;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
}
</style>
</head>

<body leftmargin="0" topmargin="0" bgproperties="fixed" rightmargin="0"  bottommargin="0" marginwidth="0" marginheight="0">
<center>
<body>
<center>
<form action = "msg_act.php" name = "band_article_act" method = "post">
  <p>&nbsp;</p>
  <table width="372" height="344" border="0" cellpadding="1" cellspacing="0" class="style1">
		<tr bgcolor="#12120C">
		  <td  height="21" colspan="3"><div align="center"><strong>留言內容</strong></div></td>
	  </tr><tr><td colspan = "2" height = "1"></td>
		<tr>
			<td width="76"  height="21" bgcolor="#474537"><div align="center">Name</div></td>
			<td width="0"></td>
			<td width="282" bgcolor="#474537"><div align="left">
			  <?
			  	if($mId!="")
				{
					echo $mId;
				}
				else
				{
					echo "<input type = 'text' name = 'mId' size = '47'>";
				}
			  ?>
		    </div></td>
		</tr><tr><td colspan = "2" height = "1"></td>
		<tr>
			<td height="21" bgcolor="#7A7862"><div align="center">e-mail</div></td><td width="0"></td>
			<td bgcolor="#7A7862"><div align="left">
			  <input type = "text" name = "email" size = "47">
		    </div></td>
		</tr><tr><td colspan = "3" height = "1"></td>
		<tr>
			<td height="21" bgcolor="#8E876D"><div align="center">標題</div></td><td width="0"></td><td bgcolor="#8E876D"><div align="left">
			  <input type = "text" size = "47" name = "mTitle">
		    </div></td>
		</tr><tr><td colspan = "2" height = "1"></td>
		<tr>
			<td bgcolor="#666666"><div align="center">內容</div></td><td width="0"></td><td bgcolor="#666666">
		      <div align="left">
		        <textarea cols = "40" name = "mContent" rows = "12"></textarea>
            </div></td>
		</tr><tr><td colspan = "12"></td></tr><tr><td colspan = "2" height = "1"></td>
		<tr bgcolor="#999999">
			<td colspan = "3"><div align = "center">
			<? if($mId!="")
				{
					echo "<input type = 'hidden' value = ".$mId." name = 'mId'>";
				}?>
			<input type = "submit" value = "發表" >
			<input type = "reset" value = "重寫"></div></td>
		</tr>
</table>


<p>&nbsp;</p>
</form>
</center>
</body>
