관리자 경로 수정 작업 중
This commit is contained in:
@ -1,18 +1,18 @@
|
||||
<?
|
||||
$sub_menu = "400720";
|
||||
include_once("./_common.php");
|
||||
$sub_menu = '400720';
|
||||
include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "r");
|
||||
|
||||
$g4[title] = "새창관리";
|
||||
include_once ("$g4[admin_path]/admin.head.php");
|
||||
$g4['title'] = '새창관리';
|
||||
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
$sql_common = " from $g4[yc4_new_win_table] ";
|
||||
$sql_common = " from {$g4['yc4_new_win_table']} ";
|
||||
|
||||
// 테이블의 전체 레코드수만 얻음
|
||||
$sql = " select count(*) as cnt " . $sql_common;
|
||||
$row = sql_fetch($sql);
|
||||
$total_count = $row[cnt];
|
||||
$total_count = $row['cnt'];
|
||||
|
||||
$sql = "select * $sql_common order by nw_id desc ";
|
||||
$result = sql_query($sql);
|
||||
@ -49,28 +49,28 @@ $result = sql_query($sql);
|
||||
<td>Height</td>
|
||||
<td>Width</td>
|
||||
<td>제목</td>
|
||||
<td><a href='./newwinform.php'><img src='<?=$g4[admin_path]?>/img/icon_insert.gif' border=0></a></td>
|
||||
<td><a href='./newwinform.php'><img src='<?=G4_ADMIN_URL?>/img/icon_insert.gif' border=0></a></td>
|
||||
</tr>
|
||||
<tr><td colspan=10 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
|
||||
<?
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
{
|
||||
$s_mod = icon("수정", "./newwinform.php?w=u&nw_id=$row[nw_id]");
|
||||
$s_del = icon("삭제", "javascript:del('./newwinformupdate.php?w=d&nw_id=$row[nw_id]');");
|
||||
$s_mod = icon("수정", "./newwinform.php?w=u&nw_id={$row['nw_id']}");
|
||||
$s_del = icon("삭제", "javascript:del('./newwinformupdate.php?w=d&nw_id={$row['nw_id']}');");
|
||||
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<tr class='list$list center ht'>
|
||||
<td>$row[nw_id]</td>
|
||||
<td>".substr($row[nw_begin_time],2,14)."</td>
|
||||
<td>".substr($row[nw_end_time],2,14)."</td>
|
||||
<td>$row[nw_disable_hours]</td>
|
||||
<td>$row[nw_left]</td>
|
||||
<td>$row[nw_top]</td>
|
||||
<td>$row[nw_height]</td>
|
||||
<td>$row[nw_width]</td>
|
||||
<td align=left>$row[nw_subject]</td>
|
||||
<td>".$row['nw_id']."</td>
|
||||
<td>".substr($row['nw_begin_time'],2,14)."</td>
|
||||
<td>".substr($row['nw_end_time'],2,14)."</td>
|
||||
<td>".$row['nw_disable_hours']."</td>
|
||||
<td>".$row['nw_left']."</td>
|
||||
<td>".$row['nw_top']."</td>
|
||||
<td>".$row['nw_height']."</td>
|
||||
<td>".$row['nw_width']."</td>
|
||||
<td align=left>".$row['nw_subject']."</td>
|
||||
<td>$s_mod $s_del</td>
|
||||
</tr>";
|
||||
}
|
||||
@ -84,5 +84,5 @@ if ($i == 0) {
|
||||
|
||||
|
||||
<?
|
||||
include_once ("$g4[admin_path]/admin.tail.php");
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user