Viewing file: 15f5e1a460063ff6d7e384038f432c0de6c7931e.file.user-page.tpl.php (4.8 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2011-05-10 23:55:46 compiled from "user/templates/actual/user-page.tpl" */ ?> <?php /*%%SmartyHeaderCode:14830137754dc9a652eb5971-19728885%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '15f5e1a460063ff6d7e384038f432c0de6c7931e' => array ( 0 => 'user/templates/actual/user-page.tpl', 1 => 1285103383, ), ), 'nocache_hash' => '14830137754dc9a652eb5971-19728885', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <?php $_smarty_tpl->tpl_vars["actual_text"] = new Smarty_variable("actual_text_".($_smarty_tpl->getVariable('ulang')->value), null, null);?>
<?php $_smarty_tpl->tpl_vars["actual_short_text"] = new Smarty_variable("actual_short_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,"actual_id=".($_smarty_tpl->getVariable('row')->value['actual_id'])), null, null);?>
<div class="page">
<?php if ($_smarty_tpl->getVariable('row')->value['actual_show_date']=='2'){?>
<div class="date"><?php echo GetUsefulDate($_smarty_tpl->getVariable('row')->value['actual_date'],true,true);?> </div>
<?php }?>
<?php if ($_smarty_tpl->getVariable('row')->value['actual_show_date']=='1'){?>
<div class="date"><?php echo GetUsefulDate($_smarty_tpl->getVariable('row')->value['actual_date'],true,false);?> </div>
<?php }?>
<div class="text">
<?php if (file_exists("data/actual/foto_small_".($_smarty_tpl->getVariable('row')->value['actual_id'])."_1.jpg")==1){?>
<div class="photo">
<a href="/data/actual/foto_big_<?php echo $_smarty_tpl->getVariable('row')->value['actual_id'];?> _1.jpg" class="fancybox">
<img src="/data/actual/foto_small_<?php echo $_smarty_tpl->getVariable('row')->value['actual_id'];?> _1.jpg" />
</a>
</div>
<?php }?>
<?php if (file_exists("data/actual/foto_small_".($_smarty_tpl->getVariable('row')->value['actual_id'])."_2.jpg")==1){?>
<div class="photo">
<a href="/data/actual/foto_big_<?php echo $_smarty_tpl->getVariable('row')->value['actual_id'];?> _2.jpg" class="fancybox">
<img src="/data/actual/foto_small_<?php echo $_smarty_tpl->getVariable('row')->value['actual_id'];?> _2.jpg" />
</a>
</div>
<?php }?>
<?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 if ($_smarty_tpl->getVariable('row')->value['actual_show_read_more_link']=='Y'){?>
<?php echo $_smarty_tpl->getVariable('row')->value[$_smarty_tpl->getVariable('actual_text')->value];?>
<?php }else{ ?>
<?php echo $_smarty_tpl->getVariable('row')->value[$_smarty_tpl->getVariable('actual_short_text')->value];?>
<?php }?>
<?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>
|