관리자페이지의 약관, 개인정보취급방침을 일반 페이지에서 사용하기
페이지 정보
작성자
본문
일반적으로 홈페이지 하단에 이용약관과 개인정보취급방침을 사용합니다.
그누보드 관리자페이지 이용약관, 개인정보취급방침 넣는 공간이 있는데요. 그것을 이용하는 방법입니다.
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
그누보드 관리자페이지 이용약관, 개인정보취급방침 넣는 공간이 있는데요. 그것을 이용하는 방법입니다.
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
댓글목록
등록된 댓글이 없습니다.