Example #1
0
if (array_search($match[0], $quicktime_extensions) !== FALSE) {
    quicktime_player($url);
} elseif (array_search($match[0], $windowsmedia_extensions) !== FALSE) {
    windowsmedia_player($url);
} elseif (array_search($match[0], $flash_extensions) !== FALSE) {
    flash_player($url);
} elseif (array_search($match[0], $realplayer_extensions) !== FALSE) {
    real_player($url);
} elseif (array_search($match[0], $not_config) !== FALSE) {
    misc($url);
} elseif (array_search($match[0], $weird_extensions) !== FALSE) {
    weird_player($url);
} elseif (array_search($match[0], $flash_flv_extensions) !== FALSE) {
    flvplayer($url);
} elseif (array_search($match[0], $myspace) !== FALSE) {
    space_player($url);
} elseif (array_search($match[0], $embed_code) !== FALSE) {
    embed_player($embed);
} elseif (array_search($match[0], $divx_code) !== FALSE) {
    divx_player($url);
} elseif (array_search($match[0], $googlevideo) !== FALSE) {
    googleplayer($url);
} elseif (array_search($match[0], $streammedia) !== FALSE) {
    streammedia($url);
} elseif (array_search($match[0], $mp3media) !== FALSE) {
    mp3media($url);
} else {
    // a player could not be found
    echo $locale['WGKROAX001'] . $url . $locale['WGKROAX002'] . $match[0] . $locale['WGKROAX003'];
}
echo '
Example #2
0
     break;
 case 'horoscope':
     //星座生肖
     space_horoscope();
     break;
 case 'lifetimes':
     //人生经历
     space_lifetimes();
     break;
 case 'dating':
     //约会
     space_dating();
     break;
 case 'player':
     //音乐播放器
     space_player();
     break;
 case 'other':
     space_other();
     break;
 case 'comment':
     //对TA评价
     space_comment();
     break;
 case 'mebind':
     //查看绑定申请
     space_mebind();
     break;
 case 'viewpro':
     //资料页
     space_viewpro();