예제 #1
0
파일: ajax.php 프로젝트: HRNIT/paris2015
}
// speaker order
/*///////////// 
Speaker mainpage bio edit
///////////////*/
if (isset($_POST['action']) && $_POST['action'] == 'edit_mainpage_speaker_bio') {
    $the_main = new main\main();
    $the_main->speaker_mainpage_bio();
}
// speaker order
/*///////////// 
Main page display
///////////////*/
if (isset($_POST['action']) && $_POST['action'] == 'speakers_mainpage' && isset($_POST['sId']) && isset($_POST['val'])) {
    $the_main = new main\main();
    $the_main->speakers_mainpage($_POST['sId'], $_POST['val']);
}
// delete sponsors permission
/*
**************************
Press
***************************
*/
/*///////////// 
Add new Press member
///////////////*/
if (isset($_POST['action']) && $_POST['action'] == 'add_new_press') {
    $the_main = new main\main();
    $result = $the_main->save_press();
    if (isset($result)) {
        $_SESSION['Result'] = 'Success';