Esempio n. 1
0
function Database()
{
    $sock = new sockets();
    $satus = new status(1);
    $stat = explode(';', trim($sock->getfile('aveserver_status')));
    if ($sock->error == true) {
        return null;
    }
    $date = $satus->avestatus_pattern_date($stat[3], $stat[4], 1);
    $html = "<FIELDSET><LEGEND>{update_kaspersky_database_title}</LEGEND>\n\t<table style='width:400px'>\n\t\t<tr class=rowA>\n\t\t<td align=right>{pattern_database}:</td>\n\t\t<td align=right>{$date}</td>\n\t\t</tr>\n\t\t<tr class=rowA>\n\t\t<td align=right>&nbsp;</td>\n\t\t<td align=right><input type='button' value='{action_keepup2date}' OnClick=\"javascript:action_keepup2date();\"></td>\n\t\t</tr>\n</table>\n";
    return $html;
}