log->fields); $client = new window; $client->name = 'client'; $client->width = '800px;'; $client->display = 'block'; $client->caption = $Language->log->caption; $client->drag = false; $client->resize = false; $client->closebutton = true; $client->closeFunc = ''; $client->smallbutton = true; $client->height = ''; $client->border = false; $client->bgcolor = ''; $client->statusbar = false; $client->bgcolor = ''; $client->date = false; $client->time = false; $client->copy = false; $client->help = $help->$_REQUEST['cmd']; $client->Lang = $Language; $client->body = "
". $Language->button->refresh. "
"; if ($_REQUEST['file'] && is_file($System['datadir']. "/log/". $_REQUEST['file'])) { $Logs = array_reverse(file($System['datadir']. "/log/". $_REQUEST['file'])); $i = 1; foreach ($Logs as $v) { $log = dbfields($v); $client->body .= " "; $i++; } } $client->body .=<<<_
$fields[0] $fields[1] $fields[2] $fields[3]
$i ". $log['date']. " ". $log['name']. " ". $log['action']. "
_; $html .= $client->show(); $javascript = " var fileDialog; var fld; function windowGoResize() { var h = $(window).height(); document.getElementById('scrool_body').style.height=h-90+'px'; } windowGoResize(); window.onresize=windowGoResize;"; ?>