[왕초보]이 소스코드가 무슨의미인가요?ㅠ
본문
/* 게시판 쓰기 */
#char_count_desc {display:block;margin:0 0 5px;padding:0}
#char_count_wrap {margin:5px 0 0;text-align:right}
#char_count {font-weight:bold}
#autosave_wrapper {position:relative}
#autosave_pop {display:none;z-index:10;position:absolute;top:24px;right:117px;padding:8px;width:350px;height:auto !important;height:180px;max-height:180px;border:1px solid #565656;background:#fff;overflow-y:scroll}
html.no-overflowscrolling #autosave_pop {height:auto;max-height:10000px !important} /* overflow 미지원 기기 대응 */
#autosave_pop strong {position:absolute;font-size:0;line-height:0;overflow:hidden}
#autosave_pop div {text-align:right}
#autosave_pop button {margin:0;padding:0;border:0;background:transparent}
#autosave_pop ul {margin:10px 0;padding:0;border-top:1px solid #e9e9e9;list-style:none}
#autosave_pop li {padding:8px 5px;border-bottom:1px solid #e9e9e9;zoom:1}
#autosave_pop li:after {display:block;visibility:hidden;clear:both;content:""}
#autosave_pop a {display:block;float:left}
#autosave_pop span {display:block;float:right}
.autosave_close {cursor:pointer}
.autosave_content {display:none}
.required2{ color:red;padding-right:10px;}
select {border:1px solid #c8c8c8;}
textarea {border:1px solid #c8c8c8;width:98%;height:100px ;background-color:#FFFFFF; padding:10px;}
</style>
<form name="fwrite" id="fwrite" action="<?php echo $action_url ?>" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off" style="width:<?php echo $width; ?>">
<input type="hidden" name="uid" value="<?php echo get_uniqid(); ?>">
<input type="hidden" name="w" value="<?php echo $w ?>">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
<input type="hidden" name="sca" value="<?php echo $sca ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="spt" value="<?php echo $spt ?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="wr_password" value="">
<input type="hidden" id="secret" name="secret" value="secret">
<?php if ($is_guest) { ?>
<input type="hidden" name="wr_name" value="GUEST" id="wr_name" required class="frm_input required" size="10" maxlength="20" style="width:180px" >
<?php } ?>
<?
if($wr_6<>""){
$wr_6_arr = explode("-",$wr_6);
$phone_1=$wr_6_arr[0];
$phone_2=$wr_6_arr[1];
$phone_3=$wr_6_arr[2];
}
if($wr_8<>""){
$wr_8_arr = explode("!@#",$wr_8);
$wr_8_0=$wr_8_arr[0];
$wr_8_1=$wr_8_arr[1];
$wr_8_2=$wr_8_arr[2];
$wr_8_3=$wr_8_arr[3];
$wr_8_4=$wr_8_arr[4];
$wr_8_5=$wr_8_arr[5];
}
if($wr_9<>""){
$wr_9_arr = explode("!@#",$wr_9);
$wr_9_0=$wr_9_arr[0];
$wr_9_1=$wr_9_arr[1];
}
?>
답변 4
구체적이지 않고 포괄적으로 해당양의 전체 소스를 설명하기는 곤란합니다.
공감합니다. 이렇게 올리시면 답변을 절대 얻으실 수 없을것같습니다..
뭐.. 유추할수있는것은.. 기본인적사항 정보를 받는 페이지인가보네요..
모르는 코드로 구글링하시는 게 빠르실 듯...
(예) php explode
글입력받는곳인데 위쪽 css 는 자동저장 기능 관련 css 이고
아래 배열 부분은 휴대폰번호 및 정보를 나누어 받아 한 컬럼에 처리하기 위함이네요.
쉽게 말해서 회원정보 입력받는 쓰기 부분 입니다.
답변을 작성하시기 전에 로그인 해주세요.