?> </div> </div> <hr> <?php echo poll('basic'); // 설문조사 ?> <hr> <div id="ft"> <?php echo popular('basic'); // 인기검색어 ?> <?php echo visit('basic'); // 방문자수 ?> <div id="ft_copy"> <div id="ft_company"> <a href="<?php echo G5_BBS_URL; ?> /content.php?co_id=company">회사소개</a> <a href="<?php echo G5_BBS_URL; ?>
?> </div> </div> <hr> <?php echo poll('theme/basic'); // 설문조사 ?> <hr> <div id="ft"> <?php echo popular('theme/basic'); // 인기검색어 ?> <?php echo visit('theme/basic'); // 방문자수 ?> <div id="ft_copy"> <div id="ft_company"> <a href="<?php echo G5_BBS_URL; ?> /content.php?co_id=company">회사소개</a> <a href="<?php echo G5_BBS_URL; ?>
<?php if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 ?> </div> </div> <hr> <?php echo poll('basic'); // 설문조사 ?> <hr> <div id="ft"> <?php echo popular('basic'); // 인기검색어 ?> <?php echo visit('basic'); // 방문자수 ?> <div id="ft_copy"> <div id="ft_company"> <a href="<?php echo G5_BBS_URL; ?>/content.php?co_id=company">회사소개</a> <a href="<?php echo G5_BBS_URL; ?>/content.php?co_id=privacy">개인정보취급방침</a> <a href="<?php echo G5_BBS_URL; ?>/content.php?co_id=provision">서비스이용약관</a> </div> Copyright © <b>소유하신 도메인.</b> All rights reserved.<br> <a href="#">상단으로</a> </div> </div> <?php if(G5_DEVICE_BUTTON_DISPLAY && G5_IS_MOBILE) { ?> <a href="<?php echo get_device_change_url(); ?>" id="device_change">PC 버전으로 보기</a> <?php }
function popular_list($post_id, $taxonomy, $before = '', $sep = '', $after = '', $threshold = 1) { // Get the popular terms using our built-in utility function if (empty($terms = (array) popular($post_id, $taxonomy, $threshold))) { return false; } // Cycle through the terms and create HTML links foreach ($terms as $term) { $link = get_term_link($term, $taxonomy); if (is_wp_error($link)) { return $link; } $term_links[] = sprintf('<a href="%s" rel="tag">%s</a>', $link, $term->name); } $term_links = apply_filters("term_links-{$taxonomy}", $term_links); return $before . join($sep, $term_links) . $after; }
<?php require_once "../models/user.php"; if (isset($_POST["id"]) && isset($_POST["password"]) && isset($_POST["userList"])) { $userType = $_POST["userList"]; $user = array(); $user["name"] = $_POST["id"]; $user["password"] = $_POST["password"]; if ($userType == "popular") { popular($user); } else { if ($userType == "pro") { professional($user); } else { if ($userType == "establishment") { establishment($user); } else { organizer($user); } } } } else { echo "No llegan los datos del formulario."; } function popular($user) { $u = new User(); $boolean = $u->selectPopular($user); if ($boolean == true) { session_start(); $_SESSION["validated"] = "Popular";