현재접속자에서 글씨가 깨져나오는 부분 해결방법좀.. 정보
현재접속자에서 글씨가 깨져나오는 부분 해결방법좀..
본문
위 그림처럼 현재접속자에서 글씨가 깨져나옵니다.
대부분 깨지는 것을 보면 ', ", < 이런 부호들에서 깨지는 것 같더군요..
접속자스킨은 그린비시리즈를 쓰고 있구요..
해결방법을 알고 싶습니다..
아래는 해당부분의 소스입니다.
if ($list[$i][lo_url] && $is_admin == "super")
echo "<td colspan=2> <a href='{$list[$i][lo_url]}'>{$location}</a></td>";
else
echo "<td colspan=2> {$location}</td>";
이부분이 위치를 출력하는 것 같은데..
어떻게 손봐야할지 모르겠네요..
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style>
.n_title1 { font-family:돋움; font-size:9pt; color:#FFFFFF; }
.n_title2 { font-family:돋움; font-size:9pt; color:#5E5E5E; }
</style>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height="6"></td></tr><!--전체 페이지에서 테이블이 시작될 높이의 위치를 height로 조절하세요..뜨락의 이름 -->
<tr>
<td width="4" height="28"><img src="<?=$connect_skin_path?>/img/left.gif" width="4" height="32"></td>
<td width="60" align="center" style='padding-top:2px;' background="<?=$connect_skin_path?>/img/bg.gif"><font class=n_title2>번호</font></td>
<td width="4" align="center" valign="middle"><img src="<?=$connect_skin_path?>/img/right.gif" width="4" height="32"></td>
<td width="4"></td>
<td width="4" align="right" valign="middle"><img src="<?=$connect_skin_path?>/img/left.gif" width="4" height="32"></td>
<td width="150" align="left" style='padding-top:2px;' background="<?=$connect_skin_path?>/img/bg.gif"><font class=n_title2> 이름 or 사용 IP</font></td>
<td width="405" align="left" style='padding-top:2px;' background="<?=$connect_skin_path?>/img/bg.gif"><font class=n_title2> 현재 접속 페이지</font></td>
<td width="4"><img src="<?=$connect_skin_path?>/img/right.gif" width="4" height="32"></td>
</tr>
<?
for ($i=0; $i<count($list); $i++)
{
echo <<<HEREDOC
<tr>
<td colspan=3 align='center' height='30'>{$list[$i][num]}</td>
<td colspan=3 align='center'>{$list[$i][name]}</td>
HEREDOC;
$location = conv_content($list[$i][lo_location], 0);
// 최고관리자에게만 허용
// 이 조건문은 가능한 변경하지 마십시오.
if ($list[$i][lo_url] && $is_admin == "super")
echo "<td colspan=2> <a href='{$list[$i][lo_url]}'>{$location}</a></td>";
else
echo "<td colspan=2> {$location}</td>";
echo <<<HEREDOC
</tr>
<tr><td colspan='8' height='1' background='{$connect_skin_path}/img/dot_bg.gif'></td></tr>
HEREDOC;
}
if ($i == 0)
echo "<tr><td colspan=8 height=50 align=center>현재 접속자가 없습니다.</td></tr>";
?>
<tr>
<td colspan="8" height="30" align="center"><?=$write_pages;?></td>
</tr>
<tr><td height="15"><!--전체 테이블와 검색결과 페이지의 하단 높이 여백 조절 -->
</td>
</tr>
</table>
대부분 깨지는 것을 보면 ', ", < 이런 부호들에서 깨지는 것 같더군요..
접속자스킨은 그린비시리즈를 쓰고 있구요..
해결방법을 알고 싶습니다..
아래는 해당부분의 소스입니다.
if ($list[$i][lo_url] && $is_admin == "super")
echo "<td colspan=2> <a href='{$list[$i][lo_url]}'>{$location}</a></td>";
else
echo "<td colspan=2> {$location}</td>";
이부분이 위치를 출력하는 것 같은데..
어떻게 손봐야할지 모르겠네요..
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style>
.n_title1 { font-family:돋움; font-size:9pt; color:#FFFFFF; }
.n_title2 { font-family:돋움; font-size:9pt; color:#5E5E5E; }
</style>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height="6"></td></tr><!--전체 페이지에서 테이블이 시작될 높이의 위치를 height로 조절하세요..뜨락의 이름 -->
<tr>
<td width="4" height="28"><img src="<?=$connect_skin_path?>/img/left.gif" width="4" height="32"></td>
<td width="60" align="center" style='padding-top:2px;' background="<?=$connect_skin_path?>/img/bg.gif"><font class=n_title2>번호</font></td>
<td width="4" align="center" valign="middle"><img src="<?=$connect_skin_path?>/img/right.gif" width="4" height="32"></td>
<td width="4"></td>
<td width="4" align="right" valign="middle"><img src="<?=$connect_skin_path?>/img/left.gif" width="4" height="32"></td>
<td width="150" align="left" style='padding-top:2px;' background="<?=$connect_skin_path?>/img/bg.gif"><font class=n_title2> 이름 or 사용 IP</font></td>
<td width="405" align="left" style='padding-top:2px;' background="<?=$connect_skin_path?>/img/bg.gif"><font class=n_title2> 현재 접속 페이지</font></td>
<td width="4"><img src="<?=$connect_skin_path?>/img/right.gif" width="4" height="32"></td>
</tr>
<?
for ($i=0; $i<count($list); $i++)
{
echo <<<HEREDOC
<tr>
<td colspan=3 align='center' height='30'>{$list[$i][num]}</td>
<td colspan=3 align='center'>{$list[$i][name]}</td>
HEREDOC;
$location = conv_content($list[$i][lo_location], 0);
// 최고관리자에게만 허용
// 이 조건문은 가능한 변경하지 마십시오.
if ($list[$i][lo_url] && $is_admin == "super")
echo "<td colspan=2> <a href='{$list[$i][lo_url]}'>{$location}</a></td>";
else
echo "<td colspan=2> {$location}</td>";
echo <<<HEREDOC
</tr>
<tr><td colspan='8' height='1' background='{$connect_skin_path}/img/dot_bg.gif'></td></tr>
HEREDOC;
}
if ($i == 0)
echo "<tr><td colspan=8 height=50 align=center>현재 접속자가 없습니다.</td></tr>";
?>
<tr>
<td colspan="8" height="30" align="center"><?=$write_pages;?></td>
</tr>
<tr><td height="15"><!--전체 테이블와 검색결과 페이지의 하단 높이 여백 조절 -->
</td>
</tr>
</table>
댓글 전체