K9 通用版 博客版 主题版 地方门户版 企业版 |   企业(ASP) 分类 使用 分享 疑问 模板 建议 帮助 错误 其他
+新建主题 [Ajax]
填写帐号密码即可完成注册
+新建话题 最新回复排序 最新主题排序 精华帖子

帮忙看下是什么问题

1Next >

120 发表于:10-12-24 18:18 [添加收藏] 楼主 [回复] #Top#
120 人气:1 积分:24 金币:82

以下内容怎么通过ASP访问是空白,看不到内容,但是查看源文件又有内容、很奇怪,高手帮忙找一下是什么原因。。

<!--#include file="Access.asp"  -->

<link rel="stylesheet" type="text/css" href="/css/common.css"  />
<script  language="javascript" src="/js/date_input_1.js"></script>

<script language="javascript">

//全选JS
function unselectall(){
if(document.form1.chkAll.checked){
document.form1.chkAll.checked = document.form1.chkAll.checked&0;
}
}
function CheckAll(form){
for (var i=0;i<form.elements.length;i++){
var e = form.elements[i];
if (e.Name != 'chkAll'&&e.disabled==false)
e.checked = form.chkAll.checked;
}
}
</script>

<!-- 资讯文章三级联动菜单 开始 -->
<script language="JavaScript">
<!--
<%
'二级数据保存到数组
Dim count2,rsClass2,sqlClass2
set rsClass2=server.createobject("adodb.recordset")
sqlClass2="select id,pid,ppid,name from category where ppid=2 order by id "
rsClass2.open sqlClass2,cn,1,1
%>
var subval2 = new Array();
//数组结构:一级根值,二级根值,二级显示值
<%
count2 = 0
do while not rsClass2.eof
%>
subval2[<%=count2%>] = new Array('<%=rsClass2("pID")%>','<%=rsClass2("ID")%>','<%=rsClass2("Name")%>')
<%
count2 = count2 + 1
rsClass2.movenext
loop
rsClass2.close
%>

<%
'三级数据保存到数组
Dim count3,rsClass3,sqlClass3
set rsClass3=server.createobject("adodb.recordset")
sqlClass3="select id,pid,ppid,name from category where ppid=3 order by id"
rsClass3.open sqlClass3,cn,1,1
%>
var subval3 = new Array();
//数组结构:二级根值,三级根值,三级显示值
<%
count3 = 0
do while not rsClass3.eof
%>
subval3[<%=count3%>] = new Array('<%=rsClass3("pID")%>','<%=rsClass3("ID")%>','<%=rsClass3("Name")%>')
<%
count3 = count3 + 1
rsClass3.movenext
loop
rsClass3.close
%>

function changeselect1(locationid)
{
    document.form1.pid.length = 0;
    document.form1.pid.options[0] = new Option('选择二级分类','');
    document.form1.ppid.length = 0;
    document.form1.ppid.options[0] = new Option('选择三级分类','');
    for (i=0; i<subval2.length; i++)
    {
        if (subval2[i][0] == locationid)
        {document.form1.pid.options[document.form1.pid.length] = new Option(subval2[i][2],subval2[i][1]);}
    }
}

function changeselect2(locationid)
{
    document.form1.ppid.length = 0;
    document.form1.ppid.options[0] = new Option('选择三级分类','');
    for (i=0; i<subval3.length; i++)
    {
        if (subval3[i][0] == locationid)
        {document.form1.ppid.options[document.form1.ppid.length] = new Option(subval3[i][2],subval3[i][1]);}
    }
}
//-->
</script><!-- 资讯文章三级联动菜单 结束 -->


<!-- 问题文章三级联动菜单 开始 -->
<script language="JavaScript">
<!--
<%
'二级数据保存到数组
Dim q_count2,q_rsClass2,q_sqlClass2
set q_rsClass2=server.createobject("adodb.recordset")
q_sqlClass2="select id,pid,ppid,name from web_question_type where ppid=2 order by id "
q_rsClass2.open q_sqlClass2,cn,1,1
%>
var q_subval2 = new Array();
//数组结构:一级根值,二级根值,二级显示值
<%
q_count2 = 0
do while not q_rsClass2.eof
%>
q_subval2[<%=q_count2%>] = new Array('<%=q_rsClass2("pID")%>','<%=q_rsClass2("ID")%>','<%=q_rsClass2("Name")%>')
<%
q_count2 = q_count2 + 1
q_rsClass2.movenext
loop
q_rsClass2.close
%>

<%
'三级数据保存到数组
Dim q_count3,q_rsClass3,q_sqlClass3
set q_rsClass3=server.createobject("adodb.recordset")
q_sqlClass3="select id,pid,ppid,name from web_question_type where ppid=3 order by id"
q_rsClass3.open q_sqlClass3,cn,1,1
%>
var q_subval3 = new Array();
//数组结构:二级根值,三级根值,三级显示值
<%
q_count3 = 0
do while not q_rsClass3.eof
%>
q_subval3[<%=q_count3%>] = new Array('<%=q_rsClass3("pID")%>','<%=q_rsClass3("ID")%>','<%=q_rsClass3("Name")%>')
<%
q_count3 = q_count3 + 1
q_rsClass3.movenext
loop
q_rsClass3.close
%>

function q_changeselect1(locationid)
{
    document.form1.q_pid.length = 0;
    document.form1.q_pid.options[0] = new Option('选择二级分类','');
    document.form1.q_ppid.length = 0;
    document.form1.q_ppid.options[0] = new Option('选择三级分类','');
    for (i=0; i<q_subval2.length; i++)
    {
        if (q_subval2[i][0] == locationid)
        {document.form1.q_pid.options[document.form1.q_pid.length] = new Option(q_subval2[i][2],q_subval2[i][1]);}
    }
}

function q_changeselect2(locationid)
{
    document.form1.q_ppid.length = 0;
    document.form1.q_ppid.options[0] = new Option('选择三级分类','');
    for (i=0; i<q_subval3.length; i++)
    {
        if (q_subval3[i][0] == locationid)
        {document.form1.q_ppid.options[document.form1.q_ppid.length] = new Option(q_subval3[i][2],subval3[i][1]);}
    }
}
//-->
</script><!-- 问题三级联动菜单 结束 -->

 

<!-- 企业文章三级联动菜单 开始 -->
<script language="JavaScript">
<!--
<%
'二级数据保存到数组
Dim f_count2,f_rsClass2,f_sqlClass2
set f_rsClass2=server.createobject("adodb.recordset")
f_sqlClass2="select id,pid,ppid,name from web_com_type where ppid=2 order by id "
f_rsClass2.open f_sqlClass2,cn,1,1
%>
var f_subval2 = new Array();
//数组结构:一级根值,二级根值,二级显示值
<%
f_count2 = 0
do while not f_rsClass2.eof
%>
f_subval2[<%=f_count2%>] = new Array('<%=f_rsClass2("pID")%>','<%=f_rsClass2("ID")%>','<%=f_rsClass2("Name")%>')
<%
f_count2 = f_count2 + 1
f_rsClass2.movenext
loop
f_rsClass2.close
%>

<%
'三级数据保存到数组
Dim f_count3,f_rsClass3,f_sqlClass3
set f_rsClass3=server.createobject("adodb.recordset")
f_sqlClass3="select id,pid,ppid,name from web_com_type where ppid=3 order by id"
f_rsClass3.open f_sqlClass3,cn,1,1
%>
var f_subval3 = new Array();
//数组结构:二级根值,三级根值,三级显示值
<%
f_count3 = 0
do while not f_rsClass3.eof
%>
f_subval3[<%=f_count3%>] = new Array('<%=f_rsClass3("pID")%>','<%=f_rsClass3("ID")%>','<%=f_rsClass3("Name")%>')
<%
f_count3 = f_count3 + 1
f_rsClass3.movenext
loop
f_rsClass3.close
%>

function f_changeselect1(locationid)
{
    document.form1.f_pid.length = 0;
    document.form1.f_pid.options[0] = new Option('选择二级分类','');
    document.form1.f_ppid.length = 0;
    document.form1.f_ppid.options[0] = new Option('选择三级分类','');
    for (i=0; i<f_subval2.length; i++)
    {
        if (f_subval2[i][0] == locationid)
        {document.form1.f_pid.options[document.form1.f_pid.length] = new Option(f_subval2[i][2],f_subval2[i][1]);}
    }
}

function f_changeselect2(locationid)
{
    document.form1.f_ppid.length = 0;
    document.form1.f_ppid.options[0] = new Option('选择三级分类','');
    for (i=0; i<f_subval3.length; i++)
    {
        if (f_subval3[i][0] == locationid)
        {document.form1.f_ppid.options[document.form1.f_ppid.length] = new Option(f_subval3[i][2],subval3[i][1]);}
    }
}
//-->
</script><!-- 企业题三级联动菜单 结束 -->

 <%
Call header()
%>

<%'生成

 if request.querystring("action")="create" then

'生成资讯文章 start
if request.form("news_article")=1 then

cid=request.form("cid")
pid=request.form("pid")
ppid=request.form("ppid")
a_start=request.form("a_start")
a_end=request.form("a_end")


if cid<>"" or pid<>"" or ppid<>"" or  a_start<>"" or a_end<>"" then
'------------------
if ppid<>"" then
a_c_sql=" ppid='"&ppid&"'"
end if

if pid<>"" and ppid="" then
a_c_sql=" pid='"&pid&"'"
end if

if cid<>"" and pid="" and ppid="" then
a_c_sql=" cid='"&cid&"'"
end if

'------------------
if a_start<>"" and a_end<>"" then
a_t_sql=" [time]>=#"&a_start&"# and [time]<=#"&a_end&"# "
end if

if  a_end<>"" and a_start="" then
a_t_sql=" [time]<=#"&a_end&"# "
end if

if a_start<>"" and a_end="" then
a_t_sql=" [time]>=#"&a_start&"# "
end if

'------------------
if a_c_sql<>"" and a_t_sql<>"" then
sql="select [id],file_path from [article] where "&a_c_sql&" and "&a_t_sql&" order by [time] desc"
end if

if a_c_sql<>"" and a_t_sql="" then
sql="select [id],file_path from [article] where "&a_c_sql&" order by [time] desc"
end if

if a_c_sql="" and a_t_sql<>"" then
sql="select [id],file_path from [article] where "&a_t_sql&" order by [time] desc"
end if


else
sql="select [id],file_path from [article] order by [time] desc"
end if


set rs_create=server.createobject("adodb.recordset")
rs_create.open(sql),cn,1,1
do while not rs_create.eof
a_id=rs_create("id")
filepath=rs_create("file_path")
call article_to_html(a_id,filepath)
rs_create.movenext
loop
rs_create.close
set rs_create=nothing

end if
'生成资讯文章 end


'生成问题文章 start
if request.form("question_article")=1 then

cid=request.form("q_cid")
pid=request.form("q_pid")
ppid=request.form("q_ppid")
q_start=request.form("q_start")
q_end=request.form("q_end")


if q_cid<>"" or q_pid<>"" or q_ppid<>"" or  q_start<>"" or q_end<>"" then
'------------------
if q_ppid<>"" then
q_c_sql=" ppid='"&q_ppid&"'"
end if

if q_pid<>"" and q_ppid="" then
q_c_sql=" pid='"&q_pid&"'"
end if

if q_cid<>"" and q_pid="" and q_ppid="" then
q_c_sql=" cid='"&q_cid&"'"
end if

'------------------
if q_start<>"" and q_end<>"" then
q_t_sql=" [time]>=#"&q_start&"# and [time]<=#"&q_end&"# "
end if

if  q_end<>"" and q_start="" then
q_t_sql=" [time]<=#"&q_end&"# "
end if

if q_start<>"" and q_end="" then
q_t_sql=" [time]>=#"&q_start&"# "
end if

'------------------
if q_c_sql<>"" and q_t_sql<>"" then
sql="select [id],file_path from [web_question] where "&q_c_sql&" and "&q_t_sql&" order by [time] desc"
end if

if q_c_sql<>"" and q_t_sql="" then
sql="select [id],file_path from [web_question] where "&q_c_sql&" order by [time] desc"
end if

if q_c_sql="" and q_t_sql<>"" then
sql="select [id],file_path from [web_question] where "&q_t_sql&" order by [time] desc"
end if


else
sql="select [id],file_path from [web_question] order by [time] desc"
end if


set rs_create=server.createobject("adodb.recordset")
rs_create.open(sql),cn,1,1
do while not rs_create.eof
a_id=rs_create("id")
filepath=rs_create("file_path")
call ask_content_to_html(a_id,filepath)
rs_create.movenext
loop
rs_create.close
set rs_create=nothing

end if
'生成问题文章 end

 

 

'生成信息文章 start
if request.form("info_article")=1 then

i_type=request.form("type")
i_start=request.form("i_start")
i_end=request.form("i_end")

if i_type<>"" or i_start<>"" or i_end<>"" then

if i_type<>"" then
i_c_sql=" [type]="&i_type&" "
end if

if i_start<>"" and i_end<>"" then
i_t_sql=" [time]>=#"&i_start&"# and [time]<=#"&i_end&"# "
end if

if  i_end<>"" and i_start="" then
i_t_sql=" [time]<=#"&i_end&"# "
end if

if i_start<>"" and i_end="" then
i_t_sql=" [time]>=#"&i_start&"# "
end if

if i_c_sql<>"" and i_t_sql<>"" then
sql="select [id],file_path from [web_info] where "&i_c_sql&" and "&i_t_sql&" order by [time] desc"
end if

if i_c_sql<>"" and i_t_sql="" then
sql="select [id],file_path from [web_info] where "&i_c_sql&" order by [time] desc"
end if

if i_c_sql="" and i_t_sql<>"" then
sql="select [id],file_path from [web_info] where "&i_t_sql&" order by [time] desc"
end if


else
sql="select [id],file_path from [web_info] order by [time] desc"
end if


set rs_create=server.createobject("adodb.recordset")
rs_create.open(sql),cn,1,1
do while not rs_create.eof
a_id=rs_create("id")
filepath=rs_create("file_path")
call category_article_to_html(a_id,filepath)
rs_create.movenext
loop
rs_create.close
set rs_create=nothing
end if
'生成信息文章 end


'生成企业文章 start
if request.form("firm_article")=1 then

cid=request.form("f_cid")
pid=request.form("f_pid")
ppid=request.form("f_ppid")
f_start=request.form("f_start")
f_end=request.form("f_end")


if f_cid<>"" or f_pid<>"" or f_ppid<>"" or  f_start<>"" or f_end<>"" then
'------------------
if f_ppid<>"" then
f_c_sql=" ppid='"&f_ppid&"'"
end if

if f_pid<>"" and f_ppid="" then
f_c_sql=" pid='"&f_pid&"'"
end if

if f_cid<>"" and f_pid="" and f_ppid="" then
f_c_sql=" cid='"&f_cid&"'"
end if

'------------------
if f_start<>"" and f_end<>"" then
f_t_sql=" [time]>=#"&f_start&"# and [time]<=#"&f_end&"# "
end if

if  f_end<>"" and f_start="" then
f_t_sql=" [time]<=#"&f_end&"# "
end if

if f_start<>"" and f_end="" then
f_t_sql=" [time]>=#"&f_start&"# "
end if

'------------------
if f_c_sql<>"" and f_t_sql<>"" then
sql="select [id],file_path from [web_com] where "&f_c_sql&" and "&f_t_sql&" order by [time] desc"
end if

if f_c_sql<>"" and f_t_sql="" then
sql="select [id],file_path from [web_com] where "&f_c_sql&" order by [time] desc"
end if

if f_c_sql="" and f_t_sql<>"" then
sql="select [id],file_path from [web_com] where "&f_t_sql&" order by [time] desc"
end if


else
sql="select [id],file_path from [web_com] order by [time] desc"
end if


set rs_create=server.createobject("adodb.recordset")
rs_create.open(sql),cn,1,1
do while not rs_create.eof
a_id=rs_create("id")
filepath=rs_create("file_path")
call firm_content_to_html(a_id,filepath)
rs_create.movenext
loop
rs_create.close
set rs_create=nothing
end if
'生成企业文章 end

 

'生成招聘职位文章 start
if request.form("recruit_article")=1 then

r_start=request.form("r_start")
r_end=request.form("r_end")

if  r_start<>"" or r_end<>"" then


if r_start<>"" and r_end<>"" then
r_t_sql=" [j_time]>=#"&r_start&"# and [j_time]<=#"&r_end&"# "
end if

if  r_end<>"" and r_start="" then
r_t_sql=" [j_time]<=#"&r_end&"# "
end if

if r_start<>"" and r_end="" then
r_t_sql=" [j_time]>=#"&r_start&"# "
end if

sql="select [id],file_path from [web_job] where "&r_t_sql&" order by [j_time] desc"

else
sql="select [id],file_path from [web_job] order by [j_time] desc"
end if


set rs_create=server.createobject("adodb.recordset")
rs_create.open(sql),cn,1,1
do while not rs_create.eof
a_id=rs_create("id")
filepath=rs_create("file_path")
call recruit_content_to_html(a_id,filepath)
rs_create.movenext
loop
rs_create.close
set rs_create=nothing
end if
'生成招聘职位文章 end


'生成简历文章 start
if request.form("resume_article")=1 then

re_start=request.form("re_start")
re_end=request.form("re_end")

if  re_start<>"" or re_end<>"" then


if re_start<>"" and re_end<>"" then
re_t_sql=" [time]>=#"&re_start&"# and [time]<=#"&re_end&"# "
end if

if  re_end<>"" and re_start="" then
re_t_sql=" [time]<=#"&re_end&"# "
end if

if re_start<>"" and re_end="" then
re_t_sql=" [time]>=#"&re_start&"# "
end if

sql="select [id],file_path from [web_job_apply] where "&re_t_sql&" order by [time] desc"

else
sql="select [id],file_path from [web_job_apply] order by [time] desc"
end if


set rs_create=server.createobject("adodb.recordset")
rs_create.open(sql),cn,1,1
do while not rs_create.eof
a_id=rs_create("id")
filepath=rs_create("file_path")
call resume_content_to_html(a_id,filepath)
rs_create.movenext
loop
rs_create.close
set rs_create=nothing
end if
'生成简历文章 end


'生成图片内容 start
if request.form("img_article")=1 then

im_type=request.form("im_type")
im_start=request.form("im_start")
im_end=request.form("im_end")

if im_type<>"" or im_start<>"" or im_end<>"" then

if im_type<>"" then
im_c_sql=" [position]="&im_type&" "
end if

if im_start<>"" and im_end<>"" then
im_t_sql=" [time]>=#"&im_start&"# and [time]<=#"&im_end&"# "
end if

if  im_end<>"" and im_start="" then
im_t_sql=" [time]<=#"&im_end&"# "
end if

if im_start<>"" and im_end="" then
im_t_sql=" [time]>=#"&im_start&"# "
end if

if im_c_sql<>"" and im_t_sql<>"" then
sql="select [id],[position] from [web_img] where "&im_c_sql&" and "&im_t_sql&"  and view_yes=1 order by [time] desc"
end if

if im_c_sql<>"" and im_t_sql="" then
sql="select [id],[position] from [web_img] where "&im_c_sql&" and view_yes=1 order by [time] desc"
end if

if im_c_sql="" and im_t_sql<>"" then
sql="select [id],[position] from [web_img] where "&im_t_sql&" and view_yes=1 order by [time] desc"
end if


else
sql="select [id],[position] from [web_img] where view_yes=1 order by [time] desc"
end if


set rs_create=server.createobject("adodb.recordset")
rs_create.open(sql),cn,1,1
do while not rs_create.eof
a_id=rs_create("id")
a_pid=rs_create("position")
call img_content_to_html(a_id,a_pid)
rs_create.movenext
loop
rs_create.close
set rs_create=nothing
end if
'生成图片内容 end


response.Write "<script language='javascript'>alert('生成成功!');history.go(-1);</script>"


end if
%>

 

 <table cellpadding='3' cellspacing='1' border='0' class='tableBorder' align=center>
 <tr>
   <th width="100%" height=25 class='tableHeaderText'>生成文章</th>
 
 <tr><td height="400" valign="top"  class='forumRow'><br>
     <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="100">
              <form name="form1" method="post" action="?action=create">
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
         <tr > <td height="32" colspan="2"  bgcolor="#CEE6FB"> &nbsp;
                      <label>
                      <input type="checkbox" name="news_article" value="1">
                      <span style="font-weight: bold">资讯文章生成</span></label></td>
                  </tr>
          <tr>
                    <td height="35" colspan="2" class="forumRowt" style="line-height:200%;"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                      <tr class="forumRowHighLight">
                        <td width="8%" height="30" class="forumRowHighLight">&nbsp;选择分类</td>
                        <td width="92%" class="forumRowHighLight"> &nbsp;
                          <%
Dim count1,rsClass1,sqlClass1
set rsClass1=server.createobject("adodb.recordset")
sqlClass1="select id,pid,ppid,name from category where ppid=1 order by id"
rsClass1.open sqlClass1,cn,1,1
%>
                          <select name="cid" id="cid" onChange="changeselect1(this.value)">
                            <option value="">选择一级分类</option>
                            <%
count1 = 0
do while not rsClass1.eof
response.write"<option value="&rsClass1("ID")&">"&rsClass1("Name")&"</option>"
count1 = count1 + 1
rsClass1.movenext
loop
rsClass1.close
%>
                          </select>
&nbsp;&nbsp;
<select name="pid" id="pid"  onchange="changeselect2(this.value)">
  <option value="">选择二级分类</option>
</select>
&nbsp;&nbsp;
<select name="ppid" id="ppid">
  <option value="">选择三级分类</option>
</select></td>
                      </tr>
                      <tr>
                        <td height="30" class="forumRowHighLight">&nbsp;选择时间段</td>
                        <td height="30" class="forumRowHighLight">
&nbsp;从(大于)
  <input name="a_start"  type="text" value=""  readonly="readonly" onClick="showcalendar(event, this);" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" />
&nbsp;&nbsp;&nbsp;到(小于)
<input name="a_end"  type="text" value=""  readonly="readonly" onClick="showcalendar(event, this);" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" /></td>
                      </tr>
                    </table>
                      <br></td>
                  </tr>               
                  <tr > <td height="32" colspan="2"  bgcolor="#CEE6FB">&nbsp;
                      <label>
                      <input type="checkbox" name="question_article" value="1">
                      <span style="font-weight: bold">问题文章生成</span></label></td>
                  </tr> 
  <tr>
                    <td height="35" colspan="2" class="forumRowt" style="line-height:200%;"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                      <tr class="forumRowHighLight">
                        <td width="8%" height="30" class="forumRowHighLight">&nbsp;选择分类</td>
                        <td width="92%" class="forumRowHighLight">&nbsp;
                          <%
Dim q_count1,q_rsClass1,q_sqlClass1
set q_rsClass1=server.createobject("adodb.recordset")
q_sqlClass1="select id,pid,ppid,name from web_question_type where ppid=1 order by id"
q_rsClass1.open q_sqlClass1,cn,1,1
%>
                          <select name="q_cid" id="q_cid" onChange="q_changeselect1(this.value)">
                            <option value="">选择一级分类</option>
                            <%
q_count1 = 0
do while not q_rsClass1.eof
response.write"<option value="&q_rsClass1("ID")&">"&q_rsClass1("Name")&"</option>"
q_count1 = q_count1 + 1
q_rsClass1.movenext
loop
q_rsClass1.close
%>
                          </select>
&nbsp;&nbsp;
<select name="q_pid" id="q_pid"  onchange="q_changeselect2(this.value)">
  <option value="">选择二级分类</option>
</select>
&nbsp;&nbsp;
<select name="q_ppid" id="q_ppid">
  <option value="">选择三级分类</option>
</select> </td>
                      </tr>
                      <tr>
                        <td height="30" class="forumRowHighLight">&nbsp;选择时间段</td>
                        <td height="30" class="forumRowHighLight">
&nbsp;从(大于)
  <input name="q_start"  type="text" id="q_start" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" onClick="showcalendar(event, this);" value=""  readonly="readonly" />
&nbsp;&nbsp;&nbsp;到(小于)
<input name="q_end"  type="text" id="q_end" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" onClick="showcalendar(event, this);" value=""  readonly="readonly" /></td>
                      </tr>
                    </table>
                      <br></td>
                  </tr> 
                  <tr > <td height="32" colspan="2"  bgcolor="#CEE6FB">&nbsp;
                      <label>
                      <input type="checkbox" name="info_article" value="1">
                      <span style="font-weight: bold">信息文章生成</span></label></td>
                  </tr>
   <tr>
                    <td height="35" colspan="2" class="forumRowt" style="line-height:200%;"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                      <tr class="forumRowHighLight">
                        <td width="8%" height="30" class="forumRowHighLight">&nbsp;选择分类</td>
                        <td width="92%" class="forumRowHighLight">&nbsp;<select name="type" id="type">
      <option value="">请选择分类</option>
        <% set rsp=server.createobject("adodb.recordset")
     sql="select id,name from web_info_type "
     rsp.open(sql),cn,1,1
     if not rsp.eof and not rsp.bof then
     do while not rsp.eof
     %> <option value="<%=rsp("id")%>" ><%=rsp("name")%></option>
            <%
   rsp.movenext
   loop
   end if
   rsp.close
   set rsp=nothing%></select>                        </td>
                      </tr>
                      <tr>
                        <td height="30" class="forumRowHighLight">&nbsp;选择时间段</td>
                        <td height="30" class="forumRowHighLight">
&nbsp;从(大于)
  <input name="i_start"  type="text" id="i_start" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" onClick="showcalendar(event, this);" value=""  readonly="readonly" />
&nbsp;&nbsp;&nbsp;到(小于)
<input name="i_end"  type="text" id="i_end" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" onClick="showcalendar(event, this);" value=""  readonly="readonly" /></td>
                      </tr>
                    </table>
                      <br></td>
                  </tr>  

                  <tr > <td height="32" colspan="2"  bgcolor="#CEE6FB">&nbsp;
                      <label>
                      <input type="checkbox" name="firm_article" value="1">
                      <span style="font-weight: bold">公司/商铺内容生成</span></label></td>
                  </tr>
   <tr>
                    <td height="35" colspan="2" class="forumRowt" style="line-height:200%;"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                      <tr class="forumRowHighLight">
                        <td width="8%" height="30" class="forumRowHighLight">&nbsp;选择分类</td>
                        <td width="92%" class="forumRowHighLight">&nbsp; <%
Dim f_count1,f_rsClass1,f_sqlClass1
set f_rsClass1=server.createobject("adodb.recordset")
f_sqlClass1="select id,pid,ppid,name from web_com_type where ppid=1 order by id"
f_rsClass1.open f_sqlClass1,cn,1,1
%>
                          <select name="f_cid" id="f_cid" onChange="f_changeselect1(this.value)">
                            <option value="">选择一级分类</option>
                            <%
f_count1 = 0
do while not f_rsClass1.eof
response.write"<option value="&f_rsClass1("ID")&">"&f_rsClass1("Name")&"</option>"
f_count1 = f_count1 + 1
f_rsClass1.movenext
loop
f_rsClass1.close
%>
                          </select>
&nbsp;&nbsp;
<select name="f_pid" id="f_pid"  onchange="f_changeselect2(this.value)">
  <option value="">选择二级分类</option>
</select>
&nbsp;&nbsp;
<select name="f_ppid" id="f_ppid">
  <option value="">选择三级分类</option>
</select></td>
                      </tr>
                    <tr>
                        <td height="30" class="forumRowHighLight">&nbsp;选择时间段</td>
                        <td height="30" class="forumRowHighLight">
&nbsp;从(大于)
  <input name="f_start"  type="text" id="f_start" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" onClick="showcalendar(event, this);" value=""  readonly="readonly" />
&nbsp;&nbsp;&nbsp;到(小于)
<input name="f_end"  type="text" id="f_end" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" onClick="showcalendar(event, this);" value=""  readonly="readonly" /></td>
                      </tr>
                    </table>
                      <br></td>
                  </tr>                        


                  <tr > <td height="32" colspan="2"  bgcolor="#CEE6FB">&nbsp;
                      <label>
                      <input type="checkbox" name="recruit_article" value="1">
                      <span style="font-weight: bold">招聘职位内容生成</span></label></td>
                  </tr>
   <tr>
                    <td height="35" colspan="2" class="forumRowt" style="line-height:200%;"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                    
                      <tr>
                        <td height="30" class="forumRowHighLight">&nbsp;选择时间段</td>
                        <td height="30" class="forumRowHighLight">
&nbsp;从(大于)
  <input name="r_start"  type="text" id="r_start" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" onClick="showcalendar(event, this);" value=""  readonly="readonly" />
&nbsp;&nbsp;&nbsp;到(小于)
<input name="r_end"  type="text" id="r_end" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" onClick="showcalendar(event, this);" value=""  readonly="readonly" /></td>
                      </tr>
                    </table>
                      <br></td>
                  </tr>                        
                  <tr > <td height="32" colspan="2"  bgcolor="#CEE6FB">&nbsp;
                      <label>
                      <input type="checkbox" name="resume_article" value="1">
                      <span style="font-weight: bold">简历内容生成</span></label></td>
                  </tr>
   <tr>
                    <td height="35" colspan="2" class="forumRowt" style="line-height:200%;"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                    
                      <tr>
                        <td height="30" class="forumRowHighLight">&nbsp;选择时间段</td>
                        <td height="30" class="forumRowHighLight">
&nbsp;从(大于)
  <input name="re_start"  type="text" id="re_start" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" onClick="showcalendar(event, this);" value=""  readonly="readonly" />
&nbsp;&nbsp;&nbsp;到(小于)
<input name="re_end"  type="text" id="re_end" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" onClick="showcalendar(event, this);" value=""  readonly="readonly" /></td>
                      </tr>
                    </table>
                     </td>
                  </tr> 
                  <tr > <td height="32" colspan="2"  bgcolor="#CEE6FB">&nbsp;
                      <label>
                      <input type="checkbox" name="img_article" value="1">
                      <span style="font-weight: bold">图片页面生成</span></label></td>
                  </tr>
  <tr>
                    <td height="35" colspan="2" class="forumRowt" style="line-height:200%;"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                      <tr class="forumRowHighLight">
                        <td width="8%" height="30" class="forumRowHighLight">&nbsp;选择分类</td>
                        <td width="92%" class="forumRowHighLight">&nbsp;<select name="im_type" id="im_type">
      <option value="">请选择分类</option>
        <% set rsp=server.createobject("adodb.recordset")
     sql="select id,name from web_img_position "
     rsp.open(sql),cn,1,1
     if not rsp.eof and not rsp.bof then
     do while not rsp.eof
     %> <option value="<%=rsp("id")%>" ><%=rsp("name")%></option>
            <%
   rsp.movenext
   loop
   end if
   rsp.close
   set rsp=nothing%></select></td>
                      </tr>

   <tr>
                    <td height="35" colspan="2" class="forumRowt" style="line-height:200%;"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                    
                      <tr>
                        <td height="30" class="forumRowHighLight">&nbsp;选择时间段</td>
                        <td height="30" class="forumRowHighLight">
&nbsp;从(大于)
  <input name="im_start"  type="text" id="re_start" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" onClick="showcalendar(event, this);" value=""  readonly="readonly" />
&nbsp;&nbsp;&nbsp;到(小于)
<input name="im_end"  type="text" id="re_end" onFocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" onClick="showcalendar(event, this);" value=""  readonly="readonly" /></td>
                      </tr>
                    </table>
                     </td>
                  </tr>                
                  <tr>
                    <td width="12%" height="50"><label>
                      &nbsp;
                      <input name='chkAll' type='checkbox' id='chkAll' onclick='CheckAll(this.form)' value='checkbox'>
                    全选/全不选</label></td>
                    <td width="88%"><div align="center">
                      <input type="submit" name="Submit" value="提交">
                    </div></td>
                  </tr>
                </table>
              </form>            </td>
          </tr>
        </table>
     </td>
 </tr>
 </table>
<script  language="javascript" src="/js/date_input_2.js"></script>

<%
Call DbconnEnd()
 %>

120 发表于:10-12-24 18:35 沙发 [回复] #Top#
120 人气:1 积分:24 金币:82
来个大佬指点指点
120 发表于:10-12-24 18:44 板凳 [回复] #Top#
120 人气:1 积分:24 金币:82
终于找到了 

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">

多了这个
toymen 发表于:10-12-24 21:31 4楼 [回复] #Top#
toymen 人气:518 积分:3458 金币:23864
KC元老
看着头晕

1Next >

发表回复

帐号 匿名发布 审核后可见 [加载完整在线编辑器]
内容
验证码
KingCMS 内容管理系统

关于我们 联系我们 广告报价 付款方式 站点导航

Copyright © 2004-2015 Focuznet All rights reserved.

广州唯众网络科技有限公司 粤ICP备08008106号