home *** CD-ROM | disk | FTP | other *** search
/ Namo WebEditor 3 / Namo WebEditor 3.iso / Comm / Chollian / data1.cab / ImageOn_Files / NEWREG.SCR < prev    next >
Encoding:
Text File  |  1999-02-23  |  22.0 KB  |  765 lines

  1. Public giSvrType        '╝¡║±╜║ └»╟ⁿ
  2. Public gfMember        '└╠┐δ▒╟/╚╕┐°▒╟ ╗τ┐δ└╬░í?
  3. Public gsMemberCode    '└╠┐δ▒╟/╚╕┐°▒╟ ─┌╡σ
  4. Public gsMemberPW    '└╠┐δ▒╟/╚╕┐°▒╟ ║±╣╨╣°╚ú
  5. Public gsRealUserName    '╜╟╗τ┐δ└┌ └╠╕º
  6. Public gsRealUserPID    '╜╟╗τ┐δ└┌ ┴╓╣╬╣°╚ú
  7. Public gsRealUserZipCode    '╜╟╗τ┐δ└┌ ┐∞╞φ╣°╚ú (╞≈╕╦ : xxx-xxx)
  8. Public gsRealUserAddr1    '╜╟╗τ┐δ└┌ ┴╓╝╥ 1
  9. Public gsRealUserAddr2    '╜╟╗τ┐δ└┌ ┴╓╝╥ 2
  10. Public gsRealUserPhone    '╜╟╗τ┐δ└┌ └ⁿ╚¡╣°╚ú (╞≈╕╦ : ┴÷┐¬╣°╚ú-▒╣╣°-└ⁿ╚¡╣°╚ú)
  11. Public gsRealUserPager    '╜╟╗τ┐δ└┌ ╚▐┤δ╞∙/╚ú├Γ▒Γ
  12. Public gsFeeUserName    '┐Σ▒▌││║╬└┌ └╠╕º
  13. Public gsFeeUserPID    '┐Σ▒▌││║╬└┌ ┴╓╣╬╣°╚ú
  14. Public gsFeeUserZipCode    '┐Σ▒▌││║╬└┌ ┐∞╞φ╣°╚ú
  15. Public gsFeeUserAddr1    '┐Σ▒▌││║╬└┌ ┴╓╝╥ 1
  16. Public gsFeeUserAddr2    '┐Σ▒▌││║╬└┌ ┴╓╝╥ 2
  17. Public gsFeeUserPhone    '┐Σ▒▌││║╬└┌ └ⁿ╚¡╣°╚ú
  18. Public gsFeeUserPager    '┐Σ▒▌││║╬└┌ ╚▐┤δ╞∙/╚ú├Γ▒Γ
  19. Public gsCoUserName    '┐Σ▒▌││║╬└┌ └╠╕º
  20. Public gsCoUserPID    '┐Σ▒▌││║╬└┌ ┴╓╣╬╣°╚ú
  21. Public gsCoUserOffice    '┐Σ▒▌││║╬└┌ ╗≤╚ú╕φ
  22. Public gsCoUserOID    '┐Σ▒▌││║╬└┌ ╗τ╛≈└┌╣°╚ú (╞≈╕╦ : xxx-xx-xxxxx)
  23. Public gsCoUserZipCode    '┐Σ▒▌││║╬└┌ ┐∞╞φ╣°╚ú
  24. Public gsCoUserAddr1    '┐Σ▒▌││║╬└┌ ┴╓╝╥ 1
  25. Public gsCoUserAddr2    '┐Σ▒▌││║╬└┌ ┴╓╝╥ 2
  26. Public gsCoUserPhone    '┐Σ▒▌││║╬└┌ └ⁿ╚¡╣°╚ú
  27. Public gsCoUserPager    '┐Σ▒▌││║╬└┌ ╚▐┤δ╞∙/╚ú├Γ▒Γ
  28.  
  29. Public giFeeManType    '┐Σ▒▌││║╬└┌ └»╟ⁿ
  30. Public giFeeType        '┐Σ▒▌││║╬╣µ╣²
  31.  
  32. ' ║╗└╬ ─½╡σ ┴ñ║╕
  33. Public gsRealCardName    '╜┼┐δ─½╡σ╕φ
  34. Public gsRealCardID    '╜┼┐δ─½╡σ ╣°╚ú
  35. Public gsRealPeriod    '╜┼┐δ─½╡σ └»╚┐▒Γ░ú (╞≈╕╦ : │Γ(4└┌╕«)-┐∙(2└┌╕«)
  36. Public gsRealCardPW    '╜┼┐δ─½╡σ ║±╣╨╣°╚ú
  37.  
  38. ' ┼╕└╬ ─½╡σ ┴ñ║╕
  39. Public gsFeeCardName    '╜┼┐δ─½╡σ╕φ
  40. Public gsFeeCardID    '╜┼┐δ─½╡σ ╣°╚ú
  41. Public gsFeePeriod        '╜┼┐δ─½╡σ └»╚┐▒Γ░ú (╞≈╕╦ : │Γ(4└┌╕«)-┐∙(2└┌╕«)
  42. Public gsFeeCardPW    '╜┼┐δ─½╡σ ║±╣╨╣°╚ú
  43.  
  44. Public gsRealBankName    '└║╟α╕φ
  45. Public gsRealAccount    '└║╟α ░Φ┴┬╣°╚ú
  46. Public gsRealBankPW    '└║╟α ║±╣╨╣°╚ú
  47.  
  48. Public gsFeeBankName    '└║╟α╕φ
  49. Public gsFeeAccount    '└║╟α ░Φ┴┬╣°╚ú
  50. Public gsFeeBankPW    '└║╟α ║±╣╨╣°╚ú
  51.  
  52. Public gsCoBankName    '└║╟α╕φ
  53. Public gsCoAccount        '└║╟α ░Φ┴┬╣°╚ú
  54. Public gsCoBankPW    '└║╟α ║±╣╨╣°╚ú
  55.  
  56. Public gsUserID        '╗τ┐δ└┌ ID
  57. Public gsUserPW        '╗τ┐δ└┌ ║±╣╨╣°╚ú
  58. Public gfMembership    '╕Γ╣÷╜▒┼░╞« ╜┼├╗ ┐⌐║╬
  59. Public gsUsingID        '└ⁿ╗τ┐δ ID
  60.  
  61. Public gsEndMsg
  62.  
  63. ' 1 - 10╜├░ú ▒Γ║╗╟ⁿ
  64. ' 2 - 30╜├░ú ▒Γ║╗╟ⁿ
  65. ' 3 - ╛ε╕░└╠ ├╡╕«╛╚
  66. ' 4 - └╬┼═│▌ ┴ñ╛╫╟ⁿ
  67. giSvrType = 1
  68.  
  69. ' 1 - ║╗└╬
  70. ' 2 - ┼╕└╬
  71. ' 3 - ╣²└╬
  72. giFeeManType = 1
  73.  
  74. ' 1 - ╜┼┐δ─½╡σ
  75. ' 2 - └┌╡┐└╠├╝
  76. ' 3 - ┴÷╖╬
  77. giFeeType = 1
  78.  
  79. gfMembership = 1
  80.  
  81. Private Sub ViewList(sList)
  82.     this.GetObject(sList).IsVisible = 1
  83.     this.SetFocus(sList)
  84.     this.SetCapture(sList)
  85. End Sub
  86.  
  87. ' ┼Σ┼½ ║╨╝« ╟╘╝÷
  88. '     ╞─╢≤╣╠┼═ 
  89. '        sStr         ╣«└┌┐¡
  90. '        iLen        ╣«└┌┐¡ ▒µ└╠
  91. '        Delimeter        ▒╕║╨└┌
  92. '        iIndex        ┼Σ┼½ ╣°╚ú
  93. Function GetToken(sStr, iLen, Delimeter, iIndex)
  94.     if sStr = "" OR iLen = 0 then
  95.        Exit Function
  96.     End if
  97.  
  98.     iInc = 0
  99.     iLoop = 1
  100.  
  101.     Do While iLoop <= iLen 
  102.        if iInc = iIndex then
  103.            Do While Mid(sStr, iLoop, 1) <> Delimeter AND iLoop <= iLen
  104.                  GetToken = GetToken & Mid(sStr, iLoop, 1)
  105.                  iLoop = iLoop + 1
  106.            Loop
  107.            Exit Do
  108.        End If
  109.        
  110.        if Mid(sStr, iLoop, 1) = Delimeter then
  111.           iInc = iInc + 1
  112.        End If
  113.        iLoop = iLoop + 1
  114.     Loop
  115. End Function
  116.  
  117. Private ssNotifyData
  118. Private siNotifyDataLen
  119.  
  120. Sub OnOpNotify(sData, iLen, bEndData)
  121.     If iLen > 0 AND sData <> "" Then
  122.         ssNotifyData = ssNotifyData & Mid(sData, 1, iLen)
  123.         siNotifyDataLen = siNotifyDataLen + iLen
  124.     End if
  125.  
  126.     if bEndData = 1 then
  127.         sOp = GetToken(ssNotifyData, siNotifyDataLen, "|", 0)
  128.  
  129.         Select Case sOp
  130.             Case "INFO_WOWINFO"
  131.                 InfoWowInfoProc ssNotifyData, siNotifyDataLen
  132.  
  133.             Case "INFO_ADDRLIST"
  134.                 InfoAddrListProc ssNotifyData, siNotifyDataLen
  135.  
  136.             Case "INFO_USERID"
  137.                 InfoUserIDProc ssNotifyData, siNotifyDataLen
  138.  
  139.             Case "INFO_CARDLIST"
  140.                 InfoCardListProc ssNotifyData, siNotifyDataLen
  141.  
  142.             Case "INFO_BANKLIST"
  143.                 InfoBankListProc ssNotifyData, siNotifyDataLen
  144.  
  145.             Case "INFO_CONFINFO"
  146.                 InfoConfInfoProc ssNotifyData, siNotifyDataLen
  147.  
  148.             Case "INFO_CARDINFO"
  149.                 InfoCardInfoProc ssNotifyData, siNotifyDataLen
  150.  
  151.             Case "INFO_BANKINFO"
  152.                 InfoBankInfoProc ssNotifyData, siNotifyDataLen
  153.  
  154.             Case "INFO_USERINFO"
  155.                 InfoUserInfoProc ssNotifyData, siNotifyDataLen
  156.         End Select
  157.  
  158.        ssNotifyData = ""
  159.        siNotifyDataLen = 0
  160.     End if
  161. End Sub
  162.  
  163. Private ssWowInfoData
  164. Private ssWowData
  165.  
  166. Sub SndWowInfo(sMemberCode, sMemberPW)
  167.     ssWowData = sMemberCode & "|" & sMemberPW & "|"
  168.     If ssWowData <> ssWowInfoData Then
  169.         SetWait 1
  170.  
  171.         gsMemberCode = sMemberCode
  172.         gsMemberPW = sMemberPW
  173.  
  174.         sCommand = "VBOP SND_WOWINFO|" & ssWowData
  175.         OnSendBrowser sCommand
  176.     Else
  177.         OnNextPage
  178.     End if
  179. End Sub
  180.  
  181. Private Sub InfoWowInfoProc(sNotifyData, iNotifyDataLen)
  182.     SetWait 0
  183.  
  184.     If GetToken(sNotifyData, iNotifyDataLen, "|", 1) = "NO" Then
  185.         sMsg = GetToken(sNotifyData, iNotifyDataLen, "|", 2)
  186.         OnMsgBox sMsg , "└╠┐δ▒╟/╚╕┐°▒╟ └╬┴⌡ ┐└╖∙", vbCritical
  187.  
  188.         this.GetObject("MEMBERCODE").SetText ""
  189.         this.GetObject("MEMBERPW").SetText ""
  190.  
  191.         ssWowInfoData = ""
  192.  
  193.         this.SetFocus "MEMBERCODE"
  194.     Else
  195.         ssWowInfoData = ssWowData
  196.  
  197.         giSvrType = CInt(GetToken(sNotifyData, iNotifyDataLen, "|", 2))
  198.         OnNextPage
  199.     End if
  200. End Sub
  201.  
  202. Private ssAddrList
  203.  
  204. Sub ReqAddrList(sAddr)
  205.     ssAddrList = ""
  206.  
  207.     SetWait 1
  208.  
  209.     sCommand = "VBOP REQ_ADDRLIST|" & sAddr & "|"
  210.     OnSendBrowser sCommand
  211. End Sub
  212.  
  213. Private Sub InfoAddrListProc(sNotifyData, iNotifyDataLen)
  214.     ssAddrList = ssAddrList & Mid(sNotifyData, 17, iNotifyDataLen)
  215.     If GetToken(sNotifyData, iNotifyDataLen, "|", 1) = "E" Then
  216.         SetWait 0
  217.  
  218.         iNum = CInt(GetToken(ssAddrList, Len(ssAddrList), "|", 0))
  219.         if iNum = 0 then
  220.             sErrMsg = GetToken(ssAddrList, Len(ssAddrList), "|", 1)
  221.             OnMsgBox  sErrMsg, "┴╓╝╥╕±╖╧ ┐└╖∙", vbCritical
  222.             this.GetObject("INPUTADDR").SetText ""
  223.             this.SetFocus("INPUTADDR")
  224.             Exit Sub
  225.         End If
  226.  
  227.         if iNum = 1 then
  228.             sZipCode = GetToken(ssAddrList, Len(ssAddrList), "|", 1)
  229.             sAddress = GetToken(ssAddrList, Len(ssAddrList), "|", 2)
  230.       
  231.             this.GetCurrentBack.GetModule.AddrNotify sZipCode, sAddress, "", "", "", 1, 0
  232.             this.SetFocus("ADDR2")
  233.         Else
  234.             Set obj = frame.GetObject("ADDRLIST")
  235.       
  236.             obj.ResetContent
  237.  
  238.             For iInc = 1 to iNum Step 1
  239.                 sZipCode = GetToken(ssAddrList, Len(ssAddrList), "|", (iInc - 1) * 2 + 1)
  240.                 sAddress = GetToken(ssAddrList, Len(ssAddrList), "|", (iInc - 1) * 2 + 2)
  241.  
  242.                 sAddr = sZipCode & vbTab & sAddress
  243.                 obj.AddItem sAddr
  244.             Next
  245.  
  246.             ViewList "ADDRLIST"
  247.         End if
  248.     End If
  249.  
  250.     this.GetObject("INPUTADDR").SetText ""
  251. End Sub
  252.  
  253. Private ssUserID
  254.  
  255. Sub SndUserID(sUserID, sUserPW)
  256.     gsUserPW = sUserPW
  257.  
  258.     If gsUserID <> sUserID Then
  259.         SetWait 1
  260.  
  261.         ssUserID = sUserID
  262.  
  263.         sCommand = "VBOP SND_USERID|" & sUserID
  264.         OnSendBrowser sCommand
  265.     Else
  266.         OnNextPage
  267.     End If
  268. End Sub
  269.  
  270. Private Sub InfoUserIDProc(sNotifyData, iNotifyDataLen)
  271.     SetWait 0
  272.  
  273.     If GetToken(sNotifyData, iNotifyDataLen, "|", 1) = "NO" Then
  274.         sMsg = GetToken(sNotifyData, iNotifyDataLen, "|", 2)
  275.         OnMsgBox sMsg , "╚╕┐° ID └╬┴⌡ ┐└╖∙", vbCritical
  276.  
  277.         gsUserID = ""
  278.  
  279.         this.GetObject("USERID").SetText ""
  280.         this.SetFocus "USERID"
  281.     Else
  282.         gsUserID = ssUserID
  283.  
  284.         OnNextPage
  285.     End if
  286. End Sub
  287.  
  288. Private sfCardList
  289.  
  290. Sub ReqCardList
  291.     If sfCardList = 0 Then
  292.         SetWait 1
  293.  
  294.         OnSendBrowser "VBOP REQ_CARDLIST|"
  295.     Else
  296.         ViewList "CARDLIST"
  297.     End If
  298. End Sub
  299.  
  300. Private Sub InfoCardListProc(sNotifyData, iNotifyDataLen)
  301.     SetWait 0
  302.  
  303.     iNum = CInt(GetToken(sNotifyData, iNotifyDataLen, "|", 1))
  304.     if iNum = 0 then
  305.         Exit Sub
  306.     End If
  307.  
  308.     Set obj = frame.GetObject("CARDLIST")
  309.     
  310.     obj.ResetContent
  311.  
  312.     For iInc = 1 to iNum
  313.         sCardName = GetToken(sNotifyData, iNotifyDataLen, "|", 1+ iInc)
  314.         obj.AddItem sCardName
  315.     Next
  316.   
  317.     sfCardList = 1
  318.     ViewList "CARDLIST"
  319. End Sub
  320.  
  321.  
  322. Private sfBankList
  323.  
  324. Sub ReqBankList
  325.     If sfBankList = 0 Then
  326.         SetWait 1
  327.  
  328.         OnSendBrowser "VBOP REQ_BANKLIST|"
  329.     Else
  330.         ViewList "BANKLIST"
  331.     End If
  332. End Sub
  333.  
  334. Private Sub InfoBankListProc(sNotifyData, iNotifyDataLen)
  335.     SetWait 0
  336.  
  337.     iNum = CInt(GetToken(sNotifyData, iNotifyDataLen, "|", 1))
  338.     if iNum = 0 then
  339.         Exit Sub
  340.     End If
  341.  
  342.     Set obj = frame.GetObject("BANKLIST")
  343.     
  344.     obj.ResetContent
  345.  
  346.     For iInc = 1 to iNum
  347.         sBankName = GetToken(sNotifyData, iNotifyDataLen, "|", 1+ iInc)
  348.         obj.AddItem sBankName
  349.     Next
  350.   
  351.     sfBankList = 1
  352.     ViewList "BANKLIST"
  353. End Sub
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364. Public giConfErrCode
  365.  
  366. ' siConfCode is 1 - ╜╟╗τ┐δ└┌ └╬┴⌡
  367. ' siConfCode is 2 - ┼╕└╬
  368. ' siConfCode is 3 - ╣²└╬
  369. Private siConfCode
  370.  
  371. Private ssRealUserConfData
  372. Private ssFeeUserConfData
  373. Private ssCoUserConfData
  374. Private siConfErrCount
  375. Private ssConfData
  376.  
  377. Sub SndConfInfo(iConfCode, fDirectRegist, sName, sPID, sOfficeName, sOID)
  378.     siConfCode = iConfCode
  379.  
  380.     sCommand = "VBOP SND_CONFINFO|" & fDirectRegist & "|"
  381.     Select Case iConfCode
  382.         Case 1
  383.             sRealUserConf = "1|" & sName & "|" & sPID & "|" & sOfficeName & "|" & sOID & "|"
  384.             If sRealUserConf = ssRealUserConfData Then
  385.                 this.GetCurrentPage.GetModule.NextPage_Proc
  386.                 Exit Sub
  387.             End If
  388.             ssConfData = sRealUserConf
  389.             sCommand = sCommand & sRealUserConf
  390.         Case 2
  391.             sFeeUserConf = "2|" & sName & "|" & sPID & "|" & sOfficeName & "|" & sOID & "|"
  392.             If sFeeUserConf = ssFeeUserConfData Then
  393.                 this.GetCurrentPage.GetModule.NextPage_Proc
  394.                 Exit Sub
  395.             End If
  396.             ssConfData = sFeeUserConf
  397.             sCommand = sCommand & sFeeUserConf
  398.         Case 3
  399.             sCoUserConf = "2|" & sName & "|" & sPID & "|" & sOfficeName & "|" & sOID & "|"
  400.             If sCoUserConf = ssCoUserConfData Then
  401.                 this.GetCurrentPage.GetModule.NextPage_Proc
  402.                 Exit Sub
  403.             End If
  404.             ssConfData = sCoUserConf
  405.             sCommand = sCommand & sCoUserConf
  406.     End Select
  407.  
  408.     SetWait 1
  409.  
  410.     OnSendBrowser sCommand
  411. End Sub
  412.  
  413. Private Sub InfoConfInfoProc(sNotifyData, iNotifyDataLen)
  414.     SetWait 0
  415.  
  416.     If GetToken(sNotifyData, iNotifyDataLen, "|", 1) = "YES" Then
  417.         giConfErrCode = 10
  418.         frame.GetCurrentPage.GetModule.NextPage_Proc
  419.  
  420.         Select Case siConfCode
  421.             Case 1
  422.                 ssRealUserConfData = ssConfData
  423.             Case 2
  424.                 ssFeeUserConfData = ssConfData
  425.             Case 3
  426.                 ssCoUserConfData = ssConfData
  427.          End Select
  428.     Else
  429.         iErrCode = CInt(GetToken(sNotifyData, iNotifyDataLen, "|", 2))
  430.         if siConfCode = 1 Then
  431.             giConfErrCode = iErrCode
  432.         End If
  433.  
  434.         sMsg = GetToken(sNotifyData, iNotifyDataLen, "|", 3)
  435.         OnMsgBox sMsg, "╜┼┐δ└╬┴⌡ ┐└╖∙", vbCritical
  436.         If iErrCode = 0 Then
  437.             Select Case siConfCode
  438.                 Case 1
  439.                     ssRealUserConfData = ""
  440.                 Case 2
  441.                     ssFeeUserConfData = ""
  442.                 Case 3
  443.                     ssCoUserConfData = ""
  444.                     this.GetObject("OFFICE").SetText ""
  445.                     this.GetObject("OID1").SetText ""
  446.                     this.GetObject("OID2").SetText ""
  447.                     this.GetObject("OID3").SetText ""
  448.              End Select
  449.  
  450.              this.GetObject("NAME").SetText ""
  451.              this.GetObject("PID1").SetText ""
  452.              this.GetObject("PID2").SetText ""
  453.  
  454.              this.SetFocus("NAME")
  455.  
  456.              siConfErrCount = siConfErrCount + 1
  457.              if siConfErrCount = 3 Then
  458.                  OnMsgBox "╟÷ ╝¡║±╜║╕ª ┴╛╖ß╟╒┤╧┤┘.", "╜┼┐δ └╬┴⌡ ┐└╖∙", vbCritical
  459.                  OnSystemExit
  460.              End If
  461.         Else
  462.             Select Case siConfCode
  463.                 Case 1
  464.                     ssRealUserConfData = ssConfData
  465.                 Case 2
  466.                     ssFeeUserConfData = ssConfData
  467.                 Case 3
  468.                     ssCoUserConfData = ssConfData
  469.              End Select
  470.  
  471.              frame.GetCurrentPage.GetModule.NextPage_Proc
  472.         End If
  473.     End if
  474. End Sub
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486. Private ssRealCardInfo
  487. Private ssFeeCardInfo
  488. Private ssaCardInfoField(4)
  489. Private ssCardInfo
  490.  
  491. ssaCardInfoField(1) = "CARDID"
  492. ssaCardInfoField(2) = "PERIOD1"
  493. ssaCardInfoField(3) = "PERIOD2"
  494. ssaCardInfoField(4) = "PW"
  495.  
  496. Sub SndCardInfo(sCardName, sCardID, sPW, sPID1, sPID2)
  497.     ssCardInfo = sCardName & "|" & sCardID & "|" & sPW & "|" & sPID1 & "-" & sPID2 & "|"
  498.     If giFeeManType = 1 Then
  499.         sOrgCardInfo = ssRealCardInfo
  500.     Else
  501.         sOrgCardInfo = ssFeeCardInfo
  502.     End If
  503.  
  504.     If sOrgCardInfo <> sCardInfo Then
  505.         sCommand = "VBOP SND_CARDINFO|" & ssCardInfo
  506.  
  507.         SetWait 1
  508.  
  509.         OnSendBrowser sCommand
  510.     Else
  511.         OnMsgBox "└╬┴⌡╡╚ ╜┼┐δ─½╡σ└╘┤╧┤┘.", "╜┼┐δ└╬┴⌡", vbInformation
  512.     End If
  513.     frame.GetObject("NEXT").GetModule.Enable
  514. End Sub
  515.  
  516. Private Sub InfoCardInfoProc(sNotifyData, iNotifyDataLen)
  517.     SetWait 0
  518.  
  519.     If GetToken(sNotifyData, iNotifyDataLen, "|", 1) = "NO" Then
  520.         Set pgmd = this.GetCurrentPage.GetModule
  521.         Select Case giFeeManType
  522.             Case 1
  523.                 pgmd.gfRealDirectRegist = 0
  524.             Case 2
  525.                 pgmd.gfFeeDirectRegist = 0
  526.          End Select
  527.  
  528.         sMsg = GetToken(sNotifyData, iNotifyDataLen, "|", 2)
  529.         OnMsgBox sMsg, "╜┼┐δ─½╡σ └╬┴⌡ ┐└╖∙", vbCritical
  530.  
  531.         frame.GetObject("CARDNAME").Data = ""
  532.         For i = 1 to 4
  533.             frame.GetObject(ssaCardInfoField(i)).SetText ""
  534.         Next
  535.         frame.SetFocus "REQ_CARDLIST"
  536.  
  537.         If giFeeManType = 1 Then
  538.             ssRealCardInfo = ""
  539.         Else
  540.             ssFeeCardInfo = ""
  541.         End If
  542.     Else
  543.  
  544.         If giFeeManType = 1 Then
  545.             ssRealCardInfo = ssCardInfo
  546.         Else
  547.             ssFeeCardInfo = ssCardInfo
  548.         End If
  549.  
  550. '        sName = GetToken(sNotifyData, iNotifyDataLen, "|", 2)
  551. '        sUID = GetToken(sNotifyData, iNotifyDataLen, "|", 3)
  552. '        sZipCode = GetToken(sNotifyData, iNotifyDataLen, "|", 4)
  553. '        sAddr1 = GetToken(sNotifyData, iNotifyDataLen, "|", 5)
  554. '        sAddr2 = GetToken(sNotifyData, iNotifyDataLen, "|", 6)
  555. '        sPhone = GetToken(sNotifyData, iNotifyDataLen, "|", 7)
  556.  
  557. '        frame.GetCurrentBack.GetModule.UserNotify sName, sUID, "NEXT", 0
  558.  
  559.         If giFeeManType = 1 Then
  560. '            frame.GetCurrentBack.GetModule.AddrNotify sZipCode, sAddr1, sAddr2, sPhone, "", 0, 0
  561.             frame.GetCurrentPage.GetModule.gfRealDirectRegist = 3
  562.         Else
  563. '            frame.GetCurrentBack.GetModule.AddrNotify sZipCode, sAddr1, sAddr2, sPhone, "", 1, 0
  564.             frame.GetCurrentPage.GetModule.gfFeeDirectRegist = 3
  565.         End If
  566.  
  567.         this.GetObject("INPUTADDR").SetText ""
  568.         this.GetObject("INPUTADDR").IsEnable = 1
  569.  
  570.         frame.GetObject("CONFIRM").GetModule.Enable
  571.         frame.GetObject("NEXT").GetModule.Enable
  572.     End if
  573. End Sub
  574.  
  575.  
  576.  
  577. Private ssRealBankInfo
  578. Private ssFeeBankInfo
  579. Private ssCoBankInfo
  580. Private ssaBankInfoField(2)
  581. Private ssBankInfo
  582.  
  583. ssaBankInfoField(1) = "ACCOUNT"
  584. ssaBankInfoField(2) = "PW"
  585.  
  586. Sub SndBankInfo(sBankName, sAccount, sPW, sPID1, sPID2)
  587.     ssBankInfo = sBankName & "|" & sAccount & "|" & sPW & "|" & sPID1 & "-" & sPID2 & "|"
  588.     Select Case giFeeManType
  589.         Case 1
  590.             sOrgBankInfo = ssRealBankInfo
  591.         Case 2
  592.             sOrgBankInfo = ssFeeBankInfo
  593.         Case 2
  594.             sOrgBankInfo = ssCoBankInfo
  595.     End Select
  596.  
  597.     If sOrgCardInfo <> sBankInfo Then
  598.         sCommand = "VBOP SND_BANKINFO|" & ssBankInfo
  599.  
  600.         SetWait 1
  601.  
  602.         OnSendBrowser sCommand
  603.     Else
  604.         OnMsgBox "└╬┴⌡╡╚ ░Φ┴┬└╘┤╧┤┘.", "░Φ┴┬└╬┴⌡", vbInformation
  605.     End If
  606.     frame.GetObject("NEXT").GetModule.Enable
  607. End Sub
  608.  
  609. Private Sub InfoBankInfoProc(sNotifyData, iNotifyDataLen)
  610.     SetWait 0
  611.  
  612.     If GetToken(sNotifyData, iNotifyDataLen, "|", 1) = "NO" Then
  613.         Set pgmd = this.GetCurrentPage.GetModule
  614.         Select Case giFeeManType
  615.             Case 1
  616.                 pgmd.gfRealDirectRegist = 0
  617.             Case 2
  618.                 pgmd.gfFeeDirectRegist = 0
  619.             Case 3
  620.                 pgmd.gfCoDirectRegist = 0
  621.          End Select
  622.  
  623.         sMsg = GetToken(sNotifyData, iNotifyDataLen, "|", 2)
  624.         OnMsgBox sMsg, "└║╟α░Φ┴┬ └╬┴⌡ ┐└╖∙", vbCritical
  625.  
  626.         frame.GetObject("BANKNAME").Data = ""
  627.         For i = 1 to 2
  628.             frame.GetObject(ssaBankInfoField(i)).SetText ""
  629.         Next
  630.         frame.SetFocus "REQ_BANKLIST"
  631.  
  632.         Select Case giFeeManType
  633.             Case 1
  634.                 ssRealBankInfo = ""
  635.             Case 2
  636.                 ssFeeBankInfo = ""
  637.             Case 3
  638.                 ssCoBankInfo = ""
  639.         End Select
  640.     Else
  641.  
  642.         Select Case giFeeManType
  643.             Case 1
  644.                  ssRealBankInfo = ssBankInfo
  645.              Case 2
  646.                  ssFeeBankInfo = ssBankInfo
  647.              Case 2
  648.                  ssCoBankInfo = ssBankInfo
  649.         End Select
  650.  
  651. '        sName = GetToken(sNotifyData, iNotifyDataLen, "|", 2)
  652. '        sUID = GetToken(sNotifyData, iNotifyDataLen, "|", 3)
  653. '        sZipCode = GetToken(sNotifyData, iNotifyDataLen, "|", 4)
  654. '        sAddr1 = GetToken(sNotifyData, iNotifyDataLen, "|", 5)
  655. '        sAddr2 = GetToken(sNotifyData, iNotifyDataLen, "|", 6)
  656. '        sPhone = GetToken(sNotifyData, iNotifyDataLen, "|", 7)
  657.  
  658. '        frame.GetCurrentBack.GetModule.UserNotify sName, sUID, "NEXT", 0
  659.  
  660. '        If giFeeManType = 1 Then
  661. '            frame.GetCurrentBack.GetModule.AddrNotify sZipCode, sAddr1, sAddr2, sPhone, "", 0, 0
  662. '        Else
  663. '            frame.GetCurrentBack.GetModule.AddrNotify sZipCode, sAddr1, sAddr2, sPhone, "", 1, 0
  664. '        End If
  665.  
  666.         Select Case giFeeManType
  667.             Case 1
  668.                 frame.GetCurrentPage.GetModule.gfRealDirectRegist = 3
  669.             Case 2
  670.                 frame.GetCurrentPage.GetModule.gfFeeDirectRegist = 3
  671.             Case 3
  672.                 frame.GetCurrentPage.GetModule.gfCoDirectRegist = 3
  673.         End Select
  674.  
  675.         this.GetObject("INPUTADDR").SetText ""
  676.         this.GetObject("INPUTADDR").IsEnable = 1
  677.  
  678.         frame.GetObject("CONFIRM").GetModule.Enable
  679.         frame.GetObject("NEXT").GetModule.Enable
  680.     End if
  681. End Sub
  682.  
  683.  
  684. Sub SndUserInfo
  685.     sSvrData = giSvrType & "|" & gsUserID & "|" & gsUserPW & "|" & gfMemebership & "|" & gsUsingID & "|" & gsMemberCode & "|" & gsMemberPW & "|"
  686.  
  687.     if gfMember = 1 Then
  688.         sFeeData = "||"
  689.     Else
  690.         sFeeData = giFeeManType & "|" & giFeeType & "|"
  691.     End If
  692.  
  693.     if gfMember = 1 Then
  694.         sFeeManData = "|||||||||||||"
  695.     Else
  696.         Select Case giFeeManType
  697.             Case 1
  698.                 sUserInfo = gsRealUserName & "|" & gsRealUserPID & "|"
  699.                 sOfficeInfo = "||"
  700.                 sAddrInfo = gsRealUserZipCode & "|" & gsRealUserAddr1 & "|" & gsRealUserAddr2 & "|" & gsRealUserPhone & "|" & gsRealUserPager & "|"
  701.  
  702.                 If giFeeType = 1 Then
  703.                     sFeeInfo = gsRealCardName & "|" & gsRealCardID & "|" & gsRealPeriod & "|" & gsRealCardPW & "|"
  704.                 ElseIf giFeeType = 2 Then
  705.                     sFeeInfo = gsRealBankName & "|" & gsRealAccount & "|" & "|" & gsRealBankPW & "|"
  706.                 Else
  707.                     sFeeInfo = "||||"
  708.                 End If
  709.  
  710.             Case 2
  711.                 sUserInfo = gsFeeUserName & "|" & gsFeeUserPID & "|"
  712.                 sOfficeInfo = "||"
  713.                 sAddrInfo = gsFeeUserZipCode & "|" & gsFeeUserAddr1 & "|" & gsFeeUserAddr2 & "|" & gsFeeUserPhone & "|" & gsFeeUserPager & "|"
  714.  
  715.                 If giFeeType = 1 Then
  716.                     sFeeInfo = gsFeeCardName & "|" & gsFeeCardID & "|" & gsFeePeriod & "|" & gsFeeCardPW & "|"
  717.                 ElseIf giFeeType = 2 Then
  718.                     sFeeInfo = gsFeeBankName & "|" & gsFeeAccount & "|" & "|" & gsFeeBankPW & "|"
  719.                 Else
  720.                     sFeeInfo = "||||"
  721.                 End If
  722.  
  723.             Case 3
  724.                 sUserInfo = gsCoUserName & "|" & gsCoUserPID & "|"
  725.                 sOfficeInfo = gsCoUserOffice & "|" & gsCoUserOID & "|"
  726.                 sAddrInfo = gsCoUserZipCode & "|" & gsCoUserAddr1 & "|" & gsCoUserAddr2 & "|" & gsCoUserPhone & "|" & gsCoUserPager & "|"
  727.  
  728.                 If giFeeType = 1 Then
  729.                     sFeeInfo = gsCoCardName & "|" & gsCoCardID & "|" & gsCoPeriod & "|" & gsCoCardPW & "|"
  730.                 ElseIf giFeeType = 2 Then
  731.                     sFeeInfo = gsCoBankName & "|" & gsCoAccount & "|" & "|" & gsCoBankPW & "|"
  732.                 Else
  733.                     sFeeInfo = "||||"
  734.                 End If
  735.  
  736.         End Select
  737.  
  738.         sFeeManData = sUserInfo & sOfficeInfo & sAddrInfo & sFeeInfo
  739.     End If
  740.  
  741.     sRealManUserInfo = gsRealUserName & "|" & gsRealUserPID & "|"
  742.     sRealManAddrInfo = gsRealUserZipCode & "|" & gsRealUserAddr1 & "|" & gsRealUserAddr2 & "|" & gsRealUserPhone & "|" & gsRealUserPager & "|"
  743.     sRealManInfo = sRealManUserInfo & sRealManAddrInfo
  744.  
  745.     sUserInfoData = sSvrData & sFeeData & sFeeManData & sRealManInfo
  746.     sCommand = "VBOP SND_USERINFO|" & sUserInfoData
  747.  
  748.     SetWait 1
  749.  
  750.     OnSendBrowser sCommand
  751. End Sub
  752.  
  753. Private Sub InfoUserInfoProc(sNotifyData, iNotifyDataLen)
  754.     SetWait 0
  755.  
  756.     If GetToken(sNotifyData, iNotifyDataLen, "|", 1) = "NO" Then
  757.         sMsg = GetToken(sNotifyData, iNotifyDataLen, "|", 2)
  758.         OnMsgBox sMsg, "╗τ┐δ└┌┴ñ║╕ └╬┴⌡ ┐└╖∙", vbCritical
  759.     Else
  760.         gsEndMsg = GetToken(sNotifyData, iNotifyDataLen, "|", 2)
  761.         OnNextPage
  762.     End if
  763. End Sub
  764.  
  765.