| @@ -5,9 +5,9 @@ | ||
| 5 | 5 | exit; |
| 6 | 6 | } |
| 7 | 7 | global $wpdb; |
| 8 | 8 | $tableuser = $wpdb->prefix.'wpbot_sessions'; |
| 9 | -$session_exists = $wpdb->get_row($wpdb->prepare("select * from {$tableuser} where 1 and id = %d",1)); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, PluginCheck.Security.DirectDB.UnescapedDBParameter | |
| 9 | +$session_exists = $wpdb->get_row($wpdb->prepare("select * from $tableuser where 1 and id = %d",1)); //DB Call OK, No Caching OK | |
| 10 | 10 | |
| 11 | 11 | if(!empty($session_exists)){ |
| 12 | 12 | $total_session = $session_exists->session; |
| 13 | 13 | }else{ |
| @@ -20,9 +20,9 @@ | ||
| 20 | 20 | |
| 21 | 21 | <div class="wp-chatbot-wrap"> |
| 22 | 22 | |
| 23 | 23 | |
| 24 | - <div class="wpbot_dashboard_header"><h1><?php esc_html_e('WPBot Dashboard', 'chatbot'); ?></h1> <p><strong>Core Version:</strong> v<?php echo esc_html( QCLD_wpCHATBOT_VERSION ); ?></p></div> | |
| 24 | + <div class="wpbot_dashboard_header"><h1><?php esc_html_e('WPBot Dashboard', 'chatbot'); ?></h1> <p><strong>Core Version:</strong> v<?php echo QCLD_wpCHATBOT_VERSION; ?></p></div> | |
| 25 | 25 | <div class="wpbot_addons_section qcld-main-wrapper"> |
| 26 | 26 | <div class="wpbot_single_addon_wrapper"> |
| 27 | 27 | |
| 28 | 28 | |
| @@ -121,9 +121,9 @@ | ||
| 121 | 121 | <?php if(function_exists('qcformbuilder_forms_load')){ |
| 122 | 122 | ?> |
| 123 | 123 | <a class="button button-secondary" href="<?php echo esc_url(admin_url('admin.php?page=qcformbuilder-forms')); ?>" ><?php esc_html_e('Settings', 'chatbot'); ?></a> |
| 124 | 124 | <?php if($cfb=='Free'): ?> |
| 125 | - <a class="button button-primary" href="https://www.quantumcloud.net/products/conversations-and-form-builder/" target="_blank" ><?php esc_html_e('Upgrade to Pro', 'chatbot'); ?></a> | |
| 125 | + <a class="button button-secondary" href="https://www.quantumcloud.com/products/conversations-and-form-builder/" target="_blank" >Upgrade to Pro <?php esc_html_e('Settings', 'chatbot'); ?></a> | |
| 126 | 126 | <?php endif; ?> |
| 127 | 127 | <?php |
| 128 | 128 | }else{ |
| 129 | 129 | ?> |
| @@ -224,9 +224,9 @@ | ||
| 224 | 224 | |
| 225 | 225 | <div class="wpbot_single_addon"> |
| 226 | 226 | <div class="wpbot_single_content"> |
| 227 | 227 | <div class="wpbot_addon_image"> |
| 228 | - <img src="<?php echo esc_url( QCLD_wpCHATBOT_PLUGIN_URL . 'images/mailing-list-integration.png' ); ?>" title="" /> | |
| 228 | + <img src="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'images/mailing-list-integrationt%20(1).png'); ?>" title="" /> | |
| 229 | 229 | </div> |
| 230 | 230 | <div class="wpbot_addon_content"> |
| 231 | 231 | <div class="wpbot_addon_title"><?php esc_html_e('Mailing List Integration', 'chatbot'); ?></div> |
| 232 | 232 | <div class="wpbot_addon_details"> |