Exemple #1
0
<?php

session_start();
include_once "api.php";
if (isset($_SESSION['audience_id']) && isset($_SESSION['PROJECT_ID'])) {
    if (isset($_GET['b'])) {
        $audience_id = $_SESSION['audience_id'];
        $api = new Conducttr_API($_SESSION['audience_id']);
        $api->get_message_feeds();
        $icons = $api->print_icons();
    } else {
        $audience_id = $_SESSION['audience_id'];
        $api = new Conducttr_API($_SESSION['audience_id']);
        $icons = $api->print_icons();
    }
} else {
    header('Location: index.php');
}
?>

<!doctype html>
<html lang="en" >
	<head>
		<meta charset="utf-8">
		<title> Conducttr Communicator </title>
		
		<meta name="mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<link href="css/main_communicator.css"  rel="stylesheet" type="text/css" />

		<?php