plas71k

adidx => decoded => free version

Mar 3rd, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.25 KB | None | 0 0
  1. <?php
  2. /*
  3. * @ Pirate-Sky Crew :: PHP Decoder v2
  4. * @ Author: pLa$71k
  5. * @ Web: http://pirate-sky.com
  6. * @ Pirate-Sky Crew © 2008 - 2013
  7. */
  8.  
  9. require_once('auth.php');
  10. require_once('../includes/config.php');
  11. if (isset($_GET['id'])) {
  12.     $edit       = $_GET['id'];
  13.     $edit_video = getVideoById($edit);
  14. } else {
  15.     $edit = 0;
  16. }
  17. define("MAX_SIZE", 10240);
  18. if (isset($_POST['submit'])) {
  19.     $photoArray             = array();
  20.     $photoArray['title']    = $_POST['title'];
  21.     $photoArray['video_id'] = $_POST['video_id'];
  22.     $photoArray['desc']     = $_POST['desc'];
  23.     $photoArray['category'] = $_POST['category'];
  24.     $photoArray['approved'] = 1;
  25.     if (isset($_POST['date_time']) && admin_checkDateTime($_POST['date_time'])) {
  26.         $photoArray['upload_time'] = $_POST['date_time'];
  27.     }
  28.     if (!$global['demo']) {
  29.         if (isset($_POST['edit']) && $_POST['edit']) {
  30.             $newId = updateVideo($photoArray, $_POST['edit']);
  31.         } else {
  32.             $newId = insertVideo($photoArray);
  33.         }
  34.         $success_message = 'Saved Successfully';
  35.         $uploadSuccess   = true;
  36.         if ($edit)
  37.             $edit_video = getVideoById($edit);
  38.     } else {
  39.  
  40. //========================== PAYEMENT ==============================//
Add Comment
Please, Sign In to add comment