账号通
    

账号  

密码  

320802

查看

745

回复
主题:{$AutoID}第一贴:利用{$AutoID}做的sql标签 [收藏主题] 转到:  
bluntf0109 当前离线

47

主题

0

广播

0

粉丝
添加关注
级别:学前班

用户积分:543 分
登录次数:20 次
注册时间:2008/1/1
最后登录:2010/7/28
bluntf0109 发表于:2008/6/26 18:18:00   | 只看该作者 查看该作者主题 521楼 
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
jnxfylzx 当前离线

569

主题

6

广播

4

粉丝
添加关注
级别:五年级

用户积分:4558 分
登录次数:550 次
注册时间:2007/6/21
最后登录:2018/5/17
jnxfylzx 发表于:2008/1/27 19:55:00   | 只看该作者 查看该作者主题 522楼 
科汛在线网校系统
以下内容只有回复后才可以浏览
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
wubi 当前离线

611

主题

0

广播

0

粉丝
添加关注
级别:六年级

用户积分:2901 分
登录次数:89 次
注册时间:2007/12/1
最后登录:2008/1/25
wubi 发表于:2008/1/4 15:37:00   | 只看该作者 查看该作者主题 523楼 
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
天下无语 当前离线

1259

主题

11

广播

1

粉丝
添加关注
级别:九年级

用户积分:9743 分
登录次数:1540 次
注册时间:2007/4/1
最后登录:2024/1/8
天下无语 发表于:2008/1/4 15:13:00   | 只看该作者 查看该作者主题 524楼 
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
gxda112 当前离线

194

主题

1

广播

2

粉丝
添加关注
级别:一年级

用户积分:4384 分
登录次数:295 次
注册时间:2007/7/30
最后登录:2016/12/15
gxda112 发表于:2008/1/4 15:10:00   | 只看该作者 查看该作者主题 525楼 
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
ghostg 当前离线

168

主题

0

广播

0

粉丝
添加关注
级别:一年级

用户积分:1555 分
登录次数:244 次
注册时间:2006/9/6
最后登录:2023/10/29
ghostg 发表于:2008/1/4 15:07:00   | 只看该作者 查看该作者主题 526楼 
科汛在线商城系统(NET)

以下内容只有回复后才可以浏览
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
海博 当前离线

223

主题

0

广播

0

粉丝
添加关注
级别:二年级

用户积分:939 分
登录次数:87 次
注册时间:2009/11/10
最后登录:2012/3/6
海博 发表于:2009/12/3 10:06:00   | 只看该作者 查看该作者主题 527楼 
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
gangangd 当前离线

3

主题

0

广播

0

粉丝
添加关注
级别:学前班

用户积分:65 分
登录次数:5 次
注册时间:2009/8/11
最后登录:2009/9/2
gangangd 发表于:2009/8/13 17:02:00   | 只看该作者 查看该作者主题 528楼 
科汛智能建站系统

{SQL_最新英语公告(10,20081132591791,ID)}


查询语句:


select top {$Param(0)} ID,Tid,Title,Author,Adddate from KS_U_news where Tid in(select ID from KS_Class where TS like '%{$Param(1)}%') and Verific=1 order by {$Param(2)} desc

循环语句:



<script type="text/javascript">
var messages=new Array()
[loop={$Param(0)}]messages[{$AutoID}-1]="<a class='move' href='{$Field(ID,GetInfoUrl,110,1)}' title='{$Field(Title,Text,0,...,0,)}' target='_blank'> .{$Field(Title,Text,24,...,0,)} [{$Field(Adddate,Text,0,...,0,)}]</a>"
[/loop]

//configure the below five variables to change the style of the scroller
var scrollerdelay='3000' //delay between msg scrolls. 3000=3 seconds.
var scrollerwidth='290px'
var scrollerheight='25px'
var scrollerbgcolor=''
//set below to '' if you don't wish to use a background image
var scrollerbackground=''


///////Do not edit pass this line///////////////////////


var ie=document.all
var dom=document.getElementById


if (messages.length>2)
i=2
else
i=0


function move(whichdiv){
tdiv=eval(whichdiv)
if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5){
tdiv.style.top=0+"px"
setTimeout("move(tdiv)",scrollerdelay)
setTimeout("move2(second2_obj)",scrollerdelay)
return
}
if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){
tdiv.style.top=parseInt(tdiv.style.top)-5+"px"
setTimeout("move(tdiv)",50)
}
else{
tdiv.style.top=parseInt(scrollerheight)+"px"
tdiv.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}


function move2(whichdiv){
tdiv2=eval(whichdiv)
if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5){
tdiv2.style.top=0+"px"
setTimeout("move2(tdiv2)",scrollerdelay)
setTimeout("move(first2_obj)",scrollerdelay)
return
}
if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){
tdiv2.style.top=parseInt(tdiv2.style.top)-5+"px"
setTimeout("move2(second2_obj)",50)
}
else{
tdiv2.style.top=parseInt(scrollerheight)+"px"
tdiv2.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}


function startscroll(){
first2_obj=ie? first2 : document.getElementById("first2")
second2_obj=ie? second2 : document.getElementById("second2")
move(first2_obj)
second2_obj.style.top=scrollerheight
second2_obj.style.visibility='visible'
}


if (ie||dom){
document.writeln('<div id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden;background-color:'+scrollerbgcolor+' ;background-image:url('+scrollerbackground+');float:left;">')
document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0px;top:0px;text-align:left;">')
document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:0px;top:1px;float:left;">')
document.write(messages[0])
document.writeln('</div>')
document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0px;top:0px;float:left;visibility:hidden">')
document.write(messages[dyndetermine=(messages.length==1)? 0 : 1])
document.writeln('</div>')
document.writeln('</div>')
document.writeln('</div>')
}


if (window.addEventListener)
window.addEventListener("load", startscroll, false)
else if (window.attachEvent)
window.attachEvent("onload", startscroll)
else if (ie||dom)
window.onload=startscroll
</script>

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
chinaali 当前离线

81

主题

0

广播

0

粉丝
添加关注
级别:学前班

用户积分:795 分
登录次数:46 次
注册时间:2008/11/23
最后登录:2014/4/17
chinaali 发表于:2008/11/27 18:10:00   | 只看该作者 查看该作者主题 529楼 
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
fengdd 当前离线

61

主题

0

广播

0

粉丝
添加关注
级别:学前班

用户积分:507 分
登录次数:9 次
注册时间:2008/6/18
最后登录:2009/12/17
fengdd 发表于:2008/6/25 22:46:00   | 只看该作者 查看该作者主题 530楼 
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.21875秒 powered by KesionCMS 9.0