설문조사 에러에 관해서 > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

설문조사 에러에 관해서 정보

설문조사 에러에 관해서

본문

설문조사에서 코멘트를 입력한후 확인버튼을 누르거나,
코멘트 삭제버튼을 누르면 skin error라는 에러가 뜨면서 다음 화면으로 넘어가지 않습니다.

그런데 에러가 난 후, 다시 결과보기를 하면 코멘트입력이나 삭제는 되어 있구요. 원인을 모르겠네요. 아래는 관련 스킨입니다. 고수님들, 한번 봐주십시요.
+++++++++++++++++++++++++
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/lib/poll.lib.php");
?>
<table width="640" border="0" align="center" cellpadding="3" cellspacing="0" bgcolor="#FF973D">
  <tr>
    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td width="21"><img src="<?=$poll_skin_path?>/img/spacer.gif" width="21" height="1"></td>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="26" align="center"><img src="<?=$poll_skin_path?>/img/poll_re_06.gif" width="16" height="15"></td>
                      <td height="40"  style="padding-top:2px;"><span style="font-size:13px; color:#000000; font-weight:bold;"><?=$po_subject?></span><span style="font-size:13px;"> (전체<?=$nf_total_po_cnt?>표)</span></td>
                    </tr>
                    <tr align="center">
                      <td colspan="2" background="<?=$poll_skin_path?>/img/poll_re_09.gif"><img src="<?=$poll_skin_path?>/img/poll_re_09.gif" width="16" height="3"></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td height="10"></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="26"><img src="<?=$poll_skin_path?>/img/poll_re_11.gif" width="26" height="15"></td>
                      <td background="<?=$poll_skin_path?>/img/poll_re_13.gif"><img src="<?=$poll_skin_path?>/img/poll_re_13.gif" width="1" height="15"></td>
                      <td width="19"><img src="<?=$poll_skin_path?>/img/poll_re_15.gif" width="19" height="15"></td>
                    </tr>
                    <tr>
                      <td background="<?=$poll_skin_path?>/img/poll_re_20.gif"><img src="<?=$poll_skin_path?>/img/poll_re_20.gif" width="26" height="1"></td>
                      <td bgcolor="#F8F8F8" style="padding-bottom:3px;"><table width=100% cellpadding=0 cellspacing=0>
                          <? for ($i=1; $i<=count($list); $i++) { ?>
                          <tr>
                            <td width="45%" height="25" style="font-size:13px;"><?=$list[$i][num]?> . <?=$list[$i][content]?></td>
                            <td width="30%"><img src="<?=$poll_skin_path?>/img/poll_graph_y.gif" width="<?=(int)$list[$i][bar]?>" height="7"></td>
                            <td width="25%" style="font-size:13px;"><?=$list[$i][cnt]?> 표(<?=number_format($list[$i][rate], 1)?>%)</td>
                          </tr>
  <tr align="center" >
                            <td height="1" colspan="3" background="<?=$poll_skin_path?>/img/poll_re_31.gif"><img src="<?=$poll_skin_path?>/img/poll_re_31.gif" width="3" height="1"></td>
                          </tr>
                          <? } ?>
                        </table></td>
                      <td background="<?=$poll_skin_path?>/img/poll_re_22.gif"><img src="<?=$poll_skin_path?>/img/poll_re_22.gif" width="19" height="1"></td>
                    </tr>
                    <tr>
                      <td><img src="<?=$poll_skin_path?>/img/poll_re_24.gif" width="26" height="7"></td>
                      <td align="center" background="<?=$poll_skin_path?>/img/poll_re_26.gif"><img src="<?=$poll_skin_path?>/img/poll_re_26.gif" width="1" height="7"></td>
                      <td><img src="<?=$poll_skin_path?>/img/poll_re_28.gif" width="19" height="7"></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td align="center" background="<?=$poll_skin_path?>/img/poll_re_31.gif"><img src="<?=$poll_skin_path?>/img/poll_re_31.gif" width="3" height="1"></td>
                    </tr>
                    <tr>
                      <td height="10"></td>
                    </tr>
                  </table></td>
              </tr>
 
 
 
<? if ($is_etc) { ?>
              <tr>
                <td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="26"><img src="<?=$poll_skin_path?>/img/poll_re_34.gif" width="26" height="15"></td>
                      <td background="<?=$poll_skin_path?>/img/poll_re_13.gif" style="padding-top:3px; font-size:11px; color:#000000;"><?=$po_etc?></td>
                      <td width="19"><img src="<?=$poll_skin_path?>/img/poll_re_15.gif" width="19" height="15"></td>
                    </tr>
                    <tr>
                      <td background="<?=$poll_skin_path?>/img/poll_re_20.gif"><img src="<?=$poll_skin_path?>/img/poll_re_20.gif" width="26" height="1"></td>
                      <td bgcolor="#F8F8F8" style="padding-bottom:3px;">
 
  <? if ($member[mb_level] >= $po[po_level]) { ?>  
  <table width=100% cellpadding=0 cellspacing=0>
  <form name="fpollresult" method="post" action="javascript:fpollresult_submit(document.fpollresult);" autocomplete="off">
                        <input type=hidden name=po_id value="<?=$po_id?>">
                          <input type=hidden name=w value="">
                          <tr>
                            <td colspan=5 height="10"></td>
                          </tr>
 
 
                          <tr>
                            <td width="48" ><img src="<?=$poll_skin_path?>/img/poll_re_37.gif" width="48" height="19"></td>
<td><input type='text' name='pc_idea' style='width:99%; height:17px; font-size:13px;' class=input required itemname='의견' maxlength="100"> </td>

<? if ($member[mb_id]) { ?>
<td width="50" align="center"><input type=hidden name=pc_name value="<?=cut_str($member[mb_nick],255)?>"><?=$member[mb_nick]?></td>
<? } else { ?>
<td width="30"  style="font-size:13px;" align="center">이름</td>
<td width="60" ><input type='text' name='pc_name' style='width:99%; height:17px; font-size:13px;'  class=input required itemname='이름'></td>
<? } ?>
<td width="48" ><input name="image" type=image src='<?=$poll_skin_path?>/img/ok_btn.gif' align=absmiddle border=0></td>

                          </tr>
  </form>
                        </table>
<script language="JavaScript">
                    function fpollresult_submit(f)
                    {
                      f.action = "./poll_etc_update.php";
                      f.submit();
                    }
                    </script>
                  <? } ?>



                        <? for ($i=0; $i<count($list2); $i++) { ?>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td height="15" colspan="2"></td>
                          </tr>
                          <tr>
                            <td style="padding-left:7px; font-size:13px;" bgcolor="#EAEAEA" height="25" width=""><?=$list2[$i][name]?><? if ($list2[$i][del]) { echo $list2[$i][del] . "&nbsp;&nbsp;<img src='$g4[bbs_img_path]/btn_comment_delete.gif' width=45 height=14 border=0 align=absmiddle ></a>"; } ?></td>
                              <td style="padding-right:7px; font-size:13px; color:#000000;" align="right"  bgcolor="#EAEAEA"><?=$list2[$i][datetime]?></td>
                          </tr>
 
                          <tr>
                            <td height="1" colspan="2" background="<?=$g4[bbs_img_path]?>/dot_bg.gif"  bgcolor="#EAEAEA"></td>
                          </tr>
                          <tr>
                            <td height="25" colspan="2" bgcolor="#EAEAEA" style="padding-left:7px; font-size:13px; color:#000000;"><?=$list2[$i][idea]?></td>
                          </tr>
                        </table>
                        <? } ?>




                      </td>
                      <td background="<?=$poll_skin_path?>/img/poll_re_22.gif"><img src="<?=$poll_skin_path?>/img/poll_re_22.gif" width="19" height="1"></td>
                    </tr>
                    <tr>
                      <td><img src="<?=$poll_skin_path?>/img/poll_re_24.gif" width="26" height="7"></td>
                      <td align="center" background="<?=$poll_skin_path?>/img/poll_re_26.gif"><img src="<?=$poll_skin_path?>/img/poll_re_26.gif" width="1" height="7"></td>
                      <td><img src="<?=$poll_skin_path?>/img/poll_re_28.gif" width="19" height="7"></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
 <? } ?>
 
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<form name=fpolletc>
                    <tr>
                      <td width="26"><img src="<?=$poll_skin_path?>/img/poll_re_44.gif" width="26" height="57"></td>
                        <td background="<?=$poll_skin_path?>/img/poll_re_46.gif" style="padding-bottom:19px; font-size:13px; color:#000000; font-weight:bold;">설문조사 목록</td>
                      <td width="19"><img src="<?=$poll_skin_path?>/img/poll_re_48.gif" width="19" height="57"></td>
                    </tr>
                    <tr>
                      <td background="<?=$poll_skin_path?>/img/poll_re_20.gif"><img src="<?=$poll_skin_path?>/img/poll_re_20.gif" width="26" height="1"></td>
                      <td bgcolor="#F8F8F8" style="padding: 0 5 7 0px;">
                          <?=@poll('list.poll'); //설문조사 리스트?>
                      </td>
                      <td background="<?=$poll_skin_path?>/img/poll_re_22.gif"><img src="<?=$poll_skin_path?>/img/poll_re_22.gif" width="19" height="1"></td>
                    </tr>
                    <tr>
                      <td><img src="<?=$poll_skin_path?>/img/poll_re_24.gif" width="26" height="7"></td>
                      <td align="center" background="<?=$poll_skin_path?>/img/poll_re_26.gif"><img src="<?=$poll_skin_path?>/img/poll_re_26.gif" width="1" height="7"></td>
                      <td><img src="<?=$poll_skin_path?>/img/poll_re_28.gif" width="19" height="7"></td>
                    </tr>
</form>
                  </table></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td align="right"><a href="javascript:window.close();"><img src="<?=$poll_skin_path?>/img/close.gif" width="68" height="21" border="0"></a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
            </table></td>
          <td width="34" valign="top"><img src="<?=$poll_skin_path?>/img/poll_re_03.gif" width="34" height="89"></td>
        </tr>
      </table></td>
  </tr>
</table>
<script language='JavaScript'>
function select_po_id(fld)
{
    document.location.href = "./poll_result.php?po_id="+fld.options[fld.selectedIndex].value;
}
</script>
++++++++++++++++++++++++++++++
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로