$page->auth->isOwner(TBL_CONTACT," and contact_id='$_REQUEST[contact_id]'")==0) { $page->auth->SendToRefrerPage(); exit(); } */ $em = new Event_Contacts(); $contact = new Contacts(); $ajax = new PHPLiveX(); $evt = new Event(); $note = new Note(); $notify = new Notification(); $cert = new Certification_Type(); $app = new Application(); /******************** Contact Object ***********************/ $em->SetUserID($page->auth->Get_user_id()); $em->SetContactID($_REQUEST[contact_id]); $em->SetUserName($page->auth->Get_user_name()); $_SESSION['contact_id'] = $em->GetContactID(); /*********************************************************/ /******************** Task Object ***********************/ $user = new User(); $task = new Tasks(); $task->SetUserObject($user); $task->SetUserID($page->auth->Get_user_id()); $ajax->AjaxifyObjects(array("secure", "cert", "em", "task", "note")); /*******************************************************/ $page->setPageKeywords(''); $page->setPageDescription(''); $page->setPageTitle("CONTACT PROFILE"); $page->setActiveButton('2');
<?php require_once 'app_code/config.inc.php'; require_once 'class/class.contacts.php'; require_once 'app_code/zipcode.class.php'; require_once 'app_code/class.Event_Contacts.php'; $page = new basic_page(); $em = new Event_Contacts(); $em->SetUserID($_SESSION['user_id']); $contact_id = $vars['contact_id']; ?> <table style="width: 100%"><tr><td style="width: 80%;"> <div id="content_column_header"> Edit Contact </div> <div class="contact_form cf_editor"> <div><?php echo $em->edit_contact_ui($contact_id); ?> </div> </div> <hr class="cf_break"> <a style="font-weight: bold;" onclick="<?php echo $page->dynamic_page->phplivex_subpage_link('contacts', 'contact_profile', 'display_contact_area', array('contact_id' => $em->get_company_contact_id($contact_id))); ?> " >« Back To Contact</a>