Merge branch 'master' of github.com:gnuboard/yc4s
This commit is contained in:
@ -9,7 +9,7 @@ $url = $_GET['url'];
|
||||
$p = parse_url($url);
|
||||
if ((isset($p['scheme']) && $p['scheme']) || (isset($p['host']) && $p['host'])) {
|
||||
//print_r2($p);
|
||||
if ($p['host'] != $_SERVER['HTTP_HOST'])
|
||||
if ($p['host'].(isset($p['port']) ? ':'.$p['port'] : '') != $_SERVER['HTTP_HOST'])
|
||||
alert('url에 타 도메인을 지정할 수 없습니다.');
|
||||
}
|
||||
|
||||
|
||||
@ -29,10 +29,10 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
|
||||
#logo {padding:26px 0}
|
||||
|
||||
/* 전체 검색 */
|
||||
#sch_all {position:absolute;top:22px;left:170px;margin:0;padding:0;border:1px solid #c3c6ca}
|
||||
#sch_all legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
|
||||
#sch_all #sch_all_stx {padding-left:5px;width:110px;height:24px;border:0;background:#fff;line-height:1.9em !important;line-height:1.6em}
|
||||
#sch_all_submit {padding:0 5px;height:26px;border:0;background:#e2e6eb;color:#333;cursor:pointer}
|
||||
#sch {position:absolute;top:22px;left:170px;margin:0;padding:0;border:1px solid #c3c6ca}
|
||||
#sch legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
|
||||
#sch #sch_stx {padding-left:5px;width:110px;height:24px;border:0;background:#fff;line-height:1.9em !important;line-height:1.6em}
|
||||
#sch_submit {padding:0 5px;height:26px;border:0;background:#e2e6eb;color:#333;cursor:pointer}
|
||||
|
||||
#tnb {position:absolute;top:18px;right:0;margin:0;padding:0;list-style:none;zoom:1}
|
||||
#tnb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
8
head.php
8
head.php
@ -35,14 +35,14 @@ if ($config['cf_include_head']) {
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_IMG_URL ?>/logo.jpg" alt="처음으로"></a>
|
||||
</div>
|
||||
|
||||
<fieldset id="sch_all">
|
||||
<fieldset id="sch">
|
||||
<legend>사이트 내 전체검색</legend>
|
||||
<form name="fsearchbox" method="get" action="<?php echo G5_BBS_URL ?>/search.php" onsubmit="return fsearchbox_submit(this);">
|
||||
<input type="hidden" name="sfl" value="wr_subject||wr_content">
|
||||
<input type="hidden" name="sop" value="and">
|
||||
<label for="sch_all_stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" id="sch_all_stx" maxlength="20">
|
||||
<input type="submit" id="sch_all_submit" value="검색">
|
||||
<label for="sch_stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" id="sch_stx" maxlength="20">
|
||||
<input type="submit" id="sch_submit" value="검색">
|
||||
</form>
|
||||
|
||||
<script>
|
||||
|
||||
@ -22,14 +22,16 @@ include_once(G5_LIB_PATH.'/popular.lib.php');
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_IMG_URL ?>/logo.jpg" alt="처음으로"></a>
|
||||
</div>
|
||||
|
||||
<fieldset id="schall">
|
||||
<fieldset id="sch">
|
||||
<legend>사이트 내 전체검색</legend>
|
||||
<form name="fsearchbox" action="<?php echo G5_BBS_URL ?>/search.php" onsubmit="return fsearchbox_submit(this);" method="get">
|
||||
<input type="hidden" name="sfl" value="wr_subject||wr_content">
|
||||
<input type="hidden" name="sop" value="and">
|
||||
<label for="schall_stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" id="schall_stx" required class="required" maxlength="20">
|
||||
<input type="image" alt="검색" src="<?php echo G5_IMG_URL ?>/btn_search.jpg" id="schall_submit" width="24" height="24">
|
||||
|
||||
<label for="sch_stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" id="sch_stx" placeholder="검색어(필수)" required class="required" maxlength="20">
|
||||
<input type="image" alt="검색" src="<?php echo G5_IMG_URL ?>/btn_search.jpg" id="sch_submit" width="24" height="24">
|
||||
|
||||
</form>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user