서브페이지 작업시 내용들어갈 부분에 게시판을 이용해 html 스킨 이용지않고 일반 html 방법은 없나요? 정보
서브페이지 작업시 내용들어갈 부분에 게시판을 이용해 html 스킨 이용지않고 일반 html 방법은 없나요?본문
방법 아시는 고수분님들 답변 부탁 드립니다.
그누보드 게시판을 빼고 이용하니 아무것도 안나오네요.
답변 부탁 드립니다.
아래 답변자님에 의해서 일반 서브 html 페이지 내용을 혹시나 해서 올려 봅니다.
------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link href="../css/style.css" rel="stylesheet" type="text/css">
<Script language="JavaScript">
<!--
function change1(form) {
if(form.sitelist.options[form.sitelist.selectedIndex].value != "")
window.open(form.sitelist.options[form.sitelist.selectedIndex].value)
}
-->
</Script>
<script language="JavaScript">
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;
</script>
<script language="javascript" src="../../js/mEmbed.js"></script>
</head>
<body>
<table width="990" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="12"></td>
</tr>
<tr>
<td valign="top">
<table width="962" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="<?=$g4['path']?>/img/main/logo.gif" width="201" height="45"></td>
<td width="512"></td>
<td valign="top">
<? include_once("../inc/topmenu.php"); ?>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="19"></td>
</tr>
</table>
<table width="990" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="14" valign="top"><img src="<?=$g4['path']?>/img/sub/left_bar.gif"></td>
<td width="24"><img src="<?=$g4['path']?>/img/sub/bibbox.gif"></td>
<td width="938" valign="top">
<table width="938" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="<?=$g4['path']?>/img/sub/subimg_top.gif" width="938" height="205"></td>
</tr>
</table>
<table width="938" cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="3" height="14"></td>
</tr>
<tr>
<td width="184" valign="top"><img src="<?=$g4['path']?>/img/sub/leftm_01.gif"></td>
<td width="5" valign="top"><img src="<?=$g4['path']?>/img/sub/gubunline.gif"></td>
<td width="737" valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="32" align="right">Home > 복지관소개 > <font color="0D6394"><strong>인사말</strong></font> </td>
</tr>
<tr>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0" background="<?=$g4['path']?>/img/sub/contens_bg.gif">
<tr>
<td><img src="<?=$g4['path']?>/img/sub/con01_01_tit.gif"></td>
</tr>
<tr>
<td height="10"></td>
</tr>
<tr>
<td align="center"><img src="<?=$g4['path']?>/img/sub/con01_01.gif"></td>
</tr>
<tr>
<td><img src="<?=$g4['path']?>/img/sub/contens_bottom.gif"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="12"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3"><img src="<?=$g4['path']?>/img/sub/bottom_line.gif"></td>
</tr>
</table>
<table width="990" height="136" cellpadding="0" cellspacing="0" border="0" background="<?=$g4['path']?>/img/main/copy_bg.gif">
<tr>
<td width="251" valign="middle" align="center"><img src="<?=$g4['path']?>/img/main/bottom_logo.gif"></td>
<td valign="middle"><p style="padding-left:50px"><strong>| 포항근로자종합복지관
| 포항시 남구 호동 628 | TEL (054) 278-4497 | FAX (054 )278-4498 |</strong><br>
<br>
모든 자료는 자유롭게 출처를 밝히고 전제, 인용하여 이용할 수 있습니다.<br>
단, 상업적으로 이용할 경우에는 사전에 복지관과 협의하여야 합니다.<br>
(No copyright! Just copyleft!) Homepage Version 3.0 Code by Sohan. B
</td>
</tr>
</table>
</body>
</html>
댓글 전체

생성하신 HTML 페이지 경로상에
_head.php , _tail.php , _common.php
를 같이 생성 해 주시면 됩니다..
그리고, 아래 내용이 필요할 것 같아서 서브페이지가 되는 일반페이지 상단에 넣어뒀는데요.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
?>
이렇게해도 안나오는데 어딘가 문제인가요?
아니면 알려주신 3개 파일 경로 설정을 줘야한다면 어떻게 해야하나요?