최신글 TAB 메뉴 오류 질문요 > 그누4 질문답변

그누4 질문답변

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

최신글 TAB 메뉴 오류 질문요 정보

최신글 TAB 메뉴 오류 질문요

본문

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 : http://chejuctl.cafe24.com/

 위 주소 탭메뉴중에 교수 TIPS은 변경해서 잘 되는데 ..
아놔, 합습법 TIPS 는 어느 줄 어디를 변경해야 할 지 모그겠네....ㅠㅠ



<? for ($i=0; $i<count($list); $i++) { ?>     
      <tr>
          <td width="70%" height="20"><img src="images/comm/bull.jpg" width="4" height="3" align="middle">
        <?
            echo $list[$i]['icon_reply'] . " ";
            //echo "<a href='{$list[$i]['href']}'>";
            echo " <a href=\"/teachig/tea_tips.php?wr_id={$list[$i]['wr_id']}\">";
            if ($list[$i]['is_notice'])
                echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
            else
                echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
            echo "</a>";

            $date_arr = explode(" " , $list[$i]['wr_datetime']);
            $date_main_view = str_replace("-", ". " ,$date_arr[0]);
           
          ?></td>
<td width="30%" align="right"><?=$date_main_view?></td>
</tr>
<tr>
<td class="dott_line" colspan="2">.</td>
</tr>
<tr>
<? } ?>

<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
  • 복사

댓글 전체

... 그니깐요 링크 주소 들어가시면

탭메뉴가 나오는데요.. 교수팁을 눌러서 글을 누르면 해당 글로 가는데...
                              학습법팁을 누르면... 그래도 교수팁 글로가요... ㅜㅜ

위 구문에서 교쳐야할걸 말해주세요..
위 소스에서 변경하는것이 아닙니다.

위 스킨에 다른 파일의 소스가 있다면 그 내용을 올려주시고 그렇지 않고 위 소스가 일부라면 모두를 올려주셔야 정확한 답변을 받을 수 있습니다.
<table width="382" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="68" valign="bottom"><img src="images/guide_title.gif" width="68" height="92"></td>
    <td width="314" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="24%"><a href="teachig/tea_tips.php" onFocus="this.blur();" onMouseOver="guideChange('01');"><img src="images/guide_ove_01.gif" name="tips01" width="74" height="39" id="tips01" border="0"></a></td>
            <td width="23%"><a href="study/stu_tips.php" onFocus="this.blur();" onMouseOver="guideChange('02');"><img src="images/guide_out_02.gif" name="tips02" width="72" height="39" id="tips02" border="0"></a></td>
            <td width="53%"><img src="images/guide_top_line.gif" width="168" height="39"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="80" valign="top" background="images/guide_bg.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="3%">&nbsp;</td>
            <td width="93%" valign="top">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" id="guide01">
            <?=latest("custom", "i_tips", 4, 40, '' );?>
             
            </table>
              <table width="100%" border="0" cellpadding="0" cellspacing="0" id="guide02">
              <?=latest("custom", "s_tips", 4, 40, '' );?>
              </table></td>
            <td width="4%">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><img src="images/guide_bottom_line.gif" width="314" height="7"></td>
      </tr>
    </table></td>
  </tr>
</table>

<script>

function guideChange(data1) {
document.getElementById("guide01").style.display="none";
document.getElementById("guide02").style.display="none";

document.getElementById("tips01").src="images/guide_out_01.gif";
document.getElementById("tips02").src="images/guide_out_02.gif";


if (data1 == "01") {
document.getElementById("guide01").style.display="";

document.getElementById("tips01").src="images/guide_ove_01.gif";
document.getElementById("tips02").src="images/guide_out_02.gif";

  } else {
document.getElementById("guide02").style.display="";

document.getElementById("tips01").src="images/guide_out_01.gif";
document.getElementById("tips02").src="images/guide_ove_02.gif";
}
}
guideChange("01");
</script>

이 소스랑 연관 된 것입니다.
<?=latest("custom", "s_tips", 4, 40, '' );?> 이부분에서 s_tips는 게시판 이름인가요?
그런데 경로를 보면 아닌듯 한데....
<?=latest("custom", "tea_tips", 4, 40, '' );?>
<?=latest("custom", "stu_tips", 4, 40, '' );?>

이렇게 변경해서 사용해보세요
혹시 위소스는 latest.skin.php파일의 전체인가요..

혹시 다른 파일은 없나요?

그리고 죄송하지만 이 스킨을 사용하는데 몇개의 파일들이 있는지요.

위 소스가 latest.skin.php파일이라면 위소스에서
<a href=\"/teachig/tea_tips.php?wr_id={$list[$i]['wr_id']}\">";

 //echo "<a href='{$list[$i]['href']}'>";
이부분을 주석을 없애고 위 내용을 주석처리 해 보세요

그럼
이문장이 들어가서는 안됩니다.
안돼네용...ㅜㅜ
아애 탭매뉴가 오류나요 . ㅜㅜ
<a href=\"/teachig/tea_tips.php?wr_id={$list[$i]['wr_id']}\">";  는 교수팁 게시물을
불러오는거라서...

학습법팁 stu_tips.php 를 불러와야하는거같은데..ㅠㅠ
위 문장을 이렇게 수정해보세요


echo " <a href=\"/teachig/tea_tips.php?wr_id={$list[$i]['wr_id']}\">";

이것을


echo "<a href='{$list[$i][href]}' title='{$list[$i][subject]}'>";

이렇게 변경하세요

그럼
© SIRSOFT
현재 페이지 제일 처음으로