<!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>在线答疑-<?php echo $cfg_webname; ?></title>
<style type="text/css">
.list_user {
	width: 100%;
	height:100%;
	overflow:hidden;
	padding-bottom: 15px;
}
.list_user_z {
	float: left;
	display: block;
	width: 64px;
}
.list_user_content {
	float: left;
	width: 708px;
}
.list_user_content_top {
	width: 708px;
	background:#fafafa;
	border-radius:5px;
}
.list_user_content_message {
	padding-top: 15px;
	padding-bottom: 12px;
	padding-right: 15px;
	padding-left: 15px;
	font-family: "微软雅黑";
	font-size: 13px;
	line-height: 23px;
	color: #444444;
	word-break:break-all; /*background-image: url(../images/six/guestbook_31.gif);*/
	background-repeat: no-repeat;
}
.list_user_content_reply {
	width: 610px;
	padding-left: 15px;
	font-size: 0px;
}
.list_user_content_reply3 {
	width: 610px;
	padding-left: 15px;
	font-size: 0px;
}
red {
	color:#F00
}
.reply_top {
	width: 652px;
	background: #5F5F5F;
	padding: 10px 15px;
	border-radius:5px;
}
.reply_content {
	width: 652px;
	font-family: "微软雅黑";
	font-size: 12px;
	line-height: 23px;
	color: #FFF;
}
.reply_d {
	width: 797px;
	background-image: url(../images/six/book_21.gif);
	height: 8px;
	font-size: 0px;
	background-repeat: no-repeat;
}
.content_information {
	padding:12px 15px;
	text-align: right;
	font-family: "微软雅黑";
	font-size: 12px;
	color: #999999;
}
.content_information_me {
	padding-right: 15px;
	padding-left: 15px;
	text-align: right;
	font-family: "微软雅黑";
	font-size: 12px;
	color: #999999;
}
.list_user_content_no {
	width: 100%;
	border-top-width: 1px;
	border-top-style: dotted;
	border-top-color: #B9B9B9;
	height: 1px;
}
</style>
<?php 
 pasterTempletDiy("boyue/head2.htm"); 
?>
<div class="body1">
  <div class="left w250">
    <?php 
 pasterTempletDiy("boyue/left_new.htm"); 
?>
  </div>
  <div class="right w740">
    <div class="body_main">
      <h1><i></i>您的位置：<a href='/'> 主页 </a> > <a href='/plus/guestbook.php'>在线答疑</a></h1>
      <div class="body_neirong">
        <?php 
  $ntt=0;
  $bgcc = '#FBFEED';
  ?>
        {aite:datalist} 
        <div class="list_user">
          <div class="list_user_content">
            <div class="list_user_content_top">
              <div class="list_user_content_message">
                <div class="list_user_z_name"> <font color="#0069DD"><?php echo $fields['uname']; ?>：</font><?php echo $fields['title']; ?> | 来自：<?php echo preg_replace("#[^\.]*\.[^\.]*$#","*.*",$fields['ip']); ?></div>
              </div>
              <div class="list_user_content_reply">
                <div class="reply_top">
                  <div class="reply_content"><?php echo $fields['msg']; ?></div>
                </div>
              </div>
              <div class="content_information">
                <?php if($g_isadmin) { ?>
                <a href='guestbook.php?action=admin&id=<?php echo $fields['id']; ?>'>回复</a> | <a href='guestbook.php?action=admin&id=<?php echo $fields['id']; ?>&job=del'>删除</a>
                <?php }  ?>
                | <?php echo MyDate('m-d H:i',$fields['dtime']); ?></div>
            </div>
          </div>
        </div>
        <?php if($ntt==0){$ntt=1;}else{ $ntt=0; } ?>
        {/aite:datalist}
        <table border='0' cellpadding='0' cellspacing='0' width='100%' align='center' class='pagetable'>
          <tr>
            <td align="center" height='28'> {aite:pagelist listsize='5'/} </td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="1" cellpadding="4" align="center" bgcolor="#dedede" id="xnxx" class='writetable'>
          <form method="post" action="guestbook.php" name="form1">
            <input type='hidden' name='action' value='save' />
            <tr>
              <td colspan='4' class='writetd'><b>提交疑问：</b><a name='write'></a></td>
            </tr>
            <tr bgcolor="#ffffff">
              <td width="10%" align="center" nowrap><font color="#FF0000">*</font>标题：</td>
              <td width="40%"><input type="text" maxlength="50" name="title" size="30" class="text"/></td>
            </tr>
            <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="30" value="<?php echo $g_name; ?>" class="text"/></td>
            </tr>
            <tr bgcolor="#ffffff">
              <td width="10%" align="center" nowrap>QQ号码：</td>
              <td width="40%"><input maxlength="20" type="text" name="qq" size="20" class="text" /></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="38" rows="5" class="textarea text"></textarea></td>
            <tr bgcolor="#ffffff">
              <td width="10%" align="center" nowrap>验 证 码：</td>
              <td><table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="70"><input name="validate" type="text" id="vdcode2" class="text" style="width:60px;text-transform: uppercase;" /></td>
                    <td><img src='../include/vdimgck.php'/></td>
                  </tr>
                </table></td>
            </tr>
              </tr>
            
            <tr bgcolor="#ffffff">
              <td colspan="4" align="center" nowrap><input maxlength="1000" type="submit" name="Submit" value="提 交" class="anbu1" />
                &nbsp;&nbsp;
                <input type="reset" name="Submit2" value="取 消" class="anbu1" /></td>
            </tr>
          </form>
        </table>
      </div>
    </div>
  </div>
</div>
<?php 
 pasterTempletDiy("boyue/foot.htm"); 
?>
