@include('inc/include1.inc.php');
if (!isset($lang)) $lang='';
if (($lang!='rus') and ($lang!='it')) $lang = '';
@include('inc/include2.inc.php');
if (!isset($id)) $id=0;
if (!isset($idup)) $idup=0;
if (!isset($page)) $page=0;
if (!is_numeric($id)) $id=0;
if (!is_numeric($idup)) $idup=0;
if (!is_numeric($page)) $page=0;
$sTitle = 'index';
if (isset($sConfig['config_title']))
if ($sConfig['config_title']!='') $sTitle = $sConfig['config_title'];
$sMetaDescription='';
$sMetaKeywords='';
if (isset($sConfig['config_meta1'])) if ($sConfig['config_meta1']!='') $sMetaDescription = $sConfig['config_meta1'];
if (isset($sConfig['config_meta2'])) if ($sConfig['config_meta2']!='') $sMetaKeywords = $sConfig['config_meta2'];
$sUnder = 0;
if (($id==0)) {
if ($lang=='') {
$sContent = GetFieldsValue('select * from content where idup=0 and hide=0 order by position, id');
if (($sContent==0) or ($sContent['hide']!=0)) $sUnder = 1;
$id = $sContent['id'];
}
if ($lang=='it') {
$sContent = GetFieldsValue('select * from it_content where idup=0 and hide=0 order by position, id');
if (($sContent==0) or ($sContent['hide']!=0)) $sUnder = 1;
$id = $sContent['id'];
}
}
if (($sConfig['config_on']==1) or ($sUnder==1)) {
echo ''."\n";
echo '
'."\n";
echo '
if ($lang=='') {
echo '
'."\n";
}
if ($lang=='it') {
echo '
'."\n";
}
?>
|
|
|
|
shMenuSubmenu($idup); ?>
//shDesignTop($id); ?>
shContentBase($id); ?> |
|
|
|
|
|
|
if ($sContent["design_image_block"]!=-3) {
if ($sDesignImageBlock!=0) {
@include('pattern/design/design.block.'.$sDesignImageBlock).'.php';
}
}
shDesign($id);
?>