영카트 [YC4] 쇼핑몰 상단, 하단 입력함수
페이지 정보
본문
상단 로그인관련
<?php if ($is_member) { ?><a href="<?php echo $g4[bbs_path]; ?>/logout.php">로그아웃</a> |
<a href="<?php echo $g4[bbs_path]; ?>/member_confirm.php?url=https://www.happyjung.com/bbs/register_form.php#038;quot;>정보수정</a> |
<?php } else { ?><a href="<?php echo $g4[bbs_path]; ?>/login.php?url=<?php echo $urlencode; ?>">로그인</a> |
<a href="<?php echo $g4[bbs_path]; ?>/register.php">회원가입</a> | <?php } ?>
<a href="<?php echo $g4[shop_path]; ?>/cart.php">장바구니<span class="small">(<?php echo get_cart_count(get_session('ss_on_uid')); ?>)</span></a> |
<a href="<?php echo $g4[shop_path]; ?>/orderinquiry.php">주문조회</a> |
<a href="<?php echo $g4[shop_path]; ?>/onlinecalc.php">온라인견적</a> |
<a href="<?php echo $g4[shop_path]; ?>/faq.php">FAQ</a> |
<a href="<?php echo $g4[shop_path]; ?>/mypage.php">마이페이지</a>
검색관련
<form style="margin: 0px" name=frmsearch1 onsubmit="return search_submit(this);">
<input type="hidden" value="wr_subject||wr_content" name="sfl" />
<input type="hidden" value="and" name="sop" />
<input type="hidden" name="stx" />
<select class="small" id="search_flag" name="search_flag">
<option value="상품" selected>상품</option>
<opton value="게시판">게시판</option>
</select>
<input class="ed" value="<?php echo stripslashes(get_text($search_str)); ?>" name="search_str" />
<input type="image" src="<?php echo $g4[path]; ?>/img/btn_search.gif" align="absMiddle" border="0" />
</form>
<script>
function search_submit(f) {
if (f.search_flag.value == '상품') {
f.action = '<?=$g4[shop_path]?>/search.php';
} else {
f.stx.value = f.search_str.value;
f.action = '<?=$g4[bbs_path]?>/search.php';
}
}
<?php
if ($search_flag) {
echo "document.getElementById('search_flag').value = '$search_flag';";
}
?>
</script>
하단 카피라이터 관련
https://www.happyjung.com/bbs/board.php?bo_table=lecture&wr_id=309
<?php if ($is_member) { ?><a href="<?php echo $g4[bbs_path]; ?>/logout.php">로그아웃</a> |
<a href="<?php echo $g4[bbs_path]; ?>/member_confirm.php?url=https://www.happyjung.com/bbs/register_form.php#038;quot;>정보수정</a> |
<?php } else { ?><a href="<?php echo $g4[bbs_path]; ?>/login.php?url=<?php echo $urlencode; ?>">로그인</a> |
<a href="<?php echo $g4[bbs_path]; ?>/register.php">회원가입</a> | <?php } ?>
<a href="<?php echo $g4[shop_path]; ?>/cart.php">장바구니<span class="small">(<?php echo get_cart_count(get_session('ss_on_uid')); ?>)</span></a> |
<a href="<?php echo $g4[shop_path]; ?>/orderinquiry.php">주문조회</a> |
<a href="<?php echo $g4[shop_path]; ?>/onlinecalc.php">온라인견적</a> |
<a href="<?php echo $g4[shop_path]; ?>/faq.php">FAQ</a> |
<a href="<?php echo $g4[shop_path]; ?>/mypage.php">마이페이지</a>
검색관련
<form style="margin: 0px" name=frmsearch1 onsubmit="return search_submit(this);">
<input type="hidden" value="wr_subject||wr_content" name="sfl" />
<input type="hidden" value="and" name="sop" />
<input type="hidden" name="stx" />
<select class="small" id="search_flag" name="search_flag">
<option value="상품" selected>상품</option>
<opton value="게시판">게시판</option>
</select>
<input class="ed" value="<?php echo stripslashes(get_text($search_str)); ?>" name="search_str" />
<input type="image" src="<?php echo $g4[path]; ?>/img/btn_search.gif" align="absMiddle" border="0" />
</form>
<script>
function search_submit(f) {
if (f.search_flag.value == '상품') {
f.action = '<?=$g4[shop_path]?>/search.php';
} else {
f.stx.value = f.search_str.value;
f.action = '<?=$g4[bbs_path]?>/search.php';
}
}
<?php
if ($search_flag) {
echo "document.getElementById('search_flag').value = '$search_flag';";
}
?>
</script>
하단 카피라이터 관련
https://www.happyjung.com/bbs/board.php?bo_table=lecture&wr_id=309
댓글목록
등록된 댓글이 없습니다.