<?php /*a:2:{s:52:"D:\jiuzi\admin\app\admin\view\app\ver_game\edit.html";i:1682230059;s:49:"D:\jiuzi\admin\app\admin\view\layout\default.html";i:1681821608;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title><?php echo sysconfig('site','site_name'); ?></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" href="/static/admin/css/public.css?v=<?php echo htmlentities($version); ?>" media="all">
    <script>
        window.CONFIG = {
            ADMIN: "<?php echo htmlentities((isset($adminModuleName) && ($adminModuleName !== '')?$adminModuleName:'admin')); ?>",
            CONTROLLER_JS_PATH: "<?php echo htmlentities((isset($thisControllerJsPath) && ($thisControllerJsPath !== '')?$thisControllerJsPath:'')); ?>",
            ACTION: "<?php echo htmlentities((isset($thisAction) && ($thisAction !== '')?$thisAction:'')); ?>",
            AUTOLOAD_JS: "<?php echo htmlentities((isset($autoloadJs) && ($autoloadJs !== '')?$autoloadJs:'false')); ?>",
            IS_SUPER_ADMIN: "<?php echo htmlentities((isset($isSuperAdmin) && ($isSuperAdmin !== '')?$isSuperAdmin:'false')); ?>",
            VERSION: "<?php echo htmlentities((isset($version) && ($version !== '')?$version:'1.0.0')); ?>",
            CSRF_TOKEN: "<?php echo token(); ?>",
        };
    </script>
    <script src="/static/plugs/clipboard.js-master/dist/clipboard.min.js?v=<?php echo htmlentities($version); ?>" charset="utf-8"></script>
    <script src="/static/plugs/layui-v2.5.6/layui.all.js?v=<?php echo htmlentities($version); ?>" charset="utf-8"></script>
    <script src="/static/plugs/require-2.3.6/require.js?v=<?php echo htmlentities($version); ?>" charset="utf-8"></script>
    <script src="/static/config-admin.js?v=<?php echo htmlentities($version); ?>" charset="utf-8"></script>
</head>
<body>
<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">渠道名称</label>
            <div class="layui-input-block">
                <select name="ver">
                    <?php foreach($ver_row as $ver_class => $ver_name): ?>
                    <option value="<?php echo htmlentities($ver_class); ?>" <?php if($row['ver']==$ver_class): ?>selected=""<?php endif; ?>><?php echo $ver_name; ?></option>
                    <?php endforeach; ?>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">渠道号</label>
            <div class="layui-input-block">
                <input type="text" name="ver_code" class="layui-input" lay-verify="required" placeholder="渠道号" value="<?php echo htmlentities((isset($row['ver_code']) && ($row['ver_code'] !== '')?$row['ver_code']:'')); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">对接游戏</label>
            <div class="layui-input-block">
                <select name="app_id">
                    <?php foreach($game_row as $app_id => $app_name): ?>
                    <option value="<?php echo htmlentities($app_id); ?>" <?php if($row['app_id']==$app_id): ?>selected=""<?php endif; ?>><?php echo $app_name; ?></option>
                    <?php endforeach; ?>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">渠道APPID</label>
            <div class="layui-input-block">
                <input type="text" name="ver_appid" class="layui-input"  placeholder="请输入渠道应用id" value="<?php echo htmlentities((isset($row['ver_appid']) && ($row['ver_appid'] !== '')?$row['ver_appid']:'')); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">渠道APPKEY</label>
            <div class="layui-input-block">
                <input type="text" name="ver_appkey" class="layui-input"  placeholder="请输入应用key" value="<?php echo htmlentities((isset($row['ver_appkey']) && ($row['ver_appkey'] !== '')?$row['ver_appkey']:'')); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">渠道PAYKEY</label>
            <div class="layui-input-block">
                <input type="text" name="ver_paykey" class="layui-input"  placeholder="请输入支付key" value="<?php echo htmlentities((isset($row['ver_paykey']) && ($row['ver_paykey'] !== '')?$row['ver_paykey']:'')); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">扩展参数</label>
            <div class="layui-input-block">
                <input type="text" name="extra" class="layui-input"  placeholder="请输入扩展参数" value="<?php echo htmlentities((isset($row['extra']) && ($row['extra'] !== '')?$row['extra']:'')); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">登录接口</label>
            <div class="layui-input-block">
                <input type="text" name="login_url" class="layui-input" placeholder="请输入登录链接" value="<?php echo htmlentities((isset($row['login_url']) && ($row['login_url'] !== '')?$row['login_url']:'')); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">支付接口</label>
            <div class="layui-input-block">
                <input type="text" name="pay_url" class="layui-input" lay-verify="required" placeholder="请输入支付链接" value="<?php echo htmlentities((isset($row['pay_url']) && ($row['pay_url'] !== '')?$row['pay_url']:'')); ?>">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>

</body>
</html>
