0 ? (int)$_GET['Day'] : $session_day; } ?>
' . $session_day . ''); if (IS_GOOGLE_EXCEL_DATA) { extract(setup_speaker_data($wpdb, 'ALL', $session_day)); } else { $a = get_posts(array('category' => KEYNOTE_SPEAKER_CAT_ID, 'posts_per_page' => 4)); } foreach ($a as $v) { $conf = ''; if (IS_GOOGLE_EXCEL_DATA) { $speaker_id = $v->id; $title = $v->talk_title??($v->talk_title2); $title = empty($title)?$v->lecture_type:$title; $anchor = $v->anchor; $conf = $v->conf; $name = $v->name; //1===preg_match('/[a-zA-Z]/', $v->name) ? $v->name : $v->name2; # eng name for tech2021 $company = $v->company; $position = $v->position; $website = $email = ''; // if(strpos($v->website, '@')!==false){ // // should we public the email? $email = str_replace(array('http://','https://'), '', $v->website); // }else{ // /* // $tmp = @post_request($v->website, array()); // if($tmp and isset($tmp['status']) and strtolower($tmp['status'])==='ok'){ // $website = $v->website; // } // */ // $website = $v->website; // } $website = get_speaker_website($v->website); $img_src = get_speaker_photo_imgsrc($v->id, $ary_allow_photo_ext); $img = '' . $name . ''; $desc = pangu($v->me_desc_refined ? $v->me_desc_refined : $v->me_desc); } else { $speaker_id = $v->ID; $title = get_post_meta($v->ID, 'talk_title', true); $name = $v->post_title; $position = get_post_meta($v->ID, 'position', true); $website = get_post_meta($v->ID, 'website', true); $img = get_post_meta($v->ID, 'photo', true); #'/images/organizer/01 iis.png'; $img = wp_get_attachment_image($img, 'medium'); $desc = strip_tags($v->post_content); } ?>
class="col-md-12 kn-speak" data-n= data-anchor=""> name=>
'; echo $img; echo ''; if (0 && $website) { echo ' 個人網頁'; } ?>

/ /