<?php if(isset($params['backend'])): ?>
<?php
		 
$dir_name = normalize_path(modules_path());

$params['is_shop'] = 1;
$posts_mod = $dir_name.DS.'content'.DS.'backend.php' ;

 include_once($posts_mod); ?>
<?php else: ?>

<div class="<?php print $config['module_class']; ?>">
  <?php
	
	$params['is_shop'] = 1;
	$params['content_type'] = 'product';
	$dir_name = normalize_path(modules_path());
	$posts_mod =  $dir_name.'posts'.DS.'admin.php';
	include($posts_mod);
   ?>
</div>
<?php endif; ?>
