최근갤러리로 질문 드립니다.^^ > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

최근갤러리로 질문 드립니다.^^ 정보

최근갤러리로 질문 드립니다.^^

본문

아는분 부탁으로 홈페이지를 만들고 있는데요.
메인에 최근갤러리를 수정해서 불러 들였는데
포토갤러리 타이틀 밑에 영문으로gallery 라고 흰색 텍스트가
보입니다.
아무리 파일을 봐도 이미지나 텍스트는 없는거 같은데 나오니
정말 스트레스네요.~~ 어디가 문제 인가요?
고수님들 알려 주세요.^^
 
 
-----------------------------------------------------------
 
<?
//********************************
// AO¨öA ¡¾U
// author : Copyright (c) Morssola. All Rights Reserved.
// http://www.morssola.co.kr
// Au¡Æi ¢¬¥ìA¨Ï
// http://www.sir.co.kr/bbs/tb.php/g4_skin_basic/128
//********************************
if (!defined("_GNUBOARD_")) exit; // ¡Æ©ø¨¬¡Æ ¨¡aAIAo A¡Ë¡¾U ¨¬O¡Æ¢?
if (!$board[bo_3]) alert("C¨ª¢¥c ¡ÆO¨öA¨¡C ¨ù©øA¢´ : ¢¯¨Ï¨¬¨¢ CE¥ìa 3 ¢¯¢? ¢¬n¡¤I¢¯¢?¨ù¡© ¨¬¢¬¢¯¨ÏAu AI©öIAoAC ¡Æ¢?¡¤I A¨Ï¡¾a¢¬| ¨ù©øA¢´CI¨öE¨öA¢¯A.");
if (!$board[bo_4]) alert("C¨ª¢¥c ¡ÆO¨öA¨¡C ¨ù©øA¢´ : ¢¯¨Ï¨¬¨¢ CE¥ìa 4 ¢¯¢? ¢¬n¡¤I¢¯¢?¨ù¡© ¨¬¢¬¢¯¨ÏAu AI©öIAoAC ¨ù¨ù¡¤I A¨Ï¡¾a¢¬| ¨ù©øA¢´CI¨öE¨öA¢¯A.");
if (!$board[bo_9]) alert("C¨ª¢¥c ¡ÆO¨öA¨¡C ¨ù©øA¢´ : ¢¯¨Ï¨¬¨¢ CE¥ìa 9 ¢¯¢? ¢¬n¡¤I¢¯¢?¨ù¡© ¨¬¢¬¢¯¨ÏAu AI©öIAoAC Au(quality)A¡í ¨¬nA©÷¡¤I ¨ù©øA¢´CI¨öE¨öA¢¯A. (100 AICI)");
if (!$board[bo_5]) alert("C¨ª¢¥c ¡ÆO¨öA¨¡C ¨ù©øA¢´ : ¢¯¨Ï¨¬¨¢ CE¥ìa 5 ¢¯¢? ¢¬n¡¤I¢¯¢?¨ù¡© ¨¬¢¬¢¯¨ÏAu CN AU¢¥c ¡Æ¢?¡¤I AI©öIAo ¨ùo¢¬| ¨ù©øA¢´CI¨öE¨öA¢¯A.");
if (!function_exists("imagecopyresampled")) alert("GD 2.0.1 AI¡ío ©öoAuAI ¨ù©øA¢?¥ìC¨úi AO¨úi¨ú©¬ ¡íc¢¯eCO ¨ùo AO¢¥A ¨ö¨¬A©÷ AO¢¥I¢¥U.");
$data_path = $g4[path]."/data/file/$bo_table";
$thumb_path = $data_path.'/thumb';
@mkdir($thumb_path, 0707);
@chmod($thumb_path, 0707);
$mod = $board[bo_5]; //AI©öIAo ¡Æ¢?¡¤I ¡Æ©ö¨ùo
?><body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<table id="Table_01" width="100%" height="0%" border="0" cellpadding="0" cellspacing="0">
  <tr>
  
      <?=$board[bo_subject]?>
      </strong> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
          <?
for ($i=0; $i<count($list); $i++)
{
    if ($i && $i%$mod==0)
        echo "</tr><tr>";
    else if ($i > 0)
        echo "<td width=20> </td>";
    $img = "<a href='{$list[$i][href]}'><img src='$latest_skin_path/img/no_image.gif' border=0 title='AI©öIAo ¨ú©ªA¨ö'></a>";
    $thumb = $thumb_path.'/'.$list[$i][wr_id];
    if (!file_exists($thumb))
    {
        $file = $list[$i][file][0][path] .'/'. $list[$i][file][0][file];
        if (preg_match("/\.(jp[e]?g|gif|png)$/i", $file) && file_exists($file))
        {
            $size = getimagesize($file);
            if ($size[2] == 1)
                $src = imagecreatefromgif($file);
            else if ($size[2] == 2)
                $src = imagecreatefromjpeg($file);
            else if ($size[2] == 3)
                $src = imagecreatefrompng($file);
            else
                continue;
            $rate = $board[bo_3] / $size[0];
            $height = (int)($size[1] * $rate);
            if ($height < $board[bo_4])
                $dst = imagecreatetruecolor($board[bo_3], $height);
            else
                $dst = imagecreatetruecolor($board[bo_3], $board[bo_4]);
            imagecopyresampled($dst, $src, 0, 0, 0, 0, $board[bo_3], $height, $size[0], $size[1]);
            imagepng($dst, $thumb_path.'/'.$list[$i][wr_id], $board[bo_9]);
            chmod($thumb_path.'/'.$list[$i][wr_id], 0606);
        }
    }
    if (file_exists($thumb))
        $img = "<a href='{$list[$i][href]}'><img src='$thumb' border=0></a>";
    $href = "$g4[bbs_path]/board.php?bo_table=$bo_table";
    echo <<<HEREDOC
    <td valign="top" align="center">
        <table border="0" cellpadding="0" cellspacing="0" align="center">
 <tr>
            <td align=center width='{$board[bo_3]}' height='{$board[bo_4]}' style='width:{$board[bo_3]}px;height:{$board[bo_4]}px;border:1px solid #CCCCCC; padding:3px'><div style='width:{$board[bo_3]}px; height:{$board[bo_4]}px; position: relative; overflow:hidden;' align=center><a href='{$list[$i][href]}' onfocus='this.blur()'>{$img}</a></div></td>
 </tr>
 </tr>
 <tr><td height="5" align="center"></td></tr>
 <tr>
            <td width="{$board[bo_3]}" height="20" align="center" class="sub">
 </tr>
 </table></td>
HEREDOC;
}
?>
        </tr>
      </table>
    
  </tr>
</table>

댓글 전체

<table id="Table_01" width="100%" height="0%" border="0" cellpadding="0" cellspacing="0">
  <tr>
 
      <?=$board[bo_subject]?>
      </strong> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
...

여기에서
<?=$board[bo_subject]?>
      </strong>
이부분 지우면 될거 같아요
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT