여기올리면안되는글인줄아오나,, > 그누4 질문답변

그누4 질문답변

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

여기올리면안되는글인줄아오나,, 정보

여기올리면안되는글인줄아오나,,

본문

여기 글올리면 안되는것은줄 아는데,,
너무 급한나머지 여기다가 글을올려봄니다,,
글쓰기를하면,, 제사이트 모든 최신글에서,,(이미지 삽입시)
Warning: chmod(): No such file or directory in /home/hosting_users/gd24/www/main/skin/latest/news2/latest.skin.php on line 40
이런오류가 나옴니다,,
뭐가 잘못된건가요!!
정말 죄송함니다,
 

댓글 전체

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="<?=$latest_skin_path?>/img/bg_01.gif" width="2" height="24" alt="" /></td>
    <td width="23" align="left"><img src="<?=$latest_skin_path?>/img/bg_02.gif" width="23" height="24" alt="" /></td>
    <td width="100%" height="24" valign="bottom" background="<?=$latest_skin_path?>/img/bg_03.gif"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><b><font color="#336699" size="2">
      &nbsp;<?=cut_str($board[bo_subject],20,"…");?>
    </font></b></a> </td>
    <td width="113" align="right"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src="<?=$latest_skin_path?>/img/bg_04.gif" alt="" width="113" height="24" border="0" /></a></td>
    <td><img src="<?=$latest_skin_path?>/img/bg_05.gif" width="3" height="24" alt="" /></td>
  </tr>
  <tr>
    <td width="2" background="<?=$latest_skin_path?>/img/bg_06.gif"> </td>
    <td colspan="3">
<table border="0" cellpadding="0" cellspacing="0">
      <? for ($i=0; $i<count($list); $i++) { ?>
      <tr>
          <td width="100%" height="17" valign="middle" style='word-break:break-all; padding-left:5'><font color='#666666'><b>
            </b></font>
            <?
for ($i=0; $i<count($list); $i++) {
$date = explode("-", $list[$i][date]);
$month = $date[1];
$day = $date[2];
$latest_date = $month."/".$day;

//섬네일 관련 설정
for ($i=0; $i<count($list); $i++) {
$thumb1_width=85;//섬네일 최대폭
$thumb1_height=65;//섬네일 최대높이
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
if(!is_file('$g4[path]/data/file/$bo_table/thumb1_$image')){
include_once "$g4[path]/thumbEngine/dq_thumb_engine2.php";
$thumbsource="$g4[path]/data/file/$bo_table/" . $image;
$thumbimg="$g4[path]/data/file/$bo_table/thumb1_" . $image;
make_thumb($thumb1_width,$thumb1_height,$thumbsource,$thumbimg);
chmod($thumbimg, 0606);
}
}

if($list[$i][comment_cnt]) {
$comment_cnt ="<a href=\"javascript:{$list[$i][comment_href]}\">{$list[$i][comment_cnt]}</a>";
}

if ($i==0) { //// 첫번째 글 (제목 + 쪽글)
if(!$list[$i][file][0][file]){

$wr_content = "<a href='{$list[$i][href]}'>".Shorten_String(strip_tags($list[$i][wr_content]), 150, '......')."</a>";//본문 글 줄이는 함수
//$wr_content=get_text($wr_content);
$line_shadow = "<tr><td height=1 background='{$latest_skin_path}/img/new/line_shadow01.gif'></td></tr>";

echo <<<HEREDOC
<TABLE WIDTH="100%"  BORDER="0" ALIGN="CENTER" CELLPADDING="0" CELLSPACING="0">
<TR>
<TD WIDTH="100%" ALIGN="LEFT" VALIGN="TOP"><TABLE WIDTH='100%'  BORDER='0' CELLSPACING='0' CELLPADDING='2'>
<TR>
<TD VALIGN="bottom"  style="padding-top:7;"><IMG SRC="{$latest_skin_path}/img/dot.gif" align="absmiddle">&nbsp;&nbsp;<a href="{$list[$i][href]}" STYLE="font-family:굴림;font-size:12px;font-weight:bold;">{$list[$i][subject]}</a>{$list[$i][comment_cnt]} {$list[$i][icon_new]} {$list[$i][icon_file]} {$list[$i][icon_link]}
</TD>
</TR>
<TR>
<TD VALIGN="TOP" STYLE="font-size:11px; text-align:left;line-height: 155%;"><div align="justify" style="margin-right:1; margin-left:1;"><a href="{$list[$i][href]}">$wr_content</a></DIV></TD>
</TR>
</TABLE></TD>
</TR>
<TR>
<TD HEIGHT="3"></TD>
</TR>
<TR>
<TD BACKGROUND="{$latest_skin_path}/img/dot_line.gif"><IMG SRC="{$latest_skin_path}/img/dot_line.gif"></TD>
</TR>
</TABLE>
HEREDOC;

}

else{//// 첫번째 글 (이미지 + 제목 + 쪽글)
$image_file = "thumb1_".$image;
$image_url = "$g4[path]/data/file/$bo_table";

$wr_content = "<a href='{$list[$i][href]}'>".Shorten_String(strip_tags($list[$i][wr_content]), 105, '......')."</a>";//본문 글 줄이는 함수
//$wr_content=get_text($wr_content);
$line_shadow = "<tr><td height=1 background='{$latest_skin_path}/img/new/line_shadow01.gif'></td></tr>";

echo <<<HEREDOC
<TABLE WIDTH="100%"  BORDER="0" ALIGN="CENTER" CELLPADDING="0" CELLSPACING="0">
<TR>
<TD ALIGN="CENTER" VALIGN="top"  style="padding-top:7;">
<TABLE WIDTH="100%"  BORDER="0" CELLSPACING="0" CELLPADDING="0">
    <TR>
    <TD HEIGHT="4" COLSPAN="3"></TD>
    </TR>
    <TR>
    <TD WIDTH="4" VALIGN="TOP"></TD>
    <TD><a href="{$list[$i][href]}"><img src="$image_url/$image_file" hspace="0" VSPACE="0" border="0"></a></TD>
    <TD WIDTH="4" ALIGN="RIGHT" VALIGN="TOP" BACKGROUND="{$latest_skin_path}/img/new/p_back03.gif"><IMG SRC="{$latest_skin_path}/img/new/p_border02.gif" WIDTH="4" HEIGHT="4"></TD>
    </TR>
    <TR>
    <TD WIDTH="4" HEIGHT="4"></TD>
    <TD HEIGHT="4" ALIGN="LEFT" VALIGN="TOP" BACKGROUND="{$latest_skin_path}/img/new/p_back04.gif"><IMG SRC="{$latest_skin_path}/img/new/p_border03.gif" WIDTH="4" HEIGHT="4"></TD>
    <TD WIDTH="4" HEIGHT="4" ALIGN="RIGHT" VALIGN="TOP"><IMG SRC="{$latest_skin_path}/img/new/p_border04.gif" WIDTH="4" HEIGHT="4"></TD>
    </TR>
    </TABLE>
</TD>
<TD WIDTH="100%" ALIGN="LEFT" VALIGN="TOP"><TABLE WIDTH='100%'  BORDER='0' CELLSPACING='0' CELLPADDING='2'>
<TR>
<TD VALIGN="bottom" style="padding-top:7;"><IMG SRC="{$latest_skin_path}/img/dot.gif" align="absmiddle">&nbsp;&nbsp;<a href="{$list[$i][href]}" STYLE="font-family:굴림;font-size:12px;font-weight:bold;">{$list[$i][subject]}</a>{$list[$i][comment_cnt]} {$list[$i]['icon_new']} {$list[$i][icon_file]} {$list[$i][icon_link]}





</TD>
</TR>
<TR>
<TD VALIGN="TOP" STYLE="font-size:11px; text-align:left;line-height: 155%;"><div align="justify" style="margin-right:1; margin-left:1;"><a href="{$list[$i][href]}">$wr_content</a></DIV></TD>
</TR>
</TABLE></TD>
</TR>
<TR>
<TD  colspan="2" HEIGHT="3"></TD>
</TR>
<TR>
<TD COLSPAN="2" BACKGROUND="{$latest_skin_path}/img/dot_line.gif"><IMG SRC="{$latest_skin_path}/img/dot_line.gif"></TD>
</TR>
</TABLE>
HEREDOC;

}
}

else if ($i==1) { /// 두번째 글 (이미지 + 제목 + 쪽글)

$thumb2_width=85;//섬네일 최대폭
$thumb2_height=65;//섬네일 최대높이
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
if(!is_file('$g4[path]/data/file/$bo_table/thumb2_$image')){
include_once "$g4[path]/thumbEngine/dq_thumb_engine2.php";
$thumbsource="$g4[path]/data/file/$bo_table/" . $image;
$thumbimg="$g4[path]/data/file/$bo_table/thumb2_" . $image;
make_thumb($thumb2_width,$thumb2_height,$thumbsource,$thumbimg);
chmod($thumbimg, 0606);
}
}

if(!$list[$i][file][0][file]){/// 두번째 글 (제목 + 쪽글)

$wr_content = "<a href='{$list[$i][href]}'>".Shorten_String(strip_tags($list[$i][wr_content]), 150, '......')."</a>";//본문 글 줄이는 함수
//$wr_content=get_text($wr_content);
$line_shadow = "<tr><td height=1 background='{$latest_skin_path}/img/new/line_shadow01.gif'></td></tr>";

echo <<<HEREDOC
<TABLE WIDTH="100%"  BORDER="0" ALIGN="CENTER" CELLPADDING="0" CELLSPACING="0">
<TR>
<TD WIDTH="100%" ALIGN="LEFT" VALIGN="TOP"><TABLE WIDTH='100%'  BORDER='0' CELLSPACING='0' CELLPADDING='2'>
<TR>
<TD VALIGN="bottom" style="padding-top:7;"><IMG SRC="{$latest_skin_path}/img/dot.gif" align="absmiddle">&nbsp;&nbsp;<a href="{$list[$i][href]}" STYLE="font-family:굴림;font-size:12px;font-weight:bold;">{$list[$i][subject]}</a>{$list[$i][comment_cnt]} {$list[$i][icon_new]} {$list[$i][icon_file]} {$list[$i][icon_link]}
</TD>
</TR>
<TR>
<TD VALIGN="TOP" STYLE="font-size:11px; text-align:left;line-height: 155%; margin: 0 0 0 5;"><div align="justify" style="margin-right:1; margin-left:1;"><a href="{$list[$i][href]}">$wr_content</a></DIV></TD>
</TR>
</TABLE></TD>
</TR>
<TR>
<TD HEIGHT="3"></TD>
</TR>
<TR>
<TD BACKGROUND="{$latest_skin_path}/img/dot_line.gif"><IMG SRC="{$latest_skin_path}/img/dot_line.gif"></TD>
</TR>
</TABLE>
HEREDOC;

}

else{ /// 두번째 글 (이미지 + 제목 + 쪽글)
$image_file = "thumb2_".$image;
$image_url = "$g4[path]/data/file/$bo_table";

$wr_content = "<a href='{$list[$i][href]}'>".Shorten_String(strip_tags($list[$i][wr_content]), 105, '......')."</a>";//본문 글 줄이는 함수
//$wr_content=get_text($wr_content);
$line_shadow = "<tr><td height=1 background='{$latest_skin_path}/img/new/line_shadow01.gif'></td></tr>";

echo <<<HEREDOC
<TABLE WIDTH="100%"  BORDER="0" ALIGN="CENTER" CELLPADDING="0" CELLSPACING="0">
<TR>
<TD ALIGN="CENTER" VALIGN="top" style="padding-top:7;">
<TABLE WIDTH="100%"  BORDER="0" CELLSPACING="0" CELLPADDING="0">
    <TR>
    <TD HEIGHT="4" COLSPAN="3"></TD>
    </TR>
    <TR>
    <TD WIDTH="4" VALIGN="TOP"></TD>
    <TD><a href="{$list[$i][href]}"><img src="$image_url/$image_file" hspace="0" VSPACE="0" border="0"></a></TD>
    <TD WIDTH="4" ALIGN="RIGHT" VALIGN="TOP" BACKGROUND="{$latest_skin_path}/img/new/p_back03.gif"><IMG SRC="{$latest_skin_path}/img/new/p_border02.gif" WIDTH="4" HEIGHT="4"></TD>
    </TR>
    <TR>
    <TD WIDTH="4" HEIGHT="4"></TD>
    <TD HEIGHT="4" ALIGN="LEFT" VALIGN="TOP" BACKGROUND="{$latest_skin_path}/img/new/p_back04.gif"><IMG SRC="{$latest_skin_path}/img/new/p_border03.gif" WIDTH="4" HEIGHT="4"></TD>
    <TD WIDTH="4" HEIGHT="4" ALIGN="RIGHT" VALIGN="TOP"><IMG SRC="{$latest_skin_path}/img/new/p_border04.gif" WIDTH="4" HEIGHT="4"></TD>
    </TR>
    </TABLE>
</TD>
<TD WIDTH="100%" ALIGN="LEFT" VALIGN="TOP"><TABLE WIDTH='100%'  BORDER='0' CELLSPACING='0' CELLPADDING='2'>
<TR>
<TD VALIGN="bottom" style="padding-top:7;"><IMG SRC="{$latest_skin_path}/img/dot.gif" align="absmiddle">&nbsp;&nbsp;<a href="{$list[$i][href]}" STYLE="font-family:굴림;font-size:12px;font-weight:bold;">{$list[$i][subject]}</a>{$list[$i][comment_cnt]} {$list[$i][icon_new]} {$list[$i][icon_file]} {$list[$i][icon_link]}
</TD>
</TR>
<TR>
<TD VALIGN="TOP" STYLE="font-size:11px; text-align:left;line-height: 155%; margin: 0 0 0 5;"><div align="justify" style="margin-right:1; margin-left:1;"><a href="{$list[$i][href]}">$wr_content</a></DIV></TD>
</TR>
</TABLE></TD>
</TR>
<TR>
<TD  colspan="2" HEIGHT="3"></TD>
</TR>
<TR>
<TD  colspan="2" BACKGROUND="{$latest_skin_path}/img/dot_line.gif"><IMG SRC="{$latest_skin_path}/img/dot_line.gif"></TD>
</TR>
</TABLE>
HEREDOC;

}
}


else {//// 세번째 글 이후 (제목만)
echo <<<HEREDOC
<TABLE WIDTH="100%"  BORDER="0" CELLSPACING="1" CELLPADDING="0" style="margin-top:6;">
<TR>
<TD VALIGN="BOTTOM"><IMG SRC="{$latest_skin_path}/img/dot.gif" align="absmiddle">&nbsp;&nbsp;<a href="{$list[$i][href]}" style=font-family:굴림; font-size:12px;>{$list[$i][subject]} {$list[$i][icon_new]} {$list[$i][icon_file]} {$list[$i][icon_link]}</a></TD>
</TR>
</TABLE>
HEREDOC;

}
}

if (count($list) == 0) {
echo <<<HEREDOC
<TABLE WIDTH="100%"  BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD ALIGN="LEFT" VALIGN="TOP" height="25">
자료가 없습니다.
</TD>
</TR>
</TABLE>
HEREDOC;

}
}
 ?>
          </td>
      </tr>
      <tr>
        <td height="1" colspan="2"></td>
      </tr>
      <? } ?>
      <? if (count($list) == 0) { echo "<tr><td colspan=3 align=center height=50>등록된 내용이 없습니다.</td></tr>"; } ?>
    </table>
</td>
    <td width="3" background="<?=$latest_skin_path?>/img/bg_08.gif"></td>
  </tr>
  <tr>
    <td width="2" valign="bottom" background="<?=$latest_skin_path?>/img/bg_06.gif"> </td>
    <td colspan="1" valign="bottom" style="padding:3" background="<?=$latest_skin_path?>/img/bg_10.gif">
    </td>
    <td width="3" valign="bottom" background="<?=$latest_skin_path?>/img/bg_08.gif"> </td>
  </tr>
  <tr>
    <td width="2" valign="bottom" background="<?=$latest_skin_path?>/img/bg_09.gif"> </td>
    <td colspan="3" valign="bottom" background="<?=$latest_skin_path?>/img/bg_10.gif"> </td>
    <td width="3" valign="bottom" background="<?=$latest_skin_path?>/img/bg_11.gif"> </td>
  </tr>
</table>
유머게시판이나 아래 플래시게임이나 같은 DQ썬네일엔진을 사용하는데 아래 플래시게임은
정상적으로 형성이되고 위에 유머게시판은 안된다면....ㅠ.ㅠ

혹 아래 플래시 스킨과 비교를 좀 해보시겠습니까...?

에러나는 40줄 상하로 보면

<? for ($i=0; $i<count($list); $i++) { ?>
      <tr>
          <td width="100%" height="17" valign="middle" style='word-break:break-all; padding-left:5'><font color='#666666'><b>
            </b></font>
            <?
for ($i=0; $i<count($list); $i++) {
$date = explode("-", $list[$i][date]);
$month = $date[1];
$day = $date[2];
$latest_date = $month."/".$day;

//섬네일 관련 설정
for ($i=0; $i<count($list); $i++) {
$thumb1_width=85;//섬네일 최대폭
$thumb1_height=65;//섬네일 최대높이
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
if(!is_file('$g4[path]/data/file/$bo_table/thumb1_$image')){
include_once "$g4[path]/thumbEngine/dq_thumb_engine2.php";
$thumbsource="$g4[path]/data/file/$bo_table/" . $image;
$thumbimg="$g4[path]/data/file/$bo_table/thumb1_" . $image;
make_thumb($thumb1_width,$thumb1_height,$thumbsource,$thumbimg);
chmod($thumbimg, 0606);
}
}

if($list[$i][comment_cnt]) {
$comment_cnt ="<a href=\"javascript:{$list[$i][comment_href]}\">{$list[$i][comment_cnt]}</a>";
}



*********************************************

for ($i=0; $i<count($list); $i++) {  이 3번이나 거의 연속으로 나오거든용....ㅠ.ㅠ
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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