亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? projecttj_editlist.asp

?? ASP程序實現的科技期刊系統
?? ASP
字號:
<!--#include file="../Include/TimeOut.asp"-->
<%modulecode="0502"%>
<!--#include file="../Include/ModuleUserCheck.asp"-->
<!--#include file="../Include/online.asp"-->
<html>
<head>
<title>項目列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/CssLib/CssLink.css">
</head>

<Script Language=JavaScript>
<!--
			function open1(Code)
			{
			window.open("YiJian_ContentDisplay.asp?code="+Code,"推薦意見","height=410,width=500,toolbar=no,menubar=no,scrollbars=yes,resizable=no,status=no,location=no")
			}

//-->
</Script>
<body bgcolor="#FFFFFF" text="#000000" onload="window.top.ProjectMax()">

<%
	dim objrec         'recordset對象
	dim strsql         'sql語句

if not  Request.QueryString("strsql")="" then
	if session("orderType")=" asc" then
		orderType=" desc"
		session("orderType")=" desc"
	else
		orderType=" asc"
		session("orderType")=" asc"
	end if

	select case Request.QueryString("strsql")
	case "query"	'由查詢轉來
			dim NDPC
			dim code
			dim name
			dim role
			dim strQueryType
			dim strSQLWhere
			code=trim(Request.Form("ProjectCode"))
			name=trim(Request.Form("ProjectName"))
			ProjectType=trim(Request.Form("ProjectType"))
			ConProjectCode=trim(Request.Form("ConProjectCode"))
			PlanCode=trim(Request.Form("PlanCode"))
			Username=trim(Request.Form("Username"))
			TechType=trim(Request.Form("TechType"))
			ProjectJD=trim(Request.Form("ProjectJD"))
			JDZK=trim(Request.Form("JDZK"))
			NDPC=trim(Request.Form("NDPC"))
			NDPC2=trim(Request.Form("NDPC2"))
			KXXBG=trim(Request.Form("KXXBG"))
			TJBZ=trim(Request.Form("TJBZ"))
			XGBZ=trim(Request.Form("XGBZ"))
			Depart=trim(Request.Form("Depart"))
			ZhuChiCom=trim(Request.Form("ZhuChiCom"))
			ShuoZaiQv=trim(Request.Form("ShuoZaiQv"))
			FaRenCode=trim(Request.Form("FaRenCode"))
			ComPanyPro=trim(Request.Form("ComPanyPro"))
			CompanyType=trim(Request.Form("CompanyType"))
			RegType=trim(Request.Form("RegType"))
			
			
			role=trim(Request.Form("role"))
			'復選框選中時,strQueryType="%"
			if Request.Form("checkbox").Count=1 then
			   strQueryType="%"
			   else 
			   strQueryType=""
			end if
			'無任何where選項時
			strsql="select * from XT_VD_ProjectName where 項目進度='推薦'"
			'根據角色生成where選項
			select case role
				case 0 '系統維護員
				strSQLWhere=""
				case 1 '申報者
				strSQLWhere=" and 項目負責人='"&session("usercode")&"'"
				case 2 '主管部門
				strSQLWhere=" and left(項目負責人,3)='"&left(session("usercode"),3)&"'"
				case 3 '項目計劃員
				strSQLWhere=""
				case 4 '項目管理員
				strSQLWhere=" and 分配接收處室='"&session("Departcode")&"'"
				case 5 '項目撥款員
				strSQLWhere=" and 合同編碼<>''"
				case 6 '部門領導
				strSQLWhere=""
			end select

			'按查詢界面各輸入框生成多條件where選項
			if not code="" then
			   strSQLWhere=strSQLWhere+" and 項目編碼 like '"+strQueryType+code+strQueryType+"'"
			end if
			if not name="" then
			   strSQLWhere=strSQLWhere+" and 項目名稱 like '"+strQueryType+name+strQueryType+"'"
			end if
			if not ProjectType="" then
			   strSQLWhere=strSQLWhere+" and 項目類別 like '"+strQueryType+ProjectType+strQueryType+"'"
			end if
			if not ConProjectCode="" then
			   strSQLWhere=strSQLWhere+" and 合并編碼 like '"+strQueryType+ConProjectCode+strQueryType+"'"
			end if
			if not PlanCode="" then
			   strSQLWhere=strSQLWhere+" and 計劃編碼 like '"+strQueryType+PlanCode+strQueryType+"'"
			end if
			if not Username="" then
			   strSQLWhere=strSQLWhere+" and 負責人姓名 like '"+strQueryType+Username+strQueryType+"'"
			end if
			if not TechType="" then
			   strSQLWhere=strSQLWhere+" and 技術領域 like '"+strQueryType+TechType+strQueryType+"'"
			end if
			if not ProjectJD="" then
			   strSQLWhere=strSQLWhere+" and 項目進度 like '"+strQueryType+ProjectJD+strQueryType+"'"
			end if
			if not JDZK="" then
			   strSQLWhere=strSQLWhere+" and 進度狀況 like '"+strQueryType+JDZK+strQueryType+"'"
			end if
			if not NDPC="" and not NDPC2="" then
			   strSQLWhere=strSQLWhere+" and (年度批次 between '"+NDPC+"' and '"+NDPC2+"')"
			   else if not NDPC="" and NDPC2="" then
			   strSQLWhere=strSQLWhere+" and 年度批次 like '"+NDPC+strQueryType+"'"
					else if NDPC="" and not NDPC2="" then
					strSQLWhere=strSQLWhere+" and 年度批次 like '"+NDPC2+strQueryType+"'"
						 end if
					end if					
			end if
			if not KXXBG="" then
			   strSQLWhere=strSQLWhere+" and 可行性報告 like '"+strQueryType+KXXBG+strQueryType+"'"
			end if
			if not TJBZ="" then
			   strSQLWhere=strSQLWhere+" and 推薦標志 like '"+strQueryType+TJBZ+strQueryType+"'"
			end if
			if not XGBZ="" then
			   strSQLWhere=strSQLWhere+" and 修改標志 like '"+strQueryType+XGBZ+strQueryType+"'"
			end if
			if not Depart="" then
			   strSQLWhere=strSQLWhere+" and left(項目負責人,3) like '"+strQueryType+Depart+strQueryType+"'"
			end if
			if not ZhuChiCom="" then
			   strSQLWhere=strSQLWhere+" and 主持單位 like '"+strQueryType+ZhuChiCom+strQueryType+"'"
			end if
			if not ShuoZaiQv="" then
			   strSQLWhere=strSQLWhere+" and 所在區 like '"+strQueryType+ShuoZaiQv+strQueryType+"'"
			end if
			if not FaRenCode="" then
			   strSQLWhere=strSQLWhere+" and 法人代碼 like '"+strQueryType+FaRenCode+strQueryType+"'"
			end if
			if not ComPanyPro="" then
			   strSQLWhere=strSQLWhere+" and 企業特性 like '"+strQueryType+ComPanyPro+strQueryType+"'"
			end if
			if not CompanyType="" then
			   strSQLWhere=strSQLWhere+" and 單位類型 like '%"+CompanyType+"%'"
			end if
			if not RegType="" then
			   strSQLWhere=strSQLWhere+" and 注冊類型 like '%"+RegType+"%'"
			end if
			strSQL=strSQL+StrSQLWhere


	case else  '各頁間轉換
			orderby=request.querystring("orderby")
			RQSstrsql=Request.QueryString("strsql")
			if orderby="" then 
			strsql=RQSstrsql
			else
				if instr(RQSstrsql,"order")=0 then 
					strsql=RQSstrsql+" order by "+orderby+orderType
				else
					strsql=left(RQSstrsql,instr(RQSstrsql,"order")-1)+" order by "+orderby+orderType
				end if
			end if
	end  select
	set objres=server.CreateObject ("adodb.recordset")
	objres.CursorType =3
	objres.CursorLocation =3
	objres.LockType =2
	objres.Open strsql,strconn
	
	dim pagesum '頁數
	dim thispagerecords '當前頁記錄條數 
	dim recordcode '記錄序號
	dim curpage '當前頁碼
	dim pagesize
	pagesize=10
	pagesum=objres.PageCount 
	if Request.QueryString("page")=""then curpage=1 else curpage=Request.QueryString("page")
	
	if cint(curpage)> cint(pagesum) then curpage=pagesum           '轉換成整數格式時必須的,大量實驗已經證明
end if
%>
 <% if not  Request.QueryString("strsql")="" then %> 
 <form name=ConList method="post" action="ProjectTJ_EditList.asp?muldel=muldel&strsql=<%=server.URLEncode(strsql)%>&page=<%=curpage%>">
 <% else %>   
   <form name=ConList method="post" action="../Project/ProjectTJ_EditList.asp">
  <% 
   end if
  %>
  <input type="hidden" name="submitType">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr> 
      <td width="457"><img src="images/editlist_Project.gif" width="227" height="38"></td>
      <td width="50"> 
        <div align="center"></div>
      </td>
      <td width="50" align="center"> <a href="../Project/Project_Query.asp?type=TJ&query=query"><img src="../public/images/query.gif" width="24" height="18" border="0"><br>
        <font color="#003399">查詢</font></a></td>
    </tr>
  </table>


  <table width="100%" border="0" cellspacing="1" cellpadding="0" bordercolor="#0099FF" align="center" bgcolor="#006699">
    <tr bordercolor="#0099FF" bgcolor="#6699CC"> 
      <td width="29" height="20" align="center" bgcolor="#6699CC"> 
        <div align="center"><font color="#FFFFFF">序號</font></div>
      </td>
      <td width="53" height="20"> 
        <div align="center"><a href="ProjectTJ_EditList.asp?orderby=項目編碼&strsql=<%=server.URLEncode(strsql)%>&page=<%=curpage%>" class="menu">項目編碼</a></div>
      </td>
      <td width="151" height="20"> 
        <div align="center"><a href="ProjectTJ_EditList.asp?orderby=項目名稱&strsql=<%=server.URLEncode(strsql)%>&page=<%=curpage%>" class="menu">項目名稱</a></div>
      </td>
      <td width="63" height="20"><a href="ProjectTJ_EditList.asp?orderby=申報時間&strsql=<%=server.URLEncode(strsql)%>&page=<%=curpage%>" class="menu">申報日期</a></td>
      <td width="69" height="20"><a href="ProjectTJ_EditList.asp?orderby=項目類別名稱&strsql=<%=server.URLEncode(strsql)%>&page=<%=curpage%>" class="menu">項目類別</a></td>
      <td width="102" height="20"><a href="ProjectTJ_EditList.asp?orderby=主持單位&strsql=<%=server.URLEncode(strsql)%>&page=<%=curpage%>" class="menu">主持單位</a></td>
      <td width="30" height="20"><a href="ProjectTJ_EditList.asp?orderby=年度批次&strsql=<%=server.URLEncode(strsql)%>&page=<%=curpage%>" class="menu">年度批次</a></td>
      <td width="50" height="20" align="center"><a href="ProjectTJ_EditList.asp?orderby=推薦標志&strsql=<%=server.URLEncode(strsql)%>&page=<%=curpage%>" class="menu">主管<br>
        意見</a></td>
      <td width="30" height="20"><a href="ProjectTJ_EditList.asp?orderby=項目進度&strsql=<%=server.URLEncode(strsql)%>&page=<%=curpage%>" class="menu">項目進度</a></td>
      <td width="50" height="20" align="center"><a href="ProjectTJ_EditList.asp?orderby=進度狀況&strsql=<%=server.URLEncode(strsql)%>&page=<%=curpage%>" class="menu">進度<br>
        狀況</a></td>
      <td width="25" height="20"><font color="#FFFFFF">推薦</font></td>
      <td width="30" height="20" align="center"><font color="#FFFFFF">查看<br>
        意見</font></td>
    </tr>
    <%
	if   Request.QueryString("strsql")="" then Response.End 
	if objres.RecordCount >pagesize*curpage then thispagerecords=pagesize else thispagerecords=objres.RecordCount-pagesize*(curpage-1)
	recordcode=10*(curpage-1)
	if objres.RecordCount >0 then 
			objres.MoveFirst 
			objres.Move((curpage-1)*10)	
		else 
	%>
    <tr bgcolor="#FFFFFF"> 
      <td colspan="12">對不起,沒有符合要求的記錄! </td>
    </tr>
    <%
			Response.End 
	end if
    for i=1 to thispagerecords 
     recordcode=recordcode+1
    %>
    <tr bgcolor="#FFFFFF"> 
      <td width="29" align="center"> 
        <% =recordcode%>
      </td>
      <td width="53"> 
        <% = objres.Fields("項目編碼").Value %>
      </td>
      <td width="151"> <a href="../Project/Project_edit1.asp?view=view&edit=edit&code=<% = objres.Fields("項目編碼").Value %>&name=<% = objres.Fields("項目名稱").Value %>&type=<%=objres.Fields ("項目類別").Value %>&strsql=<%=server.URLEncode(strsql)%>&page=<%=curpage%>" target="_blank" class=blank> 
        <%  = objres.Fields("項目名稱").Value %>
        </a></td>
      <td width="63"> 
        <%  = objres.Fields("申報時間").Value %>
      </td>
      <td width="69"> 
        <%  = objres.Fields("項目類別名稱").Value %>
      </td>
      <td width="102"> 
        <%  = objres.Fields("主持單位").Value %>
      </td>
      <td width="30"> 
        <%  = objres.Fields("年度批次").Value %>
      </td>
      <td width="50" align="center"> 
        <%  if objres.Fields("推薦標志").Value ="Y" then response.write objres("主管部門推薦結果") else response.write "未推薦" end if%>
      </td>
      <td width="30"> 
        <%  = objres.Fields("項目進度").Value %>
      </td>
      <td width="50" align="center"> 
        <%  = objres.Fields("進度狀況").Value %>
      </td>
      <td width="25"> 
        <div align="center"><a href="ProjectTJ_Edit.asp?Code=<%=objres("項目編碼")%>&strsql=<%=server.URLEncode (strsql)%>&page=<% =curpage%>"><img src="images/TuiJian.gif" width="20" height="20" border="0"></a></div>
      </td>
      <td width="30"> 
        <%if objres("推薦標志")="Y" then %>
        <a href="javascript:open1('<%=objres("項目編碼")%>');"><img src="../public/images/view.gif" width="20" height="17" border="0"></a> 
        <%end if%>
      </td>
    </tr>
    <%
     objres.MoveNext 
       next
    %>
    <tr bgcolor="#6699CC"> 
      <td colspan="12" height="20"> 
        <div align="right"> 
          <%
 
    if   curpage>1 then  Response.Write ("<a href="+"ProjectTJ_EditList.asp?page=1"+"&strsql="+server.URLEncode(strsql)+"> 首頁</a>"+" | ") else Response.Write "首頁 | "
    if   recordcode>pagesize then   Response.Write ("<a href="+"ProjectTJ_EditList.asp?page="+cstr(curpage-1)+"&strsql="+server.URLEncode(strsql)+"> 上一頁</a>"+" | ") else Response.Write "上一頁 | "
    if   recordcode<objres.RecordCount  then   Response.Write ("<a href="+"ProjectTJ_EditList.asp?page="+cstr(curpage+1)+"&strsql="+server.URLEncode(strsql)+"> 下一頁</a>"+" | ") else Response.Write "下一頁 | "
    if    recordcode<objres.RecordCount  then   Response.Write ("<a href="+"ProjectTJ_EditList.asp?page="+cstr (pagesum)+"&strsql="+server.URLEncode(strsql)+"> 末頁</a>"+"  ") else Response.Write "末頁  "
     %>
            第 
          <%  =curpage %>
          頁/共 
          <% =pagesum  %>
          頁/共 
          <% =objres.RecordCount %>
          條記錄  </div>
      </td>
    </tr>
  </table>
</form>
<br>
</body>
</html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产高清不卡二三区| 精品国产免费人成在线观看| 欧美精品一卡两卡| 国产精品久久久一本精品| 偷拍亚洲欧洲综合| 成人免费不卡视频| 欧美va亚洲va香蕉在线| 亚洲aⅴ怡春院| 在线免费亚洲电影| 国产精品免费看片| 国产激情一区二区三区| 欧美精品v国产精品v日韩精品| 17c精品麻豆一区二区免费| 狠狠狠色丁香婷婷综合激情| 91麻豆精品91久久久久同性| 樱桃视频在线观看一区| 成人动漫精品一区二区| 精品成人免费观看| 狠狠色丁香九九婷婷综合五月| 欧美美女一区二区| 一区二区三区日韩欧美精品| 色综合天天狠狠| 国产精品美女久久久久高潮| 国产精品一区在线观看乱码 | 亚洲一区av在线| 成人一区二区三区视频| 久久在线观看免费| 精品在线播放午夜| 欧美成人乱码一区二区三区| 毛片不卡一区二区| 欧美精品一区男女天堂| 国产精品一区二区在线看| www成人在线观看| 丁香啪啪综合成人亚洲小说| 欧美韩国日本不卡| 96av麻豆蜜桃一区二区| 亚洲欧美色图小说| 欧美男生操女生| 天天综合日日夜夜精品| 日韩免费视频线观看| 久久66热偷产精品| 国产精品女主播在线观看| 99久久er热在这里只有精品15| 1区2区3区国产精品| 欧美伊人久久大香线蕉综合69 | 黄色小说综合网站| 2022国产精品视频| 不卡免费追剧大全电视剧网站| 亚洲欧美激情一区二区| 欧美撒尿777hd撒尿| 免费久久99精品国产| 久久久久久久久久久电影| 成人免费高清在线| 亚洲成人动漫在线观看| 亚洲成人一区二区在线观看| 在线综合+亚洲+欧美中文字幕| 一区二区免费在线| 一道本成人在线| 日韩精品一二三| 欧美mv日韩mv国产| 91免费看片在线观看| 亚洲图片欧美色图| 欧美不卡激情三级在线观看| 成人av电影免费在线播放| 一区二区三区四区精品在线视频| 欧美剧在线免费观看网站 | 麻豆精品精品国产自在97香蕉| 久久先锋影音av鲁色资源| 99久久精品国产网站| 天天av天天翘天天综合网色鬼国产| 欧美电影免费观看高清完整版在线 | 欧美一区永久视频免费观看| 国产精品99久久久久久宅男| 亚洲男同性视频| 欧美va在线播放| 欧洲精品在线观看| 国产精品1区2区| 亚洲国产精品久久一线不卡| 久久久久一区二区三区四区| 欧美性猛片aaaaaaa做受| 国产成人午夜99999| 偷偷要91色婷婷| 国产精品麻豆欧美日韩ww| 8x福利精品第一导航| 不卡一区二区三区四区| 视频一区国产视频| 亚洲欧美精品午睡沙发| 国产女同性恋一区二区| 91精品欧美综合在线观看最新| 99精品久久免费看蜜臀剧情介绍| 精品午夜久久福利影院| 日产精品久久久久久久性色| 亚洲日本在线观看| 亚洲国产精品成人综合| 欧美v日韩v国产v| 欧美电影在线免费观看| 一本在线高清不卡dvd| 成人午夜视频福利| 狠狠网亚洲精品| 美腿丝袜亚洲一区| 亚洲福利一二三区| 亚洲最大成人网4388xx| 亚洲欧洲另类国产综合| 国产精品成人免费在线| 久久久国产午夜精品| 精品福利一区二区三区| 欧美sm美女调教| 日韩精品一区二区三区四区| 欧美一卡二卡在线观看| 宅男在线国产精品| 欧美一级久久久久久久大片| 欧美一级二级在线观看| 日韩欧美一二三四区| 日韩一级成人av| 精品国产乱码久久久久久1区2区| 日韩视频中午一区| 精品久久久久久久一区二区蜜臀| 欧美成人vps| 国产亚洲精品aa午夜观看| 国产欧美一区二区精品性| 中文字幕av一区 二区| 国产精品电影一区二区| 亚洲日本护士毛茸茸| 伊人开心综合网| 亚洲成人激情综合网| 丝袜国产日韩另类美女| 奇米色一区二区| 久久99久久精品欧美| 国产精品69毛片高清亚洲| 国产黄色精品视频| 成人h动漫精品一区二区| 色综合激情五月| 88在线观看91蜜桃国自产| 精品久久五月天| 国产精品久久久久久一区二区三区 | 国产精品美女www爽爽爽| 亚洲蜜臀av乱码久久精品蜜桃| 一区二区免费视频| 首页国产欧美日韩丝袜| 国产一区二区在线影院| 99久久国产综合精品女不卡 | 国产成人亚洲综合a∨婷婷 | 一区二区激情小说| 亚洲成人激情自拍| 国产成人精品一区二区三区网站观看| 99视频有精品| 欧美一区二区三区在线观看视频| 欧美激情一区二区三区在线| 亚洲国产日韩精品| 国产传媒日韩欧美成人| 欧美亚洲动漫另类| 国产亚洲污的网站| 五月天亚洲婷婷| 成人高清伦理免费影院在线观看| 欧美曰成人黄网| 国产三级欧美三级日产三级99| 亚洲美女免费在线| 国产一二精品视频| 精品视频一区二区三区免费| 中文字幕欧美激情一区| 免费在线一区观看| 91在线免费视频观看| 精品国产青草久久久久福利| 亚洲精品高清视频在线观看| 激情小说亚洲一区| 欧美日韩aaaaaa| 国产精品大尺度| 国产一区在线精品| 欧美日韩国产高清一区二区三区| 国产午夜精品在线观看| 日本一道高清亚洲日美韩| 91丨porny丨中文| 日本一区二区三区dvd视频在线| 亚洲电影第三页| 色综合久久久久综合体桃花网| 26uuu精品一区二区| 日本中文在线一区| 在线观看日韩毛片| 亚洲美女区一区| 成人免费视频视频在线观看免费 | 国产一区免费电影| 日韩三级视频在线看| 亚洲国产中文字幕在线视频综合 | 日韩亚洲欧美成人一区| 亚洲综合在线五月| 91丨九色porny丨蝌蚪| 国产欧美精品一区| 国产精品中文字幕一区二区三区| 7777精品伊人久久久大香线蕉最新版| 亚洲精品中文在线观看| eeuss鲁片一区二区三区 | 97se亚洲国产综合在线| 国产精品素人视频| 成人午夜av在线| 中文字幕视频一区二区三区久| 高清不卡一区二区| 日本一区二区动态图| 99在线精品观看| 亚洲久草在线视频| 欧美四级电影网|