Location: PHPKode > projects > Absolut Engine > absolut-engine-33870/admin/filter.php
<?
echo '<div class="menubox1"><div class="menubox2"><div class="menubox3"><div class="menubox4"><div class="menubox5"><div class="menubox6"><div class="menubox7">';
echo '<div class="menubox8">';
echo '<h2><img src="images/filter.gif" alt="" /> <span class="bordertop">',$ae->textbasic[36],'</span></h2>';
echo '<strong>',$ae->textbasic[67],'</strong>';
echo '<ul class="menulist">';
echo '<li><form method="post" action="admin.php" id="fid2">';
echo '<input type="hidden" name="username" value="',$ae->username,'" /><input type="hidden" name="session" value="',$ae->session,'" />';
echo $ae->textbasic[98],' <input type="text" name="filtarticlenumber" size="2" maxlength="10" value="',$ae->filtarticlenumber,'" /><br />';
echo '<strong>',$ae->textbasic[122],'<strong>';
$ae->DBQuery("SELECT * FROM ".$ae->table[0]." ORDER BY section");
echo ' <select name="filtsectionID">';
echo '<option value="">',$ae->textbasic[97],'</option>';
while ($ae->DBGetRow())
{
$optionvalue=$ae->access["ID"];
$optiontext=$ae->access["section"];
echo '<option value="',$optionvalue,'"';
if ($ae->filtsectionID==$optionvalue) echo 'selected="selected"';
echo '>',substr($optiontext,0,20),'...</option>';
}
echo '</select><br />';
echo '<strong>',$ae->textbasic[120],'<strong>';
$ae->DBQuery("SELECT * FROM ".$ae->table[5]." ORDER BY fullname");
echo ' <select name="filtuserID">';
echo '<option value="">',$ae->textbasic[97],'</option>';
while ($ae->DBGetRow())
{
$optionvalue=$ae->access["ID"];
$optiontext=$ae->access["fullname"];
echo '<option value="',$optionvalue,'"';
if ($ae->filtuserID==$optionvalue) echo 'selected="selected"';
echo '>',substr($optiontext,0,20),'...</option>';
}
echo '</select><br />';
if ($ae->filtdatefrom) $ae->filtdatefrom=$ae->DateConversion($ae->filtdatefrom,2);
if ($ae->filtdateto) $ae->filtdateto=$ae->DateConversion($ae->filtdateto,2);
echo $ae->textbasic[84],' <input type="text" name="datefrom" size="5" maxlength="10" value="',$ae->filtdatefrom,'" /> ',$ae->textbasic[93],' <input type="text" name="dateto" size="5" maxlength="10" value="',$ae->filtdateto,'" />
<input type="submit" name="Submit" value="',$ae->textbasic[96],'" class="button" /> <input type="button" value="',$ae->textbasic[99],'" class="button" onclick="SetCookie(\'filtdatefrom\',\'0\',0,\'/\');SetCookie(\'filtdateto\',\'0\',0,\'/\');forms.fid2.datefrom.value=\'\';forms.fid2.dateto.value=\'\';forms.fid2.submit();"/></form></li>';
echo '</ul>';
echo '</div>';
echo '</div></div></div></div></div></div></div>';
?>
Return current item: Absolut Engine