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
|
<?php include_once("./_common2.php");?> <? session_start(); ?> <? include("../../manage/category/pointordercommon.php");
$today = date("Ymd"); //¿À´Ã³¯Â¥ $todaytime = date("Y-m-d H:s:i"); //¿À´Ã³¯Â¥½Ã°£ºÐÃÊ $todayminute = date("ymdHs"); //¿À´Ã³¯Â¥½Ã°£ºÐ $todaysec = date("YmdHsi"); //¿À´Ã³¯Â¥½Ã°£ºÐÃÊ
$PointSQL = "SELECT curpoint FROM cust_cash WHERE id = '$st_uid'"; $PointResult = MYSQL_QUERY($PointSQL); $PointRow = MYSQL_FETCH_ARRAY($PointResult);
$mypoint = $PointRow[curpoint];
/* ----------¹®ÀÚ Àü¼Û -----------------------*/ if($rSMScheck == "on"){ //¹®ÀÚÀü¼ÛÀÌ onÀ̸é $smsnum = substr($rPhone,0,2); if($smsnum == "01"){ //¼ö½Å¹øÈ£°¡ 01·Î ½ÃÀÛÇϸé Àü¼Û if($mypoint < "170"){ //170¿øº¸´Ù ÀÛÀ»°æ¿ì °æ°í ?> <script type="text/javascript"> parent.senderror(2); </script> <? exit; } else { //±¹¼¼Ã»Àü¼Û ½ÃÀÛ ?> <script type="text/javascript"> parent.taxsendProcess(); </script> <? }
} else { //¼ö½Å¹øÈ£°¡ 01ÀÌ ¾Æ´Ï¸é °æ°í ?> <script type="text/javascript"> parent.senderror(1); </script> <?
}
/* ----------¹®ÀÚ ¹ÌÀü¼Û-----------------------*/ } else { //¹®ÀÚÀü¼ÛÀ» ¾ÈÇÒ°æ¿ì if($mypoint < "150"){ //170¿øº¸´Ù ÀÛÀ»°æ¿ì °æ°í ?> <script type="text/javascript"> parent.senderror(2); </script> <? exit; } else { //±¹¼¼Ã»Àü¼Û ½ÃÀÛ ?>
<script type="text/javascript"> parent.taxsendProcess(); </script> <? }
} ?>
|