Exemplo n.º 1
0
}
if (!isset($emailObj)) {
    include_once SITE_CLASS_APPLICATION . 'class.EmailTemplate.php';
    $emailObj = new EmailTemplate();
}
if (!isset($sendMail)) {
    include SITE_CLASS_GEN . "class.sendmail.php";
    $sendMail = new SendPHPMail();
}
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";
Exemplo n.º 2
0
$sendMail = new SendPHPMail();
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($orgObj)) {
    include_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($orgUserObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.OrganizationUser.php';
    $orgUserObj = new OrganizationUser();
}
if (!isset($orgUserPermObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.OrganizationUserPermission.php";
    $orgUserPermObj = new OrganizationUserPermission();
}
if (!isset($stMstrObj)) {
    include_once SITE_CLASS_APPLICATION . "class.StatusMaster.php";
    $stMstrObj = new StatusMaster();
}
if (!isset($userActionObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.UserActionVerification.php';
Exemplo n.º 3
0
<?php

include S_SECTIONS . "/member/memberaccess.php";
$iOrganizationID = GetVar('id');
if ($sess_usertype == 'orgadmin' && $orgid != $iOrganizationID) {
    header("Location: " . SITE_URL_DUM . "oadashboard");
    exit;
}
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();
}
$orgdtls = $orgObj->select($iOrganizationID);
$orghistory = $orgvrfObj->getHistory($iOrganizationID);
// prints($orghistory); exit;
$smarty->assign('orgdtls', $orgdtls);
$smarty->assign('orghistory', $orghistory);
Exemplo n.º 4
0
}
if (!isset($orgPrefVrfObj)) {
    include_once SITE_CLASS_APPLICATION . "organization/class.OrganizationPreferenceToverify.php";
    $orgPrefVrfObj = new OrganizationPreferenceToverify();
}
if (!isset($stMstrObj)) {
    include_once SITE_CLASS_APPLICATION . "class.StatusMaster.php";
    $stMstrObj = new StatusMaster();
}
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 ($iOrganizationID != '') {
    $view = 'edit';
    // $orgObj->setiOrganizationID($iOrganizationID);
    $orgdtls = $orgObj->select($iOrganizationID);
    $orgvf = $orgvrfObj->getDetails('*', " AND iOrganizationID={$iOrganizationID} ", ' iVerifiedID DESC ', '', ' LIMIT 0,1 ');
    // prints($orgdtls); exit;
    if ($orgdtls[0]['eOrganizationType'] == 'Supplier') {
        $suplvl = 'Yes';
    } else {
        if ($orgdtls[0]['eOrganizationType'] == 'Buyer') {
            $bylvl = 'Yes';
        } else {
            if ($orgdtls[0]['eOrganizationType'] == 'Both') {
                $bylvl = 'Yes';
Exemplo n.º 5
0
include S_SECTIONS . "/member/memberaccess.php";
$mode = $_REQUEST['mod'];
//$mode = $_GET['mod'];
//echo $mode;exit;
$val = isset($_POST['val']) ? $_POST['val'] : '';
$vCompanyName = isset($_POST['org_name']) ? $_POST['org_name'] : '';
$vOrganizationCode = isset($_POST['org_code']) ? $_POST['org_code'] : '';
$eOrganizationType = isset($_POST['org_type']) ? $_POST['org_type'] : '';
$vCountry = isset($_POST['country']) ? $_POST['country'] : '';
$page = $_POST['page'];
if (trim($page) == '' || trim($page) < 1) {
    $page = 1;
}
if (!isset($orgvrfyObj)) {
    include_once SITE_CLASS_APPLICATION . "organization/class.Organization_Toverify.php";
    $orgvrfyObj = new Organization_Toverify();
}
$where = "";
if ($mode == 'all') {
    $where = " AND (orgtv.vCompanyName LIKE '%{$val}%' OR orgtv.vOrganizationCode LIKE '%{$val}%' OR orgtv.eOrganizationType LIKE '%{$val}%' OR orgtv.vCountry LIKE '%{$val}%')";
} else {
    if ($mode == 'srch') {
        if (trim($vCompanyName) != '') {
            $where = " AND orgtv.vCompanyName LIKE '%{$vCompanyName}%'";
        }
        if (trim($vOrganizationCode) != '') {
            $where .= " AND orgtv.vOrganizationCode LIKE '%{$vOrganizationCode}%'";
        }
        if (trim($eOrganizationType) != '') {
            $where .= " AND orgtv.eOrganizationType='{$eOrganizationType}'";
        }
Exemplo n.º 6
0
<?php

// 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;
Exemplo n.º 7
0
<?php

include S_SECTIONS . "/member/memberaccess.php";
$mode = $_POST['mode'];
$val = $_POST['val'];
if (!isset($orgObj)) {
    include_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($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'];
$sess_usertype_short = $_SESSION['SESS_' . PRJ_CONST_PREFIX . '_USER_TYPE_SHORT'];
if ($mode == 'status') {
    $where = "AND iOrganizationID IN ({$val})";
    $arr = $orgObj->getDetails('*', $where);
    foreach ($arr as $k => $v) {
Exemplo n.º 8
0
<?php

set_time_limit(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($orgObj)) {
    include_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($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($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();
Exemplo n.º 9
0
include S_SECTIONS . "/member/memberaccess.php";
$iASMID = $sess_id;
$iOrganizationID = GetVar('id');
$pg = GetVar('pg');
if ($sess_usertype == 'orgadmin' && $orgid != $iOrganizationID) {
    header("Location: " . SITE_URL_DUM . "oadashboard");
    exit;
}
if (!isset($orgObj)) {
    include_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($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($countryObj)) {
    include_once SITE_CLASS_APPLICATION . "class.Country.php";
    $countryObj = new Country();
}
if (!isset($stateObj)) {
    include_once SITE_CLASS_APPLICATION . "class.State.php";