<?
/**
* ZENAPLUS
*
* Copyright (c) 2006-05-18 Park Gwan Su <www.zeronara.net>
* e-mail : [email protected]
* You are free: to Remix - to adapt the work
* Attribution : You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
* Share Alike : If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.
* Nothing in this license impairs or restricts the author's moral rights.
**/
댓글 2개
/**
* ZENAPLUS
*
* Copyright (c) 2006-05-18 Park Gwan Su <www.zeronara.net>
* e-mail : [email protected]
* You are free: to Remix - to adapt the work
* Attribution : You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
* Share Alike : If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.
* Nothing in this license impairs or restricts the author's moral rights.
**/
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/zenaplus.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
?>
<!-- zenaplus -->
<div align="<?=$zalign?>">
<!-- zenalayout -->
<div id="zenalayout" style="width:<?=$ztotalwidth?>px">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<td colspan=2 align=center valign=top>
<!-- head -->
<div id="head">
<!-- zn_top_left -->
<div class="zn_top_left"><?=zn_latestbanner("logo","totalbanner", logo, 1); ?></div>
<!-- // zn_top_left -->
<!-- zn_top_right -->
<div class="zn_top_right">
<!-- zn_top_righttop -->
<div class="zn_top_righttop">
<? if ($is_admin == "super" || $is_auth) { ?><a href="<?=$g4['admin_path']?>/">관리자</a><? } ?>
<? if ($is_member) { ?>
|
<a href='<?=$g4[bbs_path]?>/logout.php'>로그아웃</a>
<? } else { ?>
<a href='<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>'>로그인</a>
|
<a href='<?=$g4[bbs_path]?>/register.php'>회원가입</a>
<? } ?>
|
<a href="<?=$g4['bbs_path']?>/new.php">최근게시물</a>
|
<a href="<?=$g4['bbs_path']?>/board.php?bo_table=html4">사이트맵</a>
|
<a href='<?=$g4['bbs_path']?>/current_connect.php'>현재접속자</a><br><br>
</div>
<!-- // zn_top_right -->
<div align="right">
<!-- search -->
<div class="search">
<form name="fsearchbox" method="get" onsubmit="return fsearchbox_submit(this);">
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<table cellpadding="0" cellspacing="0"><tr><td>
<Input name=stx itemname="검색어" style="height:32px; border-width:4px 0 4px 4px; border-style:solid; border-color:#00A7F5; width:300px; font-weight:700; padding:5px;" minlength="2">
</td><td>
<input type="image" src="<?=$g4['path']?>/img/btn_search01.gif" width="65" height="32" border="0" alt="검색" align="absmiddle">
</td></tr></table>
</form>
<script language="javascript">
function fsearchbox_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++) {
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
/*
if (cnt > 1) {
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return false;
}
*/
f.action = "<?=$g4['bbs_path']?>/search.php";
return true;
}
</script>
</div>
<!-- // search -->
</div>
</div>
<!-- zn_top_right -->
<!-- zn_topmenu-->
<div class="zn_topmenu"><?=zn_topmenu("$gr_id", "$bo_table"); // topmenu?></div>
<!-- // zn_topmenu -->
</div>
<!-- // head -->
</td></tr>
<tr><td align=center valign=top>
<!-- left -->
<div id="left" style="width:<?=$zleftwidth?>px" onmouseover="layer_view('','','','','')">
<?=outlogin(); // login ?>
<?//=zn_leftmenu("$gr_id", "$bo_table"); // LEFT MENU?>
<?=zn_latestbanner("prbanner","totalbanner", main_left, 100); ?>
<?=poll(); // POLL?>
<?=zn_birth(); // birth?>
<?=zn_schedule("html5"); //SCHEDULE?>
<?=popular(); // popular?>
<?=visit(); // VISIT?>
<?=connect(); // CONNECT?>
</div>
<!-- // left -->
</td>
<td align=center valign=top>
<!-- index -->
<div id="index" style="width:<?=($ztotalwidth-$zleftwidth-10)?>px;" onmouseover="layer_view('','','','','')">