Menu Utama </a> <!-- nama modul--> <span class="element-divider"></span> <a class="element brand" href="./"> <span class="icon-home"></span> <?php echo $modul; ?> </a> <!-- list menu --> <span class="element-divider"></span> <?php topMenu($modul); ?> <span class="element-divider place-right"></span> <div class="element place-right"> <a class="dropdown-toggle" href="#"> <?php echo $_SESSION['namaS'] . ' (' . $_SESSION['levelS'] . ')'; ?> <i class="icon-user"></i> </a> <ul class="dropdown-menu place-right" data-role="dropdown"> <li> <a href="#" > <span class="icon-cog"></span> Setting </a>
<?php include 'theme/verification.php'; include 'theme/header.php'; include 'functions/function.php'; include 'functions/functionDb.php'; include 'config.php'; include 'init.php'; ?> <div id="content" class="clearfix"> <div id="top_menu"> <?php topMenu($menu); ?> </div> <div class="content-row"> <h2>Ecco il responso da parte del server telegram: <?php // inizializzo cURL $ch = curl_init(); // imposto la URL della risorsa remota da scaricare curl_setopt($ch, CURLOPT_URL, API_URL . 'getUpdates'); // imposto che non vengano scaricati gli header curl_setopt($ch, CURLOPT_HEADER, 0); // un paio di timeout per evitare tempi troppo lunghi sul server curl_setopt($handle, CURLOPT_CONNECTTIMEOUT, 5); curl_setopt($handle, CURLOPT_TIMEOUT, 60); // eseguo la chiamata e restituisco la coda curl_exec($ch);
$out = ''; while (!$resultSet->EOF) { extract($resultSet->fields); if ($qst == $quest) { $css = "class='quest selected'"; } else { $css = "class='quest'"; } $snip = $_SESSION['snippets']; $linkText = "{$catMap[$category]}" . str_replace('TASK_', '', $qst); $out .= "<li {$css}><a href='cwb.php?quest={$qst}&stick_event_repo_id={$stick}&snippets={$snip}'>{$linkText}</a><sup style='font-size:50%'>{$weight}</sup></li>\n"; $resultSet->moveNext(); } return $out; } $out = topMenu($dbConn, $event, $quest, $stick_event_repo_id); ?> <ul> <li><strong>Scoring event <?php echo $event; ?> question <?php echo $quest; ?> </strong></li> <?php echo $out; ?> <li ><strong><a href='results.php'>results</a> </strong> oper=<?php echo $_SESSION['operator']; ?>
<html lang="en"> <head> <title>3Targeting | Dashboard</title> <?php insertHead(); ?> </head> <body> <?php topMenu(); sideBar(); ?> <div id="page-content-wrapper"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <h1>Dashboard</h1> </div> </div> </div>