function content_54eb80f372ee31_63985461($_smarty_tpl) { if (!is_callable('smarty_function_url')) { include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php'; } if (!is_callable('smarty_modifier_date_format')) { include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\Library\\Smarty\\libs\\plugins\\modifier.date_format.php'; } ?> <div class="widget-fluid userInfo clearfix"> <div class="name">Welcome, <?php echo $_smarty_tpl->tpl_vars['adminUsername']->value; ?> </div> <ul class="menuList"> <li><a href="<?php echo smarty_function_url(array('path' => 'admin/admins/logout'), $_smarty_tpl); ?> "><span class="icon-share-alt"></span> Logoff</a></li> </ul> <div class="text"><b><?php echo smarty_modifier_date_format(time(), $_smarty_tpl->tpl_vars['clientConfig']->value['serverFormDateTimeFormat']); ?> </b> </div> </div> <?php }
function content_53e1d74365ced3_36624953($_smarty_tpl) { if (!is_callable('smarty_function_url')) { include '/media/jay/Data/apache/skully-admin/vendor/skullyframework/skully/Skully/App/smarty/plugins/function.url.php'; } if (!is_callable('smarty_modifier_date_format')) { include '/media/jay/Data/apache/skully-admin/vendor/skullyframework/skully/Skully/Library/Smarty/libs/plugins/modifier.date_format.php'; } ?> <div class="widget-fluid userInfo clearfix"> <div class="name">Welcome, <?php echo $_smarty_tpl->tpl_vars['adminUsername']->value; ?> </div> <ul class="menuList"> <li><a href="<?php echo smarty_function_url(array('path' => 'admin/admins/logout'), $_smarty_tpl); ?> "><span class="icon-share-alt"></span> Logoff</a></li> </ul> <div class="text"><b><?php echo smarty_modifier_date_format(time(), $_smarty_tpl->tpl_vars['clientConfig']->value['serverFormDateTimeFormat']); ?> </b> </div> </div> <?php }
function smarty_function_attachments($params, &$smarty) { if (!isset($params['post_id'])) { throw new Exception("Smarty function attachments missing 'post_id' parameter"); } $id = $params['post_id']; $folder = "uploads/{$id}"; if (!file_exists($folder)) { return; } # Making an array containing the list of files: $files = scandir($folder); $list = array(); foreach ($files as $file) { if ($file != '.' and $file != '..') { $params['href'] = "get/{$file}/{$id}"; //TODO URL encode $list[] = "<li><a href='" . smarty_function_url($params, &$smarty) . "'>" . $file . "</a></li>"; } } if (empty($list)) { return; } // return empty if no attachments array_unshift($list, "<ul>"); $list[] = "</ul>"; $smarty->assign('list', join('', $list)); $smarty->display('attachments.tpl'); }
/** * Copy JS/CSS file to cache with replace code: * ~~~URL~TYPE=<type>~MODULE=<module>~FILE=<file>~PRESET=<preset>~TAG=<tag>~ATTR=<attr>~~~ * @static * @param string $origFile * @param string $cachedFile * @return int */ public static function copyToCache($origFile, $cachedFile) { //TODO: it's not a good method to extract theme name back from $cachedFile path $_ = str_replace('\\', '\\\\', DS); if (preg_match('~' . $_ . 'cache' . $_ . '(?:js|css|img)' . $_ . '([a-zA-Z][a-zA-Z0-9]{2,31})' . $_ . '~', $cachedFile, $matches)) { $themeName = $matches[1]; } else { throw new rad_exception("Incorrect cached file name: {$cachedFile} - cannot extract theme name!"); } //TODO: maybe it'd be much better to process source file line by line to reduce memory cosumption. $s = file_get_contents($origFile); if (!function_exists('smarty_function_url')) { rad_rsmarty::getSmartyObject()->loadPlugin('smarty_function_url'); } $s = preg_replace_callback('/~~~URL~~(.+)~~~/iU', function ($match) { $rows = explode('~~', trim($match[1], '~')); $params = array('load' => 'inplace'); foreach ($rows as $row) { $parts = explode('=', $row, 2); if (count($parts) == 2) { $key = strtolower($parts[0]); if (!isset($params[$key])) { $params[$key] = $parts[1]; } } } return smarty_function_url($params, null); }, $s); $s = preg_replace('/~~~THEMENAME~~~/', $themeName, $s); return file_put_contents($cachedFile, $s); }
function content_54f41c2860c555_85407330($_smarty_tpl) { if (!is_callable('smarty_function_url')) { include 'D:\\apache\\skully\\Skully\\App\\smarty\\plugins\\function.url.php'; } echo smarty_function_url(array('path' => "http://teguhwijaya.com"), $_smarty_tpl); }
function content_54f41c285aa5a2_72449858($_smarty_tpl) { if (!is_callable('smarty_function_url')) { include 'D:\\apache\\skully\\Skully\\App\\smarty\\plugins\\function.url.php'; } echo smarty_function_url(array('path' => "home/ssltest"), $_smarty_tpl); }
function test_smarty_function_url_emptypath() { $params = array('action' => 'test_empty_path', 'anchor' => '', 'scheme' => '', 'param1' => 'hoge', 'param2' => 'huga'); $dummy_smarty = null; $expected = "?param1=hoge¶m2=huga"; $actual = smarty_function_url($params, $dummy_smarty); $this->assertEquals($expected, $actual); }
function smarty_function_a($params, &$smarty) { $tag = "<a href='" . smarty_function_url($params, &$smarty); if (isset($params['title'])) { $tag .= "' title='" . $params['title']; } $tag .= "'>"; return $tag; }
function content_54f1fed4301153_22470296($_smarty_tpl) { if (!is_callable('smarty_function_url')) { include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php'; } if (!is_callable('smarty_block_form')) { include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\block.form.php'; } ?> <?php ob_start(); echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['destroyPath']->value), $_smarty_tpl); $_tmp1 = ob_get_clean(); $_smarty_tpl->smarty->_tag_stack[] = array('form', array('method' => "POST", 'action' => $_tmp1)); $_block_repeat = true; echo smarty_block_form(array('method' => "POST", 'action' => $_tmp1), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['instanceName']->value; ?> [id]" value="<?php echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id']; ?> "/> <div class="block-fluid"> <div class="row-form"> <div class="span12 largerText">Delete this <?php echo $_smarty_tpl->tpl_vars['instanceName']->value; ?> ?</div> </div> <?php if (!$_smarty_tpl->tpl_vars['isAjax']->value) { ?> <div class="toolbar bottom TAR"> <button class="btn btn-primary" id="submitForm" type="submit">Submit</button> </div> <?php } ?> </div> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_form(array('method' => "POST", 'action' => $_tmp1), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php }
function smarty_block_a($params, $content, $template, &$repeat) { if ($open) { $tag = "<a href='" . smarty_function_url(array('link' => $params['href']), &$smarty); if (isset($params['title'])) { $tag .= "' title='" . $params['title']; } $tag .= "'>"; return $tag; } else { return "</a>"; } }
function smarty_block_mi($params, $content, &$smarty, &$repeat) { if (is_null($content)) { return; } else { $tag = "<a href='" . smarty_function_url($params, &$smarty); if (isset($params['title'])) { $tag .= "' title='" . $params['title']; } $tag .= "'>"; return "<li>" . $tag . $content . "</a></li>"; } }
function smarty_function_form($params, &$smarty) { if (!isset($params['method'])) { $params['method'] = "POST"; } if (isset($params['action'])) { $params['link'] = $params['action']; $params['action'] = smarty_function_url($params, &$smarty); unset($params['link']); } $tag = array("<form"); foreach ($params as $key => $val) { $tag[] = "{$key}='{$val}'"; } $tag[] = ">"; return join(" ", $tag); }
function content_53e1d743638683_38413837($_smarty_tpl) { if (!is_callable('smarty_function_url')) { include '/media/jay/Data/apache/skully-admin/vendor/skullyframework/skully/Skully/App/smarty/plugins/function.url.php'; } ?> <ul class="main"> <li><a href="<?php echo smarty_function_url(array('path' => 'admin/home/index'), $_smarty_tpl); ?> "><span class="icom-screen"></span><span class="text">Main</span></a></li> <li><a href="<?php echo smarty_function_url(array('path' => 'admin/admins/index'), $_smarty_tpl); ?> "><span class="icom-user3"></span><span class="text">Admins</span></a></li> <li> <a href="<?php echo smarty_function_url(array('path' => 'admin/cRUDImages/index'), $_smarty_tpl); ?> "><span class="icom-images"></span><span class="text">Images</span></a> <ul class="main"> <li><a href="<?php echo smarty_function_url(array('path' => 'admin/cRUDImages/index'), $_smarty_tpl); ?> "><span class="icom-images"></span><span class="text">Images (CRUD)</span></a></li> <li><a href="<?php echo smarty_function_url(array('path' => 'admin/settingImages/index'), $_smarty_tpl); ?> "><span class="icom-images"></span><span class="text">Images (Settings)</span></a></li> </ul> </li> <li><a href="<?php echo smarty_function_url(array('path' => 'admin/settings/index'), $_smarty_tpl); ?> "><span class="icom-cog"></span><span class="text">Settings</span></a></li> </ul><?php }
function content_54feaedb239000_00461935($_smarty_tpl) { if (!is_callable('smarty_function_url')) { include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php'; } ?> <ul class="main"> <li><a href="<?php echo smarty_function_url(array('path' => 'admin/home/index'), $_smarty_tpl); ?> "><span class="icom-screen"></span><span class="text">Main</span></a></li> <li><a href="<?php echo smarty_function_url(array('path' => 'admin/admins/index'), $_smarty_tpl); ?> "><span class="icom-user3"></span><span class="text">Admins</span></a></li> <li> <a href="<?php echo smarty_function_url(array('path' => 'admin/cRUDImages/index'), $_smarty_tpl); ?> "><span class="icom-images"></span><span class="text">Images</span></a> <ul class="main"> <li><a href="<?php echo smarty_function_url(array('path' => 'admin/cRUDImages/index'), $_smarty_tpl); ?> "><span class="icom-images"></span><span class="text">Images (CRUD)</span></a></li> <li><a href="<?php echo smarty_function_url(array('path' => 'admin/settingImages/index'), $_smarty_tpl); ?> "><span class="icom-images"></span><span class="text">Images (Settings)</span></a></li> </ul> </li> <li><a href="<?php echo smarty_function_url(array('path' => 'admin/settings/index'), $_smarty_tpl); ?> "><span class="icom-cog"></span><span class="text">Settings</span></a></li> </ul><?php }
<?php /* Smarty version 2.6.20, created on 2015-10-26 18:27:37 compiled from links/block/top_index.html */ require_once SMARTY_CORE_DIR . 'core.load_plugins.php'; smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'links/block/top_index.html', 2, false))), $this); ?> <!--<div id="link"> <div class="tit"><span><a href="<?php echo smarty_function_url(array('url' => '/links/'), $this); ?> ">友情链接</a></span></div> <div class="piclink"> <ul> <?php $_from = $this->_tpl_vars['arrLinkText']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if (count($_from)) { foreach ($_from as $this->_tpl_vars['arrTxt']) { ?> <li> <a href="<?php echo $this->_tpl_vars['arrTxt']['webhost']; ?> " title="<?php echo $this->_tpl_vars['arrTxt']['summary']; ?> " target="_blank"><?php echo $this->_tpl_vars['arrTxt']['webname'];
" border="0"/> <?php echo is_array($_tmp = 'General_Edit') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp); ?> </span></td> <td><span id="row<?php echo $this->_tpl_vars['site']['idsite']; ?> " class="deleteSite link_but"><img src='themes/default/images/ico_delete.png' title="<?php echo is_array($_tmp = 'General_Delete') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp); ?> " border="0" /> <?php echo is_array($_tmp = 'General_Delete') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp); ?> </span></td> <td><a href='<?php echo smarty_function_url(array('module' => 'CoreAdminHome', 'action' => 'trackingCodeGenerator', 'idSite' => $this->_tpl_vars['site']['idsite'], 'updated' => false), $this); ?> '><?php echo is_array($_tmp = 'SitesManager_ShowTrackingTag') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp); ?> </a></td> </tr> <?php } } unset($_from); ?> </tbody> </table> <?php if ($this->_tpl_vars['isSuperUser']) {
function content_54eb88a1d27624_52749959($_smarty_tpl) { if (!is_callable('smarty_function_url')) { include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php'; } if (!is_callable('smarty_block_form')) { include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\block.form.php'; } if (!is_callable('smarty_function_public_url')) { include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.public_url.php'; } ?> <div class="modal-header"> <a class="close" data-dismiss="modal">×</a> <h3>Delete image</h3> </div> <div class="modal-body"> <div class="row-fluid"> <?php echo $_smarty_tpl->getSubTemplate("admin/widgets/_ajaxAlerts.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <?php ob_start(); echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageDestroyPath']->value), $_smarty_tpl); $_tmp1 = ob_get_clean(); $_smarty_tpl->smarty->_tag_stack[] = array('form', array('method' => "POST", 'action' => $_tmp1)); $_block_repeat = true; echo smarty_block_form(array('method' => "POST", 'action' => $_tmp1), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <?php /* Call merged included template "admin/widgets/_alerts.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("admin/widgets/_alerts.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0, '1354354eb88a1bfc6c7-75272533'); content_54eb88a1ccd745_77511693($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "admin/widgets/_alerts.tpl" */ ?> <input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['instanceName']->value; ?> [id]" value="<?php echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id']; ?> "/> <input type="hidden" name="position" value="<?php echo $_smarty_tpl->tpl_vars['position']->value; ?> " /> <input type="hidden" name="setting" value="<?php echo $_smarty_tpl->tpl_vars['_imageSettingName']->value; ?> " /> <?php if ($_smarty_tpl->tpl_vars['isSettingModel']->value) { ?> <input type="hidden" name="field" value="value" /> <?php } else { ?> <input type="hidden" name="field" value="<?php echo $_smarty_tpl->tpl_vars['_imageSettingName']->value; ?> " /> <?php } ?> <div class="block-fluid"> <div class="row-form"> <div class="span12 largerText"> Delete this image? <div><img src="<?php ob_start(); echo $_smarty_tpl->tpl_vars['_image']->value; $_tmp2 = ob_get_clean(); echo smarty_function_public_url(array('path' => $_tmp2), $_smarty_tpl); ?> " /></div> </div> </div> <?php if (!$_smarty_tpl->tpl_vars['isAjax']->value) { ?> <div class="toolbar bottom TAR"> <button class="btn btn-primary" id="submitForm" type="submit">Submit</button> </div> <?php } ?> </div> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_form(array('method' => "POST", 'action' => $_tmp1), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </div> </div> <div class="modal-footer"> <a class="btn btn-danger" onclick="return deleteClicked();">Delete</a> <a class="btn" data-dismiss="modal">Close</a> </div><?php }
echo $this->_tpl_vars['arrData']['id']; ?> '></script><?php if ($this->_tpl_vars['arrData']['author'] != '') { ?> 作者:<?php echo $this->_tpl_vars['arrData']['author']; } if ($this->_tpl_vars['arrData']['source'] != '') { ?> 来源:<?php echo $this->_tpl_vars['arrData']['source']; } ?> 【字体:<a href="javascript:fontZoomA();">小</a> <a href="javascript:fontZoomB();">大</a> <a href="javascript:window.print();">打印</a> <a href="<?php echo smarty_function_url(array('url' => "/" . $this->_tpl_vars['arrGWeb']['module_id'] . "/detail.php?id=" . $this->_tpl_vars['arrData']['id'], 'cache' => '2'), $this); ?> ">DOC</a>】<br />收藏到:<script src="../../plug-in/favorite/sc.js"></script></li> </UL> </div> <div class="table_background_top"> <div class="title_item title_font_item"><?php echo $this->_tpl_vars['arrData']['title']; ?> </div> <div class="introduction_item"> <div class="intro_left"> <div class="img_box">
<img src="<?php echo $this->_tpl_vars['style']; ?> /images/sf.png" title="身份已认证" class="user_rz_img png"><?php } if ($this->_tpl_vars['user']['photo']) { ?> <img src="<?php echo $this->_tpl_vars['style']; ?> /images/profile.png" title="有形象照" class="user_rz_img png"><?php } ?> </div> <div class="search_user_list_neme search_user_list_w80"><a href="<?php echo smarty_function_url(array('m' => 'resume', 'url' => "id:" . $this->_tpl_vars['user']['id']), $this); ?> "><?php echo $this->_tpl_vars['user']['username_n']; ?> </a> </div> <div class="search_user_list_neme search_user_list_w80"><?php echo $this->_tpl_vars['user']['exp_n']; ?> </div> <div class="search_user_list_neme search_user_list_w50"><?php echo $this->_tpl_vars['user']['edu_n']; ?> </div> <div class="search_user_list_neme search_user_list_w50"><?php if ($this->_tpl_vars['user']['age'] == 0) {
</p> <?php } ?> <?php $_smarty_tpl_vars = $this->_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['subTemplateToLoad'], 'smarty_include_vars' => array())); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> <?php if ($this->_tpl_vars['showNextStep']) { ?> <p class="nextStep"> <a class="submit" href="<?php echo smarty_function_url(array('action' => $this->_tpl_vars['nextModuleName']), $this); ?> "><?php echo is_array($_tmp = 'General_Next') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp); ?> »</a> </p> <?php } ?> </div> <div class="both"></div> <br /> <br />
" border="0"/> <?php echo is_array($_tmp = 'General_Edit') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp); ?> </span></td> <td><span id="row<?php echo $this->_tpl_vars['i']; ?> " class="deleteSite link_but"><img src='themes/default/images/ico_delete.png' title="<?php echo is_array($_tmp = 'General_Delete') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp); ?> " border="0" /> <?php echo is_array($_tmp = 'General_Delete') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp); ?> </span></td> <td><a href='<?php echo smarty_function_url(array('action' => 'displayJavascriptCode', 'idSite' => $this->_tpl_vars['site']['idsite'], 'updated' => false), $this); ?> '><?php echo is_array($_tmp = 'SitesManager_ShowTrackingTag') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp); ?> </a></td> </tr> <?php } } unset($_from); ?> </tbody> </table> <?php if ($this->_tpl_vars['isSuperUser']) {
echo smarty_function_url(array('m' => 'hr', 'url' => "c:list,id:" . $this->_tpl_vars['list']['id']), $this); ?> " title="<?php echo $this->_tpl_vars['list']['name']; ?> "><?php echo $this->_tpl_vars['list']['name']; ?> </a></div> <div class="Toolbox_list_p"><?php echo $this->_tpl_vars['list']['content']; ?> </div> </div> <div class="Toolbox_list_r"><a href="<?php echo smarty_function_url(array('m' => 'hr', 'url' => "c:list,id:" . $this->_tpl_vars['list']['id']), $this); ?> " class="Toolbox_list_more">查看更多</a></div> </div> <?php } } unset($_from); ?> </div> <div class="Toolbox_right"> <div class="Toolbox_right_box"> <div class="Toolbox_search"> <form action="index.php" method="get" onsubmit="return checkkey();"> <input type="hidden" name="m" value="hr" /> <input type="hidden" name="c" value="list" />
<!--登录前 --> <div class="header_fixed_login_l" style="display:block"> <span class="header_fixed_login_dl" did="login"> 登录 <div class="header_fixed_login_box" id="login_t" style="display:none"> <a href="<?php echo smarty_function_url(array('url' => "m:login,usertype:1"), $this); ?> " class="header_fixed_login_a">个人登录</a> <a href="<?php echo smarty_function_url(array('url' => "m:login,usertype:2"), $this); ?> " class="header_fixed_login_a">企业登录</a> </div> </span>|<span class="header_fixed_login_dl" did="register"> 注册 <div class="header_fixed_reg_box" id="register_t" style="display:none"> <a href="<?php echo smarty_function_url(array('url' => "m:register,usertype:1"), $this); ?> " class="header_fixed_login_a">个人注册</a> <a href="<?php echo smarty_function_url(array('url' => "m:register,usertype:2"), $this); ?> " class="header_fixed_login_a">企业注册</a> </div> </span> </div> <!--登录前 end--> <!--登录后 --> <?php } else { ?> <div class="header_fixed_login_after"> <div class="header_fixed_login_after_cont"> <span class="header_fixed_login_after_name"><?php echo $this->_tpl_vars['cookie']['username']; ?> </span> <div class="header_fixed_reg_box" style="display:none"> <a href="###" class="header_fixed_login_a">邀请面试(10)</a> <a href="###" class="header_fixed_login_a">我的简历(3)</a> </div>
<?php /* Smarty version 2.6.20, created on 2015-10-26 18:29:04 compiled from Newspapers_magazines/block/search.html */ require_once SMARTY_CORE_DIR . 'core.load_plugins.php'; smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'Newspapers_magazines/block/search.html', 3, false))), $this); ?> <DIV id="menu"> <DIV class="menu_l"> 您的位置:<A href="<?php echo smarty_function_url(array('url' => "/"), $this); ?> ">首页</A> > <A href="<?php echo smarty_function_url(array('url' => "/" . $this->_tpl_vars['arrGWeb']['module_id'] . "/"), $this); ?> "><?php echo $this->_tpl_vars['arrGWeb']['module_name']; ?> </A><?php if ($this->_tpl_vars['strTypeTitle'] != '') { ?> > <?php echo $this->_tpl_vars['strTypeTitle']; } if ($this->_tpl_vars['arrData']['title'] != '') { ?> > <?php echo $this->_tpl_vars['arrData']['title']; } ?> </DIV>
function content_54feafa7356007_19509727($_smarty_tpl) { if (!is_callable('smarty_modifier_replace')) { include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\Library\\Smarty\\libs\\plugins\\modifier.replace.php'; } if (!is_callable('smarty_function_url')) { include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php'; } if (!is_callable('smarty_function_lang')) { include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.lang.php'; } if (!is_callable('smarty_function_theme_url')) { include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.theme_url.php'; } ?> <!DOCTYPE html> <html lang="en"> <head> <?php echo $_smarty_tpl->getSubTemplate("admin/wrappers/_header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <title>Edit <?php echo $_smarty_tpl->tpl_vars['instanceName']->value; ?> </title> </head> <body class="page-<?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['route']->value, '/', '-'); ?> "> <div class="header"> <a href="<?php echo smarty_function_url(array('path' => "home/index"), $_smarty_tpl); ?> " class="logo"></a> <div class="buttons"> <div class="popup" id="subNavControll"> <div class="label"><span class="icos-list"></span></div> </div> <div class="dropdown"> <div class="label"><span class="icos-user2"></span></div> <div class="body" style="width: 160px;"> <div class="itemLink"> <a href="<?php echo smarty_function_url(array('path' => "admin/admins/edit", 'id' => $_smarty_tpl->tpl_vars['user']->value['id']), $_smarty_tpl); ?> " title="<?php echo smarty_function_lang(array('value' => "My Settings"), $_smarty_tpl); ?> " data-toggle="dialog"><span class="icon-cog icon-white"></span> <?php echo smarty_function_lang(array('value' => "My Settings"), $_smarty_tpl); ?> </a> </div> <div class="itemLink"> <a href="<?php echo smarty_function_url(array('path' => "admin/admins/logout"), $_smarty_tpl); ?> "><span class="icon-off icon-white"></span> Logoff</a> </div> </div> </div> <div class="popup"> <div class="label"><span class="icos-cog"></span></div> <div class="body"> <div class="arrow"></div> <div class="row-fluid"> <div class="row-form"> <div class="span12"> <span class="top">Themes:</span> <div class="themes"> <a href="#" data-theme="" class="tip" title="Default"><img src="<?php echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/default.jpg"), $_smarty_tpl); ?> "/></a> <a href="#" data-theme="ssDaB" class="tip" title="DaB"><img src="<?php echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/dab.jpg"), $_smarty_tpl); ?> "/></a> <a href="#" data-theme="ssTq" class="tip" title="Tq"><img src="<?php echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/tq.jpg"), $_smarty_tpl); ?> "/></a> <a href="#" data-theme="ssGy" class="tip" title="Gy"><img src="<?php echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/gy.jpg"), $_smarty_tpl); ?> "/></a> <a href="#" data-theme="ssLight" class="tip" title="Light"><img src="<?php echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/light.jpg"), $_smarty_tpl); ?> "/></a> <a href="#" data-theme="ssDark" class="tip" title="Dark"><img src="<?php echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/dark.jpg"), $_smarty_tpl); ?> "/></a> <a href="#" data-theme="ssGreen" class="tip" title="Green"><img src="<?php echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/green.jpg"), $_smarty_tpl); ?> "/></a> <a href="#" data-theme="ssRed" class="tip" title="Red"><img src="<?php echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/red.jpg"), $_smarty_tpl); ?> "/></a> </div> </div> </div> <div class="row-form"> <div class="span12"> <span class="top">Backgrounds:</span> <div class="backgrounds"> <a href="#" data-background="bg_default" class="bg_default"></a> <a href="#" data-background="bg_mgrid" class="bg_mgrid"></a> <a href="#" data-background="bg_crosshatch" class="bg_crosshatch"></a> <a href="#" data-background="bg_hatch" class="bg_hatch"></a> <a href="#" data-background="bg_light_gray" class="bg_light_gray"></a> <a href="#" data-background="bg_dark_gray" class="bg_dark_gray"></a> <a href="#" data-background="bg_texture" class="bg_texture"></a> <a href="#" data-background="bg_light_orange" class="bg_light_orange"></a> <a href="#" data-background="bg_yellow_hatch" class="bg_yellow_hatch"></a> <a href="#" data-background="bg_green_hatch" class="bg_green_hatch"></a> </div> </div> </div> <div class="row-form"> <div class="span12"> <span class="top">Navigation:</span> <input type="radio" name="navigation" id="fixedNav"/> Fixed <input type="radio" name="navigation" id="collapsedNav"/> Collapsible <input type="radio" name="navigation" id="hiddenNav"/> Hidden </div> </div> </div> </div> </div> </div> </div> <div class="navigation"> <?php echo $_smarty_tpl->getSubTemplate("admin/widgets/_mainMenu.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <div class="control"></div> <div class="submain"> <div id="default"> <?php echo $_smarty_tpl->getSubTemplate("admin/widgets/_userInfo.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <div class="dr"><span></span></div> </div> </div> </div> <?php echo $_smarty_tpl->getSubTemplate("admin/widgets/_breadcrumbs.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <div class="content"> <div class="row-fluid"> <div class="span12"> <?php /* Call merged included template "admin/widgets/_alerts.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate('admin/widgets/_alerts.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0, '1156854feafa726eac0-95373703'); content_54feafa731adf2_96289847($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "admin/widgets/_alerts.tpl" */ ?> <div class="widget"> <div class="head"> <div class="icon"><i class="icosg-bookmark1"></i></div> <h2>Edit <?php echo $_smarty_tpl->tpl_vars['instanceName']->value; ?> </h2> </div> <?php echo $_smarty_tpl->tpl_vars['form']->value; ?> </div> </div> </div> </div> <?php if (!empty($_smarty_tpl->tpl_vars['errorAttributes']->value)) { ?> <script type="text/javascript"> var errors = <?php echo json_encode($_smarty_tpl->tpl_vars['errorAttributes']->value); ?> ; attachErrors(errors, '<?php echo $_smarty_tpl->tpl_vars['instance']->value; ?> '); </script> <?php } ?> <div class="loadingframe"></div> </body> </html><?php }
<?php $_from = $this->_tpl_vars['arrTopmultimedia_ad1']['0']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if (count($_from)) { foreach ($_from as $this->_tpl_vars['arrData']) { ?> <div class="v4_zy2a"> <div class="listText"> <a target="_blank" href="<?php if ($this->_tpl_vars['arrData']['linkurl'] != '') { echo $this->_tpl_vars['arrData']['linkurl']; } else { echo smarty_function_url(array('url' => "/multimedia_ad/detail.php?id=" . $this->_tpl_vars['arrData']['id'], 'cache' => $this->_tpl_vars['arrGWeb']['file_static']), $this); } ?> " title="<?php echo $this->_tpl_vars['arrData']['summary']; ?> "><img src="<?php echo $this->_tpl_vars['arrGWeb']['WEB_ROOT_pre']; ?> /templates/1/ad_lc/images/dian.gif" tppabs="http://www.mmggxx.cn/images/dian.gif" border="0"> <?php echo is_array($_tmp = $this->_tpl_vars['arrData']['title']) ? $this->_run_mod_handler('csubstr', true, $_tmp, 0, 20) : smarty_modifier_csubstr($_tmp, 0, 20); ?> ... </a> </div> <div class="listDate"><?php echo is_array($_tmp = $this->_tpl_vars['arrData']['submit_date']) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d");
</select> </th> </tr> </thead> <tbody id="tb"> </tbody> <tfoot> <?php if ($this->_tpl_vars['isSuperUser']) { ?> <tr> <td colspan="8" class="clean" style="text-align: right; padding-top: 15px;padding-right:10px"> <a href="<?php echo smarty_function_url(array(), $this); ?> &module=SitesManager&action=index&showaddsite=1"><img src='plugins/UsersManager/images/add.png' alt="" style="margin: 0;"/> <?php echo is_array($_tmp = 'SitesManager_AddSite') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp); ?> </a> </td> </tr> <?php } ?> <tr row_id="last"> <td colspan="8" class="clean" style="padding: 20px"> <span id="prev" class="pager" style="padding-right: 20px;"></span> <span class="dataTablePages">
<div class="top_controls_inner"> <?php $_smarty_tpl_vars = $this->_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "CoreHome/templates/period_select.tpl", 'smarty_include_vars' => array())); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> </div> <div class="widgetize"> <p>With Piwik, you can export your Web Analytics reports on your blog, website, or intranet dashboard... in one click. <p><b>› Widget authentication:</b> If you want your widgets to be viewable by everybody, you first have to set the 'view' permissions to the anonymous user in the <a href='index.php?module=UsersManager' target='_blank'>Users Management section</a>. <br />Alternatively, if you are publishing widgets on a password protected or private page, you don't necessarily have to allow 'anonymous' to view your reports. In this case, you can add the secret token_auth parameter (found in the <a href='<?php echo smarty_function_url(array('module' => 'API', 'action' => 'listAllAPI'), $this); ?> ' target='_blank'>API page</a>) in the widget URL. </p> <p><b>› Widgetize the full dashboard:</b> You can also display the full Piwik dashboard in your application or website in an IFRAME (<a href='' target='_blank' id='linkDashboardUrl'>see example</a>). The date parameter can be set to a specific calendar date, "today", or "yesterday". The period parameter can be set to "day", "week", "month", or "year". The language parameter can be set to the language code of a translation, such as language=fr. For example, for idSite=1 and date=yesterday, you can write: <span id='exportFullDashboard'></span> </p> <p> <b>› Select a report, and copy paste in your page the embed code below the widget:</b> <div id="widgetPreview"></div> <div id='iframeDivToExport' style='display:none;'></div> </div>
</div> <div id="newsBox" class="newsBox"> <?php $_smarty_tpl_vars = $this->_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "news_law/block/top_index.html", 'smarty_include_vars' => array())); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> </div> </div> <div class="law"> <div class="law_title"> <div class="lf_v4a"><h2><span class="style1">法律法规</span></h2></div> <div class="rh_v4a"><a href="<?php echo smarty_function_url(array('url' => '/news_law/list.php?type_id=2'), $this); ?> " class="style2" >更多 >></a></div> </div> <div id="newsBox" class="newsBox"> <?php $_smarty_tpl_vars = $this->_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "news_law/block/top_index1.html", 'smarty_include_vars' => array())); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> </div> </div> </div> <!--新闻和法律资讯栏目--> <?php
function content_54eb808c5c6d16_64728003($_smarty_tpl) { if (!is_callable('smarty_function_url')) { include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php'; } ?> <!DOCTYPE html> <html lang="en"> <head> <?php echo $_smarty_tpl->getSubTemplate("admin/wrappers/_header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <title>Administrator Area Login</title> </head> <body> <div class="header"> <a href="<?php echo smarty_function_url(array('path' => "admin/home/index"), $_smarty_tpl); ?> " class="logo centralize"></a> </div> <?php if (empty($_smarty_tpl->tpl_vars['email']->value)) { ?> <?php $_smarty_tpl->tpl_vars['email'] = new Smarty_variable('', null, 0); } ?> <div class="login" id="login"> <div class="wrap" id="main"> <?php echo $_smarty_tpl->getSubTemplate('admin/widgets/_alerts.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <h1>Welcome. Please Log In</h1> <form action="<?php echo smarty_function_url(array('path' => "admin/admins/loginProcess"), $_smarty_tpl); ?> " method="post" id="validate"> <div class="row-fluid"> <div class="input-prepend"> <span class="add-on"><i class="icon-user"></i></span> <input type="text" name="email" value="<?php echo $_smarty_tpl->tpl_vars['email']->value; ?> " placeholder="Email" class="validate[required]"/> </div> <div class="input-prepend"> <span class="add-on"><i class="icon-exclamation-sign"></i></span> <input type="password" name="password" value="" placeholder="Password" class="validate[required]"/> </div> <div class="dr"><span></span></div> </div> <div class="row-fluid"> <div class="span8"> <a class="btnForgetPassword" href="#" onClick="loginBlock('#forgot'); return false;">Forgot your password?</a> </div> <div class="span4 TAR"> <input type="submit" class="btn btn-block btn-primary" value="Log In"/> </div> </div> </form> </div> </div> <div class="login" id="forgot"> <div class="wrap"> <h1>Forgot your password?</h1> <div class="row-fluid tips"></div> <div class="row-fluid"> <p>Please enter your email address to recover your password</p> <div class="input-prepend"> <span class="add-on"><i class="icon-envelope"></i></span> <input type="text" name="email" placeholder="E-mail"/> </div> <div class="dr"><span></span></div> </div> <div class="row-fluid"> <div class="span4"> <button class="btn btn-block" onClick="loginBlock('#login');">Back</button> </div> <div class="span4"></div> <div class="span4 TAR"> <button class="btn btn-block btn-primary btnRecover">Recover</button> </div> </div> </div> </div> <script type="text/javascript"> $(function(){ $(".btnRecover").click(function(){ var tips = $("#forgot .tips"); tips.html( '<div class="alert alert-warning">Loading... Please wait...</div>' ); $.ajax({ url : '<?php echo smarty_function_url(array('path' => "admin/admins/forgetPassword"), $_smarty_tpl); ?> ', type : 'POST', data : { email : $("#forgot [name=email]").val() }, success: function(response){ var data = JSON.parse(response); if(data.success){ tips.html( '<div class="alert alert-success">An email has been sent to your email address. Please follow the instructions to recover your password.</div>' ); } else if(data.errors){ tips.html( '<div class="alert alert-error">' + data.errors + '</div>' ); } else{ tips.html( '<div class="alert alert-error">An error occurred while processing your request. Please try again later.</div>' ); } } }); return false; }); }); </script> </body> </html> <?php }