리스트 클릭하면 내용볼수있게 경로 수정하려면 어디를 수정해야되나여? 정보
리스트 클릭하면 내용볼수있게 경로 수정하려면 어디를 수정해야되나여?본문
제목색 수정과
리스트 클릭하면 내용볼수있게 경로 수정하려면
어디를 수정해야되나여?
================================================================================
<style type="text/css">
.com8 {color:339900;font-family:Verdana,Aria,Helvetica,sans-seri;font-size:7pt}
.com7 {color:666666;font-family:돋움;line-height:17px;font-size:9pt}
</style>
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<?
$content_size="100"; //내용 보여질 글자수
$img_w="95"; //이미지 가로크기
$img_h="95"; // 이미지 세로 크기
?>
<table align=center border=0 cellpadding=0 cellspacing=0 width=100% valign="top" cellspacing="0" cellpadding="0">
<tr>
<td valign=top>
<table border=0 width=100% cellspacing=0 cellpadding=0 align=left style=table-layout:fixed>
<? for ($i=0; $i<count($list); $i++) { ?>
<?
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
$view_img="<a href='{$list[$i][href]}'><img src=".$g4[path]."/data/file/".$bo_table."/".$image." width='$img_w' height='$img_h' border='0' style='padding:8px; border:#cdcdcd solid 1px;'></a>";
$a_link="<a href='{$list[$i][href]}'>{$list[$i][subject]}</a>";
$rw_content = cut_str(stripslashes($list[$i][wr_content]),85,' ..more');
$rw_content = strip_tags($rw_content);
} else {
$view_img=$latest_skin_path."/img/noimage.gif' width='75' height='75' border='0' style='padding:4px; border:#cdcdcd solid 1px;'></a>";
$a_link="<a href='{$list[$i][href]}'>{$list[$i][subject]}</a>";
$rw_content = cut_str(stripslashes($list[$i][wr_content]),$content_size,' ..more');
$rw_content = strip_tags($rw_content);
}
?>
<tr>
<td rowspan=2 height="100" width="105"><?=$view_img?></td>
<td height="15"><b><?=$a_link?></b></td>
</tr>
<tr align=left valign="top">
<td valign=top cellspacing="0" cellpadding="0">
<span class="com7"><?=$rw_content?></span></td>
</tr>
<tr>
<td colspan=2 height="1" width="290"></td>
</tr>
<tr>
<td colspan=2 height=1 width=100%></td>
</tr>
<? } ?>
</table>
</td>
</tr>
</table>
리스트 클릭하면 내용볼수있게 경로 수정하려면
어디를 수정해야되나여?
================================================================================
<style type="text/css">
.com8 {color:339900;font-family:Verdana,Aria,Helvetica,sans-seri;font-size:7pt}
.com7 {color:666666;font-family:돋움;line-height:17px;font-size:9pt}
</style>
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<?
$content_size="100"; //내용 보여질 글자수
$img_w="95"; //이미지 가로크기
$img_h="95"; // 이미지 세로 크기
?>
<table align=center border=0 cellpadding=0 cellspacing=0 width=100% valign="top" cellspacing="0" cellpadding="0">
<tr>
<td valign=top>
<table border=0 width=100% cellspacing=0 cellpadding=0 align=left style=table-layout:fixed>
<? for ($i=0; $i<count($list); $i++) { ?>
<?
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
$view_img="<a href='{$list[$i][href]}'><img src=".$g4[path]."/data/file/".$bo_table."/".$image." width='$img_w' height='$img_h' border='0' style='padding:8px; border:#cdcdcd solid 1px;'></a>";
$a_link="<a href='{$list[$i][href]}'>{$list[$i][subject]}</a>";
$rw_content = cut_str(stripslashes($list[$i][wr_content]),85,' ..more');
$rw_content = strip_tags($rw_content);
} else {
$view_img=$latest_skin_path."/img/noimage.gif' width='75' height='75' border='0' style='padding:4px; border:#cdcdcd solid 1px;'></a>";
$a_link="<a href='{$list[$i][href]}'>{$list[$i][subject]}</a>";
$rw_content = cut_str(stripslashes($list[$i][wr_content]),$content_size,' ..more');
$rw_content = strip_tags($rw_content);
}
?>
<tr>
<td rowspan=2 height="100" width="105"><?=$view_img?></td>
<td height="15"><b><?=$a_link?></b></td>
</tr>
<tr align=left valign="top">
<td valign=top cellspacing="0" cellpadding="0">
<span class="com7"><?=$rw_content?></span></td>
</tr>
<tr>
<td colspan=2 height="1" width="290"></td>
</tr>
<tr>
<td colspan=2 height=1 width=100%></td>
</tr>
<? } ?>
</table>
</td>
</tr>
</table>
댓글 전체
<td height="15"><b><?=$a_link?></b></td> 얘가 제목출력되는 부분이고, 링크도 같이...
소스를 봤을때는 클릭하면 해당게시판에 해당글 내용보기로 이동할 것 같은데, 안되던가요?
글자색지정은 앞이나 뒤에 <font color ='#@@@@@@'><?=$a_link?></font> 하심 될듯~
소스를 봤을때는 클릭하면 해당게시판에 해당글 내용보기로 이동할 것 같은데, 안되던가요?
글자색지정은 앞이나 뒤에 <font color ='#@@@@@@'><?=$a_link?></font> 하심 될듯~