프리샵 추가

This commit is contained in:
gnuboard
2013-01-25 11:48:46 +09:00
parent 52da376f32
commit 26088ece3b
583 changed files with 44699 additions and 0 deletions

13
shop/bannerhit.php Normal file
View 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);
?>