User
sejgo, 5 July 2008 10:53
GG: -- | Skrypty: 0 | Komentarze: 11
niewiem czemu ale nie chce mi sie on uruchomic po uruchomieniu skryptu wyskakuje ze chce pobrac plik php a nastepnie wyskakuje takie cos
simulation_search($_POST['input']); } $smarty -> display($cfg->template.'head.tpl'); // show index if(empty($_GET['video']) && empty($_GET['video_id'])) { $_GET['video'] = $sim->random_index(); } // show results if(!empty($_GET['video'])) { $smarty->assign('results', $youtube->get_results($_GET['video'])); $smarty->assign('how_much', $youtube->much); $smarty -> display($cfg->template.'results.tpl'); $youtube->pages(); } // show video if(!empty($_GET['video_id'])) { $smarty->assign('video_id', $_GET['video_id']); $smarty->assign('video_l', $youtube->get_l($_GET['video_id'])); $smarty->assign('video_t', $youtube->get_t($_GET['video_id'])); $smarty->assign('head_title_video', $youtube->get_video_info($_GET['video_id'])); $smarty -> display($cfg->template.'show_video.tpl'); } // footer... $smarty -> display($cfg->template.'footer.tpl'); ?>