zb5beta - 질문답변
글수 546
제로보드의 게시판과 로그인만 떼어 사용해서 홈페이지를 완성했습니다.
그동안 도움 주신 잠순이님께 깊은 감사드립니다.
제로보드사이트의 팁공유과 잠순이님을 통해..구현하였고..소개되어 있지않은 팁을 올려봅니다.
***********라디오박스****************
1.zb5/modules/board/skins/zb5_board/tpl/write_form.tpl
<table border="0" cellpadding="0" cellspacing="0" class="tbl_normal">
<tr>
<td height="30" width="150" class="desc bold fc_02">{$lang->common->fld_reception}</td>
<td width="50"><input type="radio" class="radiobutton" name="reception" value="0" checked>{$lang->common->fld_place_y}</td>
<td width="70"><input type="radio" class="radiobutton" name="reception" value="1">{$lang->common->fld_place_n}</td>
</tr>
</table>
2. zb5/modules/board/skins/zb5_board/tpl/view.tpl
<tr>
<td height="30" COLSPAN=2 class="subject">
<span class="{$tr_class}">{$lang->common->fld_reception} :
{if $article->reception eq '0'}{$lang->common->fld_place_y} {/if}
{if $article->reception eq '1'}{$lang->common->fld_place_n} {/if}</td>
<td class="date"></td>
</tr>
***********체크박스****************
1.zb5/modules/board/skins/zb5_board/tpl/write_form.tpl
<table border="0" cellpadding="0" cellspacing="0" class="tbl_normal">
<tr>
<td height="30" width="80" class="desc bold fc_02">{$lang->common->fld_etc_ready}</td>
<td width="50"><input type="checkbox" class="checkbox" name="etc_ceremony" value="{$lang->common->fld_etc_ceremony1}">
{$lang->common->fld_etc_ceremony1}</td>
<td width="50"><input type="checkbox" class="checkbox" name="etc_ceremony" value="{$lang->common->fld_etc_ceremony2}">
{$lang->common->fld_etc_ceremony2}</td>
</tr>
</table>
2. zb5/modules/board/skins/zb5_board/tpl/view.tpl
<tr>
<td height="30" COLSPAN=2 class="subject"><span class="{$tr_class}">{$lang->common->fld_etc_ready} : {$article->etc_ceremony}</span></td>
</tr>
***********셀렉트박스****************
1. zb5/modules/board/skins/zb5_board/tpl/write_form.tpl
<table border="0" cellpadding="0" cellspacing="0" class="tbl_normal">
<tr>
<td height="30" width="80" class="desc bold fc_02">{$lang->common->fld_place}</td>
<td width="100" class="desc fc_02">
<select name="place">
<option value="">{$lang->common->fld_choice}</option>
<option value="{$lang->common->fld_hall}">{$lang->common->fld_hall}</option>
<option value="{$lang->common->fld_hall2}">{$lang->common->fld_hall2}</option>
<option value="{$lang->common->fld_hall3}">{$lang->common->fld_hall3}</option>
<option value="{$lang->common->fld_hall4}">{$lang->common->fld_hall4}</option>
<option value="{$lang->common->fld_hall5}">{$lang->common->fld_hall5}</option>
<option value="{$lang->common->fld_hall6}">{$lang->common->fld_hall6}</option>
</select></td>
</tr>
</table>
2. zb5/modules/board/skins/zb5_board/tpl/view.tpl
<tr>
<td height="30" colspan="2" class="subject"><div class="{$tr_class}">{$lang->common->fld_place} : {$article->place} </div></td>
</tr>
그동안 도움 주신 잠순이님께 깊은 감사드립니다.
제로보드사이트의 팁공유과 잠순이님을 통해..구현하였고..소개되어 있지않은 팁을 올려봅니다.
***********라디오박스****************
1.zb5/modules/board/skins/zb5_board/tpl/write_form.tpl
<table border="0" cellpadding="0" cellspacing="0" class="tbl_normal">
<tr>
<td height="30" width="150" class="desc bold fc_02">{$lang->common->fld_reception}</td>
<td width="50"><input type="radio" class="radiobutton" name="reception" value="0" checked>{$lang->common->fld_place_y}</td>
<td width="70"><input type="radio" class="radiobutton" name="reception" value="1">{$lang->common->fld_place_n}</td>
</tr>
</table>
2. zb5/modules/board/skins/zb5_board/tpl/view.tpl
<tr>
<td height="30" COLSPAN=2 class="subject">
<span class="{$tr_class}">{$lang->common->fld_reception} :
{if $article->reception eq '0'}{$lang->common->fld_place_y} {/if}
{if $article->reception eq '1'}{$lang->common->fld_place_n} {/if}</td>
<td class="date"></td>
</tr>
***********체크박스****************
1.zb5/modules/board/skins/zb5_board/tpl/write_form.tpl
<table border="0" cellpadding="0" cellspacing="0" class="tbl_normal">
<tr>
<td height="30" width="80" class="desc bold fc_02">{$lang->common->fld_etc_ready}</td>
<td width="50"><input type="checkbox" class="checkbox" name="etc_ceremony" value="{$lang->common->fld_etc_ceremony1}">
{$lang->common->fld_etc_ceremony1}</td>
<td width="50"><input type="checkbox" class="checkbox" name="etc_ceremony" value="{$lang->common->fld_etc_ceremony2}">
{$lang->common->fld_etc_ceremony2}</td>
</tr>
</table>
2. zb5/modules/board/skins/zb5_board/tpl/view.tpl
<tr>
<td height="30" COLSPAN=2 class="subject"><span class="{$tr_class}">{$lang->common->fld_etc_ready} : {$article->etc_ceremony}</span></td>
</tr>
***********셀렉트박스****************
1. zb5/modules/board/skins/zb5_board/tpl/write_form.tpl
<table border="0" cellpadding="0" cellspacing="0" class="tbl_normal">
<tr>
<td height="30" width="80" class="desc bold fc_02">{$lang->common->fld_place}</td>
<td width="100" class="desc fc_02">
<select name="place">
<option value="">{$lang->common->fld_choice}</option>
<option value="{$lang->common->fld_hall}">{$lang->common->fld_hall}</option>
<option value="{$lang->common->fld_hall2}">{$lang->common->fld_hall2}</option>
<option value="{$lang->common->fld_hall3}">{$lang->common->fld_hall3}</option>
<option value="{$lang->common->fld_hall4}">{$lang->common->fld_hall4}</option>
<option value="{$lang->common->fld_hall5}">{$lang->common->fld_hall5}</option>
<option value="{$lang->common->fld_hall6}">{$lang->common->fld_hall6}</option>
</select></td>
</tr>
</table>
2. zb5/modules/board/skins/zb5_board/tpl/view.tpl
<tr>
<td height="30" colspan="2" class="subject"><div class="{$tr_class}">{$lang->common->fld_place} : {$article->place} </div></td>
</tr>

