notice 오류 해결중

This commit is contained in:
gnuboard
2012-12-28 11:10:46 +09:00
parent 35e2a0e572
commit 7da12747e5
5 changed files with 29 additions and 22 deletions

View File

@ -94,8 +94,9 @@ if ($option) {
<tr>
<th scope="row"><label for="ca_name">분류</label></th>
<td>
<select id="ca_name" name="ca_name" required>
<option value="">선택하세요<?=$category_option?>
<select id="ca_name" name="ca_name" required="required">
<option value="">선택하세요</option>
<?=$category_option?>
</select>
</td>
</tr>

View File

@ -23,11 +23,16 @@ if ($g4['https_url']) {
else {
$login_url = $urlencode;
}
if ($g4['https_url'])
$action_url = "{$g4['https_url']}/$g4[bbs]/login_check.php";
else
$action_url = "{$g4['bbs_path']}/login_check.php";
?>
<script src="<?=$g4[path]?>/js/capslock.js"></script>
<form name="flogin" method="post" onsubmit="return flogin_submit(this);" autocomplete="off">
<form name="flogin" method="post" action="<?=$action_url?>" onsubmit="return flogin_submit(this);">
<input type="hidden" name="url" value='<?=$login_url?>'>
<fieldset>
@ -58,13 +63,6 @@ document.flogin.mb_id.focus();
function flogin_submit(f)
{
<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/login_check.php';";
else
echo "f.action = '$g4[bbs_path]/login_check.php';";
?>
return true;
}
</script>