Beispiel #1
0
            if (isset($_GET['page']) && !empty($_GET['page']) && is_numeric($_GET['page']) && intval($_GET['page'])) {
                $page = abs(filter_var($_GET['page'], FILTER_SANITIZE_STRING));
            }
            $start = abs(($page - 1) * $item_pre_page);
            switch ($search_source) {
                case 'thesis':
                    $search_output = tpl_thesis($pdo, $data, $count[0]['count']);
                    break;
                case 'article':
                    $search_output = tpl_article($pdo, $data, $count[0]['count']);
                    break;
                case 'all':
                    $search_output = tpl_search($pdo, $data, (int) $count[0]['count'] + $count[1]['count']);
                    break;
            }
            ##SET OUTPUT##
            $paginate->init($data_count, $item_pre_page, $btn_pre_page, $page, array('template' => '<a href="{url}"><li class="tooltip" title="{info}">{number}</li></a>', 'info' => 'page {currentPage} of {totalPages}', 'currentItemTemplate' => '<a href="{url}"><li class="active tooltip" title="{info}">{number}</li></a>', 'url' => '/search/', 'urlParameters' => 'q=' . $q, 'separator' => "\n"));
            $search_output = cover($search_output, $paginate->displayLink());
        } else {
            // NOT FOUND
            $search_output = cover('<br/>Your search- <b>' . $_SESSION['save_search']['q'] . '</b> -did not match any documents<br/>', '');
            //.$query['select'].'<br/>'.print_r($search_params,true).'<br/>'.$data_count
        }
    } else {
        #New Search
        $search_output = cover('', '');
    }
    echo $search_output;
} else {
    redirect(BASE_PATH . '/', 1);
}
Beispiel #2
0
                				</li>
                			</ul>
                		</div> 
                		<?php 
if ($top_shows) {
    $i = 0;
    foreach ($top_shows as $val) {
        $i++;
        ?>
                		<div class="tv-series-single">
                			<a href="<?php 
        echo base_url();
        echo $val['permalink'];
        ?>
" class="film-image"><img data-load-image="<?php 
        echo cover($val['permalink']);
        ?>
" src="<?php 
        echo img_loader();
        ?>
" alt=""></a>
                			<div class="tss-detail">
                				<a class="title" style="<?php 
        if ($i > 9) {
            ?>
padding-left: 45px;<?php 
        }
        ?>
" href="<?php 
        echo base_url();
        echo $val['permalink'];
Beispiel #3
0
?>
                        </ul>
                    </div>
                    <div class="global-box">
                        <h3 class="title"><span class="orange">bizim çok sevdiklerimiz.</span></h3>
                        <ul class="tv-series-four">
                            <?php 
foreach ($featured_series as $row) {
    ?>
                            <li>
                                <a href="<?php 
    echo base_url($row['permalink']);
    ?>
">
                                    <img data-load-image="<?php 
    echo cover($row['permalink']);
    ?>
" src="<?php 
    echo img_loader();
    ?>
" alt="">
                                    <span class="title"><?php 
    echo $row['title'];
    ?>
</span>
                                    <span class="alt-title"><?php 
    echo tag_sirala($row['tags'], $x = 2);
    ?>
</span>
                                </a>
                            </li>
Beispiel #4
0
                <div class="right-inner">
                    <div class="tv-series-profile-head">
                        <div class="tv-series-image" style="position: relative">
                            <img data-load-image="<?php 
echo cover($series['permalink']);
?>
" src="<?php 
echo img_loader();
?>
" alt="">
                            <div style="position: absolute; bottom: 12px; left: 11px; width: 194px; line-height: 18px; padding: 10px; text-align: center; background: rgba(0,0,0,.8); font-weight: bold; font-size: 14px;">
                                <?php 
if ($series['type'] == 1) {
    ?>
                                <span style="color: rgb(231, 189, 98)">Devam Ediyor</span>
                                <?php 
} elseif ($series['type'] == 2) {
    ?>
                                <span style="color: rgb(98, 137, 240)">Sezon Finali Yaptı</span>
                                <?php 
} elseif ($series['type'] == 3) {
    ?>
                                <span style="color: rgb(92, 203, 131)">Final Yaptı</span>
                                <?php 
} elseif ($series['type'] == 4) {
    ?>
                                <span style="color: rgb(219, 72, 72)">İptal Edildi!</span>
                                <?php 
}
?>
                            </div>
Beispiel #5
0
?>

<?php 
$uploadSizeLimit = ini_get('upload_max_filesize');
?>

<h3><?php 
echo @text('LIB-AN-COVER-EDIT');
?>
</h3>

<?php 
if ($item->coverSet()) {
    ?>
<p><?php 
    echo @cover($item, 'medium', false);
    ?>
</p>
<?php 
}
?>
    
<p class="lead"><?php 
echo sprintf(@text('LIB-AN-COVER-SELECT-IMAGE-ON-YOUR-COMPUTER'), $uploadSizeLimit, 1600);
?>
</p>   
    
<form id="actor-cover" action="<?php 
echo @route($item->getURL() . '&edit=cover');
?>
" method="post" enctype="multipart/form-data">
Beispiel #6
0
                <div class="right-inner">
                    <div class="tv-series-profile-head">
                        <div class="tv-series-image" style="position: relative">
                            <img data-load-image="<?php 
echo cover($show['permalink']);
?>
" src="<?php 
echo img_loader();
?>
" alt="">
                            <div style="position: absolute; bottom: 12px; left: 11px; width: 194px; line-height: 18px; padding: 10px; text-align: center; background: rgba(0,0,0,.8); font-weight: bold; font-size: 14px;">
                                <?php 
if ($show['type'] == 1) {
    ?>
                                <span style="color: rgb(231, 189, 98)">Devam Ediyor</span>
                                <?php 
} elseif ($show['type'] == 2) {
    ?>
                                <span style="color: rgb(98, 137, 240)">Sezon Finali Yaptı</span>
                                <?php 
} elseif ($show['type'] == 3) {
    ?>
                                <span style="color: rgb(92, 203, 131)">Final Yaptı</span>
                                <?php 
} elseif ($show['type'] == 4) {
    ?>
                                <span style="color: rgb(219, 72, 72)">İptal Edildi!</span>
                                <?php 
}
?>
                            </div>
Beispiel #7
0
            label: "İngilizce"
        }],
        <?php 
}
?>
        
    //    tracks: subtitle,
        skin: 'glow',
        captions: {
            color: '#fff',
            backgroundOpacity: 0,
            fontSize: 25,
            edgeStyle: 'uniform'
        },
        image: '<?php 
echo cover($ep['permalink']);
?>
',
        <?php 
echo $ep['embed'];
?>
    });
    jwplayer("player").setVolume(70);
    var jwp = jwplayer('player');
    jwp.onPlay(function() {  
        if(jwplayer.utils.isIOS()){
            var oVid = jwp.container.getElementsByTagName("video")[0];
            if(oVid){  
                var oTracks = oVid.getElementsByTagName("track");  
                if(oTracks){
                    for(var tr=oTracks.length,tre=0; tr>=tre; tr--){  
Beispiel #8
0
<?php

defined('KOOWA') or die('Restricted access');
?>

<data name="title">
<?php 
echo sprintf(@text('COM-STORIES-TITLE-UPDATE-COVER'), @name($subject));
?>
</data>

<data name="body">
    <?php 
echo @cover($target, 'medium');
?>
</data>