virt2/api/code/ajax/page.php_1596128932.old

10 lines
227 B
Plaintext
Executable File

switch(@$_POST['act']) {
case 'add_comment':
if (!$_SESSION['user_id'])die();
$_POST['abtime']=time();
$_POST['user_id']=$_SESSION['user_id'];
$_POST['act']='';
$db->add ( 'pages_comments', $_POST );
break;
default:
}