index.html 최신글 올리기 에러 메세지 문제...(꼬옥 답좀 주세요...네에) 정보
index.html 최신글 올리기 에러 메세지 문제...(꼬옥 답좀 주세요...네에)본문
안녕하세요...
이틀 동안 그누보드 질답 게시판을 돌고 돌아다니다가...
도전히 해결하지 못해서 올립니다.
★실행시 index.html 쪽의 에러 메세지는
Parse error: syntax error, unexpected ')' in /home/hosting_users/gvins_kotaplaza/www/index1234.php on line 73
★코딩 내용은
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Fixed Width CSS Layouts - 3 Column - fw-44-3-col</title>
<link rel="stylesheet" type="text/css" href="main.css" />
<script type="text/javascript" src="flash.js"></script>
<script type="text/javascript">
window.onload = function() {
contentHeight();
}
window.onresize = function() {
contentHeight();
}
function contentHeight() {
if (document.getElementById) {
var windowHeight = getWindowHeight();
var headerHeight = document.getElementById('header').offsetHeight;
var footerHeight = document.getElementById('footer').offsetHeight;
var contentElement = document.getElementById('content');
//alert("windowHeight:"+windowHeight+",\nheaderHeight: "+headerHeight+", \nfooterHeight:"+footerHeight);
contentElement.style.height = (windowHeight - (headerHeight + footerHeight)) + 'px';
}
}
function getWindowHeight() {
var windowHeight = 0;
if (typeof(window.innerHeight) == 'number') {
windowHeight = window.innerHeight;
} else {
if (document.documentElement && document.documentElement.clientHeight) {
windowHeight = document.documentElement.clientHeight ;
} else {
if (document.body && document.body.clientHeight) {
windowHeight = document.body.clientHeight;
}
}
}
return windowHeight;
}
</script>
</head>
<?
include_once("$g4[path]/lib/latest.lib.php"); //최신글 불러오기 (코딩부분)
?>
<body>
<!-- Begin Wrapper -->
<div id="wrapper">
<!-- Begin Left Column -->
<div id="leftcolumn">
<script language="javascript">
show_swf('main_img_02', 'left_menu01.swf', 200, 352, '');
</script>
</div>
<!-- End Left Column -->
<!-- Begin Content Column -->
<div id="content">
<table width="710" border="0" cellspacing="0" cellpadding="0"><tr><td background="images/1.jpg">
<script language="javascript">
show_swf('main_img', 'flash.swf', 710, 615, '');
</script></td></tr>
<tr><td height="21"></td></tr>
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- 공지사항 -->
<tr><td width="284">
<?=latest("basic", "notice", 5, 30,);?> //출력부분 (코딩부분)
</td>
<td width="284"><script language="javascript">
show_swf('main_banner', 'main_banner.swf', 240, 100, '');
</script></td>
<td><ul><img alt="영업시간" src="images/center_img_01.gif"></ul>
<ul><img alt="교통안내" src="images/center_img_02.gif"></ul></td></tr>
</table>
</td></tr>
</table>
</div>
<!-- End Content Column -->
<!-- Begin Right Column -->
<div id="rightcolumn">
<ul><img alt="한국어" src="images/right_img_01.gif"></ul>
<ul><img alt="중국어" src="images/right_img_02.gif"></ul>
<ul><img alt="영어" src="images/right_img_03.gif"></ul>
<ul><img alt="편의시설" src="images/right_img_04.gif"></ul>
<ul><img alt="주차안내" src="images/right_img_05.gif"></ul>
<ul><img alt="고객센터" src="images/right_img_06.gif"></ul>
<ul><img alt="공간" src="images/right_img_07.gif"></ul>
</div>
<!-- End Right Column -->
<!-- Begin Footer -->
<div id="footer">
<img alt="하단" src="images/copyright.gif">
</div>
<!-- End Footer -->
</div>
<!-- End Wrapper -->
</body>
</html>
이틀 동안 그누보드 질답 게시판을 돌고 돌아다니다가...
도전히 해결하지 못해서 올립니다.
★실행시 index.html 쪽의 에러 메세지는
Parse error: syntax error, unexpected ')' in /home/hosting_users/gvins_kotaplaza/www/index1234.php on line 73
★코딩 내용은
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Fixed Width CSS Layouts - 3 Column - fw-44-3-col</title>
<link rel="stylesheet" type="text/css" href="main.css" />
<script type="text/javascript" src="flash.js"></script>
<script type="text/javascript">
window.onload = function() {
contentHeight();
}
window.onresize = function() {
contentHeight();
}
function contentHeight() {
if (document.getElementById) {
var windowHeight = getWindowHeight();
var headerHeight = document.getElementById('header').offsetHeight;
var footerHeight = document.getElementById('footer').offsetHeight;
var contentElement = document.getElementById('content');
//alert("windowHeight:"+windowHeight+",\nheaderHeight: "+headerHeight+", \nfooterHeight:"+footerHeight);
contentElement.style.height = (windowHeight - (headerHeight + footerHeight)) + 'px';
}
}
function getWindowHeight() {
var windowHeight = 0;
if (typeof(window.innerHeight) == 'number') {
windowHeight = window.innerHeight;
} else {
if (document.documentElement && document.documentElement.clientHeight) {
windowHeight = document.documentElement.clientHeight ;
} else {
if (document.body && document.body.clientHeight) {
windowHeight = document.body.clientHeight;
}
}
}
return windowHeight;
}
</script>
</head>
<?
include_once("$g4[path]/lib/latest.lib.php"); //최신글 불러오기 (코딩부분)
?>
<body>
<!-- Begin Wrapper -->
<div id="wrapper">
<!-- Begin Left Column -->
<div id="leftcolumn">
<script language="javascript">
show_swf('main_img_02', 'left_menu01.swf', 200, 352, '');
</script>
</div>
<!-- End Left Column -->
<!-- Begin Content Column -->
<div id="content">
<table width="710" border="0" cellspacing="0" cellpadding="0"><tr><td background="images/1.jpg">
<script language="javascript">
show_swf('main_img', 'flash.swf', 710, 615, '');
</script></td></tr>
<tr><td height="21"></td></tr>
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- 공지사항 -->
<tr><td width="284">
<?=latest("basic", "notice", 5, 30,);?> //출력부분 (코딩부분)
</td>
<td width="284"><script language="javascript">
show_swf('main_banner', 'main_banner.swf', 240, 100, '');
</script></td>
<td><ul><img alt="영업시간" src="images/center_img_01.gif"></ul>
<ul><img alt="교통안내" src="images/center_img_02.gif"></ul></td></tr>
</table>
</td></tr>
</table>
</div>
<!-- End Content Column -->
<!-- Begin Right Column -->
<div id="rightcolumn">
<ul><img alt="한국어" src="images/right_img_01.gif"></ul>
<ul><img alt="중국어" src="images/right_img_02.gif"></ul>
<ul><img alt="영어" src="images/right_img_03.gif"></ul>
<ul><img alt="편의시설" src="images/right_img_04.gif"></ul>
<ul><img alt="주차안내" src="images/right_img_05.gif"></ul>
<ul><img alt="고객센터" src="images/right_img_06.gif"></ul>
<ul><img alt="공간" src="images/right_img_07.gif"></ul>
</div>
<!-- End Right Column -->
<!-- Begin Footer -->
<div id="footer">
<img alt="하단" src="images/copyright.gif">
</div>
<!-- End Footer -->
</div>
<!-- End Wrapper -->
</body>
</html>
댓글 전체
<?=latest("basic", "notice", 5, 30,);?> 여기 73라인에
30뒤에 콤마 부분있자나요 그콤마를 지워주세요
<?=latest("basic", "notice", 5, 30);?>
30뒤에 콤마 부분있자나요 그콤마를 지워주세요
<?=latest("basic", "notice", 5, 30);?>
감사합니다. 근데,,, 또 문제가 하나 생겼어요..