找回密码
 注册
搜索
热搜: 回贴
  • 前程无忧官网首页 有什么好的平台可以
  • 最新的销售平台 互联网营销的平台有哪
  • 制作网页的基本流程 网页制作和网页设
  • 【帝国CMS】输出带序号的列表(数字排
  • 网站建设公司 三一,中联,极东泵车的
  • 织梦 建站 织梦网站模版后台怎么更改
  • 云服务官网 哪些网站有免费的简历模板
  • 如何建网站要什么条件 建网站要用什么
  • 吉林市移动公司电话 吉林省退休人员网
  • 设计类毕业论文 网站设计与实现毕业论
查看: 108|回复: 5

一个网站,后台添加文件没有显示,请求帮忙谢谢

[复制链接]
发表于 2009-9-14 23:56:43 | 显示全部楼层 |阅读模式 IP:江苏扬州
我有一个网站,后台添加文件没有显示(就更不用说前台了)我想应该是代码的问题,能不能帮我看看,十分感谢。也可加我QQ165505447我可以把文件传给你。
下面是后台代码的一部分:
<%qx="24"%>
<!--#include file="../../mycartconn/news_lb.asp"-->
<!--#include file="../login/0.asp"-->
<!--#include file="../../mycartconn/conn.asp"-->
<html>
<head>
<title>数字新闻系统V1.0</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../../mycartconn/css.css" type="text/css">
</head>
<body>
<form action="save.asp" method="post" name="theform" id="theform" onSubmit="return VerifySubmit()">
<SCRIPT language=javascript>
function ModifyWriteFrom(){
document.theform.ly.disabled=false;
document.theform.ly.value="转载";}
function ModifyWriteFrom1(){
document.theform.ly.disabled=true;
document.theform.ly.value="原创";}
function VerifySubmit(){
submits();
if (document.theform.lbid.value.length == 0) {
alert("新闻类别没有选择");
return false;}
if (document.theform.bt.value.length == 0){
alert("新闻标题没有填写!");
return false;}
if (document.theform.lx.item(1).checked){if(document.theform.tp.value == '') {
window.alert('当新闻是图文头条时,新闻小图片不能为空!!');
return false;}}
if (document.theform.edit.value == ""){
alert("请输入新闻内容!");
return false;}
return true;}
</script>
<table width="650" align="center" cellpadding="2">
<tr valign="middle" bgcolor="#CCCCCC">
<td height="25" colspan="4" align="center"><font size="2"><a href="add.asp">添加记录</a>
| <a href="index.asp">管理记录</a></font></td>
</tr>
<tr valign="middle" bgcolor="#f1f1f1">
<td width="75" height="25" align="center" nowrap> 新闻归类 </td>
<td width="538" height="25" colspan="3"> <%Response.Write "<select name=lbid size=1 id=lbid style='color: #000000;border: 1px inset #cccccc;font-size: 9pt;background-color: #f1f1f1;'>"
Response.Write "<option value=''></option>"
for i=1 to ubound(news_lb,1)
Response.Write "<optgroup label='╋ "&news_lb(i,0)&"  '>"
for j=1 to ubound(news_lb,2)
if isempty(news_lb(i,j)) then exit for
tmpmenu=split(news_lb(i,j),",")
menuname=tmpmenu(0)
Response.Write "<option value="&i&"_"&j&""
if Request.Cookies("my_url")("news_lb")=i&"_"&j then Response.Write(" selected")
Response.Write ">├"&menuname&"    </option>"
next
next
Response.Write "</select>"%> <input name="lb_cookie" type="checkbox" id="lb_cookie" value="yes" checked>
记忆选择  <font color=red>请注意要将新闻添加在二级分类下</font></td>
</tr>
<tr valign="middle" bgcolor="#f1f1f1">
<td width="75" height="25" align="center">模板调用</td>
<td height="25" colspan="3"> <%Response.Write "<select name=demo_id id=demo_id>"
set rs = conn.execute("select * from news_demo")
do while not rs.eof
Response.Write "<option value="&rs("id")&""
if cstr(rs("id"))=Request.Cookies("my_url")("news_demo") then Response.Write(" selected")
Response.Write "> "&rs("mc")&" </option>"
rs.movenext
loop
rs.close
set rs=nothing
conn.close
set conn=nothing
Response.Write "</select>"%> <input name="demo_cookie" type="checkbox" id="demo_cookie" value="yes" checked>
记忆选择</td>
</tr>
<tr valign="middle" bgcolor="#f1f1f1">
<td width="75" height="25" align="center">新闻标题</td>
<td height="25" colspan="3"> <input name="bt" type="text" class="wenbenkuang" id="bt" size="67" maxlength="100"></td>
</tr>
<tr valign="middle" bgcolor="#f1f1f1">
<td width="75" height="25" align="center">新闻类型</td>
<td height="25" colspan="3"><input name="lx" type="radio" value=0 checked>
普通文档
<input name="lx" type="radio" value=1>
图文头条
<input name="lx" type="radio" value=2>
图文文档
<input name="lx" type="radio" value=3>
推荐文档</td>
</tr>
<tr valign="middle" bgcolor="#f1f1f1">
<td width="75" height="25" align="center">图文头条</td>
<td height="25" colspan="3"> <font color=red>
<input name="tp" type="text" class="wenbenkuang" id="tp" size="30">
<input type="button" name="Submit22" class="go-wenbenkuang" value="上传图片" onClick="window.open('../upload_flash.asp?formname=theform&editname=tp&uppath=bookpic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">
图文头条时必须上传,其它请留空</font></td>
</tr>
<tr valign="middle" bgcolor="#f1f1f1">
<td width="75" height="25" align="center">信息来源</td>
<td height="25" colspan="3"><input name="ly" type=text class="wenbenkuang" id="ly" value="转载" size=20>
原创<input name="ly1" type="radio" value=0 onClick="ModifyWriteFrom1()">
转载<input name="ly1" type="radio" value=1 checked onClick="ModifyWriteFrom()">
  新闻作者: <input name="name" type="text" class="wenbenkuang" id="name" size="10" maxlength="50" value="<%=Request.Cookies(my_url)("news_name")%>">
<input name="name_cookie2" type="checkbox" id="name_cookie2" value="yes" checked>
记忆输入</td>
</tr>
<tr valign="middle" bgcolor="#f1f1f1">
<td height="25" colspan="4" align="center">
<div align="center">
<INPUT type="hidden" name="edit" value="">

<IFRAME ID="eWebEditor1" SRC="../edit/ewebeditor.asp?id=edit&style=standard_blue" FRAMEBORDER="0" SCROLLING="no" WIDTH="650" HEIGHT="450"></IFRAME>
</div>
</td>
</tr>
<tr valign="bottom">
<td height="25" colspan="4" align="center"><input name="submit" type="submit" class="go-wenbenkuang" value="OK,提交文章">
<input type="reset" value="No,重写" class="go-wenbenkuang"> <input name="zt" type="checkbox" id="zt" value="yes" checked>
直接生成HTML文档(不直接生成会成为一条待审核信息) </td></tr>
<tr valign="top">
<td height="30" colspan="4"><font color=red>注:新闻要添加在二级分类下,选择图文头条会在前台调用一小图片,必须上传。图文文档会在标题后加一个[图]标识</font></td>
</tr>
</table>
</form>
</body>
</html>
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-30 01:43 , Processed in 0.108828 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表