";
exit;
}
require(cuxiao8_PATH."cuxiao8/friendlink.php");
//SEO
$dangqianWebname=$city_DB[name][$city_id].$webdb[Info_webname];
$titleDB[title] = $dangqianWebname.$webdb[webname2];
$titleDB[keywords] = $webdb[metakeywords];
/**
*标签使用
**/
$ch_fid = $ch_pagetype = 0;
$ch_module = $webdb[module_id]?$webdb[module_id]:99;//系统特定ID参数,每个系统不能雷同
require(cuxiao8_PATH."inc/label_module.php");
/**
*推荐的栏目在首页显示
**/
$listdb_moresort=ListMoreSort(7,38);
$InfoNum=get_infonum();
/**
*为搜索框使用的
**/
$fid_select="";
$city_fid=select_where("{$pre}fenlei_city","'postdb[city_id]' onChange=\"choose_where('getzone',this.options[this.selectedIndex].value,'','1')\"",$city_id);
if($city_DB[template][$city_id]){
$tpl_db=unserialize($city_DB[template][$city_id]);
$head_tpl=$tpl_db[head];
$foot_tpl=$tpl_db[foot];
$index_tpl=$tpl_db[index];
}
foreach($Fid_db[0] AS $key_2=>$array2){
$hotkeyowrds_array=explode(' ',$Fid_db[hotkeyowrds][$key_2]);
foreach($hotkeyowrds_array as $one)
$Fid_db[hotkeyowrds_a][$key_2].="".$one." ";
}
/////会员调用
$query = $db->query("select M.uid,M.username,C.company from {$pre}members M left join {$pre}memberdata D on M.uid=D.uid left join {$pre}fenlei_member C on M.uid=C.uid where C.company<>'' and D.ishome=1 LIMIT 0,30");
while($rs = $db->fetch_array($query)){
$listuser[]=$rs;
}
/////////////////// 首页切换广告 JS代码初始值////////////////////////
$arr_AD=get_ADurl($AD_label['AD_index_flash1']);
$imgurl[0]=$arr_AD[0][0];
$imgsrc[0]=$arr_AD[0][4];
$arr_AD=get_ADurl($AD_label['AD_index_flash2']);
$imgurl[1]=$arr_AD[0][0];
$imgsrc[1]=$arr_AD[0][4];
$arr_AD=get_ADurl($AD_label['AD_index_flash3']);
$imgurl[2]=$arr_AD[0][0];
$imgsrc[2]=$arr_AD[0][4];
$arr_AD=get_ADurl($AD_label['AD_index_flash4']);
$imgurl[3]=$arr_AD[0][0];
$imgsrc[3]=$arr_AD[0][4];
$arr_AD=get_ADurl($AD_label['AD_index_flash5']);
$imgurl[4]=$arr_AD[0][0];
$imgsrc[4]=$arr_AD[0][4];
/////////////////////////////////////////////////////////////////
//output
require(Mpath."inc/head.php");
require(getTpl("index",$index_tpl));
require(Mpath."inc/foot.php");
?>