clipbucket/upload/admin_area/ads_manager.php
Arslan Hassan 3ae9a56773 ADDED:New Player System
ADDED:Live Player Size Editor
ADDED:JQUERYUI
UPDATED:ADS SYSTEM
REMOVED :Unwanted JS files
Added : ClipBucket Modules as Plugins
Added : Jwplayer,ClipBucket and flowplayer
2009-10-03 10:38:28 +00:00

41 lines
No EOL
834 B
PHP

<?php
/*
***************************************************************
| Copyright (c) 2007-2009 Clip-Bucket.com. All rights reserved.
| @ Author : ArslanHassan
| @ Software : ClipBucket , © PHPBucket.com
***************************************************************
*/
require'../includes/admin_config.php';
$userquery->login_check('admin_access');
$pages->page_redir();
//Adding
if(isset($_POST['add']))
{
$adsObj->AddAd();
}
//Adding
if(isset($_POST['update']))
{
$adsObj->EditAd($_POST['ad_id']);
}
//Editing Ad
if(isset($_GET['ad_id']))
{
$ad_id = mysql_clean($_GET['ad_id']);
$ad_data = $adsObj->get_ad_details($ad_id);
if(!$ad_data)
e("Ad does not exist");
else
assign('ad_data',$ad_data);
}
template_files('ads_manager.html');
display_it();
?>