Example #1
0
    ?>
">
                            <?php 
    echo $nodes[$key]->title;
    ?>
                        </a>
                    </h3>

                    <div class="a-date">
                        <?php 
    echo render_ar_date($nodes[$key]->created);
    ?>
                    </div>

                    <p><?php 
    echo render_teaser($nodes[$key], 210);
    ?>
...</p>

                    <ul class="tags">
                        <?php 
    echo get_tags($nodes[$key])['html'];
    ?>
                    </ul>
                </article>
                <hr class="line" />
                <?php 
}
?>
                </div>    
            </div>
">
                <h3 class="search-title"><?php 
    echo $n->title;
    ?>
</h3>

            </a>

            <div class="search-date"><?php 
    echo render_ar_date($n->created);
    ?>
</div>

            <p>
                <?php 
    echo render_teaser($n, 90);
    ?>
                ...
            </p>
            <?php 
    $a = get_author($n);
    ?>
            <div class="author">
                <img class="a-img" src="<?php 
    echo $a->image;
    ?>
" alt="">

                <div class="a-info">
                    <div class="a-name">
                        <?php 
            ?>

                            <div class="opinion">
                                <a href="<?php 
            echo render_href($nodes[$i]->nid);
            ?>
">
                                    <h3><?php 
            echo $nodes[$i]->title;
            ?>
</h3>
                                </a>

                                <p>
                                    <?php 
            echo render_teaser($nodes[$i], 90);
            ?>
                                    ...
                                </p>
                                <?php 
            $a = get_author($nodes[$i]);
            ?>
                                <div class="author">
                                    <img class="a-img" src="<?php 
            echo $a->image;
            ?>
" alt="">

                                    <div class="a-info">
                                        <div class="a-name">
                                            <?php 
Example #4
0
        <div class="second">
            <?php 
foreach ($opinions_author as $opinion) {
    ?>
                <h4 class="date"><?php 
    echo render_ar_date($opinion->created);
    ?>
</h4>
                <h3>
                    <a href="<?php 
    echo render_href($opinion->nid);
    ?>
"><?php 
    echo $opinion->title;
    ?>
</a>
                </h3>
                <p><?php 
    echo render_teaser($opinion, 300);
    ?>
 ...</p>
                <hr class="line" />
            <?php 
}
?>

        </div>
    </div>
</div>
</div>
Example #5
0
    $opn = $nq['opinions'][$i];
    ?>
        <div class="opinion">
            <a href="<?php 
    echo render_href($opn->nid);
    ?>
">
                <h3><?php 
    echo $opn->title;
    ?>
</h3>
            </a>

            <p>
                <?php 
    echo render_teaser($opn, 90);
    ?>
                ...
            </p>
            <?php 
    $a = get_author($opn);
    ?>
            <div class="author">
                <img class="a-img" src="<?php 
    echo $a->image;
    ?>
" alt="">

                <div class="a-info">
                    <div class="a-name">
                        <a href="<?php