<?
if (!defined("_GNUBOARD_")) exit; //  
?>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="<?=$board_skin_path?>/img/mz-packed.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?=$board_skin_path?>/img/MagicZoom.css" type="text/css" media="screen" />
<style>
img {
border-width: 0px;
	}
</style>
<? 
        for ($i=0; $i<=100; $i++) {
             $image[$i] = "$g4[path]/data/file/$bo_table/".$view[file][$i][file];
		}
        ?>
</head>

<!-- 내용시작 -->
					<div align="center">
					<table id="table593" border="0" cellSpacing="1" cellPadding="0" jQuery1283634220656="2" jQuery1283634221250="346" style="width: 660px; border-top: 2px solid #888B94; background-color: #e1e1e1">
						<tbody jQuery1283634221250="347">
							<tr jQuery1283634221250="348">
								<td class="mw_board_group_1_info" jQuery1283634221250="350" bgcolor="#FCFCFC" height="25">
								<table border="0" id="table594" cellspacing="4" cellpadding="4">
									<tr>
										<td>
								<font color="#444444"><b><?php echo $lang['626'];?></b></font></td>
									</tr>
								</table>
								</td>
							</tr>
							<tr jQuery1283634221250="354">
								<td class="mw_board_group_1_contents" jQuery1283634221250="375" bgcolor="#FFFFFF">
<table width="100%" cellpadding="2" id="table595">
	<tr>
		<td>
<? 
ob_start(); 
?>
		<?
$link_buttons = ob_get_contents();
ob_end_flush();
?>

<!-- 제목, 글쓴이, 날짜, 조회, 추천, 비추천 -->
		<table width="100%" cellspacing="0" cellpadding="0" id="table596">
			
<!-- <tr><td height=1 bgcolor=#"E7E7E7"></td></tr> //-->
			<tr>
				<td>
															<table border="0" width="100%" id="table627" cellspacing="0" cellpadding="0">
																<tr>
																	<td width="1" valign="top">
																	<table border="0" id="table628" cellpadding="2">
																		<tr>
																			<td>
																			<table border="0" id="table629" cellspacing="1" bgcolor="#E6E6E6">
																				<tr>
																					<td bgcolor="#FFFFFF" align="center">
													<table border="0" cellpadding="0" cellspacing="0" id="table59">
														<tr>
															<td>
								 <? if ($view[file][0][view])  {?><a href="<?=$image[0]?>" class="MagicZoom"><img src="<?=$image[0]?>" border="0" width="250"/></a><? } else {
                                      echo "<img src={$board_skin_path}/img/noimg1.gif>";
                                       } ?></td>
														</tr>
													</table></td>
																				</tr>
																			</table>
																			</td>
																		</tr>
																		<tr>
																			<td align="center">
																			<div align="center">
																				<table border="0" id="table640" cellspacing="1">
																					<tr>
																						<td>
																			<table border="0" id="table641" cellspacing="1" bgcolor="#E6E6E6">
																				<tr>
																					<td bgcolor="#FFFFFF" align="center">
													<table border="0" cellpadding="0" cellspacing="0" id="table642">
														<tr>
															<td>
								 <? if ($view[file][1][view])  {?><a href="<?=$image[1]?>" class="MagicZoom"><img src="<?=$image[1]?>" border="0" width="77" height="77"/></a><? } else {
                                      echo "<img src={$board_skin_path}/img/no.gif>";
                                       } ?></td>
														</tr>
													</table></td>
																				</tr>
																			</table>
																						</td>
																						<td>
																			<table border="0" id="table643" cellspacing="1" bgcolor="#E6E6E6">
																				<tr>
																					<td bgcolor="#FFFFFF" align="center">
													<table border="0" cellpadding="0" cellspacing="0" id="table644">
														<tr>
															<td>
								 <? if ($view[file][2][view])  {?><a href="<?=$image[2]?>" class="MagicZoom"><img src="<?=$image[2]?>" border="0" width="77" height="77"/></a><? } else {
                                      echo "<img src={$board_skin_path}/img/no.gif>";
                                       } ?></td>
														</tr>
													</table></td>
																				</tr>
																			</table>
																						</td>
																						<td>
																			<table border="0" id="table645" cellspacing="1" bgcolor="#E6E6E6">
																				<tr>
																					<td bgcolor="#FFFFFF" align="center">
													<table border="0" cellpadding="0" cellspacing="0" id="table646">
														<tr>
															<td>
								 <? if ($view[file][3][view])  {?><a href="<?=$image[3]?>" class="MagicZoom"><img src="<?=$image[3]?>" border="0" width="77" height="77"/></a><? } else {
                                      echo "<img src={$board_skin_path}/img/no.gif>";
                                       } ?></td>
														</tr>
													</table></td>
																				</tr>
																			</table>
																						</td>
																					</tr>
																				</table>
																			</div>
																			</td>
																		</tr>
																	</table>
																	</td>
																	<td valign="top">
																	<table border="0" width="100%" id="table630" cellspacing="0" cellpadding="0">
																		<tr>
																			<td valign="top">
																	<table border="0" width="100%" id="table647" cellspacing="0" cellpadding="0">
																		<tr>
																			<td>
																	<table border="0" id="table648" cellpadding="3" cellspacing="3">
																		<tr>
																			<td align="right">
																			<font color="#FF6600">
																			<b>
																			<?php echo $lang['597'];?>:</b></font></td>
																			<td>
																			<font color="#FF6600">
																			<b>
																			<?=$view[subject]?></b></font>
																			<a href="#">
																			[<?=$view[ca_name]?>]</a>
        
        <? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin_path/img/positive_enabled.gif' alt='{$lang[81]}' border='0' align='absmiddle'></a> "; } ?>
        <? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin_path/img/delete.gif' alt='{$lang[82]}' border='0' align='absmiddle'></a> "; } ?></td>
																		</tr>
																		<tr>
																			<td align="right">
																			<b>
																			<?php echo $lang['611'];?>:</b></td>
																			<td>
																			<?=$view[wr_8]?><?php echo $lang['607'];?></td>
																		</tr>
																		<? if ($view[wr_3]) { ?>
																		<tr>
																			<td align="right">
																			<b>
																			<?php echo $lang['600'];?>:</b></td>
																			<td>
																			<?=$view[wr_3]?></td>
																		</tr>
																		<? }?>
																		<? if ($view[wr_link2]) { ?>
																		<tr>
																			<td align="right">
																			<b>
																			<?php echo $lang['598'];?>:</b></td>
																			<td>
																			<?=$view[wr_link2]?></td>
																		</tr>
																		<? }?>
																		<? if ($view[wr_2]) { ?>
																		<tr>
																			<td align="right">
																			<b>
																			<?php echo $lang['599'];?>:</b></td>
																			<td>
																			<?=$view[wr_2]?></td>
																		</tr>
																		<? }?>
																		<? if ($view[wr_5]) { ?>
																		<tr>
																			<td align="right">
																			<b>
																			<?php echo $lang['602'];?>:</b></td>
																			<td>
																			<?=$view[wr_5]?></td>
																		</tr>
																		<? }?>
																		<? if ($view[wr_4]) { ?>
																		<tr>
																			<td align="right">
																			<b>
																			<?php echo $lang['601'];?>:</b></td>
																			<td>
																			<?=$view[wr_4]?></td>
																		</tr>
																		<? }?>
																		<? if ($view[wr_6]) { ?>
																		<tr>
																			<td align="right">
																			<b>
																			<?php echo $lang['603'];?>:</b></td>
																			<td>
																			<?=$view[wr_6]?></td>
																		</tr>
																		<? }?>
																		<? if ($view[wr_1]) { ?>
																		<tr>
																			<td align="right">
																			<b>
																			<?php echo $lang['604'];?>:</b></td>
																			<td>
																			<?=$view[wr_1]?></td>
																		</tr>
																		<? }?>
																		<? if ($view[wr_7]) { ?>
																		<tr>
																			<td align="right">
																			<b>
																			<?php echo $lang['605'];?>:</b></td>
																			<td>
																			<?=$view[wr_7]?></td>
																		</tr>
																		<? }?>
																		<tr>
																			<td align="right">
																			<b>
																			<?php echo $lang['53'];?>:</b></td>
																			<td>
																			<?=$view[wr_hit]?><?if($view[wr_hit] >100){?> <font color=ff0001>
													+++++</font> 
			   <?}else if($view[wr_hit] > 70){?><font color=ff0001>++++<font color=999999>+</font>
			   <?}else if($view[wr_hit] > 50){?>+++<font color=999999>++</font>
			   <?}else if($view[wr_hit] > 30){?>++<font color=999999>+++</font>
			   <?}else{?>+<font color=999999>++++</font><?}?></td>
																		</tr>
																	</table>
																			</td>
																		</tr>
																		<tr>
																			<td height="4"></td>
																		</tr>
																		<tr>
																			<td>
					<table border="0" id="table649" cellspacing="1">
						<tr>
							<td>
					<input onclick="window.open('<?=$g4[bbs_path]?>/memo_form.php?me_recv_mb_id=<?=$member['mb_id']?>', '', 'scrollbars=no,resizeable=no,toolbar=no,status=no,top=100,left=300,width=604,height=460');" type="button" value="<?php echo $lang['236'];?>" name="B45" class="nhn17" style="font-weight: bold; color: #FFFFFF; background-color:#ADC900"></td>
							<td>
					<input onclick="location.href='<?=$list_href?>';" type="button" value="<?php echo $lang['624'];?>" name="B42" class="nhn17" style="font-weight: bold; color: #008080"></td>
							<td>
					<input onclick="location.href='javascript:window.print()';" type="button" value="<?php echo $lang['625'];?>" name="B43" class="nhn17" style="font-weight: bold; color: #800000"></td>
							<td align="center"><b>
									
<a class="btn110" onclick="win_scrap('<?=$scrap_href?>');" href="javascript:;"><?php echo $lang['84'];?></a></b></td>
						</tr>
					</table>
																			</td>
																		</tr>
																		<tr>
																			<td>
					&nbsp;</td>
																		</tr>
																	</table>
																			</td>
																		</tr>
																	</table>
																	</td>
																</tr>
															</table>
						</td>
			</tr>
			<tr>
				<td>
															<hr size="0" color="#CCCCCC" style="border-style: dotted; border-width: 1px">
																	</td>
			</tr>
			<tr>
				<td>
				&nbsp;<font color="#CC3300"><b><?php echo $lang['610'];?></b></font></td>
			</tr>
			<tr>
				<td>
															<hr size="0" color="#CCCCCC" style="border-style: dotted; border-width: 1px">
																	</td>
			</tr>
			<tr>
				<td>

								 <!-- 내용 출력 --><?=$view[content];?><?//echo $view[rich_content]; // {이미지:0} 과 같은 코드를 사용할 경우?></xml></xmp></td>
			</tr>
			<tr>
				<td>

															<hr size="0" color="#CCCCCC" style="border-style: dotted; border-width: 1px">
																	</td>
			</tr>
			<tr>
				<td>

        		</td>
			</tr>
			
		</table><br>

<?
// 코멘트 입출력
include_once("./view_comment.php");
?>

<?=$link_buttons?>

</td>
	</tr>
</table>
								</td>
							</tr>
					</table>
</div>
<br>

<script language="JavaScript">
function file_download(link, file) {
    <? if ($board[bo_download_point] < 0) { ?>if (confirm("<?php echo $lang['90'];?>(<?=number_format($board[bo_download_point])?><?php echo $lang['91'];?>"))<?}?>
    document.location.href=link;
}
</script>

<script language="JavaScript" src="<?="$g4[path]/js/board.js"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"?>"></script>
<script language="JavaScript">
window.onload=function() {
    resizeBoardImage(<?=(int)$board[bo_image_width]?>);
    drawFont();
}
</script>
<!-- 게시글 보기 끝 -->