Viewing file: cbd6fe759741ca44a1460d631d93ba656055e182.file.photos-uploaded.tpl.php (4.9 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-04-12 16:21:02 compiled from "user/templates/photochapter/photos-uploaded.tpl" */ ?> <?php /*%%SmartyHeaderCode:6687149394f86d6be2728c7-33364473%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'cbd6fe759741ca44a1460d631d93ba656055e182' => array ( 0 => 'user/templates/photochapter/photos-uploaded.tpl', 1 => 1333008115, ), ), 'nocache_hash' => '6687149394f86d6be2728c7-33364473', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <div class="forum"> <div class="header"> <table style="width:100%"> <tr> <td> <div class="counter"> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['InAlbum'];?> <?php echo count($_smarty_tpl->getVariable('rows')->value);?> <?php echo AssumeNumber(count($_smarty_tpl->getVariable('rows')->value),$_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['photos']);?> . </div> </td> <td align="center"> <div class="search-panel"> <form method="post"> <input name="text" type="text" class="search" value="<?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['SearchPhotoDefaultText'];?> " style="color:gray;" size="16" /> <input type="image" src="/user/icons/search-icon.gif" align="absmiddle" /> </form> </div> </td> <td align="right"> <div class="manage-panel"> <ul> <li><a href="/photochapter/"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['GoToAlbums'];?> </a></li> </ul> </div> </td> </tr> </table> </div> <hr class="dashed" /> </div> <form method="post"> <div> <?php if (count($_smarty_tpl->getVariable('rows')->value)>0){?> <div style="padding:5px; text-align:center" class="description-message"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['ModerateMessage'];?> </div> <?php }else{ ?> <div style="padding:20px; text-align:center" class="description-message"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['ModerateMessage'];?> </div> <?php }?> <ul style="list-style-type:none; margin:0;padding:0;"> <?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('rows')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){ ?> <li> <table style="margin:0 auto;"><tr> <td width="150" align="center" valign="middle"> <a class="fancybox" rel="group" val="<?php echo $_smarty_tpl->tpl_vars['row']->value['photo_id'];?> " href="/data/photochapter/<?php echo $_smarty_tpl->tpl_vars['row']->value['photo_big'];?> "> <img src="/data/photochapter/<?php echo $_smarty_tpl->tpl_vars['row']->value['photo_small'];?> " /> </a> </td> <td> <label><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['PhotoDescription'];?> </label><br /><input type="hidden" name="photo_id[]" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['photo_id'];?> " /> <textarea style="width:400px; height:50px;" name="photo_description[<?php echo $_smarty_tpl->tpl_vars['row']->value['album_id'];?> ]"><?php echo $_smarty_tpl->tpl_vars['row']->value["photo_description"];?> </textarea><br /> <div style="height:4px;"></div> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['Album'];?> <select name="photo_album_id[<?php echo $_smarty_tpl->tpl_vars['row']->value['album_id'];?> ]"> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('albums')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){ ?> <option value="<?php echo $_smarty_tpl->tpl_vars['item']->value['album_id'];?> " <?php if ($_smarty_tpl->tpl_vars['row']->value["photo_album_id"]==$_smarty_tpl->tpl_vars['item']->value['album_id']){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['item']->value["album_title_".($_smarty_tpl->getVariable('ulang')->value)];?> </option> <?php }} ?> </select> </td> </tr></table> <hr class="dashed" /> </li> <?php }} ?> </ul> <div style="text-align:center"> <button><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['Save'];?> </button> </div> </div> </form>
|