Exemplo n.º 1
0
if (isset($_POST['action']) && $_POST['action'] == 'speaker_modal_next') {
    $the_main = new speakers\speakers_main();
    $tag = $the_main->id_tag_convert($_POST['speaker_id']);
    if (isset($tag)) {
        $result = $the_main->speaker_modals($tag, $_POST['size']);
        if (isset($result)) {
            echo $result;
        }
    }
}
// new sponsor
/*///////////// 
Display Sponsor Modal
///////////////*/
if (isset($_POST['action']) && $_POST['action'] == 'sponsor_modal') {
    $the_main = new sponsors\sponsors_main();
    $result = $the_main->sponsors_modal($_POST['sponsor_id'], $_POST['sponsor_mode']);
    if (isset($result)) {
        echo $result;
    }
}
/*///////////// 
Display Agenda Modal
///////////////*/
if (isset($_POST['action']) && $_POST['action'] == 'agenda_session_modal') {
    $the_main = new agenda\agenda_main();
    $result = $the_main->agenda_session_modal($_POST['category'], $_POST['day'], $_POST['agenda_id']);
    if (isset($result)) {
        echo $result;
    }
}
Exemplo n.º 2
0
<?php

use HRNParis\main;
use HRNParis\sponsors;
if (!isset($_SESSION['user'])) {
    require_once 'login.php';
} else {
    include_once 'controllers/main.php';
    include_once 'controllers/sponsors_main.php';
    $main = new main\main();
    $sponsors = new sponsors\sponsors_main();
    $content = '
	   <!--Jquery-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  
<link href="css/admin_general.css" rel="stylesheet">
<link rel="stylesheet" href="css/admin_index.css" />


<link rel="stylesheet" href="../css/sponsors-grid.css" />
<link rel="stylesheet" href="css/admin_sponsor_tags.css" />
<script src="js/admin_sponsors_tags.js"></script>


</head>
<body>
  <!--Main Wrapper-->
	<div class="wrapper">
	  <h1 class="WrapperMainH1">HR Tech Europe - Paris 2015 | Modify Sponsor Permission</h1>
	  	        <div id="MenuIconContainer">';
    $content .= '</div>