if (!defined('WEBPATH')) include $_SERVER['DOCUMENT_ROOT'].'/system/default.php'; $path = isset($_GET['path']) ? $_GET['path'] : ""; $path = explode('/',$path); $tmp=array();$catid=0; $cat_item=array(); $product_item=array(); $itemid = 0; $page=0; $blog = new Blog(); $Template = new Common_Template('Default'); $blog_id = Tools_Http::Get ('blog_id',true); if($blog_id) { $blog_item = $blog->getItem($blog_id); define ('blog_id', $blog_id); $Template->title= $L->StrT('blog_pages','title', $blog_item['id'], $blog_item['title']); } else { $Template->title= $L->Str('blog'); } $Template->OutputHtml(); $Template->OutputHead(); ?>
include PLUGINPATH . 'leftMenu.php'; echo $m_return; include PLUGINPATH . 'newProducts.php'; echo $m_return; ?> | if ($blog_id) { include PLUGINPATH . 'blogPath.php'; include PLUGINPATH . 'blogOpen.php'; echo $m_return; } else { include PLUGINPATH . 'blogListing.php'; echo $m_return; } ?> | // include PLUGINPATH . 'newProducts.php'; echo $m_return; include PLUGINPATH . 'rightColumn.php'; echo $m_return; ?> |