묻고답하기

확장변수를 이용하여 경기 기록을 합산하고자 이것저것 뜯어보는 중인데요,

 

원래 제로보드 4에서 만들어서 쓰다가 이번에 XE로 갈아타게 되면서

 

계속 헤매고 있네요.

 

해당 게시판(이하 xe)은 http://hope1743.365managed.net/snu-sc/xe/hope1743 입니다.

 

그리고 이전 제로보드 4 게시판(이하 zb4)은 http://php.chol.com/~barkjm01/snu-sc/zboard4/zboard.php?id=shooting_record 입니다.

 

현재 확장변수는 모두 73개 인데요, 1~4는 각각 경기종목, 사수, 사격일시, 통제관 이고,

 

5~64는 60개의 점수 입력란 이며, 65~70은 60개의 점수를 10개씩 부분 합산한 값들이 들어가야 하며,

 

71은 총점 73는 만점 대비 % 입니다.

 

xe의 write_form.html 은 현재 다음과 같이 되어 있습니다.

(XE_official board skin을 수정해서 사용하고 있습니다.)

 

     <!--@if(count($extra_keys))-->
        {@ $extravar_list = $oDocument->getExtraVars()}
    <table border="1" cellspacing="0" summary="Extra Form" class="extraVarsList">
 <caption><em>*</em> : {$lang->is_required}</caption>
<tr>
        <th >{$extra_keys[1]->name}</th>
        <td> {$extra_keys[1]->getformHTML()}</td>
</tr>
<tr>
  <th >{$extra_keys[2]->name}</th>
        <td> {$extra_keys[2]->getformHTML()}</td>
</tr>
<tr>
  <th >{$extra_keys[3]->name}</th>
        <td> {$extra_keys[3]->getformHTML()}</td>
</tr>
<tr>
        <th >{$extra_keys[4]->name}</th>
        <td> {$extra_keys[4]->getformHTML()}</td>
</tr>
<TR>
<td width=517 colspan=2>
<div width=517 height-185>
<!-- 점수 입력 form -->
<TABLE cellSpacing=0 borderColorLight=#eee4e4 borderColorDark=#eee4e4 cellPadding=0 width=517 height=185>
<TR>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>&nbsp;</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>1</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>2</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>3</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>4</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>5</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>6</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>7</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>8</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>9</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>10</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>Sum.</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#ffffff height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>1</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[5]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[6]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[7]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[8]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[9]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[10]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[11]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[12]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[13]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[14]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#eee4e4 height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[65]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#ffffff height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>2</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[15]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[16]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[17]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[18]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[19]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[20]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[21]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[22]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[23]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[24]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#eee4e4 height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[66]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#ffffff height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>3</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[25]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[26]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[27]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[28]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[29]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[30]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[31]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[32]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[33]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[34]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#eee4e4 height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[67]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#ffffff height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>4</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[35]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[36]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[37]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[38]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[39]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[40]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[41]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[42]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[43]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[44]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#eee4e4 height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[68]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#ffffff height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>5</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[45]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[46]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[47]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[48]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[49]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[50]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[51]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[52]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[53]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[54]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#eee4e4 height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[69]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#ffffff height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=42>
<P align=center><FONT color=white size=2 face=굴림>6</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[55]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[56]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[57]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[58]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[59]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[60]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[61]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[62]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[63]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[64]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#eee4e4 height=22 width=42>
<P align=center><FONT size=2 face=굴림>{$extra_keys[70]->getformHTML()}</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#ffffff height=1 width=1></TD>
<TD bgColor=#ffffff height=1 width=42></TD>
<TD bgColor=#ffffff height=1 width=1></TD>
<TD bgColor=#ffffff height=1 width=42></TD>
<TD bgColor=#ffffff height=1 width=1></TD>
<TD bgColor=#ffffff height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=128 colSpan=5>
<P align=center><FONT color=white size=2 face=굴림>Total</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#eee4e4 height=22 width=128 colSpan=5>
<P align=center><FONT size=2 face=굴림><B>{$extra_keys[71]->getformHTML()}</B>&nbsp;pts.</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#a14d4d height=22 width=128 colSpan=5>
<P align=center><FONT color=white size=2 face=굴림>Percent</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD>
<TD bgColor=#eee4e4 height=22 width=128 colSpan=5>
<P align=center><FONT size=2 face=굴림><B>{$extra_keys[73]->getformHTML()}</B>&nbsp;%</FONT></P></TD>
<TD bgColor=#eee4e4 height=22 width=1></TD></TR>
<TR>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD>
<TD bgColor=#eee4e4 height=1 width=42></TD>
<TD bgColor=#eee4e4 height=1 width=1></TD></TR></TABLE>
<!-- 점수입력 form 끝 -->
</div></td>
</TR>
</table>
<br><br>
<!--@endif-->


 


중간에 주석으로 점수입력 form이라 표시된 부분이 점수와 부분합계, 총점, % 가 입력될 부분인데요,

 

첫번째 질문은 <div>로 레이어 처리를 했고, 안에 Table로 따로 셀 크기와 배경색까지 지정해서 넣어주었는데도,

 

글 작성을 누르면 다음과 같이 나옵니다.(Div 빼도 상황은 마찬가지입니다.)

원래 의도한 것은 다음과 같은 틀에 점수가 들어 있는 부분만 한줄 텍스트 입력 form으로 바뀌는 형태였습니다.

 

 

글자 색은 설정대로 되어 있어서 하얗게 되어 있지만, cell의 배경색이나 크기 설정이 정확히 들어가지 않은 듯 한데요,

(저 table 내 코드만 따로 떼서 html로 만들어보면 잘 됩니다.;;)

 

 원래 설정대로 나오게 하려면 어떻게 해야 할까요.

 

 

두번째 질문은,

 

부분 합계 처리와 관련한 질문인데요, zb4 에서 글쓰기로 들어가면 점수를 입력할 때 점수가 입력되면

 

곧바로 합계가 나오도록 처리되어 있습니다. 자바스크립트로 부분합을 걸어주었고,

 

각 입력 폼에 onfocusout() (철자가 이게 맞는지 정확하게 기억이 나지 않습니다만)을 설정해서

 

키입력이 끝나고 포커스가 이동하면 스크립트가 바로 작동하도록 되어 있었는데요,

 

xe에서는 <input> 태그가 따로 보이질 않는데, 어디에 저 스크립트를 적용시켜야 할까요..?

 

 

세번째 질문은 세번째 확장변수(경기종목) 의 값에 따라 계산 결과가 다르게 나오도록 하고 싶습니다.

 

경기 종목이 남자종목이면 1~60개의 점수의 합계를 내고, 여자종목이면 1~40까지의 점수만 합계를 내야 하는데요,

 

어떻게 해야 구현할 수 있을까요.?

 

 

질문이 좀 장황하게 되었는데요,  XE로 갈아타면서 아직도 멀미중인 초보자의 SOS 라 생각해주시고요,

 

많은 조언 부탁드립니다ㅠ

 

 

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
마이콘 이거 메인페이지에 삽입할 수 있는 방법 좀 알려주세요 [1] 2009.11.15 by 김병선960
JB''s Call to undefined function getfullurl() in /home/hosting_users/jungbang/www/modules/admin/admin.admin.view.php on line 95 [2] 2009.11.15 by JB''s
미고자라드 게시판 레이아웃이 깨지네요 [1] file 2009.11.15 by ememo
ji0324 xe 폴더 내의 모든 파일이 트래픽에 영향을 주나요? [1] 2009.11.15 by 백성찬
채리니파파 1.2.6에서 1.3으로 업데이트 하니 setting가 거의 뜨질 않네요. [1] 2009.11.15 by 백성찬
개구쟝이 호스팅관련 몇가지 질문..(서버과부화,동시접속자) [1] 2009.11.15 by 백성찬
민정식 Parse error: parse error, unexpected T_STRING in G:\userhome4\minmmt\xe\classes\context\Context.class.php on line 836  
누룽지aa 내컴퓨터에 제로보드 설치할때. [1] 2009.11.15 by 공듀
강석인988 XE 권한문제 [1] 2009.11.14 by B.G.M^^
assime IDC? 추천과 질문드립니다.  
넘버백 테크노트 2002 판을 제로보드 xe로 옮겨올수 있나요? [2] 2009.11.14 by guny
페아드린스 글을 수정할때 작성자가 변환되는것 말입니다; [1] 2009.11.14 by 백성찬
졸다보니종점 캐쉬파일 재생성을 누른후 모듈을 찾을수 없다는 메세지만 나오고 사이트에 접속을 할수가 없습니다  
skillmaker 카페 게시판이 안보입니다.ㅎㄷ;; [2] 2009.11.14 by 백성찬
무조건친절 xe_editor_autosave 문제. [1] 2009.11.14 by SMaker
무지개빛 invalid_access [1] 2009.11.14 by 백성찬
yongxun 처음 설정한 관리자 id 변경가능한가요? [2] 2009.11.14 by 홍학규810
마이콘 1.3.0 업데이트후 페이지를 찾을 수 없습니다 오류 [1] 2009.11.14 by 백성찬
Hope1743 확장변수 글쓰기 폼 관련해서 질문드립니다. file  
ewinpc 언어가 마음대로 바뀌어요? [1] 2009.11.14 by gf
★정동윤★ 홈페이지 출력이 쉬운 설치를 들어갔을 떄만 이상해집니다. [1] file 2009.11.14 by 백성찬
......욤 xe를 도메인co.kr에 설치를 했는데 도메인.com으로 포웨딩하니 [1] 2009.11.14 by 백성찬
박인만 게시판에서 한번 쓴 글에 대해서 수정 못하도록 할수 있나요? [1] 2009.11.14 by 백성찬
ji0324 IE6,7에선 홈이 보이질 않아요 [1] 2009.11.14 by 백성찬
할리퀸 게시판을 나모에 붙였는데 사이즈 조절 좀 알려주세요  
pandorhong 레이아웃 질문입니다. [3] 2009.11.14 by 웰빙백
칼잇으마 질문답변게시판에 목매는 이들에게 관심을 바라며 몇자 적습니다 [4] 2009.11.14 by 뒷뜰에핀행복
글로벌 xe설치 디렉토리 변경후 변경해 주어야할것은? [1] 2009.11.14 by guny
할리퀸 게시판이 이상해요 [2] 2009.11.14 by ememo
한꼬마 외부페이지에서 $oLayout 값 가져오는 방법은 없나요. [1] 2009.11.14 by SMaker