채택완료

최신글 추출 디자인 입히기

2014-08-28 (목) 06:22:01 4,004

최신 게시글 추출 까지는 했는데요

http://www.ibonatex.com/testb.php

제목을 누르면 해당 내용으로 가긴 하는데 내용만 보여져서요

http://g4.ibonatex.com/gnuboard4/bbs/board.php?bo_table=online&wr_id=2

이것과 같이 게시판에서

상단 파일 경로 ../../head.php

하단 파일경로 ../../tail.php로 겉에 디자인을 입혔거든요

최신 게시글을 누르면

http://g4.ibonatex.com/gnuboard4/bbs/board.php?bo_table=online&wr_id=2​ 처럼

디자인 안에 게시글이 보이게 하려면 어떻게 링크를 바꿔야 하나요?

지금 latest.skin.php는

Copy
​
<style type="text/css">A { FILTER: progid:dximagetransform.microsoft.gradientwipe(duration=1); BEHAVIOR: url(gradient.htc); CURSOR: hand; LINE-HEIGHT: 150%; HEIGHT: 1px} body,td,select,input,div,form,textarea,center,option,pre,blockquote {font-size:9pt;font-family:dodam9;color:444444;line-height:150% }a:link     {color:969696;text-decoration:none}a:visited  {color:969696;text-decoration:none}a:active   {color:969696;text-decoration:none}a:hover   {color:#2B90BB;text-decoration:none}</style><table cellpadding="0" cellspacing="0" width="100%">    <tr>        <td width="1222">            <table cellpadding="0" cellspacing="0" width="100%">                <tr>                    <td width="1111" height="22">                        <table cellpadding="0" cellspacing="0" width="100%">                            <tr>                                <td width="30">                                    <p align="center">&nbsp;</p></td>                                <td width="296"><b><font color="black"><?=$board[bo_subject]?></font></b></td>                                <td width="785">                                    <p>&nbsp;</p></td>                            </tr>                            <tr>                                <td width="326" height="2" colspan="2" bgcolor="#FE3614">                                    <p></p></td>                                <td width="785" height="2" bgcolor="#7C7C7C">                                    <p></p></td>                            </tr>                        </table></td>                </tr>                <tr>                    <td width="1111" height="7"> </td>                </tr><? for ($i=0; $i<count($list); $i++) { ?>
 
                <tr>                    <td width="1111">                        <table cellpadding="0" cellspacing="0" width="100%">                            <tr>                                <td width="30">                                    <p align="center"><img src="<?=$latest_skin_path?>/images/dot2.gif" width="3" height="3" border="0"></p></td>                                <td height="25">                                    <p><?  echo " <a href=\"{$list[$i]['href']}\"><span class='cmt'>{$list[$i]['subject']}</span></a>"; ?> <font color="#FF6600"><span style="font-size:8pt;">         <?  if ($list[$i]['comment_cnt'])                 echo " <a href=\"{$list[$i]['comment_href']}\"><span class='cmt'>{$list[$i]['comment_cnt']}</span></a>"; ?>    </span></font></p></td>                            </tr>                        </table></td>                </tr>                <tr>                    <td width="1111" height="1" background="<?=$latest_skin_path?>/images/line.gif"></td>                </tr>                <tr>                    <td width="1111">           </td>                </tr>

이렇게 되어 있어요

답변 1개

채택된 답변
+20 포인트

<?
include_once("./_common.php");
$g4[title] = "";

include_once("./head.php");
?>​

본문내용

<?
include_once("./tail.php");
?>​

※ 본문내용 부분에 최신글 스킨을 불러오면 됩니다.​​​​

답변을 작성하려면 로그인이 필요합니다.