<% idx = Injection(Request("idx")) 'branchCode = Injection(Request("branchCode")) gotopage = Injection(Request("gotopage")) reply = Injection(Request("reply")) B_PWD = Injection(Request("bdpw")) returnurl = "/new/mbr/login.asp?returnUrl=/new/customer/customer01_view.asp?idx=" & idx SQL = "SELECT *,(SELECT MAX(idx) FROM tbl_consult WHERE idx < t1.idx ) as previdx, (SELECT MIN(idx) FROM tbl_consult WHERE idx > t1.idx) as nextidx FROM tbl_consult t1 where idx = '"&idx&"' " 'Response.write SQL 'RESPONSE.END SET Rs = DBCON.EXECUTE(SQL) idx = RS("idx") user_id = RS("user_id") user_name = RS("user_name") user_age = RS("user_age") user_sex = RS("user_sex") user_tel = RS("user_tel") user_email = RS("user_email") user_pass = RS("user_pass") bbs_type_u = RS("bbs_type_u") If Session("admin_div") <> "1" Then If user_id = "Guest" Then If user_pass <> B_PWD Then RESPONSE.WRITE ExecJavaAlert2("±ÇÇÑÀÌ ¾ø½À´Ï´Ù.","/new/customer/customer01.asp") RESPONSE.END End If Else If Session("user_id") = "" Then RESPONSE.WRITE ExecJavaAlert2("·Î±×ÀÎÈÄ ÀÌ¿ëÇØÁÖ¼¼¿ä.",returnurl) RESPONSE.END ElseIf user_id <> Session("user_id") Then RESPONSE.WRITE ExecJavaAlert2("±ÇÇÑÀÌ ¾ø½À´Ï´Ù.","/new/customer/customer01.asp") RESPONSE.END End If End If 'If bbs_type_u = "1" Then ' If reply <> "1" Then ' If Trim(B_PWD) = "" Then ' RESPONSE.REDIRECT "/new/customer/customer01.asp" ' RESPONSE.END ' End If ' End If 'End If End If reple_type1 = RS("reple_type1") reple_type2 = RS("reple_type2") reple_type3 = RS("reple_type3") reple_type4 = RS("reple_type4") user_year = RS("user_year") user_month = RS("user_month") user_day = RS("user_day") user_week = RS("user_week") branchCode = RS("branchCode") b_subject = RS("b_subject") b_content = RS("b_content") b_file0 = RS("b_file0") b_file1 = RS("b_file1") b_content_re = RS("b_content_re") b_writedate = RS("b_writedate") b_re_writedate = RS("b_re_writedate") b_reple_type = RS("b_reple_type") b_doctor_type = RS("b_doctor_type") previdx = RS("previdx") nextidx = RS("nextidx") b_writedate = Left(b_writedate,25) b_writedate = replace(b_writedate,"-",".") b_re_writedate = Left(b_re_writedate,25) b_re_writedate = replace(b_re_writedate,"-",".") B_CONTENT = Replace(B_CONTENT, chr(10), "
") 'b_content_re = Replace(b_content_re, chr(10), "
") RS.CLOSE() Select Case branchCode Case "U001" branchName = "°­³²Á¡" Case "U002" branchName = "¼ö¿øÁ¡" Case "U003" branchName = "Àá½ÇÁ¡" Case "U004" branchName = "ÆÇ±³Á¡" Case "U005" branchName = "Àá½ÇÁ¡" Case "U006" branchName = "¿Õ½Ê¸®Á¡" Case "U009" branchName = "½ÅÃÌÁ¡" Case "U007" branchName = "¸íµ¿Á¡" Case "U008" branchName = "±¤±³Á¡" End Select %>
À¯¾Ø¾ÆÀÌ °í°´¼¾ÅÍ

¿Â¶óÀλó´ã

  • Home
  • °í°´¼¾ÅÍ
  • ¿Â¶óÀÎ »ó´ã
<% If user_sex = "" Then user_sex = "1" %> <% If bbs_type_u = "" Then bbs_type_u = "1" %> <% If reple_type1 = "" Then reple_type1 = "1" If reple_type2 = "" Then reple_type2 = "1" If reple_type3 = "" Then reple_type3 = "1" If reple_type4 = "" Then reple_type4 = "1" %> <% If branchCode = "" Then branchCode = "U001" %>
<% If b_reple_type = "1" Then b_content_re = ReplaceTag2Text(b_content_re) Select Case b_doctor_type Case 4 counselor = "¿øÀå ÇãÂù" '°­³²Á¡ Case 26 counselor = "¿øÀå ±è¹ÎÁ¤" Case 1001 counselor = "¿øÀå ȲÁöÇö" Case 1005 counselor = "¿øÀå ¿ÀÁø¿µ" Case 1007 counselor = "¿øÀå ±èÀ¯Áø" Case 1002 counselor = "½ÇÀå Á¶ÇöÁÖ" Case 53 counselor = "¿øÀå ¹Ú¿µ¹Ì" '¸íµ¿Á¡ Case 7003 counselor = "¿øÀå ±èÇý¸°" Case 7006 counselor = "¿øÀå ÀÌÀºÀç" Case 55 counselor = "½ÇÀå Á¤È¿Á¤" Case 39 counselor = "¿øÀå À¯Çü¼®" 'Àá½ÇÁ¡ Case 3006 counselor = "¿øÀå ÀüÇàÁØ" Case 3007 counselor = "¿øÀå ±èÇöÁÖ" Case 3004 counselor = "½ÇÀå ±èÁö¿ø" Case 58 counselor = "¿øÀå °­ºÎ°æ" '¿Õ½Ê¸®Á¡ Case 6004 counselor = "¿øÀå ±èÇöÁ¤" Case 63 counselor = "¿øÀå ±è±¤¿­" Case 6005 counselor = "¿øÀå ÀÌ¿¬ÁÖ" Case 6003 counselor = "½ÇÀå ±è¿¬Áö" Case 9001 counselor = "¿øÀå À̼ºÁÖ" '½ÅÃÌÁ¡ Case 9006 counselor = "¿øÀå Á¤ÀºÈñ" Case 9003 counselor = "½ÇÀå ¹ÚÈñÁø" Case 49 counselor = "¿øÀå ¹®¼ºÇõ" 'ÆÇ±³Á¡ Case 18 counselor = "¿øÀå ¼­È¿¹Î" Case 4002 counselor = "¿øÀå ±èº¸¹Ì" Case 4001 counselor = "¿øÀå °í¼±¿ø" Case 9 counselor = "½ÇÀå À±Èñ¼÷" Case 31 counselor = "¿øÀå ±Ç¼ºÁÖ" '¼ö¿øÁ¡ Case 2004 counselor = "¿øÀå ±èº¸¶÷" Case 2003 counselor = "¿øÀå ÀÌÇöÁÖ" Case 2006 counselor = "¿øÀå Àå°üö" Case 2002 counselor = "½ÇÀå À¯½½±â" Case 56 counselor = "¿øÀå ±èÀ±µ¿" '±¤±³Á¡ Case 8007 counselor = "¿øÀå ÃÖ¿ì¼®" Case 8004 counselor = "¿øÀå ÀÓä¿ø" Case 57 counselor = "½ÇÀå ¾È¹ÎÈñ" End Select %> <% Else %> <% End If %>
Áú¹®

<%=b_subject%>

[<%=branchName%>] <%=user_name%>  µî·ÏÀÏ : <%=b_writedate%> <% if Session("admin_div") = "1" then %>
¿¬¶ôó : <%=user_tel%> / <%=user_email%> <% End If %>

<%=b_content%>

<% If b_file0 <> "" Then %> <% End If %>
´äº¯

<%=user_name%> °í°´´Ô ¾È³çÇϼ¼¿ä^^
À¯¾Ø¾ÆÀÌ <%=branchName%> <%=counselor%>ÀÔ´Ï´Ù.

<%=b_content_re%>


<%=counselor%>
´äº¯´ë±âÁß

<% if Session("admin_div") = "1" then %> <% If previdx <> "" Then%>ÀÌÀü <% END If %> <% If nextidx <> "" Then%>´ÙÀ½<% END If %> <% END If %>