function select_payment($name, $value, $extra = '') { return NL . '<select id="' . $name . '" name="' . $name . '" ' . $extra . ' onchange="onChangePayment( this );">' . get_control_options('PM', $name, $value) . NL . '</select>'; }
function search_category($search_category) { # $url = INDEX . get_session( 'contr' ); $url = INDEX . 'productslx'; return '' . NL . '<div class=right>' . NL . '<form action="' . $url . '" method="post">' . NL . '<span id=category>' . NL . '<select id="search_category" name="search_category" onchange="submit()" >' . NL . get_control_options('CA', 'search_category', $search_category, 'All') . NL . '</select>' . NL . '</span>' . NL . '</form>' . NL . '</div>' . NL . '<div class=right>' . NL . '<span class=fs90>' . translate('Category') . ': </span>' . NL . '</div>' . NL . '<div class=clear></div>'; }