TYPE-0 PERFECT SEIHA
Server Info:
FreeBSD scimitar.blueboard.cz 13.5-STABLE FreeBSD 13.5-STABLE stable/13-4f2925105 GENERIC amd64
Software:
Apache
User:
www
Crot
Crot File
Crot Dir
Crot Command
[LockSelf]
[HOME]
data
www
19068
fszoo_net
ekokomplex
wp
wp-admin
network
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/ekokomplex/wp/wp-admin/network/site-settings.php
<?php /** * Edit Site Settings Administration Screen * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! is_multisite() ) wp_die( __( 'Multisite support is not enabled.' ) ); if ( ! current_user_can( 'manage_sites' ) ) wp_die( __( 'You do not have sufficient permissions to edit this site.' ) ); get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __('Overview'), 'content' => '<p>' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '</p>' . '<p>' . __('<strong>Info</strong> — The site URL is rarely edited as this can cause the site to not work properly. The Registered date and Last Updated date are displayed. Network admins can mark a site as archived, spam, deleted and mature, to remove from public listings or disable.') . '</p>' . '<p>' . __('<strong>Users</strong> — This displays the users associated with this site. You can also change their role, reset their password, or remove them from the site. Removing the user from the site does not remove the user from the network.') . '</p>' . '<p>' . sprintf( __('<strong>Themes</strong> — This area shows themes that are not already enabled across the network. Enabling a theme in this menu makes it accessible to this site. It does not activate the theme, but allows it to show in the site’s Appearance menu. To enable a theme for the entire network, see the <a href="%s">Network Themes</a> screen.' ), network_admin_url( 'themes.php' ) ) . '</p>' . '<p>' . __('<strong>Settings</strong> — This page shows a list of all settings associated with this site. Some are created by WordPress and others are created by plugins you activate. Note that some fields are grayed out and say Serialized Data. You cannot modify these values due to the way the setting is stored in the database.') . '</p>' ) ); get_current_screen()->set_help_sidebar( '<p><strong>' . __('For more information:') . '</strong></p>' . '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen" target="_blank">Documentation on Site Management</a>') . '</p>' . '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/" target="_blank">Support Forums</a>') . '</p>' ); $id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; if ( ! $id ) wp_die( __('Invalid site ID.') ); $details = get_blog_details( $id ); if ( ! $details ) { wp_die( __( 'The requested site does not exist.' ) ); } if ( !can_edit_network( $details->site_id ) ) wp_die( __( 'You do not have permission to access this page.' ), 403 ); $is_main_site = is_main_site( $id ); if ( isset($_REQUEST['action']) && 'update-site' == $_REQUEST['action'] && is_array( $_POST['option'] ) ) { check_admin_referer( 'edit-site' ); switch_to_blog( $id ); $skip_options = array( 'allowedthemes' ); // Don't update these options since they are handled elsewhere in the form. foreach ( (array) $_POST['option'] as $key => $val ) { $key = wp_unslash( $key ); $val = wp_unslash( $val ); if ( $key === 0 || is_array( $val ) || in_array($key, $skip_options) ) continue; // Avoids "0 is a protected WP option and may not be modified" error when edit blog options update_option( $key, $val ); } /** * Fires after the site options are updated. * * @since 3.0.0 * @since 4.4.0 Added `$id` parameter. * * @param int $id The ID of the site being updated. */ do_action( 'wpmu_update_blog_options', $id ); restore_current_blog(); wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-settings.php') ); exit; } if ( isset($_GET['update']) ) { $messages = array(); if ( 'updated' == $_GET['update'] ) $messages[] = __('Site options updated.'); } $title = sprintf( __( 'Edit Site: %s' ), esc_html( $details->blogname ) ); $parent_file = 'sites.php'; $submenu_file = 'sites.php'; require( ABSPATH . 'wp-admin/admin-header.php' ); ?> <div class="wrap"> <h1 id="edit-site"><?php echo $title; ?></h1> <p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p> <h2 class="nav-tab-wrapper nav-tab-small wp-clearfix"> <?php $tabs = array( 'site-info' => array( 'label' => __( 'Info' ), 'url' => 'site-info.php' ), 'site-users' => array( 'label' => __( 'Users' ), 'url' => 'site-users.php' ), 'site-themes' => array( 'label' => __( 'Themes' ), 'url' => 'site-themes.php' ), 'site-settings' => array( 'label' => __( 'Settings' ), 'url' => 'site-settings.php' ), ); foreach ( $tabs as $tab_id => $tab ) { $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : ''; echo '<a href="' . $tab['url'] . '?id=' . $id .'" class="nav-tab' . $class . '">' . esc_html( $tab['label'] ) . '</a>'; } ?> </h2> <?php if ( ! empty( $messages ) ) { foreach ( $messages as $msg ) echo '<div id="message" class="updated notice is-dismissible"><p>' . $msg . '</p></div>'; } ?> <form method="post" action="site-settings.php?action=update-site"> <?php wp_nonce_field( 'edit-site' ); ?> <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> <table class="form-table"> <?php $blog_prefix = $wpdb->get_blog_prefix( $id ); $sql = "SELECT * FROM {$blog_prefix}options WHERE option_name NOT LIKE %s AND option_name NOT LIKE %s"; $query = $wpdb->prepare( $sql, $wpdb->esc_like( '_' ) . '%', '%' . $wpdb->esc_like( 'user_roles' ) ); $options = $wpdb->get_results( $query ); foreach ( $options as $option ) { if ( $option->option_name == 'default_role' ) $editblog_default_role = $option->option_value; $disabled = false; $class = 'all-options'; if ( is_serialized( $option->option_value ) ) { if ( is_serialized_string( $option->option_value ) ) { $option->option_value = esc_html( maybe_unserialize( $option->option_value ) ); } else { $option->option_value = 'SERIALIZED DATA'; $disabled = true; $class = 'all-options disabled'; } } if ( strpos( $option->option_value, "\n" ) !== false ) { ?> <tr class="form-field"> <th scope="row"><label for="<?php echo esc_attr( $option->option_name ) ?>"><?php echo ucwords( str_replace( "_", " ", $option->option_name ) ) ?></label></th> <td><textarea class="<?php echo $class; ?>" rows="5" cols="40" name="option[<?php echo esc_attr( $option->option_name ) ?>]" id="<?php echo esc_attr( $option->option_name ) ?>"<?php disabled( $disabled ) ?>><?php echo esc_textarea( $option->option_value ) ?></textarea></td> </tr> <?php } else { ?> <tr class="form-field"> <th scope="row"><label for="<?php echo esc_attr( $option->option_name ) ?>"><?php echo esc_html( ucwords( str_replace( "_", " ", $option->option_name ) ) ); ?></label></th> <?php if ( $is_main_site && in_array( $option->option_name, array( 'siteurl', 'home' ) ) ) { ?> <td><code><?php echo esc_html( $option->option_value ) ?></code></td> <?php } else { ?> <td><input class="<?php echo $class; ?>" name="option[<?php echo esc_attr( $option->option_name ) ?>]" type="text" id="<?php echo esc_attr( $option->option_name ) ?>" value="<?php echo esc_attr( $option->option_value ) ?>" size="40" <?php disabled( $disabled ) ?> /></td> <?php } ?> </tr> <?php } } // End foreach /** * Fires at the end of the Edit Site form, before the submit button. * * @since 3.0.0 * * @param int $id Site ID. */ do_action( 'wpmueditblogaction', $id ); ?> </table> <?php submit_button(); ?> </form> </div> <?php require( ABSPATH . 'wp-admin/admin-footer.php' );
Crotin
Name
Size
Permissions
Modified
User/Group
site-info.php
9394
0644
2016-04-18 15:52:57
Unknown/Unknown
index.php
2912
0644
2016-04-18 15:52:56
Unknown/Unknown
theme-install.php
466
0644
2016-04-18 15:52:58
Unknown/Unknown
user-edit.php
350
0644
2016-04-18 15:52:58
Unknown/Unknown
edit.php
934
0644
2016-04-18 15:52:56
Unknown/Unknown
plugin-editor.php
358
0644
2016-04-18 15:52:56
Unknown/Unknown
site-new.php
9014
0644
2016-04-18 15:52:57
Unknown/Unknown
setup.php
344
0644
2016-04-18 15:52:57
Unknown/Unknown
plugin-install.php
469
0644
2016-04-18 15:52:56
Unknown/Unknown
settings.php
17985
0644
2016-04-18 15:52:57
Unknown/Unknown
menu.php
4150
0644
2016-04-18 15:52:56
Unknown/Unknown
sites.php
10576
0644
2016-04-18 15:52:58
Unknown/Unknown
upgrade.php
4672
0644
2016-04-18 15:52:58
Unknown/Unknown
site-settings.php
7865
0644
2016-04-18 15:52:57
Unknown/Unknown
theme-editor.php
356
0644
2016-04-18 15:52:58
Unknown/Unknown
credits.php
346
0644
2016-04-18 15:52:56
Unknown/Unknown
user-new.php
4919
0644
2016-04-18 15:52:58
Unknown/Unknown
profile.php
351
0644
2016-04-18 15:52:56
Unknown/Unknown
update.php
537
0644
2016-04-18 15:52:58
Unknown/Unknown
plugins.php
346
0644
2016-04-18 15:52:56
Unknown/Unknown
site-users.php
12854
0644
2016-04-18 15:52:58
Unknown/Unknown
users.php
8341
0644
2016-04-18 15:52:58
Unknown/Unknown
update-core.php
350
0644
2016-04-18 15:52:58
Unknown/Unknown
site-themes.php
7922
0644
2016-04-18 15:52:58
Unknown/Unknown
admin.php
949
0644
2016-04-18 15:52:56
Unknown/Unknown
about.php
342
0644
2016-04-18 15:52:56
Unknown/Unknown
freedoms.php
348
0644
2016-04-18 15:52:56
Unknown/Unknown
themes.php
11482
0644
2016-04-18 15:52:58
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin