<? } ?>
<!-- 내용 출력 -->
<div id="pdCon">
<!-- <h3><p></p><?=cut_hangul_last(get_text($view[wr_subject]))?></h3> -->
<div id="contentPd">
<? if($view[wr_3]== null) { ?>
<? } else { ?>
<p><img src="/img/icon_new.png" alt=""/></p>
<? } ?>
<div class="imgLeft">
<? for($i=0; $i<count($img[file]); $i++) : ?>
<div class="img_big" id='img_big_<?=$i?>' style='display:<?=($i==0) ? "show":"none"?>' >
<a href='<?=$img[file][$i][href]?>'>
<?=makeThumbs($g4[path]."/data/file/$bo_table", $img[file][$i][file], "300", "300", cut_str($view[subject],20), "thumbs_view");?>
</a>
</div>
<? endfor;?>
<ul>
<? for($i=0; $i<count($img[file]); $i++) : ?>
<li>
<div>
<a href="javascript:show_big(<?=$i?>)">
<?=makeThumbs($g4[path]."/data/file/$bo_table", $img[file][$i][file], "62", "62", cut_str($view[subject],20), "thumbs_view_small");?>
</a>
</div>
</li>
<? endfor; ?>
</ul>
<script>
function show_big(i)
{
$(".img_big").hide();
$("#img_big_" + i).show();
}
</script>
</div>
<div class="txtRight">
<h4><?=$view[subject]?></h4>
<h5><?=$view[wr_2]?></h5>
<ul>
<? if($view[wr_1] == null) {
} else {?>
<li>
<label><img src="/img/pro1.gif"></label>
<span><?=$view[wr_1]?></span>
</li>
<? } ?>
<? if($view[wr_6] == null) {
} else {?>
<li>
<label><img src="/img/pro2.gif"></label>
<span><?=$view[wr_6]?></span>
</li>
<? } ?>
<? if($view[wr_7] == null) {
} else {?>
<li>
<label><img src="/img/pro3.gif"></label>
<span><?=$view[wr_7]?></span>
</li>
<? } ?>
<? if($view[wr_8] == null) {
} else {?>
<li>
<label><img src="/img/pro4.gif"></label>
<span><?=$view[wr_8]?></span>
</li>
<? } ?>
<? if($view[wr_5] == null) {
} else {?>
<li class="last">
<label><img src="/img/pro5.gif"></label>
<span><span><?=$view[wr_5]?>원</span> (VAT포함)</span>
</li>
<? } ?>
</ul>
</div>
</div>
<div class="contentShop">
<h4>제품소개</h4>
<?
$ttt = $view[wr_content];
$ttt = str_replace("http://도메인", "", $ttt);
echo $ttt;
?>
</div>
</div>
<script>
function tr_display(gb)
{
if(gb=="") {
$(".tr_file").show();
} else {
$(".tr_file").hide();
$(".tr_file_"+gb).show();
}
}
</script>
<? if($is_admin) { ?>
<?//echo $view[rich_content]; // {이미지:0} 과 같은 코드를 사용할 경우?>
<!-- 테러 태그 방지용 --></xml></xmp><a href=""></a><a href=''></a>
<? if ($nogood_href) {?>
<div style="width:72px; height:55px; background:url(<?=$board_skin_path?>/img/good_bg.gif) no-repeat; text-align:center; float:right;">
<div style="color:#888; margin:7px 0 5px 0;">비추천 : <?=number_format($view[wr_nogood])?></div>
<div><a href="<?=$nogood_href?>" target="hiddenframe"><img src="<?=$board_skin_path?>/img/icon_nogood.gif" border='0' align="absmiddle"></a></div>
</div>
<? } ?>
<? if ($good_href) {?>
<div style="width:72px; height:55px; background:url(<?=$board_skin_path?>/img/good_bg.gif) no-repeat; text-align:center; float:right;">
<div style="color:#888; margin:7px 0 5px 0;"><span style='color:crimson;'>추천 : <?=number_format($view[wr_good])?></span></div>
<div><a href="<?=$good_href?>" target="hiddenframe"><img src="<?=$board_skin_path?>/img/icon_good.gif" border='0' align="absmiddle"></a></div>
</div>
<? } ?>
</td>
</tr>
<? if ($is_signature) { echo "<tr><td align='center' style='border-bottom:1px solid #E7E7E7; padding:5px 0;'>$signature</td></tr>"; } // 서명 출력 ?>
</table>
<? } ?>
<? /*
// 코멘트 입출력
include_once("./view_comment.php");
*/ ?>
<? if($is_admin) { ?>
<div style="clear:both; height:43px;">
<div style="float:left; margin-top:10px;">
<? if ($prev_href) { echo "<a href=\"$prev_href\" title=\"$prev_wr_subject\"><img src='$board_skin_path/img/btn_prev.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($next_href) { echo "<a href=\"$next_href\" title=\"$next_wr_subject\"><img src='$board_skin_path/img/btn_next.gif' border='0' align='absmiddle'></a> "; } ?>
</div>
<!-- 링크 버튼 -->
<div style="float:right; margin-top:10px;">
<?=$link_buttons?>
</div>
</div>
</td></tr></table><br>
<? } ?>