virt2/api/code/ajax/set_rekv.php_1595860354.old

18 lines
517 B
Plaintext
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
switch( @$_POST['act'] ) {
case 'save':/*Сохранение заметки*/
unset( $a );
$a['id'] = 1;
$c = $db -> count_sql( 'zametka', $a );
unset( $a );
$a['txt'] = $_POST['txt'];
$db -> update( 'zametka', 1, $a );
break;
case 'loados':/*загружаем обратную связь со статусом не прочитано*/
unset( $a );
$a['status'] = 0;
$massiv = $db -> get_massiv( 'otzyv', $a, 'id' );
$num = $db -> num;
break;
}
?>