// SYSTEM PANEL //
[ROOT]
/
home
/
salvufkx
/
homedir
/
public_html
/
wp-content
/
plugins
/
photo-gallery
/
admin
/
controllers
[ PARENT ]
EDIT :: BWGControllerLicensing_bwg.php
<?php class BWGControllerLicensing_bwg { //////////////////////////////////////////////////////////////////////////////////////// // Events // //////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////// // Constants // //////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////// // Variables // //////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////// // Constructor & Destructor // //////////////////////////////////////////////////////////////////////////////////////// public function __construct() { } //////////////////////////////////////////////////////////////////////////////////////// // Public Methods // //////////////////////////////////////////////////////////////////////////////////////// public function execute() { $task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : ''); if($task != ''){ if(!WDWLibrary::verify_nonce('licensing_bwg')){ die('Sorry, your nonce did not verify.'); } } if (method_exists($this, $task)) { $this->$task($id); } else { $this->display(); } } public function display() { require_once WD_BWG_DIR . "/admin/models/BWGModelLicensing_bwg.php"; $model = new BWGModelLicensing_bwg(); require_once WD_BWG_DIR . "/admin/views/BWGViewLicensing_bwg.php"; $view = new BWGViewLicensing_bwg($model); $view->display(); } //////////////////////////////////////////////////////////////////////////////////////// // Getters & Setters // //////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////// // Private Methods // //////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////// // Listeners // //////////////////////////////////////////////////////////////////////////////////////// }
SAVE
CANCEL