"; $table_name = "series"; if(isset($id)){ include("$rootpath/gallery/series.php"); $this_content=$output; echo standard_content($this_content); exit(); } $bodyClass = 'worldsIndex'; $headerBottom = "

".unlanguage("ГАЛЕРЕЯ###GALLERY")."

".unlanguage("Графика и фото бориса юхананова###Graphics and photos of Boris Yukhananov")."
"; $dom_ready_scripts[]=" $( window ).scroll(function() { var top=$(window).scrollTop(); //dbg(top); if(top<330){ $('body').removeClass('min'); $('body div.header').height(420-top); } else { $('body').addClass('min'); } if(top>140){ $('body').addClass('fadeTitle'); } else { $('body').removeClass('fadeTitle'); } }) "; if($user_level>=5){ $add_new=add_new('series', "Серию"); } else { $search_pars[]="display=1"; } $search_pars[]=$TitleNotEmpty; ############# $fields = array('id', 'title'); $pars['page']=$page; $pars['order']='n'; $pars['items_on_page']=999; //$user_option['objects_on_page']; $pars['hidden_search_pars']=$search_pars; $pars['paging_pars']=$paging_pars; $pars['heads_on_page_var']='objects_on_page'; $pars['objects_type']='Objects'; $result_array=listalka($table_name, $fields, $pars); //echo "
".print_r($result_array['query'], 1)."
"; $i=0; if(is_array($result_array['fields'])){ foreach($result_array['fields'] as $array){ unset($image); $i++; foreach($array as $k=>$v){ $$k=unlanguage($v); } $edit=controls($id, $table_name, $display); $thumbik = thumbnail($table_name, $id, "t"); // echo "
".print_r($thumbik, 1)."
"; if($thumbik['exists']) { $image="background-image:url($pictures_htmlpath/".$thumbik['id'].".jpg)"; } $createdString = date_string($created); $items[]="
$title
$edit
"; } } if(is_array($items)){ $itemsList=""; } $dom_ready_scripts[]=" equalizeRows('.items > div', 2); "; $this_content.=" "; //$content_page_title=$page_header; echo standard_content($this_content);