PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/productjuly1video/champdoms.click/sources/edit_activity/
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
Choose File :

Url:
Dir : /home/trave494/productjuly1video/champdoms.click/sources/edit_activity/content.php

<?php

if (IS_LOGGED == false || $pt->config->post_system != 'on') {
    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']);
$post = $db->where('id',$id)->getOne(T_ACTIVITES);
if (empty($post) || ($post->user_id != $pt->user->id && !PT_IsAdmin())) {
    header("Location: " . PT_Link(''));
    exit();
}



$pt->page_url_ = $pt->config->site_url.'/edit_activity/'.$id;
$pt->post       = $post;
$pt->page        = 'edit_activity';
$pt->title       = $lang->edit_activity . ' | ' . $pt->config->title;
$pt->description = $pt->config->description;
$pt->keyword     = $pt->config->keyword;
$pt->content     = PT_LoadPage('edit_activity/content',array(
    'ID' => $post->id,
    'TITLE' => $post->text,
    'IMAGE' => PT_GetMedia($post->image),
    'TIME' => date('F/m/Y h:i',$post->time),
));