Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
Probier mal das
PHP:$cfg['site_url'] = 'https://lose-script-shop.kilu.de/';
<?php
include('config.php');
include('inc/function.php');
include('inc/setdefault.php');
$header['subtitel'] = template('header_subtitel_home');
switch ($_GET['site']) {
case 'impressum':
$main['titel'] = template('titel_standard', array('titel' => $cfg['site_titel']));
$main['titel'] .= template('titel_standard', array('titel' => ' > Impressum'));
$main['content'] = template('impressum');
break;
case 'lizenz':
$main['titel'] = template('titel_standard', array('titel' => $cfg['site_titel']));
$main['titel'] .= template('titel_small', array('titel' => ' > '));
$main['titel'] .= template('titel_gelb', array('titel' => 'Lizenzbestimmungen'));
$main['content'] = template('lizenz');
break;
case 'shop':
$main['titel'] = template('titel_standard', array('titel' => $cfg['site_titel']));
$main['content'] = kategorie2kurzinfo($_GET['kat']);
break;
case 'angebote':
$main['titel'] = template('titel_standard', array('titel' => $cfg['site_titel']));
$main['titel'] .= template('titel_small', array('titel' => ' > '));
$main['titel'] .= template('titel_gelb', array('titel' => 'Sonderangebote'));
$main['content'] = angebote();
break;
default:
if (!isset($_GET['return'])) {
$main['titel'] = template('titel_standard', array('titel' => $cfg['site_titel']));
} else {
$main['titel'] = template('titel_standard', array('titel' => $cfg['site_titel']));
$main['titel'] .= template('titel_gelb', array('titel' => ' > '.returncode($_GET['return'])));
}
$main['content'] = template('home');
}
$site['header'] = template('header', $header);
$site['content'] = template('main', $main);
$kategorien['titel'] = template('titel_standard', array('titel' => 'Kategorien'));
$kategorien['content']= template('user_menue_kategorien', array('subkategorien' => kategorie_menue($_GET['kat'])));
$site['navigation'] = template('menu_user', array('online' => counter_online(),'besucher' => counter_besucher(), 'pageviews' => counter_pageviews()));
$site['navigation'] .= template('navi', $kategorien);
$site['footer'] = template('footer');
print template('site', $site);
?>
<?php
$site = NULL;
$navigation = NULL;
$content = NULL;
$header = NULL;
$footer = NULL;
$menue = NULL;
$header['titel'] = $cfg['site_titel'];
$header['menu_titel'] = template('header_clock');
$header['icons'] = template('header_icons_fav');
$header['guthaben'] = NULL;
$navi['icons'] = NULL;
$navi['content'] = NULL;
$main['icons'] = NULL;
$main['content'] = NULL;
$main2['icons'] = NULL;
$main2['content'] = NULL;
?>
asad schrieb:ich hab jetzt die function datein nochmal auf dem server geladen aber jetzt steht template nicht gefunden