Example #1
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
if (G5_IS_MOBILE) {
    include_once G5_THEME_MOBILE_PATH . '/tail.php';
    return;
}
mw_script($theme_path . '/js/mw.scroll.top.js');
?>
    </div><!--main-->

    <?php 
include G5_THEME_PATH . '/sidebar.php';
?>

    <div class="blank"></div>

</div><!--wrapper-->
</div><!--container-->

<div class="footer">
    <div class="tail_link">
    <div class="wrapper">
    <ul class="menu">
        <li><a href="<?php 
echo G5_BBS_URL;
?>
/content.php?co_id=company">회사소개</a></li>
Example #2
0
var g4_is_member = "<?php 
echo isset($is_member) ? $is_member : '';
?>
";
<?php 
if ($is_admin) {
    echo 'var g5_admin_url = "' . G5_ADMIN_URL . '";' . PHP_EOL;
}
mw_script('/' . G5_JS_DIR . '/jquery-1.8.3.min.js');
mw_script('/' . G5_JS_DIR . '/common.js');
mw_script('/' . G5_JS_DIR . '/wrest.js');
?>
</script>
<?php 
if (G5_IS_MOBILE) {
    mw_script('/' . G5_JS_DIR . '/modernizr.custom.70111.js');
}
if (!defined('G5_IS_ADMIN')) {
    echo $config['cf_add_script'];
}
?>
</head>
<body>
<?php 
if ($is_member) {
    // 회원이라면 로그인 중이라는 메세지를 출력해준다.
    $sr_admin_msg = '';
    if ($is_admin == 'super') {
        $sr_admin_msg = "최고관리자 ";
    } else {
        if ($is_admin == 'group') {
Example #3
0
<?php

include_once "_common.php";
include_once "../../head.sub.php";
mw_script("/js/jquery-1.11.2.min.js");
mw_css("/asset/font-awesome-4.3.0/css/font-awesome.min.css");
?>
<style>
section {
    clear:both;
}

h2 {
    padding-top:20px;
    line-height:50px;
    font-size:20px;
}

.fa-hover {
    float:left;
    width:25%;
    font-size:13px;
    line-height:40px;
    padding-left:10px;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
.fa-hover:hover {
    background-color:#efefef;
}
Example #4
0
<?php

if (!defined("_GNUBOARD_")) {
    exit;
}
// 개별 페이지 접근 불가
global $mwus;
global $theme_path;
if (function_exists("mw_css")) {
    //mw_css($popular_skin_url.'/style.php');
    add_stylesheet("<link rel=\"stylesheet\" href=\"{$popular_skin_url}/style.php\">");
    mw_script($theme_path . '/js/mw.slider.js');
} else {
    add_stylesheet("<link rel=\"stylesheet\" href=\"{$popular_skin_url}/style.php\">");
    add_javascript("<script src=\"" . G5_URL . "/js/mw.slider.js\"></script>");
}
$href = G5_BBS_URL . "/search.php?stx=";
if ($mwus['path']) {
    $href = $mwus['path'] . "/?stx=";
}
?>
<div class="scroll">
<ul>
<?php 
for ($i = 0; $i < $pop_cnt; $i++) {
    if (!is_array($list[$i])) {
        continue;
    }
    $str = urlencode($list[$i]['pp_word']);
    $gap = '';
    if ($list[$i][icon] != "new" && $list[$i][icon] != "nogap") {
Example #5
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
if (G5_IS_MOBILE) {
    include_once G5_THEME_MOBILE_PATH . '/head.php';
    return;
}
include_once G5_THEME_PATH . '/head.sub.php';
mw_script($theme_path . '/js/mw.navbar.js');
mw_css('/asset/font-awesome-4.3.0/css/font-awesome.min.css');
mw_css($theme_path . '/style.css');
mw_css($theme_path . '/color/' . $mw['config']['cf_theme_color'] . '/style.css');
mw_css($theme_path . '/layout.php');
mw_css($theme_path . '/css/mw.widget.css');
// 쪽지
$memo_not_read = 0;
if ($is_member) {
    $sql = " select count(*) as cnt ";
    $sql .= "   from {$g5['memo_table']} ";
    $sql .= "  where me_recv_mb_id = '{$member['mb_id']}' ";
    $sql .= "    and substring(me_read_datetime, 1, 1) = '0' ";
    $row = sql_fetch($sql);
    $memo_not_read = $row['cnt'];
}
// 현재 메뉴 찾기
$my_url = null;
$menu = null;
$is_sidebar = true;
Example #6
0
}
include_once G5_THEME_PATH . '/head.php';
$list = array();
for ($i = 0; $row = $mw5_menu[$i]; ++$i) {
    $latest_table = mw_get_board($row['me_link']);
    if ($latest_table and !in_array($latest_table, $list)) {
        $list[] = $latest_table;
    }
    for ($j = 0; $row2 = $mw5_menu[$i]['sub'][$j]; $j++) {
        $latest_table = mw_get_board($row2['me_link']);
        if ($latest_table and !in_array($latest_table, $list)) {
            $list[] = $latest_table;
        }
    }
}
mw_script($theme_path . "/js/mw.slider.js");
$img = array();
$img[] = G5_THEME_URL . "/img/01.png";
$img[] = G5_THEME_URL . "/img/02.png";
$img[] = G5_THEME_URL . "/img/03.png";
$img[] = G5_THEME_URL . "/img/04.png";
$img[] = G5_THEME_URL . "/img/05.png";
$img[] = G5_THEME_URL . "/img/06.png";
$img[] = G5_THEME_URL . "/img/07.png";
$img[] = G5_THEME_URL . "/img/08.png";
shuffle($img);
?>
<style>
.banner { width:720px; height:360px; position:relative; overflow:hidden; margin:0 0 10px 0; }
.banner ul { position:absolute; margin:0; padding:0; list-style:none; font-size:0; }
.banner ul li { margin:0; padding:0; list-style:none; }