first commit

This commit is contained in:
2024-11-17 19:56:17 +01:00
commit 81b1185f8e
6599 changed files with 832395 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' );
}
}