질문 & 답변 게시판
글수 190,252
포트폴리오 타입의 스킨을 만들려고 하는데요,
아래 이미지(' 대류 '님 스킨)에서 이미지 클릭하면 새창으로 이미지가 뜨고,
사이트를 클릭하면 새창으로 사이트가 뜨게하려고 합니다.
***이미지 : 대류님 스킨***

간단히 말하면, 대류님 스킨에 CSI님 스킨 기능을 적용했으면 합니다.....
아시는 분 가르쳐주시면 정말 감사하겠습니다.........................ㅠ.ㅠ
< ' CSI ' 님 스킨 >
(http://www.zeroboard.com/?mid=zb4_skin_user&category=1292212&search_target=title&search_keyword=%ED%8F%AC%ED%8A%B8%ED%8F%B4%EB%A6%AC%EC%98%A4&document_srl=1436036 )



참고만 해 보세요..
<?
if($setup[use_alllist]) $view_file="zboard.php"; else $view_file="view.php";
$h_size = 300; // 게시물 하나가 들어갈 박스 크기
$h_num = 2; // 가로 한줄에 들어갈 그림 갯수
$img_width = 114; // 위 파일 width
$img_height = 114; // 위 파일 height
$a1 = "<a href=\"".$view_file."?$href$sort&no=$data[no]\">";
$a2 = "</a>";
$dr_memo = str_replace(" ","",stripslashes(strip_tags($data[memo])));
$dr_memo = cut_str($dr_memo,120); // 내용 출력 글자수를 조절하세요
$dr_memo = "<table cellspacing=0 cellpadding=0><tr><td valign=top class=daerew>$a1$dr_memo<font class='more'> ...more</font>$a2</td></tr></table>";
$photo = "<a href=\"".$view_file."?$href$sort&no=$data[no]\"><img src='$data[file_name1]' width='$img_width' height='$img_height' border='0' onError=this.src='$dir/no_shot.jpg' ></a>";
$more = "<a href=\"".$view_file."?$href$sort&no=$data[no]\"><font color='ff9900'>...more</font></a>";
?>
<td align=center style="padding:3;">
<table width=<?=$h_size?> border=0 cellspacing=0 cellpadding=0 class=photo_box onMouseOver=this.style.backgroundColor='#f8f8f8' onMouseOut=this.style.backgroundColor=''>
<col align=center style="padding: 5 4 8 8;"></col><col align=center style="padding: 5 8 8 4;"></col>
<tr><td colspan=2>
<table border=0 cellspacing=0 cellpadding=0 width=100% style='table-layout:fixed'>
<tr><td width="85%" align="left" valign="middle" bgcolor="#F7F7F7" style="padding-top:5; padding-left:10; border-top-width:1; border-bottom-width:1; border-left-width:1; border-top-color:rgb(221,221,221); border-bottom-color:rgb(221,221,221); border-left-color:rgb(221,221,221); border-top-style:solid; border-bottom-style:solid; border-left-style:solid;"><?=$hide_cart_start?><input type=checkbox name=cart value="<?=$data[no]?>"><?=$hide_cart_end?><b><?=$subject?></b> <font class=comment><?=$comment_num?></font></td>
<td width="15%" align="right" valign="middle" bgcolor="#F7F7F7" style="padding-top:5; padding-right:5; padding-bottom:5; border-top-width:1; border-right-width:1; border-bottom-width:1; border-top-color:rgb(221,221,221); border-right-color:rgb(221,221,221); border-bottom-color:rgb(221,221,221); border-top-style:solid; border-right-style:solid; border-bottom-style:solid; line-height:80%;"><font class=daerew_small><?=$date=date("y.m.d",$data[reg_date])?><br><?=$hit?> hit</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align=center valign=top width='120'>
<table border=0 cellspacing=0 cellpadding=0 width=100% height='120' style='table-layout:fixed' class=border>
<tr>
<td align=center valign=center><?=$photo?></td>
</tr>
</table>
</td>
<td valign=top width='170'>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style='table-layout:fixed' >
<tr>
<td>
<a onfocus='this.blur()' href=<?=$data['sitelink1']?> target=_blank><?=$a_sitelink?><?=$data['sitelink1']?></a> <?=$more?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<?
$_x ++;
if ($_x>=$h_num) { echo"</tr>"; $_x=0; }
?>