|
 |
所有用户均可在本网站发布家电及其相关产品的各种信息,但必须保证其真实性和有效性![免费发布供求信息] |
/*
 |
→我要投标 |
中国家电网致力于企业对企业、企业对政府间电子商务的拓展,为政府和企业的大宗家电类产品采购提供公开、公平、公正的招投标平台。当您同意本网站的招投标规则,并注册成为会员后即可在本网站进行招标和投标。点击此处浏览现有的招标项目 |
*/
?>
|
$currentdate = date('Y-m-d', time());
//$strQuery="select id,title,reg_time from publish where flag='Y'
//and validate>='$currentdate' order by id desc limit 0,7";
$strQuery="select id,title,reg_time,info_type from publish where flag='Y' order by id desc limit 0,10";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title,$reg_time,$this_info_type )=$db->Record;
$show_time=substr($reg_time,5,2)."月".substr($reg_time,8,2)."日";
if (strlen($this_title)>41){$this_title=substr($this_title,0,40);}
echo"【$array_info_type[$this_info_type]】[$show_time]";echo"$this_title
";
}?>
|
$currentdate = date('Y-m-d', time());
//$strQuery="select id,title,reg_time from publish where flag='Y'
//and validate>='$currentdate' order by id desc limit 5,5";
$strQuery="select id,title,reg_time,info_type from publish where flag='Y' order by id desc limit 10,10";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title,$reg_time,$this_info_type )=$db->Record;
$show_time=substr($reg_time,5,2)."月".substr($reg_time,8,2)."日";
if (strlen($this_title)>41){$this_title=substr($this_title,0,40);}
echo"【$array_info_type[$this_info_type]】[$show_time]";
echo"$this_title ";
}?>
|

|
 |
$v ";}?>
|
$v ";}?>
|
 |
 |
$v ";}?>
|
$v ";}?>
|
 |
 |
$v ";}?>
|
$v ";}?>
|
→更多 |
→更多 |
$currentdate = date('Y-m-d', time());
$strQuery="select id,title from publish where info_type='2' and flag='Y' order by id desc limit 0,10";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
echo "· $this_title ";
}?>
|
$strQuery="select id,title from publish where info_type='1' and flag='Y' order by id desc limit 0,10";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
echo "· $this_title ";
}?>
|
|
|