use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("<table border=0 cellpadding=0 cellspacing=1 class=atkMainTable>\n<tr><td class=atkHeader>Search commissions</td></tr>\n<tr><td><table class=atkInnerTable cellpadding=4 cellspacing=3 width=100\%>\n\n<tr>\n	<td class=atkEditorRight>\n\n	<table cellpadding=0 cellspacing=0 width=100\%>\n	<tr>\n		<td class=atkEditorLeft>Sale ID</td>\n		<td class=atkEditorLeft>&nbsp;&nbsp;</td>\n		<td class=atkEditorRight>$C->{SearchForm}{sale_id}</td>\n		<td width=\"20\">&nbsp;</td>\n		<td class=atkEditorRight colspan=3>$C->{SearchForm}{paid_no} Display only unpaid commissions</td>\n	</tr>\n	<tr>\n		<td class=atkEditorLeft>Period</td>\n		<td class=atkEditorLeft>&nbsp;&nbsp;</td>\n		<td class=atkEditorRight><nobr>$C->{SearchForm}{made_after} &nbsp; to &nbsp; $C->{SearchForm}{made_until}</nobr></td>\n		<td width=\"20\">&nbsp;</td>\n		<td class=atkEditorRight colspan=3>$C->{SearchForm}{paid_only} Display only paid commissions</td>\n	</tr>\n	<tr>\n		<td class=atkEditorLeft>Affiliate</td>\n		<td class=atkEditorLeft>&nbsp;&nbsp;</td>\n		<td class=atkEditorRight>$C->{SearchForm}{ben_user_id}</td>\n		<td width=\"20\">&nbsp;</td>\n		<td class=atkEditorRight colspan=3>$C->{SearchForm}{cancelled_no} Do not display refunded commissions</td>\n	</tr>\n	<tr>\n		<td class=atkEditorLeft>Description / Product title</td>\n		<td class=atkEditorLeft>&nbsp;&nbsp;</td>\n		<td class=atkEditorRight>$C->{SearchForm}{descr}</td>\n		<td width=\"20\">&nbsp;</td>\n		<td class=atkEditorRight colspan=3>$C->{SearchForm}{cancelled_only} Display only refunded commissions</td>\n	</tr>\n");if ( ! $C->{ENV}{JIN_DSIMPLE} ) {$this->out("	<tr>\n		<td class=atkEditorLeft>Type</td>\n		<td class=atkEditorLeft>&nbsp;&nbsp;</td>\n		<td class=atkEditorRight>$C->{SearchForm}{type}</td>\n		<td width=\"20\">&nbsp;</td>\n		<td class=atkEditorRight colspan=3>$C->{SearchForm}{recur_no} Do not display recurring commissions</td>\n	</tr>\n");}$this->out("\n	</table>\n\n\n</table></td></tr>\n<tr>\n	<td class=atkEditorControl>\n	<input type=submit class=\"btn btn-primary\" value=\"SEARCH COMMISSIONS\">\n	</td>\n</tr>\n</table>\n");}