diff -r bf1778c34b9a -r d8a8807227e4 wp/wp-content/plugins/portfolio/bws_menu/bws_menu.php --- a/wp/wp-content/plugins/portfolio/bws_menu/bws_menu.php Mon Oct 14 18:35:50 2019 +0200 +++ b/wp/wp-content/plugins/portfolio/bws_menu/bws_menu.php Tue Oct 15 11:56:20 2019 +0200 @@ -1,7 +1,7 @@ get_results( "SHOW VARIABLES LIKE 'sql_mode'" ); - if ( is_array( $mysql_info ) ) - $sql_mode = $mysql_info[0]->Value; - if ( empty( $sql_mode ) ) - $sql_mode = __( 'Not set', 'bestwebsoft' ); + $mysql_info = $wpdb->get_results( "SHOW VARIABLES LIKE 'sql_mode'" ); + if ( is_array( $mysql_info ) ) + $sql_mode = $mysql_info[0]->Value; + if ( empty( $sql_mode ) ) + $sql_mode = __( 'Not set', 'bestwebsoft' ); $allow_url_fopen = ( ini_get( 'allow_url_fopen' ) ) ? __( 'On', 'bestwebsoft' ) : __( 'Off', 'bestwebsoft' ); $upload_max_filesize = ( ini_get( 'upload_max_filesize' ) )? ini_get( 'upload_max_filesize' ) : __( 'N/A', 'bestwebsoft' ); @@ -290,82 +290,82 @@ } } } ?> -
-
- -
•••
-
+
+
+ +
•••
+
- - - + + + - - - + + + -
- -
-
+
+ +
+
-
-
-
-
-
- +
+
+
+
+ + ( time() - ( 24 * 60 * 60 ) ) ) { ?> -
- -
-
- + '5' < $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] && + $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - ( 24 * 60 * 60 ) ) ) { ?> +
+ +
+
+ -
- type="text" placeholder="" maxlength="100" name="bws_license_key" value="" /> -
>
-
- - +
+ type="text" placeholder="" maxlength="100" name="bws_license_key" value="" /> +
>
+
+ + - + - + - -
-
-
+ +
+
+
-
+
-
>

-

+
>

+

- -

+ + unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.' ), $_GET['charsout'] ); else $errmsg = __( 'Plugin could not be activated because it triggered a fatal error.' ); ?> -

+

-

activated.' ) ?>

+

activated.' ) ?>

' . $error . '

'; echo '

' . __( 'Return to BestWebSoft Panel', 'bestwebsoft' ) . '

'; } - } else { + } else { $category_href = $current_page; if ( 'all' != $plugin_category ) $category_href .= '&category=' . $plugin_category; ?> - -
-
-

- + +
+
+

+ -

-
-
-
    -
  • +

+
+
+ -
-
-
+ +
+
+
$value_plugin ) { @@ -503,19 +503,19 @@ } if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] && ! $is_pro_installed && ! $is_installed ) || - ( isset( $_GET['sub'] ) && 'not_installed' == $_GET['sub'] && ( $is_pro_installed || $is_installed ) ) ) + ( isset( $_GET['sub'] ) && 'not_installed' == $_GET['sub'] && ( $is_pro_installed || $is_installed ) ) ) continue; $link_attr = isset( $value_plugin['install_url'] ) ? 'href="' . esc_url( $value_plugin['install_url'] ) . '" target="_blank"' : 'href="' . esc_url( self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $key_plugin_explode[0] . '&from=import&TB_iframe=true&width=600&height=550' ) ) . '" class="thickbox open-plugin-details-modal"'; $nothing_found = false; ?> -
-
- > -
-
- -
+
+
+ > +
+
+ +
response[ $value_plugin['update_availible'] ]; echo ' - ' . sprintf( __( 'Update to v %s', 'bestwebsoft' ), $r->new_version ) . ''; } ?> -
-
+
+
100 ) ? mb_substr( $value_plugin['description'], 0, 100 ) . '...' : $value_plugin['description']; ?> -
- + -
-
-
+
+
+
+
-

+

-
-
-
-
-
    -
  • +
+
+
+
+ -
-
-
+ +
+
+
-

-
-
-
+

+
+
+
$theme ) { $installed_theme = wp_get_theme( $theme->slug ); ?> -
-
- slug . '.png'; ?>" alt="" /> -
-
-

name; ?>

-
- -
+
+
+ slug . '.png'; ?>" alt="" /> +
+
+

name; ?>

+
+ +
exists() ) { if ( $wp_version < '4.6' ) { ?> -
+
-

+

-
+
-
-
-
-

-
+
+
+
+

+
-

-
>

-
>

-
-

- - +

+
>

+
>

+ +

+ + -

-
-
-

- - - +

+
+
+

+ + + -

-
+

+ - - - - - - - - $value ) { ?> - - - - - - -
- - - -
+ + + + + + + + $value ) { ?> + + + + + + +
+ + + +
-
-
+ +