Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //post-apocalyptycs news module for wordpress theme 'Beach'
- //(c) Roman Leibov
- //modification for wordpress theme 'Beach' by Tolik Punkoff
- //ini_set('error_reporting', E_ALL);
- //ini_set('display_errors', 1);
- //ini_set('display_startup_errors', 1);
- $where=array();
- $subject=array();
- $action=array();
- $object=array();
- $parts=array();
- include(__DIR__.'/news_data');
- foreach ($parts as $part)
- {
- $news[$part]=${$part}[mt_rand(0, count(${$part})-1)];
- }
- $obs=implode(' ', $news)." ";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement