|
|
|
|
俵ÀÌ / 2002-02-15 / ¿ÀÈÄ 5:35:20 / 203.255.3.190
Á¶È¸¼ö : 133
|
[Áú¹®] ¸®½ºÆ®Ç׸ñ¿¡¼ À̹ÌÁö º¸ÀÌ°Ô ÇÏ´Â ¹æ¹ý Á» |
> ´ÙÀ½°ú °°Àº ¼Ò½ºÀε¥,À̹ÌÁö°¡ º¸ÀÌÁö ¾Ê¾Æ¼ ...¾Æ¹«¸® Çصµ Àß ¾ÈµÇ´Â±º¿ä...
> <!-- #include file="config.asp" -->
> <%
> Set db = Server.CreateObject("ADODB.Connection")
> db.Open DSNName
>
> UpdateSQL = "Update Board_re Set readnum = readnum+1 "
> UpdateSQL = UpdateSQL & " where board_idx =" & request("id")
>
> db.Execute UpdateSQL
>
> SQL = "SELECT * FROM Board_re where board_idx=" & request("id")
>
> Set rs = Server.CreateObject("ADODB.Recordset")
> rs.Open SQL,db
>
> id = rs("board_idx")
> ref = rs("ref")
> re_level = rs("re_level")
> re_step = rs("re_step")
> content = rs("content")
> content = replace(content,chr(13)&chr(10),"")
> content = replace(content,"<P>","")
> content = replace(content,"</P>","<BR>")
> file1=rs("filename")
> filename=mid(file1,InstrRev(file1,"\") + 1)
> size = rs("size")
> down = rs("down")
> %>
>
> <html>
> <head>
> <TITLE>imagesBoard</TITLE>
> <style type="text/css">
> <!--
> a:link {text-decoration:none;color:#000000}
> a:visited {text-decoration:none;color:blue}
> a:hover {text-decoration:underline;color:orange}
> .mf1 {color:#000000; font-size:9pt; font-family:µ¸¿ò,verdana}
> .mf2 {color:#000000; font-size:9pt; font-family:verdana,µ¸¿ò}
> .mf3 {color:#000000; font-size:9pt;line-height:150%; font-family:µ¸¿ò,verdana}
>
> -->
> </style>
> </head>
> <body>
> <table width="261" align="center" border="1" cellspacing="1">
> <tr>
> <td align="center" background="images/box_top.gif">
> <font class="mf2"><font color="black"><b>images BOARD</b></font></font>
> </td>
> </tr>
> </table>
> <table width="750" align="center" cellpadding="0" cellspacing="0" border='1'>
> <tr>
> <td colspan="3" align="center" valign="top"><br>
> <table width="650" border="1" align="center" cellpadding="0" cellspacing="1" bgcolor="<%=color2%>" bordercolor=white>
> <tr align="center">
> <td width="75" height="17" bgcolor="<%=color1%>"><font class="mf1" color="<%=color1%>">±Û¾´ÀÌ</font></td>
> <td width="250" background="images/back.gif" ><font class="mf1"><%=Rs("name")%></font></td>
> <td width="75" bgcolor="<%=color1%>"><font class="mf1" color="<%=color2%>">³¯ Â¥</font></td>
> <td width="250" background="images/back.gif" ><font class="mf1"><%=Rs("writeday")%></font></td>
> </tr>
> <tr align="center">
> <td height="17" bgcolor="<%=color1%>"> <font class="mf1"color="<%=color2%>" >Email</font></td>
> <td background="images/back.gif" ><font class="mf1"><a href="mailto:<%=Rs("email")%>"><%=Rs("email")%></a></font></td>
> <td bgcolor="<%=color1%>"> <font class="mf1" color="<%=color2%>">Homepage</font></td>
> <td background="images/back.gif" ><font class="mf1"><a href="<%=Rs("homepage")%>" target="_blank"><%=Rs("homepage")%></a></font></td>
> </tr>
> <tr align="center">
> <td height="17" bgcolor="<%=color1%>"> <font class="mf1" color="<%=color2%>">ÆÄÀϸí</font> </td>
> <td background="images/back.gif" ><font class="mf1"><a href="download.asp?id=<%=rs("board_idx")%>" target="_blank"><%=filename %></a></font></td>
> <td bgcolor="<%=color1%>"> <font class="mf1" color="<%=color2%>">size</font> </td>
> <td background="images/back.gif" ><font class="mf1"><%=size%></font></td>
> </tr>
> <tr>
> <td align="center" height="17" bgcolor="<%=color1%>"> <font class="mf1" color="<%=color2%>">Á¦¸ñ</font> </td>
> <td colspan="5" background="images/back.gif"><font class="mf1"> <%=Rs("title")%></font></td>
> </tr>
> </table>
> </td>
> </tr>
> <tr>
> <td colspan="6" height="14">
> <p align="right"><font class="mf1">Á¶È¸¼ö :</font><font class="mf1"><%=Rs("readnum")%>
> </font>
> <font class="mf1">´Ù¿î¼ö :</font><font class="mf1"> <%=down%></font>
>
> </td>
> </tr>
> <tr valign="top">
> <td align="center" colspan="6" height="230">
> <table width="87%">
> <tr>
> <td height="350" valign="top" style="border:1 solid <%=color2%>">
> <font class="mf3"><br><%=content%></font>
> ====>ÀÌ ºÎºÐ¿¡ À̹ÌÁö°¡ ³ª¿À°Ô ÇÏ°í ½ÍÀºµ¥...
> </td>
> </tr>
> </table>
> </td>
> </tr>
> </table>
> </body>
> </html>
>
> <%
> rs.Close
> Set rs = Nothing
> db.Close
> Set db = Nothing
> %>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
-----------------------------------------------------------
¿øÇÏ½Ã´Â°Ô ¹ºÁö ¸ð¸£°Ú³×¿ä?
¸®½ºÆ® Ç׸ñ¿¡¼ À̹ÌÁö¸¦ º¸ÀÌ°Ô ÇÏ´Ù´Ï¿ä?
À̹ÌÁö°¡ º¸ÀÌ°Ô ÇÏ°í ½Í´Ù¸é
<img src="<%=À̹ÌÁö°æ·Î%>">
ÀÌ·¸°Ô ÇÏ½Ã¸é µÇ°ÚÁÒ..
´ç¿¬È÷ À̹ÌÁö°æ·Î¿¡´Â Á¤È®ÇÑ À̹ÌÁö °æ·Î°¡ ÀÖ¾î¾ß µÉ°Å±¸¿ä....
±×·³....
|
|
|
|