묻고답하기

Conact us를 이용해서 게시판에 등록시키는 것을 하고 있습니다.

게시판 리스트에 제목에는 들어가는데 전화번호나, 시술종류는 리스트에는 나타나지않고
내용에 들어가 버립니다.

제 생각에는 
 f.content.value += '<p><b>Mobile</b><br /><br />' + mobile_phone_arr.join('-') + '</p>';
 f.content.value += '<p><b>Message</b><br /><br />' + f.inquiry.value + '</p>';

이 소스를 수정해야할 것 같은데 초보라 어떻게 손을 대야 할지 모르겠습니다.

리스트상의 전화번호와 시술종류는 사용자정의(확장변수)로 만들었습니다.

아시는 분이 있으시면 답변부탁드립니다.


미리 감사드립니다.

22.gif

게시판 리스트에 뿌려주는소스
=================================================================================================

function submit_request(f) {
    f.nick_name.value = f.user_name.value;
    f.title.value = f.user_name.value + ' 님 문의접수';
    var mobile_phone_arr = new Array();
    for (i = 0; i < f.mobile_phone.length; i++) {
        mobile_phone_arr[mobile_phone_arr.length] = f.mobile_phone[i].value;
    }
    f.content.value = '<p><b>E-mail</b><br /><br />' + f.email_address.value + '</p>';
    f.content.value += '<p><b>Mobile</b><br /><br />' + mobile_phone_arr.join('-') + '</p>';
    f.content.value += '<p><b>Message</b><br /><br />' + f.inquiry.value + '</p>';
    return procFilter(f, insert);
}

/* 글쓰기 작성후 */
function completeDocumentInserted(ret_obj) {
    jQuery('input:text,textarea','#contactus').attr('disabled','disabled');
    jQuery('input:image','#contactus').click(function() {
        alert('Already requested.');
        return false;
    });
    alert(ret_obj['message']);
    if (g_reload=='Y') {
        location.reload();
    }
}





게시판 리스트 소스
================================================================================================

<form action="./" method="get" class="boardListForm">
    <fieldset>
        <legend>List of Articles</legend>

        <table cellspacing="0" border="1" summary="List of Articles" class="boardList">
<thead>
<tr>
<!--// configure table theader -->
<!--@foreach($list_config as $key => $val)-->
<!--// if it is the default -->
<!--@if($val->idx == -1)-->
<!--// display the contents based on type -->
<!--@if($val->type == 'no')-->
<th scope="col">{$lang->no}</th>
<!--@elseif($val->type == 'title')-->
       <th scope="col" class="title" cond="!$module_info->title_name">{$lang->title}</th>
       <th scope="col" class="title" cond="$module_info->title_name">{$module_info->title_name}</th>
<!--@elseif($val->type == 'regdate')-->
<th scope="col"><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./img/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
<!--@elseif($val->type == 'last_update')-->
<th scope="col"><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./img/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
<!--@elseif($val->type == 'nick_name')-->
       <th scope="col" cond="!$module_info->writer_name">{$lang->writer}</th>
       <th scope="col" cond="$module_info->writer_name">{$module_info->writer_name}</th>
<!--@elseif($val->type == 'user_id')-->
<th scope="col">{$lang->user_id}</th>
<!--@elseif($val->type == 'user_name')-->
<th scope="col">{$lang->user_name}</th>
<!--@elseif($val->type == 'readed_count')-->
<th scope="col" class="reading"><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./img/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
<!--@elseif($val->type == 'voted_count')-->
<th scope="col"><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./img/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
<!--@elseif($val->type == 'blamed_count')-->
<th scope="col"><a href="{getUrl('sort_index','blamed_count','order_type',$order_type)}">{$lang->blamed_count}<!--@if($sort_index=='blamed_count')--><img src="./img/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
<!--@elseif($val->type == 'last_post')-->
                                <th scope="col"><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_post}<!--@if($sort_index=='last_update')--><img src="./img/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
<!--@end-->
<!--// enable user-defined sorting variables -->
<!--@else-->
<th scope="col"><a href="{getUrl('sort_index', $val->eid, 'order_type', $order_type)}">{$val->name}<!--@if($sort_index == $val->eid)--><img src="./img/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
<!--@end-->
<!--@end-->
<!--@if($grant->manager)--><th scope="col" class="check"><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" title="Check All" /></th><!--@end-->
</tr>
</thead>
<tbody>
<!--@if(!$document_list && !$notice_list)-->
<tr>
<td colspan="<!--@if($grant->manager)-->{count($list_config)+1}<!--@else-->{count($list_config)}<!--@end-->">
{$lang->no_documents}
</td>
</tr>
<!--@else-->
<!--@foreach($notice_list as $no => $document)-->
<tr class="notice">
<!--// configure table theader  -->
<!--@foreach($list_config as $key => $val)-->
<!--// if it is the default -->
<!--@if($val->idx == -1)-->
<!--// display the contents based on type -->
<!--@if($val->type == 'no')-->
<td class="notice"><!--@if($document_srl == $document->document_srl)-->»<!--@else-->{$lang->notice}<!--@end--></td>
<!--@elseif($val->type == 'title')-->
<td class="title">
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
{$document->printExtraImages(60*60*$module_info->duration_new)}
<!--@if($document->getCommentCount())-->
<a href="{getUrl('document_srl', $document->document_srl)}#comment"><span class="replyNum" title="Replies">[{$document->getCommentCount()}]</span></a>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<a href="{getUrl('document_srl', $document->document_srl)}#trackback"><span class="trackbackNum" title="Trackbacks">[{$document->getTrackbackCount()}]</span></a>
<!--@end-->
</td>
<!--@elseif($val->type == 'regdate')-->
<td class="date">{$document->getRegdate('Y-m-d')}</td>
<!--@elseif($val->type == 'last_update')-->
<td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td>
<!--@elseif($val->type == 'nick_name')-->
<td class="author">{$document->getNickName()}</a></td>
<!--@elseif($val->type == 'user_id')-->
<td class="author">{$document->getUserID()}</a></td>
<!--@elseif($val->type == 'user_name')-->
<td class="author">{$document->getUserName()}</a></td>
<!--@elseif($val->type == 'readed_count')-->
<td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td>
<!--@elseif($val->type == 'voted_count')-->
<td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td>
<!--@elseif($val->type == 'blamed_count')-->
<td class="recommend">{$document->get('blamed_count')!=0?$document->get('blamed_count'):' '}</td>
<!--@elseif($val->type == 'last_post')-->
                                <td class="lastReply">
                                    <!--@if((int)($document->get('comment_count'))>0)-->
                                        <a href="{$document->getPermanentUrl()}#comment" class="replyAnchor">{zdate($document->get('last_update'),'Y-m-d')} {zdate($document->get('last_update'),'H:i')}</a>
                                        <!--@if($document->get('last_updater'))-->
                                            <sub class="by">by</sub>
                                            {htmlspecialchars($document->get('last_updater'))}
                                        <!--@end-->
                                    <!--@else-->
                                         
                                    <!--@end-->
                                </td>
<!--@end-->
<!--// display the extra variables -->
<!--@else-->
<td>{$document->getExtraValueHTML($val->idx)} </td>
<!--@end-->
<!--@end-->
<!--@if($grant->manager)-->
<td class="check"><input type="checkbox" name="cart" value="{$document->document_srl}" title="Check this" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td>
<!--@end-->
</tr>
<!--@end-->
<!--@foreach($document_list as $no => $document)-->
<tr class="bg{($no+1)%2+1}">
<!--// configure table theader -->
<!--@foreach($list_config as $key => $val)-->
<!--// if it is the default -->
<!--@if($val->idx == -1)-->
<!--// display the contents based on type -->
<!--@if($val->type == 'no')-->
<td class="num"><!--@if($document_srl == $document->document_srl)-->»<!--@else-->{$no}<!--@end--></td>
<!--@elseif($val->type == 'title')-->
<td class="title">
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
{$document->printExtraImages(60*60*$module_info->duration_new)}
<!--@if($document->getCommentCount())-->
<a href="{getUrl('document_srl', $document->document_srl)}#comment"><span class="replyNum" title="Replies">[{$document->getCommentCount()}]</span></a>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<a href="{getUrl('document_srl', $document->document_srl)}#trackback"><span class="trackbackNum" title="Trackbacks">[{$document->getTrackbackCount()}]</span></a>
<!--@end-->
</td>
<!--@elseif($val->type == 'nick_name')-->
<td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td>
<!--@elseif($val->type == 'user_id')-->
<td class="author">{$document->getUserID()}</a></td>
<!--@elseif($val->type == 'user_name')-->
<td class="author">{$document->getUserName()}</a></td>
<!--@elseif($val->type == 'regdate')-->
<td class="date">{$document->getRegdate('Y-m-d')}</td>
<!--@elseif($val->type == 'last_update')-->
<td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td>
<!--@elseif($val->type == 'readed_count')-->
<td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td>
<!--@elseif($val->type == 'voted_count')-->
<td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td>
<!--@elseif($val->type == 'blamed_count')-->
<td class="recommend">{$document->get('blamed_count')!=0?$document->get('blamed_count'):' '}</td>
<!--@elseif($val->type == 'last_post')-->
                                <td class="lastReply">
                                    <!--@if((int)($document->get('comment_count'))>0)-->
                                        <a href="{$document->getPermanentUrl()}#comment" class="replyAnchor">{zdate($document->get('last_update'),'Y-m-d')} {zdate($document->get('last_update'),'H:i')}</a>
                                        <!--@if($document->get('last_updater'))-->
                                            <sub class="by">by</sub>
                                            {htmlspecialchars($document->get('last_updater'))}
                                        <!--@end-->
                                    <!--@else-->
                                         
                                    <!--@end-->
                                </td>
<!--@end-->
<!--// display the extra variables -->
<!--@else-->
<td><a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getExtraValueHTML($val->idx)}</a> </td>
<!--@end-->
<!--@end-->
<!--@if($grant->manager)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" title="Check this" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
</tr>
<!--@end-->
<!--@end-->
</tbody>
        </table>
    </fieldset>
</form>

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
김명규 제로보드데이터를 xml로 추출하는법좀 가르쳐주세요  
won 이미지가 큰거라도 일정사이즈 이상 늘어나지 않도록 하는법 없나요? [2] 2007.08.10
최봉수 아이프레임 안의 스크롤바.. [1] 2007.08.10
현이 포토샵에서 명함을 만들었습니니다..헌데...문제가 [1] 2007.08.10
리데™ 글자가 다 깨져서 나와요.. [1] 2007.08.10
김민규 INIT에 대한 질문이요... [1] 2007.08.10
someday 헤더푸더에 관한 기초적인 질문  
jjaekim 웹페이지 속도에 영향을 미치는 apache설정요인에 대해서 [1] 2007.08.10
강정우 제로카운터 페이지뷰에 대한 물음.  
장효순 공지사항 스킨을 사용하는데요... [1] 2007.08.10
김철호 특정 IP가 들어오면 인사하기 [10] 2007.08.10
미니 최신글불러오기때문인지 스크롤바변형이 안먹혀요. [1] 2007.08.10
유지성 여러분들 도와주세요. form관련 질문입니다. [6] 2007.08.10
놀아줘 궁금증좀 풀어주세요, 포토샵 화일이 오류가!!!!  
이종하 NZEO에서 제공하는 RSS의 Encoding type [1] 2007.08.10
아가페 특정 카테고리+ 특정 DB의 단어별로 갯수 뿌려주기?  
[유아독존] 이것 글시체 아시는분.. [2] 2007.08.10
장준호 제발 고수님들의 답변을(아이프레임관련) [1] 2007.08.10
최석민 표 배경 고정 못 하나요?? [1] 2007.08.10
강원철 스크립트 오류가 자꾸 생기내요 라디오 체크하고 해도 체크하라고..  
Wow-Ect php..왜 이렇게 되나요? [4] 2007.08.10
최봉수 글 뒤에 배경을 넣고 싶어요 어떻게 해야하죠?ㅠ_ㅠ  
A+ 트래픽과 하드용량 제한[질문] [1] 2007.08.10
한현석 파일 다운로드 횟수 카운트 하는 카운터  
김지만 제로보드질문 쪽지 오면 새창으로 뜨는거 ㅠㅠ  
강주경 프레임 링크 관련 질문입니다~!!  
강원철 설문조사 php인데요 틀린곳좀 잡아주세요 ㅠ.ㅜ [1] 2007.08.10
이봉호 이미지 주위를 자연스럽게 검은색으로 처리하려면 어떻게 하나요? [1] 2007.08.10
harry98 gmax어디서 받죠?  
Alee 싸이월드 미니 홈피 따라하기 [3] 2007.08.10