array('lun' => 20,'nam'=>'') ), 'bot'=>array(array('lun' => 166,'nam'=>'a riportare : '), array('lun' => 20,'nam'=>'') ) ); $pdf = new Report_template(); $pdf->setVars($admin_aziend,$title); $pdf->setFooterMargin(22); $pdf->setTopMargin(43); $pdf->SetFillColor(160, 255,220 ); $pdf->setRiporti(''); $pdf->AddPage(); $config = new Config; $scdl = new Schedule; $m = $scdl->getScheduleEntries(intval($_GET['orderby']),$admin_aziend['mascli']); if (sizeof($scdl->Entries) > 0) { $ctrl_partner=0; $ctrl_id_tes=0; $ctrl_paymov=0; while (list($key, $mv) = each($scdl->Entries)) { $pdf->SetFont('helvetica','',6); $class_partner=''; $class_paymov=''; $class_id_tes=''; $partner=''; $id_tes=''; $paymov=''; if ($mv["clfoco"]<>$ctrl_partner){ $class_partner='FacetDataTDred'; $partner=$mv["ragsoc"];
echo "\t<td class=\"FacetFieldCaptionTD\">".$script_transl['orderby']."</td><td class=\"FacetDataTD\">\n"; $gForm->variousSelect('orderby',$script_transl['orderby_value'],$form['orderby'],'FacetSelect',0,'orderby'); echo "\t </td>\n"; echo "</tr>\n"; echo "\t<tr class=\"FacetFieldCaptionTD\">\n"; echo "<td align=\"left\"><input type=\"submit\" name=\"return\" value=\"".$script_transl['return']."\">\n"; echo '<td align="right" colspan="2"> <input type="submit" accesskey="i" name="preview" value="'; echo $script_transl['view']; echo '" tabindex="100" >'; echo "\t </td>\n"; echo "\t </tr>\n"; echo "</table>\n"; if (isset($_POST['preview'])) { $scdl = new Schedule; $m = $scdl->getScheduleEntries($form['orderby'],$admin_aziend['masfor']); echo "<table class=\"Tlarge\">"; if (sizeof($scdl->Entries) > 0) { $ctrl_partner=0; $ctrl_id_tes=0; $ctrl_paymov=0; echo "<tr>"; $linkHeaders = new linkHeaders($script_transl['header']); $linkHeaders -> output(); echo "</tr>"; while (list($key, $mv) = each($scdl->Entries)) { $class_partner=''; $class_paymov=''; $class_id_tes=''; $partner=''; $id_tes='';