Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 391 | Revision 405 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 391 Revision 398
Zeile 218... Zeile 218...
218
            "langstrings"       => $GLOBALS["langstrings"],
218
            "langstrings"       => $GLOBALS["langstrings"],
219
        ] );
219
        ] );
220
    } );
220
    } );
221
    Route::get( '/', function ()
221
    Route::get( '/', function ()
222
    {
222
    {
-
 
223
	    $date = date("Y-m-d");
223
        $aktion = Action::with( 'medium.medium' )->get();
224
        $aktion = Action::with( 'medium.medium' )->where('valid_from','<=',$date)->where('valid_to','>=',$date)->get();
224
        return view( 'startpage', [
225
        return view( 'startpage', [
225
            "serviceCenterMenu" => $GLOBALS["serviceCenterMenu"],
226
            "serviceCenterMenu" => $GLOBALS["serviceCenterMenu"],
226
            "pagetype"          => "Startseite",
227
            "pagetype"          => "Startseite",
227
            "aktion"            => $aktion,
228
            "aktion"            => $aktion,
228
            "nav"               => $GLOBALS["menu"],
229
            "nav"               => $GLOBALS["menu"],