Web UI for ARGUS server
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.
 
 
 
 

24 lines
702 B

<?php
require_once('../ajax_asm.php');
if( $CUser->Data['id'] > 1 ){
if( isset( $_POST['SSS'] ) ){
$SETTING_ID = intval($_POST['SSS']);
switch( $SETTING_ID ){
case 15:{
$WIDTH = intval($_POST['WID']);
$HEIGHT = intval($_POST['HEI']);
$QS="UPDATE `users` SET `width`={$WIDTH}, `height`={$HEIGHT} WHERE id={$CUser->Data['id']}";
$DATABASE->Query( $QS );
//$LOG->ScreenChanges( $CUser->Data['width'], $CUser->Data['height'], $WIDTH, $HEIGHT );
break;
};
case 26:{
$CID = intval($_POST['CID']);
$QS="UPDATE `users` SET `last_content_view`={$CID} WHERE id={$CUser->Data['id']}";
$DATABASE->Query( $QS );
break;
};
};
};
};
?>