웹프로그래밍

Global It Leader!!


그누보드


 
 

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

페이지 정보

작성자 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 댓글 0건 조회 3,919회 작성일 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
게시물 검색
그누보드 목록
번호 제목 글쓴이 조회 날짜
19 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4296 01-30
18 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3717 08-20
17 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4057 06-24
16 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4196 03-27
15 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3989 03-26
14 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4087 03-20
13 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3629 03-13
12 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4071 02-25
11 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3764 02-21
10 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3967 01-31
열람중 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3920 11-29
8 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3950 11-15
7 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 16757 03-15
6 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11835 05-11
5 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7291 09-29
4 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9210 05-04
3 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 15909 04-28
2 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7729 04-28
1 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11055 04-28