Viewing file: 7880b4c297198d0153d7082ecbfd27f2636b66dc.file.user-page.tpl.php (3.35 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2020-11-24 19:39:52 compiled from "user/templates/pages/user-page.tpl" */ ?> <?php /*%%SmartyHeaderCode:12152021055fbd45688e4794-95116430%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '7880b4c297198d0153d7082ecbfd27f2636b66dc' => array ( 0 => 'user/templates/pages/user-page.tpl', 1 => 1606239410, ), ), 'nocache_hash' => '12152021055fbd45688e4794-95116430', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <?php $_smarty_tpl->tpl_vars["page_text"] = new Smarty_variable("page_text_".($_smarty_tpl->getVariable('ulang')->value), null, null);?> <?php ob_start();?><?php echo $_smarty_tpl->getVariable('mod')->value;?> <?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["photos"] = new Smarty_variable($_smarty_tpl->getVariable('Photomanager')->value->GetPhotos($_tmp1,"page_id=".($_smarty_tpl->getVariable('row')->value['page_id'])), null, null);?> <?php if (isset($_SESSION['admin_login'])){?> <div class="admin"><a href="/admin.php?mod=Pages&page_id=<?php echo $_smarty_tpl->getVariable('row')->value['page_id'];?> &edit&client">Редагувати сторінку</a></div> <div style="clear:both;"></div> <?php }?> <div class="page"> <div class="text"> <?php if ($_smarty_tpl->getVariable('photos')->value[0]['photo_align']=='t'){?> <div class="PhotoLineTop"><?php $_template = new Smarty_Internal_Template('user-photos.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null); $_template->assign('photos',$_smarty_tpl->getVariable('photos')->value); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?></div> <?php }?> <?php if ($_smarty_tpl->getVariable('photos')->value[0]['photo_align']=='l'){?> <div class="PhotoLineLeft"><?php $_template = new Smarty_Internal_Template('user-photos.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null); $_template->assign('photos',$_smarty_tpl->getVariable('photos')->value); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?></div> <?php }?> <?php if ($_smarty_tpl->getVariable('photos')->value[0]['photo_align']=='r'){?> <div class="PhotoLineRight"><?php $_template = new Smarty_Internal_Template('user-photos.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null); $_template->assign('photos',$_smarty_tpl->getVariable('photos')->value); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?></div> <?php }?> <?php echo $_smarty_tpl->getVariable('row')->value[$_smarty_tpl->getVariable('page_text')->value];?>
<?php if ($_smarty_tpl->getVariable('photos')->value[0]['photo_align']=='b'){?> <div class="PhotoLineBottom"><?php $_template = new Smarty_Internal_Template('user-photos.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null); $_template->assign('photos',$_smarty_tpl->getVariable('photos')->value); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?></div> <?php }?> </div> </div>
|