~includeonce('config.tmpl') ~set('head_meta', '') ~includeonce('lib/folios.tmpl') ~if(~get_filenamevar(1) && ~get_filenamevar(1) != 1, ~http_error(404)) ~setl('model_dir', ~get_dirname(1)) ~if(~get_dirname(2), ~http_error(404)) ~if( ~getl('model_dir'), ~list(~get('database'), "SELECT topics.id, topics.title FROM topics WHERE topics.topic='~addslashes(~getl('model_dir'))' AND topics.state=~get('state_ok') AND topics.main=1", 'LF',~setl('topic_id', ~fld('id'), 'topic_title',~fld('title')), 'LD',~http_error(404) ) ) ~set('title', '~get('website_title') : Magazine ~ifne(~getl('topic_title'),' Alternatif & Indépendant. [Rock Metal Indus]')') ~set('og_type', 'website') ~set('ld_json',' "@context": "https://schema.org", "@type": "Organization", "url": "~getconf('site_url')", "logo": "~get_farm_url('logo_header.png')img/svg/logo_header.png", "name": "~get('website_title')" ') ~set('has_splash', ~has_recent_folios() && !~get_filenamevar(1) && !~getl('model_dir')) ~include("site/header.tmpl") ~if(~get('has_splash') == 0,'
~include('box/submit.tmpl') ~noeval(' ~includewithcache('poll/box.tmpl', 1, ~get('topic_id')) ~include('box/newsletter.tmpl') ~include('box/pboxes.tmpl') ')
')
~if(~get('has_splash'), ~includewithcache('splash.tmpl', ~has_recent_folios()), ~includewithcache('front.tmpl', ~getl('topic_id'), ~getl('model_dir')) )
~include('site/footer.tmpl')