프리샵 추가
This commit is contained in:
13
shop/bannerhit.php
Normal file
13
shop/bannerhit.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
|
||||
if ($_COOKIE[ck_bn_id] != $bn_id)
|
||||
{
|
||||
$sql = " update $g4[yc4_banner_table] set bn_hit = bn_hit + 1 where bn_id = '$bn_id' ";
|
||||
sql_query($sql);
|
||||
// 하루 동안
|
||||
setcookie("ck_bn_id", $bn_id, 60*60*24, $default[de_cookie_dir], $default[de_cookie_domain]);
|
||||
}
|
||||
|
||||
goto_url($url);
|
||||
?>
|
||||
Reference in New Issue
Block a user