aber so ganz funktioniert es noch nicht...
vielleicht findet ja einer einen offensichtlichen fehler
Code: Alles auswählen
<?php
define('IN_PHPBB', true);
$phpbb_root_path . './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
$gen_page_header = true;
$page_title = 'die nächsten n termine im calender';
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$abfrage = "SELECT * FROM `".TOPICS_TABLE."` WHERE forum_id == '22' AND topic_calendar_time != 'NULL' ORDER BYtopic_calendar_time ";
if( !( $result = $db->sql_query($sql) ) )
{
message_die(CRITICAL_ERROR, 'Kann Themen Informationen nicht laden!', '', __LINE__, __FILE__, $sql);
}
echo $abfrage;
echo "<br>";
echo $abfrage[topic_calendar_time];
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
in den reihen die kein timestamp enthalten steht "NULL"
kolja
zu sehen hier: http://mona-davinci.de/phpbb/tcmanzeige.php