<s:execute b:action="show" /> <s:include b:url="b-livegrid/b-livegrid.xml" /> <s:loading><div class="Loading">updating results<span id="loadingDots">.</span></div></s:loading> <b:box style="width:519px;position:absolute;left:50%;margin-left:-260px;"> <h1 style="text-align:center;font-size:22px;margin:15px 0px;">Welcome to <img align="absmiddle" src="gfx/ma_search.gif" /></h1> <b:tabbox style="height:441px;"> <b:tab b:label="Web"> <!--==== Web ====--> <b:box style="width:460px;"> <b:button style="float:right;"> <s:event b:on="command"> <s:render b:destination="../../div[1]"> <div> <div style="padding:2px;"> <div style="float:right;">&#160;for&#160;'<s:textnode b:label="{../input[1]/@value}" />'</div> <b:livegrid-listener style="float:right;" b:listento="../../b:livegrid[1]" /> <div style="float:right;">Results:&#160;</div> <div>&#160;</div> </div> <b:livegrid b:datasource="{concat('search.php?query=', ../input[1]/@value,'&amp;type=',ancestor-or-self::b:tab/@b:label)}" b:stylesheet="{concat('xslt/',ancestor-or-self::b:tab/@b:label,'.xsl')}" b:totalattribute="totalResultsAvailable" style="width:460px; height:325px;" /> </div> </s:render> </s:event> Search </b:button> <label style="width:110px;display:block;float:left;">Search the Web:</label> <input type="text" style="width:250px;"><s:whenactive><s:keys b:keys="enter" b:action="trigger" b:event="command" b:target="~-b:button[1]" /></s:whenactive></input> </b:box> <div class="SearchBox"> <div style="padding:2px;">&#160;</div> <div class="b-livegrid" style="width:460px; height:325px;"></div> </div> </b:tab> <b:tab b:label="Images"> <!--==== IMAGES ====--> <b:box style="width:460px;"> <b:button style="float:right;"> <s:event b:on="command"> <s:render b:destination="../../div[1]"> <div> <div style="padding:2px;"> <div style="float:right;">&#160;for&#160;'<s:textnode b:label="{../input[1]/@value}" />'</div> <b:livegrid-listener style="float:right;" b:listento="../../b:livegrid[1]" /> <div style="float:right;">Results:&#160;</div> <div>&#160;</div> </div> <b:livegrid b:datasource="{concat('search.php?query=', ../input[1]/@value,'&amp;type=',ancestor-or-self::b:tab/@b:label)}" b:stylesheet="{concat('xslt/',ancestor-or-self::b:tab/@b:label,'.xsl')}" b:totalattribute="totalResultsAvailable" style="width:460px; height:325px;" /> </div> </s:render> </s:event> Search </b:button> <label style="width:110px;display:block;float:left;">Search Images:</label> <input type="text" style="width:250px;"><s:whenactive><s:keys b:keys="enter" b:action="trigger" b:event="command" b:target="~-b:button[1]" /></s:whenactive></input> </b:box> <div class="SearchBox"> <div style="padding:2px;">&#160;</div> <div class="b-livegrid" style="width:460px; height:325px;"></div> </div> </b:tab> <b:tab b:label="Video"> <!--==== VIDEO ====--> <b:box style="width:460px;"> <b:button style="float:right;"> <s:event b:on="command"> <s:render b:destination="../../div[1]"> <div> <div style="padding:2px;"> <div style="float:right;">&#160;for&#160;'<s:textnode b:label="{../input[1]/@value}" />'</div> <b:livegrid-listener style="float:right;" b:listento="../../b:livegrid[1]" /> <div style="float:right;">Results:&#160;</div> <div>&#160;</div> </div> <b:livegrid b:datasource="{concat('search.php?query=', ../input[1]/@value,'&amp;type=',ancestor-or-self::b:tab/@b:label)}" b:stylesheet="{concat('xslt/',ancestor-or-self::b:tab/@b:label,'.xsl')}" b:totalattribute="totalResultsAvailable" style="width:460px; height:325px;" /> </div> </s:render> </s:event> Search </b:button> <label style="width:110px;display:block;float:left;">Search Videos:</label> <input type="text" style="width:250px;"><s:whenactive><s:keys b:keys="enter" b:action="trigger" b:event="command" b:target="~-b:button[1]" /></s:whenactive></input> </b:box> <div class="SearchBox"> <div style="padding:2px;">&#160;</div> <div class="b-livegrid" style="width:460px; height:325px;"></div> </div> </b:tab> <b:tab b:label="News"> <!--==== NEWS ====--> <b:box style="width:460px;"> <b:button style="float:right;"> <s:event b:on="command"> <s:render b:destination="../../div[1]"> <div> <div style="padding:2px;"> <div style="float:right;">&#160;for&#160;'<s:textnode b:label="{../input[1]/@value}" />'</div> <b:livegrid-listener style="float:right;" b:listento="../../b:livegrid[1]" /> <div style="float:right;">Results:&#160;</div> <div>&#160;</div> </div> <b:livegrid b:datasource="{concat('search.php?query=', ../input[1]/@value,'&amp;type=',ancestor-or-self::b:tab/@b:label)}" b:stylesheet="{concat('xslt/',ancestor-or-self::b:tab/@b:label,'.xsl')}" b:totalattribute="totalResultsAvailable" style="width:460px; height:325px;" /> </div> </s:render> </s:event> Search </b:button> <label style="width:110px;display:block;float:left;">Search the News:</label> <input type="text" style="width:250px;"><s:whenactive><s:keys b:keys="enter" b:action="trigger" b:event="command" b:target="~-b:button[1]" /></s:whenactive></input> </b:box> <div class="SearchBox"> <div style="padding:2px;">&#160;</div> <div class="b-livegrid" style="width:460px; height:325px;"></div> </div> </b:tab> </b:tabbox> <center><img align="absmiddle" style="margin-top:10px;" src="gfx/powered_by_backbase.png" /></center> </b:box>