<?php /** * Video gallery admin video view file * All Video manage admin page * @category Apptha * @package Contus video Gallery * @version 3.0 * @author Apptha Team <*****@*****.**> * @copyright Copyright (C) 2015 Apptha. All rights reserved. * @license GNU General Public License http://www.gnu.org/copyleft/gpl.html */ /** Creating object for VideosSubController class */ $videoOBJ = new VideosSubController(); /** Call function to add videos data */ $videoOBJ->add_newvideo(); /** Assign class variables into local variables */ $videoId = $videoOBJ->_videoId; $videosearchQuery = $videoOBJ->_videosearchQuery; $searchBtn = $videoOBJ->_searchBtn; $searchMsg = $videoOBJ->_videosearchQuery; $settingsGrid = $videoOBJ->_settingsData; /** Call function to get message for the corresponding action */ $displayMsg = $videoOBJ->get_message(); /** Call function to delete videos data */ $videoOBJ->get_delete(); /** Call function to display videos data in grid section */ $gridVideo = $videoOBJ->video_data(); /** Call function to count videos data */ $Video_count = $videoOBJ->video_count($videosearchQuery, $searchBtn); /** Get video publish option */
* @license GNU General Public License http://www.gnu.org/copyleft/gpl.html */ /** Varaible initialization for add videos */ $act_vid = 0; $video_description = ''; $user_admin = 'administrator'; global $current_user; $checked = 'checked="checked"'; /** Get empty image URL */ $emptyImage = getImagesDirURL() . 'empty.gif'; /** Get video id fom request */ if (isset($_GET['videoId'])) { $act_vid = (int) $_GET['videoId']; } /** Creating object for VideosSubController class */ $videoOBJ = new VideosSubController(); /** Call function to update videos data */ $videoOBJ->add_newvideo(); /** Assign class variables into local variables */ $videoId = $videoOBJ->_videoId; $settingsGrid = $videoOBJ->_settingsData; /** Call function to edit videos data */ $videoEdit = ''; if (!empty($videoId)) { $videoEdit = $videoOBJ->video_edit($videoId); } /** Call function to get message for the corresponding action */ $displayMsg = $videoOBJ->get_message(); /** Script to load image directory URL */ ?> <script type="text/javascript">