구룹 최신글 폼 정렬이 이상하게 나오네요.
페이지 정보
본문
어디를 수정해야될지 모르겠네요.
사파리에서는 똑바로 나오는데 파폭에서는 정렬이 틀어지네요.
제나버전은 20110410utf-8 입니다.
보시고 답변좀 해주세요.
01.jpg <-- 사파리
02.jpg <-- 파폭
입니다.
댓글목록
제로님의 댓글
제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일
skin/new/zenabasic/new.php
수정해 보세요..
<?php
if(!defined("_GNUBOARD_")) exit; // Can't access individual pages
?>
<?php if($is_admin) { ?>
<script type='text/javascript'>
function all_checked(sw) { //ssh
var f = document.fboardlist;
for (var i=0; i<f.length; i++) {
if(f.elements[i].name == "chk_wr_id[]")
f.elements[i].checked = sw;
}
}
function select_new_batch(sw){
var f = document.fboardlist;
str = "승인 or 취소";
f.sw.value = sw;
//f.target = "hiddenframe";
f.action = "<?php echo $g4[admin_path]?>/ssh_delete_spam.php";
f.submit();
}
</script>
<?php } ?>
<style type='text/css'>
/* UI Object */
#new_search { margin:0 0 10px 0; }
#tbl_new,
#tbl_new th,
#tbl_new td{border:0}
#tbl_new{width:100%;border-bottom:1px solid #ddd;table-layout:fixed}
#tbl_new caption,
#tbl_new .frm label{display:none}
#tbl_new th{padding:5px 0 4px;border-top:solid 2px #555;border-bottom:solid 1px #eee;background-color:#f8f8f8;font-weight:bold;line-height:18px;vertical-align:top; text-align:center;}
#tbl_new td{padding:8px 0 5px;border-bottom:solid 1px #eee;text-align:center}
#tbl_new .frm{padding:0;text-align:center}
#tbl_new .frm input{margin:0}
#tbl_new .num,
#tbl_new .date,
#tbl_new .hit{padding:0;font-family:Tahoma;font-size:11px;line-height:normal}
#tbl_new .title{text-align:left}
#tbl_new .title .pic,
#tbl_new .title .new{margin:0 0 2px;vertical-align:middle}
#tbl_new tr.reply .title a{padding-left:12px;background:url(img/ic_reply.gif) 0 1px no-repeat}
#tbl_new tr.reply td a.comment{padding:0;background:none;color:#f00;font-weight:bold}
/* //UI Object */
</style>
<!-- 분류 시작 -->
<form name='fnew' method='get'>
<div id="new_search">
<span>
<?//php=$group_select?>
<select id='view' name='view' onchange="select_change()">
<option value=''>전체게시물
<option value='w'>원글만
<option value='c'>코멘트만
</select></span>
<span class="bold">회원아이디 : <input type='text' id="mb_id" name='mb_id' class='text' value='<?php echo $mb_id;?>'></span>
<!--<input type='image' src="<?php echo $new_skin_path?>/img/btn_search.gif" border='0' style="vertical-align:top;" alt="검색"></li>-->
<span><input type='submit' class="bt03" value=" 검색 "></span>
<script type='text/javascript'>
document.getElementById('page_rows').value="<?php echo $page_rows?>";
function select_change()
{
document.fnew.submit();
}
//document.getElementById("gr_id").value = "<?php echo $gr_id?>";
document.getElementById("view").value = "<?php echo $view?>";
</script>
</div>
</form>
<!-- 분류 끝 -->
<form name='fboardlist' method='post'>
<input type='hidden' name='sw' value=''>
<input type='hidden' name='gr_id' value='<?php echo $gr_id;?>'>
<input type='hidden' name='view' value='<?php echo $view;?>'>
<input type='hidden' name='mb_id' value='<?php echo $mb_id;?>'>
<!-- UI Object -->
<table summary="최실글 리스트" id="tbl_new" border="1" cellspacing="0">
<caption>게시판 리스트</caption>
<colgroup>
<?php if($is_admin) { ?><col width="30"><? } ?>
<col><col width="100"><col width="85">
</colgroup>
<thead>
<tr>
<?php if($is_admin) { ?><th scope="col" class='frm'><input type='checkbox' onclick="if(this.checked) all_checked(true); else all_checked(false);"><label for='chk_sel'>전체선택</label></th><?php } ?>
<th scope="col">제목</th>
<th scope="col">글쓴이</th>
<th scope="col">날짜</th>
</tr>
</thead>
<tbody>
<tr>
<?php for ($i=0; $i<count($list); $i++) { ?>
<tr>
<?php
// thumb
if($wr_id == $list[$i][wr_id]) {
$style= 'border:5px solid #ff6600';
} else {
$style= 'border:5px solid #eeeeee';
}
$thumb_path = "$g4[path]/data/thumb/{$list[$i][bo_table]}/board";
$thumb = $thumb_path.'/'.$list[$i][wr_id].'.'.jpg;
if(file_exists($thumb))
$img = "<img src='$thumb' border='0' style='vertical-align:middle; width:60px; $style'>";
else
if(preg_match("/\.(swf|wma|asf)$/i","$file") && file_exists($file))
{ $img = "<script type='text/javascript'>doc_write(flash_movie('$file', 'flash$i', '80', '60', 'transparent'));</script>"; }
if($is_admin) {
echo "<td class='frm'>";
if($list[$i][comment])
echo "<input type=checkbox name=chk_wr_id[] value='{$list[$i][comment_id]}|{$list[$i][bo_table]}'>";
else
echo "<input type=checkbox name=chk_wr_id[] value='{$list[$i][wr_id]}|{$list[$i][bo_table]}'>";
echo "<label for='chk_sel'>선택</label></td>";
}
?>
<td class="title">
<?php if(!$list[$i][comment] && file_exists($thumb)) {
echo "<a href='{$list[$i][href]}'>";
echo "$img";
echo "</a>";
} ?>
<a href='<?php echo $list[$i][bo_table]?>'><span style='color:#0072bc'>[<?php echo $list[$i][bo_subject]?>]</span></a>
<a href='<?php echo $list[$i][href]?>'><?php echo $list[$i][comment]?><?php echo $list[$i][wr_subject]?></a>
</td>
<td><?php echo $list[$i][name];?></td>
<td class="date"><?php echo $list[$i][datetime]?></span></td>
</tr>
<?php } ?>
</tbody>
</table>
<?php if($i == 0) { ?><div style='text-align:center'>게시물이 없습니다.</div><?php } ?>
<?php if($is_admin) { ?>
<div style="padding:5px;"><input type='button' value="선택자료 스팸처리" onclick="javascript:select_new_batch('d');"></div>
<? } ?>
<div style='text-align:center'><?php echo $write_pages;?></div>
</form>