================================================================================
view.php화일을 이리저리 편집을 조금만 해서 이곳에 맞는 성격의 것으로 개조를 한다.
제작자분들에게 허락을 득한것이기 때문에 별 문제는 없을듯 하다.
3가지를 수정하였는데
--------------
1. 게시물을 볼때 바탕색깔이 연한 쥐색이었다. (<tr bgcolor="F3F3EF">)
이걸 우선 "white" 로 바꿔야 한다.
이유는 이곳에 올리는 대부분의 게시물중 그림이 첨부되어있으면 하얀색 프레임이 따라오는데
바탕화면이 쥐색이어서 그 프레임이 눈에 거슬린다는 것이다.
--------------
2. 댓글을 달때 흔히들 볼수 있는 "인터넷 예절을 지켜서 댓글을 써주세요"류의 코멘트를 없애고 싶었다.
아래의 구문을 지우면 해결이 된다. 추가로 table구문이 있는데 지우나 안지우나 상관없다. 쥐색줄..
<tr>
<td><img src=<?=$dir?>/images/caution.gif></td>
</tr>
</table>
</td>
<td width=8 class=line3 style=padding:0px><img src=/images/t.gif border=0 width=8></td>
<td class=list_eng>글은 인터넷에서 자신을 나타내는 유일한 모습입니다.<br>상대에게 상처를 주기보다 같이 즐거워 할 수 있는 코멘트 부탁드려요.</td>
<td align=right><font class=list_eng><?=date("Y-m-d")?><br><?=date("H:i:s")?></font></td>
</tr>
-=-------------
3. 마지막으로 게시물을 읽을때 상부에 화일이 첨부되었을때 생성되는 테이블인데 아래의 구문을 지우면
해결이 된다.
<tr>
<td background=<?=$dir?>/images/horizon_breaker.gif><div align="right"><img src=<?=$dir?>/images/register_note.gif width="77" height="22"></div></td>
</tr>
================================================================================
하단부의
에서 제일 하단부의 코멘트 부분을 지우면
댓글코멘트상의 멘트"예절을 지킵시다"류의 머릿글을 없앨수 있다.
<?
$name = str_replace(">","><font class=list_han>",$name);
$homepage = str_replace(">","><font class=list_eng></b>",$homepage);
$a_file_link1 = str_replace(">","><font class=list_eng></b>",$a_file_link1);
$a_file_link2 = str_replace(">","><font class=list_eng></b>",$a_file_link2);
$sitelink1 = str_replace(">","><font class=list_eng></b>",$sitelink1);
$sitelink2 = str_replace(">","><font class=list_eng></b>",$sitelink2);
$memo = str_replace("<table border=0 cellspacing=0 cellpadding=0 width=100% style=\"table-layout:fixed;\"><col width=100%></col><tr><td valign=top>","<table border=0 cellspacing=0 cellpadding=0 width=100% style=\"table-layout:fixed;\"><col width=100%></col><tr><td valign=top class=list_han>",$memo);
?>
<img src=<?=$dir?>/t.gif border=0 height=5><br>
<table border="0" cellpadding="0" cellspacing="0" width=<?=$width?>>
<tr bgcolor="CACAC1">
<td colspan="13"><img src=<?=$dir?>/images/blue_bar.gif width="79" height="2"></td>
</tr>
<tr bgcolor="CACAC1">
<td colspan="13" ><img src="<?=$dir?>/images/blank.gif width="5" height="1"></td>
</tr>
<tr>
<td width="79"><img src=<?=$dir?>/images/item03_subject.gif width="79" height="30"></td>
<td width="1" ><img src=<?=$dir?>/images/title_breaker.gif width="1" height="30"></td>
<td width="100%" colspan="11" class=title_han style=padding:8px;word-break:break-all;><b><?=$subject?></b></td>
</tr>
<tr bgcolor="CACAC1">
<td colspan="13"><img src=<?=$dir?>/images/blank.gif width="5" height="1"></td>
</tr>
<tr>
<td colspan="13" ><table border=0 cellspacing=0 width=100% style=table-layout:fixed height=30 class=list0>
<col width=>
<col width=240>
<tr>
<td nowrap style=padding-left:10px>
<?=$face_image?>
<?=$name?>
<?
if($data['homepage']) {
?>
<a href="<?=$data['homepage']?>" target=_blank><img src=<?=$dir?>/images/sbtn_connect_homepage.gif border=0 align="absmiddle"></a>
<?
}
?>
</td>
<td align=right style=padding-right:10px class=list_eng><?=$date?>
, 조회 : <b>
<?=number_format($hit)?>
</b>, 추천 : <b>
<?=$vote?>
</b></td>
</tr>
</table></td>
</tr>
<tr bgcolor="cacac1">
<td colspan="13" ><img src=<?=$dir?>/images/blank.gif width="5" height="1"></td>
</tr>
<tr bgcolor="F3F3EF">
<td colspan="13">
<table border=0 cellspacing=0 cellpadding=10 width=100% padding=8>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
<?=$hide_sitelink1_start?><img src=<?=$dir?>/images/sbtn_sitelink_01.gif border=0 align="absmiddle"><?=$sitelink1?></font><br><?=$hide_sitelink1_end?>
<?=$hide_sitelink2_start?><img src=<?=$dir?>/images/sbtn_sitelink_02.gif border=0 align="absmiddle"><?=$sitelink2?></font><br><?=$hide_sitelink2_end?>
<?=$hide_download1_start?><img src=<?=$dir?>/images/sbtn_download_01.gif border=0 align="absmiddle"><?=$a_file_link1?><?=$file_name1?> (<?=$file_size1?>)</a>, Download : <?=$file_download1?></font><br><?=$hide_download1_end?>
<?=$hide_download2_start?><img src=<?=$dir?>/images/sbtn_download_02.gif border=0 align="absmiddle"><?=$a_file_link2?><?=$file_name2?> (<?=$file_size2?>)</a>, Download : <?=$file_download2?></font><br><?=$hide_download2_end?>
</td>
</tr>
<tr>
<td background=<?=$dir?>/images/horizon_breaker.gif><div align="right"><img src=<?=$dir?>/images/register_note.gif width="77" height="22"></div></td>
</tr>
<tr>
<td><?=$hide_download1_start?>
<center><?=$upload_image1?><br><br>
<?=$hide_download1_end?>
<?=$hide_download2_start?>
<?=$upload_image2?></center><br><br>
<?=$hide_download2_end?>
<?=$memo?>
<div align=right class=list_eng><?=$ip?></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="cacac1">
<td colspan="13" ><img src=<?=$dir?>/images/blank.gif width="5" height="2"></td>
</tr>
</table>
<img src=<?=$dir?>/t.gif border=0 height=2><br>
<?if($member['level']<=$setup['grant_comment']){?>
<?=$hide_comment_start?>
<img src=/images/t.gif border=0 height=8><br>
<table width=<?=$width?> cellspacing=1 cellpadding=4>
<col width=100></col><col width=8></col><col width=></col><col width=100></col>
<tr valign=top bgcolor=white>
<td>
<table border=0 cellspacing=0 cellpadding=0 width=100% style=table-layout:fixed>
<tr>
<td><img src=<?=$dir?>/images/caution.gif></td>
</tr>
</table>
</td>
<td width=8 class=line3 style=padding:0px><img src=/images/t.gif border=0 width=8></td>
<td class=list_eng>글은 인터넷에서 자신을 나타내는 유일한 모습입니다.<br>상대에게 상처를 주기보다 같이 즐거워 할 수 있는 코멘트 부탁드려요.</td>
<td align=right><font class=list_eng><?=date("Y-m-d")?><br><?=date("H:i:s")?></font></td>
</tr>
</table>
<img src=/images/t.gif border=0 height=8><br>
<?=$hide_comment_end?>
<?}?>
view.php화일을 이리저리 편집을 조금만 해서 이곳에 맞는 성격의 것으로 개조를 한다.
제작자분들에게 허락을 득한것이기 때문에 별 문제는 없을듯 하다.
3가지를 수정하였는데
--------------
1. 게시물을 볼때 바탕색깔이 연한 쥐색이었다. (<tr bgcolor="F3F3EF">)
이걸 우선 "white" 로 바꿔야 한다.
이유는 이곳에 올리는 대부분의 게시물중 그림이 첨부되어있으면 하얀색 프레임이 따라오는데
바탕화면이 쥐색이어서 그 프레임이 눈에 거슬린다는 것이다.
--------------
2. 댓글을 달때 흔히들 볼수 있는 "인터넷 예절을 지켜서 댓글을 써주세요"류의 코멘트를 없애고 싶었다.
아래의 구문을 지우면 해결이 된다. 추가로 table구문이 있는데 지우나 안지우나 상관없다. 쥐색줄..
<tr>
<td><img src=<?=$dir?>/images/caution.gif></td>
</tr>
</table>
</td>
<td width=8 class=line3 style=padding:0px><img src=/images/t.gif border=0 width=8></td>
<td class=list_eng>글은 인터넷에서 자신을 나타내는 유일한 모습입니다.<br>상대에게 상처를 주기보다 같이 즐거워 할 수 있는 코멘트 부탁드려요.</td>
<td align=right><font class=list_eng><?=date("Y-m-d")?><br><?=date("H:i:s")?></font></td>
</tr>
-=-------------
3. 마지막으로 게시물을 읽을때 상부에 화일이 첨부되었을때 생성되는 테이블인데 아래의 구문을 지우면
해결이 된다.
<tr>
<td background=<?=$dir?>/images/horizon_breaker.gif><div align="right"><img src=<?=$dir?>/images/register_note.gif width="77" height="22"></div></td>
</tr>
================================================================================
하단부의
에서 제일 하단부의 코멘트 부분을 지우면
댓글코멘트상의 멘트"예절을 지킵시다"류의 머릿글을 없앨수 있다.
<?
$name = str_replace(">","><font class=list_han>",$name);
$homepage = str_replace(">","><font class=list_eng></b>",$homepage);
$a_file_link1 = str_replace(">","><font class=list_eng></b>",$a_file_link1);
$a_file_link2 = str_replace(">","><font class=list_eng></b>",$a_file_link2);
$sitelink1 = str_replace(">","><font class=list_eng></b>",$sitelink1);
$sitelink2 = str_replace(">","><font class=list_eng></b>",$sitelink2);
$memo = str_replace("<table border=0 cellspacing=0 cellpadding=0 width=100% style=\"table-layout:fixed;\"><col width=100%></col><tr><td valign=top>","<table border=0 cellspacing=0 cellpadding=0 width=100% style=\"table-layout:fixed;\"><col width=100%></col><tr><td valign=top class=list_han>",$memo);
?>
<img src=<?=$dir?>/t.gif border=0 height=5><br>
<table border="0" cellpadding="0" cellspacing="0" width=<?=$width?>>
<tr bgcolor="CACAC1">
<td colspan="13"><img src=<?=$dir?>/images/blue_bar.gif width="79" height="2"></td>
</tr>
<tr bgcolor="CACAC1">
<td colspan="13" ><img src="<?=$dir?>/images/blank.gif width="5" height="1"></td>
</tr>
<tr>
<td width="79"><img src=<?=$dir?>/images/item03_subject.gif width="79" height="30"></td>
<td width="1" ><img src=<?=$dir?>/images/title_breaker.gif width="1" height="30"></td>
<td width="100%" colspan="11" class=title_han style=padding:8px;word-break:break-all;><b><?=$subject?></b></td>
</tr>
<tr bgcolor="CACAC1">
<td colspan="13"><img src=<?=$dir?>/images/blank.gif width="5" height="1"></td>
</tr>
<tr>
<td colspan="13" ><table border=0 cellspacing=0 width=100% style=table-layout:fixed height=30 class=list0>
<col width=>
<col width=240>
<tr>
<td nowrap style=padding-left:10px>
<?=$face_image?>
<?=$name?>
<?
if($data['homepage']) {
?>
<a href="<?=$data['homepage']?>" target=_blank><img src=<?=$dir?>/images/sbtn_connect_homepage.gif border=0 align="absmiddle"></a>
<?
}
?>
</td>
<td align=right style=padding-right:10px class=list_eng><?=$date?>
, 조회 : <b>
<?=number_format($hit)?>
</b>, 추천 : <b>
<?=$vote?>
</b></td>
</tr>
</table></td>
</tr>
<tr bgcolor="cacac1">
<td colspan="13" ><img src=<?=$dir?>/images/blank.gif width="5" height="1"></td>
</tr>
<tr bgcolor="F3F3EF">
<td colspan="13">
<table border=0 cellspacing=0 cellpadding=10 width=100% padding=8>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
<?=$hide_sitelink1_start?><img src=<?=$dir?>/images/sbtn_sitelink_01.gif border=0 align="absmiddle"><?=$sitelink1?></font><br><?=$hide_sitelink1_end?>
<?=$hide_sitelink2_start?><img src=<?=$dir?>/images/sbtn_sitelink_02.gif border=0 align="absmiddle"><?=$sitelink2?></font><br><?=$hide_sitelink2_end?>
<?=$hide_download1_start?><img src=<?=$dir?>/images/sbtn_download_01.gif border=0 align="absmiddle"><?=$a_file_link1?><?=$file_name1?> (<?=$file_size1?>)</a>, Download : <?=$file_download1?></font><br><?=$hide_download1_end?>
<?=$hide_download2_start?><img src=<?=$dir?>/images/sbtn_download_02.gif border=0 align="absmiddle"><?=$a_file_link2?><?=$file_name2?> (<?=$file_size2?>)</a>, Download : <?=$file_download2?></font><br><?=$hide_download2_end?>
</td>
</tr>
<tr>
<td background=<?=$dir?>/images/horizon_breaker.gif><div align="right"><img src=<?=$dir?>/images/register_note.gif width="77" height="22"></div></td>
</tr>
<tr>
<td><?=$hide_download1_start?>
<center><?=$upload_image1?><br><br>
<?=$hide_download1_end?>
<?=$hide_download2_start?>
<?=$upload_image2?></center><br><br>
<?=$hide_download2_end?>
<?=$memo?>
<div align=right class=list_eng><?=$ip?></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="cacac1">
<td colspan="13" ><img src=<?=$dir?>/images/blank.gif width="5" height="2"></td>
</tr>
</table>
<img src=<?=$dir?>/t.gif border=0 height=2><br>
<?if($member['level']<=$setup['grant_comment']){?>
<?=$hide_comment_start?>
<img src=/images/t.gif border=0 height=8><br>
<table width=<?=$width?> cellspacing=1 cellpadding=4>
<col width=100></col><col width=8></col><col width=></col><col width=100></col>
<tr valign=top bgcolor=white>
<td>
<table border=0 cellspacing=0 cellpadding=0 width=100% style=table-layout:fixed>
<tr>
<td><img src=<?=$dir?>/images/caution.gif></td>
</tr>
</table>
</td>
<td width=8 class=line3 style=padding:0px><img src=/images/t.gif border=0 width=8></td>
<td class=list_eng>글은 인터넷에서 자신을 나타내는 유일한 모습입니다.<br>상대에게 상처를 주기보다 같이 즐거워 할 수 있는 코멘트 부탁드려요.</td>
<td align=right><font class=list_eng><?=date("Y-m-d")?><br><?=date("H:i:s")?></font></td>
</tr>
</table>
<img src=/images/t.gif border=0 height=8><br>
<?=$hide_comment_end?>
<?}?>