10 lines
227 B
Plaintext
10 lines
227 B
Plaintext
|
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:
|
||
|
}
|