<!--#include file="conn.asp" -->
<!--#include file="inc/IsLogin.asp" -->
<%
dim id,act
id=cint(Trim(Request("id"))) : if id="" then id=2 : id=cint(id)
act=Trim(Request.QueryString("act"))

if act="modify" then
call Modify_About(id)

Call Closeconn()

AlertInform "修改成功","About_Modify.asp"
end if
%>


<!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>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="js/select-ui.min.js"></script>
<script charset="utf-8" src="../editor/kindeditor.js"></script>             
<script charset="utf-8" src="../editor/lang/zh_CN.js"></script>             
<script charset="utf-8" src="../editor/plugins/code/prettify.js"></script>             
    <script type="text/javascript">             
        KindEditor.ready(function(K) {             
            var editor = K.create('textarea[name="content"]', {             
                cssPath : '../editor/plugins/code/prettify.css',             
                uploadJson : '../editor/asp/upload_json.asp',             
                fileManagerJson : '../editor/asp/file_manager_json.asp',             
                 allowFileManager : true,filterMode:false,                 
                afterCreate : function() {             
                    var self = this;             
                    K.ctrl(document, 13, function() {             
                        self.sync();             
                        K('form[name=form1]')[0].submit();             
                    });             
                    K.ctrl(self.edit.doc, 13, function() {             
                        self.sync();             
                        K('form[name=form1]')[0].submit();             
                    });             
                }             
            });     
			
			 
			        
            prettyPrint();             
        });             
    </script>
  
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
});
</script>
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="index.asp">首页</a></li>
    <li><a href="about_modify.asp">修改企业信息</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    
    
    <div id="usual1" class="usual"> 
    
    <div class="itab">
  	<ul> 
    <li><a href="#tab1" class="selected">公司简介</a></li> 
    <li><a href="#tab2">总裁致辞</a></li> 
	<li><a href="#tab3">荣誉资质</a></li> 
	<li><a href="#tab4">联系我们</a></li>
	 
  	</ul>
    </div> 
    
  	<div id="tab1" class="tabson">
<%
id=2 
sql="Select * From about where id =" &id
set rs=conn.execute(sql)	 
content = rs("content")
 
%>
    
 <form name="form1" method="post" action="About_modify.ASP?act=modify&id=<%=id%>" >
    
    <ul class="forminfo">       
    
    <li>       
    <textarea id="content1" name="content" style="width:700px;height:380px;visibility:hidden;">
	<%=content%></textarea>
    </li>
    <li><label>&nbsp;</label><input name="subok" type="submit" class="btn" id="subok" value="确认提交"/>
    </li>
    </ul>
    </form>
    </div> 
    
    
  	<div id="tab2" class="tabson">
	<%
id=3
sql="Select * From about where id =" &id
set rs=conn.execute(sql)	 
content = rs("content")
 
%>
    
<form action="About_modify.ASP?act=modify&id=<%=id%>" method="post" name="form2" id="form2" >
    
    <ul class="forminfo">       
    
    <li>       
    <textarea id="content2" name="content" style="width:700px;height:380px;visibility:hidden;">
	<%=content%></textarea>
    </li>
    <li><label>&nbsp;</label><input name="subok" type="submit" class="btn" id="subok" value="确认提交"/>
    </li>
    </ul>
    </form> 
    
    </div>  
	
	
	<div id="tab3" class="tabson">
	<%
id=4
sql="Select * From about where id =" &id
set rs=conn.execute(sql)	 
content = rs("content")
 
%>
    
<form action="About_modify.ASP?act=modify&id=<%=id%>" method="post" name="form2" id="form2" >
    
    <ul class="forminfo">       
    
    <li>       
    <textarea id="content3" name="content" style="width:700px;height:380px;visibility:hidden;">
	<%=content%></textarea>
    </li>
    <li><label>&nbsp;</label><input name="subok" type="submit" class="btn" id="subok" value="确认提交"/>
    </li>
    </ul>
    </form> 
    
    </div>
	
	
	<div id="tab4" class="tabson">
	<%
id=5
sql="Select * From about where id =" &id
set rs=conn.execute(sql)	 
content = rs("content")
 
%>
    
<form action="About_modify.ASP?act=modify&id=<%=id%>" method="post" name="form2" id="form2" >
    
    <ul class="forminfo">       
    
    <li>       
    <textarea id="content4" name="content" style="width:700px;height:380px;visibility:hidden;">
	<%=content%></textarea>
    </li>
    <li><label>&nbsp;</label><input name="subok" type="submit" class="btn" id="subok" value="确认提交"/>
    </li>
    </ul>
    </form> 
    
    </div>
	
	
	 
       
	</div> 
 
	<script type="text/javascript"> 
      $("#usual1 ul").idTabs(); 
    </script>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>
    
    
    
    
    
    </div>
 
</body>

</html>
<% Call Closeconn() %>
