Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * @ Pirate-Sky Crew :: PHP Decoder v2
- * @ Author: pLa$71k
- * @ Web: http://pirate-sky.com
- * @ Pirate-Sky Crew © 2008 - 2013
- */
- require_once('auth.php');
- require_once('../includes/config.php');
- if (isset($_GET['id'])) {
- $edit = $_GET['id'];
- $edit_video = getVideoById($edit);
- } else {
- $edit = 0;
- }
- define("MAX_SIZE", 10240);
- if (isset($_POST['submit'])) {
- $photoArray = array();
- $photoArray['title'] = $_POST['title'];
- $photoArray['video_id'] = $_POST['video_id'];
- $photoArray['desc'] = $_POST['desc'];
- $photoArray['category'] = $_POST['category'];
- $photoArray['approved'] = 1;
- if (isset($_POST['date_time']) && admin_checkDateTime($_POST['date_time'])) {
- $photoArray['upload_time'] = $_POST['date_time'];
- }
- if (!$global['demo']) {
- if (isset($_POST['edit']) && $_POST['edit']) {
- $newId = updateVideo($photoArray, $_POST['edit']);
- } else {
- $newId = insertVideo($photoArray);
- }
- $success_message = 'Saved Successfully';
- $uploadSuccess = true;
- if ($edit)
- $edit_video = getVideoById($edit);
- } else {
- //========================== PAYEMENT ==============================//
Add Comment
Please, Sign In to add comment