Initial commit
This commit is contained in:
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
if (!empty($_SESSION['site809']))
|
||||
{
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
delSearchSessionData();
|
||||
unset($hisArray);
|
||||
if (empty($_GET['more']))
|
||||
$hisArray = sqlGetResAsArray("select distinct DHS_REPORT_NAME,DHS_AUDIT_CD,DHS_AUDIT_CU,DHS_DATE_FROM,DHS_DATE_TO from softspm_rep.rep_002_history_saved where DHS_AUDIT_DEP='".$_SESSION['syndis_eq_stock']."' order by DHS_AUDIT_CD desc limit 20");
|
||||
else
|
||||
$hisArray = sqlGetResAsArray("select distinct DHS_REPORT_NAME,DHS_AUDIT_CD,DHS_AUDIT_CU,DHS_DATE_FROM,DHS_DATE_TO from softspm_rep.rep_002_history_saved where DHS_AUDIT_DEP='".$_SESSION['syndis_eq_stock']."' order by DHS_AUDIT_CD desc");
|
||||
|
||||
?>
|
||||
|
||||
<div class="tag100">
|
||||
<div class="head_tag">Wykaz pracy studni</div>
|
||||
<div class="tag">
|
||||
<table WIDTH="100%" class="tag">
|
||||
<tr>
|
||||
<td class="label">Nazwa raportu</td>
|
||||
<td class="label"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="field_left">Generuj raport za dowolny okres</td>
|
||||
<td class="field_center"><a href="./reports/rep_002_print.php" target="_blank" title="Wydruk"><img src="./images/generate_report_16.png"></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tag100">
|
||||
<div class="head_tag">Archiwum</div>
|
||||
<div class="tag">
|
||||
|
||||
<table WIDTH="100%" class="tag">
|
||||
<tr>
|
||||
<td class="label">Data generowania raportu</td>
|
||||
<td class="label">Nazwa raportu</td>
|
||||
<td class="label">Zapisany przez</td>
|
||||
<td class="label">Data od</td>
|
||||
<td class="label">Data do</td>
|
||||
<td class="label"></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
for($i=0; $i<count($hisArray); $i++)
|
||||
{
|
||||
echo'
|
||||
<tr>
|
||||
<td class="field_center">'.$hisArray[$i]['DHS_AUDIT_CD'].'</td>
|
||||
<td class="field_left">'.$hisArray[$i]['DHS_REPORT_NAME'].'</td>
|
||||
<td class="field_center">'.$hisArray[$i]['DHS_AUDIT_CU'].'</td>
|
||||
<td class="field_center">'.$hisArray[$i]['DHS_DATE_FROM'].'</td>
|
||||
<td class="field_center">'.$hisArray[$i]['DHS_DATE_TO'].'</td>
|
||||
<td class="field_center">
|
||||
<a href="./reports/rep_002_his_xls.php?rp='.$hisArray[$i]['DHS_REPORT_NAME'].'" target="_blank" title="Wydruk"><img src="./images/excel_ico.png"></a>
|
||||
|
||||
<a href="./reports/rep_002_his_pdf.php?rp='.$hisArray[$i]['DHS_REPORT_NAME'].'" target="_blank" title="Generuj PDF"><img src="./images/pdf_ico.png"></a>
|
||||
</td>
|
||||
</tr>
|
||||
';
|
||||
|
||||
}
|
||||
if (empty($_GET['more']) && count($hisArray)>19)
|
||||
echo"<tr><TD class='field_left' colspan='6'><a href='./?pg=site809_rep2&more=1'>Pokaż więcej</a></TD></tr>";
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="tag100">
|
||||
<div class="tag_buttons">
|
||||
<a href='./?pg=site809'><INPUT class="btn btn-info btn-sm" TYPE='BUTTON' VALUE='<?php echo $lab_ButtonName_Back; ?>'></A>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php
|
||||
}
|
||||
else showFooterWarningAccessNotification($lab_FooterWarningAccessNotification_001);
|
||||
?>
|
||||
Reference in New Issue
Block a user