/home/mjc1/public_html/html/millennium/include/common/topmenu.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<script language="javascript"> 
</SCRIPT>
<!-- 로그인 스크립트 ------------------------------------>
<script>
    function loginChk(){
      
      if( loginFrm.id.value == ''){
        alert("아이디를 입력하세요");
        loginFrm.id.focus();
        return;
      }
      if(loginFrm.passwd.value == ""){
        alert("비밀번호를 입력하세요");
        loginFrm.passwd.focus();
        return;;
      }
      loginFrm.submit();
    }

    function Msg(f,txt){
      alert(txt);
      if(f == 1){
        
        loginFrm.id.value = '';
        loginFrm.id.focus();
        
      }
      if(f== 2){
        
        loginFrm.passwd.value = '';
        loginFrm.passwd.focus();
      }
    }

    function inputSendit() {
      if(event.keyCode==13) {
        loginChk();
      }
    }

    function PageGo2(){
      //location.href = "https://www.mijinsoft.co.kr/html/millennium/intro.php";
      location.href = "../html/millennium/intro.php";
    }

    function logout(){
      
      login_ifm.location.href =  "../html/millennium/logout.php";
      
    }
    function goFindIdPw() {
      var wfind = window.open("../html/millennium/idpwfind.php","goFindIdPw","width=350,height=200");
      wfind.focus();
    }
</script>



<iframe name='login_ifm' width=0 height=0></iframe>
<form name='loginFrm' method='post' target='login_ifm' action='../html/millennium/loginProcess.php' onsubmit="loginChk(); return false">

                    
<table width="718" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
<!-- 로그인전----------------------------------------------------------------------->
    <?
    
if(  $_COOKIE[USERID] == "") {
    
?>
        <table width="210" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="61">
                <a style="cursor:pointer;" <?  
                
if(  $_COOKIE[USERID] !== "" && isset($_COOKIE[USERID])){ echo "onClick=\"location.href = 'https://www.mijinsoft.co.kr/html/millennium/intro.php'\"";
                } else{ 
                echo 
"onClick=\"javascript:window.open('../html/millennium/outlogin_intro.php','','width=420,height=350,menubar=no,location=no,toolbar=no,scrollbar=no')\"";} 
                
?>><img src="../../img/intro/topmenu01.gif" width="61" height="18" /></a>
            </td>    <!-- 로그인 -->
            <td width="64"><A HREF="join.php"><img src="../../img/intro/topmenu02.gif" width="64" height="18" /></A></td>    <!-- 회원가입 -->
            <td width="70"><A HREF="javascript:goFindIdPw()"><img src="../html/millennium/img/intro/topmenu03.gif" width="85" height="18" /></A></td>    <!-- 아이디 비밀번호 찾기 -->
          </tr>
        </table>

<!-- 로그인후----------------------------------------------------------------------->        
       <?
        
} else {
            
        
$memberQry     =  " select b.category_name from member a, cate3 b WHERE a.Mid = '$_COOKIE[USERID]' and a.Msw1 = b.category_code ";
        
$memberResult  =    mysql_query($memberQry);
        
$memberRow     =    mysql_fetch_array($memberResult);
        
$programName   =   explode("->"$memberRow[0]);
    
?>
         <table width="210" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="61">
                <a style="cursor:hand;" onClick="logout();"><img src="../html/millennium/intro/topmenu01_off.gif" width="61" height="18" /></a>
            </td>    <!-- 로그아웃 -->
            <td width="64"><a href="../html/memberout.php"><img src="../html/millennium/topmenu02_off.gif" width="64" height="18" /></a></td>    <!-- 회원탈퇴 -->
            <td width="70"><a href="../html/mypage.php"><img src="../html/millennium/mypage.php" width="85" height="18" /></a></td>    <!-- 내정보수정 -->
          </tr>
        </table>
    <?
       
}
    
?>

    </td>

    <td>
        <table width="508" border="0" align="right" cellpadding="0" cellspacing="0">
          <tr>
            <td width="20" border="0" cellspacing="0" cellpadding="0"></td>
            <td><a href='http://www.RCNT.net/mijin' target='_blank'><img src="../html/millennium/img/intro/toprightmenu01.gif" alt="" width="69" height="18" border="0"></a></td> <!-- 원격지원 -->
            <td><a href="../html/millennium/tax.php"><img src="../html/millennium/img/intro/toprightmenu02.gif" alt="" width="81" height="18" border="0"></a></td> <!-- 세금계산서발행 -->
            <td><a href="http://www.allthegate.com/hyosung/index.jsp" target='_blank'><img src="../html/millennium/img/intro/toprightmenu03.gif" alt="" width="63" height="18" border="0"></a></td><!-- 카드영수증 -->
            <td><a href="../html/millennium/dealer.php"><img src="../html/millennium/img/intro/toprightmenu04.gif" alt="" width="53" height="18" border="0"></a></td><!-- 딜러가입 -->
            <td><a href="../html/millennium/q&a.php"><img src="../html/millennium/img/intro/toprightmenu05.gif" alt="" width="58" height="18" border="0"></a></td><!-- 질문답변 -->
            <td><a href="../html/millennium/cost.php"><img src="../html/millennium/img/intro/toprightmenu06.gif" alt="" width="54" height="18" border="0"></a></td><!-- 견적요청 -->
            <td><a href="../html/millennium/movie.php"><img src="../html/millennium/img/intro/toprightmenu07.gif" alt="" width="63" height="18" border="0"></a></td><!-- 동영상강의-->
            <td><a href="../html/millennium/faq.php"><img src="../html/millennium/img/intro/toprightmenu08.gif" alt="" width="38" height="18" border="0"></a></td><!-- faq -->
          </tr>
        </table>
    </td>
  </tr>
</table>