Exemple #1
0
">
            <div class="visual-sections">
                <div class="visual-section">
                    <div class="title-visual-sections razee-title clearfix">
                        <span class="pos-left"><?php 
        echo Html::encode($obj['title']);
        ?>
</span>
                        <span  class="pos-right">By: <?php 
        echo Html::a($obj['name1'], ['/user/profile/show', 'id' => $obj['uid']]);
        ?>
</span>
                    </div> <!--.title-visual-sections -->
                    <div class="visual-person">
                        <?php 
        echo ZiggeoHelper::getImage($obj['id'], $obj['stream'], $obj['stream_preview'], false, "");
        ?>
                    </div>
                    <div class="info-person text-center">
                    <?php 
        $respondLink = "<a href=\"/razz/respond/" . $obj['id'] . "\" class=\"icon icon-right icon-big icon-info-person\">RESPOND</a>";
        if (isset($nonLinkable)) {
            if ($nonLinkable === true) {
                $respondLink = "";
            }
        }
        if (!$obj['responder_uid'] || isset($profile) && $obj['responder_uid'] == $profile->id) {
            echo $respondLink;
        }
        ?>
                    </div><!-- info-person  -->
Exemple #2
0
    }
    ?>
                            </ul>
                            <span class="title"><?php 
    echo Html::a($object['name1'] . ' <span class="r1">(' . $object['my_votes'] . ')</span>', ['/user/profile/show', 'id' => $object['uid']]);
    ?>
</span>

                        </div>
                        <!-- info-person  -->
                    </div>
                    <!-- visual-section  -->
                    <div class="visual-section">
                        <div class="visual-person">
                            <?php 
    echo ZiggeoHelper::getImage($object['id'], $object['responder_stream'], $object['responder_stream_preview'], true, "video-preview", true);
    ?>
                        </div>
                        <div class="info-person" id="r2">
                            <ul class="vote-info">
                                <li><span class="vote-info-txt <?php 
    if ($object['my_votes'] == $object['responder_votes']) {
        if ($object['my_votes'] == 0) {
            echo "empty";
        }
    }
    ?>
">
                                        <?php 
    if ($object['my_votes'] < $object['responder_votes']) {
        echo 'WINNING :)';