first commit

This commit is contained in:
2025-06-26 22:58:38 +02:00
commit 6a43f12753
674 changed files with 31666 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' );
}
}