최신글 기본 5단탭메뉴를 6단으로 바꿀려면,, 정보
최신글 기본 5단탭메뉴를 6단으로 바꿀려면,,본문
어딜 어떻게 수정해야 되나요?
댓글 전체
<?
if (!defined("_GNUBOARD_")) exit; // °³º° ÆäÀÌÁö Á¢±Ù ºÒ°¡
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
//¾Æ·¡ ºÎºÐ Å×À̺í¸í
$my_table1 = '03_1';
$my_table2 = '03_2';
$my_table3 = '03_3';
$my_table4 = '03_7';
$my_table5 = '04_4';
$my_table5 = '05_4';
$tap_width = "462"; // ÅÜ ³ÐÀÌ
?>
<SCRIPT type="text/javascript">
<!--
old_debate='1';
function showLayer_tap(objid){
document.getElementById("debate"+old_debate).style.display="none";
document.getElementById("debate"+old_debate+"#1").style.display="";
document.getElementById("debate"+objid+"#1").style.display="none";
document.getElementById("debate"+objid).style.display="";
document.getElementById("debate_content"+old_debate).style.display="none";
document.getElementById("debate_content"+objid).style.display="";
old_debate=objid;
}
//-->
</SCRIPT>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="<?=$tap_width?>" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="93">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate1><table cellSpacing=0 cellPadding=0 border=0 width=93 height=23 background="<?=$g4[path]?>/tap_img/nl_2.gif" style="cursor:pointer;" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$my_table1?>"><tr><td align="center" width="91" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;">¿¬¿¹ÀÎ</span></td><td width="2"></td></tr></table></TD>
<td id=debate1#1 style="DISPLAY: none;"><table cellSpacing=0 cellPadding=0 border=0 width=93 height=23 background="<?=$g4[path]?>/tap_img/nl.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('1')"><tr><td align="center" width="91" class="small"><span style="vertical-align:-3px;">¿¬¿¹ÀÎ</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
<td width="92">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate2 style="DISPLAY: none;"><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="<?=$g4[path]?>/tap_img/nm_2.gif" style="cursor:pointer;" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$my_table2?>"><tr><td align="center" width="90" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;">¿±±â</span></td><td width="2"></td></tr></table></TD>
<td id=debate2#1><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="<?=$g4[path]?>/tap_img/nm.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('2')"><tr><td align="center" width="90" class="small"><span style="vertical-align:-3px;">¿±±â</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
<td width="92">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate3 style="DISPLAY: none;"><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="<?=$g4[path]?>/tap_img/nm_2.gif" style="cursor:pointer;" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$my_table3?>"><tr><td align="center" width="90" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;">·¹À̰̽É</span></td><td width="2"></td></tr></table></TD>
<td id=debate3#1><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="<?=$g4[path]?>/tap_img/nm.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('3')"><tr><td align="center" width="90" class="small"><span style="vertical-align:-3px;">·¹À̰̽É</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
<td width="92">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate4 style="DISPLAY: none;"><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="<?=$g4[path]?>/tap_img/nm_2.gif" style="cursor:pointer;" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$my_table4?>"><tr><td align="center" width="90" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;">ÀÚÀ¯»çÁø</span></td><td width="2"></td></tr></table></TD>
<td id=debate4#1><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="<?=$g4[path]?>/tap_img/nm.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('4')"><tr><td align="center" width="90" class="small"><span style="vertical-align:-3px;">ÀÚÀ¯»çÁø</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
<td width="93">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate5 style="DISPLAY: none;"><table cellSpacing=0 cellPadding=0 border=0 width=93 height=23 background="<?=$g4[path]?>/tap_img/nr_2.gif" style="cursor:pointer;" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$my_table5?>"><tr><td align="center" width="91" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;">½ºÅ²</span></td><td width="2"></td></tr></table></TD>
<td id=debate5#1><table cellSpacing=0 cellPadding=0 border=0 width=93 height=23 background="<?=$g4[path]?>/tap_img/nr.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('5')"><tr><td align="center" width="91" class="small"><span style="vertical-align:-3px;">½ºÅ²</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
<td width="93">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate6 style="DISPLAY: none;"><table cellSpacing=0 cellPadding=0 border=0 width=93 height=23 background="<?=$g4[path]?>/tap_img/nr_2.gif" style="cursor:pointer;" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$my_table6?>"><tr><td align="center" width="91" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;">½ºÅ²</span></td><td width="2"></td></tr></table></TD>
<td id=debate6#1><table cellSpacing=0 cellPadding=0 border=0 width=93 height=23 background="<?=$g4[path]?>/tap_img/nr.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('6')"><tr><td align="center" width="91" class="small"><span style="vertical-align:-3px;">½ºÅ²</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
</tr>
</table>
<table width="<?=$tap_width?>" height="50" border="0" cellspacing="0" cellpadding="0">
<colgroup width='1'>
<colgroup>
<colgroup width='1'>
<tr>
<td bgcolor="#d8d8d8"></td>
<td valign='top'>
<DIV id=debate_content1><?=latest('tab',"03_1", "5", "42"); ?></div>
<DIV id=debate_content2 style="DISPLAY: none;"><?=latest('tab',"03_2", "5", "42"); ?></div>
<DIV id=debate_content3 style="DISPLAY: none;"><?=latest('tab',"03_3", "5", "42"); ?></div>
<DIV id=debate_content4 style="DISPLAY: none;"><?=latest('tab',"03_7", "5", "42"); ?></div>
<DIV id=debate_content5 style="DISPLAY: none;"><?=latest('tab',"04_4", "5", "42"); ?></div>
<DIV id=debate_content6 style="DISPLAY: none;"><?=latest('tab',"05_4", "5", "42"); ?></div>
</td>
<td bgcolor="#d8d8d8"></td>
</tr>
<tr height='1'><td bgcolor="#d8d8d8"></td><td></td><td bgcolor="#d8d8d8"></td></tr>
</table></td></tr>
<tr>
<td>
<table width="<?=$tap_width?>" border="0" cellspacing="0" cellpadding="0">
<colgroup width='2'>
<colgroup>
<colgroup width='2'>
<tr height='3'>
<td><img src='<?=$g4[path]?>/tap_img/left_bottom.gif'></td>
<td width="100%" background='<?=$g4[path]?>/tap_img/center_bottom.gif'></td>
<td><img src='<?=$g4[path]?>/tap_img/right_bottom.gif'></td>
</tr>
</table>
</td>
</tr>
</table>
if (!defined("_GNUBOARD_")) exit; // °³º° ÆäÀÌÁö Á¢±Ù ºÒ°¡
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
//¾Æ·¡ ºÎºÐ Å×À̺í¸í
$my_table1 = '03_1';
$my_table2 = '03_2';
$my_table3 = '03_3';
$my_table4 = '03_7';
$my_table5 = '04_4';
$my_table5 = '05_4';
$tap_width = "462"; // ÅÜ ³ÐÀÌ
?>
<SCRIPT type="text/javascript">
<!--
old_debate='1';
function showLayer_tap(objid){
document.getElementById("debate"+old_debate).style.display="none";
document.getElementById("debate"+old_debate+"#1").style.display="";
document.getElementById("debate"+objid+"#1").style.display="none";
document.getElementById("debate"+objid).style.display="";
document.getElementById("debate_content"+old_debate).style.display="none";
document.getElementById("debate_content"+objid).style.display="";
old_debate=objid;
}
//-->
</SCRIPT>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="<?=$tap_width?>" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="93">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate1><table cellSpacing=0 cellPadding=0 border=0 width=93 height=23 background="<?=$g4[path]?>/tap_img/nl_2.gif" style="cursor:pointer;" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$my_table1?>"><tr><td align="center" width="91" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;">¿¬¿¹ÀÎ</span></td><td width="2"></td></tr></table></TD>
<td id=debate1#1 style="DISPLAY: none;"><table cellSpacing=0 cellPadding=0 border=0 width=93 height=23 background="<?=$g4[path]?>/tap_img/nl.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('1')"><tr><td align="center" width="91" class="small"><span style="vertical-align:-3px;">¿¬¿¹ÀÎ</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
<td width="92">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate2 style="DISPLAY: none;"><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="<?=$g4[path]?>/tap_img/nm_2.gif" style="cursor:pointer;" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$my_table2?>"><tr><td align="center" width="90" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;">¿±±â</span></td><td width="2"></td></tr></table></TD>
<td id=debate2#1><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="<?=$g4[path]?>/tap_img/nm.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('2')"><tr><td align="center" width="90" class="small"><span style="vertical-align:-3px;">¿±±â</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
<td width="92">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate3 style="DISPLAY: none;"><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="<?=$g4[path]?>/tap_img/nm_2.gif" style="cursor:pointer;" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$my_table3?>"><tr><td align="center" width="90" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;">·¹À̰̽É</span></td><td width="2"></td></tr></table></TD>
<td id=debate3#1><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="<?=$g4[path]?>/tap_img/nm.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('3')"><tr><td align="center" width="90" class="small"><span style="vertical-align:-3px;">·¹À̰̽É</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
<td width="92">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate4 style="DISPLAY: none;"><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="<?=$g4[path]?>/tap_img/nm_2.gif" style="cursor:pointer;" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$my_table4?>"><tr><td align="center" width="90" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;">ÀÚÀ¯»çÁø</span></td><td width="2"></td></tr></table></TD>
<td id=debate4#1><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="<?=$g4[path]?>/tap_img/nm.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('4')"><tr><td align="center" width="90" class="small"><span style="vertical-align:-3px;">ÀÚÀ¯»çÁø</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
<td width="93">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate5 style="DISPLAY: none;"><table cellSpacing=0 cellPadding=0 border=0 width=93 height=23 background="<?=$g4[path]?>/tap_img/nr_2.gif" style="cursor:pointer;" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$my_table5?>"><tr><td align="center" width="91" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;">½ºÅ²</span></td><td width="2"></td></tr></table></TD>
<td id=debate5#1><table cellSpacing=0 cellPadding=0 border=0 width=93 height=23 background="<?=$g4[path]?>/tap_img/nr.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('5')"><tr><td align="center" width="91" class="small"><span style="vertical-align:-3px;">½ºÅ²</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
<td width="93">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate6 style="DISPLAY: none;"><table cellSpacing=0 cellPadding=0 border=0 width=93 height=23 background="<?=$g4[path]?>/tap_img/nr_2.gif" style="cursor:pointer;" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$my_table6?>"><tr><td align="center" width="91" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;">½ºÅ²</span></td><td width="2"></td></tr></table></TD>
<td id=debate6#1><table cellSpacing=0 cellPadding=0 border=0 width=93 height=23 background="<?=$g4[path]?>/tap_img/nr.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('6')"><tr><td align="center" width="91" class="small"><span style="vertical-align:-3px;">½ºÅ²</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
</tr>
</table>
<table width="<?=$tap_width?>" height="50" border="0" cellspacing="0" cellpadding="0">
<colgroup width='1'>
<colgroup>
<colgroup width='1'>
<tr>
<td bgcolor="#d8d8d8"></td>
<td valign='top'>
<DIV id=debate_content1><?=latest('tab',"03_1", "5", "42"); ?></div>
<DIV id=debate_content2 style="DISPLAY: none;"><?=latest('tab',"03_2", "5", "42"); ?></div>
<DIV id=debate_content3 style="DISPLAY: none;"><?=latest('tab',"03_3", "5", "42"); ?></div>
<DIV id=debate_content4 style="DISPLAY: none;"><?=latest('tab',"03_7", "5", "42"); ?></div>
<DIV id=debate_content5 style="DISPLAY: none;"><?=latest('tab',"04_4", "5", "42"); ?></div>
<DIV id=debate_content6 style="DISPLAY: none;"><?=latest('tab',"05_4", "5", "42"); ?></div>
</td>
<td bgcolor="#d8d8d8"></td>
</tr>
<tr height='1'><td bgcolor="#d8d8d8"></td><td></td><td bgcolor="#d8d8d8"></td></tr>
</table></td></tr>
<tr>
<td>
<table width="<?=$tap_width?>" border="0" cellspacing="0" cellpadding="0">
<colgroup width='2'>
<colgroup>
<colgroup width='2'>
<tr height='3'>
<td><img src='<?=$g4[path]?>/tap_img/left_bottom.gif'></td>
<td width="100%" background='<?=$g4[path]?>/tap_img/center_bottom.gif'></td>
<td><img src='<?=$g4[path]?>/tap_img/right_bottom.gif'></td>
</tr>
</table>
</td>
</tr>
</table>
추신; 님의 질문이 너무 막막하네요..스킨쪽에 뒤지다가 잇길래 고쳐봤습니다. 안되면 댓글주세요
그리고 뭐라도 올리세요..앞으론
그리고 뭐라도 올리세요..앞으론