<%@ page contentType="text/html; charset=GBK"%>
<%@ taglib uri="/cms4j" prefix="cms4j" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title><cms4j:site_config node_id="root"><%=siteconfig_info.getSITE_TITLE()%></cms4j:site_config></title>
<style type="text/css"></style>
<link href="css/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #666666}
.style2 {color: #003399}
.style4 {color: #EFEFEF}
.STYLE5 {color: #0000FF; }
-->
</style>
</head>

<body>
<jsp:include page="top.jsp"/>
<table width="960" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#C5D1E5">
  <tr>
    <td bgcolor="#FFFFFF" class="list_top_b">
	
	<!--留言本：操作栏-->
	<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
	<form id="guestBookSearchForm" name="guestBookSearchForm" action="">
      <tr>
        <td width="47%" height="50" align="left"><a href="guestbook_add.jsp"><img src="images/fbly.gif" width="82" height="23" border="0"></a></td>
        <td width="53%" align="right" class="list">搜索：
          <input name="s" type="text" class="form" id="s" value="${param.s}">
          <input name="Submit" type="button" class="btn_css" onClick="location.href='?s=' + document.guestBookSearchForm.s.value" value="搜索"></td>
      </tr>
	  </form>
    </table>
	<!--END	留言本：操作栏-->
	
	
	<!--留言本：留言列表-->
	
	<cms4j:message filter="audited" filter2="message_status_open" page_size="10" search="${param.s}" message_class_id="guestbook">
	
      <TABLE width=96% height=69 border=1 align=center cellPadding=1  cellSpacing=0 bordercolor="#D0F0FF" class="list"  style="BORDER-COLLAPSE: collapse;BORDER-RIGHT: #85ace0 1px solid; BORDER-TOP: #85ace0 1px solid; BORDER-LEFT: #85ace0 1px solid; BORDER-BOTTOM: #85ace0 1px solid">
          
		  <TR>
            <TD class=jd_tab colSpan=2 height=25>
				<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all; WORD-WRAP: break-word" height=23 cellSpacing=0 cellPadding=0 width="100%" border=0>
				  <TR>
					<TD width="20%" align="right" bgcolor="#e7f1f8"  style="WORD-BREAK: break-all">
						&nbsp;&nbsp;<FONT color=#666666><B><%= message_info.getUSER_NAME()%> 说： </B></FONT>
					</TD>
					
					<TD width="80%" bgcolor="#e7f1f8" style="WORD-BREAK: break-all">
						<b><%=message_info.getTITLE()%></b>
					</TD>
				  </TR>
			  </TABLE>
			
			</TD>
          </TR>
		  
          <TR>
            <TD width=20% align=center vAlign=middle>
				<TABLE width="90%" border=0 align=center cellpadding="3" cellspacing="0" class=unnamed1>
				
                  <TR>
                    <TD height="30" align="center" valign="middle">
						<span class="list_cell_bg"><IMG height=19 src="../../images/guestbook/face<%=message_info.getMOOD()%>.gif" width=19></span>
					</TD>
                  </TR>
				  
                  <TR>
                    <TD height="30" align="center" valign="middle">
						<%=message_info.getCREAT_DATE_FORMATED("yyyy-MM-dd HH:ss")%>
					</TD>
                  </TR>
				  
                  <TR>
                    <TD height="30" align="center" valign="middle">
						<img src="../../images/guestbook/icon/email.gif" width="16" height="16" border="0" alt="<%=message_info.getEMAIL()%>"> 
						<img src="../../images/guestbook/icon/homepage.gif" width="16" height="16" border="0" alt="<%=message_info.getHOMEPAGE()%>"> 
						<img src="../../images/guestbook/icon/ip.gif" width="13" height="15" border="0"  alt="<%=message_info.getIP()%>"> 
						<img src="../../images/guestbook/icon/oicq.gif" width="16" height="16" border="0" alt="<%=message_info.getQQ()%>">
					</TD>
                  </TR>
				  
           	  </TABLE>
			
			</TD>
			
			
            <TD width="80%" height=21 vAlign=top style="WORD-BREAK: break-all">
				<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all; WORD-WRAP: break-word" cellPadding=10 width="100%" border=0>
                  <TR>
                    <TD style="WORD-BREAK: break-all">
						<%=message_info.getCONTENT()%>
					</TD>
                  </TR>
           	  </TABLE>
			</TD>
			
          </TR>
		  
          <TR>
            <TD align=right vAlign=middle class=jd_tab>管理员答复：</TD>
            
			<TD height=21 class=STYLE5 style="WORD-BREAK: break-all">
					<table width="100%" border="0" cellspacing="0" cellpadding="10">
  <tr>
    <td><%=message_info.getANSWER_CONTENT()%> [<%=message_info.getANSWER_DATE_FORMATED("yyyy-MM-dd")%>]</td>
  </tr>
</table>
				
			</TD>
          </TR>
      </TABLE>
	  
      <br>
	  
	  </cms4j:message>
	  <!--END	留言本：留言列表-->
	  
	  <!--留言本：分页栏-->
		<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
			<tr>
			  <td height="30" align="right" valign="top">
			  
			  <jsp:include page="../../symbol/page/page_1.jsp">
                                  <jsp:param name="CSS" value="list"></jsp:param>
                </jsp:include>
			  
			  
			  </td>
			</tr>
	  </table>
	  
	  <!--END	留言本：分页栏-->
	  
    </td>
  </tr>
</table>
<jsp:include page="bottom.jsp"/>
</body>
</html>
