<!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=gb2312" />
<title>留言本附加组件-信息修改</title>
<link type="text/css" rel="stylesheet" href="skin/css/min.css" />
<link type="text/css" rel="stylesheet" href="skin/css/code.css" />
<script type="text/javascript" language="javascript" src="skin/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" language="javascript" src="skin/js/min.js"></script>

</head>
<body>
<div class="hvalign" style="width:720px">
  <div class="hvalign-cnt">
    <div class="hvalign-cnt-inner">
      <div class="well"> <span class="pull-left">当前位置:<a href="gbooklist.php">留言板插件</a> > 留言信息查看</span> </div>
      <div class="clear"></div>
      <div>
      <form action="gbook.php?action=save" method="post">
      
        <table class="table table-bordered table-striped">
          <tbody>
  
 <?php
 $action=$_GET[action];
 if($action=='edit'){
 require ('../e/class/connect.php');
 require ('../e/class/db_sql.php');
 $id=$_GET[id];

 $link=db_connect();
 $empire=new mysqlquery;
 $query="select * from {$dbtbpre}movie_gbook where id='$id' order by id desc limit 1";
 $r=$empire->fetch1($query);
 $empire=NULL;
 db_close();
 }
 ?>			
 			<input name="id" type="hidden" value="<?=$r[id]?>" />
            <tr>
              <td>是否审核</td>
              <td><input name="checked" type="radio" class="radio" value="0"<?=$r[checked]=="0"?' checked':''?>>否 &nbsp;&nbsp;<input name="checked" type="radio" class="radio" value="1"<?=$r[checked]=="1"?' checked':''?>>是</td>
            </tr> 
 
            <tr>
              <td>用户名称</td>
              <td><input class="input-large span6" name="username" value="<?=$r[username]?>" placeholder="" /></td>
            </tr>
           
              <tr>
              <td>联系方式</td>
              <td><input class="input-large span6" name="lianxiqq" value="<?=$r[lianxiqq]?>" placeholder="" /></td>
            </tr>
            <tr>
              
              <td>留言时间</td>
              <td><input class="input-large span6" name="newstime" value="<?=$r[newstime]?>" placeholder="" /></td>
            </tr>
            
            <tr>
              <td>留言IP</td>
              <td><input class="input-large span6" name="userip" value="<?=$r[userip]?>" placeholder="" /></td>
            </tr>
             <tr>
              <td>头像选择</td>
              <td><input class="input-large span6" name="headimg" value="<?=$r[headimg]?>" placeholder="" /></td>
            </tr>              
            <tr>
              
              <td>留言内容</td>
              <td><textarea class="input-xlarge" style="width:445px; height:160px" name="text"><?=$r[text]?></textarea></td>
            </tr>
          
            <tr>
              <td>回复内容</td>
              <td><textarea class="input-xlarge" style="width:445px; height:160px" name="retext"><?=$r[retext]?></textarea></td>
            </tr>
         
            
          </tbody>
        </table>
        <div align="center"><input type="submit" class="btn btn-success" value="保存" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" class="btn btn-warning" value="重置" /> </div>
        </form>
        <p align="center" style="color:#F30"></p>
      </div>
      <div class="clear"></div>
      <div align="center" class="well"><a  data-toggle="modal" href="#myModal"  data-keyboard="true" data-backdrop="true" >关于我们</a> </div>
    </div>
  </div>
</div>
<div class="modal hide fade" id="myModal">
  <div class="modal-header"> <a class="close" data-dismiss="modal">×</a>
    <h3>关于我们</h3>
  </div>
  <div class="modal-body">
    <p>牡丹江市科繁科技有限公司创始于2011年，从事于商务软件、互联网、系统 集成、工业自动化控制等信息领域。</p>
    <p>地址：黑龙江省牡丹江市西安区太平路，祥合大厦1612室。</p>
    <p>官方网址:<a href="http://www.92game.net/" target="_blank">http://www.92game.net/</a></p>
  </div>
  <div class="modal-footer"> <a href="#" class="btn btn-primary"  data-dismiss="modal">关闭</a> </div>
</div>
<script type="text/javascript" language="javascript" src="skin/js/code.js"></script>
<script>
    $('.table').tooltip({
      selector: "a[rel=tooltip]"
    })
    window.prettyPrint && prettyPrint()
	
</script>

</body>
</html>