www
/
wwwroot
/
magazinmiorita.be
/
templates_c
➕ New
📤 Upload
✎ Editing:
5ae794dd6419a7eda6a2536dbf1f1a067c535c19_0.file.blog.tpl.php
← Back
<?php /* Smarty version 4.3.2, created on 2025-09-19 04:53:57 from '/www/wwwroot/magazinmiorita.be/templates/default/blog.tpl' */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '4.3.2', 'unifunc' => 'content_68cc716530f984_02861678', 'has_nocache_code' => false, 'file_dependency' => array ( '5ae794dd6419a7eda6a2536dbf1f1a067c535c19' => array ( 0 => '/www/wwwroot/magazinmiorita.be/templates/default/blog.tpl', 1 => 1489208068, 2 => 'file', ), ), 'includes' => array ( 'file:header.tpl' => 1, 'file:footer.tpl' => 1, ), ),false)) { function content_68cc716530f984_02861678 (Smarty_Internal_Template $_smarty_tpl) { $_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/www/wwwroot/magazinmiorita.be/lib/smarty/plugins/modifier.replace.php','function'=>'smarty_modifier_replace',),1=>array('file'=>'/www/wwwroot/magazinmiorita.be/lib/smarty/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),2=>array('file'=>'/www/wwwroot/magazinmiorita.be/lib/smarty/plugins/modifier.truncate.php','function'=>'smarty_modifier_truncate',),)); $_smarty_tpl->_subTemplateRender("file:header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); ?> <div id="fb-root"></div> <?php echo '<script'; ?> >(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_EN/sdk.js#xfbml=1&version=v2.3"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); <?php echo '</script'; ?> > <div class="breadcrumbs"> <div class="container"> <div class="row"> <div class="col-xs-12"> <nav> <ol class="breadcrumb"> <li><a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> ">Pagina de start</a></li> <li><a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> blog">Blog</a></li> <li class="active">Articole</li> </ol> </nav> </div> </div> </div> </div> <div class="container push-down-30"> <div class="row"> <div class="col-xs-12 col-sm-8"> <h3><span class="light">Ultimile</span> <span class="light"> Articole</span></h3> <hr> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['blogs']->value, 'blog'); $_smarty_tpl->tpl_vars['blog']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['blog']->value) { $_smarty_tpl->tpl_vars['blog']->do_else = false; ?> <article> <a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> blog/<?php echo mb_strtolower((string) smarty_modifier_replace($_smarty_tpl->tpl_vars['blog']->value['title'],' ','-'), 'UTF-8');?> -<?php echo $_smarty_tpl->tpl_vars['blog']->value['id'];?> .html"><h3><?php echo htmlspecialchars_decode($_smarty_tpl->tpl_vars['blog']->value['title'], ENT_QUOTES);?> </h3></a> <div class="push-down-20"> Adaugat pe <span class="blog__date"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['blog']->value['date']);?> </span> </div> <p class="blog-content__text"><?php echo smarty_modifier_truncate(htmlspecialchars_decode($_smarty_tpl->tpl_vars['blog']->value['text'], ENT_QUOTES),300,"...",true);?> </p> <a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> blog/<?php echo mb_strtolower((string) smarty_modifier_replace($_smarty_tpl->tpl_vars['blog']->value['title'],' ','-'), 'UTF-8');?> -<?php echo $_smarty_tpl->tpl_vars['blog']->value['id'];?> .html" class="btn btn-primary">Citeste tot</a> </article> <hr class="divider"> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <hr class="blog-last-divider"> <?php if ($_smarty_tpl->tpl_vars['pagination']->value) {?> <div class="shop__pagination"> <ul class="pagination"> <?php echo $_smarty_tpl->tpl_vars['pagination']->value;?> </ul> </div> <?php }?> </div> <div class="col-xs-12 col-sm-4"> <aside class="sidebar sidebar--blog"> <div class="sidebar-container"> <h3><span class="light">Imagini</span> Articole</h3> <hr> <!-- Go to http://www.flickrbadge.com/, generate a code, paste it here and remove the <style> tag --> <style> .cover { object-fit: cover; width: 50px; height: 100px; } </style> <div class="flickr-badge clearfix"> <div id="flickr_badge_wrapper"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['blog_arhive']->value, 'arhive'); $_smarty_tpl->tpl_vars['arhive']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['arhive']->value) { $_smarty_tpl->tpl_vars['arhive']->do_else = false; ?> <a style="float:left;margin:5px;width:110px;height:55px" href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> blog/<?php echo mb_strtolower((string) smarty_modifier_replace($_smarty_tpl->tpl_vars['blog']->value['title'],' ','-'), 'UTF-8');?> -<?php echo $_smarty_tpl->tpl_vars['arhive']->value['id'];?> .html"><img class="cover" style="float:left;margin:5px;width:110px;height:55px" src="<?php echo $_smarty_tpl->tpl_vars['arhive']->value['image'];?> " alt="" /></a> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> </div> </div> </div> <nav class="sidebar-container"> <h3><span class="light">Arhiva</span> Blog</h3> <hr> <ul class="nav-blog"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['blog_arhive']->value, 'arhive'); $_smarty_tpl->tpl_vars['arhive']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['arhive']->value) { $_smarty_tpl->tpl_vars['arhive']->do_else = false; ?> <li><a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> blog/<?php echo mb_strtolower((string) smarty_modifier_replace($_smarty_tpl->tpl_vars['blog']->value['title'],' ','-'), 'UTF-8');?> -<?php echo $_smarty_tpl->tpl_vars['arhive']->value['id'];?> .html"><?php echo $_smarty_tpl->tpl_vars['arhive']->value['title'];?> </a></li> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> </ul> </nav> </aside> </div> </div> </div> <?php $_smarty_tpl->_subTemplateRender("file:footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); } }
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel