retrieve_content_time_where( $table_name, $pk, $_GET['s'] ) ) ) { $serno = $_GET['s']; } else if ( $pvw ) { $serno = $_GET['s']; $data = $sql->retrieve_content( $table_name, $pk, $serno, true ); } else { echo ""; exit; } $sernos = $sql->sql_exec( "select workshop_serno, workshop_title from workshop where enable = 'Y' order by orderby , workshop_serno desc", "pkassoc" ); $ak = array_keys( $sernos ); $pos = array_search( $serno, $ak ); function nl2li( $str, $css_class = "none", $ordered = 0, $type = "1" ) { //check if its ordered or unordered list, set tag accordingly if ( $ordered ) { $tag = "ol"; //specify the type $tag_type = "type=$type"; } else { $tag = "ul"; //set $type as NULL $tag_type = null; } $str = "
  • " . $str . "
  • "; $str = str_replace( "\n", "
  • ", $str ); return $str; } ?> TWI <?PHP echo $data['workshop_title'] ?>
    '; ?>
    getlist_where( 'payoption', '', '*', "and pk_serno = '$serno' and payoption_type = 'workshop'" ); foreach ( $priceoptions as $o ) { ?>

    *點選報名此活動即代表您已閱讀並同意本服務條款

    sql_exec( "select * from classnote where classnote_serno = '" . $data['classnote_serno'] . "' and enable = 'Y'", 'singleorlast' ); if ( sizeof( $note ) > 0 ) { ?>