'') $cnt=mysql_num_rows($mres); if (($cnt==0) and ($id<>'')) { header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.mysoftware.ru/download/"); exit(); } if ($cnt>0) list($name,$_num,$keywords,$lang,$iscategory,$desc)=mysql_fetch_row($mres); if ($lang=='EN') $razdel='Software'; if ($cnt>0) { if ($iscategory=='1') { $parent=f_getparent($pre,$_num); $pname=f_getname($pre,$parent); $name=$name.' - '.$pname; } else { if ($lang=='EN') { $name=$name.' - Download free software'; } else { $name=$name.' - Скачать программу'; } } } else $name='Скачать бесплатно программы. Программное обеспечение для компьютера.'; $name=strip_tags($name); if (strlen($name)>200) { $name=substr($name,0,200); $name=substr($name,0,strrpos($name,' ')).' ...'; } if ($desc=='') { $desc=str_replace('"',"",strip_tags($name)); } else { $desc=str_replace('"',"",strip_tags($desc)); if (strlen($desc)>250) { $desc=substr($desc,0,245); $desc=substr($desc,0,strrpos($desc,' ')).' ...'; } } echo ''."\n"; echo ''."\n"; echo ''."\n"; if ($lang<>'EN') echo ''."\n"; else echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''.$name.''."\n"; if ($lang<>'EN') include "../navigate_top.php"; else include "../navigate_top_en.php"; $pre='download'; $extlibrary=1; $todo2=''; include "../config/unicatalog.php"; if ($lang<>'EN') include "../navigate_footer.php"; else include "../navigate_footer_en.php"; ?>