Example #1
0
 case "addreview":
     addreview($link_id, $option);
     break;
     /* Ratings */
 /* Ratings */
 case "rate":
     rate($link_id, $option);
     break;
 case "addrating":
     addrating($link_id, $option);
     break;
     /* Favourite */
 /* Favourite */
 case "fav":
     $action = JRequest::getInt('action', 1);
     fav($link_id, $action, $option);
     break;
     /* Vote review */
 /* Vote review */
 case 'votereview':
     $rev_vote = JRequest::getInt('vote', 0);
     $rev_id = JRequest::getInt('rev_id', 0);
     votereview($rev_id, $rev_vote, $option);
     break;
     /* Report review */
 /* Report review */
 case "reportreview":
     $rev_id = JRequest::getInt('rev_id', 0);
     reportreview($rev_id, $option);
     break;
 case "send_reportreview":
Example #2
0
    echo '</div>';
    ?>
<br><div class="heureka-163376503"> <div class="heureka3-content"> <div style="float: left; border: 1px solid #E2E2E2; margin: 0 15px 0 0; padding: 0; width: 50px; height: 50px;"><a href="http://grafika-a-design.heureka.sk/adobe-creative-suite-6-photoshop-extended-win-cz-dvd-pack/#c971:3" class="heureka-image-163376503"> </a></div> <div style="margin: 0; padding: 0; line-height: 1.2em;color:#888;"> <a href="http://grafika-a-design.heureka.sk/adobe-creative-suite-6-photoshop-extended-win-cz-dvd-pack/#c971:3" target="_blank">Adobe Creative Suite 6 Photoshop Extended WIN CZ DVD Pack</a> môžete kúpiť v <span class="heureka-shops-163376503"> </span> e-shopoch za cenu od <span class="heureka-price-163376503"> </span> <small>(Zdroj: Heureka.sk)</small><br /> <a href="http://grafika-a-design.heureka.sk/adobe-creative-suite-6-photoshop-extended-win-cz-dvd-pack/#c971:3" target="_blank">Porovnať ceny >></a> </div> </div> <div style="clear: both;"></div> </div> <script type="text/javascript" src="http://www.heureka.sk/direct/bannery/?id=16337650:3:971"></script><br><br>
<?php 
    $tags = explode(",", $datacla["article_target"]);
    echo '
<div class="row">
    <div class="col-sm-7">
';
    echo '<div class="tagy">';
    for ($i = 0; $i < count($tags); $i++) {
        echo " <a href='/vyhladavanie?i=" . urlencode(trim($tags[$i])) . "' class='btn btn-default btn-sm'>" . trim($tags[$i]) . "</a>";
    }
    echo '</div>';
    echo '
    </div>
    <div class="col-sm-5 text-right">
    <div>' . fav($datacla["article_id"]) . '</div>
    </div>
</div>
';
    if ($deaktivate) {
        dbquery("UPDATE bg_articles SET article_reads=article_reads+1 WHERE article_id='" . $datacla["article_id"] . "'");
    }
} else {
    redirect("/");
}
if ($deaktivate) {
    komentare($datacla["article_id"]);
}
require "inc/footer.php";
Example #3
0
<?php
require 'header.php';
$lt = 8;

$cur = isset($_GET['p']) ? $_GET['p'] : 1;
$ob = isset($_GET['ob']) ? $_GET['ob'] : 'latest';
$data = fav(($cur - 1) * $lt, $lt);
//print_r($data);
//print_r($data); 
//$recent = recentVideo(0, 4);
$pagination = range(1, $data->tr, $lt);
$totalPage = floor($data->tr / $lt) + 1;
?>
<div class="container row">
    <div class="sixteen columns left">
        <h1 class="heading">Your favorite Videos</h1>
        <!-- Album Detail Start -->
        <div class="in-sec nopad-bot">
            <div id="tab-rock">
                <ul class="prod-list ">
                    <?php foreach ($data->result as $value) { ?>
                        <li>
                            <a href="<?=getLink($value->id, $value->price) ?>" class="thumb">
                                <img src="<?= $value->thumbs->small ?>" alt=""><span>&nbsp;</span></a>
                            <h4 class="title"><a href="<?=getLink($value->id, $value->price) ?>"><?=$value->title?></a></h4>
                            <!--<div class="prod-opts">
                                <h6>BUY NOW</h6>
                                <a href="#" class="amazon">&nbsp;<span>Amazon</span></a>
                                <a href="#" class="apple">&nbsp;<span>ITUNES</span></a>
                                <a href="#" class="grooveshark">&nbsp;<span>GrooveShark</span></a>
                                <a href="#" class="soundcloud">&nbsp;<span>SoundCloud</span></a>