묻고답하기

이미지 추가

2012.09.12 02:46

장단엽

첨부파일에 내용처럼 하려면 어떻게 해야 하나요?

 

 

 <title>운영진경매방</title>
     <table width="600" cellpadding="0" cellspacing="0" border="0">
          <td valign="top"><table width="318" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td><a href="/bbs/board.php?bo_table=nan01"><img src="/images/img_04-5.gif" border="0" /></a></td>
              </tr>
              <tr height="10"></tr>
              <tr>
                <td><table border="0" cellpadding="0" cellspacing="0">
                    <?  
           $qry = "SELECT * FROM g4_board WHERE bo_table = 'nan01'";
           $result = mysql_query($qry);
           $row = mysql_fetch_array($result);
           $bo_notice = explode("\n",$row[bo_notice]);
           
           $size_notice = sizeof($bo_notice) - 1;
           for($i = 0; $i < $size_notice; $i ++){
            if($size_notice == 1) {
             $wh = "and wr_id != '$bo_notice[$i]'";
             continue;
            } else {
             $wh .= " and wr_id != '$bo_notice[$i]'";
            }
           }

           $querya = "SELECT * FROM g4_write_nan01 WHERE wr_subject != '' $wh ORDER BY wr_id DESC Limit 0,3";
           $resulta = sql_query($querya);
           $i = 0;
           $list = mysql_fetch_array($resulta);
           $queryb = sql_query("SELECT * FROM g4_board_file WHERE bo_table = 'nan01' and wr_id = '$list[0]' ORDER BY bf_no ASC Limit 0,1");
           $dataa = mysql_fetch_array($queryb);
          ?>
                    <tr height="139">
                      <td width="160" bgcolor="#E7E6E6" align="center"><a href="/bbs/board.php?bo_table=nan01&amp;wr_id=<?=$list[wr_id]?>">
                        <?=get_smallimg_in_list('nan01', $dataa[bf_file], 0, 160, 139, '/images/noimage.gif', '', 'width',4)?>
                      </a></td>
                      <td width="9"></td>
     
       <td width="280" valign="top" style="padding-top:6px;"><a href="/bbs/board.php?bo_table=nan01&amp;wr_id=<?=$list[wr_id]?>" class="e"><b>
                        <?=cut_str($list[wr_subject],30,"..")?>
                        </b></a>
                          <? if ($list[wr_comment] != 0) echo " <span style='font-family:Tahoma;font-size:10px;color:red;'>[{$list[wr_comment]}]</span>";?>
                          <img src="/images/new.gif" border="0" align="absmiddle" />
                          <div style="padding-top:8px;"> <font color="#5D5C5C">
                            <?=cut_str(strip_tags($list[wr_content]),100,"…")?>
                          </font> </div>
                      <div style="padding-bottom:8px;padding-top:8px;"><img src="/images/line-1.gif" border="0" /></div>
                        <img src="/images/name.gif" border="0" align="absmiddle" /> <font color="#5D5C5C">
                          <?=$list[wr_name]?>
                          </font> <br />
                          <img src="/images/date.gif" border="0" align="absmiddle" /> <font color="#5D5C5C">
                            <?=substr($list[wr_last],0,10)?>
                          </font> </td>
                      <td width="32">&nbsp;</td>
             <td width="5"><img src="/images/img_02-1.gif" border="0" /></td>
            <td width="32">&nbsp;</td>
      <td></td>             
                   
                                       <?  
           $qry = "SELECT * FROM g4_board WHERE bo_table = 'nan01'";
           $result = mysql_query($qry);
           $row = mysql_fetch_array($result);
           $bo_notice = explode("\n",$row[bo_notice]);
           
           $size_notice = sizeof($bo_notice) - 1;
           for($i = 0; $i < $size_notice; $i ++){
            if($size_notice == 1) {
             $wh = "and wr_id != '$bo_notice[$i]'";
             continue;
            } else {
             $wh .= " and wr_id != '$bo_notice[$i]'";
            }
           }

           $querya = "SELECT * FROM g4_write_nan01 WHERE wr_subject != '' $wh ORDER BY wr_id DESC Limit 1,1";
           $resulta = sql_query($querya);
           $i = 0;
           $list = mysql_fetch_array($resulta);
           $queryb = sql_query("SELECT * FROM g4_board_file WHERE bo_table = 'nan01' and wr_id = '$list[0]' ORDER BY bf_no ASC Limit 0,1");
           $dataa = mysql_fetch_array($queryb);
          ?>
                   
     <td height="139">
                      <td width="160" bgcolor="#E7E6E6" align="center"><a href="/bbs/board.php?bo_table=nan01&amp;wr_id=<?=$list[wr_id]?>">
           <?=get_smallimg_in_list2('nan01', $dataa[bf_file], 0, 160, 139, '/images/noimage.gif', '', 'width',4)?>
                      </a></td>
          <td width="9"></td>
                      <td width="280" valign="top" style="padding-top:6px;"><a href="/bbs/board.php?bo_table=nan01&amp;wr_id=<?=$list[wr_id]?>" class="e"><b>
                        <?=cut_str($list[wr_subject],30,"..")?>
                        </b></a>
                          <? if ($list[wr_comment] != 0) echo " <span style='font-family:Tahoma;font-size:10px;color:red;'>[{$list[wr_comment]}]</span>";?>
                          <img src="/images/new.gif" border="0" align="absmiddle" />
                          <div style="padding-top:8px;"> <font color="#5D5C5C">
                            <?=cut_str(strip_tags($list[wr_content]),100,"…")?>
                          </font> </div>
                       <div style="padding-bottom:8px;padding-top:8px;"><img src="/images/line-1.gif" border="0" /></div>
                        <img src="/images/name.gif" border="0" align="absmiddle" /> <font color="#5D5C5C">
                          <?=$list[wr_name]?>
                          </font> <br />
                          <img src="/images/date.gif" border="0" align="absmiddle" /> <font color="#5D5C5C">
                            <?=substr($list[wr_last],0,10)?>
                          </font> </td>
                    </td>
                </table></td>
              </tr>
          </table></td></tr>
          </table>

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
마인크래프트 게시판 글 등록시 오류 [1] 2012.09.12
동해물과백두산이마르고닳도록하느님이보우하사우리나라만세 제로보드xe 루트에다 설치 가능한가요?  
croc 지식인 알림 작동 원래 지원안하는건가요? [1] 2012.09.12 by 송동우
동해수문장 카테고리 하위개수에 대해서 질문합니다. [1] 2012.09.12 by KANTSOFT
몽키매직 위젯 가가라이브채팅 질문입니다  
KTK 게시글 하나당 댓글 하나.. 재질문입니다. [1] 2012.09.12 by 송동우
미로아르테 목록설정 항목변경 후 저장이 안됩니다. [1] 2012.09.12 by 송동우
KTK 게시글당 하나의 댓글 재 질문입니다. [1] 2012.09.12 by 송동우
레오마드 도메인 등록후 웹 호스팅 [1] 2012.09.12 by KANTSOFT
문프로 온라인에서 레이아웃 제작/수정 시 [2] 2012.09.12 by KANTSOFT
오락실주인 구글애드센스 질문 [1] 2012.09.12 by 슈롬
오락실주인 구글애드센스 질문  
민이아빠 초짜가 질문 드립니다.. [1] 2012.09.12 by 윈컴이
오니기리죠 FTP 접속에 성공했으나, 디렉토리 정보를 읽어올 수 없습니다. 서버 설정을 확인해주세요 [1] 2012.09.12 by 봉드기
rex1096 cacert 인증서 받아 ssl 적용하는 법 아시는 분 계신가요?  
Crassus 쪽지 보내기 가 장애가 생겼습니다.  
여물2 게시판 분류(카테고리)만 가져오는 위젯 [1] 2012.09.12 by 송동우
KTK 한게시글당 댓글 한개만 허용 [1] 2012.09.12 by 송동우
Asaph textyle 사용하려는데... 상단 메뉴에 대해 file  
nonserial 1.5x의 xe설치경로는 어디서 확인하나요? [1] 2012.09.12 by 김스코
thxall 제 홈피 로그인이 이상해요!! [4] 2012.09.12 by sorigongan
장단엽 이미지 추가 file  
은괭이 게시물등록시 서버에서 특정주소를 실행할수있나요?  
내사랑은서 특정 확장변수 글 작성시 나타나지 않게 하는법 있나요? [2] file 2012.09.12 by 송동우
croc 지식인 마지막 질문일듯하네요 ㅜㅜ [1] file 2012.09.12 by 송동우
용초딩 확장변수를 작성자만 볼 수 있게 가능한가요? [1] 2012.09.12 by 송동우
고이풀 로그인 할때마다 DB의 포인트가 자동으로 캐시에 리프래쉬 문의 [4] 2012.09.11 by 고이풀
꾸링 회원들의 메일주소 일괄 변경 쿼리 재문의~ [1] 2012.09.11 by 송동우
비비크림 현재 접속중인 회원수를 노출하고 싶습니다. [1] 2012.09.11 by sorigongan
임채원임 계속 게시판 클릭할때 넘어가는 화면에 1초동안 문자가 뜹니다