ie10에서 po_id 값이 넘어가지 않는 문제 수정
This commit is contained in:
27
bbs/poll.php
Normal file
27
bbs/poll.php
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?
|
||||||
|
include_once('./_common.php');
|
||||||
|
|
||||||
|
$field = '';
|
||||||
|
|
||||||
|
foreach($_POST as $key=>$value)
|
||||||
|
{
|
||||||
|
$field .= '<input type="hidden" name="'.$key.'" value="'.$value.'"/>'."\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
$g4['title'] = '투표하기';
|
||||||
|
include_once(G4_PATH.'/head.sub.php');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<form id="fpoll" name="fpoll" action="<?=G4_BBS_URL?>/poll_update.php" method="post">
|
||||||
|
<? echo $field; ?>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(function() {
|
||||||
|
$("#fpoll").submit();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<?
|
||||||
|
include_once(G4_PATH.'/tail.sub.php');
|
||||||
|
?>
|
||||||
@ -44,7 +44,9 @@ function fpoll_submit(f)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
win_poll(f.action);
|
var url = "<?=G4_BBS_URL?>/poll.php";
|
||||||
|
f.action = url;
|
||||||
|
win_poll(url);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user