묻고답하기
write_form.html에서 테이블 문제 질문입니다..
2009.09.22 20:08
소스
-------------------------------------------------
<!--#include("header.html")-->
<!-- 게시물 작성 폼 --><style type="text/css">
<!--
body,td,th {
font-family: 돋움;
font-size: 11px;
}
-->
</style>
<form action="./" method="post" onsubmit="return procFilter(this, insert)" id="fo_write">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="content" value="{$oDocument->getContentText()}" />
<input type="hidden" name="document_srl" value="{$document_srl}" />
<div class="boardWrite">
<!--@if(!$is_logged)-->
<!--@end-->
<dl class="option">
<!--@if($grant->manager)-->
{@ $_color = array('555555','222288','226622','2266EE','8866CC','88AA66','EE2222','EE6622','EEAA22','EEEE22') }
<dd><select name="title_color" id="title_color" <!--@if($oDocument->get('title_color'))-->style="background-color:#{$oDocument->get('title_color')};"<!--@end--> onchange="this.style.backgroundColor=this.options[this.selectedIndex].style.backgroundColor;">
<option value="" style="background-color:#FFFFFF;">{$lang->title_color}</option>
<!--@foreach($_color as $_col)-->
<option value="{$_col}" style="background-color:#{$_col}" <!--@if($oDocument->get('title_color')==$_col)-->selected="selected"<!--@end-->>{$lang->title_color}</option>
<!--@endforeach-->
</select></dd>
<dd>
<input type="checkbox" name="title_bold" id="title_bold" value="Y" <!--@if($oDocument->get('title_bold')=='Y')-->checked="checked"<!--@end--> />
<label for="title_bold">{$lang->title_bold}</label>
</dd>
<dd>
<input type="checkbox" name="is_notice" value="Y" <!--@if($oDocument->isNotice())-->checked="checked"<!--@end--> id="is_notice" />
<label for="is_notice">{$lang->notice}</label>
</dd>
<dd>
<input type="checkbox" name="lock_comment" value="Y" <!--@if($oDocument->isLocked())-->checked="checked"<!--@end--> id="lock_comment" />
<label for="lock_comment">{$lang->lock_comment}</label>
</dd>
<!--@endif-->
<!--@if($module_info->secret=="Y")-->
<dd>
<input type="hidden" name="is_secret" value="Y" checked="checked" id="is_secret" />
</dd>
<!--@end-->
<dd>
<input type="hidden" name="allow_comment" value="Y" checked="checked" id="allow_comment" />
</dd>
<dd>
<input type="hidden" name="allow_trackback" value="Y" checked="checked" id="allow_trackback" />
</dd>
<!--@if($is_logged)-->
<dd>
<input type="hidden" name="notify_message" value="Y" checked="checked" id="notify_message" />
</dd>
<!--@end-->
</dl>
<!--@if(count($extra_keys))-->
<table cellspacing="0" summary="" class="extraVarsList">
<tr>
<th>
분류
</th>
<td>
<select name="category_srl" class="category">
<option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)-->
<option <!--@if(!$val->grant)-->disabled="disabled"<!--@endif--> value="{$val->category_srl}" <!--@if($val->grant&&$val->selected||$val->category_srl==$oDocument->get('category_srl'))-->selected="selected"<!--@endif-->>
{str_repeat(" ",$val->depth)} {$val->title}
</option>
<!--@endforeach-->
</select>
</td>
</tr>
<tr>
<th width="250">
<label for="userName">{$lang->writer}</label>
</th>
<td style = "padding : 0px;" >
<table cellspacing = 0 cellpadding = 0 border = 0>
<tr>
<th style = "padding-top : 0px; Border-bottom-color : white" width = 217>
<input style = "height:20px" type="text" name="nick_name" value="{$oDocument->getNickName()}" class="title inputTypeText" id="userName"/>
</th>
<th style = "padding-right : 10px; Border-bottom-color : white; text-align:left" width = 73>
<label for="userPw">{$lang->password}</label>
</th>
<td style = "padding-top : 0px; Border-bottom-color : white" width = 180>
<input style = "height:20px" type="password" name="password" value="" id="userPw" class="title inputTypeText" />
</td>
</tr>
</table>
</td>
</tr>
<col width="100" />
<col />
<!--@foreach($extra_keys as $key => $val)-->
<tr>
<th scope="row">{$val->name} <!--@if($val->is_required=='Y')-->*<!--@end--></th>
<td>{$val->getFormHTML()}</td>
</tr>
<!--@endforeach-->
<col width="150" />
<col />
<tr>
<th width="150">
제목
</th>
<td style = "padding-top: 0px;">
<!--div class="title"-->
<!--@if($module_info->use_category=="Y")-->
<!--@else-->
<label class="title">{$lang->title}</label>
<!--@endif-->
<input style = "height:20px;width:440px" type="text" name="title" class="title inputTypeText" value="{htmlspecialchars($oDocument->getTitleText())}" />
<!--/div-->
</td>
</tr>
</table>
<!--@endif-->
<div class="editor">{$oDocument->getEditor()}</div>
</div>
<div class="fl gap1">
<!--@if($is_logged)-->
<span class="button {$btn_class}"><input type="button" value="{$lang->cmd_temp_save}" onclick="doDocumentSave(this); return false;" /></span>
<span class="button {$btn_class}"><input type="button" value="{$lang->cmd_load}" onclick="doDocumentLoad(this); return false;" /></span>
<span class="button {$btn_class}"><input type="button" value="{$lang->cmd_back}" onclick="location.href='{getUrl('act','')}'" /></span>
<!--@end-->
</div>
<div class="fr gap1">
<span class="button {$btn_class}"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
<span class="button {$btn_class}"><input type="button" value="{$lang->cmd_back}" onclick="location.href='{getUrl('act',''+
'+
')}'" /></span>
</div>
<div class="clear"></div>
</form>
<!--#include("footer.html")-->
---------------------------------------------------------------------------------------
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
긍게말여 | kr도메인주소로 파일 연결하면 연결이 안되는데 왜그럴까요? ㅠ.ㅠ [1] | 2012.12.03 by sejin7940 |
헨느 |
php 파일이 죄다 깨져서 나오는군요 (스샷첨부)
[1]
![]() | 2012.12.03 by 헨느 |
레망 | 임시저장 [1] | 2012.12.03 by sejin7940 |
CUPA | 위젯페이지 오류 질문입니다 ! ㅠ | |
온달왕자 |
RSS 피드 요약공개의 경우 글수가 한줄밖에 안나옵니다.
[1]
![]() | 2012.12.03 by sejin7940 |
Chosun.us | ShopXE의 설치 경로는 어떻게 되나요? [3] | 2012.12.03 by Garon |
제임스라 | 요청하신 모듈을 찾을 수 없습니다. 처리방법.. [1] | 2012.12.03 by 제임스라 |
hon | 구글버튼 가운데정렬 [1] | 2012.12.03 by sejin7940 |
믕수 | 첨부파일 크기를 늘리고싶은데요~ [1] | 2012.12.03 by sejin7940 |
디쎔버 | html 주석과 탬플릿 문법 [1] | 2012.12.03 by sejin7940 |
메로나 | xe코어를 사용중인데.. [1] | 2012.12.03 by sejin7940 |
컴보이박스 | xe 폴더 보안 설정은 뭐 없습니까요? | |
식군 | 로그인유지가 안되네요. | |
4rfv5tgb6yhn | 회원 가입 회원에게 쪽지를 보내고 싶어요 [4] | 2012.12.02 by 4rfv5tgb6yhn |
breakerz | 게시판 자동 본문 삽입 질문입니다. [1] | 2012.12.02 by 송동우 |
엔아이에이 | 흰창과 첨부파일 | |
긍게말여 | 코어 업데이후 제어판 클릭하면 페이지 오류 나오네요 [1] | 2012.12.02 by 송동우 |
dnflsmsc | ㅠㅠ도와주세요ㅠ게시판관리설정ㅜ [1] | 2012.12.02 by LI-NA |
면봉2 |
XE설치 FTP정보입력오류
[1]
![]() | 2012.12.02 by LI-NA |
고딕락 | 도와주세욘 ㅠㅠ [1] | 2012.12.02 by LI-NA |
<select name="title_color" id="title_color" <!--@if($oDocument->get('title_color'))-->style="background-color:#{$oDocument->get('title_color')};!--@end--> onchange="this.style.backgroundColor=this.options[this.selectedIndex].style.backgroundColor;
위에 소스에서 이 부분 지우면 않되나여?