Пример #1
0
}
if (!isset($orgObj)) {
    require_once SITE_CLASS_APPLICATION . "organization/class.Organization.php";
    $orgObj = new Organization();
}
if (!isset($orgvrfObj)) {
    include_once SITE_CLASS_APPLICATION . "organization/class.Organization_Toverify.php";
    $orgvrfObj = new Organization_Toverify();
}
if (!isset($orgUsrObj)) {
    require_once SITE_CLASS_APPLICATION . "user/class.OrganizationUser.php";
    $orgUsrObj = new OrganizationUser();
}
if (!isset($userToVerifyObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.OrganizationUserToverify.php';
    $userToVerifyObj = new OrganizationUserToverify();
}
if (!isset($stMstrObj)) {
    include_once SITE_CLASS_APPLICATION . "class.StatusMaster.php";
    $stMstrObj = new StatusMaster();
}
if (!isset($orgprefObj)) {
    include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationPreference.php";
    $orgprefObj = new OrganizationPreference();
}
if (!isset($orgPrefVrfObj)) {
    include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationPreferenceToverify.php";
    $orgPrefVrfObj = new OrganizationPreferenceToverify();
}
if (isset($_POST) && is_array($_POST) && count($_POST) > 0) {
    $ere = '';
Пример #2
0
$msg = GetVar('msg');
if ($msg == 'ras') {
    $msg = $smarty->get_template_vars('MSG_ADD_SUCC');
} elseif ($msg == 'raerr') {
    $msg = $smarty->get_template_vars('MSG_ADD_ERR');
} else {
    $msg = '';
}
if (!isset($orgUserObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.OrganizationUser.php";
    $orgUserObj = new OrganizationUser();
}
//print_r($orgUserObj);
if (!isset($userToVerifyObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.OrganizationUserToverify.php';
    $userToVerifyObj = new OrganizationUserToverify();
}
if (!isset($orgObj)) {
    include_once SITE_CLASS_APPLICATION . "organization/class.Organization.php";
    $orgObj = new Organization();
}
if (!isset($countryObj)) {
    include_once SITE_CLASS_APPLICATION . "class.Country.php";
    $countryObj = new Country();
}
if (!isset($stateObj)) {
    include_once SITE_CLASS_APPLICATION . "class.State.php";
    $stateObj = new State();
}
if (!isset($cntstObj)) {
    include_once SITE_CLASS_GEN . "class.countrystate.php";
Пример #3
0
}
//$msg = GetVar('msg');
$msg = isset($_SESSION['SESS_' . PRJ_CONST_PREFIX . '_MSG']) ? $_SESSION['SESS_' . PRJ_CONST_PREFIX . '_MSG'] : '';
if ($msg == 'ras') {
    $msg = $smarty->get_template_vars('MSG_ADD_SUCC');
} elseif ($msg == 'raerr') {
    $msg = $smarty->get_template_vars('MSG_ADD_ERR');
}
if (!isset($orgUserObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.OrganizationUser.php";
    $orgUserObj = new OrganizationUser();
}
//print_r($orgUserObj);
if (!isset($userToVerifyObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.OrganizationUserToverify.php';
    $userToVerifyObj = new OrganizationUserToverify();
}
if (!isset($orgObj)) {
    include_once SITE_CLASS_APPLICATION . "organization/class.Organization.php";
    $orgObj = new Organization();
}
if (!isset($countryObj)) {
    include_once SITE_CLASS_APPLICATION . "class.Country.php";
    $countryObj = new Country();
}
if (!isset($stateObj)) {
    include_once SITE_CLASS_APPLICATION . "class.State.php";
    $stateObj = new State();
}
if (!isset($cntstObj)) {
    include_once SITE_CLASS_GEN . "class.countrystate.php";
include S_SECTIONS . "/member/memberaccess.php";
$mode = $_POST['mod'];
$val = isset($_POST['val']) ? $_POST['val'] : '';
$vUserName = isset($_POST['vUserName']) ? $_POST['vUserName'] : '';
$vEmail = isset($_POST['vEmail']) ? $_POST['vEmail'] : '';
$eUserType = isset($_POST['eUserType']) ? $_POST['eUserType'] : '';
$vCountry = isset($_POST['vCountry']) ? $_POST['vCountry'] : '';
$vCompanyName = isset($_POST['vCompanyName']) ? $_POST['vCompanyName'] : '';
$page = $_POST['page'];
if (trim($page) == '' || trim($page) < 1) {
    $page = 1;
}
// prints($_POST); exit;
if (!isset($orgUserObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.OrganizationUserToverify.php";
    $orgUserObj = new OrganizationUserToverify();
}
$where = "";
if ($mode == 'all') {
    if ($val != '') {
        $where = " AND (ou.vFirstName LIKE '%{$val}%' OR ou.vLastName LIKE '%{$val}%' OR ou.vEmail LIKE '%{$val}%' OR ou.eUserType LIKE '%{$val}%' OR ou.vCountry LIKE '%{$val}%')";
    }
    if (trim($eUserType) != '') {
        $where .= " AND ou.eUserType='{$eUserType}' ";
    }
} else {
    if ($mode == 'srch') {
        if (trim($vUserName) != '') {
            $where = " AND (CONCAT(ou.vFirstName,' ',ou.vLastName) LIKE '%{$vUserName}%') ";
        }
        if (trim($vEmail) != '') {
Пример #5
0
include S_SECTIONS . "/member/memberaccess.php";
//sendmail class incude
include SITE_CLASS_GEN . "class.sendmail.php";
//initialization of senmail class object
$sendMail = new SendPHPMail();
if (!isset($secManObj)) {
    include_once SITE_CLASS_APPLICATION . 'class.SecurityManager.php';
    $secManObj = new SecurityManager();
}
if (!isset($orgUserObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.OrganizationUser.php';
    $orgUserObj = new OrganizationUser();
}
if (!isset($userToVerifyObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.OrganizationUserToverify.php';
    $userToVerifyObj = new OrganizationUserToverify();
}
if (!isset($emailObj)) {
    include_once SITE_CLASS_APPLICATION . 'class.EmailTemplate.php';
    $emailObj = new EmailTemplate();
}
$Data = PostVar("Data");
if (!isset($Data['eEmailNotification'])) {
    $Data['eEmailNotification'] = 'No';
}
$Data['vPhone'] = $_POST['vPhoneCode'] . "-" . $Data['vPhone'];
$Data['vMobile'] = $_POST['vMobileCode'] . "-" . $Data['vMobile'];
//prints($Data);exit;
if (count($emailArr) > 0) {
    $Dt['eStatus'] = 'Modified';
}
Пример #6
0
}
if (!isset($orgUserPermVerifyObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.OrganizationUserPermissionToVerify.php";
    $orgUserPermVerifyObj = new OrganizationUserPermissionToVerify();
}
if (!isset($secManObj)) {
    require_once SITE_CLASS_APPLICATION . "securitymanager/class.SecurityManager.php";
    $secManObj = new SecurityManager();
}
if (!isset($orgUsrObj)) {
    require_once SITE_CLASS_APPLICATION . "user/class.OrganizationUser.php";
    $orgUsrObj = new OrganizationUser();
}
if (!isset($userToVerifyObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.OrganizationUserToverify.php';
    $userToVerifyObj = new OrganizationUserToverify();
}
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($statusmasterObj)) {
    include_once SITE_CLASS_APPLICATION . "class.StatusMaster.php";
Пример #7
0
// print_r($_GET);exit;
if (!isset($secManObj)) {
    require_once SITE_CLASS_APPLICATION . "class.Organization.php";
    $orgObj = new Organization();
}
if (!isset($orgUsrObj)) {
    require_once SITE_CLASS_APPLICATION . "user/class.OrganizationUser.php";
    $orgUsrObj = new OrganizationUser();
}
if (!isset($orgvrfObj)) {
    include_once SITE_CLASS_APPLICATION . "organization/class.Organization_Toverify.php";
    $orgvrfObj = new Organization_Toverify();
}
if (!isset($userToVerifyObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.OrganizationUserToverify.php';
    $userToVerifyObj = new OrganizationUserToverify();
}
if (!isset($orgprefObj)) {
    include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationPreference.php";
    $orgprefObj = new OrganizationPreference();
}
if (!isset($orgPrefVrfObj)) {
    include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationPreferenceToverify.php";
    $orgPrefVrfObj = new OrganizationPreferenceToverify();
}
$activationcode = GetVar('msg');
if (trim($activationcode) == '') {
    header("Location: " . SITE_URL_DUM . "home");
    exit;
}
//$id = $orgObj->getid($activationcode);
Пример #8
0
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($UsrObj)) {
    require_once SITE_CLASS_APPLICATION . "user/class.OrganizationUser.php";
    $UsrObj = new OrganizationUser();
}
if (!isset($userToVerifyObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.OrganizationUserToverify.php';
    $userToVerifyObj = new OrganizationUserToverify();
}
if (!isset($userActionObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.UserActionVerification.php';
    $userActionObj = new UserActionVerification();
}
if (!isset($orgUserPermObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.OrganizationUserPermission.php";
    $orgUserPermObj = new OrganizationUserPermission();
}
if (!isset($orgUserPermVerifyObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.OrganizationUserPermissionToVerify.php";
    $orgUserPermVerifyObj = new OrganizationUserPermissionToVerify();
}
if (!isset($emailObj)) {
    include_once SITE_CLASS_APPLICATION . 'class.EmailTemplate.php';
Пример #9
0
include S_SECTIONS . "/member/memberaccess.php";
//sendmail class incude
include SITE_CLASS_GEN . "class.sendmail.php";
//initialization of senmail class object
$sendMail = new SendPHPMail();
if (!isset($secManObj)) {
    include_once SITE_CLASS_APPLICATION . 'class.SecurityManager.php';
    $secManObj = new SecurityManager();
}
if (!isset($orgUserObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.OrganizationUser.php';
    $orgUserObj = new OrganizationUser();
}
if (!isset($userToVerifyObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.OrganizationUserToverify.php';
    $userToVerifyObj = new OrganizationUserToverify();
}
if (!isset($emailObj)) {
    include_once SITE_CLASS_APPLICATION . 'class.EmailTemplate.php';
    $emailObj = new EmailTemplate();
}
if (!isset($orgUserPermObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.OrganizationUserPermission.php";
    $orgUserPermObj = new OrganizationUserPermission();
}
if (!isset($orgUserPermVerifyObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.OrganizationUserPermissionToVerify.php";
    $orgUserPermVerifyObj = new OrganizationUserPermissionToVerify();
}
if ($_SESSION['SESS_' . PRJ_CONST_PREFIX . '_USER_TYPE_SHORT'] == 'SM') {
    $smdt = $secManObj->getDetails('*', " AND iSMID!=" . $_SESSION['SESS_' . PRJ_CONST_PREFIX . '_ID'] . " AND eStatus='Active' AND eEmailNotification='Yes' ");
Пример #10
0
<?php

include S_SECTIONS . "/member/memberaccess.php";
$iUserID = GetVar('id');
if (!isset($orgUserObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.OrganizationUser.php";
    $orgUserObj = new OrganizationUser();
}
if (!isset($userToVerifyObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.OrganizationUserToverify.php';
    $userToVerifyObj = new OrganizationUserToverify();
}
if (!isset($orgObj)) {
    include_once SITE_CLASS_APPLICATION . "organization/class.Organization.php";
    $orgObj = new Organization();
}
$usrdtls = $orgUserObj->select($iUserID);
$orgdtls = $orgObj->select($usrdtls[0]['iOrganizationID']);
$usrhistory = $userToVerifyObj->getHistory($iUserID);
// prints($usrhistory); exit;
$smarty->assign('usrdtls', $usrdtls);
$smarty->assign('orgdtls', $orgdtls);
$smarty->assign('usrhistory', $usrhistory);