Recent Posts
Bash | 7 sec ago
Python | 16 sec ago
None | 49 sec ago
None | 1 min ago
Bash | 2 min ago
None | 2 min ago
None | 3 min ago
None | 3 min ago
PAWN | 3 min ago
None | 4 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Daz on the 9th of Feb 2010 09:09:39 PM Download | Raw | Embed | Report
  1. $evt = strtotime($event['event_start']);
  2. $evt = $evt - (7 * 24 * 60 * 60);
  3. dbquery("INSERT INTO ".DB_NEWS."
  4.                                 SET
  5.                                 event_id ='".$event['event_id']."',
  6.                                 news_subject ='".$event['ev_title']."',
  7.                                 news_cat = '17',
  8.                                 news_news = '".$event['ev_body']."',
  9.                                 news_name = '".$userdata['user_id']."',
  10.                                 news_datestamp ='".time()."',
  11.                                 news_start = '".$evt)."',
  12.                                 news_allow_ratings = '0'");
Submit a correction or amendment below. [ previous version ] | [ difference ] | Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: