3 <script type="text/javascript" src="js/jquery.js"></script>
4 <script type="text/javascript">
6 function on_keydown_quicksearch(e) {
10 key = window.event.keyCode; // IE
12 key = e.which; // Firefox
17 var search_term = $("#search_term");
18 var value = search_term.val();
22 var url = "ct.pl?action=list_contacts&INPUT_ENCODING=utf-8&filter.status=active&search_term=" + encodeURIComponent(value);
25 $("#win1").attr('src', url);
32 var h = now.getHours();
33 var m = now.getMinutes();
34 document.getElementById('clock_id').innerHTML = (h<10?'0'+h:h)+":"+(m<10?'0'+m:m);
35 var timer=setTimeout("clockon()", 10000);
41 <table border="0" width="100%" background="image/bg_titel.gif" cellpadding="0" cellspacing="0">
43 <td style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>
45 [<a href="login.pl?action=company_logo" target="_blank">[% 'new Window' | $T8 %]</a>]
47 [<a href="JavaScript:top.print()">[% 'print' | $T8 %]</a>]
49 [[% 'Search contacts' | $T8 %] <input size="15" name="search_term" id="search_term" onkeydown="return on_keydown_quicksearch(event)">]
51 <td align="right" style="vertical-align:middle; color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>
52 [[% 'User' | $T8 %]: [% HTML.escape(login) %] -
53 <a href="controller.pl?action=LoginScreen/logout" target="_top">[% 'logout' | $T8 %]</a>]
54 [% date %] <span id='clock_id' style='position:relative'></span>
64 <div style="clear: both;"></div>