현재접속자에서 닉네임과 포인트이 나타났으면 좋겠습니다. > 그누4 질문답변

그누4 질문답변

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

현재접속자에서 닉네임과 포인트이 나타났으면 좋겠습니다. 정보

현재접속자에서 닉네임과 포인트이 나타났으면 좋겠습니다.

본문

안녕하세요.
이미지처럼...닉네임과 포인트를 표기하고 싶습니다.
<?=$list[$i][mb_nick]?>, <?=$mb_nick?>, <?=$point?>, <?=$list[$i][name]?>등을  표기해도 하얗게 출력이 안됩니다.

도와주세요...


----------------
소스보기
------------------

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style>
.connectedList {color:#273224;font-family:돋움;font-size:8pt; font-weight:bold;}
IMG.connectedList {margin-right:3px}
</style>
<table cellSpacing="1" cellPadding="0" border="0" width="170" bgcolor="dfdfdf">
<tr>
<td bgcolor="#FFFFFF" style="padding:10px ">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding:0 0 5px 0 "><img src="/images/main_img/nowon_title.gif" border="0"></td>
</tr>
<tr>
<td height="1" bgcolor="dedede"></td>
</tr>
<tr>
<td style="padding:5px 10px"  bgcolor="#f7f7f7"><font class="connectedList"><?=$list[$i][name]?></font><br/>
<font class="ver9px" color="#000000"><strong>EXP <font color="#e22222"><?=$point?></strong></font></font>
</td>
</tr>
<tr>
<td height="1" bgcolor="dedede"></td>
</tr>
<tr>
<td height="5"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<?
for ($i=0; $i<count($list); $i++)
{
echo <<<HEREDOC
<div align=center style="padding-bottom:2; padding-left:5;  height:100%">{$list[$i][name]}</div>
HEREDOC;
}

{
$list[$i] = $row;

if ($row[mb_id])
//$list[$i][name] = get_sideview($row[mb_id], $row[mb_nick], $row[mb_email], $row[mb_homepage]);
$list[$i][name] = get_sideview($row[mb_id], cut_str($row[mb_nick], $config[cf_cut_name]), $row[mb_email], $row[mb_homepage]);
else
{
if ($is_admin)
$list[$i][name] = $row[lo_ip];
else
$list[$i][name] = preg_replace("/([0-9]+).([0-9]+).([0-9]+).([0-9]+)/", "\\1.♡.\\3.\\4", $row[lo_ip]);
}

$list[$i][num] = sprintf("%03d",$i+1);
}

if ($i == 0)
echo "<div align=center height=100%>현재 접속자가 없습니다.</div>";
?>
  • 복사

댓글 전체

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