点击切换频道
$time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu; $time=$r[newstime]; $minute = date("H:i",$time); $hour = date("H:i",$time); $alltime = date("Y-m-d",$time); $time = time() - $time; if ($time < 60) { $str = '刚刚 '; } elseif ($time < 60 * 60) { $min = floor($time/60); $str = $min.'分钟前 '; } elseif ($time < 60 * 60 * 24) { $h = floor($time/(60*60)); $str = $h.'小时前 '; } elseif ($time < 60 * 60 * 24 * 10) { $d = floor($time/(60*60*24)); $str = $d.'天前'; } else { $str = $alltime; } $shijian=$str; if(strpos($r['titlepic'], "http://")==false){$xwtitlepic=$r['titlepic'];}else{$xwtitlepic=$public_r[add_www_96kaifa_com_url3].$r['titlepic'];} $tsql=$empire->query("select * from www_96kaifa_com_ecms_news_data_1 where id=".$r[id]); while($tr=$empire->fetch($tsql)){$neirong=$tr['newstext'];} $num=substr_count($neirong,"/"; preg_match_all($pattern,$neirong,$match); if($num==3 || $num > 3){ if(strpos($tu1, "http://")==false){$tu1=str_replace(""","",$match[1][0]);}else{$tu1=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][0]);} if(strpos($tu2, "http://")==false){$tu2=str_replace(""","",$match[1][1]);}else{$tu2=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][1]);} if(strpos($tu3, "http://")==false){$tu3=str_replace(""","",$match[1][2]);}else{$tu3=$public_r[add_www_96kaifa_com_url].str_replace(""","",$match[1][2]);} $wu="";}else{ if($r[titlepic]==''){ $wu=""; } else { $wu="";} } $listtemp=$wu;