텝메뉴에 작성자 추출 정보
텝메뉴에 작성자 추출본문
텝메뉴인데요
작성자의 이름을 불러오고싶은데
어디를 어떻게 수정해야할지 모르겠습니다.
도움좀 주세요..
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<!-- 탭글자색 -->
<STYLE TYPE="text/css">
.on { background-image:url('<?=$tab_img?>/on.gif'); cursor:pointer; font-weight:bold; color:#f0761c; }
.off { background-image:url('<?=$tab_img?>/off.gif'); cursor:pointer; font-weight:bold; color:#bbbbbb; }
</style>
<script language="javascript">
function tap(td,v){
for(var i = 0; i <= <?=count($s_titles)-1?> ; i++) {
img = document.getElementById('tap'+i);
img.className = "off";
eval("document.getElementById('tab_view"+i+"')").style.display="none";
}
td.className = "on"
eval("document.getElementById('tab_view"+v+"')").style.display="";
}
</script>
<table width='<?=$width?>' cellpadding=0 cellspacing=0 border=0>
<tr>
<? for ($i=0 ; $i <= count($s_titles)-1 ;$i++) { ?>
<td width=68 background='<?=$tab_img?>/bg.gif'>
<table cellpadding=0 cellspacing=0 width=90>
<tr><td id="tap<?=$i?>" width="90" height="28" align=center onmouseover="tap(this,<?=$i?>)" class="off" class="a" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$s_boarders[$i]?>">
<span class=small><?=$s_titles[$i]?></span>
</td></tr>
</table>
</td>
<? } ?>
<td width='<?=$width?>' background='<?=$tab_img?>/bg.gif' align='right' valign='bottom'>
<table width='82' cellpadding=0 cellspacing=0 border=0>
<tr height='23'><td background='<?=$tab_img?>/bg2.gif' align='center'><span style="font-family:돋음;color:#33aabb;font-size:7pt;"><?=$title?></span></td></tr></table>
</td>
</tr>
</table>
<table width='<?=$width?>' cellpadding=0 cellspacing=0 border=0>
<tr height='<?=$height?>'>
<td width='5' background='<?=$g4[path]?>/img/v2/box_4.gif'></td>
<td width='<?=$width?>'>
<? for ($i=0 ; $i <= count($s_titles)-1 ;$i++) { // 아래부분을 반복문으로 했지만 각 게시판마다 다른 최근스킨을 부르면 수동으로 나열하면 됨?>
<div id="tab_view<?=$i?>" style=display:none;>
<?=latest('tab',$s_boarders[$i], $list, $len); ?>
</div>
<? } ?>
</td>
<td width='5' background='<?=$g4[path]?>/img/v2/box_5.gif'></td>
</tr>
<tr height='5'>
<td background='<?=$g4[path]?>/img/v2/box_6.gif'></td>
<td background='<?=$g4[path]?>/img/v2/box_7.gif'></td>
<td background='<?=$g4[path]?>/img/v2/box_8.gif'></td>
</tr>
</table>
<script>
document.getElementById('tap<?=$first-1?>').className = "on"
eval("document.getElementById('tab_view<?=$first-1?>')").style.display="";
</script>
작성자의 이름을 불러오고싶은데
어디를 어떻게 수정해야할지 모르겠습니다.
도움좀 주세요..
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<!-- 탭글자색 -->
<STYLE TYPE="text/css">
.on { background-image:url('<?=$tab_img?>/on.gif'); cursor:pointer; font-weight:bold; color:#f0761c; }
.off { background-image:url('<?=$tab_img?>/off.gif'); cursor:pointer; font-weight:bold; color:#bbbbbb; }
</style>
<script language="javascript">
function tap(td,v){
for(var i = 0; i <= <?=count($s_titles)-1?> ; i++) {
img = document.getElementById('tap'+i);
img.className = "off";
eval("document.getElementById('tab_view"+i+"')").style.display="none";
}
td.className = "on"
eval("document.getElementById('tab_view"+v+"')").style.display="";
}
</script>
<table width='<?=$width?>' cellpadding=0 cellspacing=0 border=0>
<tr>
<? for ($i=0 ; $i <= count($s_titles)-1 ;$i++) { ?>
<td width=68 background='<?=$tab_img?>/bg.gif'>
<table cellpadding=0 cellspacing=0 width=90>
<tr><td id="tap<?=$i?>" width="90" height="28" align=center onmouseover="tap(this,<?=$i?>)" class="off" class="a" onclick=location.href="<?=$g4[path]?>/bbs/board.php?bo_table=<?=$s_boarders[$i]?>">
<span class=small><?=$s_titles[$i]?></span>
</td></tr>
</table>
</td>
<? } ?>
<td width='<?=$width?>' background='<?=$tab_img?>/bg.gif' align='right' valign='bottom'>
<table width='82' cellpadding=0 cellspacing=0 border=0>
<tr height='23'><td background='<?=$tab_img?>/bg2.gif' align='center'><span style="font-family:돋음;color:#33aabb;font-size:7pt;"><?=$title?></span></td></tr></table>
</td>
</tr>
</table>
<table width='<?=$width?>' cellpadding=0 cellspacing=0 border=0>
<tr height='<?=$height?>'>
<td width='5' background='<?=$g4[path]?>/img/v2/box_4.gif'></td>
<td width='<?=$width?>'>
<? for ($i=0 ; $i <= count($s_titles)-1 ;$i++) { // 아래부분을 반복문으로 했지만 각 게시판마다 다른 최근스킨을 부르면 수동으로 나열하면 됨?>
<div id="tab_view<?=$i?>" style=display:none;>
<?=latest('tab',$s_boarders[$i], $list, $len); ?>
</div>
<? } ?>
</td>
<td width='5' background='<?=$g4[path]?>/img/v2/box_5.gif'></td>
</tr>
<tr height='5'>
<td background='<?=$g4[path]?>/img/v2/box_6.gif'></td>
<td background='<?=$g4[path]?>/img/v2/box_7.gif'></td>
<td background='<?=$g4[path]?>/img/v2/box_8.gif'></td>
</tr>
</table>
<script>
document.getElementById('tap<?=$first-1?>').className = "on"
eval("document.getElementById('tab_view<?=$first-1?>')").style.display="";
</script>
댓글 전체