<?php /* Smarty version 2.6.3, created on 2010-02-19 17:53:43
         compiled from if/report/grep.tpl */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'if/report/grep.tpl', 3, false),array('modifier', 'md5', 'if/report/grep.tpl', 89, false),array('modifier', 'number_format', 'if/report/grep.tpl', 96, false),array('modifier', 'date_format', 'if/report/grep.tpl', 294, false),array('modifier', 'nl2br', 'if/report/grep.tpl', 303, false),)), $this); ?>
<html>
<head>
<title>PatrolClarice － Report:[<?php echo ((is_array($_tmp=$this->_tpl_vars['repinfo']['repname'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
]<?php if (! $this->_tpl_vars['repinfo']['no_grpname']): ?>[<?php echo ((is_array($_tmp=$this->_tpl_vars['repinfo']['group'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
]<?php endif; ?>[<?php echo $this->_tpl_vars['repinfo']['sdate']; ?>
～<?php echo $this->_tpl_vars['repinfo']['edate']; ?>
] </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css"><!--
body<?php echo '{'; ?>
font-family:verdana,sans-serif;  background: #666699 url(<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/report/bg.gif) repeat-y; margin: 0px<?php echo '}'; ?>

.kaigyo <?php echo '{'; ?>

	page-break-before: always;
	page-break-after: always;
<?php echo '}'; ?>

--></style>
<link rel="stylesheet" href="<?php echo $this->_tpl_vars['_path']['resource']; ?>
css/font.css" type="text/css">
<link rel="stylesheet" href="<?php echo $this->_tpl_vars['_path']['resource']; ?>
css/body.css" type="text/css">
<link rel="stylesheet" href="<?php echo $this->_tpl_vars['_path']['resource']; ?>
css/table.css" type="text/css">
</head>

<body bgcolor="#FFFFFF">

<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="47" rowspan="2"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/report/title.gif" width=471 height=47 alt="PatrolClarice" border="0"></td>
<td height="23" align="right"><a href="javascript:;" onclick="window.close();"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/report/close.gif" width="55" height="13" border="0"></a></td>
</tr>
<tr>
<td height="24" align="right">&nbsp;</td>
</tr>
</table>

<center>
<table width="95%" cellspacing="0" class="carte" cellpadding="0">
<tr>
<td align="right" height="25">
<table border="0" cellspacing="0" align="right" cellpadding="0">
<tr>
<td><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/carte/menu_head.gif" width="32" height="29"></td>
<td class="carte_menu03" align="center" nowrap>作成年月日：<?php echo $this->_tpl_vars['repinfo']['cdate']; ?>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="carte_td"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/carte/t_report.gif" width="140" height="32" alt="レポート情報"><br>
<br>
</td>
</tr>
<tr>
<td align="center" valign="top"> 
<table width="95%" class="naka1" align="center">
<tr>
<td class="naka2"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/carte/t_report_name.gif" width="68" height="9"></td>
<?php if (! $this->_tpl_vars['repinfo']['no_grpname']): ?>
<td class="naka3"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/carte/t_grp.gif"></td>
<?php endif; ?>
</tr>
<tr>
<td class="naka4"> <?php echo ((is_array($_tmp=$this->_tpl_vars['repinfo']['repname'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
 </td>
<?php if (! $this->_tpl_vars['repinfo']['no_grpname']): ?>
<td class="naka5"> <?php echo ((is_array($_tmp=$this->_tpl_vars['repinfo']['group'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
 </td>
<?php endif; ?>
</tr>
<tr>
<td class="naka6" colspan="2"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/carte/t_report_kikan.gif" width="88" height="11"></td>
</tr>
<tr>
<td class="naka7" colspan="2"> <?php echo $this->_tpl_vars['repinfo']['sdate']; ?>
～<?php echo $this->_tpl_vars['repinfo']['edate']; ?>
</td>
</tr>
</table>
<br><br>

<?php if ($this->_tpl_vars['repinfo']['af'] !== null): ?>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="naka17">◆稼働率統計情報&nbsp;（<?php echo $this->_tpl_vars['repinfo']['af'][0]['sdate']; ?>
 ～ <?php echo $this->_tpl_vars['repinfo']['af'][0]['edate'];  if ($this->_tpl_vars['repinfo']['af'][0]['af_days'] > 1): ?>&nbsp;&nbsp;<?php echo $this->_tpl_vars['repinfo']['af'][0]['af_days']; ?>
日間<?php endif; ?>）</td>
</tr>
</table>
<?php if (count($_from = (array)$this->_tpl_vars['repinfo']['af'])):
    foreach ($_from as $this->_tpl_vars['af']):
?>
<br>
<table width="95%">
<tr>
<td class="f12g_b">
	<img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/carte/arrow.gif" width="14" height="14" align="absmiddle">
	<?php echo ((is_array($_tmp=$this->_tpl_vars['af']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>

</td>
</tr>
</table>
<table width="95%">
<tr>
<td class="font12" width="1%" nowrap>
<img src="<?php echo $this->_tpl_vars['_path']['context']; ?>
clif.php/report.graph?g=<?php echo ((is_array($_tmp=$this->_tpl_vars['af']['graph']['output'])) ? $this->_run_mod_handler('md5', true, $_tmp) : md5($_tmp)); ?>
.png" width="370" height="200" style="border-left: 2px solid #cecece;border-top: 2px solid #cecece;border-right: 2px solid #9c9c9c;border-bottom: 2px solid #9c9c9c">
</td>
<td class="font12" width="1%" nowrap>&nbsp;</td>
<td class="font12" width="98%" valign="top">
<table cellspacing=0 cellpadding=2>
<tr>
<td width="1%" nowrap><div style="width:10px;height:10px;border:1px solid #000000;background-color:#319CFF">&nbsp;&nbsp;&nbsp;</div></td>
<td width="99%" align="left" class="font12" nowrap>正常稼動&nbsp;<?php echo $this->_tpl_vars['af']['available']; ?>
%&nbsp;(<?php echo ((is_array($_tmp=$this->_tpl_vars['af']['ok'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
回)</td>
</tr>
<?php if (count($_from = (array)$this->_tpl_vars['af']['oks'])):
    foreach ($_from as $this->_tpl_vars['eid'] => $this->_tpl_vars['oki']):
?>
<tr>
<td width="1%" nowrap>&nbsp;</td>
<td width="99%" align="left" class="font12" nowrap>
<?php if ($this->_tpl_vars['oki'][2]): ?><span class="f12g_b"><?php endif; ?>
<?php echo $this->_tpl_vars['eid']; ?>
&nbsp;<?php echo $this->_tpl_vars['oki'][1]; ?>
%&nbsp;(<?php echo $this->_tpl_vars['oki'][0]; ?>
回)
<?php if ($this->_tpl_vars['oki'][2]): ?></span><?php endif; ?>
</td>
<?php endforeach; unset($_from); endif; ?>
<tr>
<td width="1%" nowrap><div style="width:10px;height:10px;border:1px solid #000000;background-color:#FF0063">&nbsp;&nbsp;&nbsp;</div></td>
<td width="99%" align="left" class="font12" nowrap>エラー&nbsp;<?php echo $this->_tpl_vars['af']['down']; ?>
%&nbsp;(<?php echo ((is_array($_tmp=$this->_tpl_vars['af']['error'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
回)</td>
</tr>
<?php if (count($_from = (array)$this->_tpl_vars['af']['errors'])):
    foreach ($_from as $this->_tpl_vars['eid'] => $this->_tpl_vars['ei']):
?>
<tr>
<td width="1%" nowrap>&nbsp;</td>
<td width="99%" align="left" class="font12" nowrap>
<?php echo $this->_tpl_vars['eid']; ?>
&nbsp;<?php echo $this->_tpl_vars['ei'][1]; ?>
%&nbsp;(<?php echo $this->_tpl_vars['ei'][0]; ?>
回)
</td>
<?php endforeach; unset($_from); endif; ?>
</table>
<td>
</tr>
</table>
<table width="95%" class="nakas1">
<tr>
<td nowrap class="nakas2">稼働率</td>
<td nowrap class="nakas2">算出期間</td>
<td nowrap class="nakas2">総エラー時間</td>
<td nowrap class="nakas2">総エラー回数</td>
</tr>
<tr>
<td class="nakas3"><?php echo $this->_tpl_vars['af']['available']; ?>
%</td>
<td class="nakas3"><?php echo ((is_array($_tmp=$this->_tpl_vars['af']['af_days'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
日</td>
<td class="nakas3"><?php echo $this->_tpl_vars['af']['error_time']; ?>
</td>
<td class="nakas3"><?php echo ((is_array($_tmp=$this->_tpl_vars['af']['error'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
</td>
</tr>
</table>
<?php endforeach; unset($_from); endif; ?>
<br><br>
<?php endif; ?>

<?php if (( ( $this->_tpl_vars['repinfo']['gstats'] !== null ) && ( count ( $this->_tpl_vars['repinfo']['gstats'] ) > 0 ) ) || ( $this->_tpl_vars['repinfo']['mstats'] !== null )): ?>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr> 
<td class="naka17">◆統計情報　　監視結果の統計です。</td>
</tr>
</table>
<br>
<?php if (( $this->_tpl_vars['repinfo']['gstats'] !== null ) && ( count ( $this->_tpl_vars['repinfo']['gstats'] ) > 0 )): ?>
<table width="95%">
<tr>
<td class="f12g_b">
<img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/carte/arrow.gif" width="14" height="14" align="absmiddle">
グループ統計　※トラフィック等の監視の最大、最小、平均を表示します。</td>
</tr>
</table>
<table width="95%" class="nakas1">
<tr>
<td class="nakas2">監視内容</td>
<td nowrap class="nakas2">最大</td>
<td nowrap class="nakas2">最小</td>
<td nowrap class="nakas2">平均</td>
</tr>
<?php if (count($_from = (array)$this->_tpl_vars['repinfo']['gstats'])):
    foreach ($_from as $this->_tpl_vars['gi']):
?>
<tr>
<td class="nakas3"><?php echo ((is_array($_tmp=$this->_tpl_vars['gi']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
[<?php echo $this->_tpl_vars['gi']['monc']; ?>
]</td>
<td class="nakas3"><?php if ($this->_tpl_vars['gi']['max'] != 'nan'):  echo ((is_array($_tmp=$this->_tpl_vars['gi']['max'])) ? $this->_run_mod_handler('number_format', true, $_tmp, '1') : number_format($_tmp, '1'));  else: ?>nan<?php endif;  if (strlen ( $this->_tpl_vars['gi']['maxip'] ) > 0): ?>(<?php echo ((is_array($_tmp=$this->_tpl_vars['gi']['maxip'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  if ($this->_tpl_vars['gi']['maxmul']): ?>他<?php endif; ?>)<?php endif; ?></td>
<td class="nakas3"><?php if ($this->_tpl_vars['gi']['min'] != 'nan'):  echo ((is_array($_tmp=$this->_tpl_vars['gi']['min'])) ? $this->_run_mod_handler('number_format', true, $_tmp, '1') : number_format($_tmp, '1'));  else: ?>nan<?php endif;  if (strlen ( $this->_tpl_vars['gi']['minip'] ) > 0): ?>(<?php echo ((is_array($_tmp=$this->_tpl_vars['gi']['minip'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  if ($this->_tpl_vars['gi']['minmul']): ?>他<?php endif; ?>)<?php endif; ?></td>
<td class="nakas3"><?php if (( $this->_tpl_vars['gi']['ave'] != 'nan' ) && ( $this->_tpl_vars['gi']['scnt'] > 0 )):  echo ((is_array($_tmp=$this->_tpl_vars['gi']['ave']/$this->_tpl_vars['gi']['scnt'])) ? $this->_run_mod_handler('number_format', true, $_tmp, '1') : number_format($_tmp, '1'));  else: ?>nan<?php endif; ?></td>
</tr>
<?php endforeach; unset($_from); endif; ?>
</table>
<br>
<?php endif; ?>
<table width="95%">
<tr>
<td class="f12g_b">
<img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/carte/arrow.gif" width="14" height="14" align="absmiddle">
監視統計&nbsp;
<?php if ($this->_tpl_vars['repinfo']['stat_d'] == 1): ?>
（<?php echo $this->_tpl_vars['repinfo']['stat_s']; ?>
 ～ <?php echo $this->_tpl_vars['repinfo']['stat_e']; ?>
）
<?php else: ?>
（<?php echo $this->_tpl_vars['repinfo']['stat_s']; ?>
 ～ <?php echo $this->_tpl_vars['repinfo']['stat_e']; ?>
&nbsp;&nbsp;<?php echo $this->_tpl_vars['repinfo']['stat_d']; ?>
日間）
<?php endif; ?>
</td>
</tr>
</table>
<table width="95%" class="nakas1">
<tr>
<td class="nakas2">監視内容</td>
<td nowrap class="nakas2">総監視回数</td>
<td nowrap class="nakas2">OK数</td>
<td nowrap class="nakas2">Alert数</td>
<td nowrap class="nakas2">Warning数</td>
</tr>
<?php if (count($_from = (array)$this->_tpl_vars['repinfo']['mstats'])):
    foreach ($_from as $this->_tpl_vars['si']):
?>
<tr>
<td class="nakas3"><?php echo ((is_array($_tmp=$this->_tpl_vars['si']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<td class="nakas3"><?php echo ((is_array($_tmp=$this->_tpl_vars['si']['total'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
</td>
<td class="nakas3"><?php echo ((is_array($_tmp=$this->_tpl_vars['si']['ok'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
</td>
<td class="nakas3"><?php echo ((is_array($_tmp=$this->_tpl_vars['si']['alert'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
</td>
<td class="nakas3"><?php echo ((is_array($_tmp=$this->_tpl_vars['si']['warn'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
</td>
</tr>
<?php endforeach; unset($_from); endif; ?>
</table>
<br>
<?php endif; ?>

<br>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="naka17">◆詳細情報　　選択された監視の監視結果です。</td>
</tr>
</table>
<br>
<?php if (count($_from = (array)$this->_tpl_vars['repinfo']['monreps'])):
    foreach ($_from as $this->_tpl_vars['mi']):
?>
<table width="95%">
<tr>
<td class="font12b">
	<img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/carte/arrow.gif" width="14" height="14" align="absmiddle">
	<?php echo ((is_array($_tmp=$this->_tpl_vars['mi']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>

</td>
</tr>
<?php if (count($_from = (array)$this->_tpl_vars['mi']['graphs'])):
    foreach ($_from as $this->_tpl_vars['gi']):
?>
<tr>
<td class="font10" align="center">
<img src="<?php echo $this->_tpl_vars['_path']['context']; ?>
clif.php/report.graph?g=<?php echo ((is_array($_tmp=$this->_tpl_vars['gi']['output'])) ? $this->_run_mod_handler('md5', true, $_tmp) : md5($_tmp)); ?>
.png"><br>
</td>
</tr>
<?php endforeach; unset($_from); endif; ?>
</table>
<?php if ($this->_tpl_vars['mi']['rrdvals'] !== null): ?>
<br>
<table width="95%" class="nakas1">
<tr align="center">
<?php if (isset($this->_foreach['rrdvals_header'])) unset($this->_foreach['rrdvals_header']);
$this->_foreach['rrdvals_header']['name'] = 'rrdvals_header';
$this->_foreach['rrdvals_header']['total'] = count($_from = (array)$this->_tpl_vars['mi']['rrdvals']['header']);
$this->_foreach['rrdvals_header']['show'] = $this->_foreach['rrdvals_header']['total'] > 0;
if ($this->_foreach['rrdvals_header']['show']):
$this->_foreach['rrdvals_header']['iteration'] = 0;
    foreach ($_from as $this->_tpl_vars['ri']):
        $this->_foreach['rrdvals_header']['iteration']++;
        $this->_foreach['rrdvals_header']['first'] = ($this->_foreach['rrdvals_header']['iteration'] == 1);
        $this->_foreach['rrdvals_header']['last']  = ($this->_foreach['rrdvals_header']['iteration'] == $this->_foreach['rrdvals_header']['total']);
?>
<td class="nakas2" <?php if ($this->_foreach['rrdvals_header']['first']): ?>width="20%" nowrap<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['ri'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endforeach; unset($_from); endif; ?>
</tr>
<?php if (isset($this->_foreach['rrdvals'])) unset($this->_foreach['rrdvals']);
$this->_foreach['rrdvals']['name'] = 'rrdvals';
$this->_foreach['rrdvals']['total'] = count($_from = (array)$this->_tpl_vars['mi']['rrdvals']['values']);
$this->_foreach['rrdvals']['show'] = $this->_foreach['rrdvals']['total'] > 0;
if ($this->_foreach['rrdvals']['show']):
$this->_foreach['rrdvals']['iteration'] = 0;
    foreach ($_from as $this->_tpl_vars['rvs']):
        $this->_foreach['rrdvals']['iteration']++;
        $this->_foreach['rrdvals']['first'] = ($this->_foreach['rrdvals']['iteration'] == 1);
        $this->_foreach['rrdvals']['last']  = ($this->_foreach['rrdvals']['iteration'] == $this->_foreach['rrdvals']['total']);
?>
<tr>
<?php if (isset($this->_foreach['rrdvals_values'])) unset($this->_foreach['rrdvals_values']);
$this->_foreach['rrdvals_values']['name'] = 'rrdvals_values';
$this->_foreach['rrdvals_values']['total'] = count($_from = (array)$this->_tpl_vars['rvs']);
$this->_foreach['rrdvals_values']['show'] = $this->_foreach['rrdvals_values']['total'] > 0;
if ($this->_foreach['rrdvals_values']['show']):
$this->_foreach['rrdvals_values']['iteration'] = 0;
    foreach ($_from as $this->_tpl_vars['rv']):
        $this->_foreach['rrdvals_values']['iteration']++;
        $this->_foreach['rrdvals_values']['first'] = ($this->_foreach['rrdvals_values']['iteration'] == 1);
        $this->_foreach['rrdvals_values']['last']  = ($this->_foreach['rrdvals_values']['iteration'] == $this->_foreach['rrdvals_values']['total']);
?>
<td class="nakas3"><?php echo ((is_array($_tmp=$this->_tpl_vars['rv'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endforeach; unset($_from); endif; ?>
</tr>
<?php endforeach; unset($_from); endif; ?>
</table>
<table width="95%">
<tr>
<td nowrap align="right"><a href="#top" class="menu_ser">▲TOP</a></td>
</tr>
</table>
<?php endif; ?>
<?php endforeach; unset($_from); endif; ?>
<br>

<?php if ($this->_tpl_vars['repinfo']['alerts'] !== null): ?>
<div class="kaigyo"></div>
<br>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="naka17">◆障害情報　　選択期間内に起こった障害です。</td>
</tr>
</table>
<br>
<table width="95%">
<tr>
<td class="f12g_b">
<img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/carte/arrow.gif" width="14" height="14" align="absmiddle">
<?php if ($this->_tpl_vars['repinfo']['af'] !== null): ?>
<?php if ($this->_tpl_vars['repinfo']['over_exists']): ?>
<?php if ($this->_tpl_vars['af_monc'] > 1): ?>
アラートリスト　　※最新<?php echo $this->_tpl_vars['MAX_ALERTS']; ?>
件まで、<?php echo ((is_array($_tmp=$this->_tpl_vars['af_mons'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
監視は各々最大<?php echo $this->_tpl_vars['MAX_AFMONS_ALERTS']; ?>
件まで表示します。
<?php else: ?>
アラートリスト　　※最新<?php echo $this->_tpl_vars['MAX_ALERTS']; ?>
件まで、<?php echo ((is_array($_tmp=$this->_tpl_vars['af_mons'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
監視は最大<?php echo $this->_tpl_vars['MAX_AFMONS_ALERTS']; ?>
件まで表示します。
<?php endif; ?>
<?php else: ?>
アラートリスト　　※最新<?php echo $this->_tpl_vars['MAX_ALERTS']; ?>
件まで、<?php echo ((is_array($_tmp=$this->_tpl_vars['af_mons'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
監視は全件表示します。
<?php endif; ?>
<?php else: ?>
アラートリスト　　※最新<?php echo $this->_tpl_vars['MAX_ALERTS']; ?>
件まで表示します。
<?php endif; ?>
</td>
</tr>
</table>
<table width="95%" class="nakas1">
<tr align="center">
<td nowrap class="nakas2" width="15%">発生日時</td>
<td nowrap class="nakas2" width="15%">障害状況</td>
<td nowrap class="nakas2" width="10%">監視内容</td>
<td nowrap class="nakas2" width="30%">詳細内容</td>
<td nowrap class="nakas2" width="30%">コメント</td>
</tr>
<?php if (count($_from = (array)$this->_tpl_vars['repinfo']['alerts'])):
    foreach ($_from as $this->_tpl_vars['ai']):
?>
<tr>
<td class="nakas3" nowrap><font size=1><?php echo ((is_array($_tmp=$this->_tpl_vars['ai']['sdate'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y/%m/%d %H:%M:%S') : smarty_modifier_date_format($_tmp, '%Y/%m/%d %H:%M:%S')); ?>
</font></td>
<td class="nakas3" nowrap>
<?php if ($this->_tpl_vars['ai']['to'] == -1): ?><b><?php endif;  if ($this->_tpl_vars['ai']['status'] == 2): ?>アラート<?php elseif ($this->_tpl_vars['ai']['status'] == 1): ?>ワーニング<?php else: ?>?<?php endif;  if ($this->_tpl_vars['ai']['to'] == -1): ?></b><?php endif;  if ($this->_tpl_vars['ai']['to'] >= 0): ?>→<?php if ($this->_tpl_vars['ai']['to'] == 1): ?>ワーニング<?php elseif ($this->_tpl_vars['ai']['to'] == 2): ?>アラート<?php elseif ($this->_tpl_vars['ai']['to'] == 3): ?>停止<?php else: ?>復旧<?php endif;  endif; ?><br>
<?php echo $this->_tpl_vars['ai']['ptime']; ?>
(<?php echo $this->_tpl_vars['ai']['count']; ?>
回)
</td>
<td class="nakas3"><?php echo ((is_array($_tmp=$this->_tpl_vars['ai']['modname'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<td class="nakas3"><?php echo $this->_tpl_vars['ai']['errcd']; ?>
:&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['ai']['errmsg'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<td class="nakas3">
<?php if ($this->_tpl_vars['ai']['to'] != -1): ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['ai']['comment'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>

<?php else: ?>
<b><?php echo ((is_array($_tmp=$this->_tpl_vars['ai']['wstat'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</b>
<?php endif; ?>
</td>
</tr>
<?php endforeach; unset($_from); endif; ?>
</table>
<table width="95%">
<tr>
<td nowrap align="right"><a href="#top" class="menu_ser">▲TOP</a></td>
</tr>
</table>
<?php endif; ?>

<br>
<span class="f10g_b"><?php echo ((is_array($_tmp=$this->_tpl_vars['repinfo']['footer'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</span>
<br><br>
</td>
</tr>
</table>
</center>
<br>
</body>
</html>
