#set($title = "アンケート結果速報") #set( $userInfo = $tools.getUserInfo()) #set( $adminUserInfo = $tools.getAdminUserInfo()) <!DOCTYPE html> <html lang="ja"> <head> #if($ContentType) <meta charset="Shift_JIS"> #else <meta charset="UTF-8"> #end <title>$!title</title> <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" /> <link rel="stylesheet" href="/em/css/smartphone.css" /> <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script> <!--[if !IE]><!--> <script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script> <!--<![endif]--> </head> <body> <div data-role="page" id="enquete" data-theme="f"> <center> <!-- header --> <table width="100%" cellspacing="0" cellpadding="0"><!-- TABLE1 --> <tr> <TD>#parse( "/common/header_sp.vm" )</TD> </tr> <tr> <TD> <table width="100%" border="0" cellspacing="0" cellpadding="0"><!-- TABLE2 --> <tr> <td width="100%" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="5" cellpadding="0"><!-- TABLE3 --> <tr> <td align="center" bgcolor="#FFFFFF" align="center" > ##CONTENT START 各ページコンテンツ <!-- Contents Title Table Start --> <BR> <font color="#666666" size="4"><B>$!enqueteSumBatchForm.enquete.enqueteName</B></font> <BR> <table width="90%"> <tr><td align="right">$date.format("yyyy年MM月dd日 HH:mm",$date.getDate()) 現在</td></tr> </table> #set($totalCnt = 0 ) #foreach($age in $enqueteSumBatchForm.ageList) #set($totalCnt = $totalCnt + $age.cnt) #end <BR> <!-- 開始 --> #if($enqueteSumBatchForm.enqueteResultSumList) <!-- ERROR START --> #foreach($enqueteResultSumList in $!enqueteSumBatchForm.enqueteResultSumList) #set($preQuestionNo = "") #foreach($enqueteResultSum in $enqueteResultSumList) #set($totalCnt = $enqueteSumBatchForm.totalCountMap.get($enqueteResultSum.questionId)) #if($preQuestionNo != $enqueteResultSum.questionNo) <table width="90%"> <tr> <td class=""><font color="#000099">設問: $!{enqueteResultSum.questionName} <BR> $!{enqueteResultSum.question} </font></td> <td nowrap class="" align="right" width="20%"><font color="#000099">有効回答者数: ${totalCnt}名</font></td> </tr> </table> <table width="90%" border="0" cellspacing="0" cellpadding="2" bgcolor="#FFFFFF"> <tr> <td class="listmenu" align="left"><font color="#FFA500">選択項目</font></td> <td class="listmenu" align="right"><font color="#FFA500">回答件数</font></td> <td class="listmenu" align="right"><font color="#FFA500">割合</font></td> <td class="listmenu" > </th> </tr> #end #set($percent = $math.round($math.mul($math.div($!enqueteResultSum.cnt ,$!totalCnt), 100))) <tr> <td class="listcts" width="40%" align="left"><font color="#666666">$!{enqueteResultSum.answer}</font></td> <td class="listcts" width="20%" align="right"><font color="#666666">$!{enqueteResultSum.cnt}件</font></td> <td class="listcts" width="10%" align="right"><font color="#666666">$!{percent}%</font></td> <td class="listcts" width="30%" align="left"> <table border="0" cellpadding="1" cellspacing="1" width="$!percent%" > <tr> <td align="left" height="8" #if($!math.mul($percent,6) != 0) bgcolor="#0000ff" #end ></td> </tr> </table> </td> </tr> #set($preQuestionNo = $enqueteResultSum.questionNo) #end </table> <BR> #end <!-- ERROR END --> #end <!-- 終了 --> </td> </tr> </table><!-- TABLE 3 END --> </td> </tr> </table><!-- TABLE2 END --> </TD> </tr> <tr> <TD>#parse( "/common/footer_sp_sum.vm" )</TD> </tr> </table><!-- TABLE1 END --> </center> </div> </body> </html>