www
/
wwwroot
/
magazinmiorita.be
/
clientarea
/
templates_c
➕ New
📤 Upload
✎ Editing:
4837cba7bc1f78c7217cbaa8afae31425ec8c7c2.file.index.tpl.php
← Back
<?php /* Smarty version Smarty-3.1.18, created on 2017-09-12 18:58:49 compiled from "/home/miorita/public_html/clientarea/templates/default/index.tpl" */ ?> <?php /*%%SmartyHeaderCode:69806529756ac9c7123c0e4-71571986%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '4837cba7bc1f78c7217cbaa8afae31425ec8c7c2' => array ( 0 => '/home/miorita/public_html/clientarea/templates/default/index.tpl', 1 => 1505242729, 2 => 'file', ), ), 'nocache_hash' => '69806529756ac9c7123c0e4-71571986', 'function' => array ( ), 'version' => 'Smarty-3.1.18', 'unifunc' => 'content_56ac9c7131df21_95379652', 'variables' => array ( 'clientpath' => 0, 'user_id' => 0, 'delivered' => 0, 'returned' => 0, 'paid' => 0, 'unpaid' => 0, 'tranzactions' => 0, 'trn' => 0, 'virtualurl' => 0, 'news_result' => 0, 'news' => 0, ), 'has_nocache_code' => false, ),false); /*/%%SmartyHeaderCode%%*/?> <?php if ($_valid && !is_callable('content_56ac9c7131df21_95379652')) {function content_56ac9c7131df21_95379652($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_data')) include '/home/miorita/public_html/lib/smarty/plugins/modifier.data.php'; if (!is_callable('smarty_modifier_date_format')) include '/home/miorita/public_html/lib/smarty/plugins/modifier.date_format.php'; if (!is_callable('smarty_modifier_price_format')) include '/home/miorita/public_html/lib/smarty/plugins/modifier.price_format.php'; if (!is_callable('smarty_modifier_replace')) include '/home/miorita/public_html/lib/smarty/plugins/modifier.replace.php'; if (!is_callable('smarty_modifier_truncate')) include '/home/miorita/public_html/lib/smarty/plugins/modifier.truncate.php'; ?><?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['clientpath']->value)."header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> <div class="main"> <div class="main-inner"> <div class="container"> <div class="row"> <div class="span6"> <?php if (smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['user_id']->value,'epassword')=='') {?> <div class="alert alert-danger" role="alert"> <strong>Atentie!</strong> Parola ta nu este actualizata, ca sa poti folosi forumul trebuie sa actualizezi parola. Mergi la <a href="profile.php">profil</a> pentru a schimba parola </div> <?php }?> <div class="widget widget-nopad"> <div class="widget-header"> <i class="icon-list-alt"></i> <h3> Informatii Generale</h3> </div> <!-- /widget-header --> <div class="widget-content"> <div class="widget big-stats-container"> <div class="widget-content"> <h6 class="bigstats">Aici poti vedea totalul tranzactiilor efectuate.</h6> <div id="big_stats" class="cf"> <div class="stat"> <i class="icon-truck"></i> Livrate <br /><span class="value"><?php echo $_smarty_tpl->tpl_vars['delivered']->value;?> </span> </div> <!-- .stat --> <div class="stat"> <i class="icon-share"></i>Returnate<br /><span class="value"><?php echo $_smarty_tpl->tpl_vars['returned']->value;?> </span> </div> <!-- .stat --> <div class="stat"> <i class="icon-money"></i> Platite <br /><span class="value"><?php echo $_smarty_tpl->tpl_vars['paid']->value;?> </span> </div> <!-- .stat --> <div class="stat"> <i class="icon-warning-sign"></i> Neplatite<br /><span class="value"><?php echo $_smarty_tpl->tpl_vars['unpaid']->value;?> </span> </div> <!-- .stat --> </div> </div> <!-- /widget-content --> </div> </div> </div> <!-- /widget --> <div class="widget widget-table action-table"> <div class="widget-header"> <i class="icon-th-list"></i> <h3>Ultimile 5 tranzactii</h3> </div> <!-- /widget-header --> <div class="widget-content"> <table class="table table-striped table-bordered"> <thead> <tr> <th> Produs </th> <th> Pret</th> <th> Status</th> <th class="td-actions"> </th> </tr> </thead> <tbody> <?php $_smarty_tpl->tpl_vars['trn'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['trn']->_loop = false; $_from = $_smarty_tpl->tpl_vars['tranzactions']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['trn']->key => $_smarty_tpl->tpl_vars['trn']->value) { $_smarty_tpl->tpl_vars['trn']->_loop = true; ?> <tr> <td> <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['trn']->value['indate'],"%A %e %B, %Y");?> </td> <td> <?php echo smarty_modifier_price_format($_smarty_tpl->tpl_vars['trn']->value['amount']);?> </td> <td> <?php if ($_smarty_tpl->tpl_vars['trn']->value['delivery_status']=='0') {?>procesare comanda<?php } elseif ($_smarty_tpl->tpl_vars['trn']->value['delivery_status']=='1') {?>Livrat<?php } elseif ($_smarty_tpl->tpl_vars['trn']->value['delivery_status']=='3') {?>Anulat<?php }?> </td> <td class="td-actions"> <a href="order_details.php?id=<?php echo $_smarty_tpl->tpl_vars['trn']->value['id'];?> " class="btn btn-small btn-success"> Details </a> </td> </tr> <?php } ?> </tbody> </table> </div> <!-- /widget-content --> </div> </div> <!-- /span6 --> <div class="span6"> <div class="widget"> <div class="widget-header"> <i class="icon-bookmark"></i> <h3>Comenzi Rapide</h3> </div> <!-- /widget-header --> <div class="widget-content"> <div class="shortcuts"> <a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> clientarea/tranzactions.php" class="shortcut"> <i class="shortcut-icon icon-list-alt"></i> <span class="shortcut-label">Tranzactii</span> </a> <a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> clientarea/orders.php" class="shortcut"> <i class="shortcut-icon icon-shopping-cart"></i> <span class="shortcut-label">Comenzi</span> </a> <a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> clientarea/profile.php" class="shortcut"> <i class="shortcut-icon icon-edit"></i> <span class="shortcut-label">Profil</span> </a> <a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> blog" class="shortcut"> <i class="shortcut-icon icon-comment"></i> <span class="shortcut-label">Blog</span> </a> <a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> produse-romanesti" class="shortcut"> <i class="shortcut-icon icon-th-large"></i> <span class="shortcut-label">Produse</span> </a> <a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> clientarea/invoices.php" class="shortcut"> <i class="shortcut-icon icon-file"></i> <span class="shortcut-label">Facturi</span> </a> <a href="javascript:;" class="shortcut"> <i class="shortcut-icon icon-info-sign"></i> <span class="shortcut-label">Faq</span> </a> <a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> forum" class="shortcut"> <i class="shortcut-icon icon-user-md"></i> <span class="shortcut-label">Support</span> </a> </div> <!-- /shortcuts --> </div> <!-- /widget-content --> </div> <!-- /widget --> <!-- /widget --> <div class="widget widget-nopad"> <div class="widget-header"> <i class="icon-list-alt"></i> <h3> Ultimile Stiri</h3> </div> <!-- /widget-header --> <div class="widget-content"> <ul class="news-items"> <?php $_smarty_tpl->tpl_vars['news'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['news']->_loop = false; $_from = $_smarty_tpl->tpl_vars['news_result']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['news']->key => $_smarty_tpl->tpl_vars['news']->value) { $_smarty_tpl->tpl_vars['news']->_loop = true; ?> <li> <div class="news-item-date" style=""> <span class="news-item-day"><?php echo $_smarty_tpl->tpl_vars['news']->value['day'];?> </span> <span class="news-item-month"><?php echo $_smarty_tpl->tpl_vars['news']->value['month'];?> </span> </div> <div class="news-item-detail"> <div style="border:1px solid #ccc"><a href='<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> blog/<?php echo smarty_modifier_replace(mb_strtolower($_smarty_tpl->tpl_vars['news']->value['title'], 'UTF-8')," ","-");?> -<?php echo $_smarty_tpl->tpl_vars['news']->value['id'];?> .html'><img width="100%" src="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> <?php echo $_smarty_tpl->tpl_vars['news']->value['image'];?> "/></a></div> <div class="clearfix"></div><br /> <a href='<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> blog/<?php echo smarty_modifier_replace(mb_strtolower($_smarty_tpl->tpl_vars['news']->value['title'], 'UTF-8')," ","-");?> -<?php echo $_smarty_tpl->tpl_vars['news']->value['id'];?> .html' class="news-item-title" target="_blank"><?php echo $_smarty_tpl->tpl_vars['news']->value['title'];?> </a><br /><br /> <p class="news-item-preview"><?php ob_start();?><?php echo smarty_modifier_replace(mb_strtolower($_smarty_tpl->tpl_vars['news']->value['title'], 'UTF-8')," ","-");?> <?php $_tmp1=ob_get_clean();?><?php echo smarty_modifier_truncate(htmlspecialchars_decode($_smarty_tpl->tpl_vars['news']->value['text'], ENT_QUOTES),400,"... <a href='".((string)$_smarty_tpl->tpl_vars['virtualurl']->value)."blog/".$_tmp1."-".((string)$_smarty_tpl->tpl_vars['news']->value['id']).".html'>Citeste tot >></a>");?> </p> </div> </li> <?php } ?> </ul> </div> <!-- /widget-content --> </div> <!-- /widget --> </div> <!-- /span6 --> </div> <!-- /row --> </div> <!-- /container --> </div> <!-- /main-inner --> </div> <!-- /main --> <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['clientpath']->value)."footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> <?php }} ?>
💾 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