$post_number,'paged'=>$paged);
if ( isset($_GET['et_searchform_submit']) ) {
$postTypes = array();
if ( !isset($_GET['et-inc-posts']) && !isset($_GET['et-inc-pages']) ) $postTypes = array('post');
if ( isset($_GET['et-inc-pages']) ) $postTypes = array('page');
if ( isset($_GET['et-inc-posts']) ) $postTypes[] = 'post';
$args['post_type'] = $postTypes;
if ( $_GET['et-month-choice'] != 'no-choice' ) {
$et_year = substr($_GET['et-month-choice'],0,4);
$et_month = substr($_GET['et-month-choice'], 4, strlen($_GET['et-month-choice'])-4);
$args['year'] = $et_year;
$args['monthnum'] = $et_month;
}
if ( $_GET['et-cat'] != 0 )
$args['cat'] = $_GET['et-cat'];
}
$args = array_merge($args,$qstring_array);
query_posts($args);
?>