((.|\n)*?)<\/span>
<\/font>/",$html,$m); $html=preg_replace("~\"/RentACoder/DotNet/WarningPage\.aspx\?Source=webpage\&ExternalUrl=(.*?)\"~","\"$1\"",$m[1][0]); echo urldecode($html); }else{ $url="http://www.vworker.com/RentACoder/misc/BidRequests/ShowBidRequests.asp?lngBidRequestListType=3&optSortTitle=2&lngBidRequestCategoryId=-1&txtMaxNumberOfEntriesPerPage=".($_REQUEST['action']=='get_new_bids'?20:50)."&optBidRequestPhase=2&lngSortColumn=-6&blnModeVerbose=True&optBiddingExpiration=1"; #curl work $curl=curl_init($url); curl_setopt($curl,CURLOPT_HEADER,0); curl_setopt($curl,CURLOPT_RETURNTRANSFER,1); curl_setopt($curl,CURLOPT_FOLLOWLOCATION,1); $html=curl_exec($curl); curl_close($curl); preg_match_all("/<\!--icon-->(.|\n)*?(.|\n)*?<\/tr>/",$html,$matches); foreach($matches[0] as $m){ preg_match_all("/(.|\n)*?(.*?)<\/b>/",$m,$t); $id=$t[1][0]; $bids[$id]['id']=$id; $bids[$id]['link']="http://www.rentacoder.com/RentACoder/misc/BidRequests/ShowBidRequest.asp?lngBidRequestId=".$id; $bids[$id]['title']=trim(str_replace("&","&",$t[3][0])); preg_match_all("/(.*?)<\/a>(.|\n)*?(.*?)<\/a>/",$m,$t); $bids[$id]['buyer_id']=$t[1][0]; $bids[$id]['buyer_link']="http://www.rentacoder.com/RentACoder/SoftwareBuyers/ShowBuyerInfo.asp?lngAuthorId=".$t[1][0]; $bids[$id]['buyer_name']=$t[2][0]; $bids[$id]['buyer_ratings']=$t[5][0]; preg_match_all("/(.|\n)*?(.*?)
(.|\n)*?\s(\S.*?)<\/td>/",$m,$t); $bids[$id]['type']=$t[2][0]; $bids[$id]['keywords']=$t[4][0]; preg_match_all("/Max bid: (.*?)(&|\n)/",$m,$t); $bids[$id]['max_bid']=trim($t[1][0]); preg_match_all('/(.|\n)*?((.|\n)*?)((.|\n)*?)?<\/font>
/',$m,$t); $bids[$id]['desc']=strip_tags(trim($t[2][0])); #getting the first id that is really the last id if(!$last_id) $last_id=$id; } #if the script requests only new bids we output them and quit if($_REQUEST['action']=='get_new_bids'){ echo "id".$last_id." "; foreach($bids as $bid){ if($bid['id']!=$_REQUEST['id']) show_bid($bid); else die; } die; } ?> rac.rac
' href="javascript:hideall();">− all

' href="javascript:hide('q','e');">−'> - '>

'>

' onclick="loadData('')">