���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/drive.rickard.co/systemMYs/data/temp/smarty/69c9c063f4b20b21573207390d81c26308fb18a3_0.file.preview.html.php
���ѧ٧ѧ�
<?php /* Smarty version 3.1.30, created on 2021-08-05 03:55:29 from "/home/rickpfrv/drive.rickard.co/system/modules/weblinks/sections/public/html/preview.html" */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.30', 'unifunc' => 'content_610b613139e0b1_27992283', 'has_nocache_code' => false, 'file_dependency' => array ( '69c9c063f4b20b21573207390d81c26308fb18a3' => array ( 0 => '/home/rickpfrv/drive.rickard.co/system/modules/weblinks/sections/public/html/preview.html', 1 => 1617296318, 2 => 'file', ), ), 'includes' => array ( ), ),false)) { function content_610b613139e0b1_27992283 (Smarty_Internal_Template $_smarty_tpl) { ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta property="og:image" content="<?php echo $_smarty_tpl->tpl_vars['app']->value['config']['url']['root'];?> /<?php echo $_smarty_tpl->tpl_vars['app']->value['fileInfo']['iconURL'];?> " /> <meta property="og:image:width" content="512" /> <meta property="og:image:height" content="512" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <title><?php echo \S::safeHTML($_smarty_tpl->tpl_vars['app']->value['fileInfo']['name']);?> </title> <link rel="stylesheet" type="text/css" href="css/preview.css?v=<?php echo \S::forURL($_smarty_tpl->tpl_vars['app']->value['settings']['currentVersion']);?> " /> </head> <body> <div class="header"> <div class="left"> <span class="filename"><img src="../<?php echo $_smarty_tpl->tpl_vars['app']->value['fileInfo']['iconURL'];?> " height="18" border="0" /> <?php echo \S::safeHTML($_smarty_tpl->tpl_vars['app']->value['fileInfo']['name']);?> </span> </div> <div class="right"> <div class="details"> <?php echo $_smarty_tpl->tpl_vars['app']->value['fileInfo']['niceFileSize'];?> </div> <?php if ($_smarty_tpl->tpl_vars['app']->value['isEditable']) {?> <?php if ($_smarty_tpl->tpl_vars['app']->value['displayMode'] == 'preview_plugin_frame') {?> <a href="<?php echo $_smarty_tpl->tpl_vars['app']->value['fileInfo']['url'];?> &fmode=edit" class="actionBtn"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null; if (!is_callable($_block_plugin1)) { throw new SmartyException('block tag \'t\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array()); $_block_repeat1=true; echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1); while ($_block_repeat1) { ob_start(); ?> Edit<?php $_block_repeat1=false; echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> </a> <?php } else { ?> <a href="<?php echo $_smarty_tpl->tpl_vars['app']->value['fileInfo']['url'];?> " class="actionBtn"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null; if (!is_callable($_block_plugin1)) { throw new SmartyException('block tag \'t\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array()); $_block_repeat1=true; echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1); while ($_block_repeat1) { ob_start(); ?> Preview<?php $_block_repeat1=false; echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> </a> <?php }?> <?php }?> <?php if ($_smarty_tpl->tpl_vars['app']->value['isDownloadable']) {?> <?php if ($_smarty_tpl->tpl_vars['app']->value['linkInfo']['download_terms']) {?> <a href="javascript:;" onclick="document.getElementById('terms').style.display='block';" class="actionBtn"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null; if (!is_callable($_block_plugin1)) { throw new SmartyException('block tag \'t\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array()); $_block_repeat1=true; echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1); while ($_block_repeat1) { ob_start(); ?> Download<?php $_block_repeat1=false; echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> </a> <?php } else { ?> <a href="<?php echo $_smarty_tpl->tpl_vars['app']->value['fileInfo']['url'];?> &download=1" class="actionBtn"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null; if (!is_callable($_block_plugin1)) { throw new SmartyException('block tag \'t\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array()); $_block_repeat1=true; echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1); while ($_block_repeat1) { ob_start(); ?> Download<?php $_block_repeat1=false; echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> </a> <?php }?> <?php }?> <?php if (sizeof($_smarty_tpl->tpl_vars['app']->value['fileComments']) > 0) {?> <a href="javascript:;" onclick="document.getElementById('comments').style.display='block';" class="actionBtn commentsBtn"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null; if (!is_callable($_block_plugin1)) { throw new SmartyException('block tag \'t\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array()); $_block_repeat1=true; echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1); while ($_block_repeat1) { ob_start(); ?> Comments<?php $_block_repeat1=false; echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> (<?php echo count($_smarty_tpl->tpl_vars['app']->value['fileComments']);?> )</a> <?php }?> <?php if ($_smarty_tpl->tpl_vars['app']->value['showMetadata'] && $_smarty_tpl->tpl_vars['app']->value['metadata']) {?> <a href="javascript:;" onclick="document.getElementById('metadata').style.display='block';" class="actionBtn commentsBtn"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null; if (!is_callable($_block_plugin1)) { throw new SmartyException('block tag \'t\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array()); $_block_repeat1=true; echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1); while ($_block_repeat1) { ob_start(); ?> Details<?php $_block_repeat1=false; echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> </a> <?php }?> </div> </div> <div class="main"> <?php if ($_smarty_tpl->tpl_vars['app']->value['displayMode'] == 'frame') {?> <iframe frameborder="0" src="<?php echo $_smarty_tpl->tpl_vars['app']->value['fileInfo']['url'];?> &download=1&inline=1"></iframe> <?php } elseif ($_smarty_tpl->tpl_vars['app']->value['displayMode'] == 'preview_plugin_frame') {?> <iframe frameborder="0" src="<?php echo $_smarty_tpl->tpl_vars['app']->value['fileInfo']['url'];?> &preview_plugin=1"></iframe> <?php } elseif ($_smarty_tpl->tpl_vars['app']->value['displayMode'] == 'edit_plugin_frame') {?> <iframe frameborder="0" src="<?php echo $_smarty_tpl->tpl_vars['app']->value['fileInfo']['url'];?> &edit_plugin=1"></iframe> <?php } elseif ($_smarty_tpl->tpl_vars['app']->value['displayMode'] == 'image') {?> <div class="image" style="background-image:url(<?php echo $_smarty_tpl->tpl_vars['app']->value['fileInfo']['url'];?> &download=1&inline=1)"></div> <?php } else { ?> <div style="text-align:center"> <img class="icon" src="../<?php echo $_smarty_tpl->tpl_vars['app']->value['fileInfo']['iconURL'];?> " /> <div style="margin-top:10px"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null; if (!is_callable($_block_plugin1)) { throw new SmartyException('block tag \'t\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array()); $_block_repeat1=true; echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1); while ($_block_repeat1) { ob_start(); ?> No preview available<?php $_block_repeat1=false; echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> </div> </div> <?php }?> </div> <?php if ($_smarty_tpl->tpl_vars['app']->value['linkInfo']['download_terms']) {?> <div class="overlay" id="terms"> <div class="panel"> <div class="panel-contents"> <div><?php echo \S::forHTML($_smarty_tpl->tpl_vars['app']->value['linkInfo']['download_terms']);?> </div> </div> <a class="actionBtn acceptBtn" href="<?php echo $_smarty_tpl->tpl_vars['app']->value['fileInfo']['url'];?> &download=1" onclick="document.getElementById('terms').style.display='none';"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null; if (!is_callable($_block_plugin1)) { throw new SmartyException('block tag \'t\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array()); $_block_repeat1=true; echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1); while ($_block_repeat1) { ob_start(); ?> Download<?php $_block_repeat1=false; echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> </a> <a class="actionBtn cancelBtn" href="javascript:;" onclick="document.getElementById('terms').style.display='none'"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null; if (!is_callable($_block_plugin1)) { throw new SmartyException('block tag \'t\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array()); $_block_repeat1=true; echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1); while ($_block_repeat1) { ob_start(); ?> Cancel<?php $_block_repeat1=false; echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> </a> </div> </div> <?php }?> <?php if (sizeof($_smarty_tpl->tpl_vars['app']->value['fileComments']) > 0) {?> <div class="overlay" id="comments"> <div class="panel"> <div class="panel-contents"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['app']->value['fileComments'], 'comment', false, 'p'); if ($_from !== null) { foreach ($_from as $_smarty_tpl->tpl_vars['p']->value => $_smarty_tpl->tpl_vars['comment']->value) { ?> <div class="comment"> <?php echo \S::safeHTML(\S::forHTML($_smarty_tpl->tpl_vars['comment']->value['val']));?> <?php if ($_smarty_tpl->tpl_vars['app']->value['showNames']) {?> <?php if ($_smarty_tpl->tpl_vars['comment']->value['uid'] != $_smarty_tpl->tpl_vars['app']->value['fileComments'][$_smarty_tpl->tpl_vars['p']->value+1]['uid']) {?> <div class="author"><?php echo \S::safeHTML(\S::forHTML($_smarty_tpl->tpl_vars['comment']->value['userInfo']['fullName']));?> </div> <?php }?> <?php }?> </div> <?php if ($_smarty_tpl->tpl_vars['comment']->value['uid'] != $_smarty_tpl->tpl_vars['app']->value['fileComments'][$_smarty_tpl->tpl_vars['p']->value+1]['uid']) {?> <div class="separator"></div> <?php }?> <?php } } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl); ?> </div> <a class="actionBtn cancelBtn" href="javascript:;" onclick="document.getElementById('comments').style.display='none'"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null; if (!is_callable($_block_plugin1)) { throw new SmartyException('block tag \'t\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array()); $_block_repeat1=true; echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1); while ($_block_repeat1) { ob_start(); ?> Close<?php $_block_repeat1=false; echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> </a> </div> </div> <?php }?> <?php if ($_smarty_tpl->tpl_vars['app']->value['showMetadata']) {?> <div class="overlay" id="metadata"> <div class="panel"> <div class="panel-contents"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['app']->value['metadata']['fieldsets'], 'fieldset'); if ($_from !== null) { foreach ($_from as $_smarty_tpl->tpl_vars['fieldset']->value) { ?> <div class="fieldset"> <div class="fieldset-name"><?php echo $_smarty_tpl->tpl_vars['fieldset']->value['name'];?> </div> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fieldset']->value['fields'], 'field'); if ($_from !== null) { foreach ($_from as $_smarty_tpl->tpl_vars['field']->value) { ?> <div class="metadata-field"> <?php echo \S::safeHTML(\S::forHTML($_smarty_tpl->tpl_vars['field']->value['name']));?> : <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['field']->value['values'], 'fieldValue'); if ($_from !== null) { foreach ($_from as $_smarty_tpl->tpl_vars['fieldValue']->value) { ?> <span<?php if ($_smarty_tpl->tpl_vars['field']->value['type'] == 'multiple') {?> class="multiple"<?php }?>> <?php echo \S::safeHTML(\S::forHTML($_smarty_tpl->tpl_vars['fieldValue']->value));?> </span> <?php } } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl); ?> </div> <?php } } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl); ?> </div> <?php } } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl); ?> <?php if (sizeof($_smarty_tpl->tpl_vars['app']->value['metadata']['tags']) > 0) {?> <div class="fieldset"> <div class="fieldset-name"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null; if (!is_callable($_block_plugin1)) { throw new SmartyException('block tag \'t\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array()); $_block_repeat1=true; echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1); while ($_block_repeat1) { ob_start(); ?> Tags<?php $_block_repeat1=false; echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> </div> <div class="metadata-field"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['app']->value['metadata']['tags'], 'tag'); if ($_from !== null) { foreach ($_from as $_smarty_tpl->tpl_vars['tag']->value) { ?> <span class="multiple"> <?php echo \S::safeHTML(\S::forHTML($_smarty_tpl->tpl_vars['tag']->value['v']));?> </span> <?php } } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl); ?> </div> </div> <?php }?> <?php if ($_smarty_tpl->tpl_vars['app']->value['metadata']['rating']) {?> <div class="fieldset"> <div class="fieldset-name"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null; if (!is_callable($_block_plugin1)) { throw new SmartyException('block tag \'t\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array()); $_block_repeat1=true; echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1); while ($_block_repeat1) { ob_start(); ?> Rating<?php $_block_repeat1=false; echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> </div> <div class="metadata-field"> <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable(null, $_smarty_tpl->isRenderingCache);$_smarty_tpl->tpl_vars['i']->step = 1;$_smarty_tpl->tpl_vars['i']->total = (int) ceil(($_smarty_tpl->tpl_vars['i']->step > 0 ? $_smarty_tpl->tpl_vars['app']->value['metadata']['rating']+1 - (1) : 1-($_smarty_tpl->tpl_vars['app']->value['metadata']['rating'])+1)/abs($_smarty_tpl->tpl_vars['i']->step)); if ($_smarty_tpl->tpl_vars['i']->total > 0) { for ($_smarty_tpl->tpl_vars['i']->value = 1, $_smarty_tpl->tpl_vars['i']->iteration = 1;$_smarty_tpl->tpl_vars['i']->iteration <= $_smarty_tpl->tpl_vars['i']->total;$_smarty_tpl->tpl_vars['i']->value += $_smarty_tpl->tpl_vars['i']->step, $_smarty_tpl->tpl_vars['i']->iteration++) { $_smarty_tpl->tpl_vars['i']->first = $_smarty_tpl->tpl_vars['i']->iteration == 1;$_smarty_tpl->tpl_vars['i']->last = $_smarty_tpl->tpl_vars['i']->iteration == $_smarty_tpl->tpl_vars['i']->total;?> ⭐ <?php } } ?> </div> </div> <?php }?> </div> <a class="actionBtn cancelBtn" href="javascript:;" onclick="document.getElementById('metadata').style.display='none'"><?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['t'][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['t'][0] : null; if (!is_callable($_block_plugin1)) { throw new SmartyException('block tag \'t\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('t', array()); $_block_repeat1=true; echo $_block_plugin1(array(), null, $_smarty_tpl, $_block_repeat1); while ($_block_repeat1) { ob_start(); ?> Close<?php $_block_repeat1=false; echo $_block_plugin1(array(), ob_get_clean(), $_smarty_tpl, $_block_repeat1); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> </a> </div> </div> <?php }?> <div style="display:none;"> <?php if ($_smarty_tpl->tpl_vars['app']->value['settings']['tracker_codes']) { echo $_smarty_tpl->tpl_vars['app']->value['settings']['tracker_codes']; }?> </div><?php } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.3 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�