Viewing file: 4eb62f877cf05d620a6ffc3310bf2952ddac9d1a.file.photos-uploaded-admin.tpl.php (6.29 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-04-12 16:28:10 compiled from "user/templates/photochapter/photos-uploaded-admin.tpl" */ ?> <?php /*%%SmartyHeaderCode:11991459874f86d86a07f0a6-86186274%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '4eb62f877cf05d620a6ffc3310bf2952ddac9d1a' => array ( 0 => 'user/templates/photochapter/photos-uploaded-admin.tpl', 1 => 1333008115, ), ), 'nocache_hash' => '11991459874f86d86a07f0a6-86186274', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <div class="template-page photos-list"> <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 style="position: relative;"><a href="javascript: return false;" class="submenu"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['SelectAll'];?> </a> <ul class="submenu"> <li><a href="#" class="fotos-all-confirm"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['SelectAllAsConfirmed'];?> </a></li> <li><a href="#" class="fotos-all-delete"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['SelectAllForDelete'];?> </a></li> </ul> </li> <li class="delimiter">|</li> <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> <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']['Sender'];?> </label> <a href="/id<?php echo $_smarty_tpl->tpl_vars['row']->value['user_id'];?> " target="_blank"><?php echo $_smarty_tpl->tpl_vars['row']->value['user_name'];?> <?php echo $_smarty_tpl->tpl_vars['row']->value['user_surname'];?> </a> <br /> <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'];?> " /> <input type="hidden" name="photo_status[]" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['photo_status'];?> " /> <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'];?> ]"> <option style="color:#CCC;"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['SelectAlbum'];?> </option> <?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> <br /> <div style="height:4px;"></div> <a href="#" class="foto-confirm"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['Confirm'];?> </a> | <a href="#" class="foto-delete"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['SelectToDelete'];?> </a> <span class="cancel-block"> | <a href="#" class="foto-cancel"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['SelectCancel'];?> </a></span> </td> </tr></table> <hr class="dashed" /> </li> <?php }} ?> </ul> <div style="text-align: center;"> <button><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_photochapter']['DoAll'];?> </button> </div> </div> </form>
|