<?php require_once 'class/config.inc.php'; require_once 'class/class.contacts.php'; require_once 'class/class.note.php'; $page = new basic_page(); $page->auth->Checklogin(); $contact = new Company_Global(); $contact->SetGroups($page->auth->Get_group()); $contact->SetUserID($page->auth->Get_user_id()); $pattern = $_REQUEST[query]; echo "{ \nquery :'" . $pattern . "',"; echo $output = $contact->GetContact($pattern, '', '', 'yes'); echo ' }';
<?php //ini_set('display_errors',1); require 'app_code/config.inc.php'; require_once 'class/class.contacts.php'; require 'class/class.ManageCategories.php'; $page = new basic_page(); $user = new User(); $page->auth->Checklogin(); $obj = new ManageCategories(); //$notify= new Notification(); $contact = new Company_Global(); $contact->SetUserID($page->auth->Get_user_id()); $contact->SetUserName($page->auth->Get_user_name()); $ajax = new PHPLiveX(); //$ajax -> AjaxifyObjects(array("")); //$task -> SetUserObject($user); //$task -> SetUserID($page->auth->Get_user_id()); $page->setPageKeywords(''); $page->setPageDescription(''); $page->setPageTitle("MANAGE CATEGORIES"); $page->setActiveButton('5'); $page->setInnerNav('0'); $page->SetDynamicCSS_1('main_style.php'); $page->SetDynamicCSS_2('form.php'); $page->setCustomJavaScripts(''); //*********************Page Style *******************************// // used to set page styles. This should be used sparingly. External css should be used instead. $page->setPageStyle($page_style); $page->displayPageTop(); // **********************Start html for content column ****************************//
function RemoveContact($contact_id) { /* $sql="delete from ".EM_CONTACT_STATUS." where contact_id=$contact_id "; $this->db->query($sql,__FILE__,__LINE__); $sql="delete from ".EM_WEB_APP_INFO." where contact_id=$contact_id "; $this->db->query($sql,__FILE__,__LINE__); $sql="delete from ".EM_CERTIFICATION." where contact_id=$contact_id "; $this->db->query($sql,__FILE__,__LINE__); $sql="delete from ".EM_CONTACT_LOCATION." where contact_id=$contact_id "; $this->db->query($sql,__FILE__,__LINE__); $sql="delete from ".EM_APPLICATION_GENERAL." where contact_id=$contact_id "; $this->db->query($sql,__FILE__,__LINE__); $sql="delete from ".EM_APPLICATION_EDUCATION." where contact_id=$contact_id "; $this->db->query($sql,__FILE__,__LINE__); $sql="delete from ".EM_APPLICATION_REFERENCES." where contact_id=$contact_id "; $this->db->query($sql,__FILE__,__LINE__); $sql="delete from ".EM_APPLICATION_PREVIOUS_EMPLOYMENT." where contact_id=$contact_id "; $this->db->query($sql,__FILE__,__LINE__); $sql="delete from ".EM_APPLICATION_MILITARY_SERVICE." where contact_id=$contact_id "; $this->db->query($sql,__FILE__,__LINE__); $sql="delete from ".EM_CONTACT_DOCUMENTS." where contact_id=$contact_id "; $this->db->query($sql,__FILE__,__LINE__); $sql="delete from ".EM_CONTACT_UNAVAILABILITY." where contact_id=$contact_id "; $this->db->query($sql,__FILE__,__LINE__); */ parent::RemoveContact($contact_id); }
<?php $debug = $_GET["debug"]; if ($debug == "yes") { ini_set("display_errors", 1); } require_once 'class/config.inc.php'; require_once 'app_code/global.config.php'; require_once 'class/class.contacts.php'; require_once 'class/class.tasks.php'; require_once 'class/class.file.php'; $page = new basic_page(); $page->auth->Checklogin(); $ajax = new PHPLiveX(); $contact = new Company_Global(); $task = new Tasks(); $file = new File(); $ajax->AjaxifyObjects(array("contact")); $task->SetUserObject($user); $task->SetUserID($page->auth->Get_user_id()); $user = new User(); $contact->SetUserID($page->auth->Get_user_id()); $contact->SetUserName($page->auth->Get_user_name()); $contact->SetContactID($_REQUEST[contact_id]); $page->setPageKeywords(''); $page->setPageDescription(''); $page->setPageTitle("TAG"); $page->setActiveButton('2'); //$page -> setInnerNav(''); //$page -> setImportCss1('main_style.css'); //$page -> setImportCss2('form.css');
<?php @session_start(); if ($_REQUEST[download] == true and $_SESSION[vcard] != '') { $name = $_SESSION[filename]; Header("Content-Disposition: attachment; filename={$name}"); Header("Content-Length: " . strlen($_SESSION[vcard])); Header("Connection: close"); Header("Content-Type: text/x-vCard; name={$name}"); echo $_SESSION[vcard]; $_SESSION[vcard] = ''; $_SESSION[vcardname] = ''; exit; } require 'class/config.inc.php'; require 'class/class.contacts.php'; $page = new basic_page(); $page->auth->Checklogin(); $contact = new Company_Global(); $contact_id = $_REQUEST[contact_id]; $contact->ExportVcard($contact_id); ?> <script type="text/javascript"> window.location='exportVcard.php?download=ture'; </script>
<?php require 'class/config.inc.php'; require 'class/class.contacts.php'; $page = new basic_page(); $page->auth->Checklogin(); $notify = new Notification(); $contact = new Company_Global(); $contact->SetGroups($page->auth->Get_group()); $contact->SetUserID($page->auth->Get_user_id()); $contact->SetUserName($page->auth->Get_user_name()); $page->setPageKeywords(''); $page->setPageDescription(''); $page->setPageTitle("CSV IMPORT"); $page->setActiveButton('2'); //$page -> setInnerNav(''); //$page -> setImportCss1('main_style.css'); //$page -> setImportCss2('form.css'); $page->SetDynamicCSS_1('main_style.php'); $page->SetDynamicCSS_2('form.php'); $page->setImportCss3(''); $page->setImportCss4(''); $page->setImportCss5(''); //$page -> setExtJavaScripts($external_js); // might not need //*********************Page Style *******************************// // used to set page styles. This should be used sparingly. External css should be used instead. $page_style = ' '; $page->setCustomJavaScripts(' function validateExtension(Form_Name,Upload_File) {
<?php require_once 'class/config.inc.php'; require_once 'class/class.contacts.php'; $contact = new Company_Global(); echo $contact->GetCompanyJson($_REQUEST[tag]);
<?php require_once 'class/config.inc.php'; require_once 'class/class.contacts.php'; $contact = new Company_Global(); echo $contact->GetContactsJson($_REQUEST[tag]);
<?php require '../class/config.inc.php'; require_once '../class/class.contacts.php'; $contact = new Company_Global(); echo $contact->GetContactsJson($_REQUEST[keyword]);
<div style="height: 40px;padding-left: 55px;position: absolute;right: 0px;top: 2px;display:inline-block;width: 100%;background: #729BC7"> <div style="display: inline-block;position: relative;width: 50px;" ></div> <input onkeyup="contact.GetContact( $(this).val() , '' ,'','','contact',{target: 'search_result', preloader: 'prl'});" style="width: 250px;top: 5px;position: relative;" class="welcome_quicksearch ui-autocomplete-input" id="search" > <div class="buttons_menu" style="position: relative; left: 50px;display:inline-block; background: #729BC7;font-weight: bold;" > <div style="display: inline-block;" class="page_buttons contact_list " onclick="em.create_contact({onUpdate: function(response,root){dynamic_page.phplivex_subpage('contacts' , 'edit' ,{'contact_id': response } , { target: 'display_contact_area' });}})">Create Contact</div> </div> </div> <div style="padding: 25px;width: 300px;display:inline-block;position: absolute;top:20px;left: 0px;background: #729BC7;z-index: -2;border-bottom-right-radius: 10px;" id="search_result" > <?php $contact = new Company_Global(); echo $contact->GetContact('', '', '', '', 'contact'); ?> </div> <div class="auto_resize_width_minus_350" style="display:inline-block;position: absolute;top:40px;left: 350px;background: #729BC7;min-width: 10px;min-height: 10px; width: 1000px;"> <div style="background: white; border-top-left-radius: 10px;padding: 25px;" id="display_contact_area"> </div> </div>
<?php @session_start(); if ($_REQUEST[download] == true and $_SESSION[csv] != '') { header("Content-Disposition: attachment; filename=employer.csv"); header("Content-Length: " . strlen($_SESSION[csv])); header("Connection: close"); header("Content-Type: text/x-csv;"); echo $_SESSION[csv]; $_SESSION[csv] = ''; exit; } require 'class/config.inc.php'; require 'class/class.contacts.php'; $page = new basic_page(); $page->auth->Checklogin(); $contact = new Company_Global(); $contact->ExportCsv('server'); ?> <script type="text/javascript"> window.location='exportCsv.php?download=ture'; </script>
<?php require 'class/config.inc.php'; require 'class/class.contacts.php'; require 'class/class.note.php'; $page = new basic_page(); //$page->auth->Checklogin(); $contact = new Company_Global(); $contact->SetGroups($page->auth->Get_group()); $contact->SetUserID($page->auth->Get_user_id()); $contact->SetUserName($page->auth->Get_user_name()); $pattern = trim($_REQUEST['pattern']); if ($pattern != '') { echo '<ul>'; echo $contact->GetContact($pattern, '', 'listonly'); echo '</ul>'; }