ID)as $cat){ if($cat->term_id==SPONSOR_CAT_ID or $cat->category_parent==SPONSOR_CAT_ID){ #header("HTTP/1.1 301 Moved Permanently"); header("Location: ".WEB_URL.'support/#sp'.str_replace('sponsor-','',$post->post_name)); exit; } } /** * The template for displaying all single posts * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post * * @package WordPress * @subpackage Twenty_Seventeen * @since 1.0 * @version 1.0 */ $PAGE_ID = KEYNOTE_SPEAKER_PAGE_ID; $SPEAKER_CAT_NAME = 'speakers'; include '_page_header.php'; $speaker_id = get_speaker_id_by_post_name($post); $v = $wpdb->get_row('SELECT * FROM '.TBL_SPEAKERS.' WHERE id='.$speaker_id); $imgsrc = get_speaker_photo_imgsrc( $speaker_id+0 ); ?>
« 回列表 post_name; ?>
分享
post_name); } $TALK_TYPE_PREFIX = $speaker_agenda && $speaker_agenda->day<=2 ? '人工智慧' : '資料科學'; ?>
anchor=='romeo' ? ' style=text-align:left':''?>>[演講] talk_title);?>

演講時間/地點

desc_refined ? $v->desc_refined : $v->desc; if($_desc){ ?>

演講摘要

chair_id){ ?>

主持人

講者簡介

<?php echo $v->name?>
  • name?> website; if(is_valid_link($website, true)){ $protocol = 'http'; $has_protocol = strpos($website,'//')!==false; if(strpos($website, 'www.cs.ccu.edu.tw/~wtchu')!==false){ if($has_protocol){ $website = str_replace('http:','https:',$website); }else{ $protocol = 'https'; } } $href = !$has_protocol ? $protocol.'://'.$website : $website; ?> 個人網站
  • company?> / position?>
  • me_desc_refined ? $v->me_desc_refined : $v->me_desc)?>
  • get_results('SELECT * FROM '.TBL_AGENDA.' WHERE speaker_id LIKE "'.$speaker_id.'+%" OR speaker_id LIKE "%+'.$speaker_id.'" LIMIT 1'); if($rows){ echo'
  • 同場講者: '; $row = $rows[0]; $ary_speaker_id = explode('+', $row->speaker_id); foreach($ary_speaker_id as$sid){ if($sid==$speaker_id){continue;} $speaker = $wpdb->get_row('SELECT * FROM '.TBL_SPEAKERS.' WHERE id='.$sid); echo ''.$speaker->name.' '; } echo'
  • '; } ?>
>上一篇post_name);?>演講« post_title?>

>下一篇post_name);?>演講post_title?> »

>