유메님의 글에 대한 답변글입니다. 정보
유메님의 글에 대한 답변글입니다.
본문
먼저 유메님의 글에 대해 제가 좀 어이없는 이유는 아래의 문장입니다.
'영리목적도 아니고 공부할려고 하는거다
내 입장에서는 뭐 별것도 아닌 소스가지고 그러냐'
라는 태도로 나올께 뻔해 보이는 인간이라 망신을 좀 주고 싶은데
어찌 하면 될까요
유메님이 저에 대해 무엇을 안다고 이렇게 함부로 얘기 하십니까?
일전에도 유료플래시의 암호화 된 부분을 깨서 이곳에 배포하다가
원작자 홈페이지에 사과글 까지 올렸던 전적이 있는 사람인데
실수가 아니라 정신상태가 이상한 인간인 것 같군요.
남이 판매하는 유료 플래시를 많은 사람들이 오고가는
이 그누보드에 배포했다면 그건 명백한 범죄행위 입니다.
이 부분 확인 하셨습니까? 제가 공개한 유료플래시는 어디에 있습니까?
제가 저지른 범죄행위에 대한 증거를 대십시요.
제가 제 홈피와서 글을 쓰는게 좋지 않냐고 했던 것은 바로 이렇듯 그누 자게에 남들에게 별 상관도 없는 일로 인해 미간을 찌뿌리게 되는 지저분한 글들이 올라오게 되는 걸 원치 않았으며
또한 유메님과 제가 단 한번도 왕래가 없었던 사이가 아니라 서로의 홈페이지에서
글을 주고 받았던 사실에 있었습니다.
유메님이 필요한 플래시를 부탁할때는 내 홈피에 와서 글을 달고
공개한 것도 아닌 "미리보기" 홈피에 띄워논 프로그램을 보고 저리 막말을 하는 사람의 뇌구조를 이해 못하겠습니다.
살인은 미리 계획만 해도 처벌된다고는 하지만....
앞으로 공개할 스킨에 자신의 디자인이 들어가 있다고...왜 이렇게 광분을 하십니까?
이전 글에도 말을 했지만...제가 유메님의 디자인을 공개 배포라도 했나요?
아니면 다른분에게 판매라도 했나요?
제가 아직 제작중인 스킨에 잠깐 유메님의 디자인이 들어가 있는게 그리도 큰 잘못입니까?
범죄행위이기 때문에 신고를 하셨다고 했는데....
제가 저지른 범죄가 무엇입니까?
이 부분은 정말 제가 "제작자"가 아닌 "취미생활자"이기 때문에 몰라서 물어봅니다.
오히려 불특정 다수가 보는 이 커뮤니티에 허위사실을 유포한 유메님이 범죄행위를 저지르고 계신 것은 아니십니까?
유메님과 제가 거의 비슷한 시기에 첨부파일이 아닌 에디터로 삽입된 파일에 EXIF 표현 기능을
넣으려고 애썼습니다. 유메님이 먼저 클릭시 팝업레이어로 뜨는 exif 창을 성공했었습니다.
전 당시 하이슬라이드로 뜨는 창에 EXIF 정보를 표현하는 것을 성공했으나...
남의 떡이 커보인다고 유메님의 EXIF 창이 더 이뻐보이더군요.
유메님께 스킨을 좀 달라고 요청했는데....줄 수는 있으나 공개하면 않된다고 하셨죠.
전 공개가 목적인 사람이므로 그 파일을 받으면 않되는 것이었습니다.
....쉽게 표현되겠지...배워서 만들면 되지...했는데
생각보다 너무 어려웠습니다.
이부분은 제가 유메님 홈에도 써 놨지만 제가 초보라서 그렇습니다.
결국 하다하다 못하고 유창화님께 도움을 요청했으며
유창화님께서 직접 원격조정으로 view.php 파일을 수정해 주셨습니다.
즉 도움을 받은 정도가 아니라 아예 소스를 통채로 다 바꿔 주신겁니다.
다 됐나 싶었더니...이번엔 DTD 선언이 문제 가 되었습니다.
이미 그누에 공개된 클릭시 팝업 EXIF 레이어창이 DTD를 선언하면 위치가 제멋대로 가는 것입니다.
이 부분 또한 전혀 진도가 나가지 않았는데...유아원님께서 새로운 소스를 보내 주셨고
이 부분은 view.skin.php 파일에 삽입되어 있습니다.
현재 유아원님이 이 자게에 올려 놓으신 바로 그 소스입니다.
http://zombi.kr/test/layer.html
즉 유창화님은 view.php를 만들어 주셨고
유아원님은 view.skin.php 파일을 만들어 주셨습니다.
예 항상 말씀 드리지만 제가 초보인 관계로 이렇게 다른 분이 통채로 파일 두개를 만들어 주신겁니다.
유메님이 자게에 글을 쓴 이유는 아마 소스 도용에 관한 신고라는 의미로써 "주의" 혹은 "경고"보다는 " 너 한번 엿먹어 봐라"라는 다분한 상대방 깍아 내리기 식의 인격공격이 목표로 보여
경찰청에 신고하겠다고 했습니다.
법을 좋아 하시는 분같으니 법으로 대응하겠다는 의미입니다.
앞으로 공개될 제 view.skin.php의 소스입니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/lib/thumb.lib.php");
$noimg = $g4[path]."/img/_noimage.jpg"; ///불당썸
$source[] = "/</"; $target[] = "<";
$source[] = "/>/"; $target[] = ">";
preg_match_all("/<img[^<]+src=('|\")?[^>]+(data\/[^\"']+)('|\")?[^>]*>/i",$view[content2], $view_file);
for($i=0; $i<count($view_file[0]); $i++){
$ii = $i + 0;
$exif = @exif_read_data("../".$view_file[2][$i]);
if (isset($exif[Make]) || isset($exif[Model])){
$exif[Model]=preg_replace($source,$target, $exif[Model]);
$em = "";
switch ($exif[ExposureMode]) {
case "0": $em = "자동노출"; break;
case "1": $em = "수동노출"; break;
case "2": $em = "브라켓노출"; break;
}
$flash = "";
switch ($exif[Flash]) {
case "0": $flash = "Not fired"; break;
case "9": $flash = "Flash fired, compulsory flash mode"; break;
case "10": $flash = "Not fired"; break;
case "16": $flash = "Not fired, compulsory"; break;
case "25": $flash = "Flash fired, auto mode"; break;
}
$wb = "";
switch ($exif[WhiteBalance]) {
case "0": $wb = "AUTO"; break;
case "1": $wb = "MANUAL"; break;
}
$expo=$exif[ExposureProgram];//노출방식(M,A,S,P) ex)2
switch ($exif[ExposureProgram]) {
case "0": $wb = "Not defined"; break;
case "1": $wb = "MANUAL"; break;
case "2": $wb = "Normal Program"; break;
case "3": $wb = "Aperture priority"; break;
case "4": $wb = "Shutter priority"; break;
case "5": $wb = "Creative program"; break;
case "6": $wb = "Action program"; break;
case "7": $wb = "Portrait mode"; break;
case "8": $wb = "Landscape mode"; break;
}
$fl = explode("/", $exif[FocalLength]);
$fl = @($fl[0]/$fl[1]);
if ($fl) $fl .= " mm";
$shutter = explode("/", $exif[ShutterSpeedValue]);
$shutter = @($shutter[1]/$shutter[0]);
$et = "";
if ($exif[ExposureTime]) $et = $exif[ExposureTime] . " 초";
$add_info=$view_file[0][$i]."<div id='photo{$i}_exif' class='exif' style='text-align:left;'>
<table width='300px' height='100%' cellpadding='0' cellspacing='0' border='0'>
<tr><td>
<table width='300px' height='49px' cellpadding='0' cellspacing='0' border='0'><tr><td align='left' width='105'><img src='{$g4[path]}/img/exif/01.png' border='0' class='png24'></td><td width='154' background='{$g4[path]}/img/exif/h_bg.png'> </td><td align='right' width='41'><a href=\"javascript:photo_close('$i');\"><img src='{$g4[path]}/img/exif/02.png' border='0' class='png24'></td></tr></table>
</td></tr>
<tr><td style='border:0; padding:0;'>
<table width='300px' cellpadding='0' cellspacing='0' border='0'>
<tr><td align='left' width='15px' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>카메라회사 </span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_info'>{$exif[Make]} </span></td><td align='right' width='15px' height='21px'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr>
<tr><td align='left' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>카메라모델 </span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_camera'>{$exif[Model]}</span></td><td align='right'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr>
<tr><td align='left' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>촬영일자 </span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_info'>$exif[DateTimeOriginal]</span></td><td align='right'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr>
<tr><td align='left' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>사진크기 </span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_info'>{$exif[COMPUTED][Width]} x {$exif[COMPUTED][Height]}</span></td><td align='right'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr>
<tr><td align='left' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>소프트웨어</span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_info'>{$exif[Software]}</span></td><td align='right'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr>
<tr><td align='left' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>노출프로그램</span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_info'>{$expo}</span></td><td align='right'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr>
<tr><td align='left' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>노출방식 </span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_info'>{$em}</span></td><td align='right'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr>
<tr><td align='left' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>화이트밸런스</span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_info'>{$wb}</span></td><td align='right'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr>
<tr><td align='left' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>노출시간 </span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_info'>{$et}</span></td><td align='right'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr>
<tr><td align='left' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>조리개값 </span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_info'>{$exif[COMPUTED][ApertureFNumber]}</span></td><td align='right'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr>
<tr><td align='left' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>노출보정 </span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_info'>{$exif[ExposureBiasValue]} </span></td><td align='right'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr>
<tr><td align='left' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>감도 </span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_info'>{$exif[ISOSpeedRatings]}</span></td><td align='right'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr>
<tr><td align='left' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>초점거리 </span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_info'>{$fl}</span></td><td align='right'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr>
<tr><td align='left' height='21px'><img src='{$g4[path]}/img/exif/03.png' border='0' class='png24' width='15px' height='21px'></td><td align='left' width='80' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_title'>Flash </span></td><td width='190' height='21px' background='{$g4[path]}/img/exif/c_bg.png'><span class='exif_info'>{$flash}</span></td><td align='right'><img src='{$g4[path]}/img/exif/04.png' border='0' class='png24'></td></tr></table></td></tr>
<tr><td><table width='300' height='12' cellpadding=0 cellspacing=0 border=0><tr><td align='left' width='15' valign='top'><img src='{$g4[path]}/img/exif/05.png' border='0' class='png24'></td><td width='270' background='{$g4[path]}/img/exif/t_bg.png'></td><td align='right' width='15' valign='top'><img src='{$g4[path]}/img/exif/06.png' border='0'class='png24'></td></tr></table></td></tr></table></div>";
$view[content2] = str_replace($view_file[0][$i], $add_info, $view[content2]);
}
}
?>
<style type='text/css'>
<!--
.exif_title { color: #B1DAF1; font-family: 맑은 고딕, 굴림, tahoma, 돋움; font-weight: normal;}
.exif_info { color: #FFFFFF; font-family: 맑은 고딕, 굴림, tahoma, 돋움; font-size: 11px; font-weight: normal;}
.exif_camera { color: #FF3333; font-family: 맑은 고딕, 굴림, tahoma, 돋움; font-size: 12px; font-weight: bold;}
.exif { display: none; position:absolute; z-index:999; visibility:visible; width:300px; left:0px; top:0px; filter:alpha(Opacity:70, FinishOpacity=1, Style=1, StartX=0, StartY=0, FinishX=0, FinishY=0));-moz-opacity:.70;opacity:.70;}
-->
</style>
<script type="text/javascript" src="<?=$board_skin_path?>/js/active.js"></script>
<div style="width:<?=$table_width?>px; margin-left:auto; margin-right:auto; position: static;">
<div style="height:12px; line-height:1px; font-size:1px;"> </div>
<!-- 게시글 보기 시작 -->
<div style="float:left ; width:100%; clear:both; position:static;">
<?
$subject = cut_hangul_last(get_text($view[wr_subject]));
?>
<div style="float:left ; width:100%; clear:both; position:static;">
<div style='float:left; width:550px; position:static; padding: 0px'></div>
<?
$keyview = number_format($view[wr_hit]);
$keygood = number_format($view[wr_good]);
$keydate = date("y-m-d H:i", strtotime($view[wr_datetime]));
$keycomment = number_format($view[wr_comment]);
for($i=0;$i<=9;$i++){$keyview =str_replace("$i","<img src=./img/pad_w/${i}.gif border=0 align=absmiddle>",$keyview);} //숫자를 이미지로 변경
for($i=0;$i<=9;$i++){$keygood =str_replace("$i","<img src=./img/pad_y/${i}.gif border=0 align=absmiddle>",$keygood);} //숫자를 이미지로 변경
for($i=0;$i<=9;$i++){$keydate =str_replace("$i","<img src=./img/pad_w/${i}.gif border=0 align=absmiddle>",$keydate);} //숫자를 이미지로 변경
for($i=0;$i<=9;$i++){$keycomment =str_replace("$i","<img src=./img/pad_g/${i}.gif border=0 align=absmiddle>",$keycomment);} //숫자를 이미지로 변경
?>
</div>
</div></div></div></div>
<div style="width:<?=$table_width?>px; margin-left:auto; margin-right:auto; position: static; z-index:0;">
<!-- 제목 -->
<div style="height:70px; width:<?=$table_width?>px; line-height:1px; font-size:1px; clear:both; text-align:center; z-index:-10; border:1px soild #101010; padding-top:20px;"><script>flashWrite("<?=$g4[path]?>/swf/title.swf","520","50","title_flash","#252525","isContent=Y&titleText=<?=$subject?>&detailText=<?=$board[bo_subject]?>","transparent");</script></div>
<div style="height:10px; width:<?=$table_width?>px; line-height:1px; font-size:1px; clear:both;"></div>
<!-- 조회, 추천 -->
<div style='float:right; position:static; width:200px; padding:0px'><img src="<?=$board_skin_path?>/img/view_count.gif" align=absmiddle width="30" height="14"> <?=$keyview?> <img src="<?=$board_skin_path?>/img/sym.gif" align="absmiddle" width="52px" height="8px" /> <?=$keygood?></div>
<?
// 가변 파일
$cnt = 0;
for ($i=0; $i<count($view[file]); $i++) {
if ($view[file][$i][source] && !$view[file][$i][view]) {
$cnt++;
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height=30 background=\"$board_skin_path/img/view_dot.gif\">";
echo " <img src='{$board_skin_path}/img/icon_file.gif' align=absmiddle border='0'>";
echo "<a href=\"javascript:file_download('{$view[file][$i][href]}', '{$view[file][$i][source]}');\" title='{$view[file][$i][content]}'>";
echo " <span style=\"color:#888;\">{$view[file][$i][source]} ({$view[file][$i][size]})</span>";
echo " <span style=\"color:#ff6600; font-size:11px;\">[{$view[file][$i][download]}]</span>";
echo " <span style=\"color:#d3d3d3; font-size:11px;\">DATE : {$view[file][$i][datetime]}</span>";
echo "</a></td></tr></table>";
}
}
// 링크
$cnt = 0;
for ($i=1; $i<=$g4[link_count]; $i++) {
if ($view[link][$i]) {
$cnt++;
$link = cut_str($view[link][$i], 70);
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height=30 background=\"$board_skin_path/img/view_dot.gif\">";
echo " <img src='{$board_skin_path}/img/icon_link.gif' align=absmiddle border='0'>";
echo "<a href='{$view[link_href][$i]}' target=_blank>";
echo " <span style=\"color:#888;\">{$link}</span>";
echo " <span style=\"color:#ff6600; font-size:11px;\">[{$view[link_hit][$i]}]</span>";
echo "</a></td></tr></table>";
}
}
?>
</div>
<!-- 내용출력 -->
<div style=" clear:both; margin-left:auto; margin-right:auto; position: static; padding-top:30px">
<?=$view[content2];?>
</div></div></div></div></div></div></div></div></div></div></div></div>
</div>
<input type="hidden" id="photo_number">
<script type="text/javascript">
//<![CDATA[
document.getElementById("photo_number").value = "";
function photo_close(id)
{
document.getElementById("photo"+id+"_exif").style.display = "none";
}
function photo_view(id)
{
document.getElementById("photo"+id).onmousedown = photo_move;
document.getElementById("photo_number").value = id;
}
function photo_move(e)
{
var AppName = navigator.appName;
if (AppName == "Microsoft Internet Explorer") {
var photoX = event.clientX;
//var photoY = event.clientY + document.body.scrollTop; // dtd 미선언
var photoY = event.clientY + document.documentElement.scrollTop;
} else {
var photoX = e.clientX;
//var photoY = e.clientY + document.body.scrollTop; // dtd 미선언
var photoY = e.clientY + document.documentElement.scrollTop;
}
var number = document.getElementById("photo_number").value;
document.getElementById("photo"+number+"_exif").style.display = "inline";
document.getElementById("photo"+number+"_exif").style.left = photoX + "px";
document.getElementById("photo"+number+"_exif").style.top = photoY + "px";
}
//]]>
</script>
<!-- //내용출력 -->
<div style="width:<?=$table_width?>px; margin-left:auto; margin-right:auto; position: static; height:10px;">
<?//echo $view[rich_content]; // 과 같은 코드를 사용할 경우?>
<!-- 테러 태그 방지용 --></xml></xmp><a href=""></a><a href=''></a>
</div>
<!-- 플래시 -->
<div style="width:<?=$table_width?>px; margin-left:auto; margin-right:auto; position: static; height:80px;">
<div style="width:500px; position: relative; padding-top:2px; float:right;">
<script>doc_write(flash_movie("<?=$g4['path']?>/swf/banner_500x80.swf?xml=<?=$g4['path']?>/xml/banner_500x80.php?id=<?=$bo_table?>", "ids", 500, 60, "transparent"));</script>
</div></div>
<!-- //플래시 -->
<div style="width:<?=$table_width?>px; margin-left:auto; margin-right:auto; position: static;">
<table width="<?=$table_width?>px" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="3" valign="top" style="padding:20px 20px 20px 20px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#333333">
<tr>
<td width="10px" height="10px"></td>
<td></td>
<td width="10px" height="10px"></td>
</tr>
<tr>
<td width="10px"></td>
<td valign="top" bgcolor="#202020" style="padding:15px; border:1px solid #111111;"><table width="100%" cellpadding=0 cellspacing=0><tr><td valign=top>
<table width="450px" border="0" cellspacing="0" cellpadding="5" height="150px">
<tr>
<td width="80" rowspan="3" valign="top">
<?
$photo_file = "$g4[path]/data/mPhoto_image/{$view[mb_id]}";
$noimg = $g4[path]."/img/_noimage.jpg";
$filter[type] = 99;
$filter[arg1] = 100;
$filter[arg2] = 1;
$filter[arg3] = 2;
$pic_file = thumbnail("$photo_file",80, 0, 0, 1, 90, 0, "", $filter, $noimg);
?>
<? if (file_exists($photo_file)) {?>
<img src='<?=$pic_file?>' align=absmiddle border="0" style="border:#333333 4px solid;">
<? } else { ?>
<img src='<?=$board_skin_path?>/img/noimage.gif' border="0" width=61 height=61 style="border:3px solid #f2f2f2">
<? } ?>
</td>
<td><img src="<?=$board_skin_path?>/img/photographer.gif" width="74px" height="7px" /></td>
<td><font color=#888888><?=$view[name]?></font></td>
<td colspan="2">+ <?
$profile=get_member($view[mb_id], "mb_homepage"); ?>
<a href="<?=$profile['mb_homepage']?>" target="_blank"><?=$profile['mb_homepage']?></td>
</tr>
<tr>
<td><img src="<?=$board_skin_path?>/img/date.gif" width="27px" height="8px" /></td>
<td colspan="3"><?=$keydate?></td>
</tr>
<tr>
<td width="80" valign="bottom"><img src="<?=$board_skin_path?>/img/sign.gif" width="54px" height="8px" /></td>
<td colspan="4"><? if ($is_signature) { echo "$signature"; } // 서명 출력 ?></td>
</tr>
<tr>
<td width="80" align="center" valign="top"><span class=small><a href="javascript:;" onclick="mb_more_show();">+ 사진 더보기</a></span><br><span style="color:#888888;"><a href='<?=$g4[bbs_path]?>/new2.php?mb_id=<?=$view[mb_id]?>&gr_id=photo&view=w'>▶갤러리가기</a></span></td>
<td><img src="<?=$board_skin_path?>/img/view.gif" width="25px" height="7px" /></td>
<td><?=$keyview?></td>
<td><img src="<?=$board_skin_path?>/img/sym.gif" width="52px" height="8px" /></td>
<td><? if ($is_good) { ?><?=$keygood?><?}?></td>
</tr>
<? if ($board[bo_related] && $view[wr_related]) { ?>
<? $rels = mw_related($view[wr_related], $board[bo_related]); ?>
<? if (count($rels)) {?>
<tr>
<td colspan="5" bgcolor="#161616" style="border: 1px solid #444444; padding: 10px;">
</td>
</tr>
<? } ?>
<? } ?>
<!-- <tr>
<td width="80" valign="top"> </td>
<td height="55px">추천한 사람 :</td>
<td colspan="3">--><!-- 추천한 회원 -->
<?
//$sql = " select b.mb_nick from g4_board_good a, g4_member b where a.bo_table='$bo_table' and a.wr_id='$wr_id' and a.mb_id=b.mb_id order by a.bg_id asc ";
//$result = mysql_query($sql);
//while($row=mysql_fetch_array($result)) {
//echo "<font color=#0099FF><b>$row[mb_nick]</b></font> ";
//}
?>
<!-- 추천한 회원 끝 </td>-->
<!--</tr> -->
</table>
</td>
<td width="360"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" width="170"><? if ($prev_href) { echo "▲ 이전사진"; }?></td>
<td> </td>
<td align="right" width="170"><? if ($next_href) { echo "다음사진 ▼"; }?></td>
</tr>
<tr>
<td><? if ($prev_href) {
$prev_img = goto_img($prev_href);
$prev_img_thumb = thumbnail("$g4[path]/data/file/$bo_table/$prev_img",170, 150, 0, 1, 70, 1);
echo "<a href=\"$prev_href\" title=\"$prev_wr_subject\"><img onmouseover=\"this.style. filter=''\" style=\"FILTER: gray; border-color:#cccccc;\" onmouseout=\"this.style.filter='gray'\" src='$prev_img_thumb' border='0' align='absmiddle' style='border:#CCCCCC 5px solid;'></a> ";
} ?> </td>
<td width="10"></td>
<td><? if ($next_href) {
$next_img = goto_img($next_href);
$next_img_thumb = thumbnail("$g4[path]/data/file/$bo_table/$next_img",170, 150, 0, 1, 70, 1);
echo "<a href=\"$next_href\" title=\"$next_wr_subject\"><img onmouseover=\"this.style. filter=''\" style=\"FILTER: gray; border-color:#cccccc;\" onmouseout=\"this.style.filter='gray'\" src='$next_img_thumb' border='0' align='absmiddle' style='border:#CCCCCC 5px solid;'></a> ";
} ?> </td>
</tr>
<tr>
<td align="center" style="padding-top:10px;"><?=cut_str($prev_wr_subject,20)?></td>
<td> </td>
<td align="center" style="padding-top:10px;"><?=cut_str($next_wr_subject,20)?></td>
</tr>
</table></td></tr></table>
</td>
<td width="10px"></td>
</tr>
<tr>
<td width="10px" height="10px"></td>
<td></td>
<td width="10px" height="10px"></td>
</tr>
</table>
</td>
</tr>
</table>
<?
function goto_img($str){
global $g4, $bo_table;
$str = explode("wr_id=", $str);
$str = explode("&", $str[1]);
$wr_id_in = $str[0];
$sql = " select bf_file from $g4[board_file_table] where wr_id = $wr_id_in and bo_table = '$bo_table' order by bf_no limit 1";
$row = sql_fetch($sql);
return $row[bf_file];
}
?>
<div style="height:20px; line-height:1px; font-size:1px; clear:both;"></div>
<? include "$board_skin_path/mypost.php" ?>
<div style="height:20px; line-height:1px; font-size:1px; clear:both;"></div>
</div>
<div style="width:980px; margin-left:auto; margin-right:auto; position: static; padding-top:20px;">
<div style="height:1px; width:<?=$table_width?>px; line-height:1px; font-size:1px; background-color: #111111; clear:both;"></div>
<div style="height:1px; width:<?=$table_width?>px; line-height:1px; font-size:1px; background-color: #444444; clear:both;"></div>
<!-- 링크 버튼 -->
<?
ob_start();
?>
<table width='<?=$table_width?>' cellpadding=0 cellspacing=0>
<tr height=45>
<td>
<? if ($search_href) { echo "<a href=\"$search_href\"><img src='$board_skin_path/img/btn_list_search.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($copy_href) { echo "<a href=\"$copy_href\"><img src='$board_skin_path/img/btn_copy.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($move_href) { echo "<a href=\"$move_href\"><img src='$board_skin_path/img/btn_move.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin_path/img/btn_delete.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($reply_href) { echo "<a href=\"$reply_href\"><img src='$board_skin_path/img/btn_reply.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin_path/img/btn_modify.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($good_href) { echo "<a href=\"$good_href\" target='hiddenframe'><img src='$board_skin_path/img/btn_good.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($nogood_href) { echo "<a href=\"$nogood_href\" target='hiddenframe'><img src='$board_skin_path/img/btn_nogood.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($scrap_href) { echo "<a href=\"javascript:;\" onclick=\"win_scrap('$scrap_href');\"><img src='$board_skin_path/img/btn_scrap.gif' border='0' align='absmiddle'></a> "; } ?>
</td>
<td align="right" style="padding:0 10 0 0;">
<? echo "<a href=\"$list_href\"><img src='$board_skin_path/img/btn_list.gif' border='0' align='absmiddle'></a> "; ?>
<? if ($write_href) { echo "<a href=\"$write_href\"><img src='$board_skin_path/img/btn_write.gif' border='0' align='absmiddle'></a> "; } ?>
</td>
</tr>
</table>
<?
$link_buttons = ob_get_contents();
ob_end_flush();
?>
<div style="height:1px; width:<?=$table_width?>px; line-height:1px; font-size:1px; background-color: #111111; clear:both;"></div>
<div style="height:1px; width:<?=$table_width?>px; line-height:1px; font-size:1px; background-color: #444444; clear:both;"></div>
<div style="height:10px; width:<?=$table_width?>px; clear:both;"> </div>
<div style="float:left ; width:<?=$table_width?>px; clear:both;">
<?
// 코멘트 입출력
include_once("./view_comment.php");
?>
</div>
<div style="height:1px; width:<?=$table_width?>px; line-height:1px; font-size:1px; border-top:1px dashed #444444; clear:both;"></div>
<div style="height:1px; width:<?=$table_width?>px; line-height:1px; font-size:1px; border-top:1px dashed #000000; clear:both;"></div>
<!-- 링크 버튼 -->
<div>
<?=$link_buttons?>
</div>
<div style="height:1px; width:<?=$table_width?>px; line-height:1px; font-size:1px; border-top:1px dashed #444444; clear:both;"></div>
<div style="height:1px; width:<?=$table_width?>px; line-height:1px; font-size:1px; border-top:1px dashed #000000; clear:both;"></div>
<script language="JavaScript">
function file_download(link, file) {
<? if ($board[bo_download_point] < 0) { ?>if (confirm("'"+file+"' 파일을 다운로드 하시면 포인트가 차감(<?=number_format($board[bo_download_point])?>점)됩니다.\n\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\n\n그래도 다운로드 하시겠습니까?"))<?}?>
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>
<!-- 게시글 보기 끝 -->
0
댓글 6개
소스도 보니 유메님의 exif 출력기능이 더 직관적이네요.
무엇보다도 시하님 소스는 확실히 다른분들의 도움받은 흔적이 보입니다.
아래는 제가 두분 소스를 보고 이해가 가지 않는 부분을 몇개 적어본 것입니다.
첫째.
유메님
preg_match_all("/<img[^<]+src=('|\")?[^>]+(data\/[^\"']+)('|\")?[^>]*>/i",$view[content], $view_file);
시하님
preg_match_all("/<img[^<]+src=('|\")?[^>]+(data\/[^\"']+)('|\")?[^>]*>/i",$view[content2], $view_file);
정규식 표현이 이렇게 같을 수 있다는건 말이 안됩니다. 특히 ('|\")?[^>]*>/i 부분이 이렇게 정확하다는건 두분이 모두 다른 분의 소스를 참고했거나, 한분이 다른분의 소스를 참고 했을 가능성이 매우 큽니다. 예전에 두루팔이라는 프로그램에서도 다른 CMS 프로그램을 참고한게 필터링 정규식 표현이 똑같다는 이유에서 밝혀졌습니다.
둘째.
유메님
position:absolute; z-index:999; visibility:visible;
filter:alpha(Opacity:80,style:0));-moz-opacity:.50;opacity:.50;";
시하님
position:absolute; z-index:999; visibility:visible; width:300px; left:0px; top:0px; filter:alpha(Opacity:70, FinishOpacity=1, Style=1, StartX=0, StartY=0, FinishX=0, FinishY=0));-moz-opacity:.70;opacity:.70;}
스타일 지정 하는 순서가 이렇게 같을수는 없는겁니다.
셋째.
유메님
echo "<table width='300' height='100%' cellpadding=0 cellspacing=0 border=0>";
echo "<tr><td><table width='300' height='100%' cellpadding=0 cellspacing=0 border=0>";
echo "<tr>";
echo "<td align='left' width='105'><img src='{$g4_path}/images/exif/01.png' border='0'></td>";
echo "<td width='154' background='{$g4_path}/images/exif/h_bg.png'> </td>";
echo "<td align='right' width='41'><img src='{$g4_path}/images/exif/02.png' border='0' onClick=exif_out($exif_div)></td>";
echo "</tr></table></td></tr>";
if($exif_info['Model']) {
echo "<tr><td><table width='300' cellpadding=0 cellspacing=0 border=0>";
시하님
<table width='300px' height='100%' cellpadding='0' cellspacing='0' border='0'>
<tr><td>
<table width='300px' height='49px' cellpadding='0' cellspacing='0' border='0'><tr><td align='left' width='105'><img src='{$g4[path]}/img/exif/01.png' border='0' class='png24'></td><td width='154' background='{$g4[path]}/img/exif/h_bg.png'> </td><td align='right' width='41'><a href=\"javascript:photo_close('$i');\"><img src='{$g4[path]}/img/exif/02.png' border='0' class='png24'></td></tr></table>
</td></tr>
<tr><td style='border:0; padding:0;'>
<table width='300px' cellpadding='0' cellspacing='0' border='0'>
문제점. width값; 300, 105, 41. align='left' 하지 않아도 되는 상황에서 값을 줌. 또한 align='right' 와 td 마다의 border='0'. 시하님께서는 DTD 선언후 width 값이 먹히지 않으니 px을 주셨을테고요. h_bg.png 파일명 같음.
그 외, 시하님께서 말씀하신 데로 레이어에 쓰이는 디자인적 요소가 유메님것과 동일하네요.
h_bg.png, c_bg.png, t_bg 등...
제가 보기에는, 시하님께서 디자인적 요소를 가져다 쓰신건 소스에 명백하게 나와있으나, 기능적인 요소면에서 유메님의 소스를 참고 했다고 볼 수는 있지만 도용했다고 보기에는 애매하네요.
예를 들자면 제가 논문을 썻는데 다른 학생이 제 논문을 자신의 스타일로 의역한거죠. 이는 문제가 되지 않습니다. 하지만 인용을 하지 않았다면 큰 문제가 되죠. 하지만 이것도 원래 exif 출력이라는게 비교적 쉽게 구현할 수 있는 간단한거라... 어쨋든, 프로그램이 주장하는 바가 너무 똑같습니다. 프로그램의 디자인적 요소에 기능적인 요소가 포함되는 경우라, (예를들어 이미지를 클릭했을 시에 특정 레이어 창이 닫힌다든지), 겉에서 보았을때는 도용했을거란 오해의 소지를 불러 일으키기 충분합니다.
일단 디자인적인 요소가 너무 동일하기 때문에, 또 그게 소스에 작지 않은 비중이기 때문에, 이대로 배포를 하시려면 유메님께 그 부분적인 것은 허락을 받으셔야 할겁니다.
아무튼, 두분 잘 해결되면 좋겠습니다.

이 부분의 소스가 같은것은 둘다 아래의 활용팁을 참고 했기 때문입니다.
아래의 소스는 제가 균이님에게 부탁 드려 제공해 주신 팁입니다.
http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=20166
또 둘째와 셋째는 당연히 같습니다. 제가 유메님의 소스를 보고 따라한 것이기 때문입니다.
제가 이전 글에서 이미 인정한 부분입니다.
소스 파일을 보고 exif 창의 디자인을 그대로 가져 온 것입니다.
이 부분에 대해서 유메님이 저를 질책하시는 것은 당연하다고 생각되어집니다.
하지만...
제가 말씀 드리는 부분은 다른 부분입니다.
아직 디자인을 배껴다 배포나 공개한... "범법행위"가 일어나지 않은 상태이며
이에 대해 인신공격성 글이 올라와 졌기 때문입니다.
배포시에는 당연히 디자인을 바꿀 계획입니다.
저역시 php나 디자인과는 거리가 먼 일반 직장인입니다.
특히 요즘 제가 운영하는 중고차 싸이트껀으로 거의 다른일을 못하다보니
스킨에 손을 못대고 EXIF 창의 디자인이 저상태로 유지되고 있었습니다.

보기가 조금 그렇기는 합니다. T^T 서로 오해 없이 잘 해결되시길...
다소 시끄럽더라도..

이전 글 내용까지 거슬러 올라가 보니, 두분이 모르는 분도 아닌 서로 의견도 나누었던 사이인데 갑자기 그누에서 논쟁이 되어 아쉽고 씁슬하네요..
소스에 대해 서로 당사자들 홈피에서 의견도 주고 받았었다면 유메님이 갑자기 이곳 게시판에 공격적인 문장을 올리신 것이 좀 무례했던거 아닐까 조심스레 생각해 봅니다.
그전에 먼저 시하님에게 말해 보았어야 하는 건 아닐까요?
시하님이 굉장히 억울해 하는것 같아 보이네요...
입장을 바꾸어서 생각해보면
내가 웹상으로 어느정도 왕래도 하면서 정보도 나누고하던 사이였다 생각보자면...
갑자기 다음날 아무언급도없이 공개된장소에서 어쩌니 저쩌니 해버리면 얼마나 황당할까요?
이부분은 저작권에대한 초점이아니라
두분다 개인적인 의사소통이 원활치 않은부분에서 비롯됐다봅니다.
무조건 글만보고 누가잘했니 잘못했니를 판단한다면 글잘쓰는사람은 그누에서는 대통령감이죠?
컴퓨터를만지는 사람들이지만 인간적인 면도 돌아볼 계기라 생각됩니다.