Пример #1
0
<div class="contact_form">
<div class="profile_box1" id="div_doc" style="font-weight:bold;">
<a style="color:#FF0000; font-size:15px;" onclick="javascript: if(this.innerHTML=='-'){
																this.innerHTML = '+';
																document.getElementById('note_div').style.visibility = 'hidden';
																}
																else {
																this.innerHTML = '+';
																document.getElementById('note_div').style.visibility = 'visible';
																this.innerHTML = '-';
																} ">-</a>&nbsp;Note</div></div> 
<?php 
?>
<div class="Clear" id="note_div" style="visibility:visible"><?php 
if ($_POST[submit] == 'add message') {
    $note->Create_Note('server', $_REQUEST[project_id], 'Project', $page->auth->Get_user_id());
    exit;
} else {
    $note->Create_Note('local', $_REQUEST[project_id], 'Project', $page->auth->Get_user_id());
}
?>
</div>
</div>
	<?php 
echo $note->Get_Note($_REQUEST[project_id], 'Project');
// **********************Closes the Content Column and begins Info Column ****************************//
$page->printContentColumnEnd();
// **********************Start code for Info Column ****************************//
/*?><a href="javascript:void(0);" id="task_link" onclick="document.getElementById('task_form').style.display=''; this.style.display='none'; return false;"><img src="images/add_task.png" class="action_links" /></a><br />

<div class="form_bg" style="display:none;" id="task_form">
Пример #2
0
<?php */
?>
    <?php 
if (PHONE_SYSTEM == "asterisk") {
    $asterisk->display_call_rec($em->get_contact_phone($em->GetContactID()), "5");
}
?>

    
</div></div></div>

<?php 
?>
<div class="Clear"><?php 
if ($_POST[submit] == 'add message') {
    $note->Create_Note('server', $em->GetContactID(), $contact->module, $page->auth->Get_user_id());
    exit;
} else {
    $note->Create_Note('local', $em->GetContactID(), $contact->module, $page->auth->Get_user_id());
}
?>
</div>
	<div>
	<?php 
echo $note->Get_Note($em->GetContactID(), $contact->module);
?>
		
    </div>
<?php 
// **********************Closes the Content Column and begins Info Column ****************************//
$page->printContentColumnEnd();
Пример #3
0
?>
" />


<div id="div_event"   class="" style="display:none;"></div>
<div id="div_event"   class="" style="display:none;"></div>
<div id="prl" style="visibility:hidden;"><img  id="prl_image" src="images/spinner.gif"  /></div>
<div id="content_column_header" >Projects</div>
<div class="form_main">
	<div>My Projects</div>
	<div id="basic"></div>
</div>
<div>Project Notes</div>
	<?php 
if ($_POST["submit"] == 'add message') {
    $note->Create_Note('server', $project_id, "PROJECTS", $page->auth->Get_user_id());
    exit;
} else {
    $note->Create_Note('local', $project_id, "PROJECTS", $page->auth->Get_user_id());
}
echo $note->Get_Note($project_id, "PROJECTS");
$page->printContentColumnEnd();
?>
<div>Project Users <a href="#" onclick="<?php 
echo $yui->show_panel('addUser');
?>
" >Edit Users</a></div>
<div id="projectUsers"></div>
<div style="height: 15px">&nbsp;</div>
<div>Project Links<a href="#" onclick="<?php 
echo $yui->show_panel('addLink');
Пример #4
0
    		<div id="task_area" class="small_text"><?php echo $task->GetTaskForProjectProfile('','','','','','','',1,'TBL_CONTACT','11059'); ?></div>
    	</div>
    	<h4>Task Stats</h4>
    	<div class="form_main">
    		<div id="task_area" class="small_text"><?php //echo $global_task->show_predict(); ?></div>
    	</div>
    	<h4>Documents</h4><div style="height:auto" id="show_doc">
    	<iframe src="upload_doc.php?action=show" frameborder="0" scrolling="yes" height="100%" width="100%" style="padding: 0px 0px 0px 0px"></iframe>
    </div>
    <?php */
    ?>

<div style="width:68%;">
		<?php 
    if ($_POST[submit] == 'add message') {
        $note->Create_Note('server', $_SESSION['order_id'], 'ORDER', $page->auth->Get_user_id());
        exit;
    } else {
        $note->Create_Note('local', $_SESSION['order_id'], 'ORDER', $page->auth->Get_user_id());
    }
    ?>
</div>
<div><?php 
    echo $note->Get_Note($_SESSION['order_id'], 'ORDER');
    ?>
</div>

<?php 
    $page->displayPageBottom();
} else {
    ?>
Пример #5
0
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';
require_once 'class/class.note.php';
require_once 'class/class.tasks.php';
require_once 'app_code/global.config.php';
require_once 'app_code/class.CertificationType.php';
require_once 'app_code/class.application.php';
require_once 'app_code/class.Event.php';
require_once 'class/class.securenote.php';
$secure = new secure();
if (PHONE_SYSTEM == "asterisk") {
    require_once 'class/class.asterisk.php';
    $asterisk = new Asterisk();
}
$contact_id = $vars['contact_id'];
$em = new Event_Contacts();
$em->SetContactID($contact_id);
$contact = new Contacts();
$evt = new Event();
$page = new basic_page();
$note = new Note();
$task = new Tasks();
$notify = new Notification();
$cert = new Certification_Type();
$app = new Application();
$dynamic_page = new dynamic_page();
$note->Create_Note('server', '', '', $_SESSION['user_id']);