';print_r(get_the_category());echo''; var_dump($IS_TEMP_COURSE_SINGLE); } */ if($IS_TEMP_COURSE_SINGLE and !isset($_GET['speaker_review'])){ die('
back to home
'); } $ary_assets = collect_frontend_assets(array('bootstrap','animations','fonts')); load_css_assets($ary_assets['CSS'], CSS_URL.'courses.css'.FE_VER); // load_js_assets($ary_assets['JS'], JS_URL.'courses.js'.FE_VER); function _display_course_breadcrumb($post){ return ''; } function display_short_quick_desc($post,$is_at_side_of_the_content=false){ global$wpdb; ?>

ID, 'course_status'); $course_status = $wpdb->get_var('SELECT course_status FROM course WHERE wp_post_id='.$post->ID); // var_dump($course_status); $IS_CLOSE = $course_status==COURSE_STATUS_CLOSE; if($IS_CLOSE and !$is_at_side_of_the_content){echo'已額滿。';} ?>

ID, 'got_ticket_start', true); $got_ticket_start__date = $got_ticket_start__time = ''; $ticket_text = '已開放報名!'; if($got_ticket_start){ preg_match('/[0-9][0-9]:[0-9][0-9]/',$got_ticket_start,$m); $got_ticket_start__time = $m[0]; $got_ticket_start__date = trim( substr($got_ticket_start,0,10) ); $start = $got_ticket_start__date.' '.$got_ticket_start__time; $now = date('Y/m/d H:i'); if($got_ticket_start__date and $got_ticket_start__time and $now<$start){ $ticket_text = $got_ticket_start. ' 開放報名'; } } ?>
ID,'got_ticket_deadline',true));?> 截止報名
href="ID,'got_ticket_url',true))?>" target="_blank"> 立即報名

ID==1416){ echo substr($post->post_title, 0, strpos($post->post_title, '-')); }else{ echo $post->post_title; }?>

ID==1416){ echo '
'.substr($post->post_title, strpos($post->post_title, '-')).'
'; } ?>
ID, 'confirm_email_date', true); $confirm_email_notification=get_post_meta($post->ID,'confirm_email_notification',true); $start_date = get_post_meta($post->ID,'start_date',true); $end_date = get_post_meta($post->ID, 'end_date', true); if($end_date>=$start_date){ $confirm_email_date_end = $end_date; } $cur_date = current_time('Y-m-d'); if($confirm_email_date and $cur_date>=$confirm_email_date && $cur_date<=$confirm_email_date_end){ $text = $confirm_email_notification ? $confirm_email_notification : '【本課程之確認 Email 已寄出。若沒收到,請來信主動聯絡 secretary@datasci.tw 或 FB 粉絲頁 私訊我們,謝謝。】'; echo'
'.$text.'
'; } #echo''; ?>

活動簡介

ID,'agenda',true)); $ary = array();$cur_i = -1; foreach(preg_split('/\n|\r\n?/',$agenda) as $k=>$v){ $pos = strpos($v,'#'); $is_header = $pos===0; $is_tr = $pos>0; if($is_header){ $cur_i++; $ary[$cur_i] = array('header'=>substr($v,1), 'child'=>array()); }elseif($is_tr){ $doing = substr($v,$pos+1); if(strpos($doing,'`')!==false){ $_ = explode('`',$doing); $doing = $_[0] . ''.$_[1].''; } $ary[$cur_i]['child'][] = array('time'=>substr($v,0,$pos), 'doing'=>$doing); } } foreach($ary as$v){ $tbody = ''; foreach($v['child'] as$idx=>$child){ $tbody.='
'.$child['time'].'

'.$child['doing'].'

'."\n"; } echo'

'.$v['header'].'

'.$tbody.'
'; } ?>

講者簡介

ID,'speaker'.$suffix,true); $speaker = my_safe_html($speaker); if(!$speaker){continue;} ?>
ID,'speaker_url'.$suffix,true)){ ?>

ID,'speaker_background'.$suffix,true); $s = my_safe_html($s,array('
'=>'{換行}', '
'=>'{換行}')); echo$s;?>

ID,'speaker_intro'.$suffix,true))?>

報名須知

ID,'requirement_for_student',true); ?>
    10){ ?>
  • 學員基本要求
    • '=>'{換行}','
      '=>'{換行}')); $s = str_replace('{^^^', '
      • ',$s); $s = str_replace('^^^}', '
      ',$s); $s = str_replace('{***', '
      1. ',$s); $s = str_replace('***}', '
      ',$s); $s = str_replace('^^^','
    • ',$s); $s = str_replace('***','
    • ',$s); echo '
    • '.implode('
    • ', preg_split('/\n|\r\n?/',$s) ).'
    • '; ?>

  • 退票須知
    • 本活動委由 KKTIX 代為處理退票退款事宜。
    • 退票時將酌收 10% 手續費、且活動前十天內(不含活動日)不予退票。
    • 詳情請見 KKTIX 代理退換票辦法

報名活動

交通資訊

ID, 'traffic_way1', true); function _display_traffic_info($traffic_info){ $a = preg_split('/\n|\r\n?/',$traffic_info); return '
  • '.implode('
  • ',$a).'
  • '; } if($traffic_way1){ ?>
      • ID, 'traffic_info1', true)); ?>

      ID, 'traffic_way2', true)){ ?>
      • ID, 'traffic_info2', true)); ?>

      ID, 'traffic_way3', true)){ ?>
      • ID, 'traffic_info3', true)); ?>

      ID, 'traffic_way4', true)){ ?>
      • ID, 'traffic_info4', true)); ?>
    • 公車
      • 請搭臺北市公車 205、212(直行/區間)、270、276、306(直行/區間)、620、645(直行/副線)、小 12、藍 25、 679、小 5、小 1 任何一班至中研院站 (前一站為中研新村站)。

    • 捷運
      • 請搭捷運板南線至南港站 2 號出口換乘公車 212(直行/區間)、270 或 藍25 至中研院站。
      • 搭捷運文湖線至南港展覽館站 (5 號出口),走至對面換乘公車 205、276、306(直行/區間) 或 645(直行/副線) 至中研院站。

    • 火車
      • 請搭火車至南港火車站換乘公車 212(直行/區間)、270 或 藍25 至中研院站。

    • 自行開車
      • 請參考下方地圖開車至中央研究院院區 (臺北市研究院路二段 128 號)。
      • 開車請由正門進入院區。
      • 車輛可停人文社會科學館 B2 停車場 (空間可停 100 輛),或停放在中研院區內平面停車格。
      • 週一至週五中研院內停車每小時收費 20 元。
      • 週末中研院內免費停車。
    ID, 'map_title_left', true); if(!$map_title_left){ $map_title_left = '中央研究院位置圖'; } $map_title_right = get_post_meta($post->ID, 'map_title_right', true); if(!$map_title_right){ $map_title_right = '人文社會科學館位置圖'; } $map_iframe = get_post_meta($post->ID, 'map_iframe', true); if(!$map_iframe){ $map_iframe = 'https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d903.7004098652079!2d121.6112542616693!3d25.040804894690684!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3442ab46b2f9a81f%3A0x74112a66e7796ca!2zMTE16Ie65YyX5biC5Y2X5riv5Y2A56CU56m26Zmi6Lev5LqM5q615Lit5aSu56CU56m26Zmi5Lq65paH56S-5pyD56eR5a246aSo!5e0!3m2!1szh-TW!2stw!4v1475470663411'; } # /img/SinicaMap.png /img/as_map.png $map_imgsrc = IMG_URL . 'as_map.png'; if($attachment_id = get_post_meta($post->ID,'map_imgsrc',true)){ $img = wp_get_attachment_image_src($attachment_id,'full'); $map_imgsrc = imgsrc_rm_domain($img[0]); } ?>


    -->*/?>


    主辦單位

    ID, 'has_taai_logo',true);if(!$has_TAAI_logo){ ?>