*/ /* * Init routine */ include "inc/init.inc.php"; /* * Defining the pages */ $pages = array("get_content_details"); /* * Controller routines */ $id_content = $_GET["id_content"]; $seo = $_GET["seo"]; if ($seo != "") { $res = ShopobjectsCtl::SeoGetContentDetails($seo); } else { $res = ShopobjectsCtl::GetContentDetails($id_content); } /* * Assignments to the engine */ $tpl->assign("content_pages", $pages); $tpl->assign("res", $res); $tpl->assign("title", $res["title"]); $tpl->assign("keywords", $res["keywords"]); $tpl->assign("description", $res["description"]); $tpl->assign("img", $res["attributes"]["img1"]["value"]); /* * Output of the page */