=5){ $keywordscontrols.="


Изменить ключевые слова
Изменить описание сайта


"; } if($select_design=='2011'){ $navigation_script.=" "; $banner_query = "SELECT id, title, type FROM pictures where table_name='2011top' and owner='$language' order by rand() limit 1"; $banner_result = mysql_query($banner_query); if(mysql_numrows($banner_result)){ list($id, $t, $e)=mysql_fetch_row($banner_result); $pic_size_array=getimagesize("$rootpath/pictures/$id.$e"); // $right_content="
$t
"; $right_content="
$t
"; } else { $right_content=""; } function this_banners(){ global $language, $htmlrootpath; $banner_query = "SELECT id, title, type, about FROM pictures where table_name='2011bot' and owner='$language' order by rand() limit 3"; $banner_result = mysql_query($banner_query); while(list($id, $title, $type, $url)=mysql_fetch_row($banner_result)){ $picture=""; if($url!='') $picture="$picture"; $banners[]="
$title $picture
"; } if(is_array($banners)){ return "
".join($banners, '')."
"; } } $right_content .= this_banners(); } else { $banner_query = "SELECT id, title, type FROM pictures where table_name='newindex' and owner='$language' order by rand() limit 1"; $banner_result = mysql_query($banner_query); if(mysql_numrows($banner_result)){ list($id, $t, $e)=mysql_fetch_row($banner_result); $pic_size_array=getimagesize("$rootpath/pictures/$id.$e"); $right_content="
$t
"; } else { $right_content=""; } $additional_bottom_content = index_banners(); } echo $standard_header; PRINT standard_content("none", $right_content); echo $standard_footer; ?>