if (current_user_is('s2member_level0')) {
echo 'No Time Added';
}
Statistics: Posted by Cristián Lávaque — October 1st, 2011, 5:06 am
<?php if (is_user_logged_in()) {
$user = wp_get_current_user();
echo ' <strong>'.$user->display_name.'</strong>, ';
} else { ?>
Please <strong>
<?php wp_loginout(); ?>
</strong>
or <a href="<?php echo get_option('home'); ?>/wp-login.php?action=register"><strong>Register</strong></a>
<?php } ?>
</strong></font>
<font size="3" face="arial" color="black">You're time will expire on:</font> <br />
<font size="3" face="arial" color="black"><?php echo date('l F jS, Y', get_user_option('wp_s2member_auto_eot_time', $user_id)); ?></font>
Statistics: Posted by bakinblack — September 27th, 2011, 6:34 pm