Пример #1
0
function mw_css($href)
{
    global $html_process;
    if (!@is_file(G5_PATH . $href)) {
        return;
    }
    $mtime = filemtime(G5_PATH . $href);
    $href = G5_URL . $href . "?" . $mtime;
    add_stylesheet("<link rel=\"stylesheet\" href=\"{$href}\">");
}
Пример #2
0
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
if (!defined("_GNUBOARD_")) {
    exit;
}
// 개별 페이지 접근 불가
add_stylesheet(get_skin_stylesheet($outlogin_skin_path));
add_javascript(get_skin_javascript($outlogin_skin_path));
?>
<div class="outlogin">
    <form name="foutlogin" action="<?php 
echo $outlogin_action_url;
?>
" method="post" autocomplete="off">
    <input type="hidden" name="url" value="<?php 
echo $outlogin_url;
?>
"/>
    <div class="func">
        <a href="<?php 
echo G5_BBS_URL;
?>
Пример #3
0
<?php

if (!defined("_GNUBOARD_")) {
    exit;
}
// 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $skin_url . '/style.css" media="screen">', 0);
?>

<div class="sub-title">
	<h4>
		<?php 
if ($member['photo']) {
    ?>
			<img src="<?php 
    echo $member['photo'];
    ?>
" alt="">
		<?php 
} else {
    ?>
			<i class="fa fa-user"></i>
		<?php 
}
?>
		<?php 
echo $g5['title'];
?>
	</h4>
</div>
Пример #4
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . G5_SHOP_SKIN_URL . '/style.css">', 0);
/*
리스트의 상품이 순차적으로 위에서 내려옴
*/
?>

<!-- 이전 재생 정지 다음 버튼 시작 { -->
<ul id="btn_smt_<?php 
echo $this->type;
?>
" class="sctrl">
    <li><button type="button" class="sctrl_play">효과재생<span></span></button></li>
    <li><button type="button" class="sctrl_stop">효과정지<span></span></button></li>
</ul>
<!-- } 이전 재생 정지 다음 버튼 끝 -->

<!-- 상품진열 50 시작 { -->
<?php 
for ($i = 1; $row = sql_fetch_array($result); $i++) {
    $sct_last = '';
    if ($i > 1 && $i % $this->list_mod == 0) {
        $sct_last = ' sct_last';
    }
    // 줄 마지막
Пример #5
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $skin_url . '/style.css">', 0);
// 목록헤드
if (isset($wset['hskin']) && $wset['hskin']) {
    add_stylesheet('<link rel="stylesheet" href="' . G5_CSS_URL . '/head/' . $wset['hskin'] . '.css" media="screen">', 0);
    $head_class = 'div-head list-head';
} else {
    $head_class = isset($wset['hcolor']) && $wset['hcolor'] ? 'div-head border-' . $wset['hcolor'] : 'div-head border-black';
}
// 헤더 출력
if ($header_skin) {
    include_once './header.php';
}
?>

<div class="list-board">
	<div class="<?php 
echo $head_class;
?>
">
		<span class="num">번호</span>
		<span class="name">이름</span>
		<span class="subj">위치</span>
	</div>
	<ul id="list-container" class="board-list">
Пример #6
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
// $all_histories = 전체 연혁 출력 변수
// $histories = 연도가 있는 연혁
add_stylesheet('<link rel="stylesheet" href="' . $history_skin_url . '/style.css" />', 0);
?>
<div class="basic-history <?php 
echo $history['his_id'];
?>
">
	<h3><?php 
echo $history['his_subject'];
?>
</h3>
	
	<?php 
foreach ($histories as $year => $items) {
    ?>
	<dl>
		<dt><?php 
    echo $year;
    ?>
</dt>
		<dd>
			<ul>
	<?php 
    foreach ($items as $item) {
Пример #7
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
//개별 페이지 접근 불가
global $at_href;
//add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $widget_url . '/widget.css" media="screen">', 0);
switch ($wset['search']) {
    case 'item':
        $link = $at_href['isearch'] . '?q=';
        break;
    case 'tag':
        $link = $at_href['tag'] . '?q=';
        break;
    default:
        $link = $at_href['search'] . '?stx=';
        break;
}
$q = explode(",", $wset['q']);
$q_cnt = count($q);
if ($q_cnt) {
    shuffle($q);
}
?>
<div class="basic-keyword">
	<?php 
for ($i = 0; $i < $q_cnt; $i++) {
    ?>
		<span class="stx">
Пример #8
0
function apms_script($name)
{
    if ($name == 'code') {
        if (!defined('APMS_CODE')) {
            define('APMS_CODE', true);
            add_stylesheet('<link rel="stylesheet" href="' . APMS_PLUGIN_URL . '/syntaxhighlighter/styles/shCoreDefault.css">', -1);
            $code_script = '<script src="' . APMS_PLUGIN_URL . '/syntaxhighlighter/scripts/shCore.js"></script>' . PHP_EOL;
            $code_script .= '<script src="' . APMS_PLUGIN_URL . '/syntaxhighlighter/scripts/shBrushJScript.js"></script>' . PHP_EOL;
            $code_script .= '<script src="' . APMS_PLUGIN_URL . '/syntaxhighlighter/scripts/shBrushPhp.js"></script>' . PHP_EOL;
            $code_script .= '<script src="' . APMS_PLUGIN_URL . '/syntaxhighlighter/scripts/shBrushCss.js"></script>' . PHP_EOL;
            $code_script .= '<script src="' . APMS_PLUGIN_URL . '/syntaxhighlighter/scripts/shBrushXml.js"></script>' . PHP_EOL;
            $code_script .= '<script>var is_SyntaxHighlighter = true; SyntaxHighlighter.all(); </script>';
            add_javascript($code_script, 99);
        }
    } else {
        if ($name == 'imagesloaded') {
            if (!defined('APMS_IMAGESLOADED')) {
                define('APMS_IMAGESLOADED', true);
                add_javascript('<script src="' . APMS_PLUGIN_URL . '/js/imagesloaded.pkgd.min.js"></script>', 0);
            }
        } else {
            if ($name == 'infinite') {
                if (!defined('APMS_INFINITESCROLL')) {
                    define('APMS_INFINITESCROLL', true);
                    add_javascript('<script src="' . APMS_PLUGIN_URL . '/js/jquery.infinitescroll.min.js"></script>', 0);
                }
            } else {
                if ($name == 'masonry') {
                    if (!defined('APMS_MASONRY')) {
                        define('APMS_MASONRY', true);
                        add_javascript('<script src="' . APMS_PLUGIN_URL . '/js/masonry.pkgd.min.js"></script>', 0);
                    }
                } else {
                    if ($name == 'swipe') {
                        if (!defined('APMS_SWIPE')) {
                            define('APMS_SWIPE', true);
                            add_javascript('<script src="' . APMS_PLUGIN_URL . '/js/jquery.mobile.swipe.min.js"></script>', 0);
                        }
                    } else {
                        if ($name == 'touch') {
                            if (!defined('APMS_TOUCH')) {
                                define('APMS_TOUCH', true);
                                add_javascript('<script src="' . APMS_PLUGIN_URL . '/js/jquery.touchwipe.min.js"></script>', 0);
                            }
                        } else {
                            if ($name == 'height') {
                                if (!defined('APMS_MATCHHEIGHT')) {
                                    define('APMS_MATCHHEIGHT', true);
                                    add_javascript('<script src="' . APMS_PLUGIN_URL . '/js/jquery.matchHeight-min.js"></script>', 0);
                                }
                            } else {
                                if ($name == 'modal') {
                                    if (!defined('APMS_MODAL')) {
                                        define('APMS_MODAL', true);
                                        include_once G5_LIB_PATH . '/apms.modal.lib.php';
                                    }
                                    return ' onclick="view_modal(this.href); return false;"';
                                } else {
                                    if ($name == 'lazy') {
                                        if (!defined('APMS_LAZY')) {
                                            define('APMS_LAZY', true);
                                            add_javascript('<script src="' . APMS_PLUGIN_URL . '/js/jquery.lazyload.min.js"></script>', 0);
                                            echo '<script>' . PHP_EOL;
                                            echo '$(function(){' . PHP_EOL;
                                            echo '$("img.alazy").lazyload({ effect : "fadeIn" });' . PHP_EOL;
                                            echo '});' . PHP_EOL;
                                            echo '</script>' . PHP_EOL;
                                        }
                                    } else {
                                        if ($name == 'swiper') {
                                            if (!defined('APMS_SWIPER')) {
                                                define('APMS_SWIPER', true);
                                                add_stylesheet('<link rel="stylesheet" href="' . APMS_PLUGIN_URL . '/swiper/css/swiper.css">', -1);
                                                add_javascript('<script src="' . APMS_PLUGIN_URL . '/swiper/js/swiper.jquery.min.js"></script>', 0);
                                            }
                                        } else {
                                            if ($name == 'datepicker') {
                                                if (!defined('APMS_DATEPICKER')) {
                                                    define('APMS_DATEPICKER', true);
                                                    add_stylesheet('<link rel="stylesheet" href="' . APMS_PLUGIN_URL . '/datepicker/css/bootstrap-datetimepicker.min.css">', -1);
                                                    $datepicker_script = '<script src="' . APMS_PLUGIN_URL . '/datepicker/js/moment-with-locales.min.js"></script>' . PHP_EOL;
                                                    $datepicker_script .= '<script src="' . APMS_PLUGIN_URL . '/datepicker/js/bootstrap-datetimepicker.js"></script>';
                                                    add_javascript($datepicker_script, 0);
                                                }
                                            } else {
                                                if ($name == 'scrollbar') {
                                                    if (!defined('APMS_SCROLLBAR')) {
                                                        define('APMS_SCROLLBAR', true);
                                                        add_stylesheet('<link rel="stylesheet" href="' . APMS_PLUGIN_URL . '/perfect-scrollbar/perfect-scrollbar.min.css">', -1);
                                                        add_javascript('<script src="' . APMS_PLUGIN_URL . '/perfect-scrollbar/perfect-scrollbar.jquery.min.js"></script>', 0);
                                                    }
                                                } else {
                                                    if ($name == 'accordion') {
                                                        if (!defined('APMS_ACCORDION')) {
                                                            define('APMS_ACCORDION', true);
                                                            add_stylesheet('<link rel="stylesheet" href="' . APMS_PLUGIN_URL . '/accordion/accordion.css">', -1);
                                                            add_javascript('<script src="' . APMS_PLUGIN_URL . '/accordion/accordion.js"></script>', 0);
                                                        }
                                                    } else {
                                                        if ($name == 'lightbox') {
                                                            if (!defined('APMS_LIGHTBOX')) {
                                                                define('APMS_LIGHTBOX', true);
                                                                add_stylesheet('<link rel="stylesheet" href="' . APMS_PLUGIN_URL . '/lightbox2/css/lightbox.css">', -1);
                                                                add_javascript('<script src="' . APMS_PLUGIN_URL . '/lightbox2/js/lightbox.min.js"></script>', 0);
                                                            }
                                                        } else {
                                                            if ($name == 'timeline') {
                                                                if (!defined('APMS_TIMELINE')) {
                                                                    define('APMS_TIMELINE', true);
                                                                    add_stylesheet('<link rel="stylesheet" href="' . APMS_PLUGIN_URL . '/timeline/timeline.css">', -1);
                                                                    add_javascript('<script src="' . APMS_PLUGIN_URL . '/timeline/timeline.js"></script>', 0);
                                                                }
                                                            } else {
                                                                if ($name == 'flexslider') {
                                                                    if (!defined('APMS_FLEXSLIDER')) {
                                                                        define('APMS_FLEXSLIDER', true);
                                                                        add_stylesheet('<link rel="stylesheet" href="' . APMS_PLUGIN_URL . '/FlexSlider/flexslider.css">', -1);
                                                                        add_javascript('<script src="' . APMS_PLUGIN_URL . '/FlexSlider/jquery.flexslider-min.js"></script>', 0);
                                                                    }
                                                                } else {
                                                                    if ($name == 'coinslider') {
                                                                        if (!defined('APMS_COINSLIDER')) {
                                                                            define('APMS_COINSLIDER', true);
                                                                            add_stylesheet('<link rel="stylesheet" href="' . APMS_PLUGIN_URL . '/coin-slider/coin-slider-styles.css">', -1);
                                                                            add_javascript('<script src="' . APMS_PLUGIN_URL . '/coin-slider/coin-slider.min.js"></script>', 0);
                                                                        }
                                                                    } else {
                                                                        if ($name == 'bxslider') {
                                                                            if (!defined('APMS_BXSLIDER')) {
                                                                                define('APMS_BXSLIDER', true);
                                                                                add_stylesheet('<link rel="stylesheet" href="' . APMS_PLUGIN_URL . '/bxSlider/jquery.bxslider.css">', -1);
                                                                                add_javascript('<script src="' . APMS_PLUGIN_URL . '/bxSlider/jquery.bxslider.min.js"></script>', 0);
                                                                            }
                                                                        } else {
                                                                            if ($name == 'nivoslider') {
                                                                                if (!defined('APMS_NIVOSLIDER')) {
                                                                                    define('APMS_NIVOSLIDER', true);
                                                                                    add_stylesheet('<link rel="stylesheet" href="' . APMS_PLUGIN_URL . '/Nivo-Slider/nivo-slider.css" type="text/css" media="screen" />', 0);
                                                                                    add_javascript('<script type="text/javascript" src="' . APMS_PLUGIN_URL . '/Nivo-Slider/jquery.nivo.slider.pack.js"></script>', 0);
                                                                                }
                                                                            } else {
                                                                                if ($name == 'mosaic') {
                                                                                    if (!defined('APMS_MOSAIC')) {
                                                                                        define('APMS_MOSAIC', true);
                                                                                        add_stylesheet('<link rel="stylesheet" href="' . APMS_PLUGIN_URL . '/jMosaic/jquery.jMosaic.css">', -1);
                                                                                        add_javascript('<script src="' . APMS_PLUGIN_URL . '/jMosaic/jquery.jMosaic.min.js"></script>', 0);
                                                                                    }
                                                                                } else {
                                                                                    if ($name == 'owlcarousel') {
                                                                                        if (!defined('APMS_OWLCAROUSEL')) {
                                                                                            define('APMS_OWL', true);
                                                                                            add_stylesheet('<link rel="stylesheet" href="' . APMS_PLUGIN_URL . '/owlcarousel/owl.carousel.css">', -1);
                                                                                            add_javascript('<script src="' . APMS_PLUGIN_URL . '/owlcarousel/owl.carousel.min.js"></script>', 0);
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    return;
}
Пример #9
0
} else {
    $script[] = $board_skin_path . "/mw.js/jquery-ui-1.8.19.custom.min.js";
}
/* css */
$css = array();
$css[] = $board_skin_path . "/style.common.css?" . filemtime($board_skin_path . "/style.common.css");
$css[] = $board_skin_path . "/mw.js/ui-lightness/jquery-ui-1.9.2.custom.min.css";
$css[] = $board_skin_path . "/mw.js/mw.star.rate/jquery.mw.star.rate.css";
$css[] = $board_skin_path . "/mw.css/font-awesome-4.4.0/css/font-awesome.css";
/* ---- */
foreach ($css as $c) {
    if (defined("_MW_MOBILE_")) {
        echo "<link rel=\"stylesheet\" href=\"{$c}\"></script>" . PHP_EOL;
    } else {
        if (is_g5()) {
            add_stylesheet("<link rel=\"stylesheet\" href=\"{$c}\"/>");
        } else {
            echo "<link rel=\"stylesheet\" href=\"{$c}\"></script>" . PHP_EOL;
        }
    }
}
foreach ($script as $s) {
    if (defined("_MW_MOBILE_")) {
        echo "<script src=\"{$s}\"></script>" . PHP_EOL;
    } else {
        if (is_g5()) {
            add_javascript("<script src=\"{$s}\"></script>");
        } else {
            echo "<script src=\"{$s}\"></script>" . PHP_EOL;
        }
    }
Пример #10
0
<?php

$sub_menu = '300820';
include_once './_common.php';
check_demo();
auth_check($auth[$sub_menu], 'r');
// http://www.jqplot.com/
add_stylesheet('<link rel="stylesheet" href="' . G5_PLUGIN_URL . '/jqplot/jquery.jqplot.css">', 0);
add_javascript('<script src="' . G5_PLUGIN_URL . '/jqplot/jquery.jqplot.js"></script>', 0);
add_javascript('<script src="' . G5_PLUGIN_URL . '/jqplot/plugins/jqplot.canvasTextRenderer.min.js"></script>', 0);
add_javascript('<script src="' . G5_PLUGIN_URL . '/jqplot/plugins/jqplot.categoryAxisRenderer.min.js"></script>', 0);
add_javascript('<script src="' . G5_PLUGIN_URL . '/jqplot/plugins/jqplot.pointLabels.min.js"></script>', 0);
add_javascript('<!--[if lt IE 9]><script src="' . G5_PLUGIN_URL . '/jqplot/excanvas.js"></script><![endif]-->', 0);
if (!($graph == 'line' || $graph == 'bar')) {
    $graph = 'line';
}
if ($graph == 'bar') {
    // 바 타입으로 사용하는 코드입니다.
    add_javascript('<script src="' . G5_PLUGIN_URL . '/jqplot/jqplot.barRenderer.min.js"></script>', 0);
    add_javascript('<script src="' . G5_PLUGIN_URL . '/jqplot/jqplot.categoryAxisRenderer.min.js"></script>', 0);
    add_javascript('<script src="' . G5_PLUGIN_URL . '/jqplot/jqplot.pointLabels.min.js"></script>', 0);
}
$g5['title'] = '글,댓글 현황';
include_once './admin.head.php';
$period_array = array('오늘' => array('시간', 0), '어제' => array('시간', 0), '7일전' => array('일', 7), '14일전' => array('일', 14), '30일전' => array('일', 30), '3개월전' => array('주', 90), '6개월전' => array('주', 180), '1년전' => array('월', 365), '2년전' => array('월', 365 * 2), '3년전' => array('월', 365 * 3), '5년전' => array('년', 365 * 5), '10년전' => array('년', 365 * 10));
$is_period = false;
foreach ($period_array as $key => $value) {
    if ($key == $period) {
        $is_period = true;
        break;
    }
Пример #11
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
include_once G5_LIB_PATH . '/thumbnail.lib.php';
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/css/style.css">', 0);
?>
<div class="panel panel-default">
<div class="panel-heading">
		<h5><i class="fa fa-bar-chart-o"></i> <?php 
echo $board['bo_subject'];
?>
<span class="sound_only"> 목록</span></h5>
</div>

<!-- 게시판 목록 시작 { -->
<div id="bo_gall" style="width:<?php 
echo $width;
?>
" class="panel-body table-content">

    <!-- 게시판 카테고리 시작 { -->
    <?php 
if ($is_category) {
    ?>
    <nav id="bo_cate">
        <ol class="breadcrumb" id="bo_cate_ul">
            <?php 
Пример #12
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $admin_qa_skin_url . '/style.css">', 1);
?>

<section id="bo_w">
    <!-- 게시물 작성/수정 시작 { -->
    <form name="fwrite" id="fwrite" action="<?php 
echo $action_url;
?>
" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off">
    <input type="hidden" name="w" value="<?php 
echo $w;
?>
">
    <input type="hidden" name="qa_id" value="<?php 
echo $qa_id;
?>
">
    <input type="hidden" name="sca" value="<?php 
echo $sca;
?>
">
    <input type="hidden" name="stx" value="<?php 
echo $stx;
?>
Пример #13
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
// StyleSheet
add_stylesheet('<link rel="stylesheet" href="' . $item_skin_url . '/style.css" type="text/css" media="screen">', 0);
?>

<style>
	body { background: #fff; padding:20px 20px 0px; margin:0px; }
</style>

<div class="form-box">
	<div class="form-header">
		<h2>Q & A</h2>
	</div>
	<div class="form-body">

		<form name="fitemqa" class="form-light padding-15" role="form" method="post" action="./itemqaformupdate.php" onsubmit="return fitemqa_submit(this);" autocomplete="off">
			<input type="hidden" name="w" value="<?php 
echo $w;
?>
">
			<input type="hidden" name="it_id" value="<?php 
echo $it_id;
?>
">
			<input type="hidden" name="iq_id" value="<?php 
echo $iq_id;
Пример #14
0
        $col_name = 'one';
    } else {
        // Two Column
        $container = '';
        $col_name = 'two';
        $col_side = 12 - $col_content;
    }
}
// 메뉴수
$menu_cnt = count($menu);
//Stylesheet
$bootstrap_css = _RESPONSIVE_ ? 'bootstrap.min.css' : 'bootstrap-apms.min.css';
$add_stylesheet = '<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:400,300,500,500italic,700,900,400italic,700italic">';
$add_stylesheet .= PHP_EOL . '<link rel="stylesheet" href="' . THEMA_URL . '/assets/bs3/css/' . $bootstrap_css . '" type="text/css" media="screen" class="thema-mode">';
$add_stylesheet .= PHP_EOL . '<link rel="stylesheet" href="' . COLORSET_URL . '/colorset.css" type="text/css" media="screen" class="thema-colorset">';
add_stylesheet($add_stylesheet, 0);
$add_stylesheet = '';
//Reset
// 서브메뉴 너비
$is_subw = isset($at_set['subw']) && $at_set['subw'] > 0 ? $at_set['subw'] : 180;
// Social Icon
$sns_share_url = IS_YC && IS_SHOP ? G5_SHOP_URL : G5_URL;
$sns_share_title = get_text($config['cf_title']);
$sns_share_img = THEMA_URL . '/assets/img';
$sns_share_icon = '<div class="sns-share-icon">' . PHP_EOL;
$sns_share_icon .= get_sns_share_link('facebook', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_fb.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('twitter', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_twt.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('googleplus', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_goo.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('kakaostory', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_kakaostory.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('kakaotalk', $sns_shareurl, $sns_share_title, $sns_share_img . '/sns_kakao.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('naverband', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_naverband.png') . PHP_EOL;
Пример #15
0
<?php

if (!defined("_GNUBOARD_")) {
    exit;
}
// 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="http://cdn.oesmith.co.uk/morris-0.4.3.min.css">', 0);
?>

<script src="http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="http://cdn.oesmith.co.uk/morris-0.4.3.min.js"></script>

<?php 
if (IS_SELLER) {
    ?>
	<h1><i class="fa fa-shopping-cart"></i> Seller's Summary</h1>

	<div class="row en font-14">
		<div class="col-lg-3 col-md-6">
			<div class="panel panel-info">
				<div class="panel-heading">
					<div class="row">
						<div class="col-sm-4 hidden-xs">
							<i class="fa fa-shopping-cart fa-5x"></i>
						</div>
						<div class="col-sm-8 col-xs-12 text-right">
							<p class="announcement-heading"><?php 
    echo number_format($today_sales);
    ?>
</p>
							<p class="announcement-text">Today's Sales</p>
Пример #16
0
// 질문&보기
$sql = "select * from {$g5['surveys_q_table']} where su_id = '{$su_id}' order by suq_sort asc ";
$result = sql_query($sql);
$questions = array();
while ($row = sql_fetch_array($result)) {
    $answer = array();
    for ($i = 1; $i <= 10; $i++) {
        $answer[] = $row['suq_answer_' . $i];
    }
    $answer = array_filter($answer);
    $row['answer'] = $answer;
    $questions[] = $row;
}
$g5['title'] = '설문조사 관리';
include_once G5_ADMIN_PATH . '/admin.head.php';
add_stylesheet('<link rel="stylesheet" href="./style.css" />', 0);
?>
<h2>설문조사 결과</h2>

<div id="surveys_result" class="tbl_frm01 tbl_wrap">
	<h3><?php 
echo $surveys['su_subject'];
?>
 <a href="./surveysresult.save.php?su_id=<?php 
echo $su_id;
?>
" class="btn_frmline">결과 엑셀 저장</a></h3>
	<table>
		<tbody>
			<tr>
				<th width="120" scope="row">설문기간</th>
Пример #17
0
<?php

if (!defined("_GNUBOARD_")) {
    exit;
}
// 개별 페이지 접근 불가
$css_name = "gallery-{$bo_table}-{$rows}-{$subject_len}";
$css = "{$latest_skin_url}/style.php?bo_table={$bo_table}&rows={$rows}&subject_len={$subject_len}";
add_stylesheet("<link rel=\"stylesheet\" href=\"{$css}\">");
if (function_exists("mw_seo_url")) {
    $bo_url = mw_seo_url($bo_table);
} else {
    $bo_url = G5_BBS_URL . "/board.php?bo_table=" . $bo_table;
}
// $thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']);
// mw_get_thumb_path
// function mw_get_thumb_path($bo_table, $wr_id, $file=null, $thumb_number=null)
global $g4;
?>
<div class="<?php 
echo $css_name;
?>
">
    <h2><a href="<?php 
echo $bo_url;
?>
"><?php 
echo $bo_subject;
?>
</a></h2>
    <?php 
Пример #18
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $sms5_skin_url . '/mobile.css">', 0);
?>

<div id="sms5_send" class="new_win">
    <h1 id="win_title">SMS 보내기</h1>

    <div id="send_write">
        <form action="<?php 
echo $action_url;
?>
" onsubmit="return smssend_submit(this);" name="smsform" method="post" autocomplete="off">
        <input type="hidden" name="token" value="<?php 
echo $token;
?>
">
        <input type="hidden" name="mh_hp" value="">
        <input type="hidden" name="mb_id" value="<?php 
echo $mb_id;
?>
">
        <h2>보낼내용</h2>
        <div class="sms5_box">
            <span class="box_ico"></span>
            <label for="mh_message" id="wr_message_lbl">내용</label>
Пример #19
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $latest_skin_url . '/style.css">', 0);
?>

<div class="lt">
    <a href="<?php 
echo G5_BBS_URL;
?>
/board.php?bo_table=<?php 
echo $bo_table;
?>
" class="lt_title" onclick="return false"><strong><?php 
echo $bo_subject;
?>
</strong></a>
    <ul>
    <?php 
for ($i = 0; $i < count($list); $i++) {
    ?>
        <li>
            <?php 
    //echo $list[$i]['icon_reply']." ";
    echo "<a href=\"" . $list[$i]['href'] . "\">";
    if ($list[$i]['is_notice']) {
        echo "<strong>" . $list[$i]['subject'] . "</strong>";
Пример #20
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") {
Пример #21
0
<?php

define('G5_IS_ADMIN', true);
include_once '../../common.php';
include_once G5_ADMIN_PATH . '/admin.lib.php';
if (!strstr($_SERVER['PHP_SELF'], 'install.php')) {
    if (!mysql_num_rows(mysql_query(" show tables like '{$g5['sms5_config_table']}' "))) {
        goto_url('install.php');
    }
    // SMS 설정값 배열변수
    //$sms5 = sql_fetch("select * from ".$g5['sms5_config_table'] );
}
add_stylesheet('<link rel="stylesheet" href="' . G5_SMS5_ADMIN_URL . '/css/sms5.css">', 0);
Пример #22
0
$sql = "select * from {$g5['surveys_c_table']} where su_id = '{$su_id}'";
$result = sql_query($sql);
$categories = array();
while ($row = sql_fetch_array($result)) {
    $categories[] = $row;
}
// 질문출력
$sql = "select * from {$g5['surveys_q_table']} where su_id = '{$su_id}' order by suq_sort asc";
$result = sql_query($sql);
$results = array();
while ($row = sql_fetch_array($result)) {
    $results[] = $row;
}
$g5['title'] = '설문조사 관리';
include_once G5_ADMIN_PATH . '/admin.head.php';
add_stylesheet('<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" />', 0);
?>

<style type="text/css">
ul { list-style: none; padding: 0; }
.surveys_items li{ padding: 10px 20px; border-top: 1px dashed #ccc; border-bottom: 1px dashed #ccc; }
.surveys_items dd { padding: 5px 0; }

.add_surveys_item {  }
.add_surveys_item a { display: block; height: 40px; line-height: 40px; text-align: center; }
</style>
<h2 class="sound_only">항목분류관리</h2>

<div class="local_desc01 local_desc">
	<ul>
		<li>질문삭제는 질문란에 아무것도 입력하지 않고 저장하시면 됩니다.</li>
Пример #23
0
<?php

echo "<script>console.log('proc_Log : outlogin.skin.2.php');</script>";
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $outlogin_skin_url . '/style.css">', 0);
?>

<!-- 로그인 후 아웃로그인 시작 { -->
<section id="ol_after" class="ol">
    <header id="ol_after_hd">
        <h2>나의 회원정보</h2>
        <strong><?php 
echo $nick;
?>
님</strong>
        <?php 
if ($is_admin == 'super' || $is_auth) {
    ?>
<a href="<?php 
    echo G5_SINSUN_URL;
    ?>
/manager.php" class="btn_admin">일마감 보기</a><?php 
}
?>
        <?php 
if ($is_admin == 'super' || $is_auth) {
    ?>
<a href="<?php 
    echo G5_SINSUN_URL;
    ?>
/regist_expense.php" class="btn_admin">지출등록</a><?php 
Пример #24
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
add_stylesheet('<link type="text/css" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css" rel="stylesheet" />', 0);
add_stylesheet('<link type="text/css" href="' . G5_PLUGIN_URL . '/jquery-ui/style.css">', 0);
?>

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js"></script>
<script>
jQuery(function($){
    $.datepicker.regional["ko"] = {
        closeText: "닫기",
        prevText: "이전달",
        nextText: "다음달",
        currentText: "오늘",
        monthNames: ["1월(JAN)","2월(FEB)","3월(MAR)","4월(APR)","5월(MAY)","6월(JUN)", "7월(JUL)","8월(AUG)","9월(SEP)","10월(OCT)","11월(NOV)","12월(DEC)"],
        monthNamesShort: ["1월","2월","3월","4월","5월","6월", "7월","8월","9월","10월","11월","12월"],
        dayNames: ["일","월","화","수","목","금","토"],
        dayNamesShort: ["일","월","화","수","목","금","토"],
        dayNamesMin: ["일","월","화","수","목","금","토"],
        weekHeader: "Wk",
        dateFormat: "yymmdd",
        firstDay: 0,
        isRTL: false,
        showMonthAfterYear: true,
        yearSuffix: ""
    };
	$.datepicker.setDefaults($.datepicker.regional["ko"]);
Пример #25
0
<?php

if (!defined("_GNUBOARD_")) {
    exit;
}
// 개별 페이지 접근 불가
add_stylesheet("<link rel=\"stylesheet\" href=\"{$poll_skin_url}/poll.css\">");
?>
<div class="poll">
    <form name="fpoll" action="<?php 
echo G5_BBS_URL;
?>
/poll_update.php" onsubmit="return fpoll_submit(this);" method="post">
    <input type="hidden" name="po_id" value="<?php 
echo $po_id;
?>
">
    <input type="hidden" name="skin_dir" value="<?php 
echo $skin_dir;
?>
">

    <h2><a>설문조사</a> <span class="point"><?php 
echo number_format($po['po_point']);
?>
 포인트 적립</span></h2>

    <ul>
        <li class="question">
            <?php 
echo $po['po_subject'];
Пример #26
0
    if (!preg_match('/\\.+/', $template)) {
        $templates[] = $template;
    }
}
// 효과 목록
$effects = array();
$effects_path = scandir('./templates/effects/');
foreach ($effects_path as $effect) {
    if (!preg_match('/^\\./', $effect)) {
        $effects[] = $effect;
    }
}
$g5['title'] = '이미지 슬라이드 관리';
include_once G5_ADMIN_PATH . '/admin.head.php';
include_once G5_PLUGIN_PATH . '/jquery-ui/datepicker.php';
add_stylesheet('<link rel="stylesheet" href="' . G5_WS_ADMIN_URL . '/styles/style.css">', 0);
add_javascript('<script src="' . G5_WS_ADMIN_URL . '/scripts/jquery.form.min.js"></script>', 0);
add_javascript('<script src="' . G5_WS_ADMIN_URL . '/scripts/common.js"></script>', 0);
$pg_anchor = '<ul class="anchor">
    <li><a href="#anc_ws_basic">기본환경</a></li>
    <li><a href="#anc_ws_design">테마/효과</a></li>
    <li><a href="#anc_ws_images">이미지</a></li>
</ul>';
if ($w == 'u') {
    $sql = 'select * from `' . $g5['ws_master_table'] . '` where ws_id = "' . $ws_id . '"';
    $ws = sql_fetch($sql);
    $ws_id = $ws['ws_id'];
    $ws_auto_play = $ws['ws_auto_play'] == 'Y' ? ' checked="checked" ' : '';
    $ws_pause_on_mouseover = $ws['ws_pause_on_mouseover'] == 'Y' ? ' checked="checked" ' : '';
    $ws_stop_slideshow = $ws['ws_stop_slideshow'] == 'Y' ? ' checked="checked" ' : '';
    $ws_random_order = $ws['ws_random_order'] == 'Y' ? ' checked="checked" ' : '';
Пример #27
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
?>

<div class="mbskin">
    <script src="<?php 
echo G5_JS_URL;
?>
/jquery.register_form.js"></script>
    <?php 
if ($config['cf_cert_use'] && ($config['cf_cert_ipin'] || $config['cf_cert_hp'])) {
    ?>
    <script src="<?php 
    echo G5_JS_URL;
    ?>
/certify.js"></script>
    <?php 
}
?>

    <form name="fregisterform" id="fregisterform" action="<?php 
echo $register_action_url;
?>
" onsubmit="return fregisterform_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off">
    <input type="hidden" name="w" value="<?php 
Пример #28
0
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
if (!$at_set['font']) {
    $at_set['font'] = 'ko';
}
add_stylesheet('<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,300,500,500italic,700,900,400italic,700italic">', 0);
add_stylesheet('<link rel="stylesheet" href="' . THEMA_URL . '/assets/bs3/css/bootstrap.min.css" type="text/css" media="screen">', 0);
add_stylesheet('<link rel="stylesheet" href="' . COLORSET_URL . '/colorset.css" type="text/css" media="screen">', 0);
?>
<div class="<?php 
echo $at_set['font'];
echo G5_IS_MOBILE ? ' mobile-font' : '';
?>
">
Пример #29
0
    $history->his_output_type = 'y';
    $history->his_sort = 'asc';
    $history->his_skin = 'basic';
    $history->his_mobile_skin = 'basic';
    $his_id_readonly = false;
} else {
    $sql = "select * from `{$g5['history_master_table']}` where his_id = '{$his_id}'";
    $history = (object) sql_fetch($sql);
    $his_id_readonly = true;
}
$_history_output_type[$history->his_output_type] = ' checked="checked" ';
$_history_sort[$history->his_sort] = ' checked="checked" ';
$_history_use_group = $history->his_use_group == 'Y' ? ' checked="checked" ' : '';
$g5['title'] = '연혁그룹 추가';
include_once G5_ADMIN_PATH . '/admin.head.php';
add_stylesheet('<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.0/css/smoothness/jquery-ui-1.10.0.custom.min.css" /><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.0/css/smoothness/jquery-ui-1.10.0.custom.min.css" />');
add_javascript('<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js"></script>');
add_javascript('<script type="text/javascript" src="' . G5_HISTORY_ADMIN_URL . '/scripts.js"></script>');
?>

<form name="frmwowmasterform" id="frmwowmasterform" action="./history_update.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="token" value="<?php 
echo $token;
?>
" id="token">
<input type="hidden" name="w" value="<?php 
echo $w;
?>
">
	<div id="history_config">
		<h2>연혁 환경 설정</h2>
Пример #30
0
<?php

if (!defined("_GNUBOARD_")) {
    exit;
}
// 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $search_skin_url . '/style.css">', 0);
?>

<!-- 전체검색 시작 { -->

<form name="fsearch" onsubmit="return fsearch_submit(this);" class="form-inline text-center well well-sm" method="get">
<input type="hidden" name="srows" value="<?php 
echo $srows;
?>
">
    <div class="form-group">
    <label class="sound_only">상세검색</label>
    <?php 
echo $group_select;
?>
	<script>document.getElementById("gr_id").value = "<?php 
echo $gr_id;
?>
";</script>
    </div>
    <div class="form-group">
    <label for="sfl" class="sound_only">검색조건</label>
    <select name="sfl" id="sfl" class="form-control">
        <option value="wr_subject||wr_content"<?php