<?php include S_SECTIONS . "/member/memberaccess.php"; $iGroupID = GetVar('id'); if (!isset($orgGroupObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationGroup.php"; $orgGroupObj = new OrganizationGroup(); } if (!isset($orgGroupVerifyfObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationGroupToVerify.php"; $orgGroupVerifyfObj = new OrganizationGroupToVerify(); } $grpdtls = $orgGroupObj->select($iGroupID); $grouphistory = $orgGroupVerifyfObj->getHistory($iGroupID); $smarty->assign('grpdtls', $grpdtls); $smarty->assign('grouphistory', $grouphistory);
require_once SITE_CLASS_APPLICATION . "class.StatusMaster.php"; $orgStaObj = new StatusMaster(); //$sess_id } if (!isset($orgUserPerObj)) { require_once SITE_CLASS_APPLICATION . "user/class.OrganizationUserPermission.php"; $orgUserPerObj = new OrganizationUserPermission(); } if (!isset($orgPrefObj)) { require_once SITE_CLASS_APPLICATION . "organization/class.OrganizationPreference.php"; $orgPrefObj = new OrganizationPreference(); //$sess_id } if (!isset($orgGroupObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationGroup.php"; $orgGroupObj = new OrganizationGroup(); } if (!isset($orgGroupVerifyfObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationGroupToVerify.php"; $orgGroupVerifyfObj = new OrganizationGroupToVerify(); } $stslvl = array(); $key = isset($_GET['q']) ? $_GET['q'] : ''; $fromtype = isset($_GET['fromtype']) ? $_GET['fromtype'] : ''; $type = $_GET['type']; $iId = $_GET['iId']; $prms = $_GET['prms']; $acpt = $_GET['acpt']; $grpid = $_GET['grpid']; $prmsarr = @explode(',', $prms); $grpdt = array();
$mode = $_POST['mod']; $val = isset($_POST['val']) ? $_POST['val'] : ''; $vCompanyName = isset($_POST['org_name']) ? $_POST['org_name'] : ''; $vGroupName = isset($_POST['grp_name']) ? $_POST['grp_name'] : ''; $page = $_POST['page']; // prints($_POST); exit; if (trim($page) == '' || trim($page) < 1) { $page = 1; } if (!isset($orgObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.Organization.php"; $orgObj = new Organization(); } if (!isset($orgGroupObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationGroup.php"; $orgGroupObj = new OrganizationGroup(); } $where = ""; if ($_POST['srchval'] == 'act') { $where .= " AND grp.eStatus='Active' "; } else { if ($_POST['srchval'] == 'inact') { $where .= " AND grp.eStatus='Inactive' "; } } if ($mode == 'all') { if ($val != '') { $where = " AND ( org.vCompanyName LIKE '%{$val}%' OR grp.vGroupName LIKE '%{$val}%')"; } } else { if ($mode == 'srch') {
<?php include S_SECTIONS . "/member/memberaccess.php"; $mode = $_POST['mode']; $val = $_POST['val']; //prints($_POST); exit; if (!isset($orgObj)) { require_once SITE_CLASS_APPLICATION . "organization/class.Organization.php"; $orgObj = new Organization(); } if (!isset($orgGroupObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationGroup.php"; $orgGroupObj = new OrganizationGroup(); } if (!isset($ogrpvrfObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationGroupToVerify.php"; $ogrpvrfObj = new OrganizationGroupToVerify(); } if (!isset($userActionObj)) { include_once SITE_CLASS_APPLICATION . 'user/class.UserActionVerification.php'; $userActionObj = new UserActionVerification(); } if (!isset($emailObj)) { include_once SITE_CLASS_APPLICATION . 'class.EmailTemplate.php'; $emailObj = new EmailTemplate(); } if (!isset($sendMail)) { include_once SITE_CLASS_GEN . "class.sendmail.php"; $sendMail = new SendPHPMail(); } $sess_user_name = $_SESSION['SESS_' . PRJ_CONST_PREFIX . '_NAME'];
<?php include S_SECTIONS . "/member/memberaccess.php"; $iGroupID = GetVar('id'); $msg = GetVar('msg'); if ($msg == 'ras') { $msg = $smarty->get_template_vars('MSG_ADD_SUCC'); } elseif ($msg == 'raserr') { $msg = $smarty->get_template_vars('MSG_ADD_ERR'); } else { $msg = ''; } if (!isset($orgGroupObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationGroup.php"; $orgGroupObj = new OrganizationGroup(); } //print_r($orgGroupObj); if (!isset($orgGroupVerifyfObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationGroupToVerify.php"; $orgGroupVerifyfObj = new OrganizationGroupToVerify(); } if (!isset($orgObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.Organization.php"; $orgObj = new Organization(); } if (!isset($UsrObj)) { require_once SITE_CLASS_APPLICATION . "user/class.OrganizationUser.php"; $UsrObj = new OrganizationUser(); } if (!isset($orgStaObj)) { require_once SITE_CLASS_APPLICATION . "class.StatusMaster.php";
<?php include S_SECTIONS . "/member/memberaccess.php"; if (!isset($orgObj)) { require_once SITE_CLASS_APPLICATION . "organization/class.Organization.php"; $orgObj = new Organization(); } if (!isset($orgGroupObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationGroup.php"; $orgGroupObj = new OrganizationGroup(); } if (!isset($orgGroupVerifyfObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationGroupToVerify.php"; $orgGroupVerifyfObj = new OrganizationGroupToVerify(); } if (!isset($userActionObj)) { include_once SITE_CLASS_APPLICATION . 'user/class.UserActionVerification.php'; $userActionObj = new UserActionVerification(); } if (!isset($emailObj)) { include_once SITE_CLASS_APPLICATION . 'class.EmailTemplate.php'; $emailObj = new EmailTemplate(); } if (!isset($sendMail)) { include_once SITE_CLASS_GEN . "class.sendmail.php"; $sendMail = new SendPHPMail(); } if (!isset($orgUserObj)) { include_once SITE_CLASS_APPLICATION . "user/class.OrganizationUser.php"; $orgUsrObj = new OrganizationUser(); }
} if (!isset($secManObj)) { require_once SITE_CLASS_APPLICATION . "securitymanager/class.SecurityManager.php"; $secManObj = new SecurityManager(); } if (!isset($orgprefObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationPreference.php"; $orgprefObj = new OrganizationPreference(); } if (!isset($statusmasterObj)) { include_once SITE_CLASS_APPLICATION . "class.StatusMaster.php"; $statusmasterObj = new StatusMaster(); } if (!isset($orgGrpObj)) { include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationGroup.php"; $orgGrpObj = new OrganizationGroup(); } // set folder struct for users $usersec = ""; $orderStatus = $invoiceStatus = $ures = array(); $poUserStatusIds = $poUserStatus = $invUserStatusIds = $invUserStatus = $poUserAcptIds = $invUserAcptIds = $poUserAcpt = $invUserAcpt = ""; switch ($sess_usertype) { case 'securitymanager': $usersec = 'securitymanager'; $_SESSION['SESS_' . PRJ_CONST_PREFIX . '_USER_TYPE_SHORT'] = 'SM'; break; case 'orguser': $usersec = 'user'; $_SESSION['SESS_' . PRJ_CONST_PREFIX . '_USER_TYPE_SHORT'] = 'OU'; $usrdtls = $orgUsrObj->select($sess_id); $odt = $orgObj->select($curORGID);