% filename = "readmenow.txt" FilePath = server.mappath(filename) ''response.write filepath Dim fso, MyFile Set fso = CreateObject("Scripting.FileSystemObject") Set MyFile = fso.OpenTextFile(FilePath,1,TristateUseDefault) aa = MyFile.Readline MyFile.Close ''response.write aa aa = "" & Int(aa) + 1 & "" 'Set MyFile = fso.OpenTextFile(FilePath,2,TristateUseDefault) 'MyFile.write(aa) 'MyFile.Close %> <% fang = request("fang") ye = request("ye") if ye = "" then ye = 1 ye = ye * 1 down = ye + 1 up = ye - 1 sql = "select * from caishui order by id desc" Set Conn=Server.CreateObject("ADODB.Connection") Set rs = Server.CreateObject("ADODB.Recordset") conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & server.mappath("../system/database/new.mdb") rs.Open sql, conn, adOpenStatic rs.pagesize = 15 rs.AbsolutePage = ye pp = rs.pagecount %>
|
|
ÍÅÎñ֪ʶ| ÍÅί·¢ÎÄ| ×éÖ¯½éÉÜ| ÍÅÇද̬| Êé¼ÇÐÅÏä| лá²ÄÁÏ| º£¸ÛÂÛ̳ |
»áÒé֪ͨ
|
¼¯ÍÅÐÂÎÅ | µ÷²éÎʾí | |||
|
<% if not rs.eof then for iPage = 1 To 6 a = rs.fields("biaoti") response.write a a = left(a,35) a = a dd = rs.fields("timer") %> <% rs.movenext if rs.eof then exit for next end if %> |
¡¡¡¡ÎªÁË׼ȷÕÆÎÕÁ˽âÉϺ£¸ÛÍÅÔ±ÇàÄêÔÚ˼Ïë¡¢¹¤×÷¡¢Éú»îµÈ·½ÃæµÄÕæʵÇé¿ö£¬ÒÔ±ã¸üºÃµØ¿ªÕ¹¹¤×÷£¬ÉϺ£¹ú¼Ê¸ÛÎñ¼¯ÍÅÍÅί×éÖ¯¿ªÕ¹Ò»´Îº£¸ÛÇàÄêÉú»îÏÖ×´µ÷²é¡£µ÷²é²»¼ÇÐÕÃû£¬Ö»ÓÃÓÚÑо¿£¬ÇëÄú¸ù¾Ýʵ¼ÊÇé¿öÈçʵÌîд¡£
¡¡¡¡¡¡¡¡¡¡¡¡ ÏêϸÄÚÈÝ |
|||
ÈȵãרÌâ | ÍÅίÐÂÎÅ | ¹ÜÀíÔ±Èë¿Ú | |||
Copyright 2002 portshanghai. All rights reserved. |