그누보드 팝업창 설정 질문

그누보드 팝업창 설정 질문

QA

그누보드 팝업창 설정 질문

본문

안녕하세요

그누보드 index페이지 팝업창 설정 질문드립니다(초보자) ^^

그누보드 설치 위치는 g5/ 폴더 따로 만들어서 설치했고

루트 index.php 그누보드 소스가 아무것도 없이 다 지워져있는 상태입니다.

그럴경우 어떤 설정소스를 넣어야 할까요??

 

---------------------------

 

1년 전에 아시는 분이 소스 만들어 주신게 있는데 보여드릴께요(적용해도 안되네요 ㅜㅜ)

 


<style>
p {margin:0;padding:0;word-break:break-all}
/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;width:970px;height:0}
#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff}
.hd_pops_con {}
.hd_pops_footer {padding:10px 0;background:#000;color:#fff;text-align:right}
.hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff}
.sound_only {display:none;}
</style>
 
<script>
g5_cookie_domain = "";
</script>
<script src="./g5/js/jquery-1.8.3.min.js"></script> 
<script src="./g5/js/common.js?ver=161020"></script>
 
 <?
 $G5_DOMAIN = "yangpyeong21.com";
 $g5_path['path'] = "./g5/";
 include_once('./g5/config.php');   // 설정 파일
 $dbconfig_file = G5_DATA_PATH.'/'.G5_DBCONFIG_FILE;
    include_once($dbconfig_file);
    include_once(G5_LIB_PATH.'/common.lib.php');    // 공통 라이브러리
    $connect_db = sql_connect(G5_MYSQL_HOST, G5_MYSQL_USER, G5_MYSQL_PASSWORD) or die('MySQL Connect Error!!!');
    $select_db  = sql_select_db(G5_MYSQL_DB, $connect_db) or die('MySQL DB Error!!!');
    $g5['connect_db'] = $connect_db;
    sql_set_charset('utf8', $connect_db);
    if(defined('G5_MYSQL_SET_MODE') && G5_MYSQL_SET_MODE) sql_query("SET SESSION sql_mode = ''");
    if (defined(G5_TIMEZONE)) sql_query(" set time_zone = '".G5_TIMEZONE."'");
    include G5_BBS_PATH.'/newwin.inc.php'; // 팝업레이어
    ?>  

 

이 질문에 댓글 쓰기 :

답변 1

<?php
include_once('./_common.php');
include_once('./head.sub.php');

include G5_BBS_PATH.'/newwin.inc.php'; // 팝업레이어

include_once('./tail.sub.php');
?>

답변을 작성하시기 전에 로그인 해주세요.
전체 14
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT