Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once '../SSI.php';
- function post() {
- global $sourcedir;
- require_once($sourcedir . '/Subs-Post.php');
- $msgoptions = array(
- 'id' => 0,
- 'body' => 'test',
- 'subject=' => 'tesczzc',
- 'icon' => 'xx',
- 'smileys_enabled' => 1,
- 'attachments' => array(),
- );
- $topicoptions = array(
- 'id' => 158.0,
- 'board' => 20.0,
- 'poll' => null,
- 'lock_mode' => 0,
- 'sticky_mode' => 0,
- 'mark_as_read' => false,
- );
- $posteroptions = array(
- 'id' => 0,
- 'name' => '[bot]Test',
- 'email' => '',
- 'update_post_count' => 1,
- );
- createPost($msgoptions, $topicoptions, $posteroptions);
- }
- post();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement