include_partial('study/StudySearch', array('framenum' => $framenum)); ?> </div> <div class="col-box col-tbar"> <h2>My Stories</h2> <span class="q">»</span> <?php echo link_to('All my stories', 'study/mystories'); ?> </div> <div class="col-box col-tbar study-restudy"> <h2>Restudy Kanji</h2> <?php if ($learnedCount = LearnedKanjiPeer::getCount($_user->getUserId())) { ?> <p class="set"> <em><?php echo $learnedCount; ?> </em> learned<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' => 'type=relearned')); ?> <?php echo link_to('Clear', 'study/clear', array('class' => 'cancel')); ?> </span>