사용자: 게시판 리스트에서 h1 중복되는 문제 수정

This commit is contained in:
whitedot
2012-12-24 15:57:40 +09:00
parent 9b20a758e1
commit 6907449605
4 changed files with 10 additions and 10 deletions

View File

@ -13,7 +13,7 @@ include_once($g4['path'].'/lib/popular.lib.php');
<p style="text-align:center">테스트 사이트입니다. 일부 기능은 정상적으로 동작하지 않을 수 있습니다.</p>
<div>
<header>
<div id="to_content"><a href="#wrapper">본문 바로가기</a></div>
<div id="logo"><a href="<?=$g4['path']?>/">초기화면</a></div>
@ -39,10 +39,12 @@ include_once($g4['path'].'/lib/popular.lib.php');
<input type="submit" value="검색">
</fieldset>
</form>
<?=outlogin('neo'); // 외부 로그인 ?>
<? if (!$bo_table) {?><h1><?=$g4['title']?></h1><? } ?>
</header>
<div>
<?=outlogin('neo'); // 외부 로그인 ?>
<?=poll('neo'); // 설문조사 ?>
</div>
<div id="wrapper">

View File

@ -9,7 +9,7 @@ if ($is_good) $colspan++;
if ($is_nogood) $colspan++;
?>
<h1><?=$g4['title']?></h1>
<? if (!$wr_id) {?><h1><?=$g4['title']?></h1><?}?>
<? if ($admin_href) { ?><div id="bo_admin_btn"><a href="<?=$admin_href?>">관리자 바로가기</a></div><?}?>

View File

@ -14,8 +14,7 @@ if (!$po_id)
$po = sql_fetch(" select * from $g4[poll_table] where po_id = '$po_id' ");
?>
<section>
<h2>사이트 설문조사</h2>
<div>
<form name="fpoll" method="post" action="<?=$g4[bbs_path]?>/poll_update.php" onsubmit="return fpoll_submit(this);" target="winPoll">
<input type="hidden" name="po_id" value="<?=$po_id?>">
<input type="hidden" name="skin_dir" value="<?=$skin_dir?>">
@ -29,7 +28,7 @@ $po = sql_fetch(" select * from $g4[poll_table] where po_id = '$po_id' ");
<input type="submit" value="투표하기">
<a href="javascript:;" onclick="poll_result('<?=$po_id?>');">결과보기</a>
</form>
</div>
<script>
function fpoll_submit(f)
{
@ -43,7 +42,7 @@ function fpoll_submit(f)
<?
if ($member[mb_level] < $po[po_level])
echo " alert('권한 $po[po_level] 이상의 회원만 투표에 참여하실 수 있습니다.'); return false; ";
echo " alert('권한 <?=$po[po_level]?> 이상의 회원만 투표에 참여하실 수 있습니다.'); return false; ";
?>
if (!chk) {
@ -59,7 +58,7 @@ function poll_result(po_id)
{
<?
if ($member[mb_level] < $po[po_level])
echo " alert('권한 $po[po_level] 이상의 회원만 결과를 보실 수 있습니다.'); return false; ";
echo " alert('권한 <?=$po[po_level]?> 이상의 회원만 결과를 보실 수 있습니다.'); return false; ";
?>
win_poll("<?=$g4[bbs_path]?>/poll_result.php?po_id="+po_id+"&amp;skin_dir="+document.fpoll.skin_dir.value);

View File

@ -7,7 +7,6 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<div>
<?=visit('neo'); // 방문자수 ?>
<?=connect(); // 현재 접속자수 ?>
<?=poll('neo'); // 설문조사 ?>
<?=popular('neo'); // 인기검색어 ?>
<p>Copyright &copy; 소유하신 도메인. All rights reserved.</p>
</div>