| | |
| | | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| | | */ |
| | | |
| | | require_once('../../lib/config.inc.php'); |
| | | require_once('../../lib/app.inc.php'); |
| | | require_once '../../lib/config.inc.php'; |
| | | require_once '../../lib/app.inc.php'; |
| | | |
| | | /****************************************** |
| | | * Begin Form configuration |
| | |
| | | * End Form configuration |
| | | ******************************************/ |
| | | |
| | | // Checking module permissions |
| | | if(!stristr($_SESSION["s"]["user"]["modules"],'sites')) { |
| | | header("Location: ../index.php"); |
| | | exit; |
| | | //* Check permissions for module |
| | | $app->auth->check_module_permissions('sites'); |
| | | |
| | | $app->load('listform_actions'); |
| | | |
| | | |
| | | class list_action extends listform_actions { |
| | | |
| | | } |
| | | |
| | | $app->uses('listform_actions'); |
| | | $list = new list_action; |
| | | $list->SQLExtWhere = "web_domain.type = 'vhost' AND web_domain.parent_domain_id = '0'"; |
| | | $list->SQLOrderBy = 'ORDER BY web_domain.domain'; |
| | | $list->onLoad(); |
| | | |
| | | // Limit the results to alias domains |
| | | // $app->listform_actions->SQLExtWhere = "type = 'local'"; |
| | | |
| | | $app->listform_actions->onLoad(); |
| | | |
| | | |
| | | ?> |
| | | ?> |