2013-10-07 12:17:06 +00:00
|
|
|
<?php
|
2017-01-10 12:49:44 +05:00
|
|
|
|
|
|
|
/**
|
|
|
|
*************************************************************
|
|
|
|
| Copyright (c) 2007-2017 Clip-Bucket.com. All rights reserved.
|
|
|
|
| @ Author : Arslan Hassan
|
|
|
|
| @ Software : ClipBucket
|
|
|
|
| @ Modified : { January 10th, 2017 } { Saqib Razzaq } { Updated copyright date }
|
|
|
|
*************************************************************
|
2013-10-07 12:17:06 +00:00
|
|
|
*/
|
2014-06-02 07:07:29 +00:00
|
|
|
|
2016-06-08 23:07:46 -07:00
|
|
|
define("THIS_PAGE",'myaccount');
|
|
|
|
define("PARENT_PAGE",'home');
|
2014-06-02 07:07:29 +00:00
|
|
|
|
2016-06-08 23:07:46 -07:00
|
|
|
require 'includes/config.inc.php';
|
|
|
|
global $db,$cbvid;
|
|
|
|
$userquery->logincheck();
|
2014-06-02 07:07:29 +00:00
|
|
|
|
2016-06-08 23:07:46 -07:00
|
|
|
assign('user',$userquery->get_user_details(userid()));
|
|
|
|
$videos = $userquery->get_user_vids(userid(),false,false,true);
|
|
|
|
assign('videos',$videos);
|
2014-07-07 08:31:36 +00:00
|
|
|
|
2014-04-01 05:31:53 +00:00
|
|
|
$result_array['limit'] = $get_limit;
|
2016-06-08 23:07:46 -07:00
|
|
|
$result_array['user'] = $udetails["userid"];
|
|
|
|
$get_limit = create_query_limit($page,5);
|
|
|
|
$videos = $cbvid->action->get_flagged_objects($get_limit);
|
|
|
|
Assign('flagedVideos', $videos);
|
2014-04-01 05:31:53 +00:00
|
|
|
|
|
|
|
$result_array['limit'] = $get_limit;
|
|
|
|
$result_array['user'] = $udetails["userid"];
|
2016-06-08 23:07:46 -07:00
|
|
|
$get_limit = create_query_limit($page,5);
|
|
|
|
$photos = $cbphoto->action->get_flagged_objects($get_limit);
|
|
|
|
assign('flagedPhotos', $photos);
|
2014-04-01 05:31:53 +00:00
|
|
|
|
|
|
|
|
2016-06-08 23:07:46 -07:00
|
|
|
if(isset($_GET['delete_video'])) {
|
|
|
|
$video = mysql_clean($_GET['delete_video']);
|
|
|
|
$cbvideo->delete_video($video);
|
2014-04-01 05:31:53 +00:00
|
|
|
}
|
|
|
|
|
2016-06-08 23:07:46 -07:00
|
|
|
subtitle(lang("my_account"));
|
|
|
|
template_files('myaccount.html');
|
|
|
|
display_it();
|
2014-04-01 05:31:53 +00:00
|
|
|
|
2013-10-07 12:17:06 +00:00
|
|
|
?>
|