web/semanticboard.php
author Raphael Velt <raph.velt@gmail.com>
Fri, 20 Jan 2012 13:01:01 +0100
changeset 489 a543cdb3cc79
parent 469 99d105834315
child 1427 8b3d57a519eb
permissions -rw-r--r--
Meetup Web of Data 20.01.2012

<?php

if(!isset($_REQUEST['rep'])) {
    include_once dirname(__FILE__).'/common.php';
    header('Location: ' . URL_ROOT . "$C_default_rep/client.php" );
    exit();
}

$rep = $_REQUEST['rep'];
include_once dirname(__FILE__).'/'.$rep.'/config.php';

include_once 'common.php';


$head_logo = URL_ROOT."$rep/images/head_logo.gif";
if($translate->_('config__head_logo') != 'config__head_logo' && $translate->_('config__head_logo') != null ) {
    $head_logo = URL_ROOT."$rep/".$translate->_('config__head_logo');
}

    $issmall = (isset($_REQUEST['small']) && $_REQUEST['small']);
    $theme = (isset($_REQUEST['theme']) ? $_REQUEST['theme'] : 'nuit' );
?>
<!DOCTYPE html>
<html lang="fr">
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>Sweet Tweet</title>
        <link rel="stylesheet" type="text/css" href="<?php echo(registry_url('semanticboard','css'))?>" />
        <script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script>
        <script type="text/javascript" src="<?php echo(registry_url('underscore','js'))?>"></script>
        <script type="text/javascript">
            var mdpSource = <?php echo (isset($_REQUEST['metadata'])) ? $_REQUEST['metadata'] : 'false'; ?>;
            <?php echo $config['js_config']; ?>
        </script>
        <script type="text/javascript" src="<?php echo(registry_url('semanticboard','js'))?>">"></script>
    </head>
    <body class="<?php echo $theme.($issmall ? " small" : ""); ?>">
        <div id="container">
<?php
    if (!$issmall) {
?>
            <div id="tweetcont"></div>
            <img id="ptimg" src="../res/css/twcx-img/pt_logo.gif" />
<?php
    }
?>
            <div id="columncont"></div>
<?php
    if (!$issmall) {
?>
            <div id="logos">
                <img class="fl" src="<?php echo $head_logo; ?>" />
                <img class="fr" src="../res/css/twcx-img/logo_iri.png" />
            </div>
<?php
    }
?>
        </div>
    </body>
</html>