삼관왕 님의 방명록(코멘트 가능) 스킨을 수정하면서..
제가 원하는 스킨과 가장 비슷한 스킨을 찾아서 며칠째 수정중입니다.
gblist.skin.php 에서 스킨의 모양을 바꾸려는것 보다는 list의 구조를 약간 바꾸려고 합니다.
지금 이 스킨을
1. 코멘트가 아래에서 나오는데 그걸 오른쪽에 스크롤 나오는 셀에 넣고 싶고
2. 방명록이라서 그런지 제목이 없어서.. 본문에 제목을 써주면 되는데 첨부한 이미지보다 윗줄에서 나오게 구현하고 싶습니다.
이 두가지를 해보려고 수정할때마다 각종 에러가 나서 지금 오도방정 떨고 있습니다.
gblist.skin.php 소스는 아래와 같습니다..
도움 부탁드립니다..
<?
/* ÀÌ ½ºÅ²¿¡ ÀúÀÛ±Ç Á¤Ã¥°°Àº°ÍÀº ¾ø½À´Ï´Ù. ¸¶À½²¯ »ç¿ë Çϼ¼¿ä.¼öÁ¤¹èÆ÷ ¿øÇϽô´ë·Î~~ */
$user_max_img=$width-20; // À̹ÌÁö °¡·ÎÆø ÃÖ´ë Å©±â
$king_secret="<font color=#9EB8CC>ÀÌ ±ÛÀº ºñ¹Ð±Û ÀÔ´Ï´Ù. </font>"; // ºñ¹Ð±ÛÀ϶§ Ç¥½ÃÇÒ ³»¿ë.
$cmt_width=$width-150; //ÄÚ¸àÆ? Å×À̺íÅ©±â
?>
<style>
.tt {font-size:9pt;COLOR:#666666;}
.ip {font-size:8pt;COLOR:#B1B1B1;}
.cmtt{background-color:#ECECEC; padding:5 5 0 5;}
.cott{background-color:#ECECEC; padding:0 5 0 5;}
.cocc{background-color:#ECECEC; padding:10 10 0 10; word-break:break-all; line-height:150%;}
.c_textarea {font-size:9pt;color:#666666; width:100%; height:80px; line-height:150%; border: 1px solid #CCCCCC;word-break:break-all; overflow-y:auto; overflow-x:hidden;}
.c_submit {font-size:9pt;color:#666666; width:60px; height:80px; background-color:#E0E0E0; border:1px solid #CCCCCC;}
</style>
<table width='<?=$width?>' align=center border=0 cellpadding=0 cellspacing=0><tr><td>
<table width=100%>
<tr>
<form name=fcategory method=get action='<?="./"?>'>
<input type=hidden name=doc value='<?=$doc?>'>
<td width=50%>
</td>
</form>
<td width=50% align=right>
<? if ($admin_href) { echo "<a href='$admin_href'>°ü¸?ÀÚ¸Þ´º</a>"; } ?>
<? if ($write_href) {echo "<a href='$write_href'><img src='$board_skin/write.gif' border='0' align='absmiddle' alt='±Û¾²±â'></a>";} ?></td>
</tr>
</table>
<table width=100% border=0 cellpadding=0 cellspacing=0>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=sselect value='<?=$sselect?>'>
<input type=hidden name=stext value='<?=$stext?>'>
<input type=hidden name=section value='<?=$section?>'>
<input type=hidden name=page value='<?=$page?>'>
<? for ($i=0; $i<count($list); $i++) { // ¸?½ºÆ? ¹Ýº¹ ½ÃÀÛ ?>
<? include "$board_skin/_set.php"; ?>
<tr><td align=right>
<TABLE width=100% border=0 cellpadding=0 cellspacing=0 style='table-layout:fixed;'>
<TR valign=bottom>
<TD width=55% background='<?=$board_skin?>/tape_bg.gif' align=right><img src='<?=$board_skin?>/tape.gif'></TD>
<TD width=45% background='<?=$board_skin?>/tape_bg.gif' align=right class='cott'><span class='ip'>
<?=$list[$i][datetime]?></span></TD>
</TR>
<TR>
<TD class='cott'> <span class=ip>No.
<?=$list[$i][num]?>
</span>
<?=$list[$i][name]?>
<? if($ip) echo "<span class='ip'> ($ip)</span>"; ?>
<?=$list[$i][icon_new]?>
<?=$list[$i][icon_secret]?>
<? if ($is_category) { ?>
<span class=tt> [
<?=$list[$i][ca_name]?>
]</span>
<? } ?>
</TD>
<TD class='cott' align=right>
<? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin/modify.gif' border=0 alt=±Û¼öÁ¤></a> ";}?>
<? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin/delete.gif' border=0 alt=±Û»èÁ¦></a> ";} ?>
</TD>
</TR>
<TR>
<TD colspan=2 class='cocc'>
<?
$it_is_secret=0; // Áö±Ý¹?¼°¡..ºñ¹Ð±ÛÀÎÁö..
if( $list[$i][file_image1] ) // À̹ÌÁö°¡ ÀÖÀ»¶§..Å©±â ¼³Á¤
{
$size=GetImageSize($list[$i][file_image1]);
$img_x_size=$size[0];
$img_y_size=$size[1];
$per=1;
if( $img_x_size > $user_max_img )
{
$per = $user_max_img / $img_x_size;
$img_x_size=$user_max_img;
$img_y_size=$img_y_size*$per;
$size = "width = $img_x_size height = $img_y_size";
}
}
if($list[$i][wr_secret]&&!$is_admin) //°ü¸?ÀÚ´Â ³»¿ëÀÌ ¹Ù·Î º¸À̰Ô
$it_is_secret=1;
?>
<?
if($it_is_secret) echo $king_secret;
else
{
if($list[$i][file_image1])
echo "<img src='{$list[$i][file_image1]}' $size style='border-color:#333333;' border=1></a><p>";
echo "<span class='tt'>{$list[$i][content]}</span><br>";
}
?>
<!-- Å×·¯ ÅÂ±× ¹æÁö¿ë -->
</xml></xmp><a href=""></a><a href=''></a>
<?if ($link[$i][link1]) {?>
<img src='<?=$board_skin?>/icon_link.gif' align='absmiddle'> <a href='<?=$link[$i][link_href1]?>' target='<?=$default[de_link_target]?>'><span class='tt'><?=$link[$i][link1]?></span></a><span class='ip'> (hit:<?=$list[$i][wr_link1_hit]?>)</span>
<?}?>
</TD>
</TR>
<? if ($is_comment) { ?>
<? for ($m=0; $m<count($clist); $m++) { // ÄÚ¸àÆ?³»¿ë½ÃÀÛ ?>
<TR>
<TD colspan=2 class='cott'>
<table width=<?=$cmt_width?> border=0 align=right cellpadding=0 cellspacing=0 bgcolor=#F7F7F7 style='word-break:break-all; table-layout:fixed;'>
<tr><td height=1 bgcolor=#cccccc colspan=2></td></tr>
<tr>
<td height=25 style='padding:8 0 0 8;'><?=$clist[$m][name]?><!-- ip»èÁ¦<span class=ip>(<?=$clist[$m][ip]?>)</span>--></td>
<td align=right><? if ($clist[$m][is_del]) { echo "{$clist[$m][del_href]}<font color=#A9B0B4>¨ä</font></a> "; } ?><span class=ip><?=$clist[$m][datetime]?></span> </td>
</tr>
<tr>
<td colspan=2 style='padding:5 5 10 5; line-height:130%;'>
<span class=tt><?=$clist[$m][content]?></span>
</td>
</tr>
</table>
</TD>
</TR>
<? } //ÄÚ¸àÆ?³»¿ë¹Ýº¹³¡ ?>
<? } ?>
<TR>
<TD COLSPAN=2 class='cmtt' align=right>
<? if ($copy_href) { echo "<a href=\"$copy_href\">[º¹»ç]</a> "; } ?> <? if ($move_href) { echo "<a href=\"$move_href\">[À̵¿]</a> "; } ?>
<? if ($is_comment_write&&!$list[$i][wr_secret]) { //ÄÚ¸àÆ? ¾²±â ¹öư//ºñ¹Ð±ÛÀ϶©¹öưÀ̾øÀ½ ?>
<a href="javascript:show_cmt_write('sss', '<?=$list[$i][wr_id]?>')" onfocus='blur()'><img src='<?=$board_skin?>/reply.gif' border=0 align='absmiddle' alt='´äº¯ ¾²±â'></a>
<? } ?>
</TD>
</TR>
<? if ($is_comment) { ?>
<? if ($is_comment_write) { //ÄÚ¸àÆ?¾²±â ?>
<TR><TD colspan=2 class='cott'>
<DIV id='sss<?=$list[$i][wr_id]?>' style="DISPLAY: none">
<table width=<?=$cmt_width?> align=right border=0 cellpadding=0>
<tr>
<td>
<table width=100% cellpadding=0 cellspacing=0>
<form name=fgbview method=post action='./?doc=bbs/gbupdate.php'>
<input type=hidden name=w value='c'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=sselect value='<?=$sselect?>'>
<input type=hidden name=stext value='<?=$stext?>'>
<input type=hidden name=wr_id value='<?=$list[$i][wr_id]?>'>
<input type=hidden name=page value='<?=$page?>'>
<input type=hidden name=section value='<?=$section?>'>
<? if (!$member[mb_id]) { ?>
<tr>
<td colspan=2>
<img src='<?=$board_skin?>/img_name.gif' align='absmiddle'><?=$c_name?> <img src='<?=$board_skin?>/img_pw.gif' align='absmiddle'><input type=password name=wr_passwd size=10 class=input required itemname='ºñ¹Ð¹øÈ£'>
</td>
</tr>
<? } ?>
<tr>
<td width=100%>
<table width=100% border=0 cellspacing=0>
<tr>
<td width=' '>
<textarea onKeyup="var m=90;var s=this.scrollHeight;if(s>=m)this.style.pixelHeight=s+6" required itemname='³»¿ë' name=wr_content class=c_textarea></textarea></td>
<td width=60 valign=top><input type=submit class=c_submit value=' ±ÛÀÔ·Â '></td>
</tr>
</table>
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<DIV>
</TD></TR>
<? } // ÄÚ¸àÆ?¾²±âif³¡ ?>
<? } ?>
<TR>
<TD background='<?=$board_skin?>/shadow_bg.gif'><img src='<?=$board_skin?>/shadow_left.gif'></TD>
<TD background='<?=$board_skin?>/shadow_bg.gif' align=right><img src='<?=$board_skin?>/shadow_right.gif'></TD>
</TR>
</TABLE>
</td></tr>
<? } // ¸?½ºÆ? ¹Ýº¹ ³¡ ?>
<? if (count($list) == 0) { echo "<tr><td height=100 align=center>°Ô½Ã¹°ÀÌ 1°Çµµ ¾ø½À´Ï´Ù..</td></tr>"; } ?>
</table>
<table width=100%>
<tr>
<td align=left>
<? if ($prev_section_href) { echo "<a href='$prev_section_href'>ÀÌÀü°Ë»ö</a>"; } ?>
<?=$write_pages?>
<? if ($next_section_href) { echo "<a href='$next_section_href'>´ÙÀ½°Ë»ö</a>"; } ?>
</td>
</tr>
</table>
<table width=100%>
<tr>
<td width="">
<? if ($list_href) {echo "<a href='$list_href'>Àüü¸ñ·Ï</a>";} ?>
</td>
<form name=fsearch method=get action='<?="./"?>'>
<input type=hidden name=doc value='<?=$doc?>'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=soperator value='1'>
<td width="200" align=right valign=bottom> </td>
</form>
</tr>
</table>
<? if ($stext) { ?>
<script language='JavaScript'>
if ('<?=$sselect?>' == 'ca_id') {
document.fcategory.ca_id.value = '<?=$stext?>';
document.fsearch.stext.value = '';
} else {
document.fsearch.sselect.value = '<?=$sselect?>';
}
</script>
<? } ?>
</td></tr></table>
<script language="javascript">
function popupImage(imageURL){
imageHandle=open("","popupForImage","toolbar=no,location=no,status=no,manubar=no,scrollbars=no,resizable=yes,width=100,height=100,top=100,left=50");
imageHandle.document.write("<title>Image View</title>");
imageHandle.document.write("<style>");
imageHandle.document.write("*{margin:0;padding:0;border:0;}");
imageHandle.document.write("</style>");
imageHandle.document.write("<img src=\""+imageURL+"\" onload=\"window.resizeTo(this.width+9,this.height+28);\" onclick=\"self.close();\" style=\"cursor:hand;\" title=\"Ŭ¸¯ÇÏ¸é ´ÝÈü´Ï´Ù.\">");
}
function show_cmt_write(name, id) {
var layer = document.getElementById(name+id);
layer.style.display = (layer.style.display == "none")? "block" : "none";
}
</script>
gblist.skin.php 에서 스킨의 모양을 바꾸려는것 보다는 list의 구조를 약간 바꾸려고 합니다.
지금 이 스킨을
1. 코멘트가 아래에서 나오는데 그걸 오른쪽에 스크롤 나오는 셀에 넣고 싶고
2. 방명록이라서 그런지 제목이 없어서.. 본문에 제목을 써주면 되는데 첨부한 이미지보다 윗줄에서 나오게 구현하고 싶습니다.
이 두가지를 해보려고 수정할때마다 각종 에러가 나서 지금 오도방정 떨고 있습니다.
gblist.skin.php 소스는 아래와 같습니다..
도움 부탁드립니다..
<?
/* ÀÌ ½ºÅ²¿¡ ÀúÀÛ±Ç Á¤Ã¥°°Àº°ÍÀº ¾ø½À´Ï´Ù. ¸¶À½²¯ »ç¿ë Çϼ¼¿ä.¼öÁ¤¹èÆ÷ ¿øÇϽô´ë·Î~~ */
$user_max_img=$width-20; // À̹ÌÁö °¡·ÎÆø ÃÖ´ë Å©±â
$king_secret="<font color=#9EB8CC>ÀÌ ±ÛÀº ºñ¹Ð±Û ÀÔ´Ï´Ù. </font>"; // ºñ¹Ð±ÛÀ϶§ Ç¥½ÃÇÒ ³»¿ë.
$cmt_width=$width-150; //ÄÚ¸àÆ? Å×À̺íÅ©±â
?>
<style>
.tt {font-size:9pt;COLOR:#666666;}
.ip {font-size:8pt;COLOR:#B1B1B1;}
.cmtt{background-color:#ECECEC; padding:5 5 0 5;}
.cott{background-color:#ECECEC; padding:0 5 0 5;}
.cocc{background-color:#ECECEC; padding:10 10 0 10; word-break:break-all; line-height:150%;}
.c_textarea {font-size:9pt;color:#666666; width:100%; height:80px; line-height:150%; border: 1px solid #CCCCCC;word-break:break-all; overflow-y:auto; overflow-x:hidden;}
.c_submit {font-size:9pt;color:#666666; width:60px; height:80px; background-color:#E0E0E0; border:1px solid #CCCCCC;}
</style>
<table width='<?=$width?>' align=center border=0 cellpadding=0 cellspacing=0><tr><td>
<table width=100%>
<tr>
<form name=fcategory method=get action='<?="./"?>'>
<input type=hidden name=doc value='<?=$doc?>'>
<td width=50%>
</td>
</form>
<td width=50% align=right>
<? if ($admin_href) { echo "<a href='$admin_href'>°ü¸?ÀÚ¸Þ´º</a>"; } ?>
<? if ($write_href) {echo "<a href='$write_href'><img src='$board_skin/write.gif' border='0' align='absmiddle' alt='±Û¾²±â'></a>";} ?></td>
</tr>
</table>
<table width=100% border=0 cellpadding=0 cellspacing=0>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=sselect value='<?=$sselect?>'>
<input type=hidden name=stext value='<?=$stext?>'>
<input type=hidden name=section value='<?=$section?>'>
<input type=hidden name=page value='<?=$page?>'>
<? for ($i=0; $i<count($list); $i++) { // ¸?½ºÆ? ¹Ýº¹ ½ÃÀÛ ?>
<? include "$board_skin/_set.php"; ?>
<tr><td align=right>
<TABLE width=100% border=0 cellpadding=0 cellspacing=0 style='table-layout:fixed;'>
<TR valign=bottom>
<TD width=55% background='<?=$board_skin?>/tape_bg.gif' align=right><img src='<?=$board_skin?>/tape.gif'></TD>
<TD width=45% background='<?=$board_skin?>/tape_bg.gif' align=right class='cott'><span class='ip'>
<?=$list[$i][datetime]?></span></TD>
</TR>
<TR>
<TD class='cott'> <span class=ip>No.
<?=$list[$i][num]?>
</span>
<?=$list[$i][name]?>
<? if($ip) echo "<span class='ip'> ($ip)</span>"; ?>
<?=$list[$i][icon_new]?>
<?=$list[$i][icon_secret]?>
<? if ($is_category) { ?>
<span class=tt> [
<?=$list[$i][ca_name]?>
]</span>
<? } ?>
</TD>
<TD class='cott' align=right>
<? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin/modify.gif' border=0 alt=±Û¼öÁ¤></a> ";}?>
<? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin/delete.gif' border=0 alt=±Û»èÁ¦></a> ";} ?>
</TD>
</TR>
<TR>
<TD colspan=2 class='cocc'>
<?
$it_is_secret=0; // Áö±Ý¹?¼°¡..ºñ¹Ð±ÛÀÎÁö..
if( $list[$i][file_image1] ) // À̹ÌÁö°¡ ÀÖÀ»¶§..Å©±â ¼³Á¤
{
$size=GetImageSize($list[$i][file_image1]);
$img_x_size=$size[0];
$img_y_size=$size[1];
$per=1;
if( $img_x_size > $user_max_img )
{
$per = $user_max_img / $img_x_size;
$img_x_size=$user_max_img;
$img_y_size=$img_y_size*$per;
$size = "width = $img_x_size height = $img_y_size";
}
}
if($list[$i][wr_secret]&&!$is_admin) //°ü¸?ÀÚ´Â ³»¿ëÀÌ ¹Ù·Î º¸À̰Ô
$it_is_secret=1;
?>
<?
if($it_is_secret) echo $king_secret;
else
{
if($list[$i][file_image1])
echo "<img src='{$list[$i][file_image1]}' $size style='border-color:#333333;' border=1></a><p>";
echo "<span class='tt'>{$list[$i][content]}</span><br>";
}
?>
<!-- Å×·¯ ÅÂ±× ¹æÁö¿ë -->
</xml></xmp><a href=""></a><a href=''></a>
<?if ($link[$i][link1]) {?>
<img src='<?=$board_skin?>/icon_link.gif' align='absmiddle'> <a href='<?=$link[$i][link_href1]?>' target='<?=$default[de_link_target]?>'><span class='tt'><?=$link[$i][link1]?></span></a><span class='ip'> (hit:<?=$list[$i][wr_link1_hit]?>)</span>
<?}?>
</TD>
</TR>
<? if ($is_comment) { ?>
<? for ($m=0; $m<count($clist); $m++) { // ÄÚ¸àÆ?³»¿ë½ÃÀÛ ?>
<TR>
<TD colspan=2 class='cott'>
<table width=<?=$cmt_width?> border=0 align=right cellpadding=0 cellspacing=0 bgcolor=#F7F7F7 style='word-break:break-all; table-layout:fixed;'>
<tr><td height=1 bgcolor=#cccccc colspan=2></td></tr>
<tr>
<td height=25 style='padding:8 0 0 8;'><?=$clist[$m][name]?><!-- ip»èÁ¦<span class=ip>(<?=$clist[$m][ip]?>)</span>--></td>
<td align=right><? if ($clist[$m][is_del]) { echo "{$clist[$m][del_href]}<font color=#A9B0B4>¨ä</font></a> "; } ?><span class=ip><?=$clist[$m][datetime]?></span> </td>
</tr>
<tr>
<td colspan=2 style='padding:5 5 10 5; line-height:130%;'>
<span class=tt><?=$clist[$m][content]?></span>
</td>
</tr>
</table>
</TD>
</TR>
<? } //ÄÚ¸àÆ?³»¿ë¹Ýº¹³¡ ?>
<? } ?>
<TR>
<TD COLSPAN=2 class='cmtt' align=right>
<? if ($copy_href) { echo "<a href=\"$copy_href\">[º¹»ç]</a> "; } ?> <? if ($move_href) { echo "<a href=\"$move_href\">[À̵¿]</a> "; } ?>
<? if ($is_comment_write&&!$list[$i][wr_secret]) { //ÄÚ¸àÆ? ¾²±â ¹öư//ºñ¹Ð±ÛÀ϶©¹öưÀ̾øÀ½ ?>
<a href="javascript:show_cmt_write('sss', '<?=$list[$i][wr_id]?>')" onfocus='blur()'><img src='<?=$board_skin?>/reply.gif' border=0 align='absmiddle' alt='´äº¯ ¾²±â'></a>
<? } ?>
</TD>
</TR>
<? if ($is_comment) { ?>
<? if ($is_comment_write) { //ÄÚ¸àÆ?¾²±â ?>
<TR><TD colspan=2 class='cott'>
<DIV id='sss<?=$list[$i][wr_id]?>' style="DISPLAY: none">
<table width=<?=$cmt_width?> align=right border=0 cellpadding=0>
<tr>
<td>
<table width=100% cellpadding=0 cellspacing=0>
<form name=fgbview method=post action='./?doc=bbs/gbupdate.php'>
<input type=hidden name=w value='c'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=sselect value='<?=$sselect?>'>
<input type=hidden name=stext value='<?=$stext?>'>
<input type=hidden name=wr_id value='<?=$list[$i][wr_id]?>'>
<input type=hidden name=page value='<?=$page?>'>
<input type=hidden name=section value='<?=$section?>'>
<? if (!$member[mb_id]) { ?>
<tr>
<td colspan=2>
<img src='<?=$board_skin?>/img_name.gif' align='absmiddle'><?=$c_name?> <img src='<?=$board_skin?>/img_pw.gif' align='absmiddle'><input type=password name=wr_passwd size=10 class=input required itemname='ºñ¹Ð¹øÈ£'>
</td>
</tr>
<? } ?>
<tr>
<td width=100%>
<table width=100% border=0 cellspacing=0>
<tr>
<td width=' '>
<textarea onKeyup="var m=90;var s=this.scrollHeight;if(s>=m)this.style.pixelHeight=s+6" required itemname='³»¿ë' name=wr_content class=c_textarea></textarea></td>
<td width=60 valign=top><input type=submit class=c_submit value=' ±ÛÀÔ·Â '></td>
</tr>
</table>
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<DIV>
</TD></TR>
<? } // ÄÚ¸àÆ?¾²±âif³¡ ?>
<? } ?>
<TR>
<TD background='<?=$board_skin?>/shadow_bg.gif'><img src='<?=$board_skin?>/shadow_left.gif'></TD>
<TD background='<?=$board_skin?>/shadow_bg.gif' align=right><img src='<?=$board_skin?>/shadow_right.gif'></TD>
</TR>
</TABLE>
</td></tr>
<? } // ¸?½ºÆ? ¹Ýº¹ ³¡ ?>
<? if (count($list) == 0) { echo "<tr><td height=100 align=center>°Ô½Ã¹°ÀÌ 1°Çµµ ¾ø½À´Ï´Ù..</td></tr>"; } ?>
</table>
<table width=100%>
<tr>
<td align=left>
<? if ($prev_section_href) { echo "<a href='$prev_section_href'>ÀÌÀü°Ë»ö</a>"; } ?>
<?=$write_pages?>
<? if ($next_section_href) { echo "<a href='$next_section_href'>´ÙÀ½°Ë»ö</a>"; } ?>
</td>
</tr>
</table>
<table width=100%>
<tr>
<td width="">
<? if ($list_href) {echo "<a href='$list_href'>Àüü¸ñ·Ï</a>";} ?>
</td>
<form name=fsearch method=get action='<?="./"?>'>
<input type=hidden name=doc value='<?=$doc?>'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=soperator value='1'>
<td width="200" align=right valign=bottom> </td>
</form>
</tr>
</table>
<? if ($stext) { ?>
<script language='JavaScript'>
if ('<?=$sselect?>' == 'ca_id') {
document.fcategory.ca_id.value = '<?=$stext?>';
document.fsearch.stext.value = '';
} else {
document.fsearch.sselect.value = '<?=$sselect?>';
}
</script>
<? } ?>
</td></tr></table>
<script language="javascript">
function popupImage(imageURL){
imageHandle=open("","popupForImage","toolbar=no,location=no,status=no,manubar=no,scrollbars=no,resizable=yes,width=100,height=100,top=100,left=50");
imageHandle.document.write("<title>Image View</title>");
imageHandle.document.write("<style>");
imageHandle.document.write("*{margin:0;padding:0;border:0;}");
imageHandle.document.write("</style>");
imageHandle.document.write("<img src=\""+imageURL+"\" onload=\"window.resizeTo(this.width+9,this.height+28);\" onclick=\"self.close();\" style=\"cursor:hand;\" title=\"Ŭ¸¯ÇÏ¸é ´ÝÈü´Ï´Ù.\">");
}
function show_cmt_write(name, id) {
var layer = document.getElementById(name+id);
layer.style.display = (layer.style.display == "none")? "block" : "none";
}
</script>
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인