웹프로그래밍

Global It Leader!!


그누보드


 
 

관리자페이지의 약관, 개인정보취급방침을 일반 페이지에서 사용하기

페이지 정보

작성자 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 댓글 0건 조회 3,915회 작성일 12-11-29 10:27

본문

일반적으로 홈페이지 하단에 이용약관과 개인정보취급방침을 사용합니다.
그누보드 관리자페이지 이용약관, 개인정보취급방침 넣는 공간이 있는데요. 그것을 이용하는 방법입니다.


1. bbs 폴더에 이용약관 페이지를 추가합니다.
bbs / hp_stipulation.php 의 내용은 다음과 같습니다.

<?php
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");

$member_skin_path = "$g4[path]/skin/member/$config[cf_member_skin]";
//include_once("$g4[path]/head.php");
?>
<table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="middle" bgcolor="#EBEBEB"><table width="99%" height="40" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="25" align="center" bgcolor="#FFFFFF"><img src="<?php echo $member_skin_path; ?>/img/icon_01.gif" width="5" height="5" /></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#666666"><b>이용약관</b></font></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="2" align="center" valign="top" bgcolor="#D5D5D5"></td>
  </tr>
  <tr>
    <td style="padding:10px 15px 10px 15px;"><?php echo nl2br($config[cf_stipulation]); ?></td>
  </tr>
  <tr>
    <td height="2" align="center" valign="top" bgcolor="#E6E6E6"></td>
  </tr>
  <tr>
    <td height="40" align="center"><a href="javascript:window.close();"><img src="<?php echo $member_skin_path?>/img/btn_close.gif" width="48" height="20" border="0"></a></td>
  </tr>
</table>
<?php
//include_once("$g4[path]/tail.php");
include_once("$g4[path]/tail.sub.php");
?>


2. bbs / hp_privacy.php 의 내용은 다음과 같습니다.
<?php
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");

$member_skin_path = "$g4[path]/skin/member/$config[cf_member_skin]";
//include_once("$g4[path]/head.php");
?>
<table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="middle" bgcolor="#EBEBEB"><table width="99%" height="40" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="25" align="center" bgcolor="#FFFFFF"><img src="<?php echo $member_skin_path; ?>/img/icon_01.gif" width="5" height="5" /></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#666666"><b>개인정보취급방침</b></font></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="2" align="center" valign="top" bgcolor="#D5D5D5"></td>
  </tr>
  <tr>
    <td style="padding:10px 15px 10px 15px;"><?php echo nl2br($config[cf_privacy]); ?></td>
  </tr>
  <tr>
    <td height="2" align="center" valign="top" bgcolor="#E6E6E6"></td>
  </tr>
  <tr>
    <td height="40" align="center"><a href="javascript:window.close();"><img src="<?php echo $member_skin_path?>/img/btn_close.gif" width="48" height="20" border="0"></a></td>
  </tr>
</table>
<?php
//include_once("$g4[path]/tail.php");
include_once("$g4[path]/tail.sub.php");
?>


3. 카피라이트 또는 이용약관 및 개인정보 취급 방침 링크가 필요한 곳에 아래의 내용을 추가합니다.
<script type="text/javascript">
    function win_stipulation(url)
    {
        if (!url)
            url = "<?php echo $g4[path]; ?>/bbs/hp_stipulation.php";
        window.open(url, "hp_stipulation", "left=20, top=20, width=616, height=500, scrollbars=1");
    }
    function win_privacy(url)
    {
        if (!url)
            url = "<?php echo $g4[path]; ?>/bbs/hp_privacy.php";
        window.open(url, "hp_privacy", "left=20, top=20, width=616, height=500, scrollbars=1");
    }
</script>
<a href="javascript:win_stipulation();">이용약관</a>
<a href="javascript:win_privacy();">개인정보취급방침</a>

출처 : http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=30641

댓글목록

등록된 댓글이 없습니다.

전체 59
게시물 검색
그누보드 목록
번호 제목 글쓴이 조회 날짜
39 no_profile 운영자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 2467 01-28
38 no_profile 운영자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3071 11-06
37 no_profile 운영자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 2649 11-01
36 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3002 02-23
35 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3008 10-21
34 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3038 10-21
33 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3356 10-15
32 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 2891 06-14
31 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3796 06-14
30 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 5162 08-08
29 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3684 12-25
28 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4546 07-22
27 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3695 07-21
26 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3597 05-06
25 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4187 05-06
24 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3550 04-15
23 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4397 09-12
22 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4239 03-21
21 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4233 02-14
20 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6888 02-14