$DB_site->query(" INSERT INTO " . TABLE_PREFIX . "post (threadid, parentid, title, username, userid, dateline, pagetext, allowsmilie, showsignature, ipaddress, iconid, visible, attach) VALUES ($threadinfo[threadid], $parentid, '" . addslashes($post['title']) . "', '" . addslashes($post['postusername']) . "', $bbuserinfo[userid], " . TIMENOW . ", '" . addslashes($post['message']) . "', $post[enablesmilies], $post[signature], '" . addslashes($post['ipaddress']) . "', $post[iconid], $post[visible], $totalattachments) ");