diff --git a/_common.php b/_common.php index 2ed94c3fb..e29eb0bc1 100644 --- a/_common.php +++ b/_common.php @@ -1,3 +1,2 @@ \ No newline at end of file +include_once('./common.php'); \ No newline at end of file diff --git a/_head.php b/_head.php index 79e267fb7..2a12509c5 100644 --- a/_head.php +++ b/_head.php @@ -1,5 +1,4 @@ \ No newline at end of file +include_once(G5_PATH.'/head.php'); \ No newline at end of file diff --git a/_tail.php b/_tail.php index ae47c3b51..d4b52cfec 100644 --- a/_tail.php +++ b/_tail.php @@ -1,5 +1,4 @@ \ No newline at end of file +include_once(G5_PATH.'/tail.php'); \ No newline at end of file diff --git a/adm/_common.php b/adm/_common.php index 316c629c3..a61a0623a 100644 --- a/adm/_common.php +++ b/adm/_common.php @@ -7,5 +7,4 @@ if( isset($token) ){ $token = @htmlspecialchars(strip_tags($token), ENT_QUOTES); } -run_event('admin_common'); -?> \ No newline at end of file +run_event('admin_common'); \ No newline at end of file diff --git a/adm/admin.head.php b/adm/admin.head.php index 53adc6e39..13d1251de 100644 --- a/adm/admin.head.php +++ b/adm/admin.head.php @@ -32,17 +32,23 @@ function print_menu2($key, $no='') { global $menu, $auth_menu, $is_admin, $auth, $g5, $sub_menu; - $str .= "