level_info['level_video_allow'] || $user->level_info['level_youtube_allow']) ) { // header("Location: user_home.php"); // exit(); } // CREATE VIDEO OBJECT $video = new se_video($user->user_info['user_id']); // GET PRIVACY SETTINGS $level_video_privacy = unserialize($user->level_info['level_video_privacy']); rsort($level_video_privacy); $level_video_comments = unserialize($user->level_info['level_video_comments']); rsort($level_video_comments); // GET VIDEOS $total_videos = $video->video_tag_total("(se_videos.video_is_converted<>'-1')"); $video_array = $video->video_tag_list(0, $total_videos, "se_videos.video_is_converted, video_id DESC", "", 1); // GET PREVIOUS PRIVACY SETTINGS for($c=0;$cuser_info['user_id']); // ASSIGN VARIABLES AND SHOW VIEW VIDEOS PAGE $smarty->assign('videos_total', $total_videos); $smarty->assign('videos', $video_array); $smarty->assign('dir', $dir); $smarty->assign('privacy_options', $privacy_options); $smarty->assign('comment_options', $comment_options); include "footer.php"; ?>