관리자 경로 수정

This commit is contained in:
chicpro
2013-03-19 14:31:53 +09:00
parent 51e805f620
commit 71159878d0
41 changed files with 603 additions and 604 deletions

View File

@ -1,18 +1,18 @@
<?
$sub_menu = "400740";
include_once("./_common.php");
$sub_menu = '400740';
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_delivery_table] ";
$sql_common = " from {$g4['yc4_delivery_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 dl_order , dl_id desc ";
$result = sql_query($sql);
@ -46,20 +46,20 @@ $result = sql_query($sql);
<?
for ($i=0; $row=mysql_fetch_array($result); $i++)
{
$s_mod = icon("수정", "./deliverycodeform.php?w=u&dl_id=$row[dl_id]");
$s_del = icon("삭제", "javascript:del('./deliverycodeformupdate.php?w=d&dl_id=$row[dl_id]');");
$s_vie = icon("보기", "$row[dl_url]", $target="_blank");
$s_mod = icon("수정", "./deliverycodeform.php?w=u&dl_id={$row['dl_id']}");
$s_del = icon("삭제", "javascript:del('./deliverycodeformupdate.php?w=d&dl_id={$row['dl_id']}');");
$s_vie = icon("보기", $row['dl_url'], $target="_blank");
if ($i)
if ($i)
echo "<tr><td colspan=5 height=1 bgcolor=F1F1F1></td></tr>";
$list = $i%2;
echo "
<tr class='list$list center ht'>
<td align=center>$row[dl_id]</td>
<td>". stripslashes($row[dl_company]) . "</td>
<td align=center>$row[dl_tel]</td>
<td align=center>$row[dl_order]</td>
<td align=center>{$row['dl_id']}</td>
<td>". stripslashes($row['dl_company']) . "</td>
<td align=center>{$row['dl_tel']}</td>
<td align=center>{$row['dl_order']}</td>
<td align=center>$s_mod $s_del $s_vie</td>
</tr>";
}
@ -71,5 +71,5 @@ if ($i == 0)
</table>
<?
include_once ("$g4[admin_path]/admin.tail.php");
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>