쇼핑몰 아웃로그인에서 로그인 후 쇼핑몰에 머물도록 수정

This commit is contained in:
chicpro
2013-09-13 18:24:15 +09:00
parent 5ef2168e4b
commit 842ae0a818
6 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ include_once(G5_PATH.'/head.sub.php');
<script>
alert("<?php echo $msg; ?>");
document.location=g4_bbs_url+"/login.php?url=<?php echo $url; ?>";
document.location=g5_bbs_url+"/login.php?url=<?php echo $url; ?>";
</script>
<?php

View File

@ -34,7 +34,7 @@ function outlogin($skin_dir='basic')
$is_auth = true;
}
$outlogin_url = login_url();
$outlogin_url = login_url($urlencode);
$outlogin_action_url = G5_HTTPS_BBS_URL.'/login_check.php';
ob_start();

View File

@ -447,7 +447,7 @@ else
// 추천메일
function popup_item_recommend(it_id)
{
if (!g4_is_member)
if (!g5_is_member)
{
if (confirm("회원만 추천하실 수 있습니다."))
document.location.href = "<?php echo G5_BBS_URL; ?>/login.php?url=<?php echo urlencode(G5_SHOP_URL."/item.php?it_id=$it_id"); ?>";

View File

@ -55,7 +55,7 @@ $.fn.listType = function(type)
$("button.sct_lst_list span").addClass("sct_lst_on").html("<b class=\"sound_only\"> 선택됨</b>");
}
set_cookie("ck_itemlist<?php echo $ca_id; ?>_type", type, 1, g4_cookie_domain);
set_cookie("ck_itemlist<?php echo $ca_id; ?>_type", type, 1, g5_cookie_domain);
}
// 리스트 타입 쿠키가 있을 경우 바로 적용

View File

@ -36,7 +36,7 @@ $(function() {
var ck_name = id[1];
var exp_time = parseInt(id[2]);
$("#"+id[1]).css("display", "none");
set_cookie(ck_name, 1, exp_time, g4_cookie_domain);
set_cookie(ck_name, 1, exp_time, g5_cookie_domain);
});
$('.hd_pops_close').click(function() {
var idb = $(this).attr('class').split(' ');

View File

@ -279,7 +279,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 추천메일
function popup_item_recommend(it_id)
{
if (!g4_is_member)
if (!g5_is_member)
{
if (confirm("회원만 추천하실 수 있습니다."))
document.location.href = "<?php echo G5_BBS_URL; ?>/login.php?url=<?php echo urlencode(G5_SHOP_URL."/item.php?it_id=$it_id"); ?>";