Server :
Apache
System :
Linux webd003.cluster126.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User :
atwiofrxug (73666)
PHP Version :
8.4.10
Disable Functions :
_dyuweyrj4,_dyuweyrj4r,dl
Current Directory :
/home/atwiofrxug/mylittletelaviv/wp-content/plugins/newsletter/emails/themes/theme-3/
Directory Status:
Writeable | Document Root:
Writeable
Upload File
Viewing: /home/atwiofrxug/mylittletelaviv/wp-content/plugins/newsletter/emails/themes/theme-3/theme-text.php
<?php
global $newsletter; // Newsletter object
global $post; // Current post managed by WordPress
if (!defined('ABSPATH'))
exit;
// This file is included inside a function so it inherit all the local variables.
// Since a theme has it's own options, it must check if there is new content to send
// out.
// Inside $theme_options['last_time'] there is the time stamps of the last run
// to be used to decide if we need to stop or not.
$filters = array();
$filters['posts_per_page'] = (int)$theme_options['max_posts'];
if ($filters['posts_per_page'] == 0) $filters['posts_per_page'] = 10;
// This theme has an option with categories to be included.
if (is_array($theme_options['categories'])) {
$filters['cat'] = implode(',', $theme_options['categories']);
}
$posts = get_posts($filters);
// Retrieve the posts asking them to WordPress
$posts = get_posts($filters);
?><?php echo $theme_options['theme_opening_text']; ?>
* <?php echo $theme_options['theme_title']; ?>
<?php
foreach ($posts as $post) {
// Setup the post (WordPress requirement)
setup_postdata($post);
?>
<?php the_title(); ?>
<?php the_permalink(); ?>
<?php } ?>
<?php echo $theme_options['theme_footer_text']; ?>
Cyb3r Drag0nz Team • Google Edition