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.
18 lines
530 B
18 lines
530 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;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
?>
|