$v = array($t => $r['db']); } if ($r['search']) { $search_config['possible_fields'] += $v; } if ($r['select']) { $search_config['select_fields'] += $v; } } b1n_getVar('search_text', $search['search_text']); b1n_getVar('search_field', $search['search_field']); b1n_getVar('search_order', $search['search_order']); b1n_getVar('search_order_type', $search['search_order_type']); b1n_getVar('search_quantity', $search['search_quantity']); b1n_getVar('pg_actual', $search['pg_actual']); $search = b1n_search($sql, $search_config, $search); ?> <center> <br /> <br /> <table cellspacing="0" cellpadding="0" class="maintable"> <tr> <td> <table cellspacing="1" cellpadding="5" class="inttable"> <tr> <td class="box" colspan="2"><?php echo $page1_title; ?> - Search</td> </tr> <tr>
<?php /* $Id: list.php,v 1.3 2002/12/21 18:16:32 binary Exp $ */ $search_config = array('possible_fields' => array('Name' => 'lnk_name', 'URL' => 'lnk_url', 'Desc' => 'lnk_desc'), 'select_fields' => array('Name' => 'lnk_name', 'URL' => 'lnk_url', 'Desc' => 'lnk_desc'), 'possible_quantities' => array('10' => '10', '20' => '20', '30' => '30', '50' => '50', '100' => '100'), 'session_hash_name' => 'link', 'table' => 'link', 'id_field' => 'lnk_id'); b1n_getVar('search_text', $search['search_text']); b1n_getVar('search_field', $search['search_field']); b1n_getVar('search_order', $search['search_order']); b1n_getVar('search_order_type', $search['search_order_type']); b1n_getVar('search_quantity', $search['search_quantity']); b1n_getVar('pg_actual', $search['pg_actual']); $where_plus = " AND usr_id = '" . b1n_inBd($_SESSION['user']['usr_id']) . "' "; $search = b1n_search($sql, $search_config, $search, true, $where_plus); ?> <center> <br /> <br /> <table cellspacing="0" cellpadding="0" class="maintable"> <tr> <td> <table cellspacing="1" cellpadding="5" class="inttable"> <tr> <td class="box" colspan="2"><?php echo $page1_title; ?> - Search</td> </tr> <tr> <td class='formitem'>Search Field <form method="post" name="form_search" action="<?php echo b1n_URL; ?>