/home/mjc1/public_html/html/left_my.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
<table width="170" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td><A href= "mypage.php"  onmouseover= "chg(q1,'../img/mypage/left_m_01_on.gif')" onmouseOut= "chg(q1,'../img/mypage/left_m_01.gif')"><img src="../img/mypage/left_m_01.gif" name ="q1" width="170" height="30" border="0"></a></td>
  </tr>
  <tr> 
<?  
 $currentDay 
date('Y-m-d',Time());
  
 
$j_query  "select * from member where (Mdiv ='2' and  Mup ='1') and End_day > '$currentDay' and Mid = '$_COOKIE[USERID]'  ";
 
$j_result mysql_query($j_query);

 
$i_query  "select * from member where (Mdiv ='3' and  Mper ='1') and End_day > '$currentDay' and Mid = '$_COOKIE[USERID]' ";
 
$i_result  mysql_query($i_query);
  
  if( 
MYSQL_NUM_ROWS($j_result) > 0  || MYSQL_NUM_ROWS($i_result) > ){
   
        
$_link   =  "mypage_01.php";

     }
  else {
    
        
$_link   =  "javascript:alert('Á¤Ç°±¸¸ÅÀÚ°¡ ¾Æ´Ï°Å³ª Á¤Ç°ÀÎÁõ±â°£ÀÌ Áö³µ½À´Ï´Ù.');";
   
     }  
?>       
    <td><A href= "<?=$_link;?>"  onmouseover= "chg(q2,'../img/mypage/left_m_02_on.gif')" onmouseOut= "chg(q2,'../img/mypage/left_m_02.gif')"><img src="../img/mypage/left_m_02.gif" name ="q2" width="170" height="30" border="0"></a></td>
  </tr>
  <tr> 
    <td><A href= "mypage_03.php"  onmouseover= "chg(q3,'../img/mypage/left_m_04_on.gif')" onmouseOut= "chg(q3,'../img/mypage/left_m_04.gif')"><img src="../img/mypage/left_m_04.gif" name ="q3" width="170" height="30" border="0"></a></td>
  </tr>
  <!--
  <tr> 
    <td><A href= "mypage_04.php"  onmouseover= "chg(q4,'../img/mypage/left_m_05_on.gif')" onmouseOut= "chg(q4,'../img/mypage/left_m_05.gif')"><img src="../img/mypage/left_m_05.gif" name ="q4" width="170" height="30" border="0"></a></td>
  </tr>
  -->
  <!--tr> 
    <td><A href= "mypage_05.php"  onmouseover= "chg(q5,'../img/mypage/left_m_06_on.gif')" onmouseOut= "chg(q5,'../img/mypage/left_m_06.gif')"><img src="../img/mypage/left_m_06.gif" name ="q5" width="170" height="30" border="0"></a></td>
  </tr-->
</table>