SELECT * FROM Nouveautes WHERE #manchetteQuery#Repertoire_No=#attributes.Repertoire_No# AND (Actif='1' or Actif='3') and niveau5 = '1' ORDER BY #manchetteTri# SELECT * FROM Nouveautes WHERE Repertoire_No=#attributes.Repertoire_No# AND (Actif='1' or Actif='3') and not niveau5 = '1' ORDER BY #ArticleTri# TempList="#ValueList(Article.Classement," ,")# "; //attributes.UnortedList = ValueList(Article.Classement); ClassList="#ListChangeDelims(GetBaseInfo.Classement," #chr(13)##chr(10)#","#chr(13)##chr(10)#")# #chr(13)##chr(10)# "; attributes.LaUne = 0; attributes.SortedList = ""; attributes.ClassChange = ""; for (h=1; h lte listlen(ClassList,"#chr(13)##chr(10)#"); h=h+1) { ClassItem = ListGetAt(ClassList,h,"#chr(13)##chr(10)#"); FoundPos = ListFind(TempList,ClassItem); if (FoundPos AND Article.Niveau[FoundPos] is 2) { if (Len(Article.Description[FoundPos])) { attributes.LaUne = FoundPos; TempList = ListSetAt(TempList,FoundPos,"~kvfk~"); FoundPos = ListFind(TempList,ClassItem); } else { TempList = ListSetAt(TempList,FoundPos,"~kvfk~"); FoundPos = ListFind(TempList,ClassItem); }; }; if (FoundPos) {attributes.ClassChange = ListAppend(attributes.ClassChange,FoundPos);}; while (FoundPos) { if (FoundPos AND Article.Niveau[FoundPos] is 2 AND Len(Article.Description[FoundPos])) { attributes.LaUne = FoundPos; TempList = ListSetAt(TempList,FoundPos,"~kvfk~"); FoundPos = ListFind(TempList,ClassItem); } else { attributes.SortedList = ListAppend(attributes.SortedList,FoundPos); TempList = ListSetAt(TempList,FoundPos,"~kvfk~"); FoundPos = ListFind(TempList,ClassItem); }; }; }; if (ListLen(attributes.SortedList) MOD 2 IS 1){ attributes.Row1Length = Ceiling(ListLen(attributes.SortedList)/2); attributes.Row2Length = Int(ListLen(attributes.SortedList)/2) * 1 + 1; }else{ attributes.Row1Length = Ceiling(ListLen(attributes.SortedList)/2); attributes.Row2Length = Ceiling(ListLen(attributes.SortedList)/2) * 2; } << Retour | Archives | La une | #manchette.Classement#
#entree#

#sujet#


#sujet#

#sujet#

#Auteur#

#replace("#REReplace("#REReplace("#REReplace("#REReplace("#Message#", "([[:space:]])http://([^[:space:]]+?)(\.*[[:space:]])","\1\2\3","ALL")#", "([[:space:]])([A-Za-z0-9_\.\-]+@[A-Za-z0-9\.\-]+\.[A-Za-z]{2,})(\.*[[:space:]])","\1\2\3","all")#","\[\[([^\]\]]+?)\]\]","\1","ALL")#", "#chr(13)##chr(10)#","
#chr(13)##chr(10)#","all")#", "
","","all")#



Source : #Source##Source#

 

from="1" to="#attributes.Row1Length#
#Article.Classement[Position]#

#Article.sujet[Position]#

© Tous droits réservés <cfif Len(Article.Photo_texte[Position])>#REReplace(]*>", "", "ALL")#© Tous droits réservés" title="#REReplace("#Article.Photo_texte[Position]#", "<[^>]*>", "", "ALL")#© Tous droits réservés" BORDER="0" ALIGN="MIDDLE">
#Article.message[Position]##Left("#REReplace("#Article.Description[Position]#", "<[^>]*>", "", "ALL")#",100)#...

#Evaluate("#attributes.row1length# + 1")#" to="#article.recordcount#
#Article.Classement[Position]#

#Article.sujet[Position]#

<cfif Len(Article.Photo_texte[Position])>#REReplace(]*>", "", "ALL")#© Tous droits réservés" title="#REReplace("#Article.Photo_texte[Position]#", "<[^>]*>", "", "ALL")#© Tous droits réservés" border="0" align="MIDDLE"><cfif Len(Article.Photo_texte[Position])>#REReplace(]*>", "", "ALL")#© Tous droits réservés" title="#REReplace("#Article.Photo_texte[Position]#", "<[^>]*>", "", "ALL")#© Tous droits réservés" BORDER="0" ALIGN="MIDDLE">
#Article.message[Position]##Left("#REReplace("#Article.Description[Position]#", "<[^>]*>", "", "ALL")#",100)#...