구룹 최신글 폼 정렬이 이상하게 나오네요. > 질문답변

본문 바로가기
사이트 내 전체검색

질문답변

서버정보나 계정정보는 보안유지를 위해 관리자쪽지나 메일로 발송해 주시거나 제작의뢰 게시판을 이용해 주시면 감사하겠습니다..

구룹 최신글 폼 정렬이 이상하게 나오네요.

페이지 정보

본문

제나를 설치하서 글을 하나 등록하고보니 폼 정렬이 이상해서요.
어디를 수정해야될지 모르겠네요.

사파리에서는 똑바로 나오는데 파폭에서는 정렬이 틀어지네요.

제나버전은 20110410utf-8 입니다.
보시고 답변좀 해주세요.

01.jpg <-- 사파리

02.jpg <-- 파폭

입니다.
추천0

댓글목록

profile_image

제로님의 댓글

제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

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>

profile_image

pahs님의 댓글

pahs쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

감사합니다..정리 됬습니다,.^^
style로 정리하신전가요.?

전에꺼하고 소스가 전혀 틀리네요..

profile_image

hongx2님의 댓글

hongx2쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

답변들 감사합니다. 저도 같은 문제로 고민 했었는데.

Total 1,640건 11 페이지
  • RSS
질문답변 목록
번호 제목 글쓴이 조회 추천 날짜
1490 심봉사쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11355 0 03-12
1489 아림빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10915 0 03-10
1488 소금쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 4 0 03-10
1487 소금쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12022 0 03-09
1486 장용기쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10995 0 03-07
1485 데이빗쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11724 0 03-07
1484 심봉사쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11796 0 03-07
1483 김성수쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9745 0 03-04
1482 김성수쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11120 0 03-02
1481 quarterback쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10429 0 03-01
1480 quarterback쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12008 0 03-01
1479 김성수쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10223 0 02-29
1478 소금쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13844 0 02-18
1477 quarterback쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12625 0 02-16
1476 이와모토쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 4 0 02-06

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
4,155
어제
4,566
최대
6,509
전체
1,068,816
Copyright (c) 株式会社YHPLUS. All rights reserved.