"baseurl" => $config_q["baseurl"]."/".$a_path[0], "max_items" => $quotes_temp[0]["quotes_total_count"], )); break; case "latest-quotes-%page%": $context["h1"] = _("Latest quotes"); $context["fake_h1"] = _("Latest quotes"); $quotes_temp = quote::get_quotes(array( "start" => (navi::get_current_page()-1)*$config_q["quotes_on_page"], "length" => $config_q["quotes_on_page"], "order_by" => "created_time desc", )); $context["quotes"] = $quotes_temp; $context["navi"] = navi::get_page_navi(array( "baseurl" => $config_q["baseurl"]."/".$a_path[0], "max_items" => $quotes_temp[0]["quotes_total_count"], )); break; /* Search */ case "search": $smarty_q->assign("title", _("Search")); $smarty_q->assign("show_sidecontent", false); $smarty_q->assign("content", ' <div id="cse-search-results"></div> <script type="text/javascript"> var googleSearchIframeName = "cse-search-results"; var googleSearchFormName = "cse-search-box"; var googleSearchFrameWidth = 900; var googleSearchDomain = "www.google.com";