최근게시물이 출력이 안됩니다.
관련링크
본문
늘 써오던 코드인데 스크립터나 CSS도 충동이 나는건지 출력이 안되네요.
고수님들 한 수 부탁드립니다.
<?
$g4_path = "../gnuboard4";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<link href="http://흥창.com/css/take-cs.css" rel="stylesheet" type="text/css"/>
<script src="http://흥창.com/js/take-js.js" type="text/javascript"></script>
<body style="overflow-x:hidden" class="mainbg">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<table width="1100" border="0" cellspacing="0" cellpadding="0">
<tr><td rowspan="2"><a href="http://흥창.com"><img src="http://흥창.com/images/logo.png"></a></td>
<td align="right"><div id="tonavi"><a href="Homehttp://흥창.com">Home</a>
<a href="Admin
</td>
</tr>
<tr><td align="right"><span id="topmenu">
<a href="http://흥창.com" class="top0">처음으로</a>
<a href="../sub0101.php" class="top1">회사소개</a>
<a href="../sub0201.php" class="top2">사업영역</a>
<a href="http://흥창.com/gnuboard4/bbs/board.php?bo_table=e03" class="top3">투자정보</a>
<a href="http://흥창.com/gnuboard4/bbs/board.php?bo_table=e04" class="top4">고객센터</a>
</span>
</td></tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="448" valign="top">
<div style="float:left; border:0; margin-left:-679px; left:50%; position: absolute;">
<center><!DOCTYPE html>
<style type="text/css">
#mainimg{width:1358px; position:relative;}
#nav {position:absolute; z-index:10; padding-top:350px; left:400px;}
#nav li { width: 100px; float: left; margin: 10px; list-style: none }
#nav a { width: 100px; padding: 6px; display: block; background-color:#121212;}
#nav li.activeSlide a { background: #bd0000;}
#nav a:focus { outline: none; }
#nav img { border: none; display: block }
#maintext{position:absolute; z-index:11; }
#mtext01, #mtext02, #mtext03, #mtext04{position:absolute; width:1358px;}
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script type="text/javascript" src="http://malsup.github.com/jquery.cycle.all.js"></script>
<script type="text/javascript">
$(function() {
$('#slideshow').before('<ul id="nav">').cycle({
fx: 'fade',
timeout: 3000,
pager: '#nav',
pagerAnchorBuilder: function(idx, slide) {
return '<li><a href="#"><img src="' + slide.src + '" width="100" height="50" /></a></li>';
}
});
});
</script>
<script>
$(document).ready(function() {
$("#mtext01").animate({top:75},1500);
$("#mtext02").animate({top:130},1500);
$("#mtext03").animate({top:190},1500);
$("#mtext04").animate({top:260},1500);
});
</script>
<div id="mainimg">
<div id="maintext"><center>
<div id="mtext01"><img src="/images/mtext01.png"></div>
<div id="mtext02"><img src="/images/mtext02.png"></div>
<div id="mtext03"><img src="/images/mtext03.png"></div>
<div id="mtext04"><img src="/images/mtext04.png"></div>
</center></div>
<div id="slideshow" class="pics">
<img src="../images/mimg01.jpg" width="1358" height="448">
<img src="../images/mimg02.jpg" width="1358" height="448">
<img src="../images/mimg03.jpg" width="1358" height="448">
<img src="../images/mimg04.jpg" width="1358" height="448">
</div>
</div>
</center>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr><td align="center" style="padding:30 0 0 0;"><table width="1100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="340" height="30" valign="top"><img src="/images/mbn01.jpg"></td>
<td width="340" height="30" valign="top"><img src="/images/mbn02.jpg"></td>
<td width="94" height="30" valign="top"><img src="/images/mbn03.jpg"></td>
</tr>
<tr>
<td height="45" valign="top">
<?=latest("basic", "e04", 5, 35);?>
</td>
<td height="45" valign="top"><a href="../sub0201.php"><img src="/images/faq.jpg" border="0"></a></td>
<td height="45" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" style="padding:0 0 0 0;"><a href="../sub0103.php"><img src="/images/faq2.jpg" width="186" height="71" border="0"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr>
<tr><td align="center" style="padding:90 0 0 0;"><span class="copyaddress">상호 : (주)흥창 | 주소 : 울산광역시 남구 삼산로318번길 14(삼산동) | 대표번호 : *** 개인정보보호를 위한 전화번호 노출방지 *** | 팩스 : *** 개인정보보호를 위한 전화번호 노출방지 *** | *** 개인정보보호를 위한 이메일주소 노출방지 ***
*** 개인정보보호를 위한 이메일주소 노출방지 ***<br />
copyrightⓒ (주)흥창 all rights reserved.</span>
<meta content="progid:DXImageTransform.Microsoft.Fade(MaxSquare=1,Duration=0.3)" http-equiv="Page-Exit">
</td></tr>
</table>
답변 2
혹시 php 버전이나 설정이 변경 되었나요?
<?=latest("basic", "e04", 5, 35);?>
를
<?php echo latest("basic", "e04", 5, 35); ?>
이런 식으로 바꿔 보세요.
그리고, php 오류가 생기면 웹서버의 에러로그를 한번 살펴 보세요.
다른 문제 였습니다. 해결했습니다.
감사합니다.