HEX
Server: nginx/1.28.3
System: Linux VM-0-7-opencloudos 6.6.117-45.oc9.x86_64 #1 SMP Thu Dec 4 10:26:39 CST 2025 x86_64
User: www (1000)
PHP: 8.2.28
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.213n.cn/wp-content/themes/rk-blogger/configure/fields.php
<?php
$custom_fields = [
  "general" => [
    "fields" => [
      "0" => [
        "label" => "列表页展示形式",
        "slug" => "list_display_mode",
        "type" => "radio",
        "attrs" => [
          "items" => [
            "0" => [
              "value" => "0",
              "label" => "两种形式供用户选择(默认)"
            ],
            "1" => [
              "value" => "1",
              "label" => "左边图片右边文字通栏形式"
            ],
            "2" => [
              "value" => "2",
              "label" => "卡片形式"
            ]
          ]
        ]
      ],
      "1" => [
        "label" => "首页列表展示形式",
        "slug" => "index_items_display_mode",
        "type" => "radio",
        "attrs" => [
          "items" => [
            "0" => [
              "value" => "2",
              "label" => "卡片形式(默认)"
            ],
            "1" => [
              "value" => "1",
              "label" => "左边图片右边文字通栏形式"
            ]
          ]
        ]
      ]
    ],
    "default" => [
      "list_display_mode" => "0",
      "index_items_display_mode" => "2"
    ]
  ],
  "footer" => [
    "fields" => [
      "0" => [
        "label" => "社交媒体",
        "slug" => "social",
        "type" => "social-setter",
        "attrs" => [
          "max" => 4,
          "items" => [
            "weixin" => [
              "code" => "weixin",
              "name" => "微信二维码图片",
              "type" => "1",
              "status" => "1",
              "img" => "",
              "url" => ""
            ],
            "weibo" => [
              "code" => "weibo",
              "name" => "微博",
              "type" => "0",
              "status" => "1",
              "img" => "",
              "url" => ""
            ],
            "qq" => [
              "code" => "qq",
              "name" => "QQ",
              "type" => "0",
              "status" => "0",
              "img" => "",
              "url" => ""
            ],
            "email" => [
              "code" => "email",
              "name" => "邮箱地址",
              "type" => "0",
              "status" => "0",
              "img" => "",
              "url" => ""
            ],
            "facebook" => [
              "code" => "facebook",
              "name" => "Facebook",
              "type" => "0",
              "status" => "0",
              "img" => "",
              "url" => ""
            ],
            "twitter" => [
              "code" => "twitter",
              "name" => "Twitter",
              "type" => "0",
              "status" => "0",
              "img" => "",
              "url" => ""
            ],
            "instagram" => [
              "code" => "instagram",
              "name" => "Instagram",
              "type" => "0",
              "status" => "0",
              "img" => "",
              "url" => ""
            ],
            "youtube" => [
              "code" => "youtube",
              "name" => "Youtube",
              "type" => "0",
              "status" => "0",
              "img" => "",
              "url" => ""
            ],
            "linkedin" => [
              "code" => "linkedin",
              "name" => "Linkedin",
              "type" => "0",
              "status" => "0",
              "img" => "",
              "url" => ""
            ],
            "pinterest" => [
              "code" => "pinterest",
              "name" => "Pinterest",
              "type" => "0",
              "status" => "0",
              "img" => "",
              "url" => ""
            ]
          ],
          "remark" => "* 至多可选择显示4个"
        ]
      ]
    ],
    "social" => [],
    "default" => [
      "social" => [
        "weixin" => [
          "code" => "weixin",
          "name" => "微信二维码图片",
          "type" => "1",
          "status" => "0",
          "img" => "",
          "url" => ""
        ],
        "weibo" => [
          "code" => "weibo",
          "name" => "微博",
          "type" => "0",
          "status" => "0",
          "img" => "",
          "url" => ""
        ],
        "qq" => [
          "code" => "qq",
          "name" => "QQ",
          "type" => "0",
          "status" => "0",
          "img" => "",
          "url" => ""
        ],
        "email" => [
          "code" => "email",
          "name" => "邮箱地址",
          "type" => "0",
          "status" => "0",
          "img" => "",
          "url" => ""
        ],
        "facebook" => [
          "code" => "facebook",
          "name" => "Facebook",
          "type" => "0",
          "status" => "0",
          "img" => "",
          "url" => ""
        ],
        "twitter" => [
          "code" => "twitter",
          "name" => "Twitter",
          "type" => "0",
          "status" => "0",
          "img" => "",
          "url" => ""
        ],
        "instagram" => [
          "code" => "instagram",
          "name" => "Instagram",
          "type" => "0",
          "status" => "0",
          "img" => "",
          "url" => ""
        ],
        "youtube" => [
          "code" => "youtube",
          "name" => "Youtube",
          "type" => "0",
          "status" => "0",
          "img" => "",
          "url" => ""
        ],
        "linkedin" => [
          "code" => "linkedin",
          "name" => "Linkedin",
          "type" => "0",
          "status" => "0",
          "img" => "",
          "url" => ""
        ],
        "pinterest" => [
          "code" => "pinterest",
          "name" => "Pinterest",
          "type" => "0",
          "status" => "0",
          "img" => "",
          "url" => ""
        ]
      ]
    ]
  ]
];

$custom_ad_fields = [
  "label" => "广告位管理",
  "group" => "bn",
  "slug" => "ads",
  "items" => [
    'list' => array(
      'id' => 'list',
      'name' => '列表页广告 - 卡片模式',
      'type' => 0,
      'code' => '',
      'img' => '',
      'url' => '',
      'code_desc' => '',
      'img_desc' => '建议300px宽 340px高'
    ),
    'list_b' => array(
      'id' => 'list_b',
      'name' => '列表页广告 - 通栏模式',
      'type' => 0,
      'code' => '',
      'img' => '',
      'url' => '',
      'code_desc' => '',
      'img_desc' => '建议940px宽 120px高'
    ),
    'list_title' => array(
      'id' => 'list_title',
      'name' => '列表页标题下广告',
      'type' => 0,
      'code' => '',
      'img' => '',
      'url' => '',
      'code_desc' => '',
      'img_desc' => ''
    ),
    'detail' => array(
      'id' => 'detail',
      'name' => '详情页广告',
      'type' => 0,
      'code' => '',
      'img' => '',
      'url' => '',
      'code_desc' => '',
      'img_desc' => ''
    ),
    'sidebar' => array(
      'id' => 'sidebar',
      'name' => '侧栏广告',
      'type' => 0,
      'code' => '',
      'img' => '',
      'url' => '',
      'code_desc' => '',
      'img_desc' => ''
    ),
    'sidebar_b' => array(
      'id' => 'sidebar_b',
      'name' => '侧栏广告-底部',
      'type' => 0,
      'code' => '',
      'img' => '',
      'url' => '',
      'code_desc' => '',
      'img_desc' => ''
    )
  ],
  "default" => [
    "ads" => [
      'list' => array(
        'id' => 'list',
        'type' => 0,
        'code' => '',
        'img' => '',
        'url' => '',
        'nofollow' => 0,
        'target' => 0
      ),
      'list_b' => array(
        'id' => 'list_b',
        'type' => 0,
        'code' => '',
        'img' => '',
        'url' => '',
        'nofollow' => 0,
        'target' => 0
      ),
      'list_title' => array(
        'id' => 'list_title',
        'type' => 0,
        'code' => '',
        'img' => '',
        'url' => '',
        'nofollow' => 0,
        'target' => 0
      ),
      'detail' => array(
        'id' => 'detail',
        'type' => 0,
        'code' => '',
        'img' => '',
        'url' => '',
        'nofollow' => 0,
        'target' => 0
      ),
      'sidebar' => array(
        'id' => 'sidebar',
        'type' => 0,
        'code' => '',
        'img' => '',
        'url' => '',
        'nofollow' => 0,
        'target' => 0
      ),
      'sidebar_b' => array(
        'id' => 'sidebar_b',
        'type' => 0,
        'code' => '',
        'img' => '',
        'url' => '',
        'nofollow' => 0,
        'target' => 0
      )
    ]
  ]
];