PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/productjuly1video/champdoms.click/sources/edit-video/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/productjuly1video/champdoms.click/sources/edit-video/content.php |
<?php if (IS_LOGGED == false) { header("Location: " . PT_Link('login')); exit(); } if (empty($_GET['id'])) { header("Location: " . PT_Link('login')); exit(); } $_GET['id'] = strip_tags($_GET['id']); $id = PT_Secure($_GET['id']); $video = $db->where('id', $id)->getOne(T_VIDEOS); if (empty($video)) { header("Location: " . PT_Link('login')); exit(); } if (!PT_IsAdmin()) { if (empty($db->where('id', $id)->where('user_id', $user->id)->getValue(T_VIDEOS, 'count(*)'))) { header("Location: " . PT_Link('login')); exit(); } } $pt->sub_categories_array = array(); foreach ($pt->sub_categories as $cat_key => $subs) { $pt->sub_categories_array["'".$cat_key."'"] = '<option value="0">'.$lang->none.'</option>'; foreach ($subs as $sub_key => $sub_value) { $pt->sub_categories_array["'".$cat_key."'"] .= '<option value="'.array_keys($sub_value)[0].'" '.(($video->sub_category == array_keys($sub_value)[0]) ? "selected" : "") .'>'.$sub_value[array_keys($sub_value)[0]].'</option>'; } } $pt->page_url_ = $pt->config->site_url.'/edit-video/'.$id; $video = PT_GetVideoByID($video, 0, 0, 0); $pt->video = $video; $pt->page = 'edit-video'; $pt->title = $lang->edit_video . ' | ' . $pt->config->title; $pt->description = $pt->config->description; $pt->keyword = $pt->config->keyword; $pt->content = PT_LoadPage('edit-video/content', array( 'ID' => $video->id, 'USER_DATA' => $video->owner, 'THUMBNAIL' => $video->thumbnail, 'URL' => $video->url, 'TITLE' => $video->title, 'DESC' => br2nl($video->edit_description), 'DESC_2' => $video->markup_description, 'VIEWS' => $video->views, 'TIME' => $video->time_ago, 'TAGS' => $video->tags, ));