사용자: 전체레이아웃 작업 중
This commit is contained in:
@ -14,11 +14,11 @@ if (!$po_id)
|
||||
$po = sql_fetch(" select * from $g4[poll_table] where po_id = '$po_id' ");
|
||||
?>
|
||||
|
||||
<section>
|
||||
<h2>사이트 설문조사</h2>
|
||||
<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?>">
|
||||
<section id="poll">
|
||||
<h2>설문조사</h2>
|
||||
<? if ($is_admin == "super") { ?><a href="<?=$g4[admin_path]?>/poll_form.php?w=u&po_id=<?=$po_id?>">설문조사 관리</a><? } ?>
|
||||
<?=$po['po_subject']?>
|
||||
<ul>
|
||||
@ -28,6 +28,7 @@ $po = sql_fetch(" select * from $g4[poll_table] where po_id = '$po_id' ");
|
||||
</ul>
|
||||
<input type="submit" value="투표하기">
|
||||
<a href="javascript:;" onclick="poll_result('<?=$po_id?>');">결과보기</a>
|
||||
</section>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
@ -64,5 +65,4 @@ function poll_result(po_id)
|
||||
|
||||
win_poll("<?=$g4['bbs_path']?>/poll_result.php?po_id="+po_id+"&skin_dir="+document.fpoll.skin_dir.value);
|
||||
}
|
||||
</script>
|
||||
</section>
|
||||
</script>
|
||||
Reference in New Issue
Block a user