관리자페이지의 약관, 개인정보취급방침을 일반 페이지에서 사용하기 > 그누4 팁자료실

그누4 팁자료실

그누보드4와 관련된 팁을 여러분들과 함께 공유하세요.
나누면 즐거움이 커집니다.

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

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

본문

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


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>
추천
3

댓글 2개

이메일 무단수집거부 내용을 추가할 경우 아래 내용을 추가해서 사용하세요.

1. 링크가 추가될 페이지에 아래 내용을 삽입합니다.
<script type="text/javascript">
    function win_email_security(url)
    {
        if (!url)
            url = "<?php echo $g4[path]; ?>/bbs/hp_email_security.php";
        window.open(url, "hp_email_security", "left=20, top=20, width=400, height=175, scrollbars=1");
    }
</script>
<a href="javascript:win_email_security();">이메일무단수집거부</a>


2. 위의 링크를 눌렀을때 열려질 페이지를 만듭니다.
bbs / hp_email_security.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;">본 웹사이트는 게시된 이메일 주소가 전자우편 수집 프로그램이나 그 밖의 기술적 장치를 이용하여 무단 수집되는 것을 거부합니다. 이를 위반시 『정보통신망이용촉진및정보보호등에관한법률』등에 의해 처벌 받을 수 있습니다.</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,313 |RSS
그누4 팁자료실 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT