$Cend = strpos($InContent,"");
$Lcontent = $Cend - $Cstart;
$Content = substr($InContent,$Cstart,$Lcontent) ;
if($_GET["action"]=="cai")
{
$PageUrl = "http://www.zhibo8.com/?id=".time();
$Pagecontent = file_get_contents($PageUrl);
$start = strpos($Pagecontent,"
$EndHtml = strpos($Pagecontent,"
$lenHtml = $EndHtml - $start;
$Pagecontent = substr($Pagecontent,$start,$lenHtml);
$HtmlAll = "";
preg_match_all('/(.*?)/',$Pagecontent,$UrlList);
for($i=sizeof($UrlList[2]);$i>=0;$i--){
$InUrl = "http://www.zhibo8.com".$UrlList[2][$私];
$TermDay = $_POST["txtdate"];
//$HtmlAll = $HtmlAll.$InUrl."-----".$TermDay."rn";
if(strstr($InUrl,$TermDay) && strstr($InUrl,"nba"))
{
$InContent = file_get_contents($InUrl);
//$start1 = strpos($InContent,"
//$EndHtml1 = strpos($InContent,"