warning llleal string offset 'as_grade' 관련 질문드립니다.

warning llleal string offset 'as_grade' 관련 질문드립니다.

QA

warning llleal string offset 'as_grade' 관련 질문드립니다.

답변 1

본문

warning llleal string offset 'as_grade'

/home/xxx/xxx/head.php on line 34

 

warning llleal string offset 'as_equal'

/home/xxx/xxx/head.php on line 34

 

warning llleal string offset 'as_min'

/home/xxx/xxx/head.php on line 34

 

warning llleal string offset 'as_max'

/home/xxx/xxx/head.php on line 34

 

ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가

//메인이 아닐 경우에만 체크함
if(!$is_main) {
 if($bo_table) {
  $page_title = $board['as_title'];
  $page_desc = $board['as_desc'];
 } else if(!$hid && !$gid) {
  //var_dump($_SERVER);
  $hfile = str_replace(str_replace('\\', '/', G5_PATH).'/', '', $_SERVER["SCRIPT_FILENAME"]);
  $prow = sql_fetch(" select * from {$g5['amina_html']} where as_file = '{$hfile}' and as_html = '0' ", false);

  if($prow['as_file']) {
   $gr_id = $prow['gr_id'];

   $group = $gr_id ? sql_fetch(" select * from {$g5['group_table']} where gr_id = '{$gr_id}' ", false) : "";

   // 그룹접근 사용
   if (isset($group['gr_use_access']) && $group['gr_use_access']) {

    if ($is_guest) alert("비회원은 접근할 권한이 없습니다.\\n\\n회원이시라면 로그인 후 이용해 보십시오.");

    // 그룹관리자 이상이라면 통과
    if ($is_admin == "super" || $is_admin == "group") {
     ;
    } else {
     // 그룹접근
     $row = sql_fetch(" select count(*) as cnt from {$g5['group_member_table']} where gr_id = '{$gr_id}' and mb_id = '{$member['mb_id']}' ");
     if (!$row['cnt']) alert("접근 권한이 없습니다.");
    }

   }

   if(!$is_admin) {
    if(isset($group['as_grade'])) amina_auth($group['as_grade'], $group['as_equal'], $group['as_min'], $group['as_max']);
    if(isset($prow['as_grade'])) amina_auth($prow['as_grade'], $prow['as_equal'], $prow['as_min'], $prow['as_max']);
   }

   $prow['as_browser'] = ($prow['as_browser']) ? $prow['as_browser'].' :: '.$config['cf_title'] : '';
   $g5['title'] = $g4['title'] = $prow['as_browser'];

   $page_title = $prow['as_title'];
   $page_desc = $prow['as_desc'];
  }
 }
}

if(!defined('THEMA_PATH')) include_once(AMINA_PATH.'/lib/define.lib.php');

//모드전환
if(G5_IS_MOBILE) {
 $pc_mobile_href = $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']?'?'.$_SERVER['QUERY_STRING'].'&':'?').'device=pc';
} else {
 $pc_mobile_href = $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']?'?'.$_SERVER['QUERY_STRING'].'&':'?').'device=mobile';
}

$is_latestAmina = true;

include_once(AMINA_PATH.'/lib/thema.lib.php');
include_once(AMINA_PATH.'/lib/latest.lib.php');

include_once(G5_PATH.'/head.sub.php');
include_once(AMINA_PATH.'/css.php');

$page_title = amina_fa($page_title);
$page_desc = amina_fa($page_desc);

if($frame) {
 include_once(AMINA_PATH.'/iframe.head.php');
} else {
 $newpost = $is_newPost ? new_post(1) : '';
 $menu = $is_autoMenu ? amina_menu_group() : '';
 $my_response = $is_myResponse ? amina_response_cnt($member['mb_id']) : '';
 $member['as_response'] = $my_response;

 include_once(G5_LIB_PATH.'/latest.lib.php');
 include_once(G5_LIB_PATH.'/outlogin.lib.php');
 include_once(G5_LIB_PATH.'/poll.lib.php');
 include_once(G5_LIB_PATH.'/visit.lib.php');
 include_once(G5_LIB_PATH.'/connect.lib.php');
 include_once(G5_LIB_PATH.'/popular.lib.php');
 include_once(THEMA_PATH.'/head.php');
}

?>​

 

홈페이지 접속시 이러한것들이 표기 됩니다 무슨문제일까요?

 

회원님들의 따듯한 도움의 손길이 필요합니다.

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
전체 4
© SIRSOFT
현재 페이지 제일 처음으로