Exemplo n.º 1
0
if ($opf[0]['eSecureExportPO'] == 'Yes') {
    $arr_loaded_ext = get_loaded_extensions();
    if (in_array('mcrypt', $arr_loaded_ext)) {
        $enc = 'y';
        if (!isset($encobj)) {
            include_once SITE_CLASS_APPLICATION . "organization/class.Encryption.php";
            $encobj = new Encryption();
        }
        //
        $encKey = $opf[0]['vEncryptionKey'];
        $encAlgo = $opf[0]['eCryptAlgo'];
        $orgdt = $orgObj->select($curORGID);
        $code[] = $orgdt[0]['vOrganizationCode'] . $orgdt[0]['iOrganizationID'];
        $code[] = $orgdt[0]['dCreatedDate'];
        //
        $iv_val = $encobj->setEncValues($encKey, $encAlgo, $code, '');
    }
}
//}
/*if($enc!='y') {
	$enc = 'n';
}*/
// $exportobj->setEncValues($encKey,$encAlgo,'');
// $iv_val = $encobj->setEncValues($encKey,$encAlgo,$code,'');
// echo $iv_val; exit;
// prints($_POST); exit;
// prints($iPoIds); exit;
//$limit = " LIMIT ".($page-1)*$REC_LIMIT_FRONT.", ".$REC_LIMIT_FRONT." ";
// print $where; exit;
//and poh.iStatusID in (".$poUserStatusIds.")
// echo $where; exit;