コード例 #1
0
ファイル: index.php プロジェクト: phjeannine/hakoopix
        }
        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 
    echo $banner;
    ?>
) no-repeat center fixed;">