",$r2[details])."";?>

रोजगार समाचार

    loadHTML($html); $xpath = new DOMXPath($dom); $arr_info = array(); $newstitle = $xpath->query("//div[contains(@class, 'nstory_header')]"); $brief_detail = $xpath->query("//div[contains(@class, 'nstory_intro')]"); $ndetail = $xpath->query("//div[contains(@class, 'nstory_dateline')]"); $len=$newstitle->length; if($len>0) { for($nm=0;$nm<$len;$nm++) { if($newstitle->item($nm)) { $arr_info['newstitle'] = $newstitle->item($nm)->nodeValue; } if($newstitle->item($nm)) { $arr_info['news_url'] = $newstitle->item($nm)->getElementsByTagName('a')->item(0)->getAttribute('href'); } if($brief_detail->item($nm)) { $arr_info['briefdetail'] = $brief_detail->item($nm)->nodeValue; //$arr_info['website_url'] = $company_profile_url_qry->item(0)->getElementsByTagName('li')->item(0)->getElementsByTagName('a')->item(0)->getAttribute('href'); } if($ndetail->item($nm)) { $arr_info['updtime'] = $ndetail->item($nm)->getElementsByTagName('time')->item(0)->nodeValue;; } ?>