get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($calendar_entries) { $time_format=get_option('time_format'); $current_month=false; $current_date=false; $data=array(); foreach($calendar_entries as $entry) { // To use %SINCE%, you need Dunstan's 'Time Since' plugin. if(function_exists('time_since')) $data['SINCE']=time_since( time(), ec3_to_time($entry->start) ); // Month changed? $data['MONTH']=mysql2date($month_format,$entry->start); if((!$current_month || $current_month!=$data['MONTH']) && $template_month) { if($current_date) echo "\n"; if($current_month) echo "\n"; echo ec3_format_str($template_month,$data)."\n\n"; $current_month=$data['MONTH']; $current_date=false; } // Date changed? $data['DATE'] =mysql2date($date_format, $entry->start); if((!$current_date || $current_date!=$data['DATE']) && $template_day) { if($current_date) echo "\n"; echo ec3_format_str($template_day,$data)."\n\n"; $current_date=$data['DATE']; } if($entry->allday) $data['TIME']=__('all day','ec3'); else $data['TIME']=mysql2date($time_format,$entry->start); $data['TIME2']=mysql2date($time_format,$entry->allday); $data['TITLE'] = htmlentities( stripslashes(strip_tags($entry->post_title)), ENT_QUOTES,get_option('blog_charset') ); $data['LINK'] = get_permalink($entry->id); $data['LINK3'] = get_permalink($entry->id); $data['AUTHOR']= htmlentities($entry->author,ENT_QUOTES,get_option('blog_charset')); echo ec3_format_str($template_event,$data)."\n"; } if($current_date) echo "\n"; if($current_month) echo "\n"; } else { echo "".__('No events.','ec3')."\n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($current_month) echo "\n"; echo "
  • " . ec3_format_str($template_month,$data)."\n
  • \n"; echo "
  • " . ec3_format_str($template_day,$data)."\n
  • \n"; if($current_month) echo "\n"; } else { echo "
  • ".__('No events.','ec3')."
  • \n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($current_month) echo "\n"; echo "
  • " . ec3_format_str($template_month,$data)."\n
  • \n"; echo "
  • " . ec3_format_str($template_day,$data)."\n
  • \n"; if($current_month) echo "\n"; } else { echo "
  • ".__('No events.','ec3')."
  • \n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($current_month) echo "\n"; echo "
  • " . ec3_format_str($template_month,$data)."\n
  • \n"; echo "
  • " . ec3_format_str($template_day,$data)."\n
  • \n"; if($current_month) echo "\n"; } else { echo "
  • ".__('No events.','ec3')."
  • \n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($calendar_entries) { $time_format=get_option('time_format'); $current_month=false; $current_date=false; $data=array(); foreach($calendar_entries as $entry) { // To use %SINCE%, you need Dunstan's 'Time Since' plugin. if(function_exists('time_since')) $data['SINCE']=time_since( time(), ec3_to_time($entry->start) ); // Month changed? $data['MONTH']=mysql2date($month_format,$entry->start); if((!$current_month || $current_month!=$data['MONTH']) && $template_month) { if($current_date) echo "\n"; if($current_month) echo "\n"; echo ec3_format_str($template_month,$data)."\n\n"; $current_month=$data['MONTH']; $current_date=false; } // Date changed? $data['DATE'] =mysql2date($date_format, $entry->start); if((!$current_date || $current_date!=$data['DATE']) && $template_day) { if($current_date) echo "\n"; echo ec3_format_str($template_day,$data)."\n\n"; $current_date=$data['DATE']; } $data['DATE'] = mb_convert_encoding($data['DATE'],"ISO-8859-1"); if($entry->allday) $data['TIME']=__('all day','ec3'); else $data['TIME']=mysql2date($time_format,$entry->start); $data['TITLE'] = htmlentities( stripslashes(strip_tags($entry->post_title)), ENT_QUOTES,get_option('blog_charset') ); $data['TITLE'] = mb_convert_encoding($data['TITLE'],"ISO-8859-1"); $data['LINK'] = get_permalink($entry->id); $data['AUTHOR']= htmlentities($entry->author,ENT_QUOTES,get_option('blog_charset')); echo ec3_format_str($template_event,$data)."\n"; } if($current_date) echo "\n"; if($current_month) echo "\n"; } else { echo "".__('No events.','ec3')."\n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($current_month) echo "\n"; echo "
  • " . ec3_format_str($template_month,$data)."\n
  • \n"; echo "
  • " . ec3_format_str($template_day,$data)."\n
  • \n"; if($current_month) echo "\n"; } else { echo "
  • ".__('No events.','ec3')."
  • \n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($current_month) echo "\n"; echo "
  • " . ec3_format_str($template_month,$data)."\n
  • \n"; echo "
  • " . ec3_format_str($template_day,$data)."\n
  • \n"; if($current_month) echo "\n"; } else { echo "
  • ".__('No events.','ec3')."
  • \n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($current_month) echo "\n"; echo "
  • " . ec3_format_str($template_month,$data)."\n
  • \n"; echo "
  • " . ec3_format_str($template_day,$data)."\n
  • \n"; if($current_month) echo "\n"; } else { echo "
  • ".__('No events.','ec3')."
  • \n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($calendar_entries) { $time_format=get_option('time_format'); $current_month=false; $current_date=false; $data=array(); foreach($calendar_entries as $entry) { // To use %SINCE%, you need Dunstan's 'Time Since' plugin. if(function_exists('time_since')) $data['SINCE']=time_since( time(), ec3_to_time($entry->start) ); // Month changed? $data['MONTH']=mysql2date($month_format,$entry->start); if((!$current_month || $current_month!=$data['MONTH']) && $template_month) { if($current_date) echo "\n"; if($current_month) echo "\n"; echo ec3_format_str($template_month,$data)."\n\n"; $current_month=$data['MONTH']; $current_date=false; } // Date changed? $data['DATE'] =mysql2date($date_format, $entry->start); if((!$current_date || $current_date!=$data['DATE']) && $template_day) { if($current_date) echo "\n"; echo ec3_format_str($template_day,$data)."\n\n"; $current_date=$data['DATE']; } if($entry->allday) $data['TIME']=__('all day','ec3'); else $data['TIME']=mysql2date($time_format,$entry->start); $data['TITLE'] = htmlentities( stripslashes(strip_tags($entry->post_title)), ENT_QUOTES,get_option('blog_charset') ); $data['LINK'] = get_permalink($entry->id); $data['AUTHOR']= htmlentities($entry->author,ENT_QUOTES,get_option('blog_charset')); echo ec3_format_str($template_event,$data)."\n"; } if($current_date) echo "\n"; if($current_month) echo "\n"; } else { echo "".__('No events.','ec3')."\n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($current_month) echo "\n"; echo "
  • " . ec3_format_str($template_month,$data)."\n
  • \n"; echo "
  • " . ec3_format_str($template_day,$data)."\n
  • \n"; if($current_month) echo "\n"; } else { echo "
  • ".__('No events.','ec3')."
  • \n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($calendar_entries) { $time_format=get_option('time_format'); $current_month=false; $current_date=false; $data=array(); foreach($calendar_entries as $entry) { // To use %SINCE%, you need Dunstan's 'Time Since' plugin. if(function_exists('time_since')) $data['SINCE']=time_since( time(), ec3_to_time($entry->start) ); // Month changed? $data['MONTH']=mysql2date($month_format,$entry->start); if((!$current_month || $current_month!=$data['MONTH']) && $template_month) { if($current_date) echo "\n"; if($current_month) echo "\n"; echo ec3_format_str($template_month,$data)."\n\n"; $current_month=$data['MONTH']; $current_date=false; } // Date changed? $data['DATE'] =mysql2date($date_format, $entry->start); if((!$current_date || $current_date!=$data['DATE']) && $template_day) { if($current_date) echo "\n"; echo ec3_format_str($template_day,$data)."\n\n"; $current_date=$data['DATE']; } $data['DATE'] = mb_convert_encoding($data['DATE'],"ISO-8859-1"); if($entry->allday) $data['TIME']=__('all day','ec3'); else $data['TIME']=mysql2date($time_format,$entry->start); $data['TITLE'] = htmlentities( stripslashes(strip_tags($entry->post_title)), ENT_QUOTES,get_option('blog_charset') ); $data['TITLE'] = mb_convert_encoding($data['TITLE'],"ISO-8859-1"); $data['LINK'] = get_permalink($entry->id); $data['AUTHOR']= htmlentities($entry->author,ENT_QUOTES,get_option('blog_charset')); echo ec3_format_str($template_event,$data)."\n"; } if($current_date) echo "\n"; if($current_month) echo "\n"; } else { echo "".__('No events.','ec3')."\n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($current_month) echo "\n"; echo "
  • " . ec3_format_str($template_month,$data)."\n
  • \n"; echo "
  • " . ec3_format_str($template_day,$data)."\n
  • \n"; if($current_month) echo "\n"; } else { echo "
  • ".__('No events.','ec3')."
  • \n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($calendar_entries) { $time_format=get_option('time_format'); $current_month=false; $current_date=false; $data=array(); foreach($calendar_entries as $entry) { // To use %SINCE%, you need Dunstan's 'Time Since' plugin. if(function_exists('time_since')) $data['SINCE']=time_since( time(), ec3_to_time($entry->start) ); // Month changed? $data['MONTH']=mysql2date($month_format,$entry->start); if((!$current_month || $current_month!=$data['MONTH']) && $template_month) { if($current_date) echo "\n"; if($current_month) echo "\n"; echo ec3_format_str($template_month,$data)."\n\n"; $current_month=$data['MONTH']; $current_date=false; } // Date changed? $data['DATE'] =mysql2date($date_format, $entry->start); $data['DATE'] = mb_convert_encoding($data['DATE'],"ISO-8859-1"); if((!$current_date || $current_date!=$data['DATE']) && $template_day) { if($current_date) echo "\n"; echo ec3_format_str($template_day,$data)."\n\n"; $current_date=$data['DATE']; } if($entry->allday) $data['TIME']=__('all day','ec3'); else $data['TIME']=mysql2date($time_format,$entry->start); $data['TITLE'] = htmlentities( stripslashes(strip_tags($entry->post_title)), ENT_QUOTES,get_option('blog_charset') ); $data['TITLE'] = mb_convert_encoding($data['TITLE'],"ISO-8859-1"); $data['LINK'] = get_permalink($entry->id); $data['AUTHOR']= htmlentities($entry->author,ENT_QUOTES,get_option('blog_charset')); echo ec3_format_str($template_event,$data)."\n"; } if($current_date) echo "\n"; if($current_month) echo "\n"; } else { echo "".__('No events.','ec3')."\n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($current_month) echo "\n"; echo "
  • " . ec3_format_str($template_month,$data)."\n
  • \n"; echo "
  • " . ec3_format_str($template_day,$data)."\n
  • \n"; if($current_month) echo "\n"; } else { echo "
  • ".__('No events.','ec3')."
  • \n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($current_month) echo "\n"; echo "
  • " . ec3_format_str($template_month,$data)."\n
  • \n"; echo "
  • " . ec3_format_str($template_day,$data)."\n
  • \n"; if($current_month) echo "\n"; } else { echo "
  • ".__('No events.','ec3')."
  • \n"; } echo "\n"; } ?> get_results( "SELECT DISTINCT p.id AS id, post_title, start, u.$ec3->wp_user_nicename AS author, allday FROM $ec3->schedule s LEFT JOIN $wpdb->posts p ON s.post_id=p.id LEFT JOIN $wpdb->users u ON p.post_author = u.id WHERE p.post_status='publish' AND end>='$ec3->today' $and_before ORDER BY start $limit_numposts" ); echo "\n"; if($current_month) echo "\n"; echo "
  • " . ec3_format_str($template_month,$data)."\n
  • \n"; echo "
  • " . ec3_format_str($template_day,$data)."\n
  • \n"; if($current_month) echo "\n"; } else { echo "
  • ".__('No events.','ec3')."
  • \n"; } echo "\n"; } ?>

    Beispielausgabe für alle Termine

    Schriftart, Farbe, Codierung etc. werden komplett von mir auf euer Design angepasst!
    Die Events aktualisieren sich natürlich automatisch!


    Fatal error: Call to undefined function ec3_get_beispiel_events_lang() in /var/www/vhosts/italo-meetings.de/httpdocs/itm/events/events_beispiel_lang.php on line 8