<html>
<head>
<title>留言簿 - powered by dedecms</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel=stylesheet href="images/css.css" type="text/css">
</head>
<body topmargin="2" >
<center>

<table width="720" height="68px;" border="0" cellspacing="0" cellpadding="0" style="border-bottom:2px solid #DDD;margin-bottom:5px;">
		<tr>
				<td align="left" valign="bottom" style="background:url(images/toplogo.gif) left 30px no-repeat;font-size:16px;	font-weight:bold;letter-spacing:2px;padding-left:200px;padding-bottom:8px;">	留言本	</td>
				<td align="right" valign="bottom" style="padding-bottom:10px;padding-right:10px;">
				<a href="#write">[签写留言]</a> 	</td>
		</tr>
</table>




<?php 
$mylist = $dlist->GetDataList();
while($row = $mylist->GetArray('dm'))
{
?>
<table width='720' border='0' cellpadding='3' cellspacing='1' bgcolor='#CCCCCC'>
  <tr>
    <td width='160' rowspan='3' valign='top' bgcolor='#FFFFFF'>
    <table border='0' cellPadding='4' cellSpacing='0' width='100%'>
      <tr>
        <td align=center width='17%'>
        	<img src='images/<?php echo $row["face"]?>.gif' border=0>
        	<?php echo GetIsCheck($row['ischeck'],$row['ID'])?>
        </td>
      </tr>
    </table>
   <P> 
   &nbsp;姓名：<?php echo $row['uname']?><br>
	 &nbsp;来自：<?php echo $row['ip']?><br>
	 &nbsp;QQ：<?php echo $row['qq']?><br>
	</P>
	</td>
    <td width='600' bgcolor='#FFFFFF'><img height='16' src='images/time.gif' width='16'> 发表时间: <?php echo $row['dtime']?> </td>
  </tr>
  <tr>
    <td height='100' bgcolor='#FFFFFF' style='word-break: break-all'>
    <?php echo $row['msg']?>
    </td>
  </tr>
  <tr>
    <td bgcolor='#FFFFFF'>
    <a href='mailto:<?php echo $row["email"]?>'><img src='images/mail.gif' border=0 width='16' height='16'>[邮件]</a> 
    <a href='http://<?php echo $row['homepage']?>' target='_blank'><img src='images/home.gif' border=0 width='16' height='16'>[主页]</a>  
    <a href='edit.php?ID=<?php echo $row['ID']?>'><img src='images/quote.gif' border=0 height=16 width=16>[回复/编辑]</a>  
    <a href='edit.php?ID=<?php echo $row['ID']?>&job=del'><img src='images/del.gif' border=0 height=16 width=16>[删除]</a> 
    </td>
  </tr>
</table>
<table width='720'><td height='2'></td></table>
<?php  } ?>
<table border='0' cellpadding='4' cellspacing='0' width='720' align='center'>
  <tr>
  <td align="right">
  <?php echo $dlist->GetPageList(7);?>
  </td>
  </tr>
  <tr><td></td></tr>
</table>
<a name="write"></a>
  <table width="720" border="0" cellspacing="1" cellpadding="4" align="center" bgcolor="#CCCCCC">
    <form method="post" action="savepost.php">
      <tr bgcolor="#ffffff"> 
        <td width="10%" align="center" nowrap><font color="#FF0000">*</font>你的姓名：</td>
        <td width="40%"><input type="text" maxlength="10" name="uname" size="36" class="input"></td>
        <td width="10%" align="center" nowrap>OICQ号码：</td>
        <td width="40%"><input maxlength="20" type="text" name="qq" size="46" class="input"></td>
      </tr>
      <tr bgcolor="#ffffff"> 
        <td align="center" nowrap>&nbsp;电子邮件：</td>
        <td><input maxlength="80" type="text" name="email" size="36" class="input"></td>
        <td align="center" nowrap height="12">个人主页：</td>
        <td height="12"><input maxlength="80" type="text" name="homepage" size="46" class="input"></td>
      </tr>
      <tr bgcolor="#ffffff"> 
        <td align="center" nowrap width="10%">验 证 码：</td>
        <td height="12" colspan="3"> <table width="200" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td width="84"><input name="validate" type="text" id="vdcode2" size="10"></td>
              <td width="116"><img src='../../include/vdimgck.php' width='50' height='20'></td>
            </tr>
          </table></td>
      </tr>
      <tr bgcolor="#ffffff"> 
        <td align="center" nowrap width="10%"> <font color="#FF0000">*</font>留言内容：<br>
          (1000字内) </td>
        <td align="left" width="40%"><textarea name="msg" cols="36" rows="8" class="textarea"></textarea></td>
        <td align="center" nowrap height="2" width="10%">选择头像：</td>
        <td nowrap height="2" width="40%"> 
		<input type="radio" name="img" value="01" checked> 
          <img src="images/01.gif" width="25" height="25"> <input type="radio" name="img" value="02"> 
          <img src="images/02.gif" width="25" height="25"> <input type="radio" name="img" value="03"> 
          <img src="images/03.gif" width="25" height="25"> <input type="radio" name="img" value="04"> 
          <img src="images/04.gif" width="25" height="25"> <input type="radio" name="img" value="05"> 
          <img src="images/05.gif" width="25" height="25"> <br> <input type="radio" name="img" value="06"> 
          <img src="images/06.gif" width="25" height="25"> <input type="radio" name="img" value="07"> 
          <img src="images/07.gif" width="25" height="25"> <input type="radio" name="img" value="08"> 
          <img src="images/08.gif" width="25" height="25"> <input type="radio" name="img" value="09"> 
          <img src="images/09.gif" width="25" height="25"> <input type="radio" name="img" value="10"> 
          <img src="images/10.gif" width="25" height="25"> <br><input type="radio" name="img" value="11"> 
          <img src="images/11.gif" width="25" height="25">  <input type="radio" name="img" value="12"> 
          <img src="images/12.gif" width="25" height="25"> <input type="radio" name="img" value="13"> 
          <img src="images/13.gif" width="25" height="25"> <input type="radio" name="img" value="14"> 
          <img src="images/14.gif" width="25" height="25">   <input type="radio" name="img" value="15"> 
          <img src="images/15.gif" width="25" height="25"> <br><input type="radio" name="img" value="16"> 
          <img src="images/16.gif" width="25" height="25"> <input type="radio" name="img" value="17"> 
          <img src="images/17.gif" width="25" height="25"><input type="radio" name="img" value="18"> 
          <img src="images/18.gif" width="25" height="25"> <input type="radio" name="img" value="19"> 
          <img src="images/19.gif" width="25" height="25"> <input type="radio" name="img" value="20"> 
          <img src="images/20.gif" width="25" height="25"> <br><input type="radio" name="img" value="21"> 
          <img src="images/21.gif" width="25" height="25"> <input type="radio" name="img" value="22"> 
          <img src="images/22.gif" width="25" height="25">  <input type="radio" name="img" value="23"> 
          <img src="images/23.gif" width="25" height="25"> <input type="radio" name="img" value="24"> 
          <img src="images/24.gif" width="25" height="25"> </td>
      </tr>
      <tr bgcolor="#ffffff"> 
        <td align="center" nowrap colspan="4"> <input maxlength="1000" type="submit" name="Submit" value="提 交" class="btn"> 
          &nbsp;&nbsp; <input type="reset" name="Submit2" value="取 消" class="btn"> 
        </td>
      </tr>
    </form>
  </table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="40" align="center"><a href="http://www.dedecms.com" target="_blank">Power by DedeCms 织梦内容管理系统</a></td>
  </tr>
</table>
</center>
</body>
</html>