/***
 * extract the array into $key and $module, check $request_uri for $key.
 * if $key was found, make a response URL and put it in $response and
 * then break out
 */
/* redirect code */
while (list($key, $module) = each($check_array)) {
    $rqurl = trim(ereg_replace('("|\\?|!|:|\\.|\\(|\\)|;|\\\\)+', ' ', $REQUEST_URI));
    if (eregi($key, $rqurl)) {
        $name = $module;
    }
}
if (isset($name)) {
    $op = "modload";
    $file = "index";
    include "modules.php";
} else {
    print_details();
}
if (isset($reportlevel)) {
    switch ($reportlevel) {
        case "1":
            if (eregi($HTTP_HOST, $HTTP_REFERER)) {
                send_email();
            }
            break;
        case "2":
            send_email();
            break;
    }
}
        <script src="../../records/edit/digitizer/mapViewer.js"></script>

        <?php 
} else {
    print '<div style="font-size:0.8em">';
}
if ($bkm_ID) {
    $res = mysql_query('select * from usrBookmarks left join Records on bkm_recID=rec_ID left join defRecTypes on rec_RecTypeID=rty_ID where bkm_ID=' . $bkm_ID . ' and bkm_UGrpID=' . get_user_id() . ' and (not rec_FlagTemporary or rec_FlagTemporary is null)');
    $bibInfo = mysql_fetch_assoc($res);
    print_details($bibInfo);
} else {
    if ($rec_id) {
        $res = mysql_query('select * from Records left join defRecTypes on rec_RecTypeID=rty_ID where rec_ID=' . $rec_id . ' and not rec_FlagTemporary');
        $bibInfo = mysql_fetch_assoc($res);
        print_details($bibInfo);
    } else {
        print 'No details found';
    }
}
if ($is_map_popup) {
    print '</div>';
} else {
    ?>
        <div id=bottom><div></div></div>

    </body>
</html>
<?php 
}
/***** END OF OUTPUT *****/
Beispiel #3
0
				<li>
					<a href="bootstrap-elements.html"><span class="glyphicon glyphicon-folder-close"></span> Historique</a>
				</li>
				<?php 
if (isset($_SESSION['logged_on_user'])) {
    echo '<li><a href="./index.php?logout=1"><span class="glyphicon glyphicon-log-out"></span> Deconnexion</a></li>';
}
?>
				<hr>
				<li>
					<a href="#"><span class="glyphicon glyphicon-star"></span> Nos offres</a>
				</li>
			</ul>
		<!-- /.navbar-collapse -->
	</aside>
	<section class="col-md-9 details">
		<div class="row">
			<?php 
include "./functions/bdd.php";
?>
			<?php 
print_details($bdd);
mysqli_close($bdd);
?>
		</div>
	</section>
		</div>
	</div>
</body>
</html>