|
|
@ -7,8 +7,13 @@ class controllerAdmin {
|
|
|
|
session_start();
|
|
|
|
session_start();
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (in_array("action",$_REQUEST)) {
|
|
|
|
|
|
|
|
$action = $_REQUEST['action'];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else {
|
|
|
|
|
|
|
|
$action = "";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$action=$_REQUEST['action'];
|
|
|
|
|
|
|
|
switch($action) {
|
|
|
|
switch($action) {
|
|
|
|
case "ajoutSource":
|
|
|
|
case "ajoutSource":
|
|
|
|
$this->ajoutSource($_REQUEST["linkSource"]);
|
|
|
|
$this->ajoutSource($_REQUEST["linkSource"]);
|
|
|
|