Пример #1
0
    $contestId = $fetchContests['id'];
    ?>
            
            <div class="col-lg-12">
                <div class="row">
                    <div class="panel panel-success">
                        <div class="panel-heading">                           
                            <p class="pull-right" style="margin-top: 0px;"><em>End date :<?php 
    echo getContestField('end_date', $contestId);
    ?>
</em></p>
                            <h1 class="panel-title"><?php 
    echo getContestField('contestname', $contestId);
    ?>
<small style="margin-left: 10px;color:#000;"><em><?php 
    echo getContestField('description', $contestId);
    ?>
</em></small></h1>                            
                        </div>
                        <div class="panel-body">
                           
                        <?php 
    $select = mysql_query("select * from tblvideo WHERE aprove='yes' AND contestid='{$contestId}' ORDER BY add_date DESC Limit 8");
    while ($fetch1 = mysql_fetch_array($select)) {
        $videoId = $fetch1['id'];
        $video = $fetch1['name'];
        $videoUrl = $fetch1['videourl'];
        $videoType = $fetch1['type'];
        $videoTitle = $fetch1['title'];
        $videoDescription = $fetch1['description'];
        $videoPostDate = $fetch1['add_date'];
Пример #2
0
    ?>
">
                <div class="col-lg-12">
                    <div class="page-header" id="banner">
                        <div class="row">
                            <div class="col-lg-6">
                                <h2><?php 
    echo getContestField('contestname', $contestId);
    ?>
</h2>                            
                                <p class=""><?php 
    echo getContestField('description', $contestId);
    ?>
</p>
                                <p class=""><em>End date :<?php 
    echo getContestField('end_date', $contestId);
    ?>
</em></p>
                            </div>
                            <div class="col-lg-6" style="padding: 15px 15px 0 15px;">
                                <h2 style="color: red;"><p id="timeDisplay" class="countDown pull-right"></p></h2>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-lg-12">
                    <div class="row">

                        <div class="panel panel-default">
                            <div class="panel-heading">