최근게시글 추출문제 입니다. 고수님들의 답변 부탁드리겠습니다. 정보
최근게시글 추출문제 입니다. 고수님들의 답변 부탁드리겠습니다.첨부파일
본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : kmtec21.com
<?
include_once("./gnuboard4/_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v6.0">
<script language="JavaScript"><!--
function namosw_goto_byselect(sel, targetstr)
{
var index = sel.selectedIndex;
if (sel.options[index].value != '') {
if (targetstr == 'blank') {
window.open(sel.options[index].value, 'win1');
} else {
var frameobj;
if (targetstr == '') targetstr = 'self';
if ((frameobj = eval(targetstr)) != null)
frameobj.location = sel.options[index].value;
}
}
}
// -->
</script></head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" background="background.jpg">
<table cellpadding="0" cellspacing="0" width="880" align="center" bgcolor="white">
<tr>
<td width="150"><img src="images/logo.jpg" width="177" height="50" border="0"></td>
<td width="730" colspan="3"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="730" height="100">
<param name="movie" value="images/top.swf">
<param name="play" value="true">
<param name="loop" value="true">
<param name="quality" value="high">
<embed width="730" height="100" src="images/top.swf" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object></td>
</tr>
<tr>
<td width="880" colspan="4">
<p align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="870" height="245">
<param name="movie" value="images/top_banner.swf">
<param name="play" value="true">
<param name="loop" value="true">
<param name="quality" value="high">
<embed width="870" height="245" src="images/top_banner.swf" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object></p>
</td>
</tr>
<tr>
<td width="150" rowspan="15">
<p><img src="images/information.jpg" width="150" height="300" border="0"></p>
</td>
<td width="350"> </td>
<td width="30"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350" height="9"> </td>
<td width="30" height="72" rowspan="3" background="sidebar.jpg"> </td>
<td width="350" height="18"> </td>
</tr>
<tr>
<td width="350"><img src="images/konggi.jpg" width="350" height="36" border="0"></td>
<td width="350"><img src="images/question.jpg" width="350" height="36" border="0">
</td>
</tr>
<tr>
<td width="350"><?=latest("basic","notice",5,24);?></td>
<td width="350"> </td>
</tr>
<tr>
<td width="730" colspan="3"><img src="images/product.jpg" width="730" height="36" border="0"></td>
</tr>
<tr>
<td width="730" colspan="3"> </td>
</tr>
<tr>
<td width="350"><img src="images/licence.jpg" width="350" height="36" border="0"></td>
<td width="30" rowspan="8" background="sidebar.jpg"> </td>
<td width="350"> <p><img src="images/site.jpg" width="350" height="36" border="0"></p>
</td>
</tr>
<tr>
<td width="350"> </td>
<td width="350">
<table width="348" cellpadding="0" cellspacing="0">
<tr>
<td width="33"> </td>
<td width="315">
<form name="form1">
<select name="formselect1" size="1" OnChange="namosw_goto_byselect(this, 'self')">
<option selected value="http://">관련사이트_1</option>
<option value="http://">관련사이트_2</option>
<option value="http://">관련사이트_3</option>
</select>
</form>
<p> </p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="350"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350"> </td>
<td width="30"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="880" colspan="4">
<p align="center"><img src="images/bottom.jpg" width="880" height="100" border="0"></p>
</td>
</tr>
</table><p> </p>
<p align="center"> </p>
</body>
</html>
이렇게 넣었는데 이미지만 밀리고 별달리 표현이 되질 않고 있습니다.
어떤부분을 수정해야하는지 알려주시면 감사하겠습니다.
최신글을 메인에 넣고 싶은데 실행이 되질 않네요..ㅜㅜ
그누보드 버전은 4.36.09입니다.
급하게 방법을 찾고 있습니다...고수님들의 많은 도움 부탁드리겠습니다.
오류 주소 : kmtec21.com
<?
include_once("./gnuboard4/_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v6.0">
<script language="JavaScript"><!--
function namosw_goto_byselect(sel, targetstr)
{
var index = sel.selectedIndex;
if (sel.options[index].value != '') {
if (targetstr == 'blank') {
window.open(sel.options[index].value, 'win1');
} else {
var frameobj;
if (targetstr == '') targetstr = 'self';
if ((frameobj = eval(targetstr)) != null)
frameobj.location = sel.options[index].value;
}
}
}
// -->
</script></head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" background="background.jpg">
<table cellpadding="0" cellspacing="0" width="880" align="center" bgcolor="white">
<tr>
<td width="150"><img src="images/logo.jpg" width="177" height="50" border="0"></td>
<td width="730" colspan="3"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="730" height="100">
<param name="movie" value="images/top.swf">
<param name="play" value="true">
<param name="loop" value="true">
<param name="quality" value="high">
<embed width="730" height="100" src="images/top.swf" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object></td>
</tr>
<tr>
<td width="880" colspan="4">
<p align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="870" height="245">
<param name="movie" value="images/top_banner.swf">
<param name="play" value="true">
<param name="loop" value="true">
<param name="quality" value="high">
<embed width="870" height="245" src="images/top_banner.swf" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object></p>
</td>
</tr>
<tr>
<td width="150" rowspan="15">
<p><img src="images/information.jpg" width="150" height="300" border="0"></p>
</td>
<td width="350"> </td>
<td width="30"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350" height="9"> </td>
<td width="30" height="72" rowspan="3" background="sidebar.jpg"> </td>
<td width="350" height="18"> </td>
</tr>
<tr>
<td width="350"><img src="images/konggi.jpg" width="350" height="36" border="0"></td>
<td width="350"><img src="images/question.jpg" width="350" height="36" border="0">
</td>
</tr>
<tr>
<td width="350"><?=latest("basic","notice",5,24);?></td>
<td width="350"> </td>
</tr>
<tr>
<td width="730" colspan="3"><img src="images/product.jpg" width="730" height="36" border="0"></td>
</tr>
<tr>
<td width="730" colspan="3"> </td>
</tr>
<tr>
<td width="350"><img src="images/licence.jpg" width="350" height="36" border="0"></td>
<td width="30" rowspan="8" background="sidebar.jpg"> </td>
<td width="350"> <p><img src="images/site.jpg" width="350" height="36" border="0"></p>
</td>
</tr>
<tr>
<td width="350"> </td>
<td width="350">
<table width="348" cellpadding="0" cellspacing="0">
<tr>
<td width="33"> </td>
<td width="315">
<form name="form1">
<select name="formselect1" size="1" OnChange="namosw_goto_byselect(this, 'self')">
<option selected value="http://">관련사이트_1</option>
<option value="http://">관련사이트_2</option>
<option value="http://">관련사이트_3</option>
</select>
</form>
<p> </p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="350"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="350"> </td>
<td width="30"> </td>
<td width="350"> </td>
</tr>
<tr>
<td width="880" colspan="4">
<p align="center"><img src="images/bottom.jpg" width="880" height="100" border="0"></p>
</td>
</tr>
</table><p> </p>
<p align="center"> </p>
</body>
</html>
이렇게 넣었는데 이미지만 밀리고 별달리 표현이 되질 않고 있습니다.
어떤부분을 수정해야하는지 알려주시면 감사하겠습니다.
최신글을 메인에 넣고 싶은데 실행이 되질 않네요..ㅜㅜ
그누보드 버전은 4.36.09입니다.
급하게 방법을 찾고 있습니다...고수님들의 많은 도움 부탁드리겠습니다.
댓글 전체
이미지만 밀린다는게
공지사항 질문답변 부분 이미지가 적용시에 조금 움찔?했다는건가요?ㅎㅎ
<?=latest(board,board , 5, 24);?> 이 부분을
<?=latest("폴더명", 출력갯수, 글자수);?> 로 넣어주세요
latest안에 최신글 스킨폴더명입니다.
호출이 안될경우
<?php echo latest("폴더명", 출력갯수, 글자수);?> 에초 한번 찍어보세요
공지사항 질문답변 부분 이미지가 적용시에 조금 움찔?했다는건가요?ㅎㅎ
<?=latest(board,board , 5, 24);?> 이 부분을
<?=latest("폴더명", 출력갯수, 글자수);?> 로 넣어주세요
latest안에 최신글 스킨폴더명입니다.
호출이 안될경우
<?php echo latest("폴더명", 출력갯수, 글자수);?> 에초 한번 찍어보세요
해봤는데..잘 안되네요....스킨 설정할때 위에 셋팅하는 구문과 아래 셋팅하는 구문이 어떻게 하는지 알려주시면 고맙겠습니다...^^:;
아 죄송..
폴더명
<?=latest("폴더명","테이블명", 출력갯수, 글자수);?>
폴더명
<?=latest("폴더명","테이블명", 출력갯수, 글자수);?>