<?php /* Smarty version 2.6.3, created on 2010-02-19 17:53:42
         compiled from alert/alert.tpl */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'alert/alert.tpl', 180, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "start_html.tpl", 'smarty_include_vars' => array('_title' => "アラート")));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "start_contents.tpl", 'smarty_include_vars' => array('_menu' => "alert/menu.tpl",'_contents_group' => "alert.alert",'_contents_title' => "<a href='alert.top?dp=".($this->_tpl_vars['_time'])."' class='histmenu'>アラートTOP</a>&nbsp;&gt;&nbsp;現在アラート情報")));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php echo '
<style type="text/css">
tr.hover{background-color: #ffffcc;}
</style>
'; ?>

<script type="text/javascript" src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
js/svrtool.js"></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
js/montool.js"></script>


<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "title.tpl", 'smarty_include_vars' => array('_title' => "現在発生中のアラート情報",'_subinfo' => "更新日：".($this->_tpl_vars['updateDate']))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php if ($this->_tpl_vars['ecnt'] <= 0): ?>
<table cellspacing=0 cellpadding=2 border=0 width="95%" class="alert">
<tr><td class="font12b" height=30 valign=bottom>現在障害は検知されていません。</td></tr>
</table>
<table id="error-list-table"></table>
<?php else: ?>
<table width="95%" border=0 cellspacing=2 cellpadding=0>
<tr>
<td class="font10" height=18 valign=bottom>
※現在発生中のアラート／ワーニング情報を<?php echo $this->_tpl_vars['ecnt']; ?>
件表示しています。
</td>
</tr>
</table>
<table cellspacing=0 cellpadding=2 border=0 width="95%" class="alert" id="error-list-table">
<tr>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="5%">
<a href="alert.alert?nsrt=ns&ndsc=0&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['nsa']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?nsrt=ns&ndsc=1&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['nsd']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="5%">
最新日時
<a href="alert.alert?nsrt=nd&ndsc=0&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['nda']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?nsrt=nd&ndsc=1&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['ndd']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="5%">
発生日時
<a href="alert.alert?nsrt=nb&ndsc=0&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['nba']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?nsrt=nb&ndsc=1&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['nbd']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="20%">
サーバIP
<a href="alert.alert?nsrt=ni&ndsc=0&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['nia']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?nsrt=ni&ndsc=1&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['nid']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="15%">
監視内容
<a href="alert.alert?nsrt=nm&ndsc=0&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['nma']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?nsrt=nm&ndsc=1&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['nmd']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="35%">
詳細内容
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="15%">
作業状況
</th>
</tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['ecnt']) ? 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']);
?>
<tr class="<?php if (( $this->_sections['i']['rownum']%2 ) == 0): ?>alertbg01<?php else: ?>alertbg02<?php endif; ?>">
<td class="alert" align="center">
<?php if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['status'] == 2): ?>
<a href="group.mlist?sid=<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['devid']; ?>
&srt=s&dp=<?php echo $this->_tpl_vars['_time']; ?>
"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/s_red.gif" width=16 height=16 hspace=5 alt="アラート" align=absmiddle border=0></a>
<?php else: ?>
<a href="group.mlist?sid=<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['devid']; ?>
&srt=s&dp=<?php echo $this->_tpl_vars['_time']; ?>
"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/s_yellow.gif" width=16 height=16 hspace=5 alt="ワーニング" align=absmiddle border=0></a>
<?php endif; ?>
</td>
<td class="alert"><font size=1>
<?php if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tisvr'] && $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tiudate']): ?>
<a href="javascript:ilist('<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tisvr']; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['timid']; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tiudate'][0]; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tiudate'][1]; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tiudate'][2]; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tiudate'][3]; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tiudate'][4]; ?>
','<?php echo $this->_tpl_vars['_time']; ?>
')" class="left_menu02"><?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['udate']; ?>
</a>
<?php else: ?>
<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['udate']; ?>

<?php endif; ?>
</font></td>
<td class="alert"><font size=1>
<?php if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tisvr'] && $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tisdate']): ?>
<a href="javascript:ilist('<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tisvr']; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['timid']; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tisdate'][0]; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tisdate'][1]; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tisdate'][2]; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tisdate'][3]; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['tisdate'][4]; ?>
','<?php echo $this->_tpl_vars['_time']; ?>
')" class="left_menu02"><?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['sdate']; ?>
</a>
<?php else: ?>
<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['sdate']; ?>

<?php endif; ?>
</font></td>
<td class="alert">
<span onclick="$('#s<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
').toggle();" style="cursor:pointer">
<div class="font_blue12"><?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['ip'];  if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['devname'] != ''): ?>(<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['devname']; ?>
)<?php endif; ?></div>
</span>
<div id="s<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
" style="display:<?php if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid'] == $this->_tpl_vars['smon']): ?>block<?php else: ?>none<?php endif; ?>">
<font size=1>--MenuIcon--<br>
<a href="javascript:srep('<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['devid']; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
','','','<?php echo $this->_tpl_vars['_time']; ?>
')" class="intable"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_report.gif" alt="サーバレポートを見る" border=0></a>
<a href="javascript:karte('<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['devid']; ?>
','<?php echo $this->_tpl_vars['_time']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_chart.gif" alt="サーバカルテを見る" border=0></a>
<a href="javascript:sinfo('<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['devid']; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
','','','<?php echo $this->_tpl_vars['_time']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_ch.gif" alt="サーバ情報を確認、変更する" border=0></a>
<?php if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['internal']): ?>
<a href="javascript:void(0)" onclick="stest('<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['devid']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_c_check.gif" alt="サーバ接続チェック" border=0></a>
<?php endif; ?>
<a href="alert.hist?sid=<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['devid']; ?>
&tmid=<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['modid']; ?>
&dp=<?php echo $this->_tpl_vars['_time']; ?>
"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_obstacle.gif" alt="障害履歴を見る" border=0></a>
<?php if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['urlc'] > 0): ?>
<br><font size=1>--関連URL--</font><br>
<?php unset($this->_sections['j']);
$this->_sections['j']['name'] = 'j';
$this->_sections['j']['loop'] = is_array($_loop=$this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['urlc']) ? 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']);
?>
<b>・</b><a href="<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['urls'][$this->_sections['j']['index']]['url']; ?>
" class="intable" title="<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['urls'][$this->_sections['j']['index']]['alt']; ?>
" target="_blank"><?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['urls'][$this->_sections['j']['index']]['name'];  if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['urls'][$this->_sections['j']['index']]['novr']): ?>…<?php endif; ?></a><br>
<?php endfor; endif; ?>
<?php endif; ?>
</div>
</td>
<td class="alert">
<span onclick="$('#m<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
').toggle();" style="cursor:pointer" title="<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['alt']; ?>
">
<div class="font_blue12"><?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['modname']; ?>
</div>
</span>
<div id="m<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
" style="display:<?php if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid'] == $this->_tpl_vars['mmon']): ?>block<?php else: ?>none<?php endif; ?>">
<font size=1>--MenuIcon--<br>
<a href="javascript:void(0)" onclick="mstop('<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
');return false;"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_c_stop.gif" alt="この監視を停止" border=0></a>
<a href="javascript:void(0)" id="mrep_<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
_0_0"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_report.gif" alt="レポートを見る" border=0></a>
<a href="javascript:minfo('<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
','<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
','','','<?php echo $this->_tpl_vars['_time']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_ch.gif" alt="監視情報を確認、変更する" border=0></a>
<?php if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['test']): ?>
<a href="javascript:void(0)" onclick="mtest('<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_c_check.gif" alt="監視チェック" border=0></a>
<?php endif; ?>
<?php if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['modid'] != 1600): ?>
<a href="javascript:void(0)" onclick="mrefresh('<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_ref.gif" alt="リフレッシュ" border=0></a>
<?php elseif ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['act_flg'] < 3): ?>
<a href="javascript:void(0)" onclick="rcvtrapd('<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
');return false;"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_c_rcvtrap.gif" alt="TRAPD監視をエラー状態から復旧させます" border=0></a>
<?php endif; ?>
</div>
</td>
<td class="alert">
<?php if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['msg'] != ''): ?><span onclick="$('#cmsg<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
').toggle();" style="cursor:pointer"><u><?php endif;  echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['errcd'];  if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['msg'] != ''): ?></u></span><?php endif; ?>:&nbsp;<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['errmsg']; ?>

<?php if ($this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['msg'] != ''): ?>
<div id="cmsg<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
" style="display:none" class="fs">
-----<br><?php echo ((is_array($_tmp=$this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['msg'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>

</div>
<?php endif; ?>
</td>
<td class="alert" nowrap>
<?php if (! $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['wstat']): ?>
<a href="javascript:do_chgwst(<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
,<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['errid']; ?>
,<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['_sdate']; ?>
,<?php echo $this->_tpl_vars['_time']; ?>
)" title="作業状況を変更" class="svrinfo"><font color=#AAAAAA>未確認</font></a>
<?php else: ?>
<?php unset($this->_sections['j']);
$this->_sections['j']['name'] = 'j';
$this->_sections['j']['loop'] = is_array($_loop=$this->_tpl_vars['wkstc']) ? 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->_tpl_vars['cerrors'][$this->_sections['i']['index']]['wstat'] == $this->_tpl_vars['wksts'][$this->_sections['j']['index']]['work_sts']): ?>
<a href="javascript:do_chgwst(<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['monid']; ?>
,<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['errid']; ?>
,<?php echo $this->_tpl_vars['cerrors'][$this->_sections['i']['index']]['_sdate']; ?>
,<?php echo $this->_tpl_vars['_time']; ?>
)" title="作業状況を変更" class="svrinfo"><?php echo $this->_tpl_vars['wksts'][$this->_sections['j']['index']]['wk_name']; ?>
</a>
<?php endif; ?>
<?php endfor; endif; ?>
<?php endif; ?>
</td>
</tr>
<?php endfor; endif; ?>
</table>
<form name="chgwst" action="alert.wkst" method="post" target="_chgwst">
<input type="hidden" name="mid" value="">
<input type="hidden" name="eid" value="">
<input type="hidden" name="sdt" value="">
<input type="hidden" name="mode" value="">
<input type="hidden" name="la" value="<?php echo $this->_tpl_vars['la']; ?>
">
<input type="hidden" name="nsrt" value="<?php echo $this->_tpl_vars['nsrt']; ?>
">
<input type="hidden" name="ndsc" value="<?php echo $this->_tpl_vars['ndsc']; ?>
">
<input type="hidden" name="msrt" value="<?php echo $this->_tpl_vars['msrt']; ?>
">
<input type="hidden" name="mdsc" value="<?php echo $this->_tpl_vars['mdsc']; ?>
">
<input type="hidden" name="hsrt" value="<?php echo $this->_tpl_vars['hsrt']; ?>
">
<input type="hidden" name="hdsc" value="<?php echo $this->_tpl_vars['hdsc']; ?>
">
</form>
<form name="fm_ilist" action="group.ilist2" method="post">
<input type="hidden" name="sid" value="">
<input type="hidden" name="mid" value="">
<input type="hidden" name="ty" value="">
<input type="hidden" name="tm" value="">
<input type="hidden" name="td" value="">
<input type="hidden" name="th" value="">
<input type="hidden" name="ti" value="">
<input type="hidden" name="fpp" value="alert">
<input type="hidden" name="nsrt" value="<?php echo $this->_tpl_vars['nsrt']; ?>
">
<input type="hidden" name="ndsc" value="<?php echo $this->_tpl_vars['ndsc']; ?>
">
<input type="hidden" name="msrt" value="<?php echo $this->_tpl_vars['msrt']; ?>
">
<input type="hidden" name="mdsc" value="<?php echo $this->_tpl_vars['mdsc']; ?>
">
<input type="hidden" name="hsrt" value="<?php echo $this->_tpl_vars['hsrt']; ?>
">
<input type="hidden" name="hdsc" value="<?php echo $this->_tpl_vars['hdsc']; ?>
">
<input type="hidden" name="la" value="<?php echo $this->_tpl_vars['la']; ?>
">
</form>
<?php endif; ?>
<br><br>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "title.tpl", 'smarty_include_vars' => array('_title' => "現在停止中の監視情報",'_subinfo' => "")));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php if ($this->_tpl_vars['mcnt'] <= 0): ?>
<table cellspacing=0 cellpadding=2 border=0 width="95%" class="alert">
<tr><td class="font12" height=30 valign=bottom>現在停止中の監視は有りません。</td></tr>
</table>
<table id="stop-list-table"></table>
<?php else: ?>
<table width="95%" border=0 cellspacing=2 cellpadding=0>
<tr>
<td class="font10" height=18 valign=bottom>
※現在停止されている監視情報を<?php echo $this->_tpl_vars['mcnt']; ?>
件表示しています。
</td>
</tr>
</table>
<table cellspacing=0 cellpadding=2 border=0 width="95%" class="alert" id="stop-list-table">
<tr>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="10%">
停止日時
<a href="alert.alert?msrt=md&mdsc=0&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['mda']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?msrt=md&mdsc=1&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['mdd']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="25%">
サーバIP
<a href="alert.alert?msrt=mi&mdsc=0&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['mia']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?msrt=mi&mdsc=1&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['mid']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="15%">
監視内容
<a href="alert.alert?msrt=mm&mdsc=0&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['mma']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?msrt=mm&mdsc=1&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['mmd']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="10%">
停止前の状態
<a href="alert.alert?msrt=ms&mdsc=0&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['msa']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?msrt=ms&mdsc=1&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&hsrt=<?php echo $this->_tpl_vars['hsrt']; ?>
&hdsc=<?php echo $this->_tpl_vars['hdsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['msd']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="40%">
詳細内容
</th>
</tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['mcnt']) ? 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']);
?>
<tr class="<?php if (( $this->_sections['i']['rownum']%2 ) == 0): ?>alertbg01<?php else: ?>alertbg02<?php endif; ?>">
<td class="alert"><font size=1><?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['sdate']; ?>
</font></td>
<td class="alert">
<span onclick="$('#ms<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid']; ?>
').toggle();" style="cursor:pointer">
<div class="font_blue12"><?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['ip'];  if ($this->_tpl_vars['monitors'][$this->_sections['i']['index']]['devname'] != ''): ?>(<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['devname']; ?>
)<?php endif; ?></div>
</span>
<div id="ms<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid']; ?>
" style="display:<?php if ($this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid'] == $this->_tpl_vars['msmon']): ?>block<?php else: ?>none<?php endif; ?>">
<font size=1>--MenuIcon--<br>
<a href="javascript:srep('<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['devid']; ?>
','','<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid']; ?>
','','<?php echo $this->_tpl_vars['_time']; ?>
')" class="intable"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_report.gif" alt="サーバレポートを見る" border=0></a>
<a href="javascript:karte('<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['devid']; ?>
','<?php echo $this->_tpl_vars['_time']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_chart.gif" alt="サーバカルテを見る" border=0></a>
<a href="javascript:sinfo('<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['devid']; ?>
','','<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid']; ?>
','','<?php echo $this->_tpl_vars['_time']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_ch.gif" alt="サーバ情報を確認、変更する" border=0></a>
<?php if ($this->_tpl_vars['monitors'][$this->_sections['i']['index']]['internal']): ?>
<a href="javascript:void(0)" onclick="stest('<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['devid']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_c_check.gif" alt="サーバ接続チェック" border=0></a>
<?php endif; ?>
<?php if ($this->_tpl_vars['monitors'][$this->_sections['i']['index']]['urlc'] > 0): ?>
<br><font size=1>--関連URL--</font><br>
<?php unset($this->_sections['j']);
$this->_sections['j']['name'] = 'j';
$this->_sections['j']['loop'] = is_array($_loop=$this->_tpl_vars['monitors'][$this->_sections['i']['index']]['urlc']) ? 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']);
?>
<b>・</b><a href="<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['urls'][$this->_sections['j']['index']]['url']; ?>
" class="intable" title="<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['urls'][$this->_sections['j']['index']]['alt']; ?>
" target="_blank"><?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['urls'][$this->_sections['j']['index']]['name'];  if ($this->_tpl_vars['monitors'][$this->_sections['i']['index']]['urls'][$this->_sections['j']['index']]['novr']): ?>…<?php endif; ?></a><br>
<?php endfor; endif; ?>
<?php endif; ?>
</div>
</td>
<td class="alert">
<span onclick="$('#mm<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid']; ?>
').toggle();" style="cursor:pointer" title="<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['alt']; ?>
">
<div class="font_blue12"><?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['modname']; ?>
</div>
</span>
<div id="mm<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid']; ?>
" style="display:<?php if ($this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid'] == $this->_tpl_vars['mmmon']): ?>block<?php else: ?>none<?php endif; ?>">
<font size=1>--MenuIcon--<br>
<a href="javascript:void(0)" onclick="mstart('<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid']; ?>
');return false;"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_c_start.gif" alt="この監視を開始" border=0></a>
<a href="javascript:void(0)" id="mrep_<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid']; ?>
_<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['rep_sdate']; ?>
_0"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_report.gif" alt="レポートを見る" border=0></a>
<a href="javascript:minfo('<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid']; ?>
','','<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid']; ?>
','','<?php echo $this->_tpl_vars['_time']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_ch.gif" alt="監視情報を確認、変更する" border=0></a>
<?php if ($this->_tpl_vars['monitors'][$this->_sections['i']['index']]['test']): ?>
<a href="javascript:void(0)" onclick="mtest('<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_c_check.gif" alt="監視チェック" border=0></a>
<?php endif; ?>
</div>
</td>
<td class="alert">
<?php if ($this->_tpl_vars['monitors'][$this->_sections['i']['index']]['status'] == 1): ?>
アラート
<?php elseif ($this->_tpl_vars['monitors'][$this->_sections['i']['index']]['status'] == 2): ?>
ワーニング
<?php elseif ($this->_tpl_vars['monitors'][$this->_sections['i']['index']]['status'] == 4): ?>
正常稼動
<?php else: ?>
停止
<?php endif; ?>
</td>
<td class="alert">
<?php if (( $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['status'] == 1 ) || ( $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['status'] == 2 )): ?>
<?php if ($this->_tpl_vars['monitors'][$this->_sections['i']['index']]['msg'] != ''): ?><span onclick="$('#mmsg<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid']; ?>
').toggle();" style="cursor:pointer"><u><?php endif;  echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['errcd'];  if ($this->_tpl_vars['monitors'][$this->_sections['i']['index']]['msg'] != ''): ?></u></span><?php endif; ?>:&nbsp;<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['errmsg']; ?>

<?php if ($this->_tpl_vars['monitors'][$this->_sections['i']['index']]['msg'] != ''): ?>
<div id="mmsg<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['monid']; ?>
" style="display:none" class="fs">
-----<br><?php echo ((is_array($_tmp=$this->_tpl_vars['monitors'][$this->_sections['i']['index']]['msg'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>

</div>
<?php endif; ?>
<?php else: ?>
&nbsp;
<?php endif; ?>
<br>[<?php echo $this->_tpl_vars['monitors'][$this->_sections['i']['index']]['stop_usr']; ?>
]
</td>
</tr>
<?php endfor; endif; ?>
</table>
<?php endif; ?>
<br><br>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "title.tpl", 'smarty_include_vars' => array('_title' => "現在除外時間中の監視情報",'_subinfo' => "")));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php if ($this->_tpl_vars['xcnt'] <= 0): ?>
<table cellspacing=0 cellpadding=2 border=0 width="95%" class="alert">
<tr><td class="font12" height=30 valign=bottom>現在除外時間中の監視は有りません。</td></tr>
</table>
<table id="ngtime-list-table"></table>
<?php else: ?>
<table width="95%" border=0 cellspacing=2 cellpadding=0>
<tr>
<td class="font10" height=18 valign=bottom>
※現在除外時間中の監視情報を<?php echo $this->_tpl_vars['xcnt']; ?>
件表示しています。
</td>
</tr>
</table>
<table cellspacing=0 cellpadding=2 border=0 width="95%" class="alert" id="ngtime-list-table">
<tr>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="10%">
除外期間
<a href="alert.alert?hsrt=hd&hdsc=0&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['hda']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?hsrt=hd&hdsc=1&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['hdd']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="25%">
サーバIP
<a href="alert.alert?hsrt=hi&hdsc=0&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['hia']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?hsrt=hi&hdsc=1&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['hid']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="15%">
監視内容
<a href="alert.alert?hsrt=hm&hdsc=0&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['hma']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?hsrt=hm&hdsc=1&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['hmd']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="15%">
除外ﾀｲﾌﾟ
<a href="alert.alert?hsrt=ht&hdsc=0&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['hta']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?hsrt=ht&hdsc=1&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['htd']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="10%">
停止前の状態
<a href="alert.alert?hsrt=hs&hdsc=0&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['hsa']): ?>b_sortk_on.gif<?php else: ?>b_sortk_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a><a href="alert.alert?hsrt=hs&hdsc=1&msrt=<?php echo $this->_tpl_vars['msrt']; ?>
&mdsc=<?php echo $this->_tpl_vars['mdsc']; ?>
&nsrt=<?php echo $this->_tpl_vars['nsrt']; ?>
&ndsc=<?php echo $this->_tpl_vars['ndsc']; ?>
&la=<?php echo $this->_tpl_vars['la']; ?>
" class=""><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/button/<?php if ($this->_tpl_vars['hsd']): ?>b_sorts_on.gif<?php else: ?>b_sorts_off.gif<?php endif; ?>" width="13" height="14" align="absmiddle" hspace="1" border="0"></a>
</th>
<th nowrap class="alert" height=15 background="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/table/table_bg.gif" width="40%">
詳細内容
</th>
</tr>
<?php $this->assign( 'dow', array('日','月','火','水','木','金','土') ); ?>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['xcnt']) ? 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']);
?>
<tr class="<?php if (( $this->_sections['i']['rownum']%2 ) == 0): ?>alertbg01<?php else: ?>alertbg02<?php endif; ?>">
<td class="alert" nowrap>
<span onclick="$('#ng<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['id']; ?>
').toggle();" style="cursor:pointer"
title="<?php if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['int_val'] == 0):  echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['val_int']; ?>
日に一回
<?php elseif ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['int_val'] == 1): ?>一日一回
<?php elseif ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['int_val'] == 2): ?>
<?php $acv=array_count_values($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['val_int']);if(!array_key_exists(1,$acv)){$acv[1]=0;}$dcount=0; ?>
毎週<?php unset($this->_sections['j']);
$this->_sections['j']['name'] = 'j';
$this->_sections['j']['loop'] = is_array($_loop=7) ? 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->_tpl_vars['ngtms'][$this->_sections['i']['index']]['val_int'][$this->_sections['j']['index']]):  echo $this->_tpl_vars['dow'][$this->_sections['j']['index']];  if(++$dcount<$acv[1]){echo ',';}  endif; ?>
<?php endfor; endif; ?>曜日
<?php elseif ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['int_val'] == 3): ?>
<?php 
$acv=array_count_values($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['val_int']);
if(!array_key_exists(1,$acv)){$acv[1]=0;}
if(($eom=($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['val_int'][0]))):
$acv[1]--;
endif;
if(($acv[1]<=0)&&$eom): ?>
毎月末
<?php elseif($acv[1]>0):$dcount=0; ?>
毎月<?php unset($this->_sections['j']);
$this->_sections['j']['name'] = 'j';
$this->_sections['j']['start'] = (int)1;
$this->_sections['j']['loop'] = is_array($_loop=32) ? 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;
if ($this->_sections['j']['start'] < 0)
    $this->_sections['j']['start'] = max($this->_sections['j']['step'] > 0 ? 0 : -1, $this->_sections['j']['loop'] + $this->_sections['j']['start']);
else
    $this->_sections['j']['start'] = min($this->_sections['j']['start'], $this->_sections['j']['step'] > 0 ? $this->_sections['j']['loop'] : $this->_sections['j']['loop']-1);
if ($this->_sections['j']['show']) {
    $this->_sections['j']['total'] = min(ceil(($this->_sections['j']['step'] > 0 ? $this->_sections['j']['loop'] - $this->_sections['j']['start'] : $this->_sections['j']['start']+1)/abs($this->_sections['j']['step'])), $this->_sections['j']['max']);
    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->_tpl_vars['ngtms'][$this->_sections['i']['index']]['val_int'][$this->_sections['j']['index']]):  echo $this->_sections['j']['index'];  if(++$dcount<$acv['1']){echo ',';}  endif; ?>
<?php endfor; endif; ?>日<?php if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['val_int'][0]): ?>,月末<?php endif; ?>
<?php endif; ?>
<?php elseif ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['int_val'] == 4): ?>毎月末
<?php elseif ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['int_val'] == 5): ?>
<?php unset($this->_sections['j']);
$this->_sections['j']['name'] = 'j';
$this->_sections['j']['start'] = (int)1;
$this->_sections['j']['loop'] = is_array($_loop=6) ? 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;
if ($this->_sections['j']['start'] < 0)
    $this->_sections['j']['start'] = max($this->_sections['j']['step'] > 0 ? 0 : -1, $this->_sections['j']['loop'] + $this->_sections['j']['start']);
else
    $this->_sections['j']['start'] = min($this->_sections['j']['start'], $this->_sections['j']['step'] > 0 ? $this->_sections['j']['loop'] : $this->_sections['j']['loop']-1);
if ($this->_sections['j']['show']) {
    $this->_sections['j']['total'] = min(ceil(($this->_sections['j']['step'] > 0 ? $this->_sections['j']['loop'] - $this->_sections['j']['start'] : $this->_sections['j']['start']+1)/abs($this->_sections['j']['step'])), $this->_sections['j']['max']);
    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 
$acv=array_count_values($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['val_int'][$this->_sections['j']['index']]);
if(!array_key_exists(1,$acv)){$acv[1]=0;}
if($acv[1]>0):$dcount=0; ?>
第<?php echo $this->_sections['j']['index']; ?>
:<?php unset($this->_sections['k']);
$this->_sections['k']['name'] = 'k';
$this->_sections['k']['start'] = (int)0;
$this->_sections['k']['loop'] = is_array($_loop=7) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['k']['show'] = true;
$this->_sections['k']['max'] = $this->_sections['k']['loop'];
$this->_sections['k']['step'] = 1;
if ($this->_sections['k']['start'] < 0)
    $this->_sections['k']['start'] = max($this->_sections['k']['step'] > 0 ? 0 : -1, $this->_sections['k']['loop'] + $this->_sections['k']['start']);
else
    $this->_sections['k']['start'] = min($this->_sections['k']['start'], $this->_sections['k']['step'] > 0 ? $this->_sections['k']['loop'] : $this->_sections['k']['loop']-1);
if ($this->_sections['k']['show']) {
    $this->_sections['k']['total'] = min(ceil(($this->_sections['k']['step'] > 0 ? $this->_sections['k']['loop'] - $this->_sections['k']['start'] : $this->_sections['k']['start']+1)/abs($this->_sections['k']['step'])), $this->_sections['k']['max']);
    if ($this->_sections['k']['total'] == 0)
        $this->_sections['k']['show'] = false;
} else
    $this->_sections['k']['total'] = 0;
if ($this->_sections['k']['show']):

            for ($this->_sections['k']['index'] = $this->_sections['k']['start'], $this->_sections['k']['iteration'] = 1;
                 $this->_sections['k']['iteration'] <= $this->_sections['k']['total'];
                 $this->_sections['k']['index'] += $this->_sections['k']['step'], $this->_sections['k']['iteration']++):
$this->_sections['k']['rownum'] = $this->_sections['k']['iteration'];
$this->_sections['k']['index_prev'] = $this->_sections['k']['index'] - $this->_sections['k']['step'];
$this->_sections['k']['index_next'] = $this->_sections['k']['index'] + $this->_sections['k']['step'];
$this->_sections['k']['first']      = ($this->_sections['k']['iteration'] == 1);
$this->_sections['k']['last']       = ($this->_sections['k']['iteration'] == $this->_sections['k']['total']);
?>
<?php if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['val_int'][$this->_sections['j']['index']][$this->_sections['k']['index']]):  echo $this->_tpl_vars['dow'][$this->_sections['k']['index']];  if(++$dcount<$acv['1']){echo ',';}  endif; ?>
<?php endfor; endif; ?>曜日
<?php if (! $this->_sections['j']['last']): ?>&nbsp;<?php endif; ?>
<?php endif; ?>
<?php endfor; endif; ?>
<?php endif; ?>">
<div class="font_blue12"><?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['stime']; ?>
<font size=1>～</font><?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['etime']; ?>
</div>
</span>
<div id="ng<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['id']; ?>
" style="display:<?php if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['id'] == $this->_tpl_vars['hsng']): ?>block<?php else: ?>none<?php endif; ?>">
<font size=1>--MenuIcon--<br>
<a href="javascript:modngtime('<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['id']; ?>
','<?php echo $this->_tpl_vars['_time']; ?>
')" class="intable"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_ch.gif" alt="設定を確認、変更する" border=0></a>
<a href="javascript:delngtime('<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['id']; ?>
','<?php echo $this->_tpl_vars['_time']; ?>
')" class="intable"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_del.gif" alt="設定を削除する" border=0></a>
</font>
</div>
</td>
<td class="alert">
<span onclick="$('#hs<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid']; ?>
_<?php echo $this->_sections['i']['index']; ?>
').toggle();" style="cursor:pointer">
<div class="font_blue12"><?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['ip'];  if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['name'] != ''): ?>(<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['name']; ?>
)<?php endif; ?></div>
</span>
<div id="hs<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid']; ?>
_<?php echo $this->_sections['i']['index']; ?>
" style="display:<?php if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid'] == $this->_tpl_vars['hsmon']): ?>block<?php else: ?>none<?php endif; ?>">
<font size=1>--MenuIcon--<br>
<a href="javascript:srep('<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['devid']; ?>
','','','<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid']; ?>
','<?php echo $this->_tpl_vars['_time']; ?>
')" class="intable"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_report.gif" alt="サーバレポートを見る" border=0></a>
<a href="javascript:karte('<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['devid']; ?>
','<?php echo $this->_tpl_vars['_time']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_chart.gif" alt="サーバカルテを見る" border=0></a>
<a href="javascript:sinfo('<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['devid']; ?>
','','','<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid']; ?>
','<?php echo $this->_tpl_vars['_time']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_ch.gif" alt="サーバ情報を確認、変更する" border=0></a>
<?php if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['internal']): ?>
<a href="javascript:void(0)" onclick="stest('<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['devid']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_c_check.gif" alt="サーバ接続チェック" border=0></a>
<?php endif; ?>
<?php if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['urlc'] > 0): ?>
<br><font size=1>--関連URL--</font><br>
<?php unset($this->_sections['j']);
$this->_sections['j']['name'] = 'j';
$this->_sections['j']['loop'] = is_array($_loop=$this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['urlc']) ? 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']);
?>
<b>・</b><a href="<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['urls'][$this->_sections['j']['index']]['url']; ?>
" class="intable" title="<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['urls'][$this->_sections['j']['index']]['alt']; ?>
" target="_blank"><?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['urls'][$this->_sections['j']['index']]['name'];  if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['urls'][$this->_sections['j']['index']]['novr']): ?>…<?php endif; ?></a><br>
<?php endfor; endif; ?>
<?php endif; ?>
</div>
</td>
<td class="alert">
<span onclick="$('#ngtm<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid']; ?>
_<?php echo $this->_sections['i']['index']; ?>
').toggle();" style="cursor:pointer" title="<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['alt']; ?>
">
<div class="font_blue12"><?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['mon']; ?>
</div>
</span>
<div id="ngtm<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid']; ?>
_<?php echo $this->_sections['i']['index']; ?>
" style="display:<?php if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid'] == $this->_tpl_vars['hmmon']): ?>block<?php else: ?>none<?php endif; ?>">
<font size=1>--MenuIcon--<br>
<a href="javascript:void(0)" id="mrep_<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid']; ?>
_<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['rep_sdate']; ?>
_0"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_report.gif" alt="レポートを見る" border=0></a>
<a href="javascript:minfo('<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid']; ?>
','','','<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid']; ?>
','<?php echo $this->_tpl_vars['_time']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_ch.gif" alt="監視情報を確認、変更する" border=0></a>
<?php if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['test']): ?>
<a href="javascript:void(0)" onclick="mtest('<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid']; ?>
')"><img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/icon/i_c_check.gif" alt="監視チェック" border=0></a>
<?php endif; ?>
</div>
</td>
<td class="alert">
<?php if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['type'] == 0): ?>監視<?php else: ?>アクション<?php endif; ?>
</td>
<td class="alert">
<?php if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['status'] == 1): ?>
アラート
<?php elseif ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['status'] == 2): ?>
ワーニング
<?php elseif ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['status'] == 4): ?>
正常稼動
<?php else: ?>
停止
<?php endif; ?>
</td>
<td class="alert">
<?php if (( $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['status'] == 1 ) || ( $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['status'] == 2 )): ?>
<?php if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['msg'] != ''): ?><span onclick="$('#ngmsg<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid']; ?>
_<?php echo $this->_sections['i']['index']; ?>
').toggle();" style="cursor:pointer"><u><?php endif;  echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['errcd'];  if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['msg'] != ''): ?></u></span><?php endif; ?>:&nbsp;<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['errmsg']; ?>

<?php if ($this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['msg'] != ''): ?>
<div id="ngmsg<?php echo $this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['monid']; ?>
_<?php echo $this->_sections['i']['index']; ?>
" style="display:none" class="fs">
-----<br><?php echo ((is_array($_tmp=$this->_tpl_vars['ngtms'][$this->_sections['i']['index']]['msg'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>

</div>
<?php endif; ?>
<?php else: ?>
&nbsp;
<?php endif; ?>
</td>
</tr>
<?php endfor; endif; ?>
</table>
<form name="fm_modngtime" action="group.modngtime" method="post">
<input type="hidden" name="id" value="">
<input type="hidden" name="fpp" value="alert">
<input type="hidden" name="nsrt" value="<?php echo $this->_tpl_vars['nsrt']; ?>
">
<input type="hidden" name="ndsc" value="<?php echo $this->_tpl_vars['ndsc']; ?>
">
<input type="hidden" name="msrt" value="<?php echo $this->_tpl_vars['msrt']; ?>
">
<input type="hidden" name="mdsc" value="<?php echo $this->_tpl_vars['mdsc']; ?>
">
<input type="hidden" name="hsrt" value="<?php echo $this->_tpl_vars['hsrt']; ?>
">
<input type="hidden" name="hdsc" value="<?php echo $this->_tpl_vars['hdsc']; ?>
">
<input type="hidden" name="la" value="<?php echo $this->_tpl_vars['la']; ?>
">
</form>
<form name="fm_delngtime" action="group.delngtimecfm" method="post">
<input type="hidden" name="id" value="">
<input type="hidden" name="fpp" value="alert">
<input type="hidden" name="nsrt" value="<?php echo $this->_tpl_vars['nsrt']; ?>
">
<input type="hidden" name="ndsc" value="<?php echo $this->_tpl_vars['ndsc']; ?>
">
<input type="hidden" name="msrt" value="<?php echo $this->_tpl_vars['msrt']; ?>
">
<input type="hidden" name="mdsc" value="<?php echo $this->_tpl_vars['mdsc']; ?>
">
<input type="hidden" name="hsrt" value="<?php echo $this->_tpl_vars['hsrt']; ?>
">
<input type="hidden" name="hdsc" value="<?php echo $this->_tpl_vars['hdsc']; ?>
">
<input type="hidden" name="la" value="<?php echo $this->_tpl_vars['la']; ?>
">
</form>
<?php endif; ?>
<br><br>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "title.tpl", 'smarty_include_vars' => array('_title' => "監視履歴情報",'_subinfo' => "")));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<table width="95%" border=0 cellspacing=2 cellpadding=0>
<tr>
<td class="font10" height=18 valign=bottom>
<img src="<?php echo $this->_tpl_vars['_path']['resource']; ?>
img/m_arrow.gif" width=15 height=15 align=absmiddle vspace=2 hspace=2><a href="alert.hist?dp=<?php echo $this->_tpl_vars['_time']; ?>
" class="font10linkb">監視履歴画面へ</a>
</td>
</tr>
</table>
<br><br>
<form name="fm_reload" action="alert.alert" method="post">
<input type="hidden" name="md" value="">
<input type="hidden" name="mmon" value="">
<input type="hidden" name="la" value="<?php echo $this->_tpl_vars['la']; ?>
">
<input type="hidden" name="nsrt" value="<?php echo $this->_tpl_vars['nsrt']; ?>
">
<input type="hidden" name="ndsc" value="<?php echo $this->_tpl_vars['ndsc']; ?>
">
<input type="hidden" name="msrt" value="<?php echo $this->_tpl_vars['msrt']; ?>
">
<input type="hidden" name="mdsc" value="<?php echo $this->_tpl_vars['mdsc']; ?>
">
<input type="hidden" name="hsrt" value="<?php echo $this->_tpl_vars['hsrt']; ?>
">
<input type="hidden" name="hdsc" value="<?php echo $this->_tpl_vars['hdsc']; ?>
">
</form>
<form name="fm_srep" action="report.mkreport" method="post">
<input type="hidden" name="id" value="">
<input type="hidden" name="smon" value="">
<input type="hidden" name="msmon" value="">
<input type="hidden" name="hsmon" value="">
<input type="hidden" name="fpp" value="alert">
<input type="hidden" name="nsrt" value="<?php echo $this->_tpl_vars['nsrt']; ?>
">
<input type="hidden" name="ndsc" value="<?php echo $this->_tpl_vars['ndsc']; ?>
">
<input type="hidden" name="msrt" value="<?php echo $this->_tpl_vars['msrt']; ?>
">
<input type="hidden" name="mdsc" value="<?php echo $this->_tpl_vars['mdsc']; ?>
">
<input type="hidden" name="hsrt" value="<?php echo $this->_tpl_vars['hsrt']; ?>
">
<input type="hidden" name="hdsc" value="<?php echo $this->_tpl_vars['hdsc']; ?>
">
<input type="hidden" name="la" value="<?php echo $this->_tpl_vars['la']; ?>
">
</form>
<form name="fm_sinfo" action="group.svrinfo" method="post">
<input type="hidden" name="id" value="">
<input type="hidden" name="smon" value="">
<input type="hidden" name="msmon" value="">
<input type="hidden" name="hsmon" value="">
<input type="hidden" name="fpp" value="alert">
<input type="hidden" name="nsrt" value="<?php echo $this->_tpl_vars['nsrt']; ?>
">
<input type="hidden" name="ndsc" value="<?php echo $this->_tpl_vars['ndsc']; ?>
">
<input type="hidden" name="msrt" value="<?php echo $this->_tpl_vars['msrt']; ?>
">
<input type="hidden" name="mdsc" value="<?php echo $this->_tpl_vars['mdsc']; ?>
">
<input type="hidden" name="hsrt" value="<?php echo $this->_tpl_vars['hsrt']; ?>
">
<input type="hidden" name="hdsc" value="<?php echo $this->_tpl_vars['hdsc']; ?>
">
<input type="hidden" name="la" value="<?php echo $this->_tpl_vars['la']; ?>
">
</form>
<form name="fm_minfo" action="group.moninfo" method="post">
<input type="hidden" name="cid" value="">
<input type="hidden" name="mmon" value="">
<input type="hidden" name="mmmon" value="">
<input type="hidden" name="hmmon" value="">
<input type="hidden" name="fpp" value="alert">
<input type="hidden" name="nsrt" value="<?php echo $this->_tpl_vars['nsrt']; ?>
">
<input type="hidden" name="ndsc" value="<?php echo $this->_tpl_vars['ndsc']; ?>
">
<input type="hidden" name="msrt" value="<?php echo $this->_tpl_vars['msrt']; ?>
">
<input type="hidden" name="mdsc" value="<?php echo $this->_tpl_vars['mdsc']; ?>
">
<input type="hidden" name="hsrt" value="<?php echo $this->_tpl_vars['hsrt']; ?>
">
<input type="hidden" name="hdsc" value="<?php echo $this->_tpl_vars['hdsc']; ?>
">
<input type="hidden" name="la" value="<?php echo $this->_tpl_vars['la']; ?>
">
</form>

<script type="text/javascript">
<?php echo '
$(function($) {
	$(\'#error-list-table tr\').hover(
		function(){$(this).addClass(\'hover\');},
		function(){$(this).removeClass(\'hover\');}
	);
	$(\'#stop-list-table tr\').hover(
		function(){$(this).addClass(\'hover\');},
		function(){$(this).removeClass(\'hover\');}
	);
	$(\'#ngtime-list-table tr\').hover(
		function(){$(this).addClass(\'hover\');},
		function(){$(this).removeClass(\'hover\');}
	);
	$("#error-list-table a[id^=\'mrep\']").click(function(ev) {
		var ri = $(this).attr(\'id\').match(/mrep_([0-9]+)_([0-9]+)_([0-9]+)$/);
		if(ri) {
			mrep(ri[1], ri[2], ri[3], ev);
		}
		return false;
	});
	$("#stop-list-table a[id^=\'mrep\']").click(function(ev) {
		var ri = $(this).attr(\'id\').match(/mrep_([0-9]+)_([0-9]+)_([0-9]+)$/);
		if(ri) {
			mrep(ri[1], ri[2], ri[3], ev);
		}
		return false;
	});
	$("#ngtime-list-table a[id^=\'mrep\']").click(function(ev) {
		var ri = $(this).attr(\'id\').match(/mrep_([0-9]+)_([0-9]+)_([0-9]+)$/);
		if(ri) {
			mrep(ri[1], ri[2], ri[3], ev);
		}
		return false;
	});
});
function mtest(monid) {
	var montool = new _montool();
	montool.test(
		monid, \'';  echo $this->_tpl_vars['_path']['context'];  echo 'clif.php/\', true, {
			ok:\''; ?>
監視チェックが正常に終了しました。<?php echo '\',
			ng:\''; ?>
監視チェックエラー：<?php echo '\',
			fail:\''; ?>
監視実行プログラムの起動に失敗しました<?php echo '\'
		}, {
			start: \'wait\',
			end: \'default\'
		}
	);
}
function stest(devid) {
	var svrtool = new _svrtool();
	svrtool.conchk(
		devid, \'';  echo $this->_tpl_vars['_path']['context'];  echo 'clif.php/\', true, {
			ok:\''; ?>
サーバーへの接続に成功しました。<?php echo '\',
			ng:\''; ?>
サーバーへの接続に失敗しました<?php echo '\'
		}, {
			start: \'wait\',
			end: \'default\'
		}
	);
}
function mrep(monid, sdate, edate, ev) {
	$(document.body).css({cursor: \'wait\'});
	var montool = new _montool();
	var reparam = montool.reparam(
		monid, sdate, edate,
		\'';  echo $this->_tpl_vars['_path']['context'];  echo 'clif.php/\',
		\''; ?>
レポートの表示に失敗しました<?php echo '\'
	);
	$(document.body).css({cursor: \'default\'});
	if(reparam != null) {
		var url = \'report.view?repinfo=\'+reparam ;
		if(ev.altKey)
			url += \'&type=pdf\' ;
		var w = window.open(url);
		w.focus();
	}
}
function mrefresh(monid) {
	$(document.body).css({cursor: \'wait\'});
	var montool = new _montool();
	montool.refresh(
		monid, \'';  echo $this->_tpl_vars['_path']['context'];  echo 'clif.php/\', {
			ok:\''; ?>
監視をリフレッシュしました。<?php echo '\',
			ng:\''; ?>
監視のリフレッシュに失敗しました<?php echo '\',
			confirm:\''; ?>
監視のリフレッシュを行います。よろしいですか？<?php echo '\'
		}
	);
	$(document.body).css({cursor: \'default\'});
}
function rcvtrapd(monid) {
	$(document.body).css({cursor: \'wait\'});
	var montool = new _montool();
	var result = montool.rcvtrap(
		monid, \'';  echo $this->_tpl_vars['_path']['context'];  echo 'clif.php/\', {
			ok:\''; ?>
TRAPD監視の復旧処理を開始しました。<?php echo '\',
			ng:\''; ?>
TRAPD監視の復旧処理に失敗しました<?php echo '\',
			confirm:\''; ?>
TRAPD監視をエラー状態から復旧させます。よろしいですか？<?php echo '\'
		}
	);
	$(document.body).css({cursor: \'default\'});
	if(result == \'0\')
		document.fm_reload.submit();
}
function mstop(monid) {
	$(document.body).css({cursor: \'wait\'});
	var montool = new _montool();
	var result = montool.stop(
		monid, \'';  echo $this->_tpl_vars['_path']['context'];  echo 'clif.php/\', {
			ok:\''; ?>
監視を停止しました。<?php echo '\',
			ng:\''; ?>
監視の停止に失敗しました<?php echo '\'
		}
	);
	$(document.body).css({cursor: \'default\'});
	if(result == \'0\')
		document.fm_reload.submit();
}
function mstart(monid) {
	$(document.body).css({cursor: \'wait\'});
	var montool = new _montool();
	var result = montool.start(
		monid, \'';  echo $this->_tpl_vars['_path']['context'];  echo 'clif.php/\', {
			ok:\''; ?>
監視を開始しました。<?php echo '\',
			ng:\''; ?>
監視の開始に失敗しました<?php echo '\'
		}
	);
	$(document.body).css({cursor: \'default\'});
	if(result == \'0\')
		document.fm_reload.submit();
}
function srep(devid,smon,msmon,hsmon,dp) {
	document.fm_srep.id.value=devid;
	document.fm_srep.smon.value=smon;
	document.fm_srep.msmon.value=msmon;
	document.fm_srep.hsmon.value=hsmon;
	document.fm_srep.submit();
}
function sinfo(devid,smon,msmon,hsmon,dp) {
	document.fm_sinfo.id.value=devid;
	document.fm_sinfo.smon.value=smon;
	document.fm_sinfo.msmon.value=msmon;
	document.fm_sinfo.hsmon.value=hsmon;
	document.fm_sinfo.submit();
}
function minfo(monid,mmon,mmmon,hmmon,dp) {
	document.fm_minfo.cid.value=monid;
	document.fm_minfo.mmon.value=mmon;
	document.fm_minfo.mmmon.value=mmmon;
	document.fm_minfo.hmmon.value=hmmon;
	document.fm_minfo.submit();
}
';  if ($this->_tpl_vars['ecnt'] > 0):  echo '
function ilist(sid,mid,ty,tm,td,th,ti,dp) {
	document.fm_ilist.sid.value=sid;
	document.fm_ilist.mid.value=mid;
	document.fm_ilist.ty.value=ty;
	document.fm_ilist.tm.value=tm;
	document.fm_ilist.td.value=td;
	document.fm_ilist.th.value=th;
	document.fm_ilist.ti.value=ti;
	document.fm_ilist.submit();
}
function do_chgwst(mid,eid,sdt,dp){
	var w = window.open( "../dumy.html", "_chgwst", "width=560,height=586,resizable=1,toolbar=0,status=0,menubar=0,scrollbars=1,titlebar=0" ) ;
	document.chgwst.mid.value=mid ;
	document.chgwst.eid.value=eid ;
	document.chgwst.sdt.value=sdt ;
	document.chgwst.submit() ;
}
';  endif;  echo '
function karte(devid,dp) {
	var w = window.open(\'group.svrkarte?id=\'+devid+\'&dp=\'+dp);
	w.focus();
}
';  if ($this->_tpl_vars['xcnt'] > 0):  echo '
function modngtime(id,dp) {
	document.fm_modngtime.id.value=id;
	document.fm_modngtime.submit();
}
function delngtime(id,dp) {
	document.fm_delngtime.id.value=id;
	document.fm_delngtime.submit();
}
';  endif;  echo '
'; ?>

</script>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "end_contents.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "end_html.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
