first commit

This commit is contained in:
2026-02-28 11:43:07 +01:00
commit 1946f96bf8
5772 changed files with 817711 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace front\view;
class Search
{
public static function search_results( $articles )
{
$tpl = new \Tpl;
$tpl -> articles = $articles;
return $tpl -> render( 'search/search-results' );
}
public static function search_form()
{
$tpl = new \Tpl;
return $tpl -> render( 'search/search-form' );
}
}