header('P3P: CP="NOI CURa ADMa DEVa TAIa OUR DELa BUS IND PHY ONL UNI COM NAV INT DEM PRE"');
// include
include ("../bbs/header.php");
if ( $_SESSION['member']['id'] ) $log = 1; else $log = 0 ;
$memid = $_SESSION['member']['id'];
//ÇöÀç °ü¸® ÀÜ¿©ÀÏ ±¸Çϱâ
$query = " select
ifnull((case when unix_timestamp(now()) < unix_timestamp(care_startdate)
then ((unix_timestamp(lastdate) - unix_timestamp( care_startdate ))/3600)/24
else ((unix_timestamp(lastdate) - unix_timestamp( now() ))/3600)/24
end ),-1) as subday
from ( select a.no, a.name , a.add_frm9, a.add_frm10 , b.care_total_term , a.care_startdate
, a.care_startdate + interval b.care_total_term month as lastdate
from kport_mem_table a left outer join
(select pid , sum(term1) as care_total_term
from kport_care_expense_history
group by pid
) as b
on a.no = b.pid
, kport_mem_table c
where a.add_frm7 = c.no
and a.approval <= 1 AND a.grade = 9 and a.point ='C2' and a.id = ''
and c.id = '$memid'
) as ab ";
$temp12 = mysql_query($query);
$SUBDAY = mysql_fetch_object($temp12);
if( $SUBDAY->subday < 0 ) $layer_out = true; //°ü¸®ÀÜ¿©ÀÏÀÌ ³²Àº °æ¿ì
else $layer_out = false; //°ü¸®ÀÜ¿©ÀÏÀÌ ³²Áö ¾ÊÀº °æ¿ì
?>
::::¿µÈ¥ÀÇ º»°¡ ¾çÆò°ø¿ø::::
include ('../admin/inc/js_common.php');
?>
if( $layer_out == true ) {
?>
|
 |
 |
 |
±¸ºÐ |
1³â³³ |
3³â³³ |
5³â³³ |
ºñ°í |
¸í¼ö,±ÍÅä,ÀÏ¿ù
¹éÇÐ,À½¾ç¸¶À» |
144,000¿ø |
410,400¿ø |
648,000¿ø |
´ÜÀåÇü |
¼º½Å¸¶À» |
216,000¿ø |
615,600¿ø |
972,000¿ø |
ÇÕÀåÇü |
|
|
 |
}
?>
 |
// ·Î±×ÀÎ µÈ »óÅÂ
if ( $_SESSION['member']['id'] ) {
?>
|
|
|
=$_SESSION['member']['id']?>(=$_SESSION['member']['name']?>) ȸ¿ø´Ô
·Î±×ÀÎ Çϼ̽À´Ï´Ù.
|

|
|
 |
// ·Î±×ÀÎ µÇÁö ¾ÊÀº »óÅÂ
} else {
?>
}
?>
|
|
|
|
// NOTICE & NEWS
$FUNC->print_latest("","notice","5","park_cherish","15","55","Y-m-d","","");
?>
|
|
|
//disconnect
$CONN->disconnect();
?>