|
|
|
|
¿ì¿¬ / 2000-05-16 / ¿ÀÈÄ 4:25:16 / 210.103.168.131
Á¶È¸¼ö : 125
|
[Áú¹®] ±Þ~~~ÇØ¿ä... |
<%
if IsEmpty(Session("outport_user_id")) or Len(Session("outport_user_id")) = 0 then
Response.Redirect "xxx.asp"
end if
%>
<%
Set Db = Server.CreateObject("ADODB.Connection")
Db.Open ("dsn=xxx;uid=xxx;pwd=xxx")
SQL = "Select * from bokkuan where user_id ='"& Session("outport_user_id") &"' order by writeday desc"
Set Rs = Server.CreateObject("ADODB.Recordset")
Set Rs = db.Execute(SQL)
%>
< !-- À̺κп¡ ¹º°¡ µé¾î°¡¾ß ÇÒ°Í °°Àºµ¥..... Á¦°¡ »ðÀÔÇغ»°Ç ´Ù ¿¡·¯°¡ ³ª¼¿ä.... TT
üũÇÏ·Á´Â°Ç ´ÙÀ½°ú °°½À´Ï´Ù...
bok_check=°æ·ÎÀÔ´Ï´Ù.. ¾îµð·Î µé¾î¿Ô´ÂÁö È®ÀÎÇϴ°ÅÁö¿ä...
session(*_id)ȸ¿øÀÌ µé¾î¿ÔÀ»¶§ 24½Ã°£¾È¿¡ 2¹ø°æ·Î¿¡¼ À̺¥Æ®¿¡ ÀÀ¸ðÇÏÁö ¾Ê¾ÒÀ¸¸é insert¸¦ ÁöÅ°°í º¹±ÇÀ» Ãâ·Â½ÃÄÑÁÖ·Á°í ÇÕ´Ï´Ù.
¹æ¹ý Á» ¾Ë·ÁÁÖ¼¼¿ä... Á¦¹ß~~~ -- >
<%
Set DbCon = Server.CreateObject("ADODB.Connection")
DbCon.Open ("dsn=xxxx;uid=xxxx;pwd=xxxx")
SQL1 = "" &_
" insert into bokkuan (user_id,bok_check,writeday)" &_
" values ('"&session("outport_user_id")&"',2,'"&now&"')"
Set Result = DbCon.Execute(SQL1)
%>
< html >
< head >
< meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987" >
< meta name="GENERATOR" content="Microsoft FrontPage 3.0" >
< title > Applet test < /title >
< /head >
< body topmargin="0" leftmargin="0" >
< p >
< applet code="ScretchApplet" align="baseline" width="347" height="205" >
< param name="starthide" value="0" >
< param name="endhide" value="200" >
< param name="coinimg" value="coin.gif" >
< param name="date" value="2000-05-24" >
< param name="count" value="00001" >
< /applet >
< /p >
< /body >
< /html >
|
|
|
|