Esempio n. 1
0
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) {
            return;
        }
        js = d.createElement(s);
        js.id = id;
        js.src = "//connect.facebook.net/fr_FR/sdk.js";
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
</script>

<!-- Bannière & Title -->
<?php 
$contestObj = new contestModel();
$contestObj->getOneByActive(true);
$title = $contestObj->getTitle();
$description = $contestObj->getDescription();
$id_contest = $contestObj->getId();
$banner = $contestObj->getBanner();
$color = $contestObj->getColorTheme();
$_SESSION['color'] = $color;
$_SESSION['idContest'] = $idContest;
$priceObj1 = new priceModel();
$priceObj1->getAll(true);
$priceCountObj = new priceModel();
$nbPrice = $priceCountObj->countRow();
if (!empty($id_contest)) {
    ?>


    <div id="banner" class="container-fluid" style="background: url(<?php