} } else { $full_path = ""; } $_POST = sanitize($_POST); $photos = $_POST; settype($photos,'object'); VideoGallery::updateVideoGallery($photos,$full_path); $success = "Videos Successfully Saved!"; $updates = 'Update videos content'; AdminAction::addAdminAction($_SESSION['admin_name'],$updates); } $videos = VideoGallery::findVideoGallery($_REQUEST['id']); ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo $ROOT_URL; ?> _admin/_assets/css/core3.css" /> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo $ROOT_URL; ?> _admin/_assets/css/modules.css" /> <script type="text/javascript" src="<?php