<?php include_once "./_common.php"; include_once "{$g4['path']}/lib/latest.lib.php"; $g4['title'] = ""; include_once "./_head.php"; ?> <!-- 메인화면 최신글 시작 --> <table width="100%" cellpadding=0 cellspacing=0><tr><td valign=top> <?php // 최신글 $sql = " select bo_table, bo_subject from {$g4['board_table']} order by gr_id, bo_table "; $result = sql_query($sql); for ($i = 0; $row = sql_fetch_array($result); $i++) { // 이 함수가 바로 최신글을 추출하는 역할을 합니다. // 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다. // 사용방법 // latest(스킨, 게시판아이디, 출력라인, 글자수); echo latest("basic", $row['bo_table'], 10, 70); echo "<p>\n"; } ?> </td></tr></table> <!-- 메인화면 최신글 끝 --> <?php include_once "./_tail.php";
if (!defined('_GNUBOARD_')) { exit; } // 개별 페이지 접근 불가 if (!$is_admin && $group['gr_device'] == 'pc') { alert($group['gr_subject'] . ' 그룹은 PC에서만 접근할 수 있습니다.'); } include_once G5_THEME_MOBILE_PATH . '/head.php'; ?> <!-- 메인화면 최신글 시작 --> <?php // 최신글 $sql = " select bo_table, bo_subject\n from {$g5['board_table']}\n where gr_id = '{$gr_id}'\n and bo_list_level <= '{$member['mb_level']}'\n and bo_device <> 'pc' "; if (!$is_admin) { $sql .= " and bo_use_cert = '' "; } $sql .= " order by bo_order "; $result = sql_query($sql); for ($i = 0; $row = sql_fetch_array($result); $i++) { // 이 함수가 바로 최신글을 추출하는 역할을 합니다. // 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다. // 사용방법 // latest(스킨, 게시판아이디, 출력라인, 글자수); echo latest('theme/basic', $row['bo_table'], 5, 70); } ?> <!-- 메인화면 최신글 끝 --> <?php include_once G5_THEME_MOBILE_PATH . '/tail.php';
<nav class="cl-effect-12" id="links"> <a id="follow" onclick="follow()" >Follow</a> <a href="propose.php?hire=<?php echo $_GET['view']; ?> ">Hire</a> <a href="Createmessage.php?to=<?php echo $_GET['view']; ?> ">Contact</a> </nav> </section> </p> </section> <div> <div style="font-size:45px; padding-left:10px; color:rgba(20,20,20,1);background-color:rgba(51,204,102,0.7);margin-bottom:10px"> <span >Latest</span> </div> <?php latest(); ?> </div> <?php include "basiclayout.php"; ?>
$wn = 1; // 위젯 대표아이디 설정 $wid = 'tracking-main-board'; // 게시판 제목 폰트 설정 $font = 'font-16 en'; // 게시판 제목 하단라인컬러 설정 - red, blue, green, orangered, black, orange, yellow, navy, violet, deepblue, crimson.. $line = 'red'; ?> <style> .widget-index .at-main, .widget-index .at-side { padding-bottom:0px; } .widget-index .div-title-underbar { margin-bottom:15px; } .widget-index .div-title-underbar span { padding-bottom:4px; } .widget-box { margin-bottom:25px; } </style> <div class="container widget-index"> <div class="h20"></div> <div class="widget-box"> <?php //echo latest("tracking_basic","ad_list",10); ?> <?php echo latest("tracking_basic", "ad_list", 10); ?> </div> </div>
} if (G5_IS_MOBILE) { include_once G5_MOBILE_PATH . '/index.php'; return; } include_once './_head.php'; ?> <div class="row"> <div class="col-md-4"> <?php echo latest("basic", "board01", 4, 34); ?> </div> <div class="visible-xs"><hr><!--모바일에서 간격을 주기--></div> <div class="col-md-4"> <?php echo latest("basic", "board02", 4, 34); ?> </div> <div class="visible-xs"><hr><!--모바일에서 간격을 주기--></div> <div class="col-md-4"> <?php echo latest("basic", "board03", 4, 34); ?> </div> </div> <?php include_once './_tail.php';
<?php $board_url = "http://www.actbest.com/board/bbs"; // 킴스보드 7이 설치된 URL $board_path = "www/board/bbs"; // 킴스보드 7이 설치된 절대경로 include $board_path . "/template/latest/kims_demo_notice.php"; // latest.php include ?> <?php latest("", "자유게시판", "gonji", 5, 45, 250, 72, "", "_new"); ?>
<style> #left_nav a{display:block; font-size:18px; border:1px solid rgb(54,25,25);background-color:rgba(54,25,25,.5); color:#ffffff;padding:7px 10px 7px 10px; text-shadow:0px 0px #000000} #left_nav a:hover{background-color:rgba(54,25,25,.9); } #left_nav a:active{background-color:rgba(54,25,25,1.0);} </style> <div data-role="page" data-theme="p" id="view" style=" background:url(<?php echo $bg_name; ?> ); background-size:cover; background-position:center center"> <?php echo latest("mobile_banner_top", "i01_banner_" . $project_code, 100, 0, "RAND()", "", "myhome_intro", ""); ?> <div style=" font-size:3.5em; text-shadow:5px 5px 10px rgba(25,25,25,.4); background:rgba(25,25,25,.4); color:#ffffff; padding:4px 0px 0px 8px;"> <?php echo $prefux_title . $view[subject]; ?> </div> <?php $url_short = "http://" . $_SERVER['HTTP_HOST'] . "/" . $result_serial; //$url_short="http://emoa.kr/42354"; ?> <div style=" font-size:1.3em; padding:0px 12px 8px 12px; text-shadow:0px 0px 0px #000000; background:rgba(25,25,25,.4); color:#ffffff; "> <div style=" float:right;font-size:12px; padding-top:3px;">(<span id="cdDiv">10</span>초 후 자동이동)</div><?php echo $url_short; ?> </div>
<!-- } 할인상품 끝 --> <?php } ?> <!-- 커뮤니티 최신글 시작 { --> <section id="sidx_lat"> <h2>커뮤니티 최신글</h2> <?php echo latest('shop_basic', 'notice', 5, 30); ?> <?php echo latest('shop_basic', 'free', 5, 25); ?> <?php echo latest('shop_basic', 'qa', 5, 20); ?> </section> <!-- } 커뮤니티 최신글 끝 --> <?php echo poll('shop_basic'); // 설문조사 ?> <?php echo visit('shop_basic'); // 접속자 ?> <?php
) values (NULL, ?, ?, ?, ?, ?);'; $sql->prepare($query); $sql->bind_param('iidds', $user_id, $task_id, $score, $timeused, $text); $sql->execute(); } } } else { error('Grade the unknown Task! task_id : ' + $task_id); } } else { $text = 'cmperr'; $score = 0; $timeused = 0; } //WRITE LATEST $latest = latest($task_id, $user_id); if ($latest['success']) { $query = 'update `latest` set `score` = ?, `timeused` = ?, `text` = ? where `latest_id` = ?;'; $sql->prepare($query); $sql->bind_param('ddsi', $score, $timeused, $text, $latest['latest_id']); $sql->execute(); } else { $query = 'insert into `latest` ( `latest_id`, `user_id`, `task_id`, `score`,
$query = 'select `task_id` from `pass` where `user_id` = ?;'; $b->prepare($query); $b->bind_param('i', $my['user_id']); $b->execute(); $b->bind_result($pass_task_id); $passed = array(); while ($b->fetch()) { $passed[$pass_task_id] = true; } } while ($sql->fetch()) { // Old-fashion obsoleted. // $link = 'doc/' . $name_short . '.pdf'; // New fashion. $link = 'doc.php?id=' . $task_id; $latest = latest($task_id, $my['user_id']); $query = 'select `user_id` from `like` where `task_id` = ?;'; $b->prepare($query); $b->bind_param('i', $task_id); $b->execute(); $b->bind_result($like_user_id); $like_count = 0; $like_names = ''; $first = true; $liked = 0; while ($b->fetch()) { $like_count++; if ($like_user_id == $my['user_id']) { $liked = 1; } $user = user($like_user_id);
}); </script> </div> <?php } // is_member ?> <?php $side[] = ob_get_clean(); ?> <?php ob_start(); $tmp = sql_fetch("select * from {$g5['board_table']} where bo_table = 'notice' "); if ($tmp) { echo "<div class='block'>" . latest("theme/mw5", "notice", 5) . "</div>"; } else { echo "<div class='block'>공지사항은 notice 게시판 생성시 자동으로 출력됩니다.</div>"; } $side[] = ob_get_clean(); ?> <div class="sidebar-nav"> <ul> <?php for ($i = 0; $row = $mw5_menu[$i]; $i++) { //if (!defined("_INDEX_") && $menu && substr($menu['me_code'], 0, 2) != substr($row['me_code'], 0, 2)) { continue; } echo "<li class=\"sidebar-brand\">"; echo "<a href=\"{$row['me_link']}\" target=\"_{$row['me_target']}\">{$row['me_name']}</a>"; echo "</li>\n"; for ($j = 0; $row2 = $mw5_menu[$i]['sub'][$j]; $j++) {
include_once G5_THEME_PATH . '/head.php'; ?> <header class="intro-header" style="background-image: url('<?php echo G5_THEME_IMG_URL; ?> /home-bg.jpg')"> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <div class="site-heading"> <h1>익명닉네임 블로그</h1> <hr class="small"> <span class="subheading">그누보드5 테마 베타버전 으로 구축된 블로그 입니다.</span> </div> </div> </div> </div> </header> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <?php echo latest('theme/basic', board, 5, 25); ?> </div> </div> </div> <?php include_once G5_THEME_PATH . '/tail.php';
<li><a href="http://www.miwit.com" target="_blank"><img src="http://gnuboard5.com/08.png"></a></li> --> </ul> </div> <script> $(document).ready(function() { $('.banner').mw_slider({ way:'left', delay:3000, }); }); </script> <div class="latest"> <?php $i = 1; while ($latest_table = array_shift($list)) { $mw_skin_config = mw_skin_config($latest_table); if ($mw_skin_config['cf_attribute'] == "1:1") { continue; } echo "<div class=\"item\">" . latest("theme/mw5", $latest_table, 5, 50, 0) . "</div>"; if ($i++ % 2 == 0) { echo "</div><div class=\"latest\">"; } } ?> </div> <?php include_once G5_THEME_PATH . '/tail.php';
<td width="10"> </td> <td> <div id="zone01" style="display:none"><?php echo latest("main_joy_latest2", "{$grid}_free", 4, 30, "RAND()", "", ""); ?> </div> <div id="zone02" style="display:none"><?php echo latest_sql("main_joy_latest2", "03_cartoon", 4, 30, "", "RAND()", "3650"); ?> </div> <div id="zone03" style="display:none"><?php echo latest_sql("main_joy_latest2", "03_bizarre", 4, 30, "", "RAND()", "7"); ?> </div> <div id="zone04" style="display:none"><?php echo latest("main_joy_latest2", "03_game", 4, 30, "", "", ""); ?> </div> <div id="zone05" style="display:block"><?php echo latest_sql("main_joy_latest2", "03_movie", 4, 30, "", "RAND()", "7"); ?> </div> </td> </tr> </table> </td> </tr> </table>
include_once './_head.php'; ?> <!-- 메인화면 최신글 시작 --> <?php // 최신글 $sql = " select bo_table, bo_subject\n from {$g5[board_table]}\n where gr_id = '{$gr_id}'\n and bo_list_level <= '{$member[mb_level]}'\n and bo_device <> 'mobile' "; if (!$is_admin) { $sql .= " and bo_use_cert = '' "; } $sql .= " order by bo_order "; $result = sql_query($sql); for ($i = 0; $row = sql_fetch_array($result); $i++) { $lt_style = ""; if ($i % 2 == 1) { $lt_style = "margin-left:20px"; } else { $lt_style = ""; } ?> <?php // 이 함수가 바로 최신글을 추출하는 역할을 합니다. // 사용방법 : latest(스킨, 게시판아이디, 출력라인, 글자수); echo latest('basic', $row['bo_table'], 5, 70); } ?> <!-- 메인화면 최신글 끝 --> <?php include_once './_tail.php';
//alert('nhn'); $(document).ready(function() { //lcs_set_current_location(); }); </script> <?php } } ?> <?php if ($_GET[bo_table] == "i01_menu_" . $project_code && $view[wr_3]) { echo '<div >'; echo latest("mobile_banner_bottom", "i01_banner_" . $project_code, 100, 0, "RAND()", "", $view[wr_3], ""); echo '</div>'; } ?> <?php if (_DEVELOP_) { include './visit_insert.inc.php'; include './visit.inc.php'; } ?> <script> <?php if ($view[wr_11] >= 2) {
<?php if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 include_once(G5_MOBILE_PATH.'/_head.php'); ?> <!-- 메인화면 최신글 시작 --> <?php // 최신글 $sql = " select bo_table from `{$g5['board_table']}` a left join `{$g5['group_table']}` b on (a.gr_id=b.gr_id) where a.bo_device <> 'pc' "; if(!$is_admin) $sql .= " and a.bo_use_cert = '' "; $sql .= " order by b.gr_order, a.bo_order "; $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { // 이 함수가 바로 최신글을 추출하는 역할을 합니다. // 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다. // 사용방법 // latest(스킨, 게시판아이디, 출력라인, 글자수); echo latest("basic", $row['bo_table'], 5, 25); } ?> <!-- 메인화면 최신글 끝 --> <?php include_once(G5_MOBILE_PATH.'/_tail.php'); ?>
$g4_path = ".."; include_once "{$g4_path}/common.php"; include_once "{$g4['path']}/lib/latest.lib.php"; $g4[title] = $group[gr_subject]; include_once "./_head.php"; ?> <!-- 메인화면 최신글 시작 --> <table width="100%" cellpadding=0 cellspacing=0> <tr> <td valign=top> <?php // 최신글 $sql = " select bo_table, bo_subject from {$g4['board_table']}\r\n where gr_id = '{$gr_id}'\r\n and bo_list_level <= '{$member['mb_level']}'\r\n order by bo_table "; $result = sql_query($sql); for ($i = 0; $row = sql_fetch_array($result); $i++) { // 이 함수가 바로 최신글을 추출하는 역할을 합니다. // 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다. // 사용방법 // latest(스킨, 게시판아이디, 출력라인, 글자수); echo latest("basic", $row[bo_table], 5, 70); echo "<p>"; } ?> </td> </tr> </table> <!-- 메인화면 최신글 끝 --> <?php include_once "./_tail.php";
<!-- } 할인상품 끝 --> <?php } ?> <!-- 커뮤니티 최신글 시작 { --> <section id="sidx_lat"> <h2>커뮤니티 최신글</h2> <?php echo latest('theme/shop_basic', 'notice', 5, 30); ?> <?php echo latest('theme/shop_basic', 'free', 5, 25); ?> <?php echo latest('theme/shop_basic', 'qa', 5, 20); ?> </section> <!-- } 커뮤니티 최신글 끝 --> <?php echo poll('theme/shop_basic'); // 설문조사 ?> <?php echo visit('theme/shop_basic'); // 접속자 ?> <?php
</div> <div id="main"> <div> <h2> <?php $name = $_GET['name']; echo $name; ?> </h2> </div> <div id="featured"> <?php include 'parse.php'; include 'videoinfo.php'; $vid = $_GET['show_id']; $link = latest('http://openapi.youku.com/v2/shows/videos.json?client_id=ce905694ae10ccab&show_id=' . $vid); player($link); ?> </div> </div> </div> </body> </html>