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

10 lines
227 B
Plaintext
Raw Normal View History

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:
}