储能企业-碳索储能网
$num=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=40 and com_id='$r[id]'");
$num1=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid not in(40,43) and com_id='$r[id]'");
$num2=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=43 and com_id='$r[id]'");
$listtemp='-
'.$num1['num'].'条 新闻 |
'.$num['num'].'条 财报 |
'.$num2['num'].'条 人事 |
';
$num=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=40 and com_id='$r[id]'");
$num1=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid not in(40,43) and com_id='$r[id]'");
$num2=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=43 and com_id='$r[id]'");
$listtemp='-
'.$num1['num'].'条 新闻 |
'.$num['num'].'条 财报 |
'.$num2['num'].'条 人事 |
';
$num=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=40 and com_id='$r[id]'");
$num1=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid not in(40,43) and com_id='$r[id]'");
$num2=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=43 and com_id='$r[id]'");
$listtemp='-
'.$num1['num'].'条 新闻 |
'.$num['num'].'条 财报 |
'.$num2['num'].'条 人事 |
';
$num=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=40 and com_id='$r[id]'");
$num1=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid not in(40,43) and com_id='$r[id]'");
$num2=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=43 and com_id='$r[id]'");
$listtemp='-
'.$num1['num'].'条 新闻 |
'.$num['num'].'条 财报 |
'.$num2['num'].'条 人事 |
';
$num=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=40 and com_id='$r[id]'");
$num1=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid not in(40,43) and com_id='$r[id]'");
$num2=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=43 and com_id='$r[id]'");
$listtemp='-
'.$num1['num'].'条 新闻 |
'.$num['num'].'条 财报 |
'.$num2['num'].'条 人事 |
';
$num=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=40 and com_id='$r[id]'");
$num1=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid not in(40,43) and com_id='$r[id]'");
$num2=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=43 and com_id='$r[id]'");
$listtemp='-
'.$num1['num'].'条 新闻 |
'.$num['num'].'条 财报 |
'.$num2['num'].'条 人事 |
';
$num=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=40 and com_id='$r[id]'");
$num1=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid not in(40,43) and com_id='$r[id]'");
$num2=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=43 and com_id='$r[id]'");
$listtemp='-
'.$num1['num'].'条 新闻 |
'.$num['num'].'条 财报 |
'.$num2['num'].'条 人事 |
';
$num=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=40 and com_id='$r[id]'");
$num1=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid not in(40,43) and com_id='$r[id]'");
$num2=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=43 and com_id='$r[id]'");
$listtemp='-
'.$num1['num'].'条 新闻 |
'.$num['num'].'条 财报 |
'.$num2['num'].'条 人事 |
';
$num=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=40 and com_id='$r[id]'");
$num1=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid not in(40,43) and com_id='$r[id]'");
$num2=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=43 and com_id='$r[id]'");
$listtemp='-
'.$num1['num'].'条 新闻 |
'.$num['num'].'条 财报 |
'.$num2['num'].'条 人事 |
';
$num=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=40 and com_id='$r[id]'");
$num1=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid not in(40,43) and com_id='$r[id]'");
$num2=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=43 and com_id='$r[id]'");
$listtemp='-
'.$num1['num'].'条 新闻 |
'.$num['num'].'条 财报 |
'.$num2['num'].'条 人事 |
';
$num=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=40 and com_id='$r[id]'");
$num1=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid not in(40,43) and com_id='$r[id]'");
$num2=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=43 and com_id='$r[id]'");
$listtemp='-
'.$num1['num'].'条 新闻 |
'.$num['num'].'条 财报 |
'.$num2['num'].'条 人事 |
';
$num=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=40 and com_id='$r[id]'");
$num1=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid not in(40,43) and com_id='$r[id]'");
$num2=$empire->fetch1("select count(*) as num from {$dbtbpre}ecms_cn_news where classid=43 and com_id='$r[id]'");
$listtemp='-
'.$num1['num'].'条 新闻 |
'.$num['num'].'条 财报 |
'.$num2['num'].'条 人事 |
';