'.$lang['menu_vac'].'
'; if (isset($_GET['quick'])) { $_GET['quick'] = Del_hacks($_GET['quick'], 'int'); $id_parent = GetParentID('cat', GetCatIDByProdID($_GET['quick'])); refresh('/'.$_GET['prefix'].'/products/'.$id_parent.'/'.$_GET['quick'].'_d.html'); die(); } else if (isset($_GET['cat'])) { $res = pg_query("SELECT DISTINCT(\"name\"), id_prod FROM prod_lang WHERE split_part(\"name\" , '-', 1) = '".$_GET['cat']."' AND id_lang=1 ORDER BY \"name\" ASC"); if (pg_num_rows($res)>0) { $main2 = '

Продукты с префиксом: '.$_GET['cat'].'

'; } } $main .= '
Выберите префикс продукта
'.$main2; $main .= "
"; include("temp.html.php"); ?>