¾È³çÇϼ¼¿ä.
Á¦·Îº¸µå¸¦ »ç¿ëÇÏ°í Àִµ¥
¹«ÇÑ ¾÷·Îµå°¡ µÇ´Â °¶·¯¸® ½ºÅ²À» »ç¿ëÇϴµ¥
½ºÅ²À» ¼öÁ¤ÇÒ·Á°í º¸´Ï php ´Â Àë¹ðÀ̶ó
¿©±â´Ù Á¶¾ðÁ» ±¸ÇÒ·Á°í ±ÛÀ» ³²±é´Ï´Ù.
º¸¿©ÁÖ´Â ÆäÀÌÁö ¼Ò½º´Â
view.php ÀÎ°Í °°Àºµ¥
Á¦°¡ ¾Æ¹«¸® Çصµ ¾ÈµÇ³×¿ä.
-------------------
<script>
var copyrightAlertMsg = "<?=$gskin[guide_img_warning]?>";
var board_width = "<?=$gskin[view_img_width]?>";
</script>
<?
/*
¾Æ·¡ php¼Ò½º´Â ´Ù¸¥ °÷¿¡ ÇԺηΠº¹Á¦ÇÏ½Ã¸é ºÒÀÌÀÍÀ» ¹ÞÀ¸½Ç ¼ö ÀÖ½À´Ï´Ù.
*/
$date="<span title='".date("Y³â m¿ù dÀÏ D H½Ã iºÐ sÃÊ", $data[reg_date])."'>".date("Y¡¤m¡¤d H:i", $data[reg_date])."</span>";
$_zbResizeCheck = false;
$up_image1=$up_image2="";
if($view_date_is ==1) { $ggambo_bar = " <font class=bar>|</font>"; }
if($view_hit_is ==1) { $ggambo_bar = " <font class=bar>|</font>"; }
if($view_vote_is ==1) { $ggambo_bar = " <font class=bar>|</font>"; }
if($gskin[view_font_control]) { $memo_height ="12"; } else { $memo_height ="20"; }
if($gskin[view_down_power]<$member[level]) { unset($a_file_link1); unset($a_file_link2); }
//¹öÆ° Àç¼³Á¤
if($is_admin||$member[level]<=$setup[grant_write]) { $a_write="<a onfocus=blur() href='write.php?$href$sort&no=$no&mode=write&sn1=$sn1'>"; } else { $a_write=""; }
if(($is_admin||$member[level]<=$setup[grant_reply])&&$no&&($data[headnum]>-2000000000))
{ $a_reply="<a onfocus=blur() href='write.php?$href$sort&no=$no&mode=reply&sn1=$sn1'>"; } else { $a_reply=""; }
if($is_admin||$member[level]<=$setup[grant_list]) { $a_list="<a onfocus=blur() href='zboard.php?id=$id&page=$page&page_num=$page_num&category=$category&sn=$sn&ss=$ss&sc=$sc&keyword=
$keyword&prev_no=$no&sn1=$sn1&divpage=$divpage&select_arrange=$select_arrange&desc=$asc'>"; } else { $a_list=""; }
if(($is_admin||$member[level]<=$setup[grant_delete]||$data[ismember]==$member[no]||!$data[ismember])&&!$data[child])
{ $a_delete="<a onfocus=blur() href='ggambo_delete.php?$href$sort&no=$no'>"; } else { $a_delete=""; }
if(($is_admin||$member[level]<=$setup[grant_delete]||$data[ismember]==$member[no]||!$data[ismember])&&$no)
{ $a_modify="<a onfocus=blur() href='write.php?$href$sort&no=$no&mode=modify'>"; } else { $a_modify=""; }
if($data[ismember]==$member[no]) { $a_vote = ""; } else {
if(!eregi($setup[no]."_".$no,$HTTP_SESSION_VARS["zb_vote"])) $a_vote="<a onfocus=blur() href='vote.php?$href$sort&no=$no'>";
else $a_vote = "";
}
$ggambo_subject = subject_accent("$data[subject]",0);
if(($member[level]<=$gskin[view_down_power])||$is_admin) { } else { $a_file_link1 = ""; $a_file_link2 = ""; }
$ggambo_subject = subject_accent("$data[subject]",0);
$ggambo_memo = ggambo_memo("$memo");
if($file_name1) $a_filelink1 = "<a href=".$dir."/down.php?id=$id&no=$data[no]&file_no=1>"; else $a_filelink1="<Zeroboard";
if($file_name2) $a_filelink2 = "<a href=".$dir."/down.php?id=$id&no=$data[no]&file_no=2>"; else $a_filelink2="<Zeroboard";
if(!$file_name1 || eregi("(\.(gif|jpg|jpeg|bmp|png))$",$file_name1)) { $g_file1 = ""; } else { $g_file1 = "checked"; }
if(!$file_name2 || eregi("(\.(gif|jpg|jpeg|bmp|png))$",$file_name2)) { $g_file2 = ""; } else { $g_file2 = "checked"; }
$add_file = kind_file_num();
if(($setup[use_pds])&&(($g_file1)||($g_file2))) $ggambo_pds = "checked";
if(($gskin[basic_addup])&&($add_file)) $ggambo_pds = "checked";
if(($setup[use_homelink])&&($data[sitelink1])) $ggam_link = "checked";
if(($setup[use_filelink])&&($data[sitelink2])) $ggam_link = "checked";
if(($ggambo_pds)&&($ggam_link)) { $file_title = "FILE & LINK"; }
elseif($ggambo_pds) { $file_title = "FILE"; }
else { $file_title = "LINK"; }
copy_no();
?>
<table border=0 cellspacing=0 cellpadding=0 width=<?=$width?> style='table-layout:fixed;border-width:1 0 1 0;border-color:<?=$gskin[basic_layout_color]?>;border-style:solid;'>
<? if($gskin[view_subject]) { ?><tr><td class=ggambo_view_title style='border-color:<?=$gskin[basic_layout_color]?>;'><? if($gskin[view_category]&&$setup[use_category]) { ?><?=$category_name?> : <? } ?><?=$ggambo_subject?></td></tr><? } ?>
<? if($gskin[view_name]||$gskin[view_hit]||$gskin[view_vote]||$gskin[view_date]) { ?>
<tr><td style='padding:0 20 0 20;height:28px;border-width:0 0 1 0;border-color:<?=$gskin[list_line_color]?>;border-style:solid;'>
<table border=0 cellspacing=0 cellpadding=0 width='100%'><tr><td style='padding:3 0 0 0;'>
<? if($gskin[view_name]) { ?><?=$face_image?> <?=$name?>
<? } ?></td>
<td align=right><font class='ggambo_ta8'><? if($gskin[view_name]) { ?><? if($data['homepage']) { ?><a href="<?=$data['homepage']?>" target=_blank><img src=<?=$dir?>/img/home09.gif border=0 align=middle></a> <? } } ?><? if($gskin[view_date]) { ?> <font class=bar>|</font> <?=$date?><? } ?><? if($gskin[view_hit]) { ?> <font class=bar>|</font> HIT : <?=number_format($hit)?><? } ?><? if($gskin[view_vote]) { ?> <font class=bar>|</font> VOTE : <?=number_format($vote)?><? } ?><?=$ggambo_bar?></font></td></tr></table>
</td></tr><? } else { } ?>
<? if($g_file2||$g_file1||$add_file||$sitelink1||$sitelink2) { ?>
<tr><td>
<fieldset style='padding:0 10 10 15;margin:0 20 0 20;word-break:break-all;' class="ggambo_ta8"><legend><font class=ggambo_ta7 color=black> <?=$file_title?> </font></legend>
<? if($setup[use_pds]) { ?>
<? if(!$file_name1 || eregi("(\.(gif|jpg|jpeg|bmp|png))$",$file_name1)) { } else { ?><li><font class=ggambo_ta8><?=$a_filelink1?><?=$file_name1?> (<?=$file_size1?>)</a>, Down : <?=$file_download1?></font><br><? } ?>
<? if(!$file_name2 || eregi("(\.(gif|jpg|jpeg|bmp|png))$",$file_name2)) { } else { ?><li><font class=ggambo_ta8><?=$a_filelink2?><?=$file_name2?> (<?=$file_size2?>)</a>, Down : <?=$file_download2?></font><br><? } ?>
<? } ?>
<? kind_file("<li>")?>
<?=$hide_sitelink1_start?><li><font class=ggambo_ta7 color=black>LINK1</font> : <font class=ggambo_ta8><?=$sitelink1?></font><br><?=$hide_sitelink1_end?>
<?=$hide_sitelink2_start?><li><font class=ggambo_ta7 color=black>LINK2</font> : <font class=ggambo_ta8><?=$sitelink2?></font><br><?=$hide_sitelink2_end?>
</fieldset>
</td></tr>
<? } ?>
<? if($gskin[view_button_topplace]) { ?>
<tr><td>
<table border=0 cellspacing=0 cellpadding=0 width='100%'>
<tr><? if($gskin[view_font_control]) { ?><td style='padding:3 0 0 20;'>
<a href="javascript:PlusFont();"><img src="<?=$dir?>/img/font_plus.gif" border="0"></a> <a href="javascript:MinusFont();"><img src="<?=$dir?>/img/font_minus.gif" border="0"></a> <a href="javascript:SetArticleFont();"><img src="<?=$dir?>/img/font_save.gif" border="0"></a> <a href="javascript:SetDefaultFont();"><img src="<?=$dir?>/img/font_default.gif" border="0"></a>
</td><? } ?>
<td align=right style='padding:8 8 3 0;'>
<? if($a_list) { ?><?=$a_list?><? if($gskin[basic_button]) { ?><font class=button><?=$gskin[basic_button_list]?></font><? } else { ?><img src=<?=$dir?>/img/g_list.gif border=0><? } ?></a><? } ?>
<? if($a_write) { ?><?=$a_write?><? if($gskin[basic_button]) { ?><font class=button><?=$gskin[basic_button_write]?></font><? } else { ?><img src=<?=$dir?>/img/g_write.gif border=0><? } ?></a><? } ?>
<? if($a_reply) { ?><?=$a_reply?><? if($gskin[basic_button]) { ?><font class=button><?=$gskin[basic_button_reply]?></font><? } else { ?><img src=<?=$dir?>/img/g_reply.gif border=0><? } ?></a><? } ?>
<? if($a_modify) { ?><?=$a_modify?><? if($gskin[basic_button]) { ?><font class=button><?=$gskin[basic_button_modify]?></font><? } else { ?><img src=<?=$dir?>/img/g_modify.gif border=0><? } ?></a><? } ?>
<? if($a_delete) { ?><?=$a_delete?><? if($gskin[basic_button]) { ?><font class=button><?=$gskin[basic_button_delete]?></font><? } else { ?><img src=<?=$dir?>/img/g_delete.gif border=0><? } ?></a><? } ?>
<? if(($gskin[list_vote]||$gskin[view_vote])&&($a_vote)) { ?><?=$a_vote?><? if($gskin[basic_button]) { ?><font class=button><?=$gskin[basic_button_vote]?></font><? } else { ?><img src=<?=$dir?>/img/g_vote.gif border=0><? } ?></a><? } ?>
</td></tr>
</table>
</td></tr>
<? } else { ?>
<? if($gskin[view_font_control]) { ?>
<tr><td align=right style='padding:3 20 0 0;'>
<a href="javascript:PlusFont();"><img src="<?=$dir?>/img/font_plus.gif" border="0"></a> <a href="javascript:MinusFont();"><img src="<?=$dir?>/img/font_minus.gif" border="0"></a> <a href="javascript:SetArticleFont();"><img src="<?=$dir?>/img/font_save.gif" border="0"></a> <a href="javascript:SetDefaultFont();"><img src="<?=$dir?>/img/font_default.gif" border="0"></a></td></tr>
<? } ?>
<? } ?>
<tr><td>
<div <? if($gskin[view_font_control]) { ?>id =article <? } ?> style="text-align:<?=$gskin[view_memo]?>;word-break:break-all;line-height:<?=$gskin[view_memo_height]?>%;padding:<?=$gskin[view_memo_padding]?>;">
<!-- ³»¿ëÀÌ ½ÃÀ۵Ǵ °÷ÀÔ´Ï´Ù.-->
<?=$ggambo_memo?>
<!-- ³»¿ëÀÌ ³¡³ª´Â °÷ÀÔ´Ï´Ù.-->
</div>
<? if($gskin[view_font_control]) { ?><Script language="javascript" src="<?=$dir?>/font.js"></Script><? } ?>
<table border=0 cellspacing=0 cellpadding=0 width=100% style='table-layout:fixed;'>
<col width=40%></col><col width=60%></col>
<tr><td></td><td>
<? ggambo_viewwriter("DDDDDD") ?>
</td></tr></table>
</td></tr>
<? if($gskin[view_ip]) { ?><tr><td class=ggambo_ipline align=right><?=$data[ip]?></td></tr>
<? } elseif($ip) { ?><tr><td class=ggambo_ipline align=right><?=$ip?></td></tr><? } ?>
</table>
<? if(($gskin[guide_comment])&&($setup[use_comment])&&($member[level]<=$setup[grant_comment])) { ?>
<table width=<?=$width?> cellspacing=0 cellpadding=0 class=ggambo_com_table>
<col width=120></col><col width=></col>
<tr valign=top>
<td class=ggambo_com_name><?=$gskin[view_comment_guide_writer]?>
</td>
<td class=ggambo_com_memo><?=nl2br($gskin[guide_comment])?>
</td>
</tr>
<tr><td colspan=2 height=8></td></tr>
</table>
<? } ?>
<? if($gskin[view_comment_num]) { $comment_counting=0; } ?>
----------------------------
¼Ò½º´Â À̰ǵ¥
Àú À§¿¡ º¸½Ã¸é
<!-- ³»¿ëÀÌ ½ÃÀ۵Ǵ °÷ÀÔ´Ï´Ù.-->
<?=$ggambo_memo?>
<!-- ³»¿ëÀÌ ³¡³ª´Â °÷ÀÔ´Ï´Ù.-->
¿©±â¼ À̹ÌÁö¶û ±ÛÀ» »Ñ·Á ÁÖ´õ±º¿ä
Á¦°¡ ÀÌ°É ¾ÆÀÌÇÁ·¹ÀÓÀ» ½á¼
´Ù¸¥ ¾ÆÀÌÇÁ·¹ÀÓ¿¡ À̹ÌÁö¸¦ »Ñ·ÁÁÖ´Â°É ±¸»óÇÏ°í Àִµ¥¿ä
±×¸² ÷ºÎ ÇÕ´Ï´Ù.
±×¸² ó·³ ¹«ÇѾ÷·Îµå¸¦ »ì·Á
¿ÞÂÊ ¾ÆÀÌÇÁ·¹ÀÓ¿¡ À̹ÌÁö¸¦ ºÒ·¯¿À°í ¿À¸¥ÂÊ¿¡
Å« À̹ÌÁö·Î »Ñ·ÁÁִ°ɷΠÇÒ·Á°í Çϴµ¥
Àú À§ ¼Ò½º¿¡¼
<?=$ggambo_memo?>
¸¦ view.php ÆäÀÌÁö¿¡´Ù ¾ÆÀÌÇÁ·¹ÀÓÀ¸·Î
º¸¿©ÁÖ°í (ÀÛÀº À̹ÌÁö·Î ½ºÅ©·ÑµÇ°Ô)´©¸£¸é
±×À̹ÌÁö°¡ ´Ù¸¥ ¾ÆÀÌÇÁ·¹ÀÓ¿¡ ¸µÅ© µÇ°Ô ÇÒ·Á¸é
¾î¶»°Ô Çϸé ÁÁÀ»±î¿ä?
PS: ±ä ±Û Àоî ÁÖ¾î¼ °¨»çÇÏ°í Á¶¾ðÀ» ÁÖ½Ã¸é °¨»çÇÏ°Ú½À´Ï´Ù.
Á¦°¡ ³Ê¹« ¸ô¶ó Á˼ÛÇÕ´Ï´Ù.