public function profileAction()
 {
     $request = $this->getRequest();
     $sestionClient = PR_Session::getSession(PR_Session::SESSION_USER);
     $companyid = $request->getParam("companyid");
     $api = new PR_Api_Core_ClientClass();
     $company = $api->getCompany($companyid);
     $rslState = "";
     if (count($company) > 0 && !empty($company)) {
         $rslState = $api->getStateByStateCode(trim($company['state']));
         if (empty($rslState)) {
             $stateName = trim($company['state']);
         } else {
             $stateInfo = $rslState[0];
             $stateName = $stateInfo['state_name'];
         }
     }
     $this->view->company = $company;
     $this->view->stateOfCompany = $stateName;
     $Industry = $company["Industry"];
     $listOrtherCompany = $api->getCompany_Industry($Industry);
     //echo("tetstt:<pre>");print_r($listOrtherCompany); echo("</pre>");
     $this->view->listOrtherCompany = $listOrtherCompany;
     $Oppotunity_PR_Api = new PR_Api_Core_CareerClass();
     $getListOpp = $Oppotunity_PR_Api->getListOpportunity(array('CompanyID' => $companyid));
     $this->view->getListOpp = $getListOpp;
     $this->render('companyprofileview');
 }