Пример #1
0
			<span class="btn">
				<?php 
    echo link_to('<img src="/images/2.0/study/review-small.gif" alt="Review" width="56" height="19" />', '@review', array('query_string' => 'type=relearned'));
    ?>
&nbsp;&nbsp;
				<?php 
    echo link_to('Clear', 'study/clear', array('class' => 'cancel'));
    ?>
			</span>
		</p>
<?php 
}
?>

<?php 
if ($restudyCount = ReviewsPeer::getRestudyKanjiCount($_user->getUserId())) {
    ?>
		<p class="set">
			<em><?php 
    echo $restudyCount;
    ?>
</em> to restudy<br/>
			<span class="btn">
				<?php 
    echo link_to('<img src="/images/2.0/study/review-small.gif" alt="Review" width="56" height="19" />', '@review', array('query_string' => 'box=1'));
    ?>
			</span>
		</p>

		<div class="failed-kanji">