if ( ( $send_exist == 0 ) || ( $send_exist == 2 ) ) {
$var_envoisd = '<head><style type="text/css">A.type:link {color:#000066; text-decoration:none; font-weight:bold;} A.type:visited {color:#000066; text-decoration:none; font-weight:bold;} A.type:active {color:#000066; text-decoration:none; font-weight:bold;} A.type:hover {color:#000066; text-decoration:underline; font-weight:bold;}</style></head><A CLASS="type"HREF="tr_status.php?sort='.$_GET['sort'].'&tid='.$row["triggerid"].'&eid='.$event["eventid"].'&onlytrue='.$onlytrue.'&noactions='.$noactions.'&compact='.$compact.''.$select_vars.''.$fullscreen.'"">SEND</A>';
if ( isset($_GET['tid']) && isset($_GET['eid']) ) {
$command = './zabsendsd '.$_GET['tid'].' '.$_GET['eid'];
exec($command);
$refreshpg = '<meta http-equiv="Refresh" content="1;URL=http://t46016/zabbix/tr_status.php">';
echo $refreshpg;
unset($_GET);
}
}
else {
$var_envoisd = '<head><style type="text/css">A.sent {color:#000066; text-decoration:none;}</style></head><A CLASS="sent">sent</A>';
} |