<%@LANGUAGE="VBSCRIPT"%> <% ' FileName="Connection_ado_conn_string.htm" ' Type="ADO" ' DesigntimeType="ADO" ' HTTP="false" ' Catalog="" ' Schema="" Dim MM_Conn_STRING 'MM_Conn_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\李超\中国艺术网\exec\database\yishu.asp" MM_Conn_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&Server.MapPath("/exec/database/yishu.asp") 'MM_Conn_STRING = "Driver={Microsoft Access Driver (*.mdb)};dbq="&Server.MapPath("..\database\yishu.asp") %> <% set more = Server.CreateObject("ADODB.Recordset") more.ActiveConnection = MM_conn_STRING more.Source = "SELECT date, img, link, te, title, type FROM news WHERE type='News38' ORDER BY date desc,id desc" more.CursorType = 1 more.CursorLocation = 2 more.LockType = 3 more.Open() more_numRows = 0 %> <% Dim Repeat1__numRows Repeat1__numRows = 30 Dim Repeat1__index Repeat1__index = 0 more_numRows = more_numRows + Repeat1__numRows %> <% page=Repeat1__numRows %> <% ' *** Recordset Stats, Move To Record, and Go To Record: declare stats variables ' set the record count more_total = more.RecordCount ' set the number of rows displayed on this page If (more_numRows < 0) Then more_numRows = more_total Elseif (more_numRows = 0) Then more_numRows = 1 End If ' set the first and last displayed record more_first = 1 more_last = more_first + more_numRows - 1 ' if we have the correct record count, check the other stats If (more_total <> -1) Then If (more_first > more_total) Then more_first = more_total If (more_last > more_total) Then more_last = more_total If (more_numRows > more_total) Then more_numRows = more_total End If %> <% ' *** Move To Record and Go To Record: declare variables Set MM_rs = more MM_rsCount = more_total MM_size = more_numRows MM_uniqueCol = "" MM_paramName = "" MM_offset = 0 MM_atTotal = false MM_paramIsDefined = false If (MM_paramName <> "") Then MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "") End If %> <% ' *** Move To Record: handle 'index' or 'offset' parameter if (Not MM_paramIsDefined And MM_rsCount <> 0) then ' use index parameter if defined, otherwise use offset parameter r = Request.QueryString("index") If r = "" Then r = Request.QueryString("offset") If r <> "" Then MM_offset = Int(r) ' if we have a record count, check if we are past the end of the recordset If (MM_rsCount <> -1) Then If (MM_offset >= MM_rsCount Or MM_offset = -1) Then ' past end or move last If ((MM_rsCount Mod MM_size) > 0) Then ' last page not a full repeat region MM_offset = MM_rsCount - (MM_rsCount Mod MM_size) Else MM_offset = MM_rsCount - MM_size End If End If End If ' move the cursor to the selected record i = 0 While ((Not MM_rs.EOF) And (i < MM_offset Or MM_offset = -1)) MM_rs.MoveNext i = i + 1 Wend If (MM_rs.EOF) Then MM_offset = i ' set MM_offset to the last possible record End If %> <% ' *** Move To Record: if we dont know the record count, check the display range If (MM_rsCount = -1) Then ' walk to the end of the display range for this page i = MM_offset While (Not MM_rs.EOF And (MM_size < 0 Or i < MM_offset + MM_size)) MM_rs.MoveNext i = i + 1 Wend ' if we walked off the end of the recordset, set MM_rsCount and MM_size If (MM_rs.EOF) Then MM_rsCount = i If (MM_size < 0 Or MM_size > MM_rsCount) Then MM_size = MM_rsCount End If ' if we walked off the end, set the offset based on page size If (MM_rs.EOF And Not MM_paramIsDefined) Then If (MM_offset > MM_rsCount - MM_size Or MM_offset = -1) Then If ((MM_rsCount Mod MM_size) > 0) Then MM_offset = MM_rsCount - (MM_rsCount Mod MM_size) Else MM_offset = MM_rsCount - MM_size End If End If End If ' reset the cursor to the beginning If (MM_rs.CursorType > 0) Then MM_rs.MoveFirst Else MM_rs.Requery End If ' move the cursor to the selected record i = 0 While (Not MM_rs.EOF And i < MM_offset) MM_rs.MoveNext i = i + 1 Wend End If %> <% ' *** Move To Record: update recordset stats ' set the first and last displayed record more_first = MM_offset + 1 more_last = MM_offset + MM_size If (MM_rsCount <> -1) Then If (more_first > MM_rsCount) Then more_first = MM_rsCount If (more_last > MM_rsCount) Then more_last = MM_rsCount End If ' set the boolean used by hide region to check if we are on the last record MM_atTotal = (MM_rsCount <> -1 And MM_offset + MM_size >= MM_rsCount) %> <% ' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters ' create the list of parameters which should not be maintained MM_removeList = "&index=" If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "=" MM_keepURL="":MM_keepForm="":MM_keepBoth="":MM_keepNone="" ' add the URL parameters to the MM_keepURL string For Each Item In Request.QueryString NextItem = "&" & Item & "=" If (InStr(1,MM_removeList,NextItem,1) = 0) Then MM_keepURL = MM_keepURL & NextItem & Server.URLencode(Request.QueryString(Item)) End If Next ' add the Form variables to the MM_keepForm string For Each Item In Request.Form NextItem = "&" & Item & "=" If (InStr(1,MM_removeList,NextItem,1) = 0) Then MM_keepForm = MM_keepForm & NextItem & Server.URLencode(Request.Form(Item)) End If Next ' create the Form + URL string and remove the intial '&' from each of the strings MM_keepBoth = MM_keepURL & MM_keepForm if (MM_keepBoth <> "") Then MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1) if (MM_keepURL <> "") Then MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1) if (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1) ' a utility function used for adding additional parameters to these strings Function MM_joinChar(firstItem) If (firstItem <> "") Then MM_joinChar = "&" Else MM_joinChar = "" End If End Function %> <% ' *** Move To Record: set the strings for the first, last, next, and previous links MM_keepMove = MM_keepBoth MM_moveParam = "index" ' if the page has a repeated region, remove 'offset' from the maintained parameters If (MM_size > 0) Then MM_moveParam = "offset" If (MM_keepMove <> "") Then params = Split(MM_keepMove, "&") MM_keepMove = "" For i = 0 To UBound(params) nextItem = Left(params(i), InStr(params(i),"=") - 1) If (StrComp(nextItem,MM_moveParam,1) <> 0) Then MM_keepMove = MM_keepMove & "&" & params(i) End If Next If (MM_keepMove <> "") Then MM_keepMove = Right(MM_keepMove, Len(MM_keepMove) - 1) End If End If End If ' set the strings for the move to links If (MM_keepMove <> "") Then MM_keepMove = MM_keepMove & "&" urlStr = Request.ServerVariables("URL") & "?" & MM_keepMove & MM_moveParam & "=" MM_moveFirst = urlStr & "0" MM_moveLast = urlStr & "-1" MM_moveNext = urlStr & Cstr(MM_offset + MM_size) prev = MM_offset - MM_size If (prev < 0) Then prev = 0 MM_movePrev = urlStr & Cstr(prev) %> 欢迎光临中国艺术网
中国艺术网热忱欢迎您发布信息、刊登广告!!! 世华网 中国第一网集团。中国最大的网站集群。全国首批批准的正规网站(京 ICP 证 000045 号....) 请参见我们300余家网站。
首页 新闻 娱乐 演艺 影视 歌手 模特 音乐 论坛 人体艺术 现代艺术 相声小品
美术 书画 摄影 戏曲 舞蹈 工艺 设计 民间 拍卖 文革艺术 民族艺术 表扬/批评
  首页 娱闻速递 无限情缘 幽默短信 情趣笑话 港台男歌手 港台女歌手 大陆男歌手 大陆女歌手 乐队&组合 精品FLASH推荐
我们的服务
艺术动态
严冬更火爆,京城商业地产突现
文艺界的里程碑
“发现中国”文物讲座在马受欢
李可染作品将上纪特邮票
画布之外的风景——“纸
广州艺博会全球艺术家参展
避暑山庄美景入标中
内地艺术品拍卖市场呼唤诚信
古代幽默滑稽文物图片展明日开
艺术教育
从小事看俄罗斯家庭的艺术教育
选秀评委骂“艺术教育”被开除
綦江农村课外艺术教育实验获全
孩子接受艺术教育,只为考级吗
贝克汉姆人气跌钱包胀 次子病
张仃作品展暨艺术教育研讨会举
姜丹建议改革普通高校的音乐艺
“国际艺术教育论坛”在清华召
京剧团进学校 探索艺术教育多
各地演出信息
话剧《我这一辈子》连排 导
芭蕾诠释云南民族风情 《小
超女内地巡演遇冷 香港开唱
《满城全是金字塔》开演 恶
为纪念袁世海诞辰90周年
低票价等于扰乱市场?麻花4
舞剧《红楼梦》展现夸张美
《麻花》开涮《夜宴》 顾阳
当前位置:中国艺术网>>娱乐>>情趣笑话
淑女就是淑女
眼没瞎
最新爆笑口误
难忘的经历
夫妻智斗
本科老鼠
黑道大哥最想砍的十种人
老婆的高招
东方不败何以自宫
斑竹不会删的名字~~~
等咱有了钱之女生版(爆搞笑)
谁再骂日本人是猪~我就灭了他!
一位MM在应聘中的爆强回答!!!
"人 证 "---- 爆 笑 后 流 泪
鱼对水说完全版
恐怖分子在广州的不幸遭遇
老板与员工经典对白--请假
有种你丫再说爱我.
【转贴】经典语句
【搞笑】小姐的几个笑话!最后一个最恶毒!
【搞笑】别笑!!!
【笑话】【转贴】最牛X的情侣吵架
【笑话】不笑我死给你看
猪从圈里跑出猜明星
短信也吓人
恐龙MM自白
国宝诞生记
假如我有魔鬼身材
结婚和吃饭的关系
说自己有钱的十种方法
看完《大长今》的n种后遗症
大学军训
幸运
上个星期的猪排
让梨的动机
名字不能太当真
对冰雹的态度
邮件的保密性
开了好久的刀
狗的暗示
兄弟般的情爱
没人的时候“吻”我
都想当乞丐
到底谁聋
大学军训
网络魔鬼辞典
某君 的考研故事
史上最强最搞笑的24条cs笑话
说不完的好贴
网络痴呆症的前兆
BBS爆笑签名档
聊天网吐血记
WINDOWS有个低级错误!
谨防上当
考驾驶证
遭遇关怀
不可能不看的笑话
星际争霸笑话集
如何用一块钱赚到10亿
谁领导廿世纪的前半世纪
泥水匠和部长
健康委员会的公告
一半终身监禁
进午餐
民主党和共和党
吞钱求医
我也爱你
汽车查票员
健忘
和军医打赌
谁写的?
你没有收到信
体验剧本
折中的办法
非常需要
少妇劝小儿
谜 信
可爱女教师的思路
县令断案
出生
趁机乱来
为了绝世美人
终于肯上床了
有客到
假装是夫妻
攻心之术
妻子的威力
裤子打不开
猪的故事
我正在数呢
乱棍追打
日行一善
幸运与不幸运
卧室里的石膏像
一条新裤
不知道
助听器
丈夫的遗言
负担过重
替罪羊
 
热点话题
- 锋菲恋:这次你牵我的手
- 一肩担尽天下风情
- 2003年度香港小姐竞选
- 解读我们眼中的明星
- 女星与富商的情场纠葛
- 汤加丽人体艺术写真
- 2003环球小姐大赛
- 明星演唱会意外频生
- "非典"在家娱乐指南
- 当明星遇到广告
本周明星榜
本周明星榜