해더, 인덱스, 테일 로 나눠 주세요 ㅡㅡ;
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
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");
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");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
?>
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
?>
<html>
<head>
<title>ㅁㄴㅇㄹ</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="javascript" src="InsertFlash.js"></script>
<!-- ImageReady Preload Script (menu_1.psd) -->
<script type="text/javascript">
<!--
<head>
<title>ㅁㄴㅇㄹ</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="javascript" src="InsertFlash.js"></script>
<!-- ImageReady Preload Script (menu_1.psd) -->
<script type="text/javascript">
<!--
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
var preloadFlag = false;
function preloadImages() {
if (document.images) {
menu_1_01_over = newImage("images/menu_1_01-over.jpg");
menu_1_02_over = newImage("images/menu_1_02-over.jpg");
menu_1_03_over = newImage("images/menu_1_03-over.jpg");
menu_1_04_over = newImage("images/menu_1_04-over.jpg");
preloadFlag = true;
}
}
function preloadImages() {
if (document.images) {
menu_1_01_over = newImage("images/menu_1_01-over.jpg");
menu_1_02_over = newImage("images/menu_1_02-over.jpg");
menu_1_03_over = newImage("images/menu_1_03-over.jpg");
menu_1_04_over = newImage("images/menu_1_04-over.jpg");
preloadFlag = true;
}
}
// -->
</script>
<!-- End Preload Script -->
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="preloadImages();">
</script>
<!-- End Preload Script -->
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="preloadImages();">
<table cellpadding="0" cellspacing="0" width="100%" background="img/bg_1.gif">
<tr>
<td width="1142" valign="top">
<tr>
<td width="1142" valign="top">
<table cellpadding="0" cellspacing="0" width="886" background="img/bg_2.gif">
<tr>
<td width="886" valign="top">
<tr>
<td width="886" valign="top">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="876"><img src="img/tab_1.jpg" width="885" height="58" border="0" usemap="#ImageMap1"></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="885">
<tr>
<td width="14" height="317"><img src="img/tab_2.gif" width="14" height="317" border="0"></td>
<td width="663" height="317"><script>FlashInsert('main', 'img/main_01.swf', '663', '317', 'always', 'opaque', '#000000', 'high', 'middle');</script></td>
<td width="208" height="317" align="left" valign="top">
<script>FlashInsert('main', 'images/main_navi.swf', '208', '317', 'always', 'opaque', '#000000', 'high', 'middle');</script>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="885" height="23">
<tr>
<td width="885" height="23" background="img/tab_3.jpg">
<map name="ImageMap1">
<area shape="rect" coords="18, 9, 136, 52" href="http://www.abcd.com" alt="도레미 회전문" onFocus="this.blur()">
<area shape="rect" coords="753, 18, 800, 35" href="sitemap.html" alt="사이트맵" onFocus="this.blur()">
<area shape="rect" coords="813, 18, 852, 35" href="mailto:bacd@bacd.com" alt="담당자에게 이메일 보내기" onFocus="this.blur()">
</map>
<map name="ImageMap2">
<area shape="rect" coords="119,195,157,208" href="product.html" onFocus="this.blur()">
</map> <map name="ImageMap3">
<area shape="rect" coords="17, 17, 168, 193" href="http://www.bacd.com/bbs/board.php?bo_table=work" onFocus="this.blur()">
</map></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="885" height="216">
<tr>
<td width="362" height="216"><img src="img/tab_left.jpg" width="186" height="216" border="0"><img src="img/tab_left2.jpg" width="176" height="216" border="0" usemap="#ImageMap2"></td>
<td width="318" height="216" background="img/tab_mid.jpg">
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td width="14" colspan="3" align="center" valign="top">
<table width="314" border="0" cellspacing="0" cellpadding="0" height="216">
<tr>
<td align="center" valign="top">
<?=latest("ddoni_sub", "news", 5, 40)?>
</td>
</tr>
<tr>
<td height="40" align="right"><a href="news.html"><img src="img/more_01.gif" width="56" height="11" border="0"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="205" height="216"><img src="img/tab_right.jpg" border="0" usemap="#ImageMap3"></td>
</tr>
</table>
<table width="885" height="65" cellpadding="0" cellspacing="0">
<tr>
<td width="885" height="65"><img src="img/bottom.jpg" width="885" height="65" border="0"></td>
</tr>
</table>
<tr>
<td width="876"><img src="img/tab_1.jpg" width="885" height="58" border="0" usemap="#ImageMap1"></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="885">
<tr>
<td width="14" height="317"><img src="img/tab_2.gif" width="14" height="317" border="0"></td>
<td width="663" height="317"><script>FlashInsert('main', 'img/main_01.swf', '663', '317', 'always', 'opaque', '#000000', 'high', 'middle');</script></td>
<td width="208" height="317" align="left" valign="top">
<script>FlashInsert('main', 'images/main_navi.swf', '208', '317', 'always', 'opaque', '#000000', 'high', 'middle');</script>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="885" height="23">
<tr>
<td width="885" height="23" background="img/tab_3.jpg">
<map name="ImageMap1">
<area shape="rect" coords="18, 9, 136, 52" href="http://www.abcd.com" alt="도레미 회전문" onFocus="this.blur()">
<area shape="rect" coords="753, 18, 800, 35" href="sitemap.html" alt="사이트맵" onFocus="this.blur()">
<area shape="rect" coords="813, 18, 852, 35" href="mailto:bacd@bacd.com" alt="담당자에게 이메일 보내기" onFocus="this.blur()">
</map>
<map name="ImageMap2">
<area shape="rect" coords="119,195,157,208" href="product.html" onFocus="this.blur()">
</map> <map name="ImageMap3">
<area shape="rect" coords="17, 17, 168, 193" href="http://www.bacd.com/bbs/board.php?bo_table=work" onFocus="this.blur()">
</map></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="885" height="216">
<tr>
<td width="362" height="216"><img src="img/tab_left.jpg" width="186" height="216" border="0"><img src="img/tab_left2.jpg" width="176" height="216" border="0" usemap="#ImageMap2"></td>
<td width="318" height="216" background="img/tab_mid.jpg">
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td width="14" colspan="3" align="center" valign="top">
<table width="314" border="0" cellspacing="0" cellpadding="0" height="216">
<tr>
<td align="center" valign="top">
<?=latest("ddoni_sub", "news", 5, 40)?>
</td>
</tr>
<tr>
<td height="40" align="right"><a href="news.html"><img src="img/more_01.gif" width="56" height="11" border="0"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="205" height="216"><img src="img/tab_right.jpg" border="0" usemap="#ImageMap3"></td>
</tr>
</table>
<table width="885" height="65" cellpadding="0" cellspacing="0">
<tr>
<td width="885" height="65"><img src="img/bottom.jpg" width="885" height="65" border="0"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table></body>
</html>
</tr>
</table>
</td>
</tr>
</table></body>
</html>
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 3개
그누보드에 대응되는 각각의 head, tail을 구분할 수 있을까요?
아울러 '자꾸 로그인 페이지로 넘어가면 깨져서 출력'된다는 의미가 무엇을 지칭할까요?
도움을 받고 싶어하는 url의 언급도 없고,
임의로 추가했을 것 같은 main에 해당되는 페이지도 없고,
하다 못해 오류가 발생한다(깨진다는 형태)는 첨부 이미지도 없습니다.
아울러 head.php나 tail.php도 없는 상태에서는 답변을 받기가 곤란하겠군요.
이것은 질문으로 파악되는 것이 아니라 제작요청이라 여겨집니다.
지금 통째로 계정내 파일을 모두 삭제하구 그누보드 다시 생성하고 있습니다.
충고 감사합니다.