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