} ?> </div> <?php } ?> <div class="social_share"> <?php if ($this->params->get('show_social_share')) { Bt_portfolioHelper::getSocialShare($this->params->get('social_share_buttons')); } ?> <?php if ($this->params->get('show_print')) { echo Bt_portfolioHelper::getPrintButton(1, $this->item->id); } ?> </div> <div class="clr"></div> </div><!-- end vote-social-share --> <br clear="all"> <?php if (count($this->images)) { ?> <div class="btp-slideshow"> <div class="box_skitter box_skitter_large"> <ul> <?php foreach ($this->images as $image) { $src_image_large = Bt_portfolioHelper::getPathImage($image->item_id, 'large', $image->filename, $this->category->id);
$comment[$i] .= '<div class="in-content-comment">'; $comment[$i] .= '<div class="comment-info">'; $comment[$i] .= '<span class="comment-author">' . $item->name . '</span>'; $comment[$i] .= '<span class="comment-created">' . JText::sprintf('COM_BT_PORTFOLIO_CREATED_ON', JHtml::_('date', $item->created, JText::_('F d, Y')), JHTML::_('date', $item->created, JText::_('g:i a'))) . '</span>'; $comment[$i] .= '</div>'; if ($this->params->get('show_title')) { $comment[$i] .= '<div class="comment-title"> ' . $item->title . '</div>'; } $comment[$i] .= '<div class="btp-comment-item-content">' . htmlspecialchars($item->content) . '</div>'; $comment[$i] .= '</div>'; $comment[$i] .= '</div>'; $comment[$i] .= '</div>'; $comment[$i] .= '</div>'; $comment[$i] .= '<div class="clr"></div>'; } $print_button = Bt_portfolioHelper::getPrintButton(0, $this->item->id); // Process layout $html = $print_button . $this->params->get('printing_layout'); $array_key = array('{PORTFOLIO_TITLE}', '{REVIEW_SUMMARY}', '{PORTFOLIO_IMAGE}', '{EXTRA_FIELDS}', '{DESCRIPTION}', '{COMMENT_1}', '{COMMENT_2}', '{COMMENT_3}', '{COMMENT_4}', '{COMMENT_5}'); $array_text = array(); $array_text[] = $this->item->title; $array_text[] = $review_summary; $array_text[] = '<img src="' . $default_image . '" />'; $array_text[] = $extra_fields; $array_text[] = $this->item->full_description; $array_text[] = $comment[1]; $array_text[] = $comment[2]; $array_text[] = $comment[3]; $array_text[] = $comment[4]; $array_text[] = $comment[5]; $html = str_replace($array_key, $array_text, $html);