bernd
Benutze überall title() statt output("<h3>...</h3>")
bernd commited f2550e9 at 2010-09-18 13:35:15
<?php
require_once('inc/base.php');
require_once('inc/debug.php');
require_once('class/customer.php');
require_once('session/start.php');
require_once('crm.php');
require_role(ROLE_SYSADMIN);
$debug = '';
if ($debugmode)
$debug = 'debug&amp;';
html_header('<script type="text/javascript" src="'.$prefix.'js/ajax.js" ></script>
<script type="text/javascript">
<!--
function doRequest() {
ajax_request(\'crm_ajax\', \''.$debug.'q=\'+document.getElementById(\'query\').value, got_response)
}
function keyPressed() {
if(window.mytimeout) window.clearTimeout(window.mytimeout);
window.mytimeout = window.setTimeout(doRequest, 500);
return true;
}
function got_response() {
if (xmlHttp.readyState == 4) {
document.getElementById(\'response\').innerHTML = xmlHttp.responseText;
}
}
// -->
</script>
');
title('Customer Relationship Management');
output(html_form('crm_main', '', '', 'Kunde nach Stichwort suchen: <input type="text" id="query" onkeyup="keyPressed()" />
'));
output('<div id="response"></div>');
if (isset($_SESSION['crm_customer'])) {
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX