쇼핑 중개몰 형태를 서비스 할 때 필요할 수 있는.. ^^;;; 정보
게시판 쇼핑 중개몰 형태를 서비스 할 때 필요할 수 있는.. ^^;;;첨부파일
본문
휴우.. 정말 용기를 내어 올려봅니다.. 고수님들께는 너무 쉬운 것이긴 한데 저같은 초보분들께 도움이 되셨으면 하는 거라서요^^;;
홈페이지를 오픈하다 보면, 오픈할 때 홍보 등 여러가지로 제휴 등을 맺어야 할 때가 많은데 쇼핑몰 같은 곳과 제휴할 때 서비스로 제공해 주면 어떨까 해서 올려봅니다.
기본 스킨으로 특이한 점은 없구요... 여분필드 2개 wr_8 과 wr_9 사용했습니다.
외부로 스크랩 기능을 빼놔서 외부 스크랩 가능하게 했구요...
관리자나 상품 등록자는 view.php 를 볼 수 있고, 나머지는 link 1(쇼핑몰 상품 URL) 로 갈 수 있게 코딩해 놓았습니다.
별볼일 없는 짜집기 스킨이지만, 처음이니 용서를^^;;;
좋은하루 되세요~
-----------------------------------------------------------------------------------------------------------------------------------
아참... 아래 소스는 scrap 기능을 상품 찜하기로 바꾸면서, /member/basic/scrap.skin.php 을 위 스킨 설정에 맞게 바꾼 소스 입니다. 그냥 scrap.skin.php 만 백업해 놓으셨다면.. 한번 재미삼아 테스트 해 보시는 것도^^;;;;;;;; 제가 쫌 많이 초보라.............;;;
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$g4[title] = "내 찜목록 보기";
?>
<!-- Line top start -->
<table width="570" cellpadding="0" cellspacing="0" border="0" align="center" style="margin:10px;">
<tr>
<td><img src="<?=$member_skin_path?>/img/out_bco01.gif" width="7" height="6"></td>
<td background="<?=$member_skin_path?>/img/out_bbg01.gif"></td>
<td><img src="<?=$member_skin_path?>/img/out_bco02.gif" width="6" height="6"></td>
</tr>
<tr>
<td background="<?=$member_skin_path?>/img/out_bbg02.gif"></td>
<td>
<!-- Line top end -->
<!-- Title start -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr height="28">
<td class="small">
<img src="<?=$member_skin_path?>/img/icon_dot01.gif" width="3" height="3" align="absmiddle" style="margin:0px 5px 2px 5px"><b><?=$g4[title]?></b>
</td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
<tr><td height="1" bgcolor="#E9E9E9"></td></tr>
<tr><td height="15"></td></tr>
</table>
<!-- Title end -->
<table width="557" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td height=380 valign="top">
<table width=100% cellpadding=0 cellspacing=1 border=0 bgcolor="#E9E9E9">
<tr height="36" bgcolor="#F6F6F6" align="center">
<td width="10%" height="24"><b>번호</b></td>
<td width="12%"><b>이미지</b></td>
<td width="60%"><b>상품내용</b></td>
<!---<td width="25%"><b>보관일시</b></td>--->
<td width="10%"><b>삭제</b></td>
</tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr style='background:#FFFFFF;' height="32" align="center">
<td><?=$list[$i][num]?></td>
<!--<td><a href="javascript:;" onclick="opener.document.location.href='<?=$list[$i][opener_href]?>';"><?=$list[$i][bo_subject]?></a></td>--->
<td>
<!---------------이미지를 나타내기 위함----------------------->
<!---
<?
// 미리보기 이미지사이즈
$img_w = "130";
$img_h = "90";
?>--->
<!--- <? echo "<a href='{$list[$i][href]}'><img src='' width='{$img_w}' height='{$img_h}' border='0'></a>"; ?>---->
<a href="javascript:;" onclick="window.open('<?=$list[$i][opener_href_wr_id]?>','_blank');"> <img src="../data/file/<?=$list[$i][bo_table]?>/thumb/<?=$list[$i][wr_id]?>" width="80" height="80" border="0"></a>
<!---------------이미지를 나타내기 위함(클릭시 무조건 상품 페이지로 이동----------------------->
</td>
<td align="left" style='word-break:break-all;'> <a href="javascript:;" onclick="window.open('<?=$list[$i][opener_href_wr_id]?>','_blank');"><?=$list[$i][content]?></a></td>
<!---<td><?=$list[$i][ms_datetime]?></td>--->
<td><a href="javascript:del('<?=$list[$i][del_href]?>');"><img src="<?=$member_skin_path?>/img/btn_delete.gif" width="38" height="18" border="0" align="absmiddle"></a></td>
</tr>
<? } ?>
<? if ($i == 0) echo "<tr style='background:#FFFFFF;'><td colspan=5 align=center height=100>등록된 찜 상품이 없습니다.</td></tr>"; ?>
</table>
</td>
</tr>
<tr><td height="10"></td></tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center"><?=get_paging($config[cf_write_pages], $page, $total_page, "?$qstr&page=");?></td>
</tr>
<? if ($total_page) {?>
<tr><td height="10"></td></tr>
<? } ?>
<tr>
<td align="center">
<a href="javascript:window.close();"><img src="<?=$member_skin_path?>/img/btn_close.gif" width="47" height="18" border="0"></a>
</td>
</tr>
</table>
<!-- Line bottom start -->
</td>
<td background="<?=$member_skin_path?>/img/out_bbg03.gif"></td>
</tr>
<tr>
<td><img src="<?=$member_skin_path?>/img/out_bco03.gif" width="7" height="6"></td>
<td background="<?=$member_skin_path?>/img/out_bbg04.gif"></td>
<td><img src="<?=$member_skin_path?>/img/out_bco04.gif" width="6" height="6"></td>
</tr>
<tr><td height="10"></td></tr>
</table>
<!-- Line bottom end -->
홈페이지를 오픈하다 보면, 오픈할 때 홍보 등 여러가지로 제휴 등을 맺어야 할 때가 많은데 쇼핑몰 같은 곳과 제휴할 때 서비스로 제공해 주면 어떨까 해서 올려봅니다.
기본 스킨으로 특이한 점은 없구요... 여분필드 2개 wr_8 과 wr_9 사용했습니다.
외부로 스크랩 기능을 빼놔서 외부 스크랩 가능하게 했구요...
관리자나 상품 등록자는 view.php 를 볼 수 있고, 나머지는 link 1(쇼핑몰 상품 URL) 로 갈 수 있게 코딩해 놓았습니다.
별볼일 없는 짜집기 스킨이지만, 처음이니 용서를^^;;;
좋은하루 되세요~
-----------------------------------------------------------------------------------------------------------------------------------
아참... 아래 소스는 scrap 기능을 상품 찜하기로 바꾸면서, /member/basic/scrap.skin.php 을 위 스킨 설정에 맞게 바꾼 소스 입니다. 그냥 scrap.skin.php 만 백업해 놓으셨다면.. 한번 재미삼아 테스트 해 보시는 것도^^;;;;;;;; 제가 쫌 많이 초보라.............;;;
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$g4[title] = "내 찜목록 보기";
?>
<!-- Line top start -->
<table width="570" cellpadding="0" cellspacing="0" border="0" align="center" style="margin:10px;">
<tr>
<td><img src="<?=$member_skin_path?>/img/out_bco01.gif" width="7" height="6"></td>
<td background="<?=$member_skin_path?>/img/out_bbg01.gif"></td>
<td><img src="<?=$member_skin_path?>/img/out_bco02.gif" width="6" height="6"></td>
</tr>
<tr>
<td background="<?=$member_skin_path?>/img/out_bbg02.gif"></td>
<td>
<!-- Line top end -->
<!-- Title start -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr height="28">
<td class="small">
<img src="<?=$member_skin_path?>/img/icon_dot01.gif" width="3" height="3" align="absmiddle" style="margin:0px 5px 2px 5px"><b><?=$g4[title]?></b>
</td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
<tr><td height="1" bgcolor="#E9E9E9"></td></tr>
<tr><td height="15"></td></tr>
</table>
<!-- Title end -->
<table width="557" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td height=380 valign="top">
<table width=100% cellpadding=0 cellspacing=1 border=0 bgcolor="#E9E9E9">
<tr height="36" bgcolor="#F6F6F6" align="center">
<td width="10%" height="24"><b>번호</b></td>
<td width="12%"><b>이미지</b></td>
<td width="60%"><b>상품내용</b></td>
<!---<td width="25%"><b>보관일시</b></td>--->
<td width="10%"><b>삭제</b></td>
</tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr style='background:#FFFFFF;' height="32" align="center">
<td><?=$list[$i][num]?></td>
<!--<td><a href="javascript:;" onclick="opener.document.location.href='<?=$list[$i][opener_href]?>';"><?=$list[$i][bo_subject]?></a></td>--->
<td>
<!---------------이미지를 나타내기 위함----------------------->
<!---
<?
// 미리보기 이미지사이즈
$img_w = "130";
$img_h = "90";
?>--->
<!--- <? echo "<a href='{$list[$i][href]}'><img src='' width='{$img_w}' height='{$img_h}' border='0'></a>"; ?>---->
<a href="javascript:;" onclick="window.open('<?=$list[$i][opener_href_wr_id]?>','_blank');"> <img src="../data/file/<?=$list[$i][bo_table]?>/thumb/<?=$list[$i][wr_id]?>" width="80" height="80" border="0"></a>
<!---------------이미지를 나타내기 위함(클릭시 무조건 상품 페이지로 이동----------------------->
</td>
<td align="left" style='word-break:break-all;'> <a href="javascript:;" onclick="window.open('<?=$list[$i][opener_href_wr_id]?>','_blank');"><?=$list[$i][content]?></a></td>
<!---<td><?=$list[$i][ms_datetime]?></td>--->
<td><a href="javascript:del('<?=$list[$i][del_href]?>');"><img src="<?=$member_skin_path?>/img/btn_delete.gif" width="38" height="18" border="0" align="absmiddle"></a></td>
</tr>
<? } ?>
<? if ($i == 0) echo "<tr style='background:#FFFFFF;'><td colspan=5 align=center height=100>등록된 찜 상품이 없습니다.</td></tr>"; ?>
</table>
</td>
</tr>
<tr><td height="10"></td></tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center"><?=get_paging($config[cf_write_pages], $page, $total_page, "?$qstr&page=");?></td>
</tr>
<? if ($total_page) {?>
<tr><td height="10"></td></tr>
<? } ?>
<tr>
<td align="center">
<a href="javascript:window.close();"><img src="<?=$member_skin_path?>/img/btn_close.gif" width="47" height="18" border="0"></a>
</td>
</tr>
</table>
<!-- Line bottom start -->
</td>
<td background="<?=$member_skin_path?>/img/out_bbg03.gif"></td>
</tr>
<tr>
<td><img src="<?=$member_skin_path?>/img/out_bco03.gif" width="7" height="6"></td>
<td background="<?=$member_skin_path?>/img/out_bbg04.gif"></td>
<td><img src="<?=$member_skin_path?>/img/out_bco04.gif" width="6" height="6"></td>
</tr>
<tr><td height="10"></td></tr>
</table>
<!-- Line bottom end -->
추천
1
1
댓글 전체
멋지네요
좋은 스킨 감사합니다.
사용 할게요
좋은 스킨 감사합니다.
사용 할게요

고생하셨습니다.
감사합니다
고생하셨습니다.
감사합니다~
감사합니다
굿~

고생많으셨어요ㅎ
good
카뱅크
와우 제게 정말로 필요한거네요!! 이제서야 찾게되었다는^^;;
list.skin.php 213줄 419줄 오류 나길래 지웠더니 잘 되네요^^;;

제가 찾던거네요...감사합니다.
찜목록 사진까지 나오네요 감사합니다.
