0){ $n ++; $menu_data_topmenu.="[menu]"; $menu_data_momenu.="[menu]"; $menu_data_topmenu.=""; $menu_data_momenu.=""; $menu_data_topmenu.=$row['me_name']; $menu_data_momenu.=$row['me_name']; $menu_data_topmenu.="[arrow]"; $menu_data_momenu.="[arrow]"; $menu_data_topmenu.="[submenu]"; $menu_data_momenu.="[submenu]"; for ($k=0; $row2=sql_fetch_array($result2); $k++){ if($k>0){ $menu_data_topmenu.="[divider]"; $menu_data_momenu.="[divider]"; } if($page_arr[page_title]==$row['me_name']){ if($page_arr[page_sub_title]==$row2['me_name']){ $menu_data_submenu.="[item]$row2[me_name][/item]"; }else{ $menu_data_submenu.="[item]$row2[me_name][/item]"; } } $menu_data_topmenu.="[item]$row2[me_name][/item]"; $menu_data_momenu.="[item]$row2[me_name][/item]"; } $menu_data_topmenu.="[/submenu]"; $menu_data_topmenu.="[/menu]"; $menu_data_momenu.="[/submenu]"; $menu_data_momenu.="[/menu]"; }else{ $menu_data_topmenu.="[menu]"; $menu_data_topmenu.=""; $menu_data_topmenu.=$row['me_name']; $menu_data_topmenu.=""; $menu_data_topmenu.="[/menu]"; $menu_data_momenu.="[menu]"; $menu_data_momenu.=""; $menu_data_momenu.=$row['me_name']; $menu_data_momenu.=""; $menu_data_momenu.="[/menu]"; } } $menu_data[topmenu]=$menu_data_topmenu; $menu_data[momenu]=$menu_data_momenu; $menu_data[submenu]=$menu_data_submenu; return $menu_data; } function get_page_title(){ global $g5, $pagelist, $_SERVER, $qaconfig, $faq_list, $co_id, $fm, $bo_table, $board, $member, $group; $mkey="p00"; $snum=000; $skey=0; $h_url=$_SERVER['PHP_SELF']; $r_url=$_SERVER['REQUEST_URI']; $r_url_arr=explode("?",$r_url); $r_url=$r_url_arr[1]; $h_ary=explode('/',$h_url); $chk_url=$h_ary[count($h_ary)-1]; //$pagelist[$mkey][]=array("000","NONAME",G5_URL."/".$chk_url,"self"); if($co_id){ //내용관리 $mkey="c00"; $chk_url="/bbs/content.php?co_id=$co_id"; $pagelist[$mkey][]=array("000",$co['co_subject'],G5_URL."/".$chk_url,"self",true,true); }else if($qaconfig[qa_title]){ //1:1 문의 $mkey="q00"; $chk_url="/bbs/qalist.php"; $pagelist[$mkey][]=array("000",$qaconfig['qa_title'],G5_URL."/".$chk_url,"self",true,true); }else if($fm['fm_subject']){ //faq $mkey="f00"; $chk_url="/bbs/faq.php"; $pagelist[$mkey][]=array("000",$fm['fm_subject'],G5_URL."/".$chk_url,"self",true,true); }else if($bo_table){ $mkey="b00"; $chk_url="/bbs/board.php?bo_table=$bo_table"; $pagelist[$mkey][]=array("000",$board[bo_subject],G5_URL."/".$chk_url,"self",true,true); }else if($group['gr_id']){ $mkey="b00"; $chk_url="/bbs/group.php?gr_id=$group[gr_id]"; $pagelist[$mkey][]=array("000",$group[gr_subject],G5_URL."/".$chk_url,"self",true,true); }else{ foreach($pagelist as $key => $val){ for($i=0; $i 1) { $str .= '
  • '; } $start_page = ( ( (int)( ($cur_page - 1 ) / $write_pages ) ) * $write_pages ) + 1; $end_page = $start_page + $write_pages - 1; if ($end_page >= $total_page) $end_page = $total_page; if ($start_page > 1){ $str .= '
  • '; } if ($total_page > 1) { for ($k=$start_page;$k<=$end_page;$k++) { if ($cur_page != $k) $str .= '
  • '.$k.'
  • '; else $str .= '
  • '.$k.'
  • '; } } if ($total_page > $end_page){ $str .= '
  • '; } if ($cur_page < $total_page) { $str .= '
  • '; } if ($str){ return ""; }else{ return ""; } } } ?> 정신장애와 인권 '파도손'

    팝업레이어 알림

    팝업레이어 알림이 없습니다.