Initial commit
This commit is contained in:
19
www/client/plugins/contact/contact_admin.php
Normal file
19
www/client/plugins/contact/contact_admin.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
include_once(realpath(dirname(__FILE__)) . "/../../../fonctions/authplugins.php");
|
||||
autorisation("contact");
|
||||
|
||||
if(isset($_REQUEST["vue"])) $vue = $_REQUEST["vue"];
|
||||
else $vue = "";
|
||||
|
||||
|
||||
switch($vue){
|
||||
case "view":
|
||||
include_once(realpath(dirname(__FILE__)) . "/view.php");
|
||||
break;
|
||||
default:
|
||||
include_once(realpath(dirname(__FILE__)) . "/listing.php");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user