function _fix_time($str='',$write=0) {
static $start,$prev,$TIME_ARRAY;
list($usec,$sec)=explode(' ',microtime());
$tm=(float)$usec+(float)$sec;
if (!$start) $start=$tm;
if ($str!='') $TIME_ARRAY[$str]=array($tm-$prev,$tm-$start,($write ? '
' : '
'));
$prev=$tm;
if ($write)
foreach ($TIME_ARRAY as $k => $v)
echo $v[2],number_format($v[0],4),' - ',number_format($v[1],4)," - $k
";
}
_fix_time();
// ====================================\
$ROOT_PATH=".";
include_once("$ROOT_PATH/init/main.php");
// ====================================/
// $ImgNew="

";
?>
if ($tmp=$FIRST_PAGE_PRODS_INIT[$Config['first_page_prods']]) {
//=================================================================\
?>
// ------------------------------------\
list($page)=$args;
call('intval',array(&$page));
$ModuleData=array(
'page' => $page,
'pages_url' => "$SITE_ROOT/index_
.html",
'head_title' => $tmp['title'],
'condition' => $tmp['condition'],
'order' => $tmp['order'],
'rand' => $tmp['rand'],
'show_desc' => 1
);
include('modules/products_search.php');
//-------------------------------------/
?>
//=================================================================/
}
?>
include_once("$ROOT_PATH/common/all_tail.php");
?>