<?php /* Smarty version 2.6.3, created on 2009-02-21 16:44:56
         compiled from group/svrkarte.tpl */ ?>
<html lang="<?php echo $this->_tpl_vars['_lang']; ?>
">
<head>
<title>PatrolClarice － サーバカルテ:[<?php echo $this->_tpl_vars['ip']; ?>
]<?php if ($this->_tpl_vars['sname']): ?>[<?php echo $this->_tpl_vars['sname']; ?>
]<?php endif; ?></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">

<!--::head start::-->
<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">
<?php if ($this->_tpl_vars['bf_id']): ?>
<a href="group.svrkarte?dp=<?php echo $this->_tpl_vars['_time']; ?>
&id=<?php echo $this->_tpl_vars['bf_id']; ?>
" >
<img src="<?php echo $this->_tpl_vars['_path']['i18n_resource']; ?>
img/carte/rev.gif" width="71" height="13" hspace="2" border="0"></a>
<?php endif; ?>
<?php if ($this->_tpl_vars['nx_id']): ?>
<a href="group.svrkarte?dp=<?php echo $this->_tpl_vars['_time']; ?>
&id=<?php echo $this->_tpl_vars['nx_id']; ?>
" >
<img src="<?php echo $this->_tpl_vars['_path']['i18n_resource']; ?>
img/carte/next.gif" width="71" height="13" border="0"></a>
<?php endif; ?>
</td>
</tr>
</table>
<!--::head end::-->

<center>
<table width="95%" cellspacing="0" class="carte" cellpadding="0" >
<tr> 
<td>
<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_menu01"><img src="<?php echo $this->_tpl_vars['_path']['i18n_resource']; ?>
img/carte/menu_servise.gif" width="83" height="12"></td>
<td class="carte_menu02" align="center"><img src="<?php echo $this->_tpl_vars['_path']['i18n_resource']; ?>
img/carte/look_icon.gif" width="13" height="15" hspace="1" align="absmiddle"><a href="group.siview?id=<?php echo $this->_tpl_vars['id']; ?>
&dp=<?php echo $this->_tpl_vars['_time']; ?>
" class="font12_linkw" target="_blank">見る</a></td>
<td class="carte_menu02" align="center"><img src="<?php echo $this->_tpl_vars['_path']['i18n_resource']; ?>
img/carte/get_icon.gif" width="13" height="15" hspace="1" align="absmiddle"><a href="group.svrkarte?md=si&id=<?php echo $this->_tpl_vars['id']; ?>
&dp=<?php echo $this->_tpl_vars['_time']; ?>
#svrinfo" class="font12_linkw" >取得する</a>
</td>
</tr>
</table>
</td>
</tr>
<tr> 
<td class="carte_td"><img src="<?php echo $this->_tpl_vars['_path']['i18n_resource']; ?>
img/carte/t_carte.gif" width="134" height="32"><br>
<br>
</td>
</tr>
<tr> 
<td align="center" valign="top"> 
<table width="95%" class="naka1" align="center">
<tr> 
<td class="naka2" width=50%><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/carte/t_fileno.gif" width="37" height="8"></td>
<td class="naka3" width=50%><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/carte/t_name.gif" width="28" height="8"></td>
</tr>
<tr> 
<td class="naka4"> <?php echo $this->_tpl_vars['id']; ?>
 </td>
<td class="naka5"> <?php echo $this->_tpl_vars['sname']; ?>


<?php if ($this->_tpl_vars['si']): ?>
&nbsp;&nbsp;<span class=fs2>［
<?php if ($this->_tpl_vars['sires'] == 0): ?>
*サーバ情報自動取得完了
<?php else: ?>
*サーバ情報自動取得失敗(error code: <?php echo $this->_tpl_vars['sires']; ?>
)
<?php endif; ?>
］</span>
<?php endif; ?>

</td>
</tr>
<tr> 
<td class="naka6" colspan="2"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/carte/t_touroku.gif" width="54" height="10"></td>
</tr>
<tr> 
<td class="naka7" colspan="2"> <?php echo $this->_tpl_vars['cdate']; ?>
</td>
</tr>
</table>
<p>&nbsp;</p><table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr> 
<td class="naka17">◆サーバ構成</td>
</tr>
</table>
<br>
<table width="95%" class="naka1">
<tr> 
<td rowspan="9" align="center" width="35%"> 
<table width="95%" border="0" cellspacing="0" cellpadding="5" height="195">
<tr> 
<td bgcolor="#D3D4ED" align="center" width=40%>
	<?php if ($this->_tpl_vars['img']): ?>
	<img src="group.serverimg?dp=<?php echo $this->_tpl_vars['_time']; ?>
&id=<?php echo $this->_tpl_vars['id']; ?>
" width="195" style="border: 3px solid #e4e4e4;">
	<?php else: ?>
	<img src="<?php echo $this->_tpl_vars['_path']['i18n_resource']; ?>
img/server.gif" height="80">
	<?php endif; ?>
</td>
</tr>
</table>
</td>
<td colspan="2" class="naka8">設定内容</td>
</tr>
<tr> 
<td class="naka9" width=20%>IP（ホスト名）</td>
<td class="naka10" width=40%><?php echo $this->_tpl_vars['ip'];  if ($this->_tpl_vars['host']): ?>(<?php echo $this->_tpl_vars['host']; ?>
)<?php endif; ?></td>
</tr>
<tr> 
<td class="naka11" width=20%>OS</td>
<td class="naka12" width=40%><?php echo $this->_tpl_vars['os']; ?>
</td>
</tr>
<tr> 
<td class="naka9">カーネルバージョン</td>
<td class="naka10"><?php echo $this->_tpl_vars['kver']; ?>
</td>
</tr>
<tr> 
<td class="naka11">CPU</td>
<td class="naka12"><?php echo $this->_tpl_vars['cpu']; ?>
</td>
</tr>
<tr> 
<td class="naka9">メモリ</td>
<td class="naka10"><?php echo $this->_tpl_vars['mem']; ?>
</td>
</tr>
<tr> 
<td class="naka11">HDD</td>
<td class="naka12"><?php echo $this->_tpl_vars['hdd']; ?>
</td>
</tr>
<tr> 
<td class="naka9">電源</td>
<td class="naka10"><?php echo $this->_tpl_vars['pwr']; ?>
</td>
</tr>
<tr> 
<td class="naka11">サイズ</td>
<td class="naka12"><?php echo $this->_tpl_vars['size']; ?>
</td>
</tr>
<tr> 
<td colspan="3" class="naka8">サーバ付属情報</td>
</tr>
<tr> 
<td class="naka9">所属グループ</td>
<td class="naka10" colspan="2"><?php echo $this->_tpl_vars['grps']; ?>
</td>
</tr>
<tr> 
<td class="naka11">サーバ型名</td>
<td class="naka12" colspan="2"><?php echo $this->_tpl_vars['mn']; ?>
</td>
</tr>
<tr> 
<td class="naka9">販売店連絡先</td>
<td class="naka10" colspan="2"><?php echo $this->_tpl_vars['sc']; ?>
</td>
</tr>
<tr> 
<td class="naka11">管理者名</td>
<td class="naka12" colspan="2"><?php echo $this->_tpl_vars['aname']; ?>
</td>
</tr>
<tr> 
<td class="naka9">設置場所</td>
<td class="naka10" colspan="2"><?php echo $this->_tpl_vars['lct']; ?>
</td>
</tr>
<tr> 
<td class="naka11">箱の設置場所</td>
<td class="naka12" colspan="2"><?php echo $this->_tpl_vars['lctb']; ?>
</td>
</tr>
<tr> 
<td class="naka9">備考1</td>
<td class="naka10" colspan="2"><?php echo $this->_tpl_vars['note1']; ?>
</td>
</tr>
<tr> 
<td class="naka11">備考2</td>
<td class="naka12" colspan="2"><?php echo $this->_tpl_vars['note2']; ?>
</td>
</tr>
<?php if ($this->_tpl_vars['ec'] > 0): ?>
<tr>
<td colspan="3" class="naka8">ネットワークインターフェース</td>
</tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['ec']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<?php if (( $this->_sections['i']['rownum'] % 2 ) == 0): ?>
	<?php $this->assign('c1', 'naka11'); ?>
	<?php $this->assign('c2', 'naka12'); ?>
	<?php $this->assign('c3', 'nakas4'); ?>
<?php else: ?>
	<?php $this->assign('c1', 'naka9'); ?>
	<?php $this->assign('c2', 'naka10'); ?>
	<?php $this->assign('c3', 'nakas3'); ?>
<?php endif; ?>
<tr> 
<td class="<?php echo $this->_tpl_vars['c1']; ?>
"><?php echo $this->_tpl_vars['ethers'][$this->_sections['i']['index']]['name']; ?>
</td>
<td class="<?php echo $this->_tpl_vars['c3']; ?>
"><?php echo $this->_tpl_vars['ethers'][$this->_sections['i']['index']]['ip']; ?>
</td>
<td class="<?php echo $this->_tpl_vars['c2']; ?>
"><?php echo $this->_tpl_vars['ethers'][$this->_sections['i']['index']]['comment']; ?>
</td>
</tr>
<?php endfor; endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['uc'] > 0): ?>
<tr>
<td colspan="3" class="naka8">関連URL</td>
</tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['uc']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<?php if (( $this->_sections['i']['rownum'] % 2 ) == 0): ?>
	<?php $this->assign('c1', 'naka11'); ?>
	<?php $this->assign('c2', 'naka12'); ?>
<?php else: ?>
	<?php $this->assign('c1', 'naka9'); ?>
	<?php $this->assign('c2', 'naka10'); ?>
<?php endif; ?>
<tr> 
<td class="<?php echo $this->_tpl_vars['c1']; ?>
"><?php echo $this->_tpl_vars['urls'][$this->_sections['i']['index']]['name']; ?>
</td>
<td class="<?php echo $this->_tpl_vars['c2']; ?>
" colspan="2"><a href="<?php echo $this->_tpl_vars['urls'][$this->_sections['i']['index']]['url']; ?>
" class="intable" target=_blank><font color=#000000><?php echo $this->_tpl_vars['urls'][$this->_sections['i']['index']]['url']; ?>
</font></a></td>
</tr>
<?php endfor; endif; ?>
<?php endif; ?>
<tr> 
<td colspan="3" class="naka8">日時</td>
</tr>
<tr> 
<td class="naka9">登録日(登録ユーザー)</td>
<td class="naka10" colspan="2"><?php echo $this->_tpl_vars['cdate']; ?>
(<?php echo $this->_tpl_vars['cuser']; ?>
)</td>
</tr>
<tr> 
<td class="naka15">更新日(更新ユーザー)</td>
<td class="naka16" colspan="2"><?php echo $this->_tpl_vars['udate']; ?>
(<?php echo $this->_tpl_vars['uuser']; ?>
)</td>
</tr>
</table>
<p>&nbsp;</p>
<div class="kaigyo"></div>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr> 
<td class="naka17">◆詳細内容</td>
</tr>
</table>

<?php if ($this->_tpl_vars['appvers']): ?>
<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">
&nbsp;主要なアプリケーションのバージョン
</td>
</tr>
</table>
<table width="95%" class="nakas1">
<tr>
<td class="nakas2" align="center" nowrap>アプリケーション</td>
<td class="nakas2" align="center" nowrap>バージョン</td>
</tr>
<?php if (isset($this->_foreach['av'])) unset($this->_foreach['av']);
$this->_foreach['av']['name'] = 'av';
$this->_foreach['av']['total'] = count($_from = (array)$this->_tpl_vars['appvers']);
$this->_foreach['av']['show'] = $this->_foreach['av']['total'] > 0;
if ($this->_foreach['av']['show']):
$this->_foreach['av']['iteration'] = 0;
    foreach ($_from as $this->_tpl_vars['app'] => $this->_tpl_vars['ver']):
        $this->_foreach['av']['iteration']++;
        $this->_foreach['av']['first'] = ($this->_foreach['av']['iteration'] == 1);
        $this->_foreach['av']['last']  = ($this->_foreach['av']['iteration'] == $this->_foreach['av']['total']);
?>
<?php if (( $this->_foreach['av']['iteration'] % 2 ) == 0): ?>
	<?php $this->assign('c', 'nakas4'); ?>
<?php else: ?>
	<?php $this->assign('c', 'nakas3'); ?>
<?php endif; ?>
<tr>
<td class="<?php echo $this->_tpl_vars['c']; ?>
" nowrap width="20%"><?php echo $this->_tpl_vars['app']; ?>
</td>
<td class="<?php echo $this->_tpl_vars['c']; ?>
"><?php echo $this->_tpl_vars['ver']; ?>
</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; ?>

<?php if ($this->_tpl_vars['mcount'] > 0): ?>
<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">
&nbsp;監視内容
</td>
</tr>
</table>
<table width="95%" class="nakas1">
<tr>
<td class="nakas2" align="center" nowrap>現在状況</td>
<td class="nakas2" align="center" nowrap>監視名称</td>
<td class="nakas2" align="center" nowrap>設定内容</td>
<td class="nakas2" align="center" nowrap>アクション</td>
<td class="nakas2" align="center" nowrap>最終監視日時</td>
<td class="nakas2" align="center" nowrap>次回監視日時</td>
</tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['mcount']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<?php if (( $this->_sections['i']['rownum'] % 2 ) == 0): ?>
	<?php $this->assign('c', 'nakas4'); ?>
<?php else: ?>
	<?php $this->assign('c', 'nakas3'); ?>
<?php endif; ?>
<tr>
<td class="<?php echo $this->_tpl_vars['c']; ?>
" nowrap width="5%" align="center">
<?php if ($this->_tpl_vars['monlst'][$this->_sections['i']['index']]['status'] == 1): ?>
<img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/s_red.gif" width=16 height=16 hspace=5 alt="アラート" align=absmiddle>
<?php elseif ($this->_tpl_vars['monlst'][$this->_sections['i']['index']]['status'] == 2): ?>
<img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/s_yellow.gif" width=16 height=16 hspace=5 alt="ワーニング" align=absmiddle>
<?php elseif ($this->_tpl_vars['monlst'][$this->_sections['i']['index']]['status'] == 3): ?>
<img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/s_gray.gif" width=16 height=16 hspace=5 alt="停止中" align=absmiddle>
<?php else: ?>
<img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/s_blue.gif" width=16 height=16 hspace=5 alt="稼動中" align=absmiddle>
<?php endif; ?>
</td>
<td class="<?php echo $this->_tpl_vars['c']; ?>
" width="15%" nowrap><span title="<?php echo $this->_tpl_vars['monlst'][$this->_sections['i']['index']]['alt']; ?>
"><?php echo $this->_tpl_vars['monlst'][$this->_sections['i']['index']]['name']; ?>
</span></td>
<td class="<?php echo $this->_tpl_vars['c']; ?>
" width="20%"><?php echo $this->_tpl_vars['monlst'][$this->_sections['i']['index']]['alt']; ?>
</td>
<td class="<?php echo $this->_tpl_vars['c']; ?>
" width="20%">
<?php if ($this->_tpl_vars['monlst'][$this->_sections['i']['index']]['aact'] == 0): ?>
なし
<?php else: ?>
<?php unset($this->_sections['j']);
$this->_sections['j']['name'] = 'j';
$this->_sections['j']['loop'] = is_array($_loop=$this->_tpl_vars['monlst'][$this->_sections['i']['index']]['aactc']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['j']['show'] = true;
$this->_sections['j']['max'] = $this->_sections['j']['loop'];
$this->_sections['j']['step'] = 1;
$this->_sections['j']['start'] = $this->_sections['j']['step'] > 0 ? 0 : $this->_sections['j']['loop']-1;
if ($this->_sections['j']['show']) {
    $this->_sections['j']['total'] = $this->_sections['j']['loop'];
    if ($this->_sections['j']['total'] == 0)
        $this->_sections['j']['show'] = false;
} else
    $this->_sections['j']['total'] = 0;
if ($this->_sections['j']['show']):

            for ($this->_sections['j']['index'] = $this->_sections['j']['start'], $this->_sections['j']['iteration'] = 1;
                 $this->_sections['j']['iteration'] <= $this->_sections['j']['total'];
                 $this->_sections['j']['index'] += $this->_sections['j']['step'], $this->_sections['j']['iteration']++):
$this->_sections['j']['rownum'] = $this->_sections['j']['iteration'];
$this->_sections['j']['index_prev'] = $this->_sections['j']['index'] - $this->_sections['j']['step'];
$this->_sections['j']['index_next'] = $this->_sections['j']['index'] + $this->_sections['j']['step'];
$this->_sections['j']['first']      = ($this->_sections['j']['iteration'] == 1);
$this->_sections['j']['last']       = ($this->_sections['j']['iteration'] == $this->_sections['j']['total']);
?>
  <?php if ($this->_sections['j']['rownum'] != 1): ?>/<?php endif; ?>
  <?php if (( $this->_tpl_vars['monlst'][$this->_sections['i']['index']]['aact'][$this->_sections['j']['index']]['act'] & 1 )): ?><span title="<?php echo $this->_tpl_vars['monlst'][$this->_sections['i']['index']]['aact'][$this->_sections['j']['index']]['alt']; ?>
">メール</span>
  <?php elseif (( $this->_tpl_vars['monlst'][$this->_sections['i']['index']]['aact'][$this->_sections['j']['index']]['act'] & 2 )): ?><span title="<?php echo $this->_tpl_vars['monlst'][$this->_sections['i']['index']]['aact'][$this->_sections['j']['index']]['alt']; ?>
">SNMP</span>
  <?php elseif (( $this->_tpl_vars['monlst'][$this->_sections['i']['index']]['aact'][$this->_sections['j']['index']]['act'] & 4 )): ?><span title="<?php echo $this->_tpl_vars['monlst'][$this->_sections['i']['index']]['aact'][$this->_sections['j']['index']]['alt']; ?>
">コマンド</span>
  <?php elseif (( $this->_tpl_vars['monlst'][$this->_sections['i']['index']]['aact'][$this->_sections['j']['index']]['act'] & 8 )): ?><span title="<?php echo $this->_tpl_vars['monlst'][$this->_sections['i']['index']]['aact'][$this->_sections['j']['index']]['alt']; ?>
">CGI</span>
  <?php endif; ?>
<?php endfor; endif; ?>
<?php endif; ?>
</td>
<td class="<?php echo $this->_tpl_vars['c']; ?>
" width="20%" nowrap><?php echo $this->_tpl_vars['monlst'][$this->_sections['i']['index']]['ldate']; ?>
</td>
<td class="<?php echo $this->_tpl_vars['c']; ?>
" width="20%" nowrap><?php echo $this->_tpl_vars['monlst'][$this->_sections['i']['index']]['ndate']; ?>
</td>
</tr>
<?php endfor; endif; ?>
</table>
<table width="95%">
<tr>
<td nowrap align="right"><a href="#top" class="menu_ser">▲TOP</a></td>
</tr>
</table>
<?php endif; ?>

<?php if ($this->_tpl_vars['ccount'] > 0): ?>
<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">
&nbsp;管理者コメント　※最新20件まで表示します。
</td>
</tr>
</table>
<table width="95%" class="nakas1">
<tr>
<td class="nakas2" align="center" nowrap>記入日時</td>
<td class="nakas2" align="center" nowrap>コメント</td>
<td class="nakas2" align="center" nowrap>記入者</td>
</tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['ccount']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<?php if (( $this->_sections['i']['rownum'] % 2 ) == 0): ?>
	<?php $this->assign('c', 'nakas4'); ?>
<?php else: ?>
	<?php $this->assign('c', 'nakas3'); ?>
<?php endif; ?>
<tr>
<td class="<?php echo $this->_tpl_vars['c']; ?>
" nowrap width="20%" align="center"><?php echo $this->_tpl_vars['cmtlst'][$this->_sections['i']['index']]['udate']; ?>
</td>
<td class="<?php echo $this->_tpl_vars['c']; ?>
" width="60%"><?php echo $this->_tpl_vars['cmtlst'][$this->_sections['i']['index']]['cmt']; ?>
</td>
<td class="<?php echo $this->_tpl_vars['c']; ?>
" width="20%"><?php echo $this->_tpl_vars['cmtlst'][$this->_sections['i']['index']]['name']; ?>
</td>
</tr>
<?php endfor; endif; ?>
</table>
<table width="95%">
<tr>
<td nowrap align="right"><a href="#top" class="menu_ser">▲TOP</a></td>
</tr>
</table>
<?php endif; ?>

<?php if ($this->_tpl_vars['tcount'] > 0): ?>
<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">
&nbsp;障害　※最新30件まで表示します。
</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 unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['tcount']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<?php if (( $this->_sections['i']['rownum'] % 2 ) == 0): ?>
	<?php $this->assign('c', 'nakas4'); ?>
<?php else: ?>
	<?php $this->assign('c', 'nakas3'); ?>
<?php endif; ?>
<tr>
<td class="<?php echo $this->_tpl_vars['c']; ?>
" nowrap><font size=1><?php echo $this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['sdate']; ?>
</font></td>
<td class="<?php echo $this->_tpl_vars['c']; ?>
" nowrap>
<?php if ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['to'] == -1): ?><b><?php endif;  if ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['status'] == 2): ?>アラート<?php elseif ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['status'] == 1): ?>ワーニング<?php else: ?>?<?php endif;  if ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['to'] == -1): ?></b><?php endif;  if ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['to'] >= 0): ?>→<?php if ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['to'] == 1): ?>ワーニング<?php elseif ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['to'] == 2): ?>アラート<?php elseif ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['to'] == 3): ?>停止<?php else: ?>復旧<?php endif;  endif; ?><br>
<?php if ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['sday'] > 0):  echo $this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['sday']; ?>
日<?php endif;  if ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['shour'] > 0):  echo $this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['shour']; ?>
時間<?php endif;  if ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['smin'] > 0):  echo $this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['smin']; ?>
分<?php endif;  if ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['ssec'] > 0):  echo $this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['ssec']; ?>
秒<?php endif; ?>(<?php echo $this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['count']; ?>
回)
</td>
<td class="<?php echo $this->_tpl_vars['c']; ?>
"><span title="<?php echo $this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['alt']; ?>
"><?php echo $this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['modname']; ?>
</span></td>
<td class="<?php echo $this->_tpl_vars['c']; ?>
"><?php if ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['errcd'] != ''):  echo $this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['errcd']; ?>
:&nbsp;<?php endif;  echo $this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['errmsg']; ?>
</td>
<td class="<?php echo $this->_tpl_vars['c']; ?>
">
<?php if ($this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['to'] != -1): ?>
<?php echo $this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['comment']; ?>

<?php else: ?>
<b><?php echo $this->_tpl_vars['trbllst'][$this->_sections['i']['index']]['wk_name']; ?>
</b>
<?php endif; ?>
</td>
</tr>
<?php endfor; endif; ?>
</table>
<table width="95%">
<tr>
<td nowrap align="right"><a href="#top" class="menu_ser">▲TOP</a></td>
</tr>
</table>
<?php endif; ?>

<br>
<br>
<br>
</td>
</tr>
</table>
</center>
<br>
<center>
<div class="footer">Copyright&copy; 2004 COMSQUARE Co.,Ltd. All rights reserved.
</div>
</center>
<br>
</body>
</html>
