use_helper('Date', 'User', 'Global', 'Question'); ?> <h1><?php echo __('answers reported as spam'); ?> </h1> <div id="answers"> <?php foreach ($answer_pager->getResults() as $answer) { ?> <div class="answer"> <h2><?php echo link_to_question($answer->getQuestion()); ?> </h2> <?php echo $answer->getHtmlBody(); ?> <div class="subtitle" style="margin-top: -8px"> <?php echo __('answered by %1% on %2%', array('%1%' => link_to_profile($answer->getUser()), '%2%' => format_date($answer->getCreatedAt(), 'f'))); ?> </div> <div class="options"> <?php include_partial('moderator/answer_options', array('answer' => $answer)); ?> </div>
<?php foreach ($questions as $question) { ?> <div class="question"> <div class="interested_block" id="block_<?php echo $question->getId(); ?> "> <?php echo include_partial('question/interested_user', array('question' => $question)); ?> </div> <h2><?php echo link_to_question($question); ?> </h2> <div class="subtitle"><?php echo __('submitted on %1%', array('%1%' => format_date($question->getCreatedAt(), 'f'))); ?> </div> <div class="question_body"> <?php echo truncate_text(strip_tags($question->getHtmlBody()), 200); ?> <?php if ($question->getTags()) { ?>