/home/mjc1/public_html/manage/pointbriProcess.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
<?    
    
@session_start();
    @
extract($_REQUEST);
    @
extract($_SESSION);
include(
"../manage/category/pointcommon.php");

$checkdate date("Ymd",strtotime("-7 day")); 
$searchData "select rgst_dtm ,price from cash_fill where cust_id = '$_GET[pointid]'  and rgst_dtm between '$checkdate' and now() order by rgst_dtm desc limit 1 ";            //2012_09_13 ÃÖ¹üÈñ (ÃÖ±Ù 7Àϵ¿¾ÈÀÇ ÃæÀü³»¿ªÃ¼Å©)

$result       =    mysql_query($searchData);

if( 
mysql_num_rows($result) > 0){ //ÃæÀü³»¿ªÀÌ ÀÖÀ¸¸é
?>                    
<SCRIPT LANGUAGE="JavaScript">
    parent.fillOk();
</SCRIPT>
<?
    
} else {    //ÃæÀü³»¿ªÀÌ ¾øÀ¸¸é
?>
<SCRIPT LANGUAGE="JavaScript">
    parent.fillFail();
</SCRIPT>
<?
    
}
?>