링크보시면 부동산사이트인데요 -아파트 프리미엄 매물- 에서 최신갤러리스킨이
슬라이드로 움직이고 싶은데요
밑에소스는 통합최신갤러리 소스인데요
여기서 무엇을 추가하면 돌아가는지 알고 싶습니다
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$arr_new_cols=5; //한 줄에 출력할 이미지 개수
$imgwidth = 130; //이미지 가로사이즈
$imgheigh = 200; //이미지 세로사이즈
$tablewidth = 800; // 전체테이블사이즈
$top_title = 통합갤러리; // 상단제목 설정하세요
$data_path = $g4[path]."/data/file";
$thumb_path = $data_path."/thumbs/"; //불당썸네일 경로
?>
<link rel="stylesheet" type="text/css" href="<?=$latest_skin_path?>/arr_new_gallery.css">
<style type="text/css">
a.tt:link, a.tt:visited, a.tt:active {
text-decoration:none;
color:#000000;
letter-spacing:-0.04em;
font-size: 12px; }
a.tt:hover {
text-decoration:none;
color:#F60;
font-size: 12px;}
.tabcom_area{}
.tabcom_area .title{height:30px; border-bottom:2px solid #b1b1b1; margin:5px 0 10px 0; padding:0; position:relative;}
.tabcom_area .title h3{display:inline; float:left; letter-spacing:-1px; margin:0 0 5px 0; padding-bottom:5px; font-weight:bold; font-size:20px; border-bottom:2px solid #353535; position:relative;}
.tabcom_area .title h3 a{color:#3F627D;}
.tabcom_area .title span{display:inline; float:left; font:10px tahoma; margin-top:2px;margin-right:5px;}
.tabcom_area .title span a{ color:#777; }
.tabcom_list {display:inline;border-bottom-width:1; border-bottom-color:#9999CC; border-bottom-style:dotted;margin-top:10px; margin-botton:10px;}
</style>
<table width="100%" cellpadding=0 cellspacing=0 style="margin-top:7px;">
<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]); //원본
$img=$data_path."/".$bo_table."/".$image; //썸네일이 없을경우 원본출력
$thumb = $thumb_path."/".$bo_table."/thumb".$list[$i][wr_id];
if (!file_exists($img) || !$list[$i][file][0][file]){
$img = "$latest_skin_path/img/no_image.gif";
}
echo <<<HEREDOC
<td align='center' valign='middle' class='lt_td' width='{$imgwidth}' height='{$imgheight}'>
<a href='{$list[$i][href]}' >
<br><br><img src='$img' border='0' title='$title' class="img"><br/><br/>
<span style='font-size:9pt; color:#0000ff;'>[{$board_list[$i][bo_subject]}]</span>
<div>{$subject} {$title} </div>
<span style='font-size:9pt; color:#FF0000;'><b>[{$list[$i][wr_8]} 만원]</b></span></a>
</td>
HEREDOC;
}
/* end for */
?>
<? if (count($list) == 0) { ?><td align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td><? } ?>
</tr>
</table>
<br />
슬라이드로 움직이고 싶은데요
밑에소스는 통합최신갤러리 소스인데요
여기서 무엇을 추가하면 돌아가는지 알고 싶습니다
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$arr_new_cols=5; //한 줄에 출력할 이미지 개수
$imgwidth = 130; //이미지 가로사이즈
$imgheigh = 200; //이미지 세로사이즈
$tablewidth = 800; // 전체테이블사이즈
$top_title = 통합갤러리; // 상단제목 설정하세요
$data_path = $g4[path]."/data/file";
$thumb_path = $data_path."/thumbs/"; //불당썸네일 경로
?>
<link rel="stylesheet" type="text/css" href="<?=$latest_skin_path?>/arr_new_gallery.css">
<style type="text/css">
a.tt:link, a.tt:visited, a.tt:active {
text-decoration:none;
color:#000000;
letter-spacing:-0.04em;
font-size: 12px; }
a.tt:hover {
text-decoration:none;
color:#F60;
font-size: 12px;}
.tabcom_area{}
.tabcom_area .title{height:30px; border-bottom:2px solid #b1b1b1; margin:5px 0 10px 0; padding:0; position:relative;}
.tabcom_area .title h3{display:inline; float:left; letter-spacing:-1px; margin:0 0 5px 0; padding-bottom:5px; font-weight:bold; font-size:20px; border-bottom:2px solid #353535; position:relative;}
.tabcom_area .title h3 a{color:#3F627D;}
.tabcom_area .title span{display:inline; float:left; font:10px tahoma; margin-top:2px;margin-right:5px;}
.tabcom_area .title span a{ color:#777; }
.tabcom_list {display:inline;border-bottom-width:1; border-bottom-color:#9999CC; border-bottom-style:dotted;margin-top:10px; margin-botton:10px;}
</style>
<table width="100%" cellpadding=0 cellspacing=0 style="margin-top:7px;">
<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]); //원본
$img=$data_path."/".$bo_table."/".$image; //썸네일이 없을경우 원본출력
$thumb = $thumb_path."/".$bo_table."/thumb".$list[$i][wr_id];
if (!file_exists($img) || !$list[$i][file][0][file]){
$img = "$latest_skin_path/img/no_image.gif";
}
echo <<<HEREDOC
<td align='center' valign='middle' class='lt_td' width='{$imgwidth}' height='{$imgheight}'>
<a href='{$list[$i][href]}' >
<br><br><img src='$img' border='0' title='$title' class="img"><br/><br/>
<span style='font-size:9pt; color:#0000ff;'>[{$board_list[$i][bo_subject]}]</span>
<div>{$subject} {$title} </div>
<span style='font-size:9pt; color:#FF0000;'><b>[{$list[$i][wr_8]} 만원]</b></span></a>
</td>
HEREDOC;
}
/* end for */
?>
<? if (count($list) == 0) { ?><td align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td><? } ?>
</tr>
</table>
<br />
댓글 2개
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기