Example #1
0
     cancelEditClient($option);
     break;
 case 'listclients':
     viewBannerClients($option);
     break;
     // BANNER EVENTS
 // BANNER EVENTS
 case 'new':
     editBanner(null, $option);
     break;
 case 'cancel':
     cancelEditBanner();
     break;
 case 'save':
 case 'resethits':
     saveBanner($task);
     break;
 case 'edit':
     editBanner($cid[0], $option);
     break;
 case 'editA':
     editBanner($id, $option);
     break;
 case 'remove':
     removeBanner($cid);
     break;
 case 'publish':
     publishBanner($cid, 1);
     break;
 case 'unpublish':
     publishBanner($cid, 0);
Example #2
0
 case "cancelclient":
     cancelEditClient($option);
     break;
 case "listclients":
     viewBannerClients($option);
     break;
     // BANNER EVENTS
 // BANNER EVENTS
 case "new":
     editBanner(null, $option);
     break;
 case "cancel":
     cancelEditBanner($option);
     break;
 case "save":
     saveBanner($option);
     break;
 case "edit":
     editBanner($cid[0], $option);
     break;
 case "remove":
     removeBanner($cid, $option);
     break;
 case "publish":
     publishBanner($cid, 1, $option);
     break;
 case "unpublish":
     publishBanner($cid, 0, $option);
     break;
 default:
     viewBanners($option);