<!--#include file="Common/Top.asp"-->

<%
'参数获取处理
'?page:{PageName}@{PageID}_{PageNum}
getStr=Replace(Replace(Trim(Request.ServerVariables("QUERY_STRING")),"'",""),"page:","")
getStr=Split(getStr,"@")

PageName=getStr(0) : If PageName="" or isnull(PageName) Then PageName="Index"
getStra=getStr(1) : getStra=Split(getStra,"_")
PageID=Cnum(getStra(0)) : If PageID="" or isnull(PageID) Then PageID=0 
Key=URLDecode(getStra(0))	'单独针对搜索
PageNum=getStra(1) : If PageNum="" or isnull(PageNum) Then PageNum=1

response.Write getStr
'页面标识识别
Select Case PageName
	Case "Index" : ClassType = "Index" : NavID=1					'首页
	Case "Article" : ClassType = "Article" : NavID=3				'文章内页
	Case "Product" : ClassType = "Product" : NavID=4				'产品内页
	Case "Job" : ClassType = "Job" : NavID=22						'招聘内页
	Case "Search" : ClassType = "Search" : NavID=1					'搜索结果页
	Case "JinCms" : ClassType = "JinCms" : NavID=1					'单页
	Case else : ClassType = "Default" : NavID=getParentID(PageID,1)	'栏目页
End Select

'各页面优化信息设置
Select Case ClassType
	Case "Index"
		WebTitle = Web_Title : WebKeywords = Web_Keywords : WebDescription = Web_Description
	
	Case "Default"
		If PageID=0 or isexist(2,"ID",PageID,0)=false Then
			WebTitle = "访问出错 _ "& Web_Title : WebKeywords = Web_Keywords : WebDescription = Web_Description
		Else
			WebTitle=getClassValue(PageID,"ClassName") &" _ "& Web_Title : WebKeywords = getClassValue(PageID,"Readme") &","& Web_Keywords : WebDescription = CutStr(RemoveHtml(getClassValue(PageID,"Content")),86)
		End If
	
	Case "Article"
		If PageID=0 or isexist(1,"sysID",PageID,0)=false Then
			WebTitle = "访问出错 _ "& Web_Title : WebKeywords = Web_Keywords : WebDescription = Web_Description
		Else
			WebTitle=getArticleValue(PageID,"Title") &" _ "& Web_Title : WebKeywords = getArticleValue(PageID,"Keywords") &","& Web_Keywords : WebDescription = CutStr(RemoveHtml(getArticleValue(PageID,"Content")),86)
		End If
	
	Case "Product"
		If PageID=0 or isexist(5,"sysID",PageID,0)=false Then
			WebTitle = "访问出错 _ "& Web_Title : WebKeywords = Web_Keywords : WebDescription = Web_Description
		Else
			WebTitle=getPhotoValue(PageID,"Title") &" _ "& Web_Title : WebKeywords = getPhotoValue(PageID,"Keywords") &","& Web_Keywords : WebDescription = CutStr(RemoveHtml(getPhotoValue(PageID,"Content")),86)
		End If
	
	Case "Job"
		If PageID=0 or isexist(7,"sysID",PageID,0)=false Then
			WebTitle = "访问出错 _ "& Web_Title : WebKeywords = Web_Keywords : WebDescription = Web_Description
		Else
			WebTitle="招聘:"&getJobsValue(PageID,"Position") &" _ "& Web_Title : WebKeywords = getJobsValue(PageID,"Descriptions") &","& Web_Keywords : WebDescription = CutStr(RemoveHtml(getJobsValue(PageID,"Content")),86)
		End If
	
	Case "Search"
		WebTitle="搜索中心:"&Key &" _ "& Web_Title : WebKeywords = Key &","& Web_Keywords : WebDescription = Web_Description
	
	Case "JinCms"
		If PageID=0 or isexist(4,"sysID",PageID,0)=false Then
			WebTitle = "访问出错 _ "& Web_Title : WebKeywords = Web_Keywords : WebDescription = Web_Description
		Else
			WebTitle= getPageValue(PageID,"Title") &" _ "& Web_Title : WebKeywords = getPageValue(PageID,"Keywords") &","& Web_Keywords : WebDescription = CutStr(RemoveHtml(getPageValue(PageID,"Content")),86)
		End If
	
	Case Else
		WebTitle = Web_Title : WebKeywords = Web_Keywords : WebDescription = Web_Description
	
End Select

'调试信息
'Response.Write "@"&PageName &"<br>"
'Response.Write ""&PageID &"<br>"
'Response.Write ""&PageNum &"<br>"
'Response.Write ""&ClassType &"<br>"

'设置SEO优化信息
Function Get_Web_Title : Get_Web_Title = WebTitle : End Function						'--设置当前网页标题
Function Get_Web_KeyWords : Get_Web_KeyWords = WebKeywords : End Function				'--设置当前网页关键词
Function Get_Web_Description : Get_Web_Description = WebDescription : End Function		'--设置当前网页描述
%>

<!--#include file="Common/Head.asp"-->

<!--//////////////////// Main Start \\\\\\\\\\\\\\\\\\\\\-->

<%
Select Case ClassType
%>
	<%
	'*******************************************  首  页  **********************************************
	Case "Index"
	%>
  
	<section id="full-width">
	<script src="<%=web_root%>Common/jquery/1.9.0/jquery.js" type="text/javascript"></script>
	<script src="<%=web_root%>Common/Js/jquery-getui.js" type="text/javascript"></script>
    <div class="slider bordera">
        <ul class="slider-content"><%Call IndexFlash(1,"",0,0)  '(pid,topnum,istarget,lx)%></ul>
        <a class="slider-left-control" href="javascript:void(0)"><i></i></a>
        <a class="slider-right-control" href="javascript:void(0)"><i></i></a>
    </div>
    </section>
    
    <div class="clear"></div>
    
	<div class="border bordera mb10">
	<section id="full-width">
        <div class="container mt10">
        	<div class="two-third column">
                <div class="boxtitle"><span class="title"><a href="<%=CVE("Cust_IndexAbout")%>"><%=CV("Cust_IndexAbout")%></a></span><span class="more"><a href="<%=CVE("Cust_IndexAbout")%>">&nbsp;</a></span></div>
                <div class="aboutus">
				<a href="<%=CVE("Cust_IndexAbout")%>" title="<%=CV("Cust_IndexAbout")%>">
				<%If getClassValue(CV("Cust_IndexAboutC"),"Pic")<>"" Then%>
                <img src="<%=web_root%><%=getClassValue(CV("Cust_IndexAboutC"),"Pic")%>" class="aboutimg" alt="<%=Web_Name%>" >
				<%Else%>
                <img src="<%=web_root%>Images/aboutus.png" class="aboutimg" alt="<%=Web_Name%>" >
				<%End If%>
				</a>
                <p><%=CutStr(RemoveHtml(getClassValue(CV("Cust_IndexAboutC"),"Content")),clng(CVE("Cust_IndexAboutC")))%></p>
                </div>
            </div>
        	<div class="one-third column">
                <div class="boxtitle"><span class="title"><a href="<%=CVE("Cust_IndexNews")%>"><%=CV("Cust_IndexNews")%></a></span><span class="more"><a href="<%=CVE("Cust_IndexNews")%>">&nbsp;</a></span></div>
                <ul class="newslist">
                <%Call IndexNews("",5,25)%>
                </ul>

            </div>
        </div>
        
    </section>
    
    <div class="clear"></div>
    
	<section id="full-width" class="half-bottom">
        <div class="container">
        	<div class="one column">
                <div class="boxtitle"><span class="title"><a href="<%=CVE("Cust_IndexPro")%>"><%=CV("Cust_IndexPro")%></a></span><span class="more"><a href="<%=CVE("Cust_IndexPro")%>">&nbsp;</a></span></div>
                <ul class="prolist"><%Call IndexPro("",6,8)%></ul>
            </div>
        </div>
    </section>
	</div>
    
    <div class="clear"></div>
    
    <%
	'*******************************************  文章内页  **********************************************
	Case "Article"
	%>
        
		
	<%If PageID=0 or isexist(1,"sysID",PageID,0)=false Then%>
	<%Call ErrorPage(404)%>
	<%Else%>
        
		<section id="full-width" class="mt10">
        	<div class="sitebar half-bottom">
                <div class="subnav border">
                    <div class="subnav_t"><%=getClassValue(NavID,"ClassName")%></div>
                    <ul class="subnav_c">
                    <%Call Jin_SubClass(NavID,getArticleValue(PageID,"Pid"))%>
                    </ul>
                </div>
            </div>
            
        	<div class="page_content">
				<div class="page_nav border"><%=Jin_PageNav(NavID,getArticleValue(PageID,"Pid"))%></div>
                <div class="page_c border">
					<div class="page_a_t"><%=getArticleValue(PageID,"Title")%></div>
					<div class="page_a_i">编辑:<%=Web_Name%> &nbsp; &nbsp; 日期:<%=getArticleValue(PageID,"Addtime")%> &nbsp; &nbsp; 阅读:<script type="text/javascript" src="<%=web_root%>Common/Function/Counter.asp?Page=Article&Id=<%=PageID%>"></script></div>
					<div class="page_a_c">
					<%=getArticleValue(PageID,"Content")%>
                    <br>
                    <%=get_pre(1,PageID,getArticleValue(PageID,"Pid"),"")%>
                    <%=get_next(1,PageID,getArticleValue(PageID,"Pid"),"")%>
                    <a href="javascript:history.go(-1)" class="back">返回</a>
                    </div>
                </div>
            </div>
        </section>
        
        <div class="clear"></div>
		
	<%End If%>  
	   
    <%
	'*******************************************  产品内页  **********************************************
	Case "Product"
	%>
		
	<%If PageID=0 or isexist(5,"sysID",PageID,0)=false Then%>
	<%Call ErrorPage(404)%>
	<%Else%>
    
        
		<section id="full-width" class="mt10">
        	<div class="sitebar border half-bottom">
                <div class="subnav">
                    <div class="subnav_t"><%=getClassValue(NavID,"ClassName")%></div>
                    <ul class="subnav_c">
                    <%Call Jin_SubClass(NavID,getPhotoValue(PageID,"Pid"))%>
                    </ul>
                </div>
            </div>
            
            <script  src="<%=web_root%>Common/jquery/1.9.0/jquery.js" type="text/javascript"></script>
			<script src="<%=web_root%>Common/Js/jquery-getui.js" type="text/javascript"></script>
        	<div class="page_content">
				<div class="page_nav border"><%=Jin_PageNav(NavID,getPhotoValue(PageID,"Pid"))%></div>
                <div class="page_c border">
					<div class="page_a_t"><%=getPhotoValue(PageID,"Title")%></div>
					<div class="page_a_i">编辑:<%=Web_Name%> &nbsp; &nbsp; 日期:<%=getPhotoValue(PageID,"Addtime")%> &nbsp; &nbsp; 阅读:<script type="text/javascript" src="<%=web_root%>Common/Function/Counter.asp?Page=Product&Id=<%=PageID%>"></script></div>
					<div class="page_a_c">
                    
					<div align="center" style="width:520px; margin:0 auto; margin-bottom:20px; display:none">
                    <div class="banner">
                        <div class="banner-btn">
                            <a href="javascript:;" class="prevBtn"><i></i></a>
                            <a href="javascript:;" class="nextBtn"><i></i></a>
                        </div>
                        <ul class="banner-img">
                            <li><a href="#"><img src="<%=web_root%>Images/slide/slide-1.jpg"></a></li>
                            <li><a href="#"><img src="<%=web_root%>Images/slide/slide-2.jpg"></a></li>
                            <li><a href="#"><img src="<%=web_root%>Images/slide/slide-3.jpg"></a></li>
                        </ul>
                        <ul class="banner-circle"></ul>
                    </div>
                    </div>
                    
                    <%=getPhotoValue(PageID,"Content")%>
                    <br>
                    <br>
                    <%=get_pre(5,PageID,getPhotoValue(PageID,"Pid"),"")%>
                    <%=get_next(5,PageID,getPhotoValue(PageID,"Pid"),"")%>
                    <a href="javascript:history.go(-1)" class="back">返回</a>
                    
                    </div>
                    
                </div>
            </div>
        </section>
        
        <div class="clear"></div>
		
	<%End If%>  
		  
    <%
	'*******************************************  招聘内页  **********************************************
	Case "Job"
	
	'应聘职位，提交简历
	If request_Form("Action")="ApplyGo" Then
		ApplyChk()
		Set Rs=server.createobject("adodb.recordSet")
		Sql="select * from Jin_Resume where rName='"&request_Form("rName")&"' And rGraduated='"&request_Form("rGraduated")&"' And Pid="&request_Form("Pid")&""
		Rs.open Sql,conn,1,3
		If rs.eof then
		Rs.Addnew
		Rs("Pid")=request_Form("Pid")
		Rs("rName")=request_Form("rName")
		Rs("rSex")=request_Form("rSex")
		Rs("rAge")=request_Form("rAge")
		Rs("rNation")=request_Form("rNation")
		Rs("rHometown")=request_Form("rHometown")
		Rs("rGraduated")=request_Form("rGraduated")
		Rs("rSpecialty")=request_Form("rSpecialty")
		Rs("rEduBack")=request_Form("rEduBack")
		Rs("rMarital")=request_Form("rMarital")
		Rs("rQQ")=request_Form("rQQ")
		Rs("rTel")=request_Form("rTel")
		Rs("rEmail")=request_Form("rEmail")
		Rs("rAddr")=request_Form("rAddr")
		Rs("rWorkExp")=request_Form("rWorkExp")
		Rs("rEduExp")=request_Form("rEduExp")
		Rs("rSelfEva")=request_Form("rSelfEva")
		Rs("rRequirements")=request_Form("rRequirements")
		'Rs("rRank")=request_Form("rRank")
		Rs("rIP")=getIP()
		Rs("Remark")=request_Form("Remark")
		Rs("Addtime")=getDate(Now(),"Y-M-D H:M:S")
		Rs("Edittime")=getDate(Now(),"Y-M-D H:M:S")
		Rs.Update
		Else 
			Call ShowMsg("您已向该职位投递简历，请勿重复投递！",1)
		End If
		Rs.close
		Set Rs=nothing
		Call ShowMsg("简历投递成功！",2)
	End If
	%>
		
	<%If PageID=0 or isexist(7,"sysID",PageID,0)=false Then%>
	<%Call ErrorPage(404)%>
	<%Else%>
	<%'call getValidform("ApplyForm",0,1,1)%>  
        
		<section id="full-width" class="mt10">
        	<div class="sitebar border half-bottom">
                <div class="subnav">
                    <div class="subnav_t"><%=getClassValue(NavID,"ClassName")%></div>
                    <ul class="subnav_c">
                    <%Call Jin_SubClass(NavID,getArticleValue(PageID,"Pid"))%>
                    </ul>
                </div>
            </div>
            
        	<div class="page_content">
				<div class="page_nav border"><%=Jin_PageNav(NavID,getJobsValue(PageID,"Pid"))%></div>
                <div class="page_c">
					<ul class="pageJobsList">
                    <li class="bg1 border">
					<span class="jobTitle">招聘: <%=getJobsValue(PageID,"Position")%></span>
					<span class="jobInfo">招聘人数：<%=getJobsValue(PageID,"Hiring")%></span>
					<span class="jobInfo">工作地点：<%=getJobsValue(PageID,"Location")%></span>
					<span class="jobInfo">薪资待遇：<%=getJobsValue(PageID,"Salary")%></span>
					<span class="jobInfo">学历要求：<%=getJobsValue(PageID,"Educational")%></span>
					<span class="jobInfo">发布日期：<%=GetDate(getJobsValue(PageID,"Addtime"),"Y-M-D")%></span>
					<span class="jobInfo">截止日期：<%=getJobsValue(PageID,"EndDate")%></span>
					<span class="jobDetail"><b>职位描述</b><br><%=getJobsValue(PageID,"Descriptions")%></span>
					<span class="jobDetail"><b>职位要求</b><br><%=getJobsValue(PageID,"Content")%></span>
					</li>
                    <li class="bg1 border">
						<span class="jobTitle center" style="font-size:16px;"><a href="javascript:;" onClick="ShowMore('JobApply','symbol')">在线应聘(点击收起)</a></span>
						
						<span class="JobApply" id="JobApply">
						<form class="ApplyForm" name="ApplyForm" action="<%=web_root%>?page:Job@<%=PageID%>" method="post">
						<span class="ApplySpan"><label><input type="text" name="rName" class="jobTxt required" value="姓名" onFocus="if(value=='姓名') {value=''}" onBlur="if(value=='') {value='姓名'}" datatype="*" nullmsg="此项不能为空！" ></label></span>
						<span class="ApplySpan">
						<select name="rSex" class="required">
						<option value="男">男</option>
						<option value="女">女</option>
						</select>
						</span>
						<span class="ApplySpan"><label><input type="text" name="rAge" class="jobTxt required" value="年龄" onFocus="if(value=='年龄') {value=''}" onBlur="if(value=='') {value='年龄'}" datatype="*" nullmsg="此项不能为空！"></label></span>
						
						<span class="ApplySpan"><label><input type="text" name="rNation" class="jobTxt required" value="民族" onFocus="if(value=='民族') {value=''}" onBlur="if(value=='') {value='民族'}" datatype="*" nullmsg="此项不能为空！"></label></span>
						<span class="ApplySpan"><label><input type="text" name="rHometown" class="jobTxt required" value="籍贯" onFocus="if(value=='籍贯') {value=''}" onBlur="if(value=='') {value='籍贯'}" datatype="*" nullmsg="此项不能为空！"></label></span>
						<span class="ApplySpan">
						<select name="rMarital" class="<%If IsJobsField("Jobs09") Then%>required<%End If%>">
						<option value="">婚姻状况</option>
						<option value="已婚">已婚</option>
						<option value="未婚">未婚</option>
						<option value="离异">离异</option>
						</select>
						</span>
						
						<span class="ApplySpan"><label><input type="text" name="rEduBack" class="jobTxt <%If IsJobsField("Jobs06") Then%>required<%End If%>" value="学历" onFocus="if(value=='学历') {value=''}" onBlur="if(value=='') {value='学历'}" datatype="*" nullmsg="此项不能为空！"></label></span>
						<span class="ApplySpan"><label><input type="text" name="rGraduated" class="jobTxt <%If IsJobsField("Jobs07") Then%>required<%End If%>" value="毕业院校" onFocus="if(value=='毕业院校') {value=''}" onBlur="if(value=='') {value='毕业院校'}" datatype="*" nullmsg="此项不能为空！"></label></span>
						<span class="ApplySpan"><label><input type="text" name="rSpecialty" class="jobTxt" <%If IsJobsField("Jobs08") Then%>required<%End If%> value="专业" onFocus="if(value=='专业') {value=''}" onBlur="if(value=='') {value='专业'}" datatype="*" nullmsg="此项不能为空！"></label></span>
						
						<span class="ApplySpan"><label><input type="text" name="rTel" class="jobTxt <%If IsJobsField("Jobs11") Then%>required<%End If%>" value="电话" onFocus="if(value=='电话') {value=''}" onBlur="if(value=='') {value='电话'}" datatype="*" nullmsg="此项不能为空！"></label></span>
						<span class="ApplySpan"><label><input type="text" name="rEmail" class="jobTxt <%If IsJobsField("Jobs12") Then%>required<%End If%>" value="邮箱" onFocus="if(value=='邮箱') {value=''}" onBlur="if(value=='') {value='邮箱'}" datatype="*" nullmsg="此项不能为空！"></label></span>
						<span class="ApplySpan"><label><input type="text" name="rQQ" class="jobTxt <%If IsJobsField("Jobs10") Then%>required<%End If%>" value="QQ" onFocus="if(value=='QQ') {value=''}" onBlur="if(value=='') {value='QQ'}" datatype="*" nullmsg="此项不能为空！" onKeyUp="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"></label></span>
						
						<span class="ApplySpanL"><label><input type="text" name="rAddr" class="jobTxt <%If IsJobsField("Jobs13") Then%>required<%End If%>" value="现居地址" onFocus="if(value=='现居地址') {value=''}" onBlur="if(value=='') {value='现居地址'}" datatype="*" nullmsg="此项不能为空！"></label></span>
						
						<span class="ApplySpanL">工作经历<i>格式:开始时间~结束时间  公司名称  担任职位  工作职责</i><br>
						<textarea name="rWorkExp" class="jobTxta <%If IsJobsField("Jobs14") Then%>required<%End If%>" onFocus="if(value=='范例:2015年3月~至今  深圳市腾讯计算机系统有限公司  产品经理  负责产品策划工作，从战略规划、产品概念策划到推动实施') {value=''}" onBlur="if(value=='') {value='范例:2015年3月~至今  深圳市腾讯计算机系统有限公司  产品经理  负责产品策划工作，从战略规划、产品概念策划到推动实施'}">范例:2015年3月~至今  深圳市腾讯计算机系统有限公司  产品经理  负责产品策划工作，从战略规划、产品概念策划到推动实施</textarea></span>
	
						<span class="ApplySpanL">教育背景<i>格式:开始时间~结束时间  学校名称  学历</i><br>
						<textarea name="rEduExp" class="jobTxta <%If IsJobsField("Jobs15") Then%>required<%End If%>" onFocus="if(value=='范例:2010年9月~2014年6月  北京大学  大学本科') {value=''}" onBlur="if(value=='') {value='范例:2010年9月~2014年6月  北京大学  大学本科'}">范例:2010年9月~2014年6月  北京大学  大学本科</textarea></span>
	
						<span class="ApplySpanL">待遇要求<br>
						<textarea name="rRequirements" class="jobTxta <%If IsJobsField("Jobs16") Then%>required<%End If%>" onFocus="if(value=='你对公司的期望') {value=''}" onBlur="if(value=='') {value='你对公司的期望'}">你对公司的期望</textarea></span>
						
						<span class="ApplySpanL">自我评价<br>
						<textarea name="rSelfEva" class="jobTxta <%If IsJobsField("Jobs17") Then%>required<%End If%>" onFocus="if(value=='简洁明了地介绍你自己') {value=''}" onBlur="if(value=='') {value='你对公司的期望'}">简洁明了地介绍你自己</textarea></span>
						
						<span class="ApplySpanL red"><%=Web_JobsTips%></span>
						
						<span class="ApplySpanL center">
						<input type="hidden" name="Action" value="ApplyGo">
						<input type="hidden" name="Pid" value="<%=PageID%>">
						<input type="submit" value="应聘职位">
						</span>
						</form>
						</span>
						</li>
						
						<li class="bg2 border">
						<span class="jobBottom">
						<%=get_pre(7,PageID,getJobsValue(PageID,"Pid"),"")%>
						<%=get_next(7,PageID,getJobsValue(PageID,"Pid"),"")%>
						<a href="javascript:history.go(-1)" class="back">返回</a>
						</span>
						</li>
                    </ul>
                </div>
            </div>
        </section>
        <div class="clear"></div>
	<%End If%>   
    
    <%
	'*******************************************  搜索结果页  **********************************************
	Case "Search"
	%>
        
		<section id="full-width" class="hidden">
        	<div class="pagebanner hidden"><%=Jin_SubBanner(NavID)%></div>
        </section>
        
		<section id="full-width" class="mt10">
        	<div class="sitebar border half-bottom">
                <div class="subnav">
                    <div class="subnav_t">热门关键词</div>
                    <div class="subnav_c">
					<%
					HotKey=CV("Cust_HotKey")
					If HotKey<>"" Then
						If Instr(HotKey,",")>0 Then
							HotKeya=split(HotKey,",")
							For i=0 to Ubound(HotKeya)
								Response.Write "<a href=""?page:Search@"&HotKeya(i)&""" class=""hotKey"">"&HotKeya(i)&"</a>"
							Next
						Else 
							Response.Write "<a href=""?page:Search@"&HotKey&""" class=""hotKey"">"&HotKey&"</a>"
						End If
					
					End If
					%>
					
                    </div>
                </div>
            </div>
            
        	<div class="page_content">
				<div class="page_nav border">您现在的位置：<a href="<%=web_root%>">首页</a><a href="?page:Search">搜索中心</a><%If Key<>"" Then%><a href="?page:Search@<%=Key%>">关键词:<%=Key%></a><%End If%></div>
                <div class="page_c border">
					<%If Key<>"" Then%>
						<ul class="searchlist_l"><li class="searchlist_t">文章搜索结果</li><%Call Jin_NewsSearch(Key,1)%></ul>
						<ul class="searchlist_r"><li class="searchlist_t">产品搜索结果</li><%Call Jin_ProSearch(Key,1)%></ul>
					<%Else%>
					<li class="searchlist_t">猜您喜欢<span class="searchlist_msg"><a href="javascript:location.reload();">换一换</a></span></li>
						<div class="searchlist_l"><%Call Jin_NewsSearch("",1)%></div>
						<div class="searchlist_r"><%Call Jin_ProSearch("",1)%></div>
					<%End If%>
                </div>
            </div>
        </section>
        
        <div class="clear"></div>
    
	<%
	'*******************************************  单页内页  **********************************************
	Case "JinCms"
	%>
		
	<%If PageID=0 or isexist(4,"sysID",PageID,0)=false Then%>
	<%Call ErrorPage(404)%>
	<%Else%>
		
		<section id="full-width" class="mt10">
        	<div class="sitebar border half-bottom">
                <div class="subnav">
                    <div class="subnav_t"><%=getClassValue(CV("Cust_JinCmsNav"),"ClassName")%></div>
                    <ul class="subnav_c">
                    <%Call Jin_SubClass(CV("Cust_JinCmsNav"),PageID)%>
                    </ul>
                </div>
            </div>
            
        	<div class="page_content">
				<div class="page_nav border">您现在的位置：<a href="<%=web_root%>">首页</a><a href="?page:Page@<%=PageID%>"><%=getPageValue(PageID,"Title")%></a></div>
                <div class="page_c border">
					<%=getPageValue(PageID,"Content")%>
                </div>
            </div>
        </section>
        <div class="clear"></div>
		
	<%End If%>  
		
    <%
	'*******************************************  栏目页  **********************************************
	Case Else
	%>
    
		
	<%If PageID=0 or isexist(2,"ID",PageID,0)=false Then%>
	<%Call ErrorPage(404)%>
	<%Else%>
    
    <%
	RealClassType=getClassValue(PageID,"ClassType")
	Select Case RealClassType
	%>
    	
        <%Case "Default"%>
        <!------------------------------------------------------------- 栏目页 -------------------------------------------------------------->
		<section id="full-width" class="mt10">
        	<div class="sitebar border half-bottom">
                <div class="subnav">
                    <div class="subnav_t"><%=getClassValue(NavID,"ClassName")%></div>
                    <ul class="subnav_c">
                    <%Call Jin_SubClass(NavID,PageID)%>
                    </ul>
                </div>
            </div>
            
        	<div class="page_content">
				<div class="page_nav border"><%=Jin_PageNav(NavID,PageID)%></div>
                <div class="page_c border"><%=getClassValue(PageID,"Content")%></div>
            </div>
        </section>
        
        <div class="clear"></div>
        
    	
        <%Case "Pages"%>
        <!------------------------------------------------------------- 单页 -------------------------------------------------------------->
        
		<section id="full-width" class="mt10">
        	<div class="sitebar border half-bottom">
                <div class="subnav">
                    <div class="subnav_t"><%=getClassValue(NavID,"ClassName")%></div>
                    <ul class="subnav_c">
                    <%Call Jin_SubClass(NavID,PageID)%>
                    </ul>
                </div>
            </div>
            
        	<div class="page_content">
				<div class="page_nav border"><%=Jin_PageNav(NavID,PageID)%></div>
                <div class="page_c border"><%=getClassValue(PageID,"Content")%></div>
            </div>
        </section>
        
        <div class="clear"></div>
        
    	
        <%Case "Article"%>
        <!------------------------------------------------------------- 文章列表 -------------------------------------------------------------->
		<section id="full-width" class="mt10">
        	<div class="sitebar border half-bottom">
                <div class="subnav">
                    <div class="subnav_t"><%=getClassValue(NavID,"ClassName")%></div>
                    <ul class="subnav_c">
                    <%Call Jin_SubClass(NavID,PageID)%>
                    </ul>
                </div>
            </div>
            
        	<div class="page_content">
				<div class="page_nav border"><%=Jin_PageNav(NavID,PageID)%></div>
                <div class="page_c border">
                    <%Call Jin_NewsList(PageID,1)%>
                </div>
            </div>
        </section>
        
        <div class="clear"></div>
        
   
        <%Case "Photos"%>
        <!------------------------------------------------------------- 产品列表 -------------------------------------------------------------->
		<section id="full-width" class="mt10">
        	<div class="sitebar border half-bottom">
                <div class="subnav">
                    <div class="subnav_t"><%=getClassValue(NavID,"ClassName")%></div>
                    <ul class="subnav_c">
                    <%Call Jin_SubClass(NavID,PageID)%>
                    </ul>
                </div>
            </div>
            
        	<div class="page_content">
				<div class="page_nav border"><%=Jin_PageNav(NavID,PageID)%></div>
                <div class="page_c border">
                    <%Call Jin_ProList(PageID,1)%>
                </div>
            </div>
        </section>
        
        <div class="clear"></div>
        

    	<%Case "Jobs"%>
        <!------------------------------------------------------------- 招聘列表 -------------------------------------------------------------->
		<section id="full-width" class="mt10">
        	<div class="sitebar border half-bottom">
                <div class="subnav">
                    <div class="subnav_t"><%=getClassValue(NavID,"ClassName")%></div>
                    <ul class="subnav_c">
                    <%Call Jin_SubClass(NavID,PageID)%>
                    </ul>
                </div>
            </div>
            
        	<div class="page_content">
				<div class="page_nav border"><%=Jin_PageNav(NavID,PageID)%></div>
                <div class="page_c border">
                    <%Call Jin_JobList(PageID,1)%>
                </div>
            </div>
        </section>
        
        
        <div class="clear"></div>
        
        
    	<%Case "Message"%>
        <!------------------------------------------------------------- 留言页 -------------------------------------------------------------->
		<%
		'应聘职位，提交简历
		If request_Form("Action")="MsgGo" Then
			MsgChk()
			Set Rs=server.createobject("adodb.recordSet")
			Sql="select top 1 * from Jin_Message where datediff('n',Addtime,'"&getDate(Now(),"Y-M-D H:M:S")&"')<=3 And IP='"&getIP()&"' order By sysID desc "
			Rs.open Sql,conn,1,3
			If rs.eof then
			Rs.Addnew
			Rs("Pid")=request_Form("Pid")
			Rs("Title")=request_Form("Title")
			Rs("Username")=request_Form("Username")
			Rs("Email")=request_Form("Email")
			Rs("Sex")=request_Form("Sex")
			Rs("Tel")=request_Form("Tel")
			Rs("Phone")=request_Form("Phone")
			Rs("QQ")=request_Form("QQ")
			Rs("Site")=request_Form("Site")
			Rs("Addr")=request_Form("Addr")
			Rs("Content")=request_Form("Content")
			Rs("IP")=getIP()
			Rs("Remark")=request_Form("Remark")
			Rs("Addtime")=getDate(Now(),"Y-M-D H:M:S")
			Rs.Update
			Else 
				Call ShowMsg("请"&datediff("s",getDate(Now(),"Y-M-D H:M:S"),DateAdd("s","180",Rs("Addtime")))&"秒后提交留言！",1)
			End If
			Rs.close
			Set Rs=nothing
			Call ShowMsg("留言提交成功，我们将尽快和您联系！",2)
		End If
		%>
		
        
		<section id="full-width" class="mt10">
        	<div class="sitebar border half-bottom">
                <div class="subnav">
                    <div class="subnav_t"><%=getClassValue(NavID,"ClassName")%></div>
                    <ul class="subnav_c">
                    <%Call Jin_SubClass(NavID,PageID)%>
                    </ul>
                </div>
            </div>
            
        	<div class="page_content">
				<div class="page_nav border"><%=Jin_PageNav(NavID,PageID)%></div>
                <div class="page_c border">
                    <form class="msgForm" action="<%=web_root%>?page:<%=getClassValue(PageID,"ClassName_en")%>@<%=PageID%>" method="post">
						<span class="l"><label>留言标题<b>*</b></label><input type="text" name="Title" class="msgTxt1" ></span>
						<span class="m"><label>姓名<b>*</b></label><input type="text" name="UserName" class="msgTxt" ></span>
						<span class="m"><label>性别</label><select name="Sex"><option value="男">男</option><option value="女">女</option></select></span>
						<%If IsMsgField("Msg04") Then%><span class="m"><label>邮箱</label><input type="text" name="Email" class="msgTxt" ></span><%End If%>
						<%If IsMsgField("Msg05") Then%><span class="m"><label>电话</label><input type="text" name="Tel" class="msgTxt" ></span><%End If%>
						<%If IsMsgField("Msg06") Then%><span class="m"><label>QQ</label><input type="text" name="QQ" class="msgTxt" maxlength="25" onKeyUp="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"></span><%End If%>
						<%If IsMsgField("Msg07") Then%><span class="m"><label>地址</label><input type="text" name="Addr" class="msgTxt" ></span><%End If%>
						<span class="l"><label>留言内容<b>*</b></label><textarea name="Content" class="msgTxta"></textarea></span>
						<span class="l"><label>&nbsp;</label>
						<input type="hidden" name="Pid" value="<%=PageID%>">
						<input type="hidden" name="Action" value="MsgGo">
						<input type="submit" value="提交留言">
						</span>
						<%If Web_MsgTips<>"" Then%><span class="l red"><label>&nbsp;</label><%=Web_MsgTips%></span><%End If%>
					</form>
                </div>
            </div>
        </section>
        
        
        <div class="clear"></div>
        
        
        <!------------------------------------------------------------- 其他 -------------------------------------------------------------->
    	<%Case else%>
    	<%Call ErrorPage(404)%>
				
		<%
    End Select
    %>
    
	<%End If%>  
    
    
    <%
End Select
%>



<!--//////////////////// Main Over \\\\\\\\\\\\\\\\\\\\\-->
    
<!--#include file="Common/Foot.asp"-->
