<%Session.CodePage=65001%> <% logs = Request.QueryString("log") if logs = "logout" then Session("ten")="" Session("IDTV")="" End if %> <% sql12 = "select * from tindang where trangthai ='admin'" rs12.Open sql12 do until rs12.EOF if rs12("ngaydang")=DateAdd("d",1,date()) then Response.Write("") else if hour(time())>10 and hour(time())<24 then sql13 = "insert into tindang(Tieude,NoiDung,ID_DM,Noirao,vitri,NgayDang,NgayHetHan,Solanxemtin,ID_TV,Nguoilienhe,Images,Trangthai) values(N'"&rs12("tieude")&"',N'"&rs12("noidung")&"',N'"&rs12("ID_DM")&"',N'"&rs12("noirao")&"',N'"&rs12("vitri")&"','"&DateAdd("d",1,date())&"','"&DateAdd("d",1,rs12("ngayhethan"))&"','"&rs12("SoLanXemTin")&"','"&rs12("ID_TV")&"',N'"&rs12("nguoilienhe")&"','0','"&rs12("trangthai")&"')" rs13.Open sql13 sql14 = "delete tindang where stt='"&rs12("stt")&"'" rs14.Open sql14 else Response.Write("") End if End if rs12.MoveNext loop %> <% sql6 = "select stt,ID_DM,ID_TV,substring(Images,4,100) as img ,Images from tindang where Day(ngayHetHan)='"&Day(Now())&"' and Month(ngayHetHan) = '"&Month(Now())&"' and Year(ngayHetHan) = '"&Year(Now())&"' and Trangthai='0'" rs6.Open sql6 if rs6.EOF then Response.Write("") else do until rs6.EOF if rs6("Images")<>"0" then Dim fso, f1 Set fso = CreateObject("Scripting.FileSystemObject") Set f1 = fso.GetFile(Server.MapPath(rs6("img"))) f1.Delete sql8 = "delete danhgia where stt='"&rs6("STT")&"'" rs8.Open sql8 End if rs6.MoveNext loop sql9 = "select a.sotin,a.ID_DM from danhmuc as a join tindang as b on a.ID_DM =b.ID_DM where Day(b.ngayHetHan)='9' and Month(b.ngayHetHan) = '10' and Year(b.ngayHetHan) = '2007' and Trangthai='0'" rs9.Open sql9 do until rs9.EOF st = Cint(rs9("sotin")) - 1 sql10 = "Update Danhmuc set sotin='"&st&"' where ID_DM ='"&rs9("ID_DM")&"'" rs10.Open sql10 rs9.MoveNext loop End if sql5 ="Delete Tindang where Day(ngayHetHan)="&Day(Now())&" and Month(ngayHetHan) = '"&Month(Now())&"' and Year(ngayHetHan) = '"&Year(Now())&"' and Trangthai='0'" rs5.Open sql5 %> <% //khai bao bien Dim Currpage, pageLen, lastNumber, PageRem, PageTen Dim next10, prev10, P Dim RSPrevPage, RSNextPage, start //'Get the current page the user is on, if it's the first time they //'visit and the variable 'PageNo' is empty, then 'CurrPage' gets set to 1 //'Else the current page variable 'CurrPage' is set to the page number requested If Request.Querystring("PageNo")="" then CurrPage = 1 Else CurrPage = Cint(Request.Querystring("PageNo")) End If //'the two functions below return the next 10 and prev 10 page number Function getNext10(num) pageLen = len(num) If pageLen = 1 Then next10 = 10 Else If pageLen>1 Then pageRem = 10 pageTen = right(num, 1) next10 = num + pageRem - pageTen End If End If getNext10 = next10 End Function Function getPrev10(num) pageLen = len(num) If pageLen = 1 then prev10 = 1 Else If pageLen>1 then lastNumber = right(num, 1) prev10 = num - lastNumber - 10 End If End If If prev10 = 0 then prev10 = 1 End If getPrev10 = prev10 End Function sql4 ="select STT, TieuDe , SubString(TieuDe,0,40) as TieuDe1,NoiRao,SoLanXemTin,Day(Ngaydang)as ngay,Month(Ngaydang)as thang from TinDang where TrangThai<>'vip' order by STT desc" rs4.CursorLocation=3 rs4.Open sql4 rs4.PageSize=50 //'get the next 10 and prev 10 page number next10 = getNext10(CurrPage) prev10 = getPrev10(CurrPage) %> THE GIOI MIEN PHI – RAO VAT – GIAI TRI – KET BAN – NGHE NHAC – XEM PHI – XEM PHONG THUY – HOC NGOAI NGU – NAU AN – GI CUNG CO

Trang chủ Xem ảnh Tin mới nhất Xem nhiều nhất Tin ưa thích Tìm kiếm
Giải trí miễn phí Bạn cần biết Hướng dẫn
 
<% sql1 ="select Hinhtam.hinh,Hinhtam.stt from Hinhtam join Tindang on Hinhtam.stt=Tindang.stt where Tindang.trangthai='HinhAd' order by Tindang.stt" rs1.Open sql1 %>
Thế giới miễn phí, mien phi, miễn phí, the gioi mien phi, học tiếng anh miễn phí, mienphi, nghe nhạc miễn phí, xem phim mien phi, giải trí miễn phí, học nấu ăn miễn phí, choi game mien phi, doc bao mien phi, miễn phí download phim, mien phi, miễn phí, free, fee, free entertainment, free music, free video, free Internet, free download, free audio, free fone call, free load film, free download game, free study Enlish, free design website, free hosting, free domain, free, free, free karaoke, dạy học anh văn miễn phí, dạy học nấu ăn miễn phí, rao vặt miễn phí, đăng tin miễn phí, quảng cáo miễn phí, kết bạn, tìm việc, hướng dẫn du học miễn phí, www.thegioimienphi.com
<% sql = " select * from DanhMuc order by TenDM " rs.Open sql %> <% do until rs.EOF %> <% rs.MoveNext loop %>
<% sql3 ="select * from HinhQuangCao where vitri ='trai'" rs3.Open sql3 %> <%do until rs3.EOF%> <%rs3.MoveNext loop%>
Liên kết website

 Thông báo

THƯ - NGỎ

www.thegioimienphi.com là trang web chứa đựng những thông tin giúp bạn có thể tiếp cận, sử dụng và thưởng thức những chủ đề đã được sưu tầm khắp nơi trên Thế Giới được cung cấp miễn phí hay hầu như miễn phí.

Đến với trang web thegioimienphi.com bạn có thể: rao vặt,, tìm kiếm việc làm, mua bán nhà đất, laptop, điện thoại di động , nghe nhạc, xem phim, xem truyền hình online, đọc báo , đọc truyện, chơi game, hát karaoke online, kết bạn bốn phương, chat online, học ngoại ngữ, học nấu ăn, xem tử vi - tướng số - phong thuỷ và nhiều nữa … được thế giới cung cấp hoàn toàn miễn phí.

Ngoài ra bạn còn có thể download hình ảnh , video , font chữ , phầm mềm các loại miễn phí,.. và những địa chỉ cần thiết để phục vụ cho việc học tập và làm việc.

Chúng tôi rất mong đón nhận sự góp ý của các bạn để trang web ngày càng hoàn thiện hơn, nhằm mục đích phục vụ các bạn một cách tốt nhất !

Chúc sức khoẻ và thành công

Ban quản trị thegioimienphi.com.


  Giải trí miễn phí
 
  Đọc Báo     
  Xem Phim 
  Nghe Nhạc
  Xem Truyền Hình 
  Đọc Truyện 
  Game     
  Karaoke 
  Bạn cần biết
 
    Học Ngoại Ngữ   
    Nấu Ăn
   Tử Vi - Tướng Số
   Chat Online   
   Kết Bạn Bốn Phương 
   Download   

TIN RAO VẶT

<% //'If there are no records If rs4.EOF Then Response.write "Khong co tin" Else //'this moves the record pointer to the first record of the current page rs4.AbsolutePage = CurrPage //the below loop will loop until all the records of the current page have been //displayed or it has reached the end of the recordset Do Until rs4.AbsolutePage <> CurrPage OR rs4.Eof %> <%rs4.MoveNext%> <%loop end if%>

Tiêu Đề

Ngày

Nơi Rao

" title="<%=rs4("TieuDe")%>"><%=rs4("TieuDe1")%> ...(<%=rs4("SoLanXemTin")%>)
<%=rs4("ngay")%>.<%=rs4("thang")%>
<%=rs4("Noirao")%>
<% //the next 2 lines setup the page number for the "previous" and "next" links RSPrevPage = CurrPage -1 RSNextPage = CurrPage + 1 //find out the number of pages returned in the recordset //if the Next10 page number is greater than the recordset page count //then set Next10 to the recordset pagecount If Next10 > rs4.PageCount Then Next10 = rs4.PageCount End If //the variable start determines where to start the page number navigation // i.e. 1, 10, 20, 30 and so on. If prev10 = 1 AND next10 - 1 < 10 Then start = 1 Else start = Next10 - 10 If right(start, 1) > 0 Then start = replace(start, right(start, 1), "0") start = start + 10 End If End If //This checks to make sure that there is more than one page of results If rs4.PageCount > 1 Then //Work out whether to show the Previous 10 '<<' If currpage > 1 Then response.write("<< ") End If //Work out whether to show the Previous link '<' If NOT RSPrevPage = 0 then response.write("< ") End If //Loop through the page number navigation using P as our loopcounter variable For P = start to Next10 If NOT P = CurrPage then response.write("" & P & " ") Else //Don't hyperlink the current page number response.write(" " & P & " ") End If Next //this does the same as the "previous" link, but for the "next" link If NOT RSNextPage > rs4.PageCount Then response.write("> ") End If //Work out whether to show the Next 10 ">>" If NOT Next10 = rs4.PageCount Then response.write(" >>") End If End If %>
<% sql2 = "select * from HinhQuangCao where vitri ='phai'" rs2.Open sql2 %> <%do until rs2.EOF%> <%rs2.MoveNext loop%>
Quảng cáo
 
Tìm kiếm
<%//

Có tổng cộng //sql10 = "select count(ID_TV) as TV from ThanhVien" //rs10.Open sql10 //Response.Write rs10("TV") %> <%//người đăng tin và //sql11 = "select count(STT) as stt,sum(SoLanXemTin) as lanxem from TinDang" //rs11.Open sql11 //Response.Write rs11("stt") //tin rao // . Đã có %> <%//=rs11("lanxem")lần xem%>

Hiện đang có <%=Application("So_Nguoi_Online")%> người online và đã có <%=Application("So_Luot_Truy_Cap")%> khách truy cập


Copyright © 2007 by
The Gioi Mien Phi. Design by AMERICAN WEB DESIGN.