<% ' ' ' %> <% main() Sub main() If Not(SessionCheck()) Then Exit Sub End If Dim TorihikisakiCD Dim PageType Dim ViewMode Dim RowCount, RowBreakNum Dim TyohyoHeader, TableHeader, TableFooter RowBreakNum = 1 RowCount = 0 TorihikisakiCD = Request("TorihikisakiCD") PageType = Request("PageType") ViewMode = Request("ViewMode") Dim Label If PageType = "Urikake" Then Label = "売掛金元帳" Else Label = "買掛金元帳" End If Dim BunsyoSyuruiCD Dim Title If PageType = "Urikake" Then Title = "売掛金元帳" BunsyoSyuruiCD ="ME" Else Title = "買掛金元帳" BunsyoSyuruiCD ="MF" End If Dim RouteType RouteType = Request("RouteType") Dim AutoPrint AutoPrint = Request("AutoPrint") %> <% = HtmlHeader("sj3tyobored11") %> onLoad="PrintoutReal();"<% End If %> bgcolor="#5C70B6" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <% If ViewMode = "All" Then RouteType = "ViewOnly" End If If InStr(RouteType, "ViewOnly") > 0 Then Response.Write(HtmlDesign(4)) ElseIf InStr(RouteType, "HojyoboOnly") > 0 Then Response.Write(HtmlDesign(2)) Else Response.Write(HtmlDesign(1)) End If Response.Write(HttpL1(3)) If InStr(RouteType, "ViewOnly") > 0 Then Response.Write(HttpL2("照会・集計ウィンドウ" ,"tblbtn( '/" & HomeAlias & "/user/bk/menu_s_viewonly.asp')", "経理部", "", "補助簿", "", Label, "", "", "", "", "")) ElseIf InStr(RouteType, "HojyoboOnly") > 0 Then Response.Write(HttpL2("補助簿ウィンドウ" ,"tblbtn( '/" & HomeAlias & "/user/bk/menu_s12.asp?RouteType=" & RouteType & "')", Label, "", "", "", "", "","", "", "", "")) ElseIf PackageMode = 1 Then Response.Write(HttpL2("メインメニュー" ,"tblbtn('/" & HomeAlias & "/user/bk/menu_cyac.asp')", "手入力帳簿", "tblbtn( '/" & HomeAlias & "/user/bk/menu_cyac3.asp')", Label, "", "", "", "", "", "", "")) Else Response.Write(HttpL2("会社選択" ,"tblbtn( '/" & HomeAlias & "/user/bk/')", GB_GyosyuMeisyo, "tblbtn( '/" & HomeAlias & "/user/bk/menu_" & GB_Gyosyu & ".asp')", "経理部", "tblbtn( '/" & HomeAlias & "/user/bk/menu_s1.asp')", "帳簿", "tblbtn( '/" & HomeAlias & "/user/bk/menu_s12.asp')", Label, "tblbtn( '/" & HomeAlias & "/user/bk/hojyobo/fk_urikaikakekintyo.asp?PageType=" & PageType & "')", "", "")) End If Response.Write(HttpL3("", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "")) Response.Write(HttpL3_1("印刷", "PrintoutReal()", "", "", "", "", "", "", "", "")) If InStr(RouteType, "ViewOnly") > 0 Then Response.Write(HttpL3_2("", "", "", "", "", "", "", "", "", "")) ElseIf PackageMode = 1 Then Response.Write(HttpL3_2("入力", "tblbtn( 'fk_urikaikakekintyo.asp?RouteType=" & RouteType & "&PageType=" & PageType & "&TorihikisakiCD=" & TorihikisakiCD & "')", "", "", "", "", "", "", "", "")) Else Response.Write(HttpL3_2("入力", "tblbtn( 'fk_urikaikakekintyo.asp?RouteType=" & RouteType & "&PageType=" & PageType & "&TorihikisakiCD=" & TorihikisakiCD & "')", "取引先別残高一覧", "wopen('fk_urikaikakekintyo_view.asp?RouteType=" & RouteType & "&PageType=" & PageType & "&TorihikisakiCD=" & TorihikisakiCD & "&ViewMode=All','syoukai')", "", "", "", "", "", "")) End If If InStr(RouteType, "ViewOnly") > 0 And TorihikisakiCD = "" Then Response.Write(HttpL4(Label, "取引先別残高一覧")) Else Response.Write(HttpL4(Label, "")) End If If ViewMode = "All" Then TorihikisakiCD = "" End If %> <% = HtmlFooter %> <% End Sub %>