selInd = document.theForm.choose_list.selectedIndex;
      // get value of the selected option
      goURL = document.theForm.choose_list.options[selInd].value;
      // redirect browser to the grabbed value (hopefully a URL)	  
      self.location.href = theLINK + goURL;
}

//-->
</script>
	

<center><b>ALARM NAME :<?php echo $list_alarm [0][1] ;?></b>
<br>
<?php echo gettext("NUMBER OF RUN")." :".$list_alarm [0][3];?>
<?php echo " -  ".gettext("NUMBER OF SENT ALARM")." :".$list_alarm [0][5] ;?>
<?php echo "<br> ".gettext("DATE LAST RUN")." :";display_dateformat($list_alarm [0][4]); ?>

</center>
	  <table width="100%">
	  <TR> 
          <TD style="border-bottom: medium dotted #667766">&nbsp; </TD>
        </TR>
      </table>
	  
	   <table cellPadding=2 cellSpacing=2 width="100%" align=center><tr><td align=center>
	  <?php

				$color="red";
				$ttitle=gettext("ALARM REPORT");
				
				
}

//-->
</script>
	<br/>

<center><b>ALARM NAME :<?php 
echo $list_alarm[0][1];
?>
</b>
<br>
<?php 
echo gettext("NUMBER OF RUN") . " :" . $list_alarm[0][3];
echo " -  " . gettext("NUMBER OF SENT ALARM") . " :" . $list_alarm[0][5];
echo "<br> " . gettext("DATE LAST RUN") . " :";
display_dateformat($list_alarm[0][4]);
?>

</center>
	  <table width="100%">
	  <TR> 
          <TD style="border-bottom: medium dotted #667766"> &nbsp;</TD>
        </TR>
      </table>
	  
	   <table cellPadding=2 cellSpacing=2 width="100%" align=center><tr><td align=center>
	  <?php 
$color = "red";
$ttitle = gettext("ALARM REPORT");
if (count($list) > 0 && is_array($list)) {
    ?>
&nbsp;: </td>
	<td><?php 
echo htmlspecialchars($info_invoice['amount']);
?>
</td>
	<tr>
	<td><?php 
echo str_params(gettext("VAT (%1)%%"), array($info_invoice['vat']), 1);
?>
&nbsp;: </td>
	<td><?php 
echo htmlspecialchars($info_invoice['tax']);
?>
</td>
	</tr>
	<tr>
	<td><?php 
echo gettext("Total");
?>
&nbsp;: </td>
	<td><?php 
display_dateformat($info_invoice['total']);
?>
</td>
	</tr>
</table>

</div>

<?php 
include 'PP_footer.php';