$strQuery="select id,title from titles where status='Y' and zhuanti_id=4 order by titles.id desc limit 0,6";
$db->query($strQuery);
// echo $strQuery;
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
if (strlen($this_title)>24){$this_title=substr($this_title,0,26)."..";}
echo "·$this_title ";
}?> |
$strQuery="select id,title,post_time from titles where status='Y' and zhuanti_id=5 order by titles.id desc limit 0,6";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
if (strlen($this_title)>24){$this_title=substr($this_title,0,26)."..";}
echo "·$this_title ";
}?> |
$strQuery="select id,title,post_time from titles where status='Y' and zhuanti_id=6 order by titles.id desc limit 0,6";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
if (strlen($this_title)>24){$this_title=substr($this_title,0,26)."..";}
echo " ·$this_title ";
}?>
|
$strQuery="select id,title,post_time from titles where status='Y' and zhuanti_id=8 order by titles.id desc limit 0,6";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
if (strlen($this_title)>24){$this_title=substr($this_title,0,26)."..";}
echo "·$this_title ";
}?> |
$strQuery="select id,title,post_time from titles where status='Y' and zhuanti_id=7 order by titles.id desc limit 0,6";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
if (strlen($this_title)>24){$this_title=substr($this_title,0,26)."..";}
echo "·$this_title ";
}?>
|
$strQuery="select id,title,post_time from titles where status='Y' and zhuanti_id=9 order by titles.id desc limit 0,6";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
if (strlen($this_title)>24){$this_title=substr($this_title,0,26)."..";}
echo " ·$this_title ";
}?>
|
$strQuery="select id,title,post_time from titles where status='Y' and zhuanti_id=10 order by titles.id desc limit 0,6";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
if (strlen($this_title)>24){$this_title=substr($this_title,0,26)."..";}
echo "·$this_title ";
}?>
|
$strQuery="select id,title,post_time from titles where status='Y' and zhuanti_id=11 order by titles.id desc limit 0,6";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
if (strlen($this_title)>24){$this_title=substr($this_title,0,26)."..";}
echo "·$this_title ";
}?>
|
$strQuery="select id,title from titles where status='Y' and zhuanti_id=12 order by titles.id desc limit 0,6";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
if (strlen($this_title)>24){$this_title=substr($this_title,0,26)."..";}
echo "·$this_title ";
}?>
|
$strQuery="select id,title from titles where status='Y' and zhuanti_id=92 order by titles.id desc limit 0,6";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
if (strlen($this_title)>24){$this_title=substr($this_title,0,26)."..";}
echo "·$this_title ";
}?> |
|
|
$strQuery="select id,title,post_time from titles where status='Y' and zhuanti_id=13 order by titles.id desc limit 0,10";
$db->query($strQuery);
while ($db->next_record()){
list($id,$title,$post_time)=$db->Record;
$show_time=substr($post_time,5,5);
echo "[$show_time]";echo "$title ";
}?> |
$strQuery="select id,title,post_time from titles where status='Y' and zhuanti_id=13 order by titles.id desc limit 10,10";
$db->query($strQuery);
while ($db->next_record()){
list($id,$title,$post_time)=$db->Record;
$show_time=substr($post_time,5,5);
echo "[$show_time]";echo "$title ";
}?> |
|
|
|
|
|
[ 宏观视点] 更多内容 |
|
$strQuery="select id,title from titles where status='Y' and zhuanti_id=83 order by titles.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 titles where status='Y' and zhuanti_id=42 order by titles.id desc limit 0,4";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
echo "·$this_title ";
}
//===================================使用技巧结束================================================
?>
$strQuery="select id,title from titles where status='Y' and zhuanti_id=18 order by titles.id desc limit 0,4";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
echo "·$this_title ";
}
?>
$strQuery="select id,title from titles where status='Y' and zhuanti_id=3 order by titles.id desc limit 0,2";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
echo "·$this_title ";
}
?>
|
|
|
|
|
|
|
|
|
[ 展会信息] 更多内容 |
|
$strQuery="select id,title from titles where zhuanti_id=17 order by id desc limit 0,10";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
if (strlen($this_title)>31){$this_title=substr($this_title,0,30);}
echo "·$this_title ";
}
?>
|
|
[各地信息] 更多内容 |
|
$strQuery="select id,title from titles where status='Y' and zhuanti_id=2
order by titles.id desc limit 0,10";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
if (strlen($this_title)>24){$this_title=substr($this_title,0,32)."..";}
echo "·$this_title ";
}?>
|
|
|
|
[研究报告]
更多内容 |
|
//=== 取出协会行业研究报告 ===
$strQuery="select id,kind,title,display,post_time from info where kind='a'
and flag='Y' order by id desc limit 0,1";
$db->query($strQuery);
while ($db->next_record()) {
list($id,$kind,$title,$display,$post_time)=$db->Record;
if (strlen($title)>31){$title=substr($title,0,30);}
echo "·$title ";
}
//=== 取出网站行业研究报告 ===
$strQuery="select id,kind,title,display,post_time from info where kind='b'
and flag='Y' order by id desc limit 0,8";
$db->query($strQuery);
while ($db->next_record()) {
list($id,$kind,$title,$display,$post_time)=$db->Record;
if (strlen($title)>31){$title=substr($title,0,30);}
echo "·$title ";
}
?>
|
|
[专家意见] 更多内容 |
|
//====================作者专栏========================================
$strQuery="select titles.id,titles.title,content.fromto from
titles,content where titles.id=content.title_id and titles.zhuanti_id=128 and titles.status='Y' order by titles.id desc
limit 0,8";
// echo $strQuery;
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title,$fromto)=$db->Record;
if (strlen($fromto)>6){$fromto1=substr($fromto,0,6)."等";
if (strlen($this_title)>24){$this_title=substr($this_title,0,26)."..";}
}
else if (strlen($fromto)<=6)
{$fromto1=$fromto;
if (strlen($this_title)>28){$this_title=substr($this_title,0,30)."..";}
}
echo "·[ $fromto1] $this_title
";
//====================作者专栏结束=================================
}?>
//====================作者专栏========================================
/*
$strQuery="select id,title from titles where status='Y' and zhuanti_id=128 order by titles.id desc limit 0,8";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
//if (strlen($this_title)>36){$this_title=substr($this_title,0,38)."..";}
echo "· $this_title ";
*/
//====================作者专栏结束=================================
// }?>
|
|
[统计数据]
更多内容
//=== 取出协会行业统计数据 ===
$strQuery="select id,kind,title,display,post_time from info where kind='c'
and flag='Y' order by id desc limit 0,5";
$db->query($strQuery);
while ($db->next_record()) {
list($id,$kind,$title,$display,$post_time)=$db->Record;
echo "·$title ";
}
//=== 取出网站行业统计数据 ===
$strQuery="select id,kind,title,display,post_time from info where kind='d'
and flag='Y' order by id desc limit 0,5";
$db->query($strQuery);
while ($db->next_record()) {
list($id,$kind,$title,$display,$post_time)=$db->Record;
echo "$title ";
}
?>
|
[ 国际动态] 更多内容
//====================国际短讯开始========================================
$strQuery="select id,title from titles where status='Y' and zhuanti_id=127 order by titles.id desc limit 0,9";
$db->query($strQuery);
while ($db->next_record()){
list($this_id,$this_title)=$db->Record;
echo "·$this_title ";
//====================国际短讯结束=================================
}?>
|
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|