사용자단 따옴표 작업 bbs/good.php 까지 진행

This commit is contained in:
whitedot
2012-11-29 18:19:25 +09:00
parent cbf7e9c21e
commit 091f9deade
69 changed files with 587 additions and 587 deletions

View File

@ -1,15 +1,15 @@
<?
include_once("./_common.php");
include_once('./_common.php');
$g4[title] = "현재접속자";
include_once("./_head.php");
$g4['title'] = '현재접속자';
include_once('./_head.php');
$list = array();
$sql = " select a.mb_id, b.mb_nick, b.mb_name, b.mb_email, b.mb_homepage, b.mb_open, b.mb_point, a.lo_ip, a.lo_location, a.lo_url
from $g4[login_table] a left join $g4[member_table] b on (a.mb_id = b.mb_id)
where a.mb_id <> '$config[cf_admin]'
order by a.lo_datetime desc ";
from {$g4[login_table]} a left join {$g4[member_table]} b on (a.mb_id = b.mb_id)
where a.mb_id <> '{$config[cf_admin]}'
order by a.lo_datetime desc ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
{
@ -26,15 +26,15 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
$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);
$list[$i][num] = sprintf('%03d',$i+1);
}
$write_pages = get_paging($config[cf_write_pages], $page, $total_page, "?gr_id=$gr_id&page=");
$write_pages = get_paging($config[cf_write_pages], $page, $total_page, '?gr_id=$gr_id&amp;page=');
echo "<script type=\"text/javascript\" src=\"$g4[path]/js/sideview.js\"></script>\n";
echo '<script src="'.$g4['path'].'/js/sideview.js"></script>';
$connect_skin_path = "$g4[path]/skin/connect/$config[cf_connect_skin]";
include_once("$connect_skin_path/current_connect.skin.php");
$connect_skin_path = $g4['path'].'/skin/connect/'.$config[cf_connect_skin];
include_once($connect_skin_path.'/current_connect.skin.php');
include_once("./_tail.php");
include_once('./_tail.php');
?>