getCompiled()->isFresh($_smarty_tpl, array ( 'version' => '5.3.1', 'unifunc' => 'content_67d422f233a1c2_03544758', 'has_nocache_code' => false, 'file_dependency' => array ( '933b7b5b66c1e2891bbdc1dcb6629578648ef5c1' => array ( 0 => 'admin/node/edit.tpl', 1 => 1741954578, 2 => 'file', ), ), 'includes' => array ( 'file:admin/header.tpl' => 1, 'file:admin/footer.tpl' => 1, ), ))) { function content_67d422f233a1c2_03544758 (\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = '/www/wwwroot/fuuu.cloud/resources/views/tabler/admin/node'; $_smarty_tpl->renderSubTemplate('file:admin/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir); ?> src="//getValue('config')['jsdelivr_url'];?> /npm/jsoneditor@latest/dist/jsoneditor.min.js"> >

基础信息

显示此节点
动态倍率
启用动态流量倍率

其他信息

流量设置
高级选项
> let clipboard = new ClipboardJS('.copy'); clipboard.on('success', function (e) { $('#success-noreload-message').text('已复制到剪切板'); $('#success-noreload-dialog').modal('show'); }); const container = document.getElementById('custom_config'); let options = { modes: ['code', 'tree'], }; const editor = new JSONEditor(container, options); editor.set(getValue('node')->custom_config;?> ) $("#reset-bandwidth").click(function () { $.ajax({ url: '/admin/node/getValue('node')->id;?> /reset_bandwidth', type: 'POST', dataType: "json", success: function (data) { if (data.ret === 1) { $('#success-message').text(data.msg); $('#success-dialog').modal('show'); } else { $('#fail-message').text(data.msg); $('#fail-dialog').modal('show'); } } }) }); $("#reset-password").click(function () { $.ajax({ url: '/admin/node/getValue('node')->id;?> /reset_password', type: 'POST', dataType: "json", success: function (data) { if (data.ret === 1) { $('#success-message').text(data.msg); $('#success-dialog').modal('show'); } else { $('#fail-message').text(data.msg); $('#fail-dialog').modal('show'); } } }) }); $("#save-node").click(function () { $.ajax({ url: '/admin/node/getValue('node')->id;?> ', type: 'PUT', dataType: "json", data: { getSmarty()->getRuntime('Foreach')->init($_smarty_tpl, $_smarty_tpl->getValue('update_field'), 'key'); $foreach0DoElse = true; foreach ($_from ?? [] as $_smarty_tpl->getVariable('key')->value) { $foreach0DoElse = false; ?> getValue('key');?> : $('#getValue('key');?> ').val(), getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?> type: $("#type").is(":checked"), is_dynamic_rate: $("#is_dynamic_rate").is(":checked"), custom_config: JSON.stringify(editor.get()), }, success: function (data) { if (data.ret === 1) { $('#success-message').text(data.msg); $('#success-dialog').modal('show'); window.setTimeout("location.href=top.document.referrer", getValue('config')['jump_delay'];?> ); } else { $('#fail-message').text(data.msg); $('#fail-dialog').modal('show'); } } }) }); > renderSubTemplate('file:admin/footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir); } }