A number of minor fixes
[PHPCredLocker.git] / modules / search / search.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/** Search Module
*
* Copyright (C) 2012 B Tasker
* Released under GNU GPL V2
* See LICENSE
*
*/
defined('_CREDLOCK') or die;
 
if (!BTMain::getUser()->name){ return; }
 
 
  $custs = new CustDB;
  $crdtypes=new CredDB;
  $crypt = new Crypto;
  $crypt->safety = 0;
 
?>
 
<form class="navbar-search hidden-phone" id='SearchForm' name='SearchForm'>
<input type="hidden" name="option" value="" id="SrchOpt">
<input type="hidden" name="id" value="" id="SrchID">
 
 
<input type="text" 
    autocomplete="off"
    class="search-query" 
    placeholder="Search"
    id='SearchBox'
    onfocus='checkExistingSearch(this.value,"SearchResBox");' 
    onblur='setTimeout("hideSearchDiv(\"SearchResBox\")",300);' 
    onkeyup="SearchTable(this.value,'SearchListing','SearchResBox',0);">
 
 
<input type="hidden" id="SelectedValue" autocomplete="off" value="0" disabled="disabled">
</form>
 
<div id="SearchResBox" style="display: none"></div>