You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

41 lines
807 B

<?php
require_once('../ajax_asm.php');
require_once('../php/argus/server.php');
ob_start();
$UID = intval( $CUser->Data['id'] );
$ACCESS = intval( $CUser->Data['access'] );
if( $UID > 1 ){
$Data['content'] =<<<DATA_BOUNDARY
{
xtype: 'panel',
layout: 'vbox',
border: false,
frame: false,
width: '100%',
tbar:[{
xtype: 'button',
text: 'Map Level',
enableToggle: true,
pressed: true,
allowDepress: false
}],
items: [{
xtype: 'panel',
id: 'history_map',
height: PanelH+16,
listeners:{
afterrender: function(){
initHistoryMap('history_map', 2057,1474 );
}
}
}]
}
DATA_BOUNDARY;
$Data['status'] = 'ok';
$Data['messages'] = ob_get_clean();
echo json_encode( $Data );
} else {
header('location: /');
};
?>