Ejemplo n.º 1
0
echo $registry['post'][0]['alt_search'];
?>
"/>
                </div>
                <div class="fix"></div>
                <br>
                <div class="post-short">
                    <?php 
if (firstSymbol($registry['post'][0]['text_short'], 1) != false) {
    ?>
                        <span><?php 
    echo firstSymbol($registry['post'][0]['text_short']);
    ?>
</span>
                        <?php 
    $short_text = preg_replace('/' . firstSymbol($registry['post'][0]['text_short']) . '/', ' ', $registry['post'][0]['text_short'], 1);
    echo $short_text;
    ?>
                    <?php 
} else {
    ?>
                        <?php 
    echo $registry['post'][0]['text_short'];
    ?>
                    <?php 
}
?>

                </div>
            </td>
            <td valign="top" align="right">
Ejemplo n.º 2
0
    ?>
    <div class="author"><span>ავტორი:</span> <span><?php 
    echo $registry['post'][0]['realname'];
    ?>
</span></div><br>

    <div class="post-short">
        <?php 
    if (firstSymbol($registry['post'][0]['text_short'], 1) != false) {
        ?>
            <span><?php 
        echo firstSymbol($registry['post'][0]['text_short']);
        ?>
</span>
            <?php 
        echo preg_replace('/' . firstSymbol($registry['post'][0]['text_short']) . '/', ' ', strip_tags($registry['post'][0]['text_short']), 1);
        ?>
        <?php 
    } else {
        ?>
            <?php 
        echo strip_tags($registry['post'][0]['text_short']);
        ?>
        <?php 
    }
    ?>
    </div>
        <div style="clear:both"></div>
    <?php 
    echo str_replace("&nbsp;", ' ', $registry['post'][0]['text']);
    ?>