getCompiled()->isFresh($_smarty_tpl, array ( 'version' => '5.3.1', 'unifunc' => 'content_67d50165f165f5_00455396', 'has_nocache_code' => false, 'file_dependency' => array ( '8a4a96cc30f8d77573b273c82931dc0f8a0b3009' => array ( 0 => 'admin/node/create.tpl', 1 => 1741954578, 2 => 'file', ), ), 'includes' => array ( 'file:admin/header.tpl' => 1, 'file:admin/footer.tpl' => 1, ), ))) { function content_67d50165f165f5_00455396 (\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"> >

基础信息

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

其他信息

流量设置
> const container = document.getElementById('custom_config'); let options = { modes: ['code', 'tree'], }; const editor = new JSONEditor(container, options); $("#create-node").click(function () { $.ajax({ url: '/admin/node', type: 'POST', 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"), 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); } }