<% 'topic = Request.QueryString("topic") topic = "ISLAM/Ibadaat" fr = "French" en = "English" dim conn Set conn = Server.CreateObject("ADODB.Connection") connstring = "DRIVER={MySQL};HOST=eaglemaster.cqhost.net;UID=naq1_naqsql;PWD=ba92vt;DATABASE=naq1_naq" conn.Open connstring dim start, last, n, howmanyrecords, howmanyrecords2, page, offset, lastpage, prevpage, nextpage, firstpage, c Offset = 20 start = 0 dim rsql dim Baseset dim rsql2 dim Baseset2 rsql = "SELECT * FROM topics, topobj, object WHERE object.id_obj = topobj.id_obj AND topobj.id_t = topics.id_t AND name_t LIKE '"&topic&"' AND language LIKE '"&fr&"' ORDER BY datge DESC " set Baseset=Server.CreateObject("adodb.recordset") rsql2 = "SELECT * FROM topics, topobj, object WHERE object.id_obj = topobj.id_obj AND topobj.id_t = topics.id_t AND name_t LIKE '"&topic&"' AND language LIKE '"&en&"' ORDER BY datge DESC " set Baseset2=Server.CreateObject("adodb.recordset") Baseset.open rsql, conn, 1, 1, 1 Baseset2.open rsql2, conn, 1, 1, 1 howmanyrecords = Baseset.recordcount howmanyrecords2 = Baseset2.recordcount %> :: Questions Reponses<%response.write ""&Nom_article&""%> :: Naqshbandi.ca <%if strcomp(language,"English",1)=0 then%>
  In the Name of God, the Most Merciful, the Most Compassionate, with Praise and Peace on our Beloved Prophet, His Family and Companions
Home

<%response.write ""&Nom_article&""%> Print this page
<%=OurArticle%>
<%else%>
Accueil |  Islam |  Soufisme |  A propos |  CONTACT

<%response.write ""&Nom_article&""%>
ISLAM
  Coran :: Convenances, exégèse
  Hadith :: Narrations et paroles Prophétiques
  Fiqh :: Jurisprudence
  Ibadaat :: Adoration
  Croyance
  Ouléma :: Les savants
  Questions & Réponses
  Aqida :: Doctrine
  Pratiques

 » Dernières mise à jour  
<%rsql="SELECT * FROM object order by datge desc LIMIT 3" set Baseset=Server.CreateObject("adodb.recordset") Baseset.open rsql, conn, 1, 1, 1 howmanyrecords = Baseset.recordcount c=start i=0 if howmanyrecords <> 0 then Baseset.move start end if t=1 do while not baseset.eof if i=0 then response.write "" end if %> <%if t=1 then%> <%else%> <%red=baseset("id_obj")%> <%t=1 end if i=i+1 c=c+1 if c=last then baseset.movelast end if if i=4 then i=0 response.write "" end if baseset.movenext loop%>
<%red=baseset("id_obj")%> ?id_article=<%=red%>&language=<%=baseset("language")%>" class="lien"> <%response.write baseset("title") t=0%> <%response.write baseset("author") %>
?id_article=<%=red%>&language=<%=baseset("language")%>" class="lien"> <% response.write baseset("title") %> <%response.write baseset("author") %>
Toutes les nouveautés...
<%end if%>