⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user_put.asp

📁 打开目录ads文件夹 找到top_ads.js文件 用记事本打开后就可以看到: -------------------------------------- var head_ads_tx
💻 ASP
📖 第 1 页 / 共 3 页
字号:
    rs("c_id")=cid
    rs("s_id")=sid
    rs("name")=name
    rs("url")=url
    rs("url2")=url2
    rs("homepage")=homepage
    rs("sizes")=sizes
    rs("types")=types
    rs("genre")=genre
    rs("os")=os
    rs("power")=power
    rs("emoney")=emoney
    rs("username")=username
    rs("tim")=tim
    rs("counter")=counter
    rs("hidden")=true_hidden
    rs("keyes")=keyes
    rs("pic")=pic
    rs("remark")=remark
    rs.update
    rs.close
    call upload_note(index_url,first_id(data_name,"id"))
    call admin_msg("发布")
    exit sub
  end if
  call form_first()
  ispic=joekoe_cms.rand_file(index_url)
%>
<tr class=bg_td>
<td width='18%'><%response.write tit_fir%>标题:</td>
<td width='82%'><input type=text name=name size=60 maxlength=50><%response.write redx%></td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>分类:</td>
<td><%call chk_csid(nsort,cid,sid)%></td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>关键字:</td>
<td><%call frm_keyes("")%></td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>发布人:</td>
<td><input type=text name=username value='<%response.write login_username%>' size=20 maxlength=20>&nbsp;&nbsp;<%call chk_emoney(0)%></td>
</tr>
<%call chk_power("下载","",1)%>
<tr class=bg_td>
<td>软件大小:</td><td><input type=text name=sizes value='KB' size=10 maxlength=10>&nbsp;&nbsp;授权类型:<select name=genre size=1><%
  ddim=split(dim_down(1),":")
  for i=0 to ubound(ddim)
    response.write vbcrlf&"<option>"&ddim(i)&"</option>"
  next
  erase ddim
%></select>&nbsp;&nbsp;推荐等级:<select name=types size=1>
<option value='0'>没有等级</option>
<option value='1'>一星级</option>
<option value='2'>二星级</option>
<option value='3'>三星级</option>
<option value='4'>四星级</option>
<option value='5'>五星级</option>
</select>&nbsp;五星级同时为推荐</td>
</tr>
<tr class=bg_td>
<td>运行环境:</td><td><%
  ddim=split(dim_down(0),":")
  for i=0 to ubound(ddim)
    response.write "<input type=checkbox name=os value='"&ddim(i)&"' class=bg_td>"&ddim(i)
  next
  erase ddim
%></td>
</tr>
<tr class=bg_td>
<td>本站下载:</td>
<td><input type=text name=url value='' size=60 maxlength=200><%response.write redx%></td>
</tr>
<tr class=bg_td>
<td>镜像下载:</td>
<td><input type=text name=url2 value='http://' size=60 maxlength=200></td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>主页:</td>
<td><input type=text name=homepage value='http://' size=40 maxlength=50></td>
</tr>
<tr class=bg_td>
<td><%call frm_ubb_type(" class=bg_td")%></td>
<td><%call frm_ubb("add_frm","remark","&nbsp;&nbsp;",0)%></td>
</tr>
<tr class=bg_td>
<td valign=top><%response.write tit_fir%>内容:</td>
<td>
<table border=0><tr>
<td><textarea name=remark rows=8 cols=65></textarea></td>
<td width=5></td>
<td valign=bottom><%call textarea_resize("remark")%></td>
</tr></table>
</td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>图片:</td>
<td><input type=text name=pic value='<%response.write pic%>' size=40 maxlength=100>&nbsp;&nbsp;&nbsp;<a href='upload.asp?uppath=<%response.write index_url%>&upname=<%response.write ispic%>&uptext=pic' target=upload_frame>上传图片</a>&nbsp;&nbsp;<a href='upload.asp?uppath=<%response.write index_url%>&upname=<%response.write left(index_url,1)%>&uptext=remark' target=upload_frame>上传至内容</a></td>
</tr>
<tr class=bg_td>
<td>上传图片:</td>
<td><iframe frameborder=0 name=upload_frame width='100%' height=30 scrolling=no src='upload.asp?uppath=<%response.write index_url%>&upname=<%response.write ispic%>&uptext=pic'></iframe></td>
</tr>
<%
  call submit_add()
end sub

sub put_news()
  put_uppath="news"
  dim topic,keyes,comto,username,tim,counter,istop,pic,ispic,word,tcolor,PaginationType,MaxCharPerPage
  if chk() then
    topic=code_admin("topic",1,40)
    word=request.form("word")
    csid=trim(request.form("c_id"))
    tcolor=trim(request.form("tcolor"))
    if len(tcolor)<>6 then tcolor=""
	PaginationType=trim(request.form("PaginationType")) 
	MaxCharPerPage=trim(request.form("MaxCharPerPage"))
    if cs_nd(csid)=false then
      call admin_error("请选择 "&tit_fir&"类型 !")
      exit sub
    end if
    if topic="" or word="" then
      call admin_error(tit_fir&"标题 和 "&tit_fir&"内容 不能为空!")
      exit sub
    end if
    keyes=code_admin("keyes",1,20)
    comto=code_admin("comto",1,20)
    username=code_admin("username",1,20)
    if symbol_name(username)=false then username=login_username
    tim=joekoe_cms.now_time
    pic=code_admin("pic",1,100)
    ispic=true
    if pic="" then ispic=false
    counter=0
    istop=0
    call chk_cid_sid()
    sql="select * from "&data_name
    call joekoe_cms.exec(sql,-1)
    rs.open sql,conn,1,3
    rs.addnew
    rs("c_id")=cid
    rs("s_id")=sid
    rs("cod")=cod_type()
    rs("topic")=topic
    rs("comto")=comto
    rs("username")=username
    rs("tim")=tim
    rs("counter")=counter
    rs("istop")=istop
    rs("hidden")=true_hidden
    rs("keyes")=keyes
    rs("pic")=pic
    rs("ispic")=ispic
    rs("word")=word
    rs("tcolor")=tcolor
	rs("PaginationType")=PaginationType
	rs("MaxCharPerPage")=MaxCharPerPage
    rs.update
    rs.close
    call upload_note(index_url,first_id(data_name,"id"))
    call admin_msg("发布")
    exit sub
  end if
  call form_first()
  ispic=joekoe_cms.rand_file(index_url)
%>
<tr class=bg_td>
<td width='18%'><%response.write tit_fir%>标题:</td>
<td width='82%'><input type=text name=topic size=60 maxlength=40><%response.write redx%></td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>标题颜色:</td>
<td>#&nbsp;<input type=text name=tcolor value='' size=10 maxlength=7>&nbsp;&nbsp;<a href='javascript:;' onClick="javascript:slect_color('tcolor');"><img border=0 src="html_edit/images/btn_fgcolor.gif" width=23 height=22 align=absmiddle alt='点击选取主题字体颜色'></a>&nbsp;&nbsp;请正确填写<font class=red_3>6</font>位颜色代码。</td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>分类:</td>
<td><%call chk_csid(nsort,cid,sid)%></td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>关键字:</td>
<td><%call frm_keyes("")%></td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>出处:</td>
<td><input type=text name=comto size=20 maxlength=20>&nbsp;&nbsp;<%response.write tit_fir%>发布人:<input type=text name=username value='<%response.write login_username%>' size=20 maxlength=20></td>
</tr>
<%call html_edit(1,"add_frm","word"," class=bg_td")%>
<tr class=bg_td>
<td valign=top><%response.write tit_fir%>内容:</td>
<td>
<table border=0><tr>
<td><textarea name=word rows=8 cols=65></textarea></td>
<td width=5></td>
<td valign=bottom><%call textarea_resize("word")%></td>
</tr></table>
</td>
</tr>
<tr class=bg_td>
<td valign=top>内容分页方式:</td>
<td><select name="PaginationType" >
<option value="0" selected class=gray>不分页</option>
<option value="1">自动分页</option>
<option value="2">手动分页</option>
</select>&nbsp;&nbsp;<strong>注:</strong>手动分页符标记为 <font color="#FF0000">[pagecute]</font> ,注意大小写</td>
</tr>
<tr class=bg_td>
<td valign=top>自动分页字符数:</td>
<td> <input name="MaxCharPerPage" type="text" value='5000' size="8" maxlength="8">  自动分页时的每页大约字符数(包含HTML标记)</td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>图片:</td>
<td><input type=text name=pic value='<%response.write pic%>' size=40 maxlength=100>&nbsp;&nbsp;&nbsp;<a href='upload.asp?uppath=<%response.write index_url%>&upname=<%response.write ispic%>&uptext=pic' target=upload_frame>上传图片</a>&nbsp;&nbsp;<a href='upload.asp?uppath=<%response.write index_url%>&upname=<%response.write left(index_url,1)%>&uptext=word' target=upload_frame>上传至内容</a></td>
</tr>
<tr class=bg_td>
<td>上传图片:</td>
<td><iframe frameborder=0 name=upload_frame width='100%' height=30 scrolling=no src='upload.asp?uppath=<%response.write index_url%>&upname=<%response.write ispic%>&uptext=pic'></iframe></td>
</tr>
<%
  call submit_add()
end sub

sub put_art()
  put_uppath="article"
  dim topic,keyes,comto,author,power,emoney,username,tim,counter,istop,word,tcolor,PaginationType,MaxCharPerPage
  if chk() then
    topic=code_admin("topic",1,50)
    word=request.form("word")
    csid=trim(request.form("c_id"))
    tcolor=trim(request.form("tcolor"))
    PaginationType=trim(request.form("PaginationType")) 
    MaxCharPerPage=trim(request.form("MaxCharPerPage"))
    if len(tcolor)<>6 then tcolor=""
    if cs_nd(csid)=false then
      call admin_error("请选择 "&tit_fir&"类型 !")
      exit sub
    end if
    if topic="" or word="" then
      call admin_error(tit_fir&"标题 和 "&tit_fir&"内容 不能为空!")
      exit sub
    end if
    keyes=code_admin("keyes",1,20)
    comto=code_admin("comto",1,20)
    author=code_admin("author",1,20)
    power=code_admin("power",1,50)
    power=replace(power," ","")
    power=replace(power,",",".")
    emoney=trim(request.form("emoney"))
    if not isnumeric(emoney) then emoney=0
    username=code_admin("username",1,20)
    if symbol_name(username)=false then username=login_username
    tim=joekoe_cms.now_time
    counter=0
    istop=0
    call chk_cid_sid()
    sql="select * from "&data_name
    call joekoe_cms.exec(sql,-1)
    rs.open sql,conn,1,3
    rs.addnew
    rs("c_id")=cid
    rs("s_id")=sid
    rs("cod")=cod_type()
    rs("topic")=topic
    rs("comto")=comto
    rs("author")=author
    rs("power")=power
    rs("emoney")=emoney
    rs("username")=username
    rs("tim")=tim
    rs("counter")=counter
    rs("istop")=istop
    rs("hidden")=true_hidden
    rs("keyes")=keyes
    rs("word")=word
    rs("tcolor")=tcolor
	rs("PaginationType")=PaginationType
	rs("MaxCharPerPage")=MaxCharPerPage
    rs.update
    rs.close
    call upload_note(index_url,first_id(data_name,"id"))
    call admin_msg("发表")
    exit sub
  end if
  call form_first()
%>
<tr class=bg_td>
<td width='18%'><%response.write tit_fir%>标题:</td>
<td width='82%'><input type=text name=topic size=60 maxlength=50><%response.write redx%></td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>标题颜色:</td>
<td>#&nbsp;<input type=text name=tcolor value='' size=10 maxlength=7>&nbsp;&nbsp;<a href='javascript:;' onClick="javascript:slect_color('tcolor');"><img border=0 src="html_edit/images/btn_fgcolor.gif" width=23 height=22 align=absmiddle alt='点击选取主题字体颜色'></a>&nbsp;&nbsp;请正确填写<font class=red_3>6</font>位颜色代码。</td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>分类:</td>
<td><%call chk_csid(nsort,cid,sid)%></td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>关键字:</td>
<td><%call frm_keyes("")%></td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>出处:</td>
<td><input type=text name=comto size=20 maxlength=20>&nbsp;&nbsp;<%response.write tit_fir%>作者:<input type=text name=author value='' size=20 maxlength=20></td>
</tr>
<tr class=bg_td>
<td><%response.write tit_fir%>发布人:</td>
<td><input type=text name=username value='<%response.write login_username%>' size=20 maxlength=20 readonly>&nbsp;&nbsp;<%call chk_emoney(0)%></td>
</tr>
<%
call chk_power("浏览","",1)
call html_edit(1,"add_frm","word"," class=bg_td")
%>
<tr class=bg_td>
<td valign=top><%response.write tit_fir%>内容:</td>
<td>
<table border=0><tr>
<td><textarea name=word rows=8 cols=65></textarea></td>
<td width=5></td>
<td valign=bottom><%call textarea_resize("word")%></td>
</tr></table>
</td>
</tr>
<tr class=bg_td>
<td valign=top>内容分页方式:</td>
<td><select name="PaginationType" >
<option value="0" selected class=gray>不分页</option>
<option value="1">自动分页</option>
<option value="2">手动分页</option>
</select>&nbsp;&nbsp;<strong>注:</strong>手动分页符标记为 <font color="#FF0000">[pagecute]</font> ,注意大小写</td>
</tr>
<tr class=bg_td>
<td valign=top>自动分页字符数:</td>
<td> <input name="MaxCharPerPage" type="text" value='5000' size="8" maxlength="8">  自动分页时的每页大约字符数(包含HTML标记)</td>
</tr>
<tr class=bg_td>
<td>上传图片:</td>
<td><iframe frameborder=0 name=upload_frame width='100%' height=30 scrolling=no src='upload.asp?uppath=<%response.write index_url%>&upname=<%response.write left(index_url,1)%>&uptext=word'></iframe></td>
</tr>
<%
  call submit_add()
end sub

sub put_flea()
  dim name,isgood,remark,nname,email,price,url,phone,types,pic,ispic,username,tim,address,otim
  if chk() then
    name=code_admin("name",1,50)
    csid=trim(request.form("c_id"))
    nname=code_admin("nname",1,100)
    email=code_admin("email",1,100)
    remark=code_admin("remark",1,250)
	address=code_admin("address",1,100)
	tim=code_admin("tim",1,20)
    tim=joekoe_cms.time_type(tim,1)
    if tim="" then tim=joekoe_cms.now_time
	otim=code_admin("otim",1,20)
    if cs_nd(csid)=false then

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -