관리자 경로 수정

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,20 +1,20 @@
<?
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
include_once('./_common.php');
include_once(G4_PATH.'/head.sub.php');
if ($it_id)
if ($it_id)
{
$sql = " select it_name from $g4[yc4_item_table] where it_id = '$it_id' ";
$sql = " select it_name from {$g4['yc4_item_table']} where it_id = '$it_id' ";
$row = sql_fetch($sql);
$code = $it_id;
$name = $row[it_name];
}
else if ($ca_id)
{
$sql = " select ca_name from $g4[yc4_category_table] where ca_id = '$ca_id' ";
$name = $row['it_name'];
}
else if ($ca_id)
{
$sql = " select ca_name from {$g4['yc4_category_table']} where ca_id = '$ca_id' ";
$row = sql_fetch($sql);
$code = $ca_id;
$name = $row[ca_name];
$name = $row['ca_name'];
}
?>
<SCRIPT LANGUAGE="JavaScript">