<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if ($w == "") {
$is_name = false;
$is_password = false;
if (!$member[mb_id] || ($is_admin && $w == 'u' && $member[mb_id] != $write[mb_id])) {
$is_name = true;
$is_password = true;
}
$password_required = "required";
$content = $board[bo_insert_content];
include_once("./norobot.inc.php");
}
if (!$subject) $subject = 한줄방명록;
//if (!$subject) $subject = 1;
?>
<style>
.aa { border-color:#DADADE; border-style:solid; border-width:1px; }
.name { font-family:돋움; font-size:9pt; color:#888888; }
</style>
<form name="fwrite" method="post" action="./write_update.php" enctype="multipart/form-data" autocomplete="off" style="margin:0px;">
<input type=hidden name=null>
<input type=hidden name=w value="<?=$w?>">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=wr_id value="<?=$wr_id?>">
<input type=hidden name=sfl value="<?=$sfl?>">
<input type=hidden name=stx value="<?=$stx?>">
<input type=hidden name=spt value="<?=$spt?>">
<input type=hidden name=sst value="<?=$sst?>">
<input type=hidden name=sod value="<?=$sod?>">
<input type=hidden name=page value="<?=$page?>">
<input type=hidden name=wr_subject value="<?=$subject?>_<?=$wr_id?>">
<table width="100%" cellpadding=0 cellspacing=0 border=0>
<?
if ($w == "")
echo "";
else if ($w == "u")
echo "<tr><td height=17 class=name style='padding-left:10px;'>- 수정하기 -</td><td> </td></tr>";
else
echo "<tr><td height=17 class=name style='padding-left:10px;'>- 답변하기 -</td><td> </td></tr>";
?>
<tr><td align=center>
<table width="100%" border="0" cellspacing="3" cellpadding="0" bgcolor="#FAFAFA">
<tr>
<? if ($is_name) { ?>
<td width="37" height="20"><img src="<?=$board_skin_path?>/img/name.gif" width="37" height="20" border="0"></td>
<td width="75" align=center>
<INPUT class=aa maxLength=4 style="width:70; height:20;;" name='wr_name' itemname="이름" required value="<?=$name?>"></td>
<? } ?>
<? if ($is_password) { ?>
<INPUT class=aa type=hidden maxLength=10 size=8 name=wr_password itemname="비번" <?=$password_required?>>
<? } ?>
<? if ($is_norobot) { ?>
<input type=hidden name=wr_key value="<?=$norobot_key?>">
<? } ?>
<td width="37" height="20" align=right><img src="<?=$board_skin_path?>/img/memo.gif" width="37" height="20" border="0"></td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<INPUT class=aa id="wr_content" name="wr_content" itemname="내용" required maxlength=300 style="width:100%; height:20 ;" value="<?=$content?>"></td>
</tr>
</table></td>
<td width="52" align=right><INPUT type=image id="btn_submit" src="<?=$board_skin_path?>/img/ok_btn.gif" width="50" height="20" border="0"></td>
</tr>
</table></td>
</tr></table>
</form>
소스입니다...
이 중에서 파일 첨부한것처럼 폼박스 오른쪽 끝에 세모모양 나오는 스크립트요...
이게 위에 aa 스크립트 아닌가요??
또 다른것이 있나요??
그리고, 이름 입력안하고 확인 눌렀더니 폼박스가 분홍색으로 바뀌었는데...
저 스크립트도 어디부분인지요...
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if ($w == "") {
$is_name = false;
$is_password = false;
if (!$member[mb_id] || ($is_admin && $w == 'u' && $member[mb_id] != $write[mb_id])) {
$is_name = true;
$is_password = true;
}
$password_required = "required";
$content = $board[bo_insert_content];
include_once("./norobot.inc.php");
}
if (!$subject) $subject = 한줄방명록;
//if (!$subject) $subject = 1;
?>
<style>
.aa { border-color:#DADADE; border-style:solid; border-width:1px; }
.name { font-family:돋움; font-size:9pt; color:#888888; }
</style>
<form name="fwrite" method="post" action="./write_update.php" enctype="multipart/form-data" autocomplete="off" style="margin:0px;">
<input type=hidden name=null>
<input type=hidden name=w value="<?=$w?>">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=wr_id value="<?=$wr_id?>">
<input type=hidden name=sfl value="<?=$sfl?>">
<input type=hidden name=stx value="<?=$stx?>">
<input type=hidden name=spt value="<?=$spt?>">
<input type=hidden name=sst value="<?=$sst?>">
<input type=hidden name=sod value="<?=$sod?>">
<input type=hidden name=page value="<?=$page?>">
<input type=hidden name=wr_subject value="<?=$subject?>_<?=$wr_id?>">
<table width="100%" cellpadding=0 cellspacing=0 border=0>
<?
if ($w == "")
echo "";
else if ($w == "u")
echo "<tr><td height=17 class=name style='padding-left:10px;'>- 수정하기 -</td><td> </td></tr>";
else
echo "<tr><td height=17 class=name style='padding-left:10px;'>- 답변하기 -</td><td> </td></tr>";
?>
<tr><td align=center>
<table width="100%" border="0" cellspacing="3" cellpadding="0" bgcolor="#FAFAFA">
<tr>
<? if ($is_name) { ?>
<td width="37" height="20"><img src="<?=$board_skin_path?>/img/name.gif" width="37" height="20" border="0"></td>
<td width="75" align=center>
<INPUT class=aa maxLength=4 style="width:70; height:20;;" name='wr_name' itemname="이름" required value="<?=$name?>"></td>
<? } ?>
<? if ($is_password) { ?>
<INPUT class=aa type=hidden maxLength=10 size=8 name=wr_password itemname="비번" <?=$password_required?>>
<? } ?>
<? if ($is_norobot) { ?>
<input type=hidden name=wr_key value="<?=$norobot_key?>">
<? } ?>
<td width="37" height="20" align=right><img src="<?=$board_skin_path?>/img/memo.gif" width="37" height="20" border="0"></td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<INPUT class=aa id="wr_content" name="wr_content" itemname="내용" required maxlength=300 style="width:100%; height:20 ;" value="<?=$content?>"></td>
</tr>
</table></td>
<td width="52" align=right><INPUT type=image id="btn_submit" src="<?=$board_skin_path?>/img/ok_btn.gif" width="50" height="20" border="0"></td>
</tr>
</table></td>
</tr></table>
</form>
소스입니다...
이 중에서 파일 첨부한것처럼 폼박스 오른쪽 끝에 세모모양 나오는 스크립트요...
이게 위에 aa 스크립트 아닌가요??
또 다른것이 있나요??
그리고, 이름 입력안하고 확인 눌렀더니 폼박스가 분홍색으로 바뀌었는데...
저 스크립트도 어디부분인지요...
첨부파일
댓글 2개
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기