define( array( struktura => "content.tpl" ) ); include("$DOCUMENT_ROOT/adm/admin.cfg"); include("$DOCUMENT_ROOT/adm/base.inc"); include("$DOCUMENT_ROOT/adm/tables_names.cfg"); include ("$DOCUMENT_ROOT/_show_tpl/main/mainmenu.php3"); include ("$DOCUMENT_ROOT/_show_tpl/main/anonsfiles.php3"); include ("$DOCUMENT_ROOT/_show_tpl/main/frontnews.php3"); include ("$DOCUMENT_ROOT/_show_tpl/main/specialnews.php3"); include ("$DOCUMENT_ROOT/_show_tpl/main/mainpagetext.html"); include ("$DOCUMENT_ROOT/_show_tpl/main/mainpagepretext.html"); include ("$DOCUMENT_ROOT/_show_tpl/global/personal_manager.html"); include ("$DOCUMENT_ROOT/_show_tpl/global/usefull_info.html"); include ("$DOCUMENT_ROOT/_f/mainfunctions.html"); include ("$DOCUMENT_ROOT/_f/shopping/index.php"); // Технологическая заглушка $id=15; $g_level=1; $pg_id=1; $parent_group=$pg_id; $group_level=$g_level; $curr_group=$id; $dis=open_mobile; $dis_global=$dis; if ($dis!='') { $dis="block"; } else { $dis="none"; } connect(); $tree = new ShopGroups; $tree->id = 0; $tree->pg_id='0'; $tree->g_name=untitled; $tree->g_level=0; $tree->childs=0; $tree->TBL_st=$TBL_S_groups; $tree->server_url=$server_url; $tree->siteadmindir=$siteadmindir; $tree->dis=$dis; $tree->dis_global=$dis_global; // Show All Tree $menu.=$tree->PrepareTree(); $tpl->assign( array( BASEHREF => "http://$SERVER_NAME/", TITLE => "$server_name", COPYRIGHT => "$server_name", MENU=>"$mainmenu", NEWS=>"$frontnews", PHONE => "$phone_number", PHONEPREFIX => "$phone_prefix", TOPNEWS=>"$specialnews", ANONSFILES=>"$anonsfiles", CONTENT=>"$content", MAINPAGEPRETEXT=>"$mainpagepretext", MAINPAGETEXT=>"$mainpagetext" ) ); $tpl->parse(STRUKTURA, "struktura"); $tpl->FastPrint(); exit; ?>