gbview.skin.php 소스 건드린것 없어여.. 정보
그누보드 gbview.skin.php 소스 건드린것 없어여..본문
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 금액에 컴마 삽입
function money_view($money)
{
$len=strlen($money);
$result=$len/3;
$re1=floor($result);
$re2=$len%3;
if (($len>3)&&($len<7))
{
$re1=$len%3;
if ($re1==0) {$re1=3;}
$v1=substr($money,-3,3);
$v2=substr($money,(-1*$len),$re1);
$view=$v2.",".$v1;
}
else if ($len>=7)
{
$re1=$len%3;
if ($re1==0) {$re1=3;}
$v1=substr($money,-3,3);
$v2=substr($money,-6,3);
$v3=substr($money,(-1*$len),$re1);
$view=$v3.",".$v2.",".$v1;
}
else
{
$view=$money;
}
return $view;
}
$p_one = explode("|",$write[wr_5]);
$one01 = $p_one[0];
$one02 = $p_one[1];
$one03 = $p_one[2];
$one04 = $p_one[3];
$one05 = $p_one[4];
$one06 = $p_one[5];
$one07 = $p_one[6];
$one08 = $p_one[7];
$one09 = $p_one[8];
$one10 = $p_one[9];
$one11 = $p_one[10];
$one12 = $p_one[11];
$one13 = $p_one[12];
$one14 = $p_one[13];
$one15 = $p_one[14];
$one16 = $p_one[15];
$one17 = $p_one[16];
$one18 = $p_one[17];
$one19 = $p_one[18];
$one20 = $p_one[19];
?>
<? if($write[wr_file1]){
$file1_v= "<img src='./data/file/$board[bo_table]/$write[wr_file1]' width='105' height='96' style='border:0' >"; }
?>
<? if($write[wr_file2]){
$file2_v= "<img src='./data/file/$board[bo_table]/$write[wr_file2]' width='105' height='96' style='border:0' >"; }
?>
<? if($write[wr_file3]){
$file3_v= "<img src='./data/file/$board[bo_table]/$write[wr_file3]' width='105' height='96' style='border:0' >"; }
?>
<? if($write[wr_file4]){
$file4_v= "<img src='./data/file/$board[bo_table]/$write[wr_file4]' width='105' height='96' style='border:0' >"; }
?>
<? if($write[wr_file5]){
$file5_v="<img src='$board_skin/images/b01_btn_01.gif' width='65' height='20' border='0' onclick=\"view('./data/file/$bo_table/$write[wr_file5]')\">";}
?>
<table border="0" width="<?=$width?>" cellpadding="0" cellspacing="0">
<tr><td align="center">
<div id=ObjectScrap>
<table width="612" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_top_title.gif"?>' width="460" height="67"><img src='<?="$board_skin/images/b01_btn_00.gif"?>' width="152" height="67"></td>
</tr>
<tr>
<td width="10" background='<?="$board_skin/images/b01_bg_01.gif"?>'> </td>
<td width="594"><table width="594" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5" colspan="2"></td>
</tr>
<tr>
<td width="163" height="17"><img src='<?="$board_skin/images/b01_title_01.gif"?>' width="163" height="31"></td>
<td width="431"><table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="72"><div align="center"><a href="#" class='linkover'><? if ($file[5][view]) { echo "$file5_v"; } ?></a></div></td>
<td width="72"><div align="center"><a href="#" class='linkover'><img src='<?="$board_skin/images/b01_btn_05.gif"?>' border=0 onclick='return GPEN_PRINT();' width="65" height="20"></a></div></td>
<td width="72"><div align="center"><a href='javascript:history.back()' class='linkover'><img src='<?="$board_skin/images/b01_btn_02.gif"?>' width="65" height="20" border="0"></a></div></td>
<td width="10"><div align="center"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="3" colspan="2"></td>
</tr>
<tr>
<td colspan="2"><table width="563" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DDDDDD">
<tr>
<td><table width="563" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="109"><img src='<?="$board_skin/images/b01_s_01.gif"?>' width="109" height="24"></td>
<td colspan="3"> <strong><font color="#006699" size="2" face="돋움"><?=$subject?></font></strong></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_02.gif"?>' width="109" height="24"></td>
<td colspan="3"> <font color="#000000" size="2" face="돋움"><?=$one13?> <?=$one14?></font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_03.gif"?>' width="109" height="24"></td>
<td width="172"> <font color="#000000" size="2" face="돋움"><?=$write[wr_4]?></font></td>
<td width="110"><img src='<?="$board_skin/images/b01_s_04.gif"?>' width="110" height="24"></td>
<td width="172"> <font color="#FF0000" size="2" face="돋움"><? if ($is_category) echo "$category_name "; ?></font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_05.gif"?>' width="109" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one01?></font></td>
<td><img src='<?="$board_skin/images/b01_s_06.gif"?>' width="110" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one02?></font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_07.gif"?>' width="109" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one03?></font></td>
<td><img src='<?="$board_skin/images/b01_s_08.gif"?>' width="110" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one04?></font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_09.gif"?>' width="109" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one05?></font></td>
<td><img src='<?="$board_skin/images/b01_s_10.gif"?>' width="110" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one06?></font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_11.gif"?>' width="109" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one15?>-<?=$one16?>-<?=$one17?></font></td>
<td><img src='<?="$board_skin/images/b01_s_12.gif"?>' width="110" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one18?>-<?=$one19?>-<?=$one20?></font></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="17" colspan="2"><img src='<?="$board_skin/images/b01_title_02.gif"?>' width="163" height="30"></td>
</tr>
<tr>
<td height="3" colspan="2"></td>
</tr>
<tr>
<td colspan="2"><table width="563" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DDDDDD">
<tr>
<td><table width="563" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="109"><img src='<?="$board_skin/images/b01_s_13.gif"?>' width="109" height="24"></td>
<td colspan="3"> <font color="#000000" size="2" face="돋움"><?=$write[wr_3]?></font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_14.gif"?>' width="109" height="24"></td>
<td colspan="3"> <font color="#000000" size="2" face="돋움"><?=money_view($write[wr_2])?> 만원</font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_15.gif"?>' width="109" height="24"></td>
<td width="172"> <font color="#000000" size="2" face="돋움"><?=money_view($write[wr_1])?> 만원</font></td>
<td width="110"><img src='<?="$board_skin/images/b01_s_16.gif"?>' width="110" height="24"></td>
<td width="172"> <font color="#000000" size="2" face="돋움"><?=money_view($one07)?> 만원</font></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="17" colspan="2"><img src='<?="$board_skin/images/b01_title_03.gif"?>' width="163" height="31"></td>
</tr>
<tr>
<td height="3" colspan="2"></td>
</tr>
<tr>
<td colspan="2"><table width="563" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DDDDDD">
<tr>
<td><table width="563" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="109"><img src='<?="$board_skin/images/b01_s_17.gif"?>' width="109" height="49"></td>
<td width="454"> <font color="#000000" size="2" face="돋움"><?=$content?></font></xml></xmp><a href=""></a><a href=''></a></td>
</tr><? if ($is_signature) { echo "<tr><td>$signature</td></tr>"; } // 서명 출력 ?>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="17" colspan="2"><img src='<?="$board_skin/images/b01_title_04.gif"?>' width="163" height="30"></td>
</tr>
<tr>
<td height="3" colspan="2"></td>
</tr>
<tr>
<td colspan="2"><table width="563" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DDDDDD">
<tr>
<td><table width="563" height="140" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10"> </td>
<td><table width="119" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
<tr>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
<td width="105" align="center"><? if ($file[1][view]) { echo "$file1_v";}?></td>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
</tr>
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
</table></td>
<td><table width="120" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
<tr>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
<td width="105" align="center"><? if ($file[2][view]) { echo "$file2_v"; } ?></td>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
</tr>
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
</table></td>
<td><table width="120" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
<tr>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
<td width="105" align="center"><? if ($file[3][view]) { echo "$file3_v"; } ?></td>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
</tr>
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
</table></td>
<td><table width="120" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
<tr>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
<td width="105" align="center"><? if ($file[4][view]) { echo "$file4_v"; } ?></td>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
</tr>
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
</table></td>
<td width="10"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="10" colspan="2"></td>
</tr>
<tr>
<td colspan="2"><table width="370" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="72"><div align="center"><? if ($update_href) { echo "<a href=\"$update_href\" class='linkover'><img src='$board_skin/images/b01_btn_03.gif' border=0 alt='수정' width=65 height=20></a>"; } ?></div></td>
<td width="72"><div align="center"><? if ($delete_href) { echo "<a href=\"$delete_href\" class='linkover'><img src='$board_skin/images/b01_btn_04.gif' border=0 alt='삭제' width=65 height=20></a>"; } ?></div></td>
<td width="72"><div align="center"><? echo "<a href=\"$list_href\" class='linkover'><img src='$board_skin/images/b01_btn_06.gif' border=0 alt='목록' width=65 height=20></a>"; ?></div></td>
<td width="72"><div align="center"><a href="#" class='linkover'><img src='<?="$board_skin/images/b01_btn_05.gif"?>' border=0 onclick='return GPEN_PRINT();' width="65" height="20"></a></div></td>
<td width="72"><div align="center"><a href='javascript:history.back()' class='linkover'><img src='<?="$board_skin/images/b01_btn_02.gif"?>' width="65" height="20" border="0"></a></div></td>
<td width="10"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="10" colspan="2"></td>
</tr>
</table></td>
<td width="8" background='<?="$board_skin/images/b01_bg_02.gif"?>'> </td>
</tr>
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_bg_03.gif"?>' width="612" height="12"></td>
</tr>
</table>
</div>
</td></tr></table>
마지막 필드는 제가 추가 했구여....
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 금액에 컴마 삽입
function money_view($money)
{
$len=strlen($money);
$result=$len/3;
$re1=floor($result);
$re2=$len%3;
if (($len>3)&&($len<7))
{
$re1=$len%3;
if ($re1==0) {$re1=3;}
$v1=substr($money,-3,3);
$v2=substr($money,(-1*$len),$re1);
$view=$v2.",".$v1;
}
else if ($len>=7)
{
$re1=$len%3;
if ($re1==0) {$re1=3;}
$v1=substr($money,-3,3);
$v2=substr($money,-6,3);
$v3=substr($money,(-1*$len),$re1);
$view=$v3.",".$v2.",".$v1;
}
else
{
$view=$money;
}
return $view;
}
$p_one = explode("|",$write[wr_5]);
$one01 = $p_one[0];
$one02 = $p_one[1];
$one03 = $p_one[2];
$one04 = $p_one[3];
$one05 = $p_one[4];
$one06 = $p_one[5];
$one07 = $p_one[6];
$one08 = $p_one[7];
$one09 = $p_one[8];
$one10 = $p_one[9];
$one11 = $p_one[10];
$one12 = $p_one[11];
$one13 = $p_one[12];
$one14 = $p_one[13];
$one15 = $p_one[14];
$one16 = $p_one[15];
$one17 = $p_one[16];
$one18 = $p_one[17];
$one19 = $p_one[18];
$one20 = $p_one[19];
?>
<? if($write[wr_file1]){
$file1_v= "<img src='./data/file/$board[bo_table]/$write[wr_file1]' width='105' height='96' style='border:0' >"; }
?>
<? if($write[wr_file2]){
$file2_v= "<img src='./data/file/$board[bo_table]/$write[wr_file2]' width='105' height='96' style='border:0' >"; }
?>
<? if($write[wr_file3]){
$file3_v= "<img src='./data/file/$board[bo_table]/$write[wr_file3]' width='105' height='96' style='border:0' >"; }
?>
<? if($write[wr_file4]){
$file4_v= "<img src='./data/file/$board[bo_table]/$write[wr_file4]' width='105' height='96' style='border:0' >"; }
?>
<? if($write[wr_file5]){
$file5_v="<img src='$board_skin/images/b01_btn_01.gif' width='65' height='20' border='0' onclick=\"view('./data/file/$bo_table/$write[wr_file5]')\">";}
?>
<table border="0" width="<?=$width?>" cellpadding="0" cellspacing="0">
<tr><td align="center">
<div id=ObjectScrap>
<table width="612" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_top_title.gif"?>' width="460" height="67"><img src='<?="$board_skin/images/b01_btn_00.gif"?>' width="152" height="67"></td>
</tr>
<tr>
<td width="10" background='<?="$board_skin/images/b01_bg_01.gif"?>'> </td>
<td width="594"><table width="594" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5" colspan="2"></td>
</tr>
<tr>
<td width="163" height="17"><img src='<?="$board_skin/images/b01_title_01.gif"?>' width="163" height="31"></td>
<td width="431"><table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="72"><div align="center"><a href="#" class='linkover'><? if ($file[5][view]) { echo "$file5_v"; } ?></a></div></td>
<td width="72"><div align="center"><a href="#" class='linkover'><img src='<?="$board_skin/images/b01_btn_05.gif"?>' border=0 onclick='return GPEN_PRINT();' width="65" height="20"></a></div></td>
<td width="72"><div align="center"><a href='javascript:history.back()' class='linkover'><img src='<?="$board_skin/images/b01_btn_02.gif"?>' width="65" height="20" border="0"></a></div></td>
<td width="10"><div align="center"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="3" colspan="2"></td>
</tr>
<tr>
<td colspan="2"><table width="563" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DDDDDD">
<tr>
<td><table width="563" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="109"><img src='<?="$board_skin/images/b01_s_01.gif"?>' width="109" height="24"></td>
<td colspan="3"> <strong><font color="#006699" size="2" face="돋움"><?=$subject?></font></strong></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_02.gif"?>' width="109" height="24"></td>
<td colspan="3"> <font color="#000000" size="2" face="돋움"><?=$one13?> <?=$one14?></font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_03.gif"?>' width="109" height="24"></td>
<td width="172"> <font color="#000000" size="2" face="돋움"><?=$write[wr_4]?></font></td>
<td width="110"><img src='<?="$board_skin/images/b01_s_04.gif"?>' width="110" height="24"></td>
<td width="172"> <font color="#FF0000" size="2" face="돋움"><? if ($is_category) echo "$category_name "; ?></font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_05.gif"?>' width="109" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one01?></font></td>
<td><img src='<?="$board_skin/images/b01_s_06.gif"?>' width="110" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one02?></font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_07.gif"?>' width="109" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one03?></font></td>
<td><img src='<?="$board_skin/images/b01_s_08.gif"?>' width="110" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one04?></font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_09.gif"?>' width="109" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one05?></font></td>
<td><img src='<?="$board_skin/images/b01_s_10.gif"?>' width="110" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one06?></font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_11.gif"?>' width="109" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one15?>-<?=$one16?>-<?=$one17?></font></td>
<td><img src='<?="$board_skin/images/b01_s_12.gif"?>' width="110" height="24"></td>
<td> <font color="#000000" size="2" face="돋움"><?=$one18?>-<?=$one19?>-<?=$one20?></font></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="17" colspan="2"><img src='<?="$board_skin/images/b01_title_02.gif"?>' width="163" height="30"></td>
</tr>
<tr>
<td height="3" colspan="2"></td>
</tr>
<tr>
<td colspan="2"><table width="563" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DDDDDD">
<tr>
<td><table width="563" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="109"><img src='<?="$board_skin/images/b01_s_13.gif"?>' width="109" height="24"></td>
<td colspan="3"> <font color="#000000" size="2" face="돋움"><?=$write[wr_3]?></font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_14.gif"?>' width="109" height="24"></td>
<td colspan="3"> <font color="#000000" size="2" face="돋움"><?=money_view($write[wr_2])?> 만원</font></td>
</tr>
<tr>
<td colspan="4"><img src='<?="$board_skin/images/b01_bg_04.gif"?>' width="561" height="1"></td>
</tr>
<tr>
<td><img src='<?="$board_skin/images/b01_s_15.gif"?>' width="109" height="24"></td>
<td width="172"> <font color="#000000" size="2" face="돋움"><?=money_view($write[wr_1])?> 만원</font></td>
<td width="110"><img src='<?="$board_skin/images/b01_s_16.gif"?>' width="110" height="24"></td>
<td width="172"> <font color="#000000" size="2" face="돋움"><?=money_view($one07)?> 만원</font></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="17" colspan="2"><img src='<?="$board_skin/images/b01_title_03.gif"?>' width="163" height="31"></td>
</tr>
<tr>
<td height="3" colspan="2"></td>
</tr>
<tr>
<td colspan="2"><table width="563" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DDDDDD">
<tr>
<td><table width="563" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="109"><img src='<?="$board_skin/images/b01_s_17.gif"?>' width="109" height="49"></td>
<td width="454"> <font color="#000000" size="2" face="돋움"><?=$content?></font></xml></xmp><a href=""></a><a href=''></a></td>
</tr><? if ($is_signature) { echo "<tr><td>$signature</td></tr>"; } // 서명 출력 ?>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="17" colspan="2"><img src='<?="$board_skin/images/b01_title_04.gif"?>' width="163" height="30"></td>
</tr>
<tr>
<td height="3" colspan="2"></td>
</tr>
<tr>
<td colspan="2"><table width="563" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DDDDDD">
<tr>
<td><table width="563" height="140" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10"> </td>
<td><table width="119" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
<tr>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
<td width="105" align="center"><? if ($file[1][view]) { echo "$file1_v";}?></td>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
</tr>
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
</table></td>
<td><table width="120" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
<tr>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
<td width="105" align="center"><? if ($file[2][view]) { echo "$file2_v"; } ?></td>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
</tr>
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
</table></td>
<td><table width="120" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
<tr>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
<td width="105" align="center"><? if ($file[3][view]) { echo "$file3_v"; } ?></td>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
</tr>
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
</table></td>
<td><table width="120" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
<tr>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
<td width="105" align="center"><? if ($file[4][view]) { echo "$file4_v"; } ?></td>
<td width="7"><img src='<?="$board_skin/images/b01_s_18-34.gif"?>' width="7" height="96"></td>
</tr>
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_s_18.gif"?>' width="119" height="7"></td>
</tr>
</table></td>
<td width="10"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="10" colspan="2"></td>
</tr>
<tr>
<td colspan="2"><table width="370" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="72"><div align="center"><? if ($update_href) { echo "<a href=\"$update_href\" class='linkover'><img src='$board_skin/images/b01_btn_03.gif' border=0 alt='수정' width=65 height=20></a>"; } ?></div></td>
<td width="72"><div align="center"><? if ($delete_href) { echo "<a href=\"$delete_href\" class='linkover'><img src='$board_skin/images/b01_btn_04.gif' border=0 alt='삭제' width=65 height=20></a>"; } ?></div></td>
<td width="72"><div align="center"><? echo "<a href=\"$list_href\" class='linkover'><img src='$board_skin/images/b01_btn_06.gif' border=0 alt='목록' width=65 height=20></a>"; ?></div></td>
<td width="72"><div align="center"><a href="#" class='linkover'><img src='<?="$board_skin/images/b01_btn_05.gif"?>' border=0 onclick='return GPEN_PRINT();' width="65" height="20"></a></div></td>
<td width="72"><div align="center"><a href='javascript:history.back()' class='linkover'><img src='<?="$board_skin/images/b01_btn_02.gif"?>' width="65" height="20" border="0"></a></div></td>
<td width="10"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="10" colspan="2"></td>
</tr>
</table></td>
<td width="8" background='<?="$board_skin/images/b01_bg_02.gif"?>'> </td>
</tr>
<tr>
<td colspan="3"><img src='<?="$board_skin/images/b01_bg_03.gif"?>' width="612" height="12"></td>
</tr>
</table>
</div>
</td></tr></table>
마지막 필드는 제가 추가 했구여....
댓글 전체
추가요...
아...감사합니다... 잘되네요...
var p = window.open("print.php","PrintWin","width=706, height=600, scrollbars=yes");
여기서...?doc=print.php 해야 나오네요...
저 스크립트...$file[5][view]만 나오면 되겠는데...^^;;
지니아빠님이 시간이 되시면..살짝 사진들 새창으로 보는 소스를...바람입니다..
암튼...7쟁이님 감사합니다...저 스크립트 원래 있던건가요..아님 ..추가하신건가요?
var p = window.open("print.php","PrintWin","width=706, height=600, scrollbars=yes");
여기서...?doc=print.php 해야 나오네요...
저 스크립트...$file[5][view]만 나오면 되겠는데...^^;;
지니아빠님이 시간이 되시면..살짝 사진들 새창으로 보는 소스를...바람입니다..
암튼...7쟁이님 감사합니다...저 스크립트 원래 있던건가요..아님 ..추가하신건가요?
필드를 추가해도 제가 경험한바 이미지 새창 띄우기가 어렵던데...
지니아빠가 고거는 전문가 입니다^^
지니아빠께 미뤄야지...하하하
지니아빠가 고거는 전문가 입니다^^
지니아빠께 미뤄야지...하하하
$p_one = explode("|",$write[wr_5]);
$one01 = $p_one[0];
$one02 = $p_one[1];
$one03 = $p_one[2];
$one04 = $p_one[3];
$one05 = $p_one[4];
$one06 = $p_one[5];
$one07 = $p_one[6];
$one08 = $p_one[7];
$one09 = $p_one[8];
$one10 = $p_one[9];
$one11 = $p_one[10];
$one12 = $p_one[11];
$one13 = $p_one[12];
$one14 = $p_one[13];
$one15 = $p_one[14];
$one16 = $p_one[15];
$one17 = $p_one[16];
$one18 = $p_one[17];
$one19 = $p_one[18];
$one20 = $p_one[19];
?> 이거 밑에 아래소스를 넣고 해보세요
<script language="javascript">
function GPEN_PRINT(){
var p = window.open("print.php","PrintWin","width=706, height=600, scrollbars=yes");
p.focus();
}
</script>
$one01 = $p_one[0];
$one02 = $p_one[1];
$one03 = $p_one[2];
$one04 = $p_one[3];
$one05 = $p_one[4];
$one06 = $p_one[5];
$one07 = $p_one[6];
$one08 = $p_one[7];
$one09 = $p_one[8];
$one10 = $p_one[9];
$one11 = $p_one[10];
$one12 = $p_one[11];
$one13 = $p_one[12];
$one14 = $p_one[13];
$one15 = $p_one[14];
$one16 = $p_one[15];
$one17 = $p_one[16];
$one18 = $p_one[17];
$one19 = $p_one[18];
$one20 = $p_one[19];
?> 이거 밑에 아래소스를 넣고 해보세요
<script language="javascript">
function GPEN_PRINT(){
var p = window.open("print.php","PrintWin","width=706, height=600, scrollbars=yes");
p.focus();
}
</script>