case 'closeComplainFac':
     closeComplainFac();
     break;
     //deleteCust
 //deleteCust
 case 'deleteEmp':
     deleteEmp();
     break;
 case 'deleteStd':
     deleteStd();
     break;
 case 'deleteFac':
     deleteFac();
     break;
 case 'addEmp':
     addEmp();
     break;
 case 'addStudent':
     addStudent();
     break;
 case 'addFaculty':
     addFaculty();
     break;
 case 'editEmp':
     editEmp();
     break;
 case 'editStudent':
     editStudent();
     break;
 case 'editFaculty':
     editFaculty();
Пример #2
0
            break;
        case 'application':
            applicationHandler($_GET['value']);
            break;
        case 'category':
            categoryHandler();
            break;
        case 'categorydd':
            categoryXSHandler();
    }
} else {
    if ($_SERVER['REQUEST_METHOD'] == "POST") {
        $ptype = $_POST['ptype'];
        switch ($ptype) {
            case 'empfeed':
                echo addEmp();
                break;
        }
    }
}
function modalHandler($appID)
{
    editModal($appID);
}
function modalHandler2($appID)
{
    editlns($appID);
}
function applicationHandler($category)
{
    createAppCollection($category);