
ADDED:Live Player Size Editor ADDED:JQUERYUI UPDATED:ADS SYSTEM REMOVED :Unwanted JS files Added : ClipBucket Modules as Plugins Added : Jwplayer,ClipBucket and flowplayer
50 lines
No EOL
1.2 KiB
PHP
50 lines
No EOL
1.2 KiB
PHP
<?php
|
|
/*
|
|
*******************************************
|
|
| Copyright (c) 2007-2009 Clip-Bucket.com & (Arslan Hassan). All rights reserved.
|
|
| @ Author : ArslanHassan
|
|
| @ Software : ClipBucket , © PHPBucket.com
|
|
*******************************************
|
|
*/
|
|
|
|
require_once '../includes/admin_config.php';
|
|
$userquery->login_check('admin_access');
|
|
$pages->page_redir();
|
|
|
|
|
|
//Form Processing
|
|
if(isset($_POST['add_cateogry'])){
|
|
$cbvid->add_category($_POST);
|
|
}
|
|
|
|
//Making Categoyr as Default
|
|
if(isset($_GET['make_default']))
|
|
{
|
|
$cid = mysql_clean($_GET['make_default']);
|
|
$cbvid->make_default_category($cid);
|
|
}
|
|
|
|
//Edit Categoty
|
|
if(isset($_GET['category'])){
|
|
assign("edit_category","show");
|
|
if(isset($_POST['update_category']))
|
|
{
|
|
$cbvid->update_category($_POST);
|
|
}
|
|
assign('cat_details',$cbvid->get_category($_GET['category']));
|
|
}
|
|
|
|
//Delete Category
|
|
if(isset($_GET['delete_category'])){
|
|
$cbvid->delete_category($_GET['delete_category']);
|
|
}
|
|
|
|
//Assing Category Values
|
|
assign('category',$cbvid->get_categories());
|
|
assign('total',$cbvid->total_categories());
|
|
|
|
Assign('msg',@$msg);
|
|
template_files('category.html');
|
|
display_it();
|
|
|
|
?>
|