Exemplo n.º 1
0
                                                        <span class="download"><a href="<?php 
            echo site_url("download/" . $playlistItem["atasament_id"]);
            ?>
" style="padding-left:2px; margin-left: 2px;"><img src="<?php 
            echo IMAGES_PATH;
            ?>
/player-audio/download.png" /></a></span>
                                                        <span class="durata"> <?php 
            echo sec2hms($playlistItem["durata"]);
            ?>
</span>
                                                       <?php 
            if ($playlistItem["data"] != 00 - 00 - 00) {
                ?>
                                                        <span class="audio_date" > <?php 
                echo prepareDateDMY($playlistItem["data"]);
                ?>
</span>
                                                        <?php 
            }
            ?>

                                                    </li>
                                                <?php 
        }
        ?>
                                            <?php 
    }
    ?>
                                            </ul>
                                        </div>
Exemplo n.º 2
0
                <div class="i_title">Următoarele transmisii live</div>
                <?php 
if ($evenimente != null) {
    ?>
                <?php 
    foreach ($evenimente as $eveniment) {
        ?>

                    <div class="i_item">
                        <div class="i_date"><?php 
        echo prepareDate($eveniment["data"]);
        ?>
</div>
                        <div class="i_details">
                           <a href="<?php 
        echo site_url('lista-evenimente') . '/' . prepareDateDMY($eveniment['data']);
        ?>
" > <div class="ii_title"><?php 
        echo $eveniment["titlu"];
        ?>
<span style="color: gray;"><?php 
        echo '  ' . $eveniment["ora_inceput"] . ' - ' . $eveniment["ora_sfarsit"];
        ?>
</span> </div></a>
                            <div class="ii_text"><?php 
        echo myTruncate($eveniment["continut"], 100, " "), ' ';
        ?>
</div>
                        </div>
                        <div class="clearLeft"></div>
                    </div>