Announcement

Collapse
No announcement yet.

Test poll

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Test poll

    Heh
    5
    [img]http://www.vbulletin.com/forum/images/misc/vBulletin_logo.gif[/img]
    0.00%
    0
    [img]http://www.darkdelight.net/images/vBulletin_logo2.gif[/img]
    100.00%
    5
    Sig? What sig?

  • #2
    PHP Code:
        eval("\$message = \"".gettemplate("email_reportbadpost",1,0)."\";");
        eval(
    "\$subject = \"".gettemplate("emailsubject_reportbadpost",1,0)."\";");

    $DB_site->query("INSERT INTO thread (threadid,title,lastpost,forumid,open,replycount,postusername,postuserid,lastposter,dateline,iconid,visible,attach) VALUES (NULL,'".addslashes(htmlspecialchars($subject))."','".time()."','--Modforumid--','1','0','".addslashes($bbuserinfo[username])."','$bbuserinfo[userid]','".addslashes($bbuserinfo[username])."','".time()."','4','1','0')");
    $threadid=$DB_site->insert_id();
    $DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($subject))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','".addslashes($message)."',0,0,'$ipaddress',4,'1')"); 
    The price of freedom is eternal vigilance!
    - Thomas Jefferson

    Comment


    • #3
      Code:
      	$DB_site->query("INSERT INTO thread (threadid,title,lastpost,forumid,open,replycount,postusername,postuserid,lastposter,dateline,iconid,visible,attach) VALUES (NULL,'".addslashes(htmlspecialchars($subject))."','".time()."','$modforum','1','0','".addslashes($bbuserinfo[username])."','$bbuserinfo[userid]','".addslashes($bbuserinfo[username])."','".time()."','$iconid','1','0')"); 
      	$threadid=$DB_site->insert_id(); 
      	$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible) VALUES (NULL,'$threadid','Post Alert - $postinfo[username]','$bbuserinfo[username]','$bbuserinfo[userid]','".time()."','".addslashes(parseurl($message))."','$allowsmilie','$signature','$ipaddress','$iconid','1')"); 
      	$DB_site->query("UPDATE forum SET replycount=replycount+1,lastpost='".time()."',lastposter='$bbuserinfo[username]' WHERE forumid='$modforum'");

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X