query($sql_q); // check if file exists if ($file_q->num_rows < 1) { die(); } // check if file exists $file_d = $file_q->fetch_assoc(); $file_loc = REPOBS.str_ireplace('/', DS, $file_d['file_dir']).DS.$file_d['file_name']; if (!file_exists($file_loc)) { die(); } // multimedia URL $multimedia_url = REPO.'/'.$file_d['file_dir'].'/'.$file_d['file_name']; // flowplayer settings $splash = SWB.IMG.'/senayan-player-splash.png'; $flowplayer_core = JWB.'flowplayer/flowplayer-3.1.0.swf'; $flowplayer_api = JWB.'flowplayer/flowplayer-3.1.0.min.js'; $flowplayer_audio_plugin = JWB.'flowplayer/flowplayer.audio-3.1.0.swf'; ?>