|
|
|
|
±Ã±ÝÀÌ / 2001-05-09 / ¿ÀÀü 11:05:31 / 61.75.5.98
Á¶È¸¼ö : 132
|
[Áú¹®] ³Ñ¾î¿À´Â °ª...
|
> > ´ÔÀÇ ¸»¾¸µ¥·ç ÇÏ¸é ´ÙÁß °Ô½ÃÆÇÀÇ ³»¿ëº¸±â¿¡¼µÎ ¿¡·¯°¡ ¹ß»ýµË´Ï´Ù.Á¦°¡ ¸»½¿µå¸®´Â °ÍÀº ´ÙÁß°Ô½ÃÆÇ¿¡¼ »ý¼ºµÈ ÇϳªÀÇ °Ô½ÃÆÇ Áß Á¦¸ñ ºÎºÐ¸¸ À妽º ȸ鿡 Ãâ·ÂÇØÁÙ°æ¿ì ±× Á¦¸ñ¿¡ ³»¿ëº¸±â·ç ³Ñ±â´Â ¸µÅ©¸¸ ÇÏ¸é µÇ´Âµ¥,Á¦ ¼³¸íÀÌ ºÎÁ·ÇÑ°ÍÀÎÁö...
> > Á¦°¡ »ç¿ëÇÏ´Â ·ÎÁ÷Àº º°¾ÆÇØ´ÔÀÌ »ç¿ëÇϽô °Í°ú Èí»çÇÑ °ÍÀ̰ŵç¿ä.±×°ÍÀ» º¸¸é¼ ³ª¸§µ¥·ç ÇÑ°ÍÀ̶󼸮 ¸»ÀÌÁ®...
> > ¸»¾¸ÇϽŵ¥·ç Çϸé ÀÌ·± ¿¡·¯°¡ ³ª¿É´Ï´Ù.
> > ¿À·ù Çü½Ä:
> > Microsoft VBScript ·±Å¸ÀÓ ¿À·ù (0x800A000D)
> > Çü½ÄÀÌ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù: '[string: ""]'
> > /Web/board/content.asp, line 7
> >
> > Cint¸¦ int·ç ÇßÀ» °æ¿ì ¸»ÀÌÁ®...
> >
> > Âü°í·Î ¸»¾¸µå¸®ÀÚ¸é º°¾ÆÇØ´Ô »çÀÌÆ®¿¡ º¸½Ã¸é
> > http://weblove.okbari.net/default.asp
> > ÀÌ°÷¿¡ ¸Þ¸ðÀå ¾Æ·¡¿¡ ÀÖ´Â Q&Aó·³ ÇØÁÙ·Á°í Çϰŵç¿ä.±×·¡¾ß ´©°¡ ±ÛÀ» ¿Ã·È´ÂÁö ½±°Ô È®ÀÎÀÌ °¡´ÉÇÒÅ״ϱî, ¸»ÀÌÁ®.°ü¸®ÀÚ ÀÔÀå¿¡¼µÎ Á» ¼ö¿ì·¯ÇÏÁö ¾ÊÀ»±î¿ä...¹°·Ð Á¦ ¼Ò°ßÀÌÁö¸¸ ¸»ÀÌÁ®.
> >
> >
> >
> >
> -----------------------------------------------------------
>
>
> Çü½ÄÀÌ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù: '[string: ""]'
>
> Àֱ̾â´Â °ªÀÌ ³Ñ¾î ¿ÀÁö ¾Ê¾Ò´Ù´Â°Í °°Àºµ¥¿ä...
> Ȥ½Ã °ü·Ã UrlÀÌ ÀÖÀ¸¸é ºÎŹµå¸³´Ï´Ù..
>
-----------------------------------------------------------
ÀÌ·± ¹æ½ÄÀ¸·Î ¸µÅ©(Url)°ªÀ» ÁÖ¾ú°Åµç¿ä.ÀÌ°ÍÀº ±âÁ¸ÀÇ ´ÙÁß °Ô½ÃÆÇ°ú ¿¬°áµÈ ±×µ¥·ç ÀÔ´Ï´Ù.
<%
tb=Request("tb") 'ÀÌ ¹öÀüÀº tb°¡ Å×ÀÌºí ¸íÀÌ´Ù
code=Request("code") 'ÀÌ ¹öÀüÀº ÄÚµå´Â ´ÙÁß°Ô½ÃÆÇ ÄÚµå
'°øÁö»çÇ×µî °ü·Ã±Û Ãâ·ÂÇϱâ À§ÇÑ ·ÎÁ÷ ½ÃÀÛ....^^
Set DbRec1=Server.CreateObject("ADODB.RecordSet")
'DbRec1.Open "SELECT num,subject,ref,wdate FROM board1 WHERE step=0 ORDER BY wdate DESC", DbCon
DbRec1.Open "SELECT num,subject,ref,wdate,writer FROM board1 WHERE step=0 ORDER BY wdate DESC", DbCon, 1
if Request.QueryString("page")="" then '³Ñ°Ü¹Þ´Â º¯¼ö´Â ÆäÀÌÁö °ª¸¸
page=1
startpage=1
else
page=cint(Request("page"))
startpage=int(page/setsize)
if startpage=(page/setsize) then
startpage=page-setsize + 1
else
startpage=int(page/setsize)*setsize + 1
end if
end if
'/**********Ãß°¡
postcount=DbRec1.Recordcount
if postcount > 10 then
postcount=10 'ÆäÀÌÁö ¶óÀμö
end if
for j=1 to postcount
number=DbRec1("num")
'Subject (Á¦¸ñ Ãâ·Â) ½ÃÀÛ
subject=DbRec1("subject")
response.write "<br>"
response.write "<a href=content.asp?tb="&tb&"&code="&code&"&num="&num&"&ref="&ref&"&page="&page&"&startpage="&startpage&"&key="&key&"&naya_s="&naya_s&"&naya_heeya="&naya_heeya&"&naya_korean="&naya_korean&" onMouseOver=""window.status=('°Ô½Ã¹° Àбâ "&subject&"'); return true;""><span style='font-size:9pt;color:"&tbtext&"'>"
if len(subject) > 25 then
subject=left(subject,26)&"..."
response.write "<br>"
response.write "</a>"
end if
'°Ô½Ã¹° °ü·Ã±Û
ref=DbRec1("ref")
response.write "<a href=content.asp?tb="&tb&"&code="&code&"&num="&num&"&ref="&ref&"&page="&page&"&startpage="&startpage&"&key="&key&"&naya_s="&naya_s&"&naya_heeya="&naya_heeya&"&naya_korean="&naya_korean&" onMouseOver=""window.status=('°Ô½Ã¹° Àбâ "&subject&"'); return true;""><span style='font-size:9pt;color:"&tbtext&"'>"
Response.Write " "&subject&" "
response.write "</a>"
if datediff("d",DbRec1("wdate"),now)=<5 then '
response.write "--"
end if
'±âÁ¸ ³¯Â¥ ¹æ½ÄµÎ ¿¡·¯
'if left(now,10) = left(wdate,10) then ' 1ÀÏ ´ÜÀ§·Î ¿Ã¶ó¿Â¿¡ New Ç¥½ÃÇÒ ¶§
'if datediff("d",wdate,now)=<1 then ' <!--1ÀÏ ´ÜÀ§°¡ ¾Æ´Ï¶ó 24½Ã°£ ´ÜÀ§·Î ½Ã°£ º¯°æ-->
' response.write "<span style='font-size:9pt;color:red'><img src='images/cross.gif' border='0' alt='ÃÖ±Ù 24½Ã°£ À̳» ¿Ã¶ó¿Â±Û'></span>"
'else
' response.write " "
'end if
response.write " "
DbRec1.MoveNext
next
DbRec1.Close
%>
<!--List Á¦¸ñ Ãâ·Â-->
</td></tr>
</table>
</body>
</html>
|
|
|
|