<?
$tabid=$_SESSION[`TabId`];
$Sstr=$_SESSION[`Sstring`];
if ($Sstr <> "")
   $SCond = " and (instr(Tabs.Description,`$Sstr`)>0 " .
   	       "or instr(Tabs.Title,`$Sstr`)>0 " .
   	       "or instr(Tabs.TabName,`$Sstr`)>0 " .
   	         ") ";
else
   $SCond = " ";
$mw=$_SESSION[`Smw`];
$filter=$SCond . $mw;
$bycat="no";
echo "<iframe name=bframe scrolling=automatic";
echo " src=BlogList.php?tabid=$tabid,&filter=$filter&bycat=$bycat";
echo " width=100% height=400 >";
echo "</iframe>";
?>