추출을 했는데 제목이 진하게 나와서리..

추출을 했는데 제목이 진하게 나와서리..

QA

추출을 했는데 제목이 진하게 나와서리..

답변 2

본문

스킨에 올라온 최근글 스킨으로 사진을 추출 했는데

제목이 진하게 나오네요.

 

아무리 찾아봐도 제목을 진하게 하는 소스가 안보여서요.

 

바쁘시더라도 잠시 봐 주세요..

 

추출한 페이지 상단에

include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/total_gallery.lib.php");

$board_arr = array("gallery1","gallery4","gallery5","gallery6","gallery7");

 

 

이렇게 해서

 

<?= arr_new_gallery("total_gallery", $board_arr, 18, 20) ?>

이리 추출했습니다.

 

 

http://ktcpg.com/bbs/bbs/main1.php

이 질문에 댓글 쓰기 :

답변 2

CSS를 일단 링크에 font-weight:normal;을 줘 보세요.

 


<style type="text/css"> 
a {selector-dummy: expression(this.hideFocus=true);} 
A:link    {color:666666;text-decoration:none; font-weight:normal;} 
A:visited {color:666666;text-decoration:none; font-weight:normal;} 
A:active  {color:666666;text-decoration:none; font-weight:normal;} 
A:hover  {color:30C0FF;text-decoration:none; font-weight:normal;} 
.sml8 {font-size:8pt; font-family:돋움; color:#2080D0; letter-spacing:-1;line-height:140%;}; 
</style> ​ 

해당 최신글 스킨이나 그와 관련된 스타일시트가 있다면 거기서

그렇게 처리를 했겠죠.

그 스킨파일을 보시면 알겠지요.

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

$arr_new_cols=9; //한 줄에 출력할 이미지 개수
$imgwidth = 100; //이미지 가로사이즈
$imgheigh = 60; //이미지 세로사이즈
$tablewidth = 980; // 전체테이블사이즈
$top_title = 통합갤러리; // 상단제목 설정하세요
$data_path = $g4[path]."/data/file";
$thumb_path = $data_path."/thumbs/"; //불당썸네일 경로
?>

<style type="text/css">
BODY,TD,SELECT,input,form,TEXTAREA,center,option,pre,blockquote,span {font-size:9pt; font-family:나눔고딕; color:#999999;line-height:140%;}
a {selector-dummy: expression(this.hideFocus=true);}

A:link    {color:666666;text-decoration:none;}
A:visited {color:666666;text-decoration:none;}
A:active  {color:666666;text-decoration:none;}
A:hover  {color:30C0FF;text-decoration:none;}

.sml8 {font-size:8pt; font-family:돋움; color:#2080D0; letter-spacing:-1;line-height:140%;};
</style>

<script language="javascript" src="<?=$latest_skin_path?>/img/common.js"></script>
<script language="javascript"  src="<?=$latest_skin_path?>/img/viewTitle.js" type="text/javascript"></script>
<table width="<?=$tablewidth?>" cellpadding=3 cellspacing=0 style="margin-top:7px;" align=center>
<tr>
<?
for ($i=0; $i<count($list); $i++) {
if ($i >= 0)
    $title = get_text($list[$i][subject]);

    //한 줄에 $arr_new_cols 만큼 출력
    if($i%$arr_new_cols == 0 && $i>0)
echo "</tr><tr>";

    $content = cut_str(get_text($list[$i][wr_content]), 80);
    $bo_table=$board_list[$i][bo_table];
    $image = urlencode($list[$i][file][0][file]); //이미지파일명
$thumb = $data_path."/".$bo_table."/thumbs/".$image;
   
    echo <<<HEREDOC
    <td  align='center' valign='top'>
    <a href='{$list[$i][href]}' >
<img src='$thumb' border='0'  title='$title' class="img" width='$imgwidth' height='$imgheigh'></a>
<div><a href='{$list[$i][href]}' >{$subject} {$title}</a> {$list[$i][icon_new]}</div>
    </td>
HEREDOC;
}
/* end for */
?>
<? if (count($list) == 0) { ?><td align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td><? } ?>
</tr>
</table>

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 10,637
© SIRSOFT
현재 페이지 제일 처음으로