<?php
$aOptions = SofaiBloggr::initOptions( false );
$twitter_title = ( strlen( $aOptions[ 'twitter_title' ] ) > 0 ) ? stripslashes( $aOptions[ 'twitter_title' ] ) : 'Twitter twitts';
$twitter_user = ( strlen( $aOptions[ 'twitter_user' ] ) > 0 ) ? stripslashes( $aOptions[ 'twitter_user' ] ) : 'dameer';
$twitts_number = ( strlen( $aOptions[ 'twitts_number' ] ) > 0 ) ? stripslashes( $aOptions[ 'twitts_number' ] ) : '3';
?>

<div id="twitter" class="section">
	<h2 class="sectionheader"><?php echo $twitter_title; ?></h2>
	<div class="twitterring">
    	<ol id="twitter_update_list"><li>&nbsp;</li></ol>
    	<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
    	<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/<?php echo $twitter_user; ?>.json?callback=twitterCallback2&amp;count=<?php echo $twitts_number; ?>"></script>
	</div>		
</div>
