Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
@ -3,13 +3,13 @@
|
||||
/* 초기화 */
|
||||
html {overflow-y:scroll}
|
||||
body {margin:0;padding:0;background:#f7f7f2;font-size:0.75em;font-family:"dotum"}
|
||||
html, body, h1, h2, h3, h4, h5, h6, form, img {margin:0;padding:0;border:0}
|
||||
html, body, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
|
||||
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:"dotum"}
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
|
||||
header ul, nav ul, footer ul {margin:0;padding:0;list-style:none}
|
||||
label, input, select, img {vertical-align:middle}
|
||||
input {margin:0;padding:0;font-family:"dotum"}
|
||||
p {margin:5px 0;padding:10px 0;line-height:1.5em}
|
||||
p {margin:0;padding:10px 0;line-height:1.5em}
|
||||
hr {display:none}
|
||||
|
||||
/* 웹접근성 스킬 --- 기본 block 속성에는 적용 안됨*/
|
||||
@ -63,6 +63,16 @@ hr {display:none}
|
||||
#idx_catch {margin-bottom:10px;padding: 29px 0 30px}
|
||||
|
||||
/* ///// 스킨별 스타일 ///// */
|
||||
/* 아웃로그인 스킨 */
|
||||
.ol {margin-bottom:10px;padding:14px;border:1px solid #ececec;background:#fff}
|
||||
.ol h2 {width:0;height:0;overflow:hidden}
|
||||
|
||||
/* 설문조사 스킨 */
|
||||
#poll {padding:14px;border:1px solid #ececec;background:#fff}
|
||||
#poll ul {margin:0 0 10px;padding:0;list-style:none}
|
||||
#poll li {padding:3px 0}
|
||||
#poll footer {text-align:right}
|
||||
|
||||
/* 최근게시물 스킨 */
|
||||
.lt {float:left;margin-bottom:20px;padding:20px;width:314px;height:149px;border-right:1px solid #ececec;border-bottom:1px solid #ececec;background:#fff}
|
||||
.lt ul {margin:0;padding:0;list-style:none}
|
||||
|
||||
4
head.php
4
head.php
@ -19,7 +19,7 @@ include_once($g4['path'].'/lib/popular.lib.php');
|
||||
<h1><?=$config['cf_title']?></h1>
|
||||
|
||||
<ul id="snb">
|
||||
<li><a href="<?=$g4['bbs_path']?>/current_connect.php">현재접속자</a></li>
|
||||
<li><a href="<?=$g4['bbs_path']?>/current_connect.php">현재접속자 <?=connect(); // 현재 접속자수 ?></a></li>
|
||||
<li><a href="<?=$g4['bbs_path']?>/new.php">최근게시물</a></li>
|
||||
<? if ($is_member) { ?>
|
||||
<? if ($is_admin) { ?><li><a href="<?=$g4['path']?>/adm">관리자</a></li><? } ?>
|
||||
@ -49,8 +49,6 @@ include_once($g4['path'].'/lib/popular.lib.php');
|
||||
<div id="lnb">
|
||||
<?=outlogin('neo'); // 외부 로그인 ?>
|
||||
<?=poll('neo'); // 설문조사 ?>
|
||||
<?=visit("neo"); // 방문자수 ?>
|
||||
<?=connect(); // 현재 접속자수 ?>
|
||||
</div>
|
||||
<div id="container">
|
||||
<? if ((!$bo_table || $w == 's' ) && !defined("_INDEX_")) {?><h1 id="wrapper_title"><?=$g4['title']?></h1><?}?>
|
||||
|
||||
1
main.php
1
main.php
@ -18,7 +18,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
// 사용방법
|
||||
// latest(스킨, 게시판아이디, 출력라인, 글자수);
|
||||
echo latest("neo", $row['bo_table'], 5, 25);
|
||||
//if ($i==9) break;
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
@ -2,7 +2,4 @@
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<section id="current_connect">
|
||||
<h2>현재접속자</h2>
|
||||
<div><a href="<?=$g4['bbs_path']?>/current_connect.php"><?=$row['total_cnt']?>명 중 회원 <?=$row['mb_cnt']?>명</a></div>
|
||||
</section>
|
||||
<strong><?=$row['total_cnt']?></strong>명 중 회원 <?=$row['mb_cnt']?>명
|
||||
|
||||
@ -1,9 +1,8 @@
|
||||
<?
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if ($lt_margin == 0) $lt_style = "style=\margin-left:20px\"";
|
||||
?>
|
||||
|
||||
<div class="lt" <?=$lt_style?>>
|
||||
<div class="lt">
|
||||
<?=$lt_margin?>
|
||||
<strong class="lt_title"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>"><?=$board['bo_subject']?></a></strong>
|
||||
<ul>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<section id="ol_before" class="outlogin">
|
||||
<section id="ol_before" class="ol">
|
||||
<h2>멤버쉽</h2>
|
||||
<!-- 로그인 전 외부로그인 시작 -->
|
||||
<form name="foutlogin" method="post" action="<?=$outlogin_action_url?>" onsubmit="return fhead_submit(this);" autocomplete="off">
|
||||
|
||||
1
tail.php
1
tail.php
@ -9,6 +9,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<footer id="ft">
|
||||
<h1><?=$config['cf_title']?> 정보</h1>
|
||||
<?=popular('neo'); // 인기검색어 ?>
|
||||
<?=visit("neo"); // 방문자수 ?>
|
||||
<div id="ft_catch"><img src="<?=$g4['path']?>/img/ft_catch.jpg" alt="Sharing All Possibilities"></div>
|
||||
<div id="ft_copy">
|
||||
<p>Copyright © <b>소유하신 도메인.</b> All rights reserved.</p>
|
||||
|
||||
Reference in New Issue
Block a user