bei 16 GBP tut er mir 23,63 EUR anzeigen Wechselkurs von 19. AUG. 1,4768
Dann schau ich mal wo ich da genau die Demo mir anschauen kann von beiden versionen
Code: Alles auswählen
<?php
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
$gen_simple_header = TRUE;
$page_title = $lang['Greeting_Messaging'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$year=create_date('Y', time(), $board_config['board_timezone']);
$date_today = create_date('Ymd', time(), $board_config['board_timezone']);
$user_birthday=realdate("md",$userdata['user_birthday']);
$user_birthday2=(($year.$user_birthday<$date_today)? $year+1:$year).$user_birthday;
$l_greeting = ($user_birthday2==$date_today) ?
sprintf ( $lang['Birthday_greeting_today'], date('Y')-realdate('Y',$userdata['user_birthday']) ) :
sprintf ( $lang['Birthday_greeting_prev'], date('Y')-realdate('Y',$userdata['user_birthday']) , realdate(str_replace('Y','',$lang['DATE_FORMAT']),$userdata['user_birthday']) );
$template->set_filenames(array(
'body' => 'greeting_popup.tpl'));
$template->assign_vars(array(
'L_CLOSE_WINDOW' => $lang['Close_window'],
'L_MESSAGE' => $l_greeting ));
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>Code: Alles auswählen
if ( $userdata['user_birthday']!=999999 && create_date('Ymd', time(), $board_config['default_timezone']) == create_date('Y', time(), $board_config['default_timezone']).realdate ('md',$userdata['user_birthday'] ) )
{
$template->assign_block_vars("switch_user_birthday", array());
}
Code: Alles auswählen
<!-- BEGIN switch_user_birthday -->
<!-- END switch_user_birthday -->Also das ist jetzt wirklich ein wenig viel verlangt!!! :rolleyes:wenn jemand am 23.08 geb. hat also heute die nachricht, loggt er sich allerdings aber erst am 24. ein sollte er wie beim popup dann nachträglich am bekommen die nachricht in dem block für den ganze tag (24.)