kenken999/php
0
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">2<html lang="en">3 <head>4 <title>{$reportTitle}</title>5 <meta http-equiv="X-UA-Compatible" content="IE=Edge">6 {BEGIN style_block}7 <link type="text/css" href="styles/default.css" rel="stylesheet">8 <link type="text/css" href="styles/{$wr_pagestylepath}/style.css" rel="stylesheet">9 {END style_block} 10 <style>11 .report {font-size:11px}12 .report-title {font:bold 12px arial, verdana, sans serif, helvetica;}13 table.report {border-collapse: collapse; border: solid 2px #000;}14 table.report td {padding: 2px; border: solid 1px #ccc;}15 .groupsummary {border-bottom: solid 1px #000;}16 td.pagesummary {background: #ffffbb;}17 td.globalsummary {background: #ffe0b0;}18 .page-summary {border-top: 4px double #333;}19 select.apply-style {line-height: 1.4em; width: 90%;}20 .buttonborder {margin-right: 10px;}21 #wnd_header {cursor: move;}22 {BEGIN group_field_colors}23 td.group_{$iteration},24 td.nbgroup_{$iteration} {background: #{$color1};}25 td.header_{$iteration} {background: #{$color2};}26 {END group_field_colors} 27 {$styleStr}28 </style>29 {$includes}30 </head>31 32<body {$onload} class="{$wr_pagestylepath}">33<div class="rnr-page dreport">34 <div class="rnr-top ">35{$header}36 <h1>{$reportTitle}</h1>37 {BEGIN grid_block}38 <div class="rnr-s-grid {$wr_pagestylepath}">39 <table class="report rnr-b-report" width="95%" cellpadding="1" cellspacing="0" align="center" id="legend" {BEGIN legend_disp}style="display: none;"{END legend_disp}>40 {BEGIN grid_row}41 {BEGIN group}42 <!-- group headers -->43 {BEGIN newgroup}44 <tr>45 <td class="header_{$group_order} class{$groupId4}g class{$groupId4}g0f0u" groupname="{$groupId4}" colspan={$align_testAgr}>46 {$group_label} <font style="font-weight:900">{$grval}</font>47 </td>48 </tr>49 {BEGIN last_group_block}50 <tr>51 {BEGIN not_group_fields_values}52 <td class="blackshade class40g class{$fieldNum}f class40g{$fieldNum}f0u" groupname="40" fieldname="{$fieldNum}">{$field_label}</td>53 {END not_group_fields_values}54 </tr>55 {END last_group_block}56 {END newgroup}57 <!--end group headers-->58 {END group}59 60 {BEGIN details_summary_block}61 <!-- data -->62 {BEGIN row_data}63 <tr>64 {BEGIN not_group_fields_values}65 <td class="data class25g class{$fieldNum}f class25g{$fieldNum}f0u" groupname="25" fieldname="{$fieldNum}">{$field_value}</td>66 {END not_group_fields_values} 67 </tr>68 {END row_data}69 <!--end data-->70 {END details_summary_block}71 72 <!------------------------------------- group summary ----------------------------------------->73 {BEGIN group_summary_block}74 <tr>75 {BEGIN group_summary_totals}76 <td style="font-weight:bold;" groupname="{$groupIdSummary}" class="group_{$group_order} class{$groupIdSummary}g class{$groupIdSummary}g0f0u" colspan={$align_testAgr}>Summary for {$label} {$grval} - {$total_cnt} records total</td>77 {END group_summary_totals}78 </tr>79 <!--sum-->80 {BEGIN sum_aggregation_block}81 <tr>82 {BEGIN group_summary_fields_sum}83 <td class="group_{$group_order} class{$groupIdSum}g class{$iteration}f class{$groupIdSum}g{$iteration}f0u" groupname="{$groupIdSum}" fieldname="{$iteration}">84 {BEGIN first_block}85 Sum86 {END first_block}87 {BEGIN sum_field_flag}88 {$group_total_sum_value}89 {END sum_field_flag}90 </td>91 {END group_summary_fields_sum}92 </tr>93 {END sum_aggregation_block}94 <!--avg-->95 {BEGIN avg_aggregation_block}96 <tr>97 {BEGIN group_summary_fields_avg}98 <td class="group_{$group_order} class{$groupIdAvg}g class{$iteration}f class{$groupIdAvg}g{$iteration}f0u" groupname="{$groupIdSum}" groupname="{$groupIdAvg}" fieldname="{$iteration}">99 {BEGIN first_block}100 Average101 {END first_block}102 {BEGIN avg_field_flag}103 {$group_total_avg_value}104 {END avg_field_flag}105 </td>106 {END group_summary_fields_avg}107 </tr>108 {END avg_aggregation_block}109 <!--min-->110 {BEGIN min_aggregation_block}111 <tr>112 {BEGIN group_summary_fields_min}113 <td class="group_{$group_order} class{$groupIdMin}g class{$iteration}f class{$groupIdMin}g{$iteration}f0u" groupname="{$groupIdSum}" groupname="{$groupIdMin}" fieldname="{$iteration}">114 {BEGIN first_block}115 Min116 {END first_block}117 {BEGIN min_field_flag}118 {$group_total_min_value}119 {END min_field_flag}120 </td>121 {END group_summary_fields_min}122 </tr>123 {END min_aggregation_block}124 <!--max-->125 {BEGIN max_aggregation_block}126 <tr>127 {BEGIN group_summary_fields_max}128 <td class="group_{$group_order} class{$groupIdMax}g class{$iteration}f class{$groupIdMax}g{$iteration}f0u" groupname="{$groupIdSum}" groupname="{$groupIdMax}" fieldname="{$iteration}">129 {BEGIN first_block}130 Max131 {END first_block}132 {BEGIN max_field_flag}133 {$group_total_max_value}134 {END max_field_flag}135 </td>136 {END group_summary_fields_max}137 </tr>138 {END max_aggregation_block}139 <!--end group summary-->140 {END group_summary_block}141 <!--end grid row-->142 {END grid_row}143 144 {BEGIN summary_footer}145 <tr class="page-summary">146 {BEGIN not_group_fields}147 <td class="blackshade class40g class{$fieldId4}f class40g{$fieldId4}f0u" groupname="40" fieldname="{$fieldId4}">{$label}</td>148 {END not_group_fields}149 </tr>150 {END summary_footer}151 152 {BEGIN page_summary_block}153 <!-- page summary-->154 <tr>155 <td style="font-weight:bold;" groupname="26" class="pagesummary class26g class26g0f0u" colspan={$align_testAgr}>Page summary {$page_total_cnt} - records total</td>156 </tr>157 <!-- sum -->158 {BEGIN sum_aggregation_block}159 <tr>160 {BEGIN page_summary_fields_sum}161 <td class="pagesummary class29g class{$fieldId4}f class29g{$fieldId4}f0u" groupname="29" fieldname="{$fieldId}">162 {BEGIN first_field_flag}163 Sum164 {END first_field_flag}165 {BEGIN sum_field_flag}166 {$page_total_sum}167 {END sum_field_flag}168 </td>169 {END page_summary_fields_sum}170 </tr>171 {END sum_aggregation_block}172 <!-- avg -->173 {BEGIN avg_aggregation_block}174 <tr>175 {BEGIN page_summary_fields_avg}176 <td class="pagesummary class30g class{$fieldId4}f class30g{$fieldId4}f0u" groupname="30" fieldname="{$fieldId}">177 {BEGIN first_field_flag}178 Average179 {END first_field_flag}180 {BEGIN avg_field_flag}181 {$page_total_avg}182 {END avg_field_flag}183 </td>184 {END page_summary_fields_avg}185 </tr>186 {END avg_aggregation_block}187 <!-- min -->188 {BEGIN min_aggregation_block}189 <tr>190 {BEGIN page_summary_fields_min}191 <td class="pagesummary class27g class{$fieldId4}f class27g{$fieldId4}f0u" groupname="27" fieldname="{$fieldId}">192 {BEGIN first_field_flag}193 Min194 {END first_field_flag}195 {BEGIN min_field_flag}196 {$page_total_min}197 {END min_field_flag}198 </td>199 {END page_summary_fields_min}200 </tr>201 {END min_aggregation_block}202 <!-- max -->203 {BEGIN max_aggregation_block}204 <tr>205 {BEGIN page_summary_fields_max}206 <td class="pagesummary class28g class{$fieldId4}f class28g{$fieldId4}f0u" groupname="28" fieldname="{$fieldId}">207 {BEGIN first_field_flag}208 Max209 {END first_field_flag}210 {BEGIN max_field_flag}211 {$page_total_max}212 {END max_field_flag}213 </td>214 {END page_summary_fields_max}215 </tr>216 {END max_aggregation_block}217 <!--end page summary-->218 {END page_summary_block}219 220 {BEGIN global_summary_block}221 <!-- global summary-->222 <tr>223 <td style="font-weight:bold;" groupname="31" class="globalsummary class31g class31g0f0u" colspan={$align_testAgr}>Global summary {$global_total_cnt} - records total</td>224 </tr>225 <!-- sum -->226 {BEGIN sum_aggregation_block}227 <tr>228 {BEGIN page_summary_fields_sum}229 <td class="globalsummary class34g class{$fieldId4}f class34g{$fieldId4}f0u" groupname="34" fieldname="{$fieldId}">230 {BEGIN first_field_flag}231 Sum232 {END first_field_flag}233 {BEGIN sum_field_flag}234 {$global_total_sum}235 {END sum_field_flag}236 </td>237 {END page_summary_fields_sum}238 </tr>239 {END sum_aggregation_block}240 <!-- avg -->241 {BEGIN avg_aggregation_block}242 <tr>243 {BEGIN page_summary_fields_avg}244 <td class="globalsummary class35g class{$fieldId4}f class35g{$fieldId4}f0u" groupname="35" fieldname="{$fieldId}">245 {BEGIN first_field_flag}246 Average247 {END first_field_flag}248 {BEGIN avg_field_flag}249 {$global_total_avg}250 {END avg_field_flag}251 </td>252 {END page_summary_fields_avg}253 </tr>254 {END avg_aggregation_block}255 <!-- min -->256 {BEGIN min_aggregation_block}257 <tr>258 {BEGIN page_summary_fields_min}259 <td class="globalsummary class32g class{$fieldId4}f class32g{$fieldId4}f0u" groupname="32" fieldname="{$fieldId}">260 {BEGIN first_field_flag}261 Min262 {END first_field_flag}263 {BEGIN min_field_flag}264 {$global_total_min}265 {END min_field_flag}266 </td>267 {END page_summary_fields_min}268 </tr>269 {END min_aggregation_block}270 <!-- max -->271 {BEGIN max_aggregation_block}272 <tr>273 {BEGIN page_summary_fields_max}274 <td class="globalsummary class33g class{$fieldId4}f class33g{$fieldId4}f0u" groupname="33" fieldname="{$fieldId}">275 {BEGIN first_field_flag}276 Max277 {END first_field_flag}278 {BEGIN max_field_flag}279 {$global_total_max}280 {END max_field_flag}281 </td>282 {END page_summary_fields_max}283 </tr>284 {END max_aggregation_block}285 <!--end page summary-->286 {END global_summary_block}287 </table>288 </div>289 {END grid_block}290{$footer}291</div>292</div>293</body>294</html>295 