table_name='art_tyres'; $list_obj->fields_list=array('id','header','text'); $list_obj->additional_query_part='WHERE `id`='.$id; $list_obj->get_list(); if($list_obj->list_len!=0){ $header='О шинах: '.$list_obj->list_arr[0]['header']; $pattern=file_get_contents('html/art_full.htm'); $content=$list_obj->show_all_list($pattern); } $list_obj->additional_query_part=''; $list_obj->get_list(); $pattern=file_get_contents('html/tyres_list.htm'); $tyres=$list_obj->show_all_list($pattern); $content.='

'.$tyres; include('output.php'); ?>