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.

17 lines
530 B

​
​
​
​
​
​
​
​
​
​
5 years ago
​
​
​
​
​
  1. <?php
  2. require_once('../ajax_asm.php');
  3. if( $CUser->Data['id'] > 1 ){
  4. if( isset( $_POST['SSS'] ) ){
  5. $SETTING_ID = intval($_POST['SSS']);
  6. switch( $SETTING_ID ){
  7. case 15:{
  8. $WIDTH = intval($_POST['WID']);
  9. $HEIGHT = intval($_POST['HEI']);
  10. $QS="UPDATE `users` SET `width`={$WIDTH}, `height`={$HEIGHT} WHERE id={$CUser->Data['id']}";
  11. $DATABASE->Query( $QS );
  12. $LOG->ScreenChanges( $CUser->Data['width'], $CUser->Data['height'], $WIDTH, $HEIGHT );
  13. break;
  14. };
  15. };
  16. };
  17. };
  18. ?>