Пример #1
0
				-->
				<div class="row"><!-- begin row -->
			<?php 
        }
        ?>

			<?php 
        // $image = $item->image ;
        // if (strpos($image, '/') === 0 ) {
        // 	$image = substr($image, 1);
        // }
        $image = AkrecipesFrontendHelper::resizeImageToCache($item->image, 'Medium');
        $recipe_url = JRoute::_(AkrecipesHelperRoute::getRecipeRoute((int) $item->id, $item->catid));
        $author_url = JRoute::_(AkrecipesHelperRoute::getAuthorRoute((int) $item->created_by));
        $canEdit = AkrecipesFrontendHelper::canEdit($item);
        $unpublished = AkrecipesFrontendHelper::getRecipeUnpublishedText($item);
        ?>
		
			<div class="blogRecipe col-md-<?php 
        echo $colspan;
        ?>
">
				<div class="thumbnail <?php 
        echo $unpublished ? ' system-unpublished ' : '';
        ?>
">
					<a href="<?php 
        echo $recipe_url;
        ?>
">
						<img src="<?php