arkadaşlar max web portalla yapılmış bi sitem var ve elimde son eklenen 5 makaleyi gösteren bi modülüm var ama benim istediğim şey yine son eklenen 5 makaleyi göstersin ama makale sisteminde bulunan kategorilere göre örneğin göndereceğim kod tüm makalelerde eklenen son 5 i gösteriyor benim istediğim a kategorisindeki son 5 i göstermesi çok uğraştım ama bir türlü beceremedim yardımcı olabilecek arkadaşlara koduda gönderiyorum

dostum dediğin gibi değilde verdiğin ip ucuyla yaptım çok teşekkür ederim + rep

yokmu arkadaşlar yardım edebilecek biri benim için çok önemli yaa

strSQL = &quot;SELECT TOP &quot; &amp; intPop &amp; &quot; ARTICLE_ID, TITLE, HIT, SHOW, SUMMARY, POST_DATE FROM ARTICLE WHERE CATEGORY =&quot; &amp; a_değeri &amp; &quot; AND SHOW = 1 AND ARTICLE_ID &lt;&gt;&quot; &amp; strJOTW &amp; &quot; ORDER BY POST_DATE DESC&quot;

yardımcı olabilecekler için kod &lt;% '&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt; '&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt; '&lt;&gt; Copyright 2004-2005 Tom Nance All Rights Reserved '&lt;&gt; Events Suite Copyright 2004-2005 Ken Smiley All Rights Reserved '&lt;&gt; '&lt;&gt; By using this program, you are agreeing to the terms of the '&lt;&gt; GNU General Public License. '&lt;&gt; '&lt;&gt; This program is free software; you can redistribute it and/or '&lt;&gt; modify it under the terms of the GNU General Public License '&lt;&gt; as published by the Free Software Foundation; either version 2 '&lt;&gt; of the License, or any later version. '&lt;&gt; '&lt;&gt; All copyright notices regarding MaxWebPortal must remain intact '&lt;&gt; in the scripts and in the outputted HTML. '&lt;&gt; The &quot;powered by&quot; text/logo with a link back to '&lt;&gt; http://www.maxwebportal.info in the footer of the pages MUST '&lt;&gt; remain visible when the pages are viewed on the internet or intranet. '&lt;&gt; '&lt;&gt; Support can be obtained from support forums at: '&lt;&gt; http://www.maxwebportal.info '&lt;&gt; '&lt;&gt; Email: '&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt; '&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt; ' ' Copyright 2001 - 2004 Max Yuan All Rights Reserved ' ' By using this program, you are agreeing to the terms of the ' GNU General Public License. ' ' This program is free software; you can redistribute it and/or ' modify it under the terms of the GNU General Public License ' as published by the Free Software Foundation; either version 2 ' of the License, or any later version. ' ' All copyright notices regarding MaxWebPortal must remain intact ' in the scripts and in the outputted HTML. ' The &quot;powered by&quot; text/logo with a link back to ' http://www.maxwebportal.com in the footer of the pages MUST ' remain visible when the pages are viewed on the internet or intranet. ' ' Support can be obtained from support forums at: ' http://www.maxwebportal.com ' ' Email: ' ICQ: 148111300 ' Türkçeye çevirenler: OgReTmEnLeRiM. NeT | Bülent KARAYAZI &amp; UzmanWeb. Net | Adem TÜRK ' intPop = 5 strJOTW = cInt mwpThemeTitle= &quot;Son Eklenen &quot; &amp; intPop &amp; &quot; Makale&quot; mwpThemeBlock_open strSQL = &quot;SELECT TOP &quot; &amp; intPop &amp; &quot; ARTICLE_ID, TITLE, HIT, SHOW, SUMMARY, POST_DATE FROM ARTICLE WHERE SHOW = 1 AND ARTICLE_ID &lt;&gt;&quot; &amp; strJOTW &amp; &quot; ORDER BY POST_DATE DESC&quot; set rsSon = my_Conn. Execute if rsSon. EOF then%&gt; &lt;tr&gt;&lt;td width=&quot;100%&quot; valign=&quot;top&quot;&gt;&lt;font face=&quot;&lt;%= strDefaultFontFace %&gt;&quot; size=&quot;&lt;%= strDefaultFontSize %&gt;&quot; color=&quot;&lt;%= strDefaultFontColor %&gt;&quot;&gt;Makale Bulunamadý!&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt; &lt;%else Do While Not rsSon. EOF strArticleTitle = rsSon strSummary = rsSon if len &gt; 100 then strSummary = Left(strSummary, 100) &amp; &quot;...&quot; else strSummary = strSummary end if intArticleID = rsSon strPostDate = strtodate(rsSon dateSince = DateDiff +7 Call DisplayArticle rsSon. MoveNext Loop end if rsSon. Close Set rsSon= Nothing mwpThemeBlock_close sub displayArticle %&gt; &lt;tr&gt;&lt;td width=&quot;100%&quot; bgcolor=&quot;&lt;% =strPopUpTableColor %&gt;&quot;&gt;&lt;font face=&quot;&lt;%= strDefaultFontFace %&gt;&quot; size=&quot;&lt;%= strDefaultFontSize %&gt;&quot; color=&quot;&lt;%= strDefaultFontColor %&gt;&quot;&gt;&lt;b&gt;&lt;a href=&quot;article_read. asp?id=&lt;%=intArticleID%&gt;&quot;&gt;&lt;%=strArticleTitle%&gt;&lt;/a&gt;&lt;% if dateSince &gt;= 0 then response. write &quot;&lt;img src=Images/new. gif&gt;&quot;%&gt;&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td bgcolor=&quot;&lt;% =strForumCellColor %&gt;&quot; width=&quot;100%&quot;&gt;&lt;font face=&quot;&lt;%= strDefaultFontFace %&gt;&quot; size=&quot;&lt;%= strFooterFontSize %&gt;&quot; color=&quot;&lt;%= strDefaultFontColor %&gt;&quot;&gt;&lt;%=strSummary%&gt;&lt;br&gt;&lt;br&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt; &lt;%end sub%&gt;