示例#1
0
            <div class="inner-slider">
                <? if ($twitterAvailable) :?>

                    <? if ($userTimeline) :?>

                        <? foreach ($userTimeline as $tweet) : ?>

                            <div class="twitter__slide">

                                <a href="http://twitter.com/<?php 
echo \Arr::get($config, 'user', 'propellercomms');
?>
" class="twitter__slide__link" target="_blank"></a>

                                <p><?php 
echo twitter::convertLinks($tweet->text);
?>
</p>

                            </div>                   

                        <? endforeach; ?>

                    <? else : ?>

                        <p>Twitter is down. Try again later.</p>

                    <? endif;?>

                <? else :?>