<!-- #include file="../include/jwheader.asp" -->
<% Patt=3 %>
<!-- #include file="../include/security-vb.inc" -->
<!-- =====================================================================
 ESMPRO/JMSS Web Client Version 6.0
 Copyright (C) NEC Corporation/NEC Soft, Ltd. 2001 All rights reserved.
====================================================================== -->

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>private</title>
<link rel="stylesheet" type="text/css" href="../include/jmss.css">

<%
'*******************************************************************************
'********** COM access & initialize ********************************************
On Error Resume Next

If IsObject(Session("JMSSWEB_conn")) Then
    Set conn = Session("JMSSWEB_conn")
Else
    Set conn = Server.CreateObject("ADODB.Connection")
    Set Session("JMSSWEB_conn") = conn
End If

conn.Errors.Clear
ErrCnt = 0
conn.Open("DSN=JMSSWEB")

ServerName = Session("jserver")
UserName = Session("userName")

If Request.Form("hide") = "submit_click" And ErrCnt = 0 Then
'*******************************************************************************
'********** Submit statement ***************************************************
On Error Resume Next
conn.Errors.Clear
ErrCnt = 0
ErrUser = 0
ErrJLook = 0
ErrJMenu = 0
ErrJNet = 0
conn.BeginTrans

'********** Request data get ***********************
look_pageline = Request.Form("logCountPerPage")
look_startyymmdd = Request.Form("startDate")
look_renewtimeval = Request.Form("updateCycle")
look_sorttypeval = Request.Form("logSort")
menu_bgcolorr = Request.Form("bgR")
menu_bgcolorg = Request.Form("bgG")
menu_bgcolorb = Request.Form("bgB")
menu_buttonszh = Request.Form("btnHeight")
menu_buttonszw = Request.Form("btnWidth")
menu_buttonlpart = Request.Form("btnLpart")
menu_startcheckval = Request.Form("startCheck")
net_viewmodeval = Request.Form("boxView")
net_nametypeval = Request.Form("boxTitle")

'***** jlook data *****
If look_startyymmdd = "" Then
    look_startyear = 0
    look_startmonth = 0
    look_startday = 0
Else
    dateArray = Split(look_startyymmdd, "/")
    look_startyear = dateArray(0)
    look_startmonth = dateArray(1)
    look_startday = dateArray(2)
End If
If look_renewtimeval = "" Then
    look_renewtime = 0
Else
    look_renewtime = look_renewtimeval
End If
If look_sorttypeval = "sortOld1" Then
    look_sorttype = 1
Else
    look_sorttype = 0
End If

'***** jsche data *****

'***** jmenu data *****
If menu_startcheckval = "checkOf1" Then
    menu_startcheck = 1
Else
    menu_startcheck = 0
End If

'***** jnet data *****
If net_viewmodeval = "viewI1" Then
    net_viewmode = 1
ElseIf net_viewmodeval = "viewNI2" Then
    net_viewmode = 2
Else
    net_viewmode = 0
End If
If net_nametypeval = "nameJ1" Then
    net_nametype = 1
Else
    net_nametype = 0
End If

If ErrCnt = 0 Then
'********** SQL statement **********************************
sqlWhere = " WHERE USER_ID='" & UserName & "' AND SERVER_ID='" & ServerName & "'"

'********** "jmss_user" table write ************************
sql = "SELECT * FROM jmss_user" & sqlWhere

Set rsUser = Server.CreateObject("ADODB.Recordset")
rsUser.Open sql, conn, 3, 1, 1    'adOpenStatic, adLockReadOnly, adCmdText

'Can't access to JMSSWEB.MDB
user_userid = ""
If rsUser.RecordCount >= 1 Then
    user_userid = rsUser("USER_ID")
Else
    user_userid = UserName
End If
If user_userid = "" Then
    ErrCnt = 1
    ErrUser = 9
End If

If rsUser.RecordCount >= 1 Then
    sql = "UPDATE jmss_user SET "
    sql = sql & "DEL_FLG=1,"
    sql = sql & "REG_DATE='" & Now() & "'"
    sql = sql & sqlWhere
Else
    sql = "INSERT INTO jmss_user(USER_ID,SERVER_ID,DEL_FLG,REG_DATE) VALUES("
    sql = sql & "'" & UserName & "',"
    sql = sql & "'" & ServerName & "',"
    sql = sql & "1,"
    sql = sql & "'" & Now() & "')"
End If
conn.Execute sql, reccnt, 1    'adCmdText
If conn.Errors.Count <> 0 Then
    ErrCnt = 1
    ErrUser = 9
End If
End If   'If ErrCnt

If ErrCnt = 0 Then
'********** "jmss_jlook" table write ***********************
sql = "SELECT * FROM jmss_jlook" & sqlWhere

Set rsLook = Server.CreateObject("ADODB.Recordset")
rsLook.Open sql, conn, 3, 1, 1

If rsLook.RecordCount >= 1 Then
    sql = "UPDATE jmss_jlook SET "
    sql = sql & "DEL_FLG=1,"
    sql = sql & "PAGE_LINE=" & look_pageline & ","
    sql = sql & "START_YEAR=" & look_startyear & ","
    sql = sql & "START_MONTH=" & look_startmonth & ","
    sql = sql & "START_DAY=" & look_startday & ","
    sql = sql & "RENEW_TIME=" & look_renewtime & ","
    sql = sql & "SORT_TYPE=" & look_sorttype
    sql = sql & sqlWhere
Else
    sql = "INSERT INTO jmss_jlook(USER_ID,SERVER_ID,DEL_FLG,PAGE_LINE,START_YEAR,START_MONTH,START_DAY,RENEW_TIME,SORT_TYPE) VALUES("
    sql = sql & "'" & UserName & "',"
    sql = sql & "'" & ServerName & "',"
    sql = sql & "1,"
    sql = sql & look_pageline & ","
    sql = sql & look_startyear & ","
    sql = sql & look_startmonth & ","
    sql = sql & look_startday & ","
    sql = sql & look_renewtime & ","
    sql = sql & look_sorttype & ")"
End If
conn.Execute sql, reccnt, 1
If conn.Errors.Count <> 0 Then
    ErrCnt = 1
    ErrJLook = 9
End If
End If   'If ErrCnt

If ErrCnt = 0 Then
'********** "jmss_jmenu" table write ***********************
sql = "SELECT * FROM jmss_jmenu" & sqlWhere

Set rsMenu = Server.CreateObject("ADODB.Recordset")
rsMenu.Open sql, conn, 3, 1, 1

If rsMenu.RecordCount >= 1 Then
    sql = "UPDATE jmss_jmenu SET "
    sql = sql & "DEL_FLG=1,"
    sql = sql & "BGCOLOR_R='" & menu_bgcolorr & "',"
    sql = sql & "BGCOLOR_G='" & menu_bgcolorg & "',"
    sql = sql & "BGCOLOR_B='" & menu_bgcolorb & "',"
    sql = sql & "BUTTON_SZ_H=" & menu_buttonszh & ","
    sql = sql & "BUTTON_SZ_W=" & menu_buttonszw & ","
    sql = sql & "BUTTON_LPART=" & menu_buttonlpart & ","
    sql = sql & "START_CHECK=" & menu_startcheck
    sql = sql & sqlWhere
Else
    sql = "INSERT INTO jmss_jmenu(USER_ID,SERVER_ID,DEL_FLG,BGCOLOR_R,BGCOLOR_G,BGCOLOR_B,BUTTON_SZ_H,BUTTON_SZ_W,BUTTON_LPART,START_CHECK) VALUES("
    sql = sql & "'" & UserName & "',"
    sql = sql & "'" & ServerName & "',"
    sql = sql & "1,"
    sql = sql & "'" & menu_bgcolorr & "',"
    sql = sql & "'" & menu_bgcolorg & "',"
    sql = sql & "'" & menu_bgcolorb & "',"
    sql = sql & menu_buttonszh & ","
    sql = sql & menu_buttonszw & ","
    sql = sql & menu_buttonlpart & ","
    sql = sql & menu_startcheck & ")"
End If
conn.Execute sql, reccnt, 1
If conn.Errors.Count <> 0 Then
    ErrCnt = 1
    ErrJMenu = 9
End If
End If   'If ErrCnt

If ErrCnt = 0 Then
'********** "jmss_jnet" table write ************************
sql = "SELECT * FROM jmss_jnet" & sqlWhere

Set rsNet = Server.CreateObject("ADODB.Recordset")
rsNet.Open sql, conn, 3, 1, 1

If rsNet.RecordCount >= 1 Then
    sql = "UPDATE jmss_jnet SET "
    sql = sql & "DEL_FLG=1,"
    sql = sql & "VIEW_MODE=" & net_viewmode & ","
    sql = sql & "NAME_TYPE=" & net_nametype
    sql = sql & sqlWhere
Else
    sql = "INSERT INTO jmss_jnet(USER_ID,SERVER_ID,DEL_FLG,VIEW_MODE,NAME_TYPE) VALUES("
    sql = sql & "'" & UserName & "',"
    sql = sql & "'" & ServerName & "',"
    sql = sql & "1,"
    sql = sql & net_viewmode & ","
    sql = sql & net_nametype & ")"
End If
conn.Execute sql, reccnt, 1
If conn.Errors.Count <> 0 Then
    ErrCnt = 1
    ErrJNet = 9
End If
End If   'If ErrCnt

'********** close (commit / rollback) **********************
%>
<script language="JavaScript">
<!--
<%
If ErrCnt = 0 Then
    conn.CommitTrans
%>
    alert("o^܂B");
<%
Else
    conn.RollbackTrans
%>
    alert("lݒ̓o^Ɏs܂B");
<%
End If
%>
// -->
</script>
<%

rsUser.Close
rsLook.Close
rsMenu.Close
rsNet.Close

End If   'If submit&ErrCnt

If ErrCnt = 0 Then
'*******************************************************************************
'********** Response statement *************************************************
On Error Resume Next
conn.Errors.Clear
ErrCnt = 0

'********** SQL statement **********************************
sqlWhere = " WHERE USER_ID='" & UserName & "' AND SERVER_ID='" & ServerName & "' AND DEL_FLG=1"

'********** "jmss_user" table read *************************
sql = "SELECT * FROM jmss_user" & sqlWhere

Set rsUser = Server.CreateObject("ADODB.Recordset")
rsUser.Open sql, conn, 3, 1, 1
If conn.Errors.Count <> 0 Then
    ErrCnt = 1
End If

'Can't access to JMSSWEB.MDB
user_userid = ""
If rsUser.RecordCount >= 1 Then
    user_userid = rsUser("USER_ID")
Else
    user_userid = UserName
End If
If user_userid = "" Then
    ErrCnt = 1
End If

'********** "jmss_jlook" table read ************************
sql = "SELECT * FROM jmss_jlook" & sqlWhere

Set rsLook = Server.CreateObject("ADODB.Recordset")
rsLook.Open sql, conn, 3, 1, 1
If conn.Errors.Count <> 0 Then
    ErrCnt = 1
End If

If rsLook.RecordCount >= 1 Then
    look_pageline = rsLook("PAGE_LINE")
    look_startyear = rsLook("START_YEAR")
    look_startmonth = rsLook("START_MONTH")
    look_startday = rsLook("START_DAY")
    look_renewtime = rsLook("RENEW_TIME")
    look_sorttype = rsLook("SORT_TYPE")
Else
    look_pageline = 10
    look_startyear = 0
    look_startmonth = 0
    look_startday = 0
    look_renewtime = 0
    look_sorttype = 0
End If
If look_startyear = 0 Or look_startmonth = 0 Or look_startday = 0 Then
    look_startyymmdd = ""
Else
    look_startyymmdd = look_startyear & "/" & look_startmonth & "/" & look_startday
End If
If look_renewtime = 0 Then
    look_renewtimeval = ""
Else
    look_renewtimeval = look_renewtime
End If

'********** "jmss_jmenu" table read ************************
sql = "SELECT * FROM jmss_jmenu" & sqlWhere

Set rsMenu = Server.CreateObject("ADODB.Recordset")
rsMenu.Open sql, conn, 3, 1, 1
If conn.Errors.Count <> 0 Then
    ErrCnt = 1
End If

If rsMenu.RecordCount >= 1 Then
    menu_bgcolorr = rsMenu("BGCOLOR_R")
    menu_bgcolorg = rsMenu("BGCOLOR_G")
    menu_bgcolorb = rsMenu("BGCOLOR_B")
    menu_buttonszh = rsMenu("BUTTON_SZ_H")
    menu_buttonszw = rsMenu("BUTTON_SZ_W")
    menu_buttonlpart = rsMenu("BUTTON_LPART")
    menu_startcheck = rsMenu("START_CHECK")
Else
    menu_bgcolorr = 255
    menu_bgcolorg = 255
    menu_bgcolorb = 255
    menu_buttonszh = 100
    menu_buttonszw = 100
    menu_buttonlpart = 3
    menu_startcheck = 0
End If

'********** "jmss_jnet" table read *************************
sql = "SELECT * FROM jmss_jnet" & sqlWhere

Set rsNet = Server.CreateObject("ADODB.Recordset")
rsNet.Open sql, conn, 3, 1, 1
If conn.Errors.Count <> 0 Then
    ErrCnt = 1
End If

If rsNet.RecordCount >= 1 Then
    net_viewmode = rsNet("VIEW_MODE")
    net_nametype = rsNet("NAME_TYPE")
Else
    net_viewmode = 0
    net_nametype = 0
End If

'********** close ******************************************
If ErrCnt <> 0 Or user_userid = "" Then
%>
<script language="JavaScript">
<!--
        alert("lݒ̎擾Ɏs܂B");
// -->
</script>
<%
End If

rsUser.Close
rsLook.Close
rsMenu.Close
rsNet.Close

End If   'If ErrCnt(Response OK)

conn.Close
Set conn = Nothing
%>

<script language="JavaScript">
<!--
//******************************************************************************
//********* JavaScript *********************************************************

function SubmitClick()
{
    var errCnt = 0;
    var errUser = 0;
    var errJLook = 0;
    var errJMenu = 0;
    var errJNet = 0;

//********** data check ***********************

//***** jlook data *****
    if (document.userIniForm.updateCycle.value != "") {
        if (!document.userIniForm.updateCycle.value.match(" ")) {
            if (!isNaN(document.userIniForm.updateCycle.value)) {
                if (document.userIniForm.updateCycle.value < 10 || document.userIniForm.updateCycle.value > 3600) {
                    errJLook = 3;
                }
                else if (document.userIniForm.updateCycle.value != parseInt(document.userIniForm.updateCycle.value,10)) {
                    errJLook = 3;
                }
            }
            else {
                errJLook = 3;
            }
        }
        else {
            errJLook = 3;
        }
    }
    if (document.userIniForm.startDate.value != "") {
        dateArray = new Array();
        dateArray = document.userIniForm.startDate.value.split("/");
        if (dateArray.length == 3) {
            var startyear = dateArray[0];
            var startmonth = dateArray[1];
            var startday = dateArray[2];
            if (startyear.length != 4) {
                errJLook = 2;
            }
            else if (startyear < 1994 || startyear > 2019) {
                errJLook = 2;
            }
            else if (startmonth == 1 || startmonth == 3 || startmonth == 5 || startmonth == 7 || startmonth == 8 || startmonth == 10 || startmonth == 12) {
                if (startday < 1 || startday > 31) {
                    errJLook = 2;
                }
            }
            else if (startmonth == 4 || startmonth == 6 || startmonth == 9 || startmonth == 11) {
                if (startday < 1 || startday > 30) {
                    errJLook = 2;
                }
            }
            else if (startmonth == 2) {
                if (startyear % 4 == 0 && startyear % 100 != 0 || startyear % 400 == 0) {
                    if (startday < 1 || startday > 29) {
                        errJLook = 2;
                    }
                }
                else {
                    if (startday < 1 || startday > 28) {
                        errJLook = 2;
                    }
                }
            }
            else {
                errJLook = 2;
            }
        }
        else {
            errJLook = 2;
        }
    }
    if (document.userIniForm.logCountPerPage.value != "") {
        if (!document.userIniForm.logCountPerPage.value.match(" ")) {
            if (!isNaN(document.userIniForm.logCountPerPage.value)) {
                if (document.userIniForm.logCountPerPage.value < 1 || document.userIniForm.logCountPerPage.value > 1000) {
                    errJLook = 1;
                }
                else if (document.userIniForm.logCountPerPage.value != parseInt(document.userIniForm.logCountPerPage.value,10)) {
                    errJLook = 1;
                }
            }
            else {
                errJLook = 1;
            }
        }
        else {
            errJLook = 1;
        }
    }
    else {
        errJLook = 1;
    }
    if (errJLook != 0) {
        errCnt = 1;
    }

//***** jsche data *****

//***** jmenu data *****
    if (document.userIniForm.btnLpart.value != "") {
        if (!document.userIniForm.btnLpart.value.match(" ")) {
            if (!isNaN(document.userIniForm.btnLpart.value)) {
                if (document.userIniForm.btnLpart.value < 1 || document.userIniForm.btnLpart.value > 40) {
                    errJMenu = 4;
                }
                else if (document.userIniForm.btnLpart.value != parseInt(document.userIniForm.btnLpart.value,10)) {
                    errJMenu = 4;
                }
            }
            else {
                errJMenu = 4;
            }
        }
        else {
            errJMenu = 4;
        }
    }
    else {
        errJMenu = 4;
    }
    if (document.userIniForm.btnHeight.value != "") {
        if (!document.userIniForm.btnHeight.value.match(" ")) {
            if (!isNaN(document.userIniForm.btnHeight.value)) {
                if (document.userIniForm.btnHeight.value < 34 || document.userIniForm.btnHeight.value > 200) {
                    errJMenu = 3;
                }
                else if (document.userIniForm.btnHeight.value != parseInt(document.userIniForm.btnHeight.value,10)) {
                    errJMenu = 3;
                }
            }
            else {
                errJMenu = 3;
            }
        }
        else {
            errJMenu = 3;
        }
    }
    else {
        errJMenu = 3;
    }
    if (document.userIniForm.btnWidth.value != "") {
        if (!document.userIniForm.btnWidth.value.match(" ")) {
            if (!isNaN(document.userIniForm.btnWidth.value)) {
                if (document.userIniForm.btnWidth.value < 34 || document.userIniForm.btnWidth.value > 200) {
                    errJMenu = 3;
                }
                else if (document.userIniForm.btnWidth.value != parseInt(document.userIniForm.btnWidth.value,10)) {
                    errJMenu = 3;
                }
            }
            else {
                errJMenu = 3;
            }
        }
        else {
            errJMenu = 3;
        }
    }
    else {
        errJMenu = 3;
    }
    if (document.userIniForm.bgB.value != "") {
        if (!document.userIniForm.bgB.value.match(" ")) {
            if (!isNaN(document.userIniForm.bgB.value)) {
                if (document.userIniForm.bgB.value < 0 || document.userIniForm.bgB.value > 255) {
                    errJMenu = 2;
                }
                else if (document.userIniForm.bgB.value != parseInt(document.userIniForm.bgB.value,10)) {
                    errJMenu = 2;
                }
            }
            else {
                errJMenu = 2;
            }
        }
        else {
            errJMenu = 2;
        }
    }
    else {
        errJMenu = 2;
    }
    if (document.userIniForm.bgG.value != "") {
        if (!document.userIniForm.bgG.value.match(" ")) {
            if (!isNaN(document.userIniForm.bgG.value)) {
                if (document.userIniForm.bgG.value < 0 || document.userIniForm.bgG.value > 255) {
                    errJMenu = 2;
                }
                else if (document.userIniForm.bgG.value != parseInt(document.userIniForm.bgG.value,10)) {
                    errJMenu = 2;
                }
            }
            else {
                errJMenu = 2;
            }
        }
        else {
            errJMenu = 2;
        }
    }
    else {
        errJMenu = 2;
    }
    if (document.userIniForm.bgR.value != "") {
        if (!document.userIniForm.bgR.value.match(" ")) {
            if (!isNaN(document.userIniForm.bgR.value)) {
                if (document.userIniForm.bgR.value < 0 || document.userIniForm.bgR.value > 255) {
                    errJMenu = 2;
                }
                else if (document.userIniForm.bgR.value != parseInt(document.userIniForm.bgR.value,10)) {
                    errJMenu = 2;
                }
            }
            else {
                errJMenu = 2;
            }
        }
        else {
            errJMenu = 2;
        }
    }
    else {
        errJMenu = 2;
    }
    if (errJMenu != 0) {
        errCnt = 1;
    }

//***** jnet data *****

//***** error check *****
    if (errJLook != 0) {
        if (errJLook == 1) {
            alert("Py[W̕\̒lsłBLȒl(1`1000)͂ĂB");
        }
        else if (errJLook == 2) {
            alert("\Jn̒lsłBLȒl͂ĂB");
        }
        else if (errJLook == 3) {
            alert("XVԊu̒lsłBLȒl(10`3600)͂ĂB");
        }
        return false;
    }
    else if (errJMenu != 0) {
        if (errJMenu == 2) {
            alert("wiF̒lsłBLȒl(0`255)͂ĂB");
        }
        else if (errJMenu == 3) {
            alert("{^TCY̒lsłBLȒl(34`200)͂ĂB");
        }
        else if (errJMenu == 4) {
            alert("P񒆂̃{^̒lsłBLȒl(1`40)͂ĂB");
        }
        return false;
    }
    else {
        document.userIniForm.hide.value = "submit_click";
//        document.userIniForm.submit();
        return true;
    }
}

// -->
</script>

<script src="../include/functions.js"></script>
</head>
<body class="data">

<!-- main -->
<table border="0" width="100%" cellspacing="0" cellpadding="4">
  <tr>
    <td valign="top" bgcolor="white">
      <form method="POST" action="private.asp" name="userIniForm" onSubmit="return SubmitClick()">
        <table border="0" width="100%" cellspacing="1" cellpadding="2">
          <tr>
            <td width="100%" bgcolor="#4080C0" nowrap><b><font color="#FFFFFF">O\</font></b></td>
          </tr>
          <tr>
            <td width="100%">
              <table border="0">
                <tr>
                  <td nowrap>1y[W̕\</td>
                  <td nowrap>
                    <input type="text" name="logCountPerPage" size="5" maxlength="4" value="<%=look_pageline%>"> 
                  </td>
                </tr>
                <tr>
                  <td nowrap>\Jn</td>
                  <td nowrap>
                    <input type="text" name="startDate" size="13" maxlength="10" value="<%=look_startyymmdd%>">
                    (yyyy/m/d` ܂ ݒ肵Ȃꍇ͖)
                  </td>
                </tr>
                <tr>
                  <td nowrap>XVԊu</td>
                  <td nowrap>
                    <input type="text" name="updateCycle" size="5" maxlength="4" value="<%=look_renewtimeval%>"> b
                    (<!-- 10 ` 3600 ͈̔͂œ́@ -->ݒ肵Ȃꍇ͖)
                  </td>
                </tr>
                <tr>
                  <td nowrap>\[g</td>
                  <td nowrap>
                  <% If look_sorttype = 1 Then %>
                    <input type="radio" name="logSort" value="sortNew0">V̂
                    <input type="radio" name="logSort" value="sortOld1" checked>Â̂
                  <% Else %>
                    <input type="radio" name="logSort" value="sortNew0" checked>V̂
                    <input type="radio" name="logSort" value="sortOld1">Â̂
                  <% End If %>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
<!--
          <tr>
            <td width="100%" bgcolor="#4080C0" nowrap><b><font color="#FFFFFF">XPW[\</font></b></td>
          </tr>
          <tr>
            <td width="100%">
              <table border="0">
                <tr>
                  <td nowrap>1y[W̕\</td>
                  <td nowrap>
                    <input type="text" name="schCountPerPage" size="3" maxlength="3" value="<%=sche_pageline%>"> 
                  </td>
                </tr>
              </table>
            </td>
          </tr>
-->
          <tr>
            <td width="100%" bgcolor="#4080C0" nowrap><b><font color="#FFFFFF">^pj[\</font></b></td>
          </tr>
          <tr>
            <td width="100%">
              <table border="0">
<!--
                <tr>
                  <td nowrap>j[t@C</td>
                  <td nowrap>
                    <input type="text" name="iniMenu" size="70" maxlength="255" value="<%=menu_startupmnu%>">
                  </td>
                </tr>
-->
                <tr>
                  <td nowrap>wiF</td>
                  <td nowrap>
                     <input type="text" name="bgR" size="3" maxlength="3" value="<%=menu_bgcolorr%>">
                     <input type="text" name="bgG" size="3" maxlength="3" value="<%=menu_bgcolorg%>">
                     <input type="text" name="bgB" size="3" maxlength="3" value="<%=menu_bgcolorb%>">
                  </td>
                </tr>
                <tr>
                  <td nowrap>{^TCY</td>
                  <td nowrap>
                     <input type="text" name="btnHeight" size="3" maxlength="3" value="<%=menu_buttonszh%>"> 
                     <input type="text" name="btnWidth" size="3" maxlength="3" value="<%=menu_buttonszw%>">
                  </td>
                </tr>
                <tr>
                  <td nowrap>1񒆂̃{^</td>
                  <td nowrap>
                    <input type="text" name="btnLpart" size="2" maxlength="2" value="<%=menu_buttonlpart%>">
                  </td>
                </tr>
                <tr>
                  <td nowrap>WuNmF</td>
                  <td nowrap>
                  <% If menu_startcheck = 1 Then %>
                    <input type="radio" name="startCheck" value="checkOn0"> 
                    <input type="radio" name="startCheck" value="checkOf1" checked>Ȃ
                  <% Else %>
                    <input type="radio" name="startCheck" value="checkOn0" checked> 
                    <input type="radio" name="startCheck" value="checkOf1">Ȃ
                  <% End If %>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td width="100%" bgcolor="#4080C0" nowrap><b><font color="#FFFFFF">Wulbg\</font></b></td>
          </tr>
          <tr>
            <td width="100%">
              <table border="0">
                <tr>
                  <td nowrap>\@</td>
                  <td nowrap>
                  <% If net_viewmode = 1 Then %>
                    <input type="radio" name="boxView" value="viewN0">̂̂ 
                    <input type="radio" name="boxView" value="viewI1" checked>ACR̂ 
                    <input type="radio" name="boxView" value="viewNI2">+ACR
                  <% ElseIf net_viewmode = 2 Then %>
                    <input type="radio" name="boxView" value="viewN0">̂̂ 
                    <input type="radio" name="boxView" value="viewI1">ACR̂ 
                    <input type="radio" name="boxView" value="viewNI2" checked>+ACR
                  <% Else %>
                    <input type="radio" name="boxView" value="viewN0" checked>̂̂ 
                    <input type="radio" name="boxView" value="viewI1">ACR̂ 
                    <input type="radio" name="boxView" value="viewNI2">+ACR
                  <% End If %>
                  </td>
                </tr>
                <tr>
                  <td nowrap>̕\</td>
                  <td nowrap>
                  <% If net_nametype = 1 Then %>
                    <input type="radio" name="boxTitle" value="nameG0">Ɩ 
                    <input type="radio" name="boxTitle" value="nameJ1" checked>Wu
                  <% Else %>
                    <input type="radio" name="boxTitle" value="nameG0" checked>Ɩ 
                    <input type="radio" name="boxTitle" value="nameJ1">Wu
                  <% End If %>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
        <p>
          <input type="hidden" value="hidden" name="hide">
          <input type="submit" value="o^" name="SubmitB">
          <input type="reset" value="LZ" name="ResetB">
        </p>
      </form>
    </td>
  </tr>
</table>

</body>
</html>
