first commit

This commit is contained in:
2024-11-11 15:28:20 +01:00
commit 3f5649dbc7
6231 changed files with 999089 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace admin\view;
class GlobelusAdverts
{
public static function answers_list( $advert, $answers )
{
$tpl = new \Tpl;
$tpl -> advert = $advert;
$tpl -> answers = $answers;
return $tpl -> render( 'globelus-adverts/answers-list' );
}
public static function main_view( $firms_list )
{
$tpl = new \Tpl;
$tpl -> firms_list = $firms_list;
return $tpl -> render( 'globelus-adverts/main-view' );
}
}