* @copyright Prateek Choudhary */ $getcontainer_guid = get_input("container"); $container_guid = explode(":", $getcontainer_guid); if($container_guid[0] == "group"){ $container = $container_guid[1]; } else{ $container = $getcontainer_guid; } $error = array( 'no-search' => 1 ); $error_msg = array( 'no-search' => "Please enter a valid search term" ); $browseCat = get_input('q'); if(empty($browseCat) || !isset($browseCat)) { $browseCat = "youtube"; } $confirm_action = get_input('video_action'); if(isset($confirm_action) && ($confirm_action == 'search_video')) { if(isset($title_search) && ($title_search != '')) { $error['no-search'] = 0; } else { $error['no-search'] = 1; } } //$body = '