403Webshell
Server IP : 162.213.251.208  /  Your IP : 3.135.212.177
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : jmoroovq ( 1890)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/jmoroovq/expressmedicalbillingservices.com/wp-content/plugins/chatbot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/jmoroovq/expressmedicalbillingservices.com/wp-content/plugins/chatbot/admin_ui.php
<?php

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
  exit;
}
?>

<div class="<?php esc_attr_e( 'wrap',  'wpbot' );  ?> ">
  <h1 style="display:none">
    <?php esc_html_e('WPBot', 'wpbot'); ?>
  </h1>
</div>
<div class="<?php esc_attr_e( 'wp-chatbot-wrap',  'wpbot' );  ?> ">
<div class="<?php esc_attr_e( 'icon32',  'wpbot' );  ?> "><br>
</div>
<form action="<?php echo esc_url($action,  'wpbot'); ?>" method="POST" id="<?php esc_attr_e( 'wp-chatbot-admin-form',  'wpbot' );  ?>"
          enctype="multipart/form-data',  'wpbot' );  ?> ">      
  <div class="<?php esc_attr_e( 'container form-container',  'wpbot' );  ?> ">


  <div class="lineanimation">
<svg width="350" height="350" viewBox="0 0 308 309" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<circle id="a" cx="150" cy="150" r="150"></circle>
<linearGradient x1="50%" y1="0%" x2="50%" y2="62.304%" id="c">
<stop stop-color="#09DFF3" offset="0%"></stop>
<stop stop-color="#44BEFF" offset="100%"></stop>
</linearGradient>
</defs>
<g>
<path id="l1" d="M0 130 L300 130"></path>
<path id="l2" d="M0 150 L300 150"></path>
<path id="l3" d="M0 170 L300 170"></path>
<path id="l4" d="M0 190 L300 190"></path>
</g>
</svg></div>



    <header class="<?php esc_attr_e( 'wp-chatbot-admin-header',  'wpbot' );  ?> ">
      <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
        <div class="<?php esc_attr_e( 'col-sm-6',  'wpbot' );  ?> ">
          <h3>
            <?php esc_html_e('WPBot Control Panel', 'wpbot'); ?>
            <?php echo esc_attr( get_option('wp_chatbot_index_meta') ); ?>
          </h3>
        </div>
        <div class="<?php esc_attr_e( 'col-sm-6 text-right wp-chatbot-version',  'wpbot' );  ?> ">
          
          <div class="<?php esc_attr_e( 'wpchatbot-lite-version-section',  'wpbot' );  ?> ">
          <h3 class="<?php esc_attr_e( 'wpchatbot-liteversion',  'wpbot' );  ?> ">
            <?php esc_html_e('The Lite Version', 'wpbot'); ?> 
          </h3>
          <a class="<?php esc_attr_e( 'wpchatbot-Upgrade',  'wpbot' );  ?>" href="<?php echo esc_url( 'https://www.wpbot.pro/',  'wpbot' );  ?>" target="_blank"><?php esc_html_e( 'Upgrade To Pro',  'wpbot' );  ?></a>
            </div>
        </div>
      </div>
    </header>
    <section class="<?php esc_attr_e( 'wp-chatbot-tab-container-inner',  'wpbot' );  ?> ">
      <div class="<?php esc_attr_e( 'wp-chatbot-tabs wp-chatbot-tabs-style-flip',  'wpbot' );  ?> ">
        <nav>
          <ul>
            <li class="tab-current" tab-data="started"><a href="<?php echo esc_url($action .'&tab=started',  'wpbot' );  ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon',  'wpbot' );  ?> "> <i class="<?php esc_attr_e( 'fa fa-toggle-on',  'wpbot' );  ?> "> </i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name',  'wpbot' );  ?> ">
              <?php esc_html_e('GETTING STARTED', 'wpbot'); ?>
              </span> </a></li>
            <li  tab-data="general',  'wpbot' );  ?> "><a href="<?php echo esc_url($action .'&tab=general',  'wpbot' );  ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon',  'wpbot' );  ?> "> <i class="<?php esc_attr_e( 'fa fa-toggle-on',  'wpbot' );  ?> "> </i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name',  'wpbot' );  ?> ">
              <?php esc_html_e('GENERAL SETTINGS', 'wpbot'); ?>
              </span> </a></li>
            <li tab-data="language"><a href="<?php echo esc_url($action .'&tab=language',  'wpbot' );  ?>"> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon',  'wpbot' );  ?> "> <i class="<?php esc_attr_e( 'fa fa-language',  'wpbot' );  ?> "></i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name',  'wpbot' );  ?> ">
              <?php esc_html_e('Change Language', 'wpbot'); ?>
              </span> </a></li>
            <li tab-data="themes"><a href="<?php echo esc_url($action .'&tab=themes',  'wpbot' );  ?>"> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon',  'wpbot' );  ?> "> <i class="<?php esc_attr_e( 'fa fa-gear faa-spin',  'wpbot' );  ?>"></i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name',  'wpbot' );  ?> ">
              <?php esc_html_e('ICONS & THEMES', 'wpbot'); ?>
              </span> </a></li>
            <li tab-data="support"><a href="<?php echo esc_url($action .'&tab=support',  'wpbot' );  ?>"> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon',  'wpbot' );  ?> "> <i class="<?php esc_attr_e( 'fa fa-life-ring',  'wpbot' );  ?> "></i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name',  'wpbot' );  ?> ">
              <?php esc_html_e('FAQ Builder', 'wpbot'); ?>
              </span> </a></li>
            <li tab-data="startmenu"><a href="<?php echo esc_url($action .'&tab=startmenu',  'wpbot' );  ?>"> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon',  'wpbot' );  ?> "> <i class="<?php esc_attr_e( 'fa fa-bars',  'wpbot' );  ?> "></i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name',  'wpbot' );  ?> "><?php esc_html_e('Start Menu', 'wpbot'); ?></span> </a></li>
            
      
            <li tab-data="ai"><a href="<?php echo esc_url($action .'&tab=ai',  'wpbot' );  ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon',  'wpbot' );  ?> "> <i class="<?php esc_attr_e( 'fa fa-500px',  'wpbot' );  ?> "></i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name',  'wpbot' );  ?> ">
              <?php esc_html_e('Dialogflow', 'wpbot'); ?>
              </span> </a></li>
            
            <div class="<?php esc_attr_e( 'cxsc-settings_openai_border',  'wpbot' );  ?> "> <a href="<?php echo esc_url( $action .'_openAi',  'wpbot' );  ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon',  'wpbot' );  ?> "> <i class="<?php esc_attr_e( 'fa fa-gear',  'wpbot' );  ?> "></i> 
            </span> <span class="<?php esc_attr_e( '',  'wpbot' );  ?> "> <?php esc_html_e('OpenAI Settings', 'wpbot'); ?> </span> 
            </a>
            </div>
            <li tab-data="custom_css',  'wpbot' );  ?> "> <a href="<?php echo esc_url($action .'&tab=ai',  'wpbot' );  ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon',  'wpbot' );  ?> "> <i class="<?php esc_attr_e( 'fa fa-code',  'wpbot' );  ?> "></i> 
            </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name',  'wpbot' );  ?> "> <?php esc_html_e('Custom CSS', 'wpbot'); ?></span> </a>
            </li>

            <li tab-data="<?php echo esc_url('rpl',  'wpbot' );  ?> "><a href="<?php  echo esc_url($action .'&tab=rpl',  'wpbot' );  ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon',  'wpbot' );  ?> "> <i class="<?php esc_attr_e( 'fa fa-plug',  'wpbot' );  ?> "></i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name',  'wpbot' );  ?> "> <?php  esc_html_e('Conversational Form', 'wpbot'); ?> </span> </a>
            </li>
          </ul>
          
          <div class="<?php esc_attr_e( 'text-center mt-5',  'wpbot' );  ?> ">
            <input type="button" class="<?php esc_attr_e( 'btn btn-warning submit-button',  'wpbot' );  ?>"
                                   id="<?php esc_attr_e( 'qcld-wp-chatbot-reset-option',  'wpbot' );  ?>"
                                   value="<?php esc_html_e('Reset all options to Default', 'wpbot'); ?>"/>
          </div>
        </nav>




        <div class="<?php esc_attr_e( 'content-wrap',  'wpbot' );  ?>">
        <section id="<?php esc_attr_e( 'section-flip-1',  'wpbot' );  ?>">
            <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic',  'wpbot' );  ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
              <p class="<?php // esc_attr_e( 'd-ib',  'wpbot' );  ?> "><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
            </div> -->
          
           <div class="wrap swpm-admin-menu-wrap">
            <div class="wrap swpm-admin-menu-wrap">
                <h3 class="nav-tab-wrapper sld_nav_container wppt_nav_container"> 
                    <a class="nav-tab sld_click_handle nav-tab-active"  href="#general_int"><?php echo esc_html('Getting Started'); ?></a> 
                    <a class="nav-tab sld_click_handle "  href="#general_wp_nutshell"><?php echo esc_html('WPBot – In a Nutshell'); ?></a> 
                </h3>
                <div class="wppt-settings-section" style="margin-right:unset;margin-left:unset; display:block; margin-top:40px" id="general_int">
                    <div class="content form-container qcbot_help_secion" style=""> 
                        <!-- new Section -->
                    
                    <h3 style="margin-top: 10px;color:#fff"><?php echo esc_html__('WPBot Interactions', 'wpbot'); ?></h3>
                    <p style="color: #fff !important;"><?php echo esc_html__('You can use WPBot to both answer user questions and collect information from the users.', 'wpbot'); ?></br>
                    <?php echo esc_html__('To create answers to user questions you can use:', 'wpbot'); ?></br>
                    <b style="font-size: 14px"><?php echo esc_html__('Simple Text Responses', 'wpbot'); ?></b> (built-in),  <b style="font-size: 14px"><?php echo esc_html__('FAQ', 'wpbot'); ?></b>(built-in),  <b style="font-size: 14px"><?php echo esc_html__('Site search', 'wpbot'); ?></b>(built-in),  <b style="font-size: 14px"><?php echo esc_html__('Product search', 'wpbot'); ?></b>(built-in Pro feature),  <b style="font-size: 14px"><?php echo esc_html__('DialogFlow', 'wpbot'); ?></b>(3rd Party) or  <b style="font-size: 14px"><?php echo esc_html__('OpenAI', 'wpbot'); ?></b>(3rd Party)</br>
                    <?php echo esc_html__('To collect information from your users you can use:', 'wpbot'); ?></br>
                    <b style="font-size: 14px">
                    <?php echo esc_html__('Conversational forms', 'wpbot'); ?></b>(built-in),  <b style="font-size: 14px"><?php echo esc_html__('Mail us', 'wpbot'); ?></b>(built-in),  <b style="font-size: 14px"><?php echo esc_html__('Call me back', 'wpbot'); ?></b>(built-in),  <b style="font-size: 14px"><?php echo esc_html__('Collect feedback features', 'wpbot'); ?></b>(built-in)</p>
                    <h6 style="color:#fff"><?php echo esc_html__('You can create user interactions in the following ways:', 'wpbot'); ?></h6>
                    <div style="clear:both"></div>
                    <div class="panel panel-default">
                          <div class="panel-heading" role="tab" id="FeaturesOne">
                              <h4 class="panel-title">
                              <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#FeaturescollapseOne" aria-expanded="false" aria-controls="FeaturescollapseOne"> <?php esc_html_e('Predefined intents - Built-in ChatBot Features', 'wpbot'); ?>  </a>
                              </h4>
                          </div>
                          <div id="FeaturescollapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="FeaturesOne">
                              <div class="panel-body"> <?php esc_html_e('Predefined intents can work without integration to DialogFlow API and AI. These are readily available as soon as you install the plugin and can be turned on or off individually.', 'wpbot'); ?>  <div class="section-container">
                                  <div class="wpb_column vc_column_container vc_col-sm-6">
                                  <div class="vc_column-inner ">
                                      <div class="wpb_wrapper">
                                      <div class="to-icon-box  left txt-left">
                                          <div class="to-icon-txt fa-4x-txt ">
                                          <h3>
                                              <span>// </span><?php esc_html_e('Simple Text Responses', 'wpbot'); ?> 
                                          </h3>
                                          <p><?php esc_html_e('Create unlimited text responses from your WordPress backend. The ChatBot uses advanced search algorithm for natural language phrase matching with user input.', 'wpbot'); ?> </p>
                                          </div>
                                      </div>
                                      <div class="to-icon-box  left txt-left">
                                          <div class="to-icon-txt fa-4x-txt ">
                                          <h3>
                                              <span>// </span><?php esc_html_e('Send eMail, Call Me Back &amp; Feedback Collection', 'wpbot'); ?>
                                          </h3>
                                          <p><?php esc_html_e('Users can send a email to the site admin directly from the Chat window for customer support. The Call Me Back feature lets you get call requests from your customers which will be emailed to you. You can also use WPBot to collect Feedback from your customers regarding anything! You can disable/enable these features from the Start Menu.', 'wpbot'); ?></p>
                                          </div>
                                      </div>
                                      <div class="to-icon-box  left txt-left">
                                          <div class="to-icon-txt fa-4x-txt ">
                                          <h3>
                                              <span>// </span><?php esc_html_e('Advanced Site Search', 'wpbot'); ?> <span class="qc_wpbot_pro">PRO</span>
                                          </h3>
                                          <p><?php esc_html_e('If no matching text response is found WPBot will conduct an advanced website search and try to match user queries with your website contents and show results.', 'wpbot'); ?>  </p>
                                          </div>
                                      </div>
                                      </div>
                                  </div>
                                  </div>
                                  <div class="wpb_column vc_column_container vc_col-sm-6">
                                  <div class="vc_column-inner ">
                                      <div class="wpb_wrapper">
                                      <div class="to-icon-box  left txt-left">
                                          <div class="to-icon-txt fa-4x-txt ">
                                          <h3>
                                              <span>// </span><?php esc_html_e('Frequently Asked Questions', 'wpbot'); ?>
                                          </h3>
                                          <p><?php esc_html_e('Create a set of Frequently Asked Questions or FAQ so users can quickly find answers to the most common questions they have.', 'wpbot'); ?></p>
                                          </div>
                                      </div>
                                      <div class="to-icon-box  left txt-left">
                                          <div class="to-icon-txt fa-4x-txt ">
                                          <h3>
                                              <span>// </span>Ask for name, email, phone number etc.
                                          </h3>
                                          <p><?php esc_html_e('Asking for the name is the default workflow. In the pro version, you can also ask for an email and phone number if you want to or skip the Greetings part altogether and load any intent of your choice.', 'wpbot'); ?></p>
                                          </div>
                                      </div>
                                      <div class="to-icon-box  left txt-left">
                                          <div class="to-icon-txt fa-4x-txt ">
                                          <h3>
                                              <span>// </span><?php esc_html_e('Newsletter Subscription', 'wpbot'); ?> <span class="qc_wpbot_pro">PRO</span>
                                          </h3>
                                          <p><?php esc_html_e('WPBot can prompt User for eMail subscription. Link this with your Retargeting ChatBot window popup and a special offer. People can register their email address that you can later export as CSV!', 'wpbot'); ?> <strong>GDPR compliant</strong> with unsubscribe option from the ChatBot! </p>
                                          </div>
                                      </div>
                                      </div>
                                  </div>
                                  </div>
                              </div>
                              </div>
                          </div>
                          </div>
                          <div class="panel panel-default">
                          <div class="panel-heading" role="tab" id="headingTwo">
                              <h4 class="panel-title">
                              <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"><?php esc_html_e(' Menu Driven - Created with Conversational Form Builder Addon', 'wpbot'); ?> </a>
                              </h4>
                          </div>
                          <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
                              <div class="panel-body">
                              <p><?php esc_html_e('Extend the Start Menu with the', 'wpbot'); ?> <strong><?php esc_html_e('powerful Conversational Forms', 'wpbot'); ?></strong>&nbsp;<?php esc_html_e(' Addon for WPBot. It extends WPBot’s functionality and adds the ability to create', 'wpbot'); ?> <strong><?php esc_html_e('conditional conversations', 'wpbot'); ?></strong> <?php esc_html_e('and/or', 'wpbot'); ?> <strong><?php esc_html_e('forms', 'wpbot'); ?></strong> <?php esc_html_e('for the WPBot. It is a visual,', 'wpbot'); ?> <strong><?php esc_html_e('drag and drop', 'wpbot'); ?></strong><?php esc_html_e(' form builder that is easy to use and very flexible. Supports conditional logic and use of variables to build all types of forms or just', 'wpbot'); ?> <strong><?php esc_html_e('menu driven', 'wpbot'); ?></strong>
                                  <strong><?php esc_html_e('conversations', 'wpbot'); ?> </strong><?php esc_html_e('with if else logic', 'wpbot'); ?>  <strong>. </strong><?php esc_html_e('Conversations or forms can be', 'wpbot'); ?> <strong><?php esc_html_e('eMailed', 'wpbot'); ?></strong> <?php esc_html_e('to you and', 'wpbot'); ?>  <strong><?php esc_html_e('saved in the database', 'wpbot'); ?></strong>.
                              </p>
                              <h4><?php esc_html_e('Conversational Form Builder Free or Pro version works with the WPBot Free or Pro versions.', 'wpbot'); ?></h4>
                              <a class="FormBuilder" href="https://wordpress.org/plugins/conversational-forms/" target="_blank"><?php esc_html_e('Download Free Version', 'wpbot'); ?></a>
                              <a class="FormBuilder" href="https://www.quantumcloud.com/products/conversations-and-form-builder/" target="_blank"><?php esc_html_e('Grab the Pro version', 'wpbot'); ?></a>
                              <h4><?php esc_html_e('What Can You Do with it?', 'wpbot'); ?></h4>
                              <p><?php esc_html_e('Conversation Forms allows you to create a wide variety of forms, that might include:', 'wpbot'); ?></p>
                              <ul>
                                  <li><?php esc_html_e('Create menu or button driven conversations', 'wpbot'); ?></li>
                                  <li><?php esc_html_e('Conditional <strong>Menu Driven Conversations', 'wpbot'); ?></strong>
                                  <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'wpbot'); ?></span>
                                  </li>
                                  <li><?php esc_html_e('Standard Contact Forms', 'wpbot'); ?></li>
                                  <li><?php esc_html_e('Dynamic,', 'wpbot'); ?> <strong><?php esc_html_e('conditional Forms', 'wpbot'); ?></strong> <?php esc_html_e('– where fields can change based on the user selections', 'wpbot'); ?> <span class="qc_wpbot_pro" style="font-size: 9px;">PRO</span>
                                  </li>
                                  <li>Job <strong><?php esc_html_e('Application Forms', 'wpbot'); ?></strong>
                                  </li>
                                  <li>
                                  <strong><?php esc_html_e('Lead Capture', 'wpbot'); ?></strong> <?php esc_html_e('Forms', 'wpbot'); ?>
                                  </li>
                                  <li><?php esc_html_e('Various types of', 'wpbot'); ?> <strong><?php esc_html_e('Calculators', 'wpbot'); ?></strong>
                                  <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'wpbot'); ?></span>
                                  </li>
                                  <li><?php esc_html_e('Feedback', 'wpbot'); ?> <strong>Survey</strong><?php esc_html_e(' Forms etc.', 'wpbot'); ?> </li>
                              </ul>
                              </div>
                          </div>
                          </div>
                          <div class="panel panel-default">
                          <div class="panel-heading" role="tab" id="AIheadingThree">
                              <h4 class="panel-title">
                              <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#AIcollapseThree" aria-expanded="false" aria-controls="AIcollapseThree"> <?php esc_html_e('DialogFlow ES and CX, OpenAI', 'wpbot'); ?> </a>
                              </h4>
                          </div>
                          <div id="AIcollapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="AIheadingThree">
                              <div class="panel-body">
                              <div class="section-container">
                                  <div class="wpb_column vc_column_container vc_col-sm-6">
                                  <div class="wpb_wrapper">
                                      <h3 style="font-size: 20px;"><?php esc_html_e('DialogFlow Essential', 'wpbot'); ?></h3> <?php esc_html_e('Intents created in Dialogflow give you the power to build a truly human like, intelligent and comprehensive chatbot. Build any type of Intents and Responses (including rich message responses) directly in DialogFlow and train the bot accordingly. When you create custom intents and responses in DialogFlow, WPBot will <strong>automatically</strong> display them when user inputs match with your Custom Intents along with the responses you created. You can also build Rich responses by enabling Facebook messenger Response option.', 'wpbot'); ?> <p></p>
                                      <p style="text-align: left;"><?php esc_html_e('In addition you can also Enable ', 'wpbot'); ?><strong><?php esc_html_e('Advanced Chained Question and Answers</strong> using follow up Intents, Contexts, Entities etc. and then have resulting answers from your users emailed to you. This feature lets you create a a series of questions in DialogFlow that will be asked by the bot and based on the user inputs a response will be displayed.', 'wpbot'); ?> <span class="qc_wpbot_pro" style="font-size: 9px;">PRO', 'wpbot'); ?></span>
                                      </p>
                                      <p style="text-align: left;"><?php esc_html_e('WPBot also supports Rich responses using Facebook Messenger integration. This allows you to display Image,', 'wpbot'); ?> <strong>Cards</strong><?php esc_html_e(', Quick Text Reply or Custom PayLoad inside the ChatBot window. You can also insert an ', 'wpbot'); ?><strong><?php esc_html_e('image', 'wpbot'); ?></strong><?php esc_html_e(' or', 'wpbot'); ?> <strong><?php esc_html_e('youtube video', 'wpbot'); ?></strong><?php esc_html_e(' link inside the DialogFlow responses and they will be automatically rendered by the WPBot!', 'wpbot'); ?> <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'wpbot'); ?></span>
                                      </p>
                                      <h3 style="font-size: 20px;"><?php esc_html_e('OpenAI', 'wpbot'); ?></h3><?php esc_html_e('Connect the ChatBot to OpenAI. OpenAI’s API provides access to GPT-3, for a wide variety of natural language tasks. Train your ChatBot with (pre-trained) GPT-3 to answer any user questions using. Select your preferred Engine from DaVinci, Ada, Curie or Babbag! Add your own API key to the addon to connect to your OpenAI account. To go live, you need to apply to OpenAI.', 'wpbot'); ?>
                                  </div>
                                  </div>
                                  <div class="wpb_column vc_column_container vc_col-sm-6">
                                  <div class="wpb_wrapper">
                                      <h3 style="font-size: 20px;"><?php esc_html_e('DialogFlow CX', 'wpbot'); ?> <span class="qc_wpbot_pro">PRO</span>
                                      </h3>
                                      <p><?php esc_html_e('WPBot supports', 'wpbot'); ?> <strong><?php esc_html_e('visual workflow builder', 'wpbot'); ?></strong><?php esc_html_e(' Dialogflow CX. It provides a new way of designing agents, taking a state machine approach to agent design. This gives you clear and explicit control over a conversation, a better end-user experience, and a better development', 'wpbot'); ?> <strong><?php esc_html_e('workflow', 'wpbot'); ?></strong>. </p>
                                      <ul>
                                      <li>
                                          <strong><?php esc_html_e('Console visualization', 'wpbot'); ?></strong><?php esc_html_e(': A new', 'wpbot'); ?> <strong><?php esc_html_e('visual builder', 'wpbot'); ?></strong> <?php esc_html_e('makes building and maintaining agents easier. Conversation paths are graphed as a state machine model, which makes conversations easier to design, enhance, and maintain.', 'wpbot'); ?>
                                      </li>
                                      <li>
                                          <strong><?php esc_html_e('Intuitive and powerful conversation control', 'wpbot'); ?></strong>: <?php esc_html_e('Conversation states and state transitions are first-class types that provide explicit and powerful control over conversation paths. You can clearly define a series of steps that you want the end-user to go through.', 'wpbot'); ?>
                                      </li>
                                      <li>
                                          <strong><?php esc_html_e('Flows for agent partitions', 'wpbot'); ?></strong>: <?php esc_html_e('With flows, you can partition your agent into smaller conversation topics. Different team members can own different flows, which makes large and complex agents easy to build.', 'wpbot'); ?>
                                      </li>
                                      <img style="width:100%" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/dialogflow-cx-1024x676.jpg' ); ?>" alt="Dialogflow CX">
                                      </ul>
                                  </div>
                                  </div>
                              </div>
                              </div>
                          </div>
                      </div>
                    
                    
                    <!-- end new Section --> 
                    
                  </div>
                  </div>
                </div>
                <div class="wppt-settings-section" style="margin-right:unset;margin-left:unset;margin-top:40px;display:none" id="general_wp_nutshell">
                    <div class="content form-container qcbot_help_secion" style="background: #32373c"> 
                    <!-- new Section -->
                        <h3 style="margin-top: 10px;color:#fff"><?php echo esc_html__('WPBot – In a Nutshell', 'wpbot'); ?></h3>
            
                        <h6 style="color:#fff"><?php echo esc_html__('This is by no means a comprehensive list of WPBot features. But knowing these core terms will help you understand how WPBot was designed to work.', 'wpbot'); ?></h6>
                        <div style="clear:both"></div>
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingOne">
                                <h4 class="panel-title">
                                <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="false" aria-controls="collapseOne"> <?php esc_html_e('Intents', 'wpbot'); ?>  </a>
                                </h4>
                            </div>
                            <div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body"> 
                                    <?php echo esc_html_e(' Intent is all about what the user wants to get out of the interaction. Whenever a user types something or clicks a button, the ChatBot will try to understand what the user wants and fulfill the request with appropriate responses.'); ?></br></br>
                                    <?php echo esc_html_e('You have to create possible Intent Responses using different features of the WPBot so the bot can respond accordingly. You can create Responses for various Intents using:'); ?><b>
                                    <?php echo esc_html_e('Simple Text Responses, Conversational form builder, FAQ, Site Search, Send an eMail, Newsletter Subscription, DialogFlow, OpenAI etc.'); ?></b></br></br>
                                    <?php echo esc_html_e('Please check this article for'); ?> <h3 class="wppt_nav_container qcld-plan-tab-text"> 
                                        <a class="nav-tab qcld-plan-tab-text"  href="#general_int"><?php echo esc_html_e('more details'); ?></a> </h3>  <?php echo esc_html_e('on how you can create Intents and Responses.'); ?>
                                    </div>
                            </div>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingSix">
                                <h4 class="panel-title">
                                <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseSix" aria-expanded="false" aria-controls="collapseSix"> <?php esc_html_e('Start Menu', 'wpbot'); ?>  </a>
                                </h4>
                            </div>
                            <div id="collapseSix" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingSix">
                                <div class="panel-body"> 
                                    <?php echo esc_html_e('While using a ChatBot, users can get lost or not know how to Interact with the Bot. That is why we have a Start menu to always give the user'); ?> <b><?php echo esc_html_e('options to do more'); ?></b>. <?php echo esc_html_e('From ChatBot->Settings->Start Menu you can drag Available Menu Items (Intents) to the Active Menu Items area.'); ?></br></br>
                                    <?php echo esc_html_e('Besides the built-in Intents, you can also create custom Intents for your Start Menu using'); ?> <b><?php echo esc_html_e('Simple Text Responses'); ?></b> and <b><?php echo esc_html_e('Conversational form builder'); ?></b>. <?php echo esc_html_e('You can create almost any kind of response with the combinations of the two.'); ?></br></br>
                                    <?php echo esc_html_e('We recommend enabling'); ?><b><?php echo esc_html_e(' Show Start Menu After Greetings '); ?></b><?php echo esc_html_e('from ChatBot Pro->Settings->General settings.'); ?>
                                </div>
                            </div>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingSeven">
                                <h4 class="panel-title">
                                <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseSeven" aria-expanded="false" aria-controls="collapseSeven"> <?php esc_html_e('Settings', 'wpbot'); ?>  </a>
                                </h4>
                            </div>
                            <div id="collapseSeven" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingSeven">
                                    <div class="panel-body"> 
                                        <?php echo esc_html_e('Head over to ChatBot Pro->Settings->General and make sure to Enable the Floating Icon. As soon as you do that, the ChatBot can start working for your users. Make sure to drag some items to the Active Menu area under the Start Menu.'); ?></br></br>
                                        <?php echo esc_html_e('The ChatBot settings area is full of options. Do not be intimidated by that. You do not need to use all the options – just what you need. Head over to the Settings->'); ?><b><?php echo esc_html_e('Icons and Themes'); ?></b> <?php echo esc_html_e('for options to customize your ChatBot. You will also find options to embed the ChatBot on a page, click to chat, FAQ builder etc. under the Setting options.'); ?>
                                    </div>
                            </div>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingEight">
                                <h4 class="panel-title">
                                <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseEight" aria-expanded="false" aria-controls="collapseEight"> <?php esc_html_e('Language Center', 'wpbot'); ?>  </a>
                                </h4>
                            </div>
                            <div id="collapseEight" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingEight">
                                    <div class="panel-body"> 
                                    <?php echo esc_html_e('You can use the ChatBot in'); ?> <b><?php echo esc_html_e('ANY language'); ?></b>. <?php echo esc_html_e('Just translate the texts used by the ChatBot from the WordPress dashboard ChatBot Pro->'); ?><b><?php echo esc_html_e('Language Center. Multi language'); ?></b> <?php echo esc_html_e('module is available in the Master License..'); ?>
                                    </div>
                            </div>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingtwo">
                                <h4 class="panel-title">
                                <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapsetwo" aria-expanded="false" aria-controls="collapseOne"> <?php esc_html_e('Simple Text Responses', 'wpbot'); ?>  </a>
                                </h4>
                            </div>
                            <div id="collapsetwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingtwo">
                                    <div class="panel-body"> 
                                    <?php echo esc_html_e('You can use ChatBot Pro->Simple Text Responses to create'); ?> <b><?php echo esc_html_e('text-based responses'); ?></b> <?php echo esc_html_e('that users may ask your ChatBot. Just define the questions, answers, and some keywords and you are done. This is a much simpler'); ?>  <b><?php echo esc_html_e('alternative '); ?></b> <?php echo esc_html_e('to DialogFlow or OpenAI.'); ?>
                                    </div>
                            </div>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingThree">
                                <h4 class="panel-title">
                                <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree"> <?php esc_html_e('Conversational Forms', 'wpbot'); ?>  </a>
                                </h4>
                            </div>
                            <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
                                <div class="panel-body"> 
                                <?php echo esc_html_e('Use conversational forms to collect information from the users. This is also great for Button driven workflow. Create conditional conversations and forms for a native WordPress ChatBot experience. Build Standard Forms, Dynamic Forms with'); ?> <b> <?php echo esc_html_e('conditional fields, Calculators, Appointment booking'); ?></b> <?php echo esc_html_e('etc.'); ?>
                                </div>
                            </div>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingten">
                                <h4 class="panel-title">
                                <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseten" aria-expanded="false" aria-controls="collapseten"> <?php esc_html_e('Retargeting (Pro feature)', 'wpbot'); ?>  </a>
                                </h4>
                            </div>
                            <div id="collapseten" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingten">
                                <div class="panel-body"> 
                                <?php echo esc_html_e('Retargeting is a powerful feature to grab your user’s attention with motivating information (a sale, coupon, ebook etc.). You can trigger a Retargeting message and the ChatBot window will automatically'); ?> <b> <?php echo esc_html_e('automatically '); ?></b><?php echo esc_html_e('open up with your message.  You can trigger Retargeting for '); ?><b> <?php echo esc_html_e('Exit Intent, Exit Intent, Scroll Intent, Auto After “X” Seconds, Checkout'); ?></b> <?php echo esc_html_e('etc.'); ?>
                                </div>
                            </div>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingFour">
                                <h4 class="panel-title">
                                <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="false" aria-controls="collapseFour"> <?php esc_html_e('OpenAI or DialogFlow', 'wpbot'); ?>  </a>
                                </h4>
                            </div>
                            <div id="collapseFour" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFour">
                                <div class="panel-body"> 
                                <?php echo esc_html_e('If you need a bot that can understand natural language better, use either OpenAI or DialogFlow. Between the two'); ?> <b> <?php echo esc_html_e('DialogFlow'); ?></b> <?php echo esc_html_e('is better if you want to'); ?> <b> <?php echo esc_html_e('provide customer support'); ?></b>. <?php echo esc_html_e('OpenAI is better at generic questions and training OpenAI also requires a large dataset. But you do not have to use either 3rd party service. Using OpenAI or DialogFlow requires some patience and'); ?> <b> <?php echo esc_html_e('effort'); ?></b>. <?php echo esc_html_e('You may very well achieve what you need using '); ?><b> <?php echo esc_html_e('Simple Text Responses'); ?></b> <?php echo esc_html_e('and/or'); ?> <b> <?php echo esc_html_e('Conversational form builder'); ?></b> <?php echo esc_html_e('instead.'); ?>
                                </div>
                            </div>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingFive">
                                <h4 class="panel-title">
                                <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFive" aria-expanded="false" aria-controls="collapseFive"> <?php esc_html_e('Getting Help', 'wpbot'); ?>  </a>
                                </h4>
                            </div>
                            <div id="collapseFive" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFive">
                                <div class="panel-body"> 
                                    <?php echo esc_html_e('We have built-in Help section under each module. Please check them out and you will get many answers to the questions you may have. If you cannot find the answer to something particular, just contact us.'); ?> <b><?php echo esc_html_e('Pro version '); ?></b><?php echo esc_html_e('users can open a support ticket from here. We are '); ?><b><?php echo esc_html_e('friendly '); ?></b><?php echo esc_html_e('and always here to help.'); ?>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- end new Section --> 
                </div>
            <script type="text/javascript">  
                  jQuery(document).ready(function($){
                      var url=document.URL;
                      var arr=url.split('#');
                      var tab_tar = '.'+arr[1];
                      setTimeout(function(){
                              jQuery(tab_tar).trigger('click');
                          }, 500);
                      
                      jQuery('.wppt_nav_container .nav-tab').on('click', function(e){
                          e.preventDefault();
                          var section_id = jQuery(this).attr('href');
                          jQuery('.wppt_nav_container .nav-tab').removeClass('nav-tab-active');
                          jQuery(this).addClass('nav-tab-active');
                          jQuery('.wppt-settings-section').hide();
                          jQuery('.wppt-settings-section').each(function(){
                              jQuery(section_id).show();
                          });
                      });
                  })
            </script>
          </section>
          <section id="<?php esc_attr_e( 'section-flip-2',  'wpbot' );  ?>">
            <div class="<?php esc_attr_e( 'top-section',  'wpbot' );  ?> ">
              <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                  <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic',  'wpbot' );  ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
                    <p class="<?php // esc_attr_e( 'd-ib',  'wpbot' );  ?> "><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
                  </div> -->
                  <div class="<?php esc_attr_e( 'cxsc-settings-blocks-notic',  'wpbot' );  ?> ">
                    <p class="<?php esc_attr_e( 'd-ib',  'wpbot' );  ?> "><i class="fa fa-check-square-o" aria-hidden="true"></i> <?php esc_html_e('Please see the plugin`s Getting Started section for how to create interactions.', 'wpbot'); ?></p>
                    <p class="<?php esc_attr_e( 'd-ib',  'wpbot' );  ?> "><i class="fa fa-check-square-o" aria-hidden="true"></i> <?php esc_html_e('You can change ALL the texts used by the ChatBot to YOUR language here -> ', 'wpbot'); ?><?php esc_html_e('Change Language', 'wpbot'); ?></p>
                    <p class="<?php esc_attr_e( 'd-ib',  'wpbot' );  ?> "><i class="fa fa-check-square-o" aria-hidden="true"></i> <?php esc_html_e('Please see the plugin`s Help and Debugging section to troubleshoot common issues.', 'wpbot'); ?></p>
                  </div>
          
                  <b>
                  <!-- <p>Please see the plugin's Help and Debugging section to troubleshoot common issues.</p> -->
                  </b>
                  <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                    <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                      <?php
                        $url = get_site_url();
                        $url = wp_parse_url($url);
                        $domain = $url['host'];
                        
                        $admin_email = get_option('admin_email');
                      ?>
                      <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "><?php esc_html_e('Emails Will be Sent to', 'wpbot'); ?></h4>
                      <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?> "
                                                       name="qlcd_wp_chatbot_admin_email"
                                                       value="<?php echo (get_option('qlcd_wp_chatbot_admin_email') != '' ? esc_attr(get_option('qlcd_wp_chatbot_admin_email')) : esc_attr($admin_email) )  ?>">
                      <label for="disable_wp_chatbot',  'wpbot' );  ?>"><?php esc_html_e('Support and Call Back requests will be sent to this address', 'wpbot'); ?> </label>
                    </div>
                  </div>
                  <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                    <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                      <?php
                          $url = get_site_url();  
                          $url = wp_parse_url($url);
                          $domain = $url['host'];
                          $fromEmail = "wordpress@" . $domain;
                      ?>
                      <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "><?php esc_html_e('From Email Address', 'wpbot'); ?></h4>
                      <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                       name="qlcd_wp_chatbot_from_email"
                                                       value="<?php echo (get_option('qlcd_wp_chatbot_from_email') != '' ?  esc_attr( get_option('qlcd_wp_chatbot_from_email')) :  esc_attr($fromEmail)); ?> ">
                      <label for="qlcd_wp_chatbot_from_email',  'wpbot' );  ?>"><?php esc_html_e('All emails will be sent from this email address. If you change the From Email Address then please make sure the domain remains the same as where WordPress is installed. Otherwise, the emails may not be received.', 'wpbot'); ?> </label>
                    </div>
                  </div>
                </div>
              </div>
              <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                  <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                    <?php esc_html_e('Disable WPBot', 'wpbot'); ?>
                  </h4>
                  <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?>">
                    <input value="<?php esc_attr_e('1', 'wpbot'); ?>" id="<?php esc_attr_e( 'disable_wp_chatbot',  'wpbot' );  ?>" type="checkbox"
                                                   name="disable_wp_chatbot" <?php echo (get_option('disable_wp_chatbot') == 1 ?  esc_attr('checked'): ''); ?>>
                    <label for="<?php esc_attr_e('disable_wp_chatbot',  'wpbot' );  ?>">
                      <?php esc_html_e('Disable WPBot to Load', 'wpbot'); ?>
                    </label>
                  </div>
                </div>
              </div>
              <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                  <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                    <?php esc_html_e('Disable WPbot on Mobile Device', 'wpbot'); ?>
                  </h4>
                  <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                    <input value="<?php esc_attr_e('1', 'wpbot'); ?>" id="<?php esc_attr_e( 'disable_wp_chatbot_on_mobile',  'wpbot' );  ?>" type="checkbox"
                                                   name="disable_wp_chatbot_on_mobile" <?php echo (get_option('disable_wp_chatbot_on_mobile') == 1 ?  esc_attr('checked' ) : ''); ?>>
                    <label for="<?php esc_attr_e('disable_wp_chatbot_on_mobile',  'wpbot' );  ?>">
                      <?php esc_html_e('Disable WpBot to Load on Mobile Device', 'wpbot'); ?>
                    </label>
                  </div>
                </div>
              </div>
        
              <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                  <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                    <?php esc_html_e('Enable RTL', 'wpbot'); ?>
                  </h4>
                  <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                    <input value="<?php esc_attr_e('1', 'wpbot'); ?>" id="<?php esc_attr_e( 'enable_wp_chatbot_rtl',  'wpbot' );  ?>" type="checkbox"
                                                   name="enable_wp_chatbot_rtl" <?php echo (get_option('enable_wp_chatbot_rtl') == 1 ?  esc_attr('checked' ): ''); ?>>
                    <label for="<?php esc_attr_e( 'enable_wp_chatbot_rtl',  'wpbot' );  ?>">
                      <?php esc_html_e('Enable RTL (Right to Left language) Support for Chat', 'wpbot'); ?>
                    </label>
                  </div>
                </div>
              </div>
              <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                  <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "> 
                      <?php esc_html_e('Show Start Menu After Greetings', 'wpbot'); ?> 
                  </h4>
                  <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                    <input value="<?php esc_attr_e('1', 'wpbot'); ?>" id="<?php esc_attr_e( 'show_menu_after_greetings',  'wpbot' );  ?>" type="checkbox"
                                                   name="show_menu_after_greetings" <?php echo (get_option('show_menu_after_greetings') == 1 ?  esc_attr('checked' ): ''); ?>>
                    <label for="<?php esc_html_e('show_menu_after_greetings',  'wpbot' );  ?>">
                        <?php esc_html_e('Show Start Menu After Greetings', 'wpbot'); ?>
                    </label>
                  </div>
                </div>
              </div>
         
              <!-- <div class="<?php // esc_attr_e( 'row',  'wpbot' );  ?> ">
                <div class="<?php // esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                  <h4 class="<?php // esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                    <?php // esc_html_e('WPBot Open Full Screen in Mobile', 'wpbot'); ?>
                  </h4>
                  <div class="<?php // esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                    <input value="<?php // esc_attr_e('1', 'wpbot'); ?>" id="<?php // esc_attr_e( 'enable_wp_chatbot_mobile_full_screen',  'wpbot' );  ?>" type="checkbox"
                                                   name="enable_wp_chatbot_mobile_full_screen" <?php // echo (get_option('enable_wp_chatbot_mobile_full_screen') == 1 ? esc_attr('checked' ): ''); ?>>
                    <label for="<?php // esc_attr_e( 'enable_wp_chatbot_mobile_full_screen',  'wpbot' );  ?>">
                      <?php // esc_html_e('Enable WpBot Open Full Screen in Mobile', 'wpbot'); ?>
                    </label>
                  </div>
                </div>
              </div> -->
              <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                  <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "><?php esc_html_e('Bot Response Delay', 'wpbot'); ?> </h4>
                  <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                    <select name="wpbot_preloading_time" id="<?php esc_attr_e( 'wpbot_preloading_time',  'wpbot' );  ?> ">
                      <option value="<?php esc_attr_e('100', 'wpbot'); ?>" <?php  esc_attr_e((get_option('wpbot_preloading_time') == '100' ? 'selected="selected"' : ''), 'wpbot'); ?>><?php esc_html_e('0 Second', 'wpbot'); ?></option>
                      <option value="<?php esc_attr_e('500', 'wpbot'); ?>" <?php esc_attr_e((get_option('wpbot_preloading_time') == '500' ? 'selected="selected"' : ''), 'wpbot'); ?>><?php esc_html_e('0.5 Second', 'wpbot'); ?></option>
                      <option value="<?php esc_attr_e('1000', 'wpbot'); ?>" <?php esc_attr_e((get_option('wpbot_preloading_time') == '1000' ? 'selected="selected"' : ''), 'wpbot'); ?>><?php esc_html_e('1 Second', 'wpbot'); ?></option>
                      <option value="<?php esc_attr_e('2000', 'wpbot'); ?>" <?php esc_attr_e((get_option('wpbot_preloading_time') == '2000' ? 'selected="selected"' : ''), 'wpbot'); ?>><?php esc_html_e('2 Second', 'wpbot'); ?></option>
                      <option value="<?php esc_attr_e('3000', 'wpbot'); ?>" <?php esc_attr_e((get_option('wpbot_preloading_time') == '3000' ? 'selected="selected"' : ''), 'wpbot'); ?>><?php esc_html_e('3 Second', 'wpbot'); ?></option>
                    </select>
                    <label for="wpbot_preloading_time',  'wpbot' );  ?> "><?php esc_html_e('Bot Response Delay', 'wpbot'); ?> </label>
                  </div>
                </div>
              </div>
              <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                  <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                    <?php esc_html_e('Override WPBot Icon\'s Position', 'wpbot'); ?>
                  </h4>
                  <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                    <?php
                      $qcld_wb_chatbot_position_x = get_option('wp_chatbot_position_x');
                      if ((!isset($qcld_wb_chatbot_position_x)) || ($qcld_wb_chatbot_position_x == "")) {
                          $qcld_wb_chatbot_position_x = __("120", "wp_chatbot");
                      }
                      $qcld_wb_chatbot_position_y = get_option('wp_chatbot_position_y');
                      if ((!isset($qcld_wb_chatbot_position_y)) || ($qcld_wb_chatbot_position_y == "")) {
                          $qcld_wb_chatbot_position_y = __("120", "wp_chatbot");
                      } 
                    ?>
                    <input type="number" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "
                                                   name="wp_chatbot_position_x"
                                                   value="<?php esc_attr_e($qcld_wb_chatbot_position_x, 'wpbot'); ; ?>"
                                                   placeholder="<?php esc_html_e('From Right In px', 'wpbot'); ?>">
                    <span class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> ">
                    <?php esc_html_e('From Right In px', 'wpbot'); ?>
                    </span>
                    <input type="number" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?>"
                                                   name="wp_chatbot_position_y"
                                                   value="<?php esc_attr_e($qcld_wb_chatbot_position_y, 'wpbot'); ; ?>"
                                                   placeholder="<?php esc_html_e('From Bottom In Px', 'wpbot'); ?> ">
                    <span class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> ">
                    <?php esc_html_e('From Bottom In px', 'wpbot'); ?>
                    </span> </div>
                </div>
                <!--.col-sm-12--> 
              </div>
              <!--                                row-->
              
              <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                  <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "><strong>
                    <?php esc_html_e('WPBot', 'wpbot'); ?>
                    </strong>
                    <?php esc_html_e('Loading Control Options', 'wpbot'); ?>
                  </h4>
                  <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                    <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                      <div class="<?php esc_attr_e( 'col-sm-4 text-right',  'wpbot' );  ?> "> <span class="<?php esc_attr_e( 'qc-opt-title-font',  'wpbot' );  ?> ">
                        <?php esc_html_e('Show on Home Page', 'wpbot'); ?>
                        </span> </div>
                      <div class="<?php esc_attr_e( 'col-sm-8',  'wpbot' );  ?> ">
                        <label class="<?php esc_attr_e( 'radio-inline',  'wpbot' );  ?> ">
                          <input id="<?php esc_attr_e( 'wp-chatbot-show-home-page',  'wpbot' );  ?>" type="radio"
                                                               name="wp_chatbot_show_home_page"
                                                               value="<?php esc_attr_e( 'on', 'wpbot' ); ?>" <?php echo(get_option('wp_chatbot_show_home_page') == 'on' ? esc_attr('checked' ): ''); ?>>
                          <?php esc_html_e('YES', 'wpbot'); ?>
                        </label>
                        <label class="<?php esc_attr_e( 'radio-inline',  'wpbot' );  ?> ">
                          <input id="<?php esc_attr_e( 'wp-chatbot-show-home-page',  'wpbot' );  ?>" type="radio"
                                                               name="wp_chatbot_show_home_page"
                                                               value="<?php esc_attr_e( 'off', 'wpbot' ); ?>" <?php echo(get_option('wp_chatbot_show_home_page') == 'off' ? esc_attr('checked' ): ''); ?>>
                          <?php esc_html_e('NO', 'wpbot'); ?>
                        </label>
                      </div>
                    </div>
                    <!--  row-->
                    <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                      <div class="<?php esc_attr_e( 'col-sm-4 text-right',  'wpbot' );  ?> "> <span class="<?php esc_attr_e( 'qc-opt-title-font',  'wpbot' );  ?> ">
                        <?php esc_html_e('Show on blog posts', 'wpbot'); ?>
                        </span> </div>
                      <div class="<?php esc_attr_e( 'col-sm-8',  'wpbot' );  ?> ">
                        <label class="<?php esc_attr_e( 'radio-inline',  'wpbot' );  ?> ">
                          <input class="<?php esc_attr_e( 'wp-chatbot-show-posts', 'wpbot'); ?>" type="radio"
                                                               name="wp_chatbot_show_posts"
                                                               value="<?php esc_attr_e( 'on', 'wpbot' ); ?>" <?php echo(get_option('wp_chatbot_show_posts') == 'on' ? esc_attr('checked' ): ''); ?>>
                          <?php esc_html_e('YES', 'wpbot'); ?>
                        </label>
                        <label class="<?php esc_attr_e( 'radio-inline',  'wpbot' );  ?> ">
                          <input class="<?php esc_attr_e( 'wp-chatbot-show-posts', 'wpbot'); ?>" type="radio"
                                                               name="wp_chatbot_show_posts"
                                                               value="<?php esc_attr_e( 'off', 'wpbot' ); ?>" <?php echo(get_option('wp_chatbot_show_posts') == 'off' ? esc_attr('checked' ): ''); ?>>
                          <?php esc_html_e('NO', 'wpbot'); ?>
                        </label>
                      </div>
                    </div>
                    <!-- row-->
                    <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                      <div class="<?php esc_attr_e( 'col-md-4 text-right',  'wpbot' );  ?> "> <span class="<?php esc_attr_e( 'qc-opt-title-font',  'wpbot' );  ?> ">
                        <?php esc_html_e('Show on  pages', 'wpbot'); ?>
                        </span> </div>
                      <div class="<?php esc_attr_e( 'col-md-8',  'wpbot' );  ?> ">
                        <label class="<?php esc_attr_e( 'radio-inline',  'wpbot' );  ?> ">
                          <input class="<?php esc_attr_e( 'wp-chatbot-show-pages ', 'wpbot'); ?>" type="radio"
                                                               name="wp_chatbot_show_pages"
                                                               value="<?php esc_attr_e( 'on', 'wpbot' ); ?>" <?php echo(get_option('wp_chatbot_show_pages') == 'on' ? esc_attr('checked' ): ''); ?>>
                          <?php esc_html_e('All Pages', 'wpbot'); ?>
                        </label>
                        <label class="<?php esc_attr_e( 'radio-inline',  'wpbot' );  ?> ">
                          <input class="<?php esc_attr_e( 'wp-chatbot-show-pages', 'wpbot'); ?>" type="radio"
                                                               name="wp_chatbot_show_pages"
                                                               value="<?php esc_attr_e( 'off', 'wpbot' ); ?>" <?php echo(get_option('wp_chatbot_show_pages') == 'off' ? esc_attr('checked' ): ''); ?>>
                          <?php esc_html_e('Selected Pages Only ', 'wpbot'); ?>
                        </label>
                        <div id="<?php esc_attr_e( 'wp-chatbot-show-pages-list',  'wpbot' );  ?> ">
                          <ul class="<?php esc_attr_e( 'checkbox-list',  'wpbot' );  ?> ">
                            <?php
                              $wp_chatbot_pages = get_pages();
                              $wp_chatbot_select_pages = maybe_unserialize(get_option('wp_chatbot_show_pages_list'));
                              foreach ($wp_chatbot_pages as $wp_chatbot_page) {
                            ?>
                            <li>
                              <input id="<?php esc_attr_e( 'wp_chatbot_show_page_'. $wp_chatbot_page->ID,  'wpbot' );  ?>"
                                      type="checkbox"
                                      name="wp_chatbot_show_pages_list[]"
                                      value="<?php echo esc_attr($wp_chatbot_page->ID); ?>" <?php if (!empty($wp_chatbot_select_pages) && in_array($wp_chatbot_page->ID, $wp_chatbot_select_pages) == true) {
                                  echo esc_attr('checked');
                              } ?> >
                              <label for="wp_chatbot_show_page_<?php echo esc_attr($wp_chatbot_page->ID); ?>"> <?php esc_html_e($wp_chatbot_page->post_title,  'wpbot'); ?></label>
                            </li>
                            <?php } ?>
                          </ul>
                        </div>
                      </div>
                    </div>
                    <!--row-->
                    <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                      <div class="<?php esc_attr_e( 'col-sm-4 text-right',  'wpbot' );  ?> "> <span class="<?php esc_attr_e( 'qc-opt-title-font',  'wpbot' );  ?> ">
                        <?php esc_html_e('Exclude from Custom Post', 'wpbot'); ?>
                        </span></div>
                      <div class="<?php esc_attr_e( 'col-sm-8',  'wpbot' );  ?> ">
                        <div id="<?php esc_attr_e( 'wp-chatbot-exclude-post-list',  'wpbot' );  ?> ">
                          <ul class="<?php esc_attr_e( 'checkbox-list',  'wpbot' );  ?> ">
                            <?php
                              $get_cpt_args = array(
                                  'public'   => true,
                                  '_builtin' => false
                              );
                              
                              $post_types = get_post_types( $get_cpt_args, 'object' );
                              $wp_chatbot_exclude_post_list = maybe_unserialize(get_option('wp_chatbot_exclude_post_list'));
                             
                              foreach ($post_types as $post_type) {
                                  ?>
                            <li>
                              <input
                                      id="<?php echo esc_attr( 'wp_chatbot_exclude_post_'. $post_type->name,  'wpbot' );  ?>"
                                      type="checkbox"
                                      name="wp_chatbot_exclude_post_list[]"
                                      value="<?php  echo esc_attr($post_type->name); ?>" <?php if (!empty($wp_chatbot_exclude_post_list) && in_array($post_type->name, $wp_chatbot_exclude_post_list) == true) {
                                  echo esc_attr('checked');
                              } ?> >
                            <label
                              for="wp_chatbot_exclude_post_<?php echo esc_attr($post_type->name); ?>"> <?php esc_html_e($post_type->name,  'wpbot'); ?></label>
                            </li>
                            <?php } ?>
                          </ul>
                        </div>
                      </div>
                    </div>
                  </div>
                  <!-- cxsc-settings-blocks--> 
                </div>
                <!-- col-xs-12--> 
              </div>
              <!--  row--> 
              
            </div>
            <!-- top-section--> 
          </section>
          <section id="<?php esc_attr_e( 'section-flip-5',  'wpbot' );  ?>">
           <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic',  'wpbot' );  ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
              <p class="<?php // esc_attr_e( 'd-ib',  'wpbot' );  ?> "><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
            </div> -->                   
            <div class="<?php esc_attr_e( 'wp-chatbot-language-center-summmery',  'wpbot' );  ?> "> </div>
            <ul class="<?php esc_attr_e( 'nav nav-tabs',  'wpbot' );  ?> ">
              <li class="<?php esc_attr_e( 'active',  'wpbot' );  ?> "><a data-toggle="tab" href="<?php esc_attr_e( '#wp-chatbot-lng-general',  'wpbot' );  ?> ">
                <?php esc_html_e('General', 'wpbot'); ?>
                </a></li>
              <li><a data-toggle="tab" href="<?php esc_attr_e( '#wp-chatbot-lng-support',  'wpbot' );  ?> ">
                <?php esc_html_e('FAQ', 'wpbot'); ?>
                </a></li>
              <li><a data-toggle="tab" href="<?php esc_attr_e( '#wp-chatbot-lng-reserve-keyword',  'wpbot' );  ?> ">
                <?php esc_html_e('ChatBot Keywords', 'wpbot'); ?>
                </a></li>
            </ul>
            <div class="<?php esc_attr_e( 'tab-content',  'wpbot' );  ?> ">
              <div id="<?php esc_attr_e( 'wp-chatbot-lng-general',  'wpbot' );  ?>" class="<?php esc_attr_e( 'tab-pane fade in active',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'top-section',  'wpbot' );  ?> ">
                  <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                    <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?>" id="<?php esc_attr_e( 'wp-chatbot-language-section',  'wpbot' );  ?>">
                      <p style="color: red"><b><?php esc_html_e('You can change ALL the texts used by the ChatBot to YOUR OWN language here (like Spanish, French etc.).',  'wpbot' );  ?></b></p>
                      <p><?php esc_html_e('After making changes in the language center or settings, please type reset and hit enter in the ChatBot to start testing from the beginning or open a new Incognito window (Ctrl+Shit+N in chrome).',  'wpbot' );  ?></p>
                      <p><?php esc_html_e('You could use &lt;br&gt; tag for line break.',  'wpbot' );  ?></p>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('Your Company or Website Name', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_host"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_host') != '' ? get_option('qlcd_wp_chatbot_host') : 'Our Store') ); ?> ">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('Agent name', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_agent"
                                                           value="<?php echo (get_option('qlcd_wp_chatbot_agent') != '' ? esc_attr(get_option('qlcd_wp_chatbot_agent'))  : 'Carrie'); ?>">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('User demo name', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_shopper_demo_name"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_shopper_demo_name') != '' ? get_option('qlcd_wp_chatbot_shopper_demo_name')  : 'Amigo')); ?> ">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('YES', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_yes"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_yes') != '' ? get_option('qlcd_wp_chatbot_yes') : 'YES')); ?>">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('NO', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_no"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_no') != '' ? get_option('qlcd_wp_chatbot_no')  : 'NO')); ?>">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('OR', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_or"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_or') != '' ? get_option('qlcd_wp_chatbot_or')  : 'OR')); ?>">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('Sorry', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font ',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_sorry"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sorry') != '' ? get_option('qlcd_wp_chatbot_sorry')  : 'Sorry')); ?>">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                          $agent_join_options = maybe_unserialize(get_option('qlcd_wp_chatbot_agent_join'));
                          $agent_join_option = 'qlcd_wp_chatbot_agent_join';
                          $agent_join_text = __('has joined the conversation', 'wpbot');
                          $this->qcld_wb_chatbot_dynamic_multi_option($agent_join_options, $agent_join_option, $agent_join_text);
                        ?>
                      </div>
                    </div>
                    <!--col-xs-12-->
                    <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?>" id="<?php esc_attr_e( 'wp-chatbot-language-section',  'wpbot' );  ?> ">
                      <h4 class="<?php esc_attr_e( 'text-success',  'wpbot' );  ?> ">
                        <?php esc_html_e(' Message setting for Greetings: ', 'wpbot'); ?>
                      </h4>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                          $welcome_to_options = maybe_unserialize(get_option('qlcd_wp_chatbot_welcome'));
                          $welcome_to_option  = 'qlcd_wp_chatbot_welcome';
                          $welcome_to_text    = esc_html('Welcome to');
                          $this->qcld_wb_chatbot_dynamic_multi_option($welcome_to_options, $welcome_to_option, $welcome_to_text);
                        ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                          $welcome_back_options = maybe_unserialize(get_option('qlcd_wp_chatbot_welcome_back'));
                          $welcome_back_option  = 'qlcd_wp_chatbot_welcome_back';
                          $welcome_back_text    = esc_html('Welcome back');
                          $this->qcld_wb_chatbot_dynamic_multi_option($welcome_back_options, $welcome_back_option, $welcome_back_text);
                        ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                          $back_to_start_options  = maybe_unserialize(get_option('qlcd_wp_chatbot_back_to_start'));
                          $back_to_start_option   = 'qlcd_wp_chatbot_back_to_start';
                          $back_to_start_text     = esc_html('Back to Start');
                          $this->qcld_wb_chatbot_dynamic_multi_option($back_to_start_options, $back_to_start_option, $back_to_start_text);
                        ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                          $hi_there_options = maybe_unserialize(get_option('qlcd_wp_chatbot_hi_there'));
                          $hi_there_option  = 'qlcd_wp_chatbot_hi_there';
                          $hi_there_text    = esc_html('Hi There!');
                          $this->qcld_wb_chatbot_dynamic_multi_option($hi_there_options, $hi_there_option, $hi_there_text);
                        ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                            $hello_options  = maybe_unserialize(get_option('qlcd_wp_chatbot_hello'));
                            $hello_option   = 'qlcd_wp_chatbot_hello';
                            $hello_text     = esc_html('Hello');
                            $this->qcld_wb_chatbot_dynamic_multi_option($hello_options, $hello_option, $hello_text);
                        ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                          $asking_name_options  = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_name'));
                          $asking_name_option   = 'qlcd_wp_chatbot_asking_name';
                          $asking_name_text     = esc_html('May I know your name?');
                          $this->qcld_wb_chatbot_dynamic_multi_option($asking_name_options, $asking_name_option, $asking_name_text);
                        ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                          $i_am_options = maybe_unserialize(get_option('qlcd_wp_chatbot_i_am'));
                          $i_am_option  = 'qlcd_wp_chatbot_i_am';
                          $i_am_text    = esc_html('I am');
                          $this->qcld_wb_chatbot_dynamic_multi_option($i_am_options, $i_am_option, $i_am_text);
                        ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $name_greeting_options = maybe_unserialize(get_option('qlcd_wp_chatbot_name_greeting'));
                                                    $name_greeting_option = 'qlcd_wp_chatbot_name_greeting';
                                                    $name_greeting_text = esc_html('Nice to meet you');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($name_greeting_options, $name_greeting_option, $name_greeting_text);
                                                    ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $wildcard_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_wildcard_msg'));
                                                    $wildcard_msg_option = 'qlcd_wp_chatbot_wildcard_msg';
                                                    $wildcard_msg_text = esc_html('I am here to find  what you need. What are you looking for?');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_msg_options, $wildcard_msg_option, $wildcard_msg_text);
                                                    ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $empty_filter_msgs = maybe_unserialize(get_option('qlcd_wp_chatbot_empty_filter_msg'));
                                                    $empty_filter_msg = 'qlcd_wp_chatbot_empty_filter_msg';
                                                    $empty_filter_msg_text = esc_html('Sorry, I did not understand that');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($empty_filter_msgs, $empty_filter_msg, $empty_filter_msg_text);
                                                    ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $qlcd_wp_chatbot_did_you_mean = maybe_unserialize(get_option('qlcd_wp_chatbot_did_you_mean'));
                                                    $qlcd_wp_chatbot_did_you_means = 'qlcd_wp_chatbot_did_you_mean';
                                                    $wp_chatbot_no_result_text = esc_html('Did you mean?');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_did_you_mean, $qlcd_wp_chatbot_did_you_means, $wp_chatbot_no_result_text);
                                                    ?>
                      </div>
                      <h4 class="<?php esc_attr_e( 'text-success',  'wpbot' );  ?> ">
                        <?php esc_html_e('Message setting for Editor Box ', 'wpbot'); ?>
                      </h4>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $is_typing_options = maybe_unserialize(get_option('qlcd_wp_chatbot_is_typing'));
                                                    $is_typing_option = 'qlcd_wp_chatbot_is_typing';
                                                    $is_typing_text = esc_html('is typing...');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($is_typing_options, $is_typing_option, $is_typing_text);
                                                    ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $send_a_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_send_a_msg'));
                                                    $send_a_msg_option = 'qlcd_wp_chatbot_send_a_msg';
                                                    $send_a_msg_text = esc_html('Send a message');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($send_a_msg_options, $send_a_msg_option, $send_a_msg_text);
                                                    ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $choose_option_options = maybe_unserialize(get_option('qlcd_wp_chatbot_choose_option'));
                                                    $choose_option_option = 'qlcd_wp_chatbot_choose_option';
                                                    $choose_option_text = esc_html('Choose an option');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($choose_option_options, $choose_option_option, $choose_option_text);
                                                    ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $asking_email_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_email'));
                                                    $asking_email_option = 'qlcd_wp_chatbot_asking_email';
                                                    $asking_email_text = esc_html('Please provide your email address');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($asking_email_options, $asking_email_option, $asking_email_text);
                                                 ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $invalid_email_options = maybe_unserialize(get_option('qlcd_wp_chatbot_invalid_email'));
                                                    $invalid_email_option = 'qlcd_wp_chatbot_invalid_email';
                                                    $invalid_email_text = esc_html('Sorry, Email address is not valid! Please provide a valid email.');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($invalid_email_options, $invalid_email_option, $invalid_email_text);
                                                    ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $asking_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_msg'));
                                                    $asking_msg_option = 'qlcd_wp_chatbot_asking_msg';
                                                    $asking_msg_text = esc_html('Thank you for email address. Please write your message now.');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($asking_msg_options, $asking_msg_option, $asking_msg_text);
                                                    ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('WPBot Support Mail Subject', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                               name="qlcd_wp_chatbot_email_sub"
                               value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_email_sub') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_sub')) : 'Support Email Subject') ); ?>">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $support_option_again_options = maybe_unserialize(get_option('qlcd_wp_chatbot_support_option_again'));
                                                    $support_option_again_option = 'qlcd_wp_chatbot_support_option_again';
                                                    $support_option_again_text = esc_html('You may choose option from below.');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($support_option_again_options, $support_option_again_option, $support_option_again_text);
                                                    ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('Your email was sent successfully.Thanks!', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                               name="qlcd_wp_chatbot_email_sent"
                               value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_email_sent') != '' ? get_option('qlcd_wp_chatbot_email_sent') : 'Your email was sent successfully.Thanks!')); ?> ">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('Sorry! I could not send your mail! Please contact the webmaster.', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font ',  'wpbot' );  ?>" 
                               name="qlcd_wp_chatbot_email_fail"
                               value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_email_fail') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_fail')) : 'Sorry! fail to send email')); ?> ">
                      </div>

                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('Check the relevant pages for more details and up to date information:', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font ',  'wpbot' );  ?>" 
                               name="qlcd_wp_chatbot_relevant_post_link_openai"
                               value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_relevant_post_link_openai') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_relevant_post_link_openai')) : 'Check the relevant pages for more details and up to date information:')); ?> ">
                      </div>

                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $asking_phone_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_phone'));
                                                    $asking_phone_option = 'qlcd_wp_chatbot_asking_phone';
                                                    $asking_phone_text = esc_html('Please provide your Phone number');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($asking_phone_options, $asking_phone_option, $asking_phone_text);
                                                    ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $thanks_phone_options = maybe_unserialize(get_option('qlcd_wp_chatbot_thank_for_phone'));
                                                    $thanks_phone_option = 'qlcd_wp_chatbot_thank_for_phone';
                                                    $thanks_phone_text = esc_html('Thank you for Phone number');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($thanks_phone_options, $thanks_phone_option, $thanks_phone_text);
                                                    ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('Thanks for your phone number. We will call you ASAP!', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                               name="qlcd_wp_chatbot_phone_sent"
                               value="<?php echo  esc_attr((get_option('qlcd_wp_chatbot_phone_sent') != '' ?get_option('qlcd_wp_chatbot_phone_sent') : 'Thanks for your phone number. We will call you ASAP!')); ?> ">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('Sorry! I could not collect phone number! Please contact the webmaster.', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                               name="qlcd_wp_chatbot_phone_fail"
                               value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_phone_fail') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_phone_fail')) : 'Sorry! I could not collect phone number!')); ?> ">
                      </div>
                      
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('Please enter your keyword for searching', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                               name="qlcd_wp_chatbot_asking_search_keyword"
                               value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_asking_search_keyword') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_asking_search_keyword')) : 'Please enter your keyword for searching')); ?> ">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('We have found these results', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                               name="qlcd_wp_chatbot_found_result"
                               value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_found_result') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_found_result')) : 'We have found these results')); ?> ">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                    $qlcd_wp_chatbot_product_fails = maybe_unserialize(get_option('qlcd_wp_chatbot_product_fail'));
                                    $qlcd_wp_chatbot_product_fail = 'qlcd_wp_chatbot_product_fail';
                                    $fail_text = esc_html('Sorry, I found nothing');
                                    $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_product_fails, $qlcd_wp_chatbot_product_fail, $fail_text);
                                    ?>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <div id="<?php esc_attr_e( 'wp-chatbot-lng-support',  'wpbot' );  ?>" class="<?php esc_attr_e( 'tab-pane fade',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'top-section',  'wpbot' );  ?> ">
                  <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                    <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?>" id="<?php esc_attr_e( 'wp-chatbot-language-section',  'wpbot' );  ?> ">
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                            $support_welcome_options = maybe_unserialize(get_option('qlcd_wp_chatbot_support_welcome'));
                            $support_welcome_option = 'qlcd_wp_chatbot_support_welcome';
                            $support_welcome_text = esc_html('Welcome to FAQ Section');
                            $this->qcld_wb_chatbot_dynamic_multi_option($support_welcome_options, $support_welcome_option, $support_welcome_text);
                        ?>
                      </div>
                      
                      <div class="<?php // esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                          // $feedback_label_options = maybe_unserialize(get_option('qlcd_wp_chatbot_feedback_label'));
                          // $feedback_label_option = 'qlcd_wp_chatbot_feedback_label';
                          // $feedback_label_text = esc_html('Send Feedback!');
                          // $this->qcld_wb_chatbot_dynamic_multi_option($feedback_label_options, $feedback_label_option, $feedback_label_text);
                        ?>
                      </div>
                      
                    </div>
                  </div>
                </div>
              </div>
              <div id="<?php esc_attr_e( 'wp-chatbot-lng-reserve-keyword',  'wpbot' );  ?>" class="<?php esc_attr_e( 'tab-pane fade',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'top-section',  'wpbot' );  ?> ">
                  <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                    <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?>" id="<?php esc_attr_e( 'wp-chatbot-language-section',  'wpbot' );  ?> ">
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                          <?php esc_html_e('Start Keyword', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_sys_key_help"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help'): 'start')) ; ?> ">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "><strong>
                          <?php esc_html_e('FAQ', 'wpbot'); ?>
                          </strong>
                          <?php esc_html_e('Keyword', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_sys_key_support"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq')); ?> ">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "><strong>
                          <?php esc_html_e('Converstion History Clear', 'wpbot'); ?>
                          </strong>
                          <?php esc_html_e('Keyword', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_sys_key_reset"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset')); ?> ">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "><strong>
                          <?php esc_html_e('eMail', 'wpbot'); ?>
                          </strong>
                          <?php esc_html_e('Keyword to Send eMail', 'wpbot'); ?>
                        </h4>
                        <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_sys_key_email"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_email') != '' ? get_option('qlcd_wp_chatbot_sys_key_email'): 'email')); ?>">
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $help_welcome_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_help_welcome')));
                                                    $help_welcome_option = 'qlcd_wp_chatbot_help_welcome';
                                                    $help_welcome_text = esc_html('Welcome to Help Section');
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($help_welcome_options, $help_welcome_option, $help_welcome_text);
                                                    ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $help_msg_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_help_msg')));
                                                    $help_msg_option = 'qlcd_wp_chatbot_help_msg';
                                                    $help_msg_text = '<b>Type and Hit Enter</b><br><ul><li> <b>start</b> to Get back to the main menu. </li><li> <b>faq</b> for FAQ. </li><li> <b>email </b> to send eMail </li><li> <b>reset</b> to restart the chat</li></ul>';
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($help_msg_options, $help_msg_option, $help_msg_text);
                                                    ?>
                      </div>
                      <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                        <?php
                                                    $reset_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_reset')));
                                                    $reset_option = 'qlcd_wp_chatbot_reset';
                                                    $reset_text = esc_html('Do you want to clear our chat history and start over?' );
                                                    $this->qcld_wb_chatbot_dynamic_multi_option($reset_options, $reset_option, $reset_text);
                                                    ?>
                      </div>
                    </div>
                    <!--                                            col-xs-12--> 
                  </div>
                  <!--                                        row--> 
                </div>
                <!--                                    top-section--> 
              </div>
            </div>
            <!--                            tab-content--> 
          </section>
          <section id="<?php esc_attr_e( 'section-flip-3',  'wpbot' );  ?> ">
            <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic',  'wpbot' );  ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
              <p class="<?php // esc_attr_e( 'd-ib',  'wpbot' );  ?> "><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
            </div> -->               
            <ul class="<?php esc_attr_e( 'nav nav-tabs',  'wpbot' );  ?> ">
              <li class="<?php esc_attr_e( 'active',  'wpbot' );  ?> "><a data-toggle="tab" href="<?php esc_attr_e( '#wp-chatbot-icon-theme-settings',  'wpbot' );  ?> "><?php esc_html_e('Icons & Themes', 'wpbot'); ?></a></li>
              <li><a data-toggle="tab" href="<?php esc_attr_e( '#wp-chatbot-custom-color-options',  'wpbot' );  ?> "><?php esc_html_e('Custom Style Options', 'wpbot'); ?></a></li>
            </ul>
            <div class="<?php esc_attr_e( 'tab-content',  'wpbot' );  ?> ">
              <div id="<?php esc_attr_e( 'wp-chatbot-icon-theme-settings',  'wpbot' );  ?>" class="<?php esc_attr_e( 'tab-pane fade in active',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'top-section',  'wpbot' );  ?> ">
                  <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                    <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                    
                      <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                        <?php esc_html_e('WPBot Icon', 'wpbot'); ?>
                      </h4>
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <ul class="<?php esc_attr_e( 'radio-list',  'wpbot' );  ?> ">
                        <li>
                            <label for="wp_chatbot_icon_1" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-2.png"
                                                                alt="">
                              <input id="<?php esc_attr_e( 'wp_chatbot_icon_1',  'wpbot' );  ?>" type="radio"
                                                                                name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-1.png' ? esc_attr('checked' ): ''); ?>
                                                                                value="<?php echo esc_attr('icon-1.png'); ?>">
                              <?php esc_html_e('Icon - 1', 'wpbot'); ?>
                            </label>
                          </li>
                          <li>
                            <label for="wp_chatbot_icon_2" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-2.png"
                                                                alt="">
                              <input id="<?php esc_attr_e( 'wp_chatbot_icon_2',  'wpbot' );  ?>" type="radio"
                                                                                name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-2.png' ? esc_attr('checked' ): ''); ?>
                                                                                value="<?php echo esc_attr('icon-2.png'); ?>">
                              <?php esc_html_e('Icon - 2', 'wpbot'); ?>
                            </label>
                          </li>
                          <li>
                            <label for="wp_chatbot_icon_3" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-3.png"
                                                                alt="">
                              <input id="<?php esc_attr_e( 'wp_chatbot_icon_3',  'wpbot' );  ?>" type="radio"
                                                                                name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-3.png' ? esc_attr('checked' ): ''); ?>
                                                                                value="<?php echo esc_attr('icon-3.png'); ?>">
                              <?php esc_html_e('Icon - 3', 'wpbot'); ?>
                            </label>
                          </li>
                          <li>
                            <label for="wp_chatbot_icon_4" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-4.png"
                                                                alt="' ">
                              <input id="<?php esc_attr_e( 'wp_chatbot_icon_4',  'wpbot' );  ?>" type="radio"
                                                                                name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-4.png' ? esc_attr('checked'): ''); ?>
                                                                                value="<?php echo esc_attr('icon-4.png'); ?>">
                              <?php esc_html_e('Icon - 4', 'wpbot'); ?>
                            </label>
                          </li>
                          <li>
                            <label for="wp_chatbot_icon_5" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-5.png"
                                                                alt="">
                              <input id="<?php esc_attr_e( 'wp_chatbot_icon_5',  'wpbot' );  ?>" type="radio"
                                                                                name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-5.png' ? esc_attr('checked' ): ''); ?>
                                                                                value="<?php echo esc_attr('icon-5.png'); ?>">
                              <?php esc_html_e('Icon - 5', 'wpbot'); ?>
                            </label>
                          </li>
                          <li>
                            <label for="wp_chatbot_icon_6" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-6.png"
                                                                alt=" ">
                              <input id="<?php esc_attr_e( 'wp_chatbot_icon_6',  'wpbot' );  ?>" type="radio"
                                                                                name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-6.png' ? esc_attr('checked' ): ''); ?>
                                                                                value="<?php echo esc_attr('icon-6.png'); ?>">
                              <?php esc_html_e('Icon - 6', 'wpbot'); ?>
                            </label>
                          </li>
                          <li>
                            <label for="wp_chatbot_icon_7" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-7.png"
                                                                alt=" ">
                              <input id="<?php esc_attr_e( 'wp_chatbot_icon_7',  'wpbot' );  ?>" type="radio"
                                                                                name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-7.png' ? esc_attr('checked' ): ''); ?>
                                                                                value="<?php echo esc_attr('icon-7.png'); ?>">
                              <?php esc_html_e('Icon - 7', 'wpbot'); ?>
                            </label>
                          </li>
                          <li>
                            <label for="wp_chatbot_icon_8" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-8.png"
                                                                alt="">
                              <input id="<?php esc_attr_e( 'wp_chatbot_icon_8',  'wpbot' );  ?>" type="radio"
                                                                                name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-8.png' ? esc_attr('checked' ): ''); ?>
                                                                                value="<?php echo esc_attr('icon-8.png'); ?>">
                              <?php esc_html_e('Icon - 8', 'wpbot'); ?>
                            </label>
                          </li>
                          <li>
                            <label for="wp_chatbot_icon_9" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-9.png"
                                                                alt=" ">
                              <input id="<?php esc_attr_e( 'wp_chatbot_icon_9',  'wpbot' );  ?>" type="radio"
                                                                                name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-9.png' ? esc_attr('checked' ): ''); ?>
                                                                                value="<?php echo esc_attr('icon-9.png'); ?>">
                              <?php esc_html_e('Icon - 9', 'wpbot'); ?>
                            </label>
                          </li>
                          <li>
                            <label for="wp_chatbot_icon_10" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-10.png"
                                                                alt=" ">
                              <input id="<?php esc_attr_e( 'wp_chatbot_icon_10',  'wpbot' );  ?>" type="radio"
                                                                                name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-10.png' ? esc_attr('checked' ): ''); ?>
                                                                                value="<?php echo esc_attr('icon-10.png'); ?>">
                              <?php esc_html_e('Icon - 10', 'wpbot'); ?>
                            </label>
                          </li>
                          <li>
                            <label for="wp_chatbot_icon_11" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-11.png"
                                                                alt="">
                              <input id="<?php esc_attr_e( 'wp_chatbot_icon_11',  'wpbot' );  ?>" type="radio"
                                                                                name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-11.png' ? esc_attr('checked' ): ''); ?>
                                                                                value="<?php echo esc_attr('icon-11.png'); ?>">
                              <?php esc_html_e('Icon - 11', 'wpbot'); ?>
                            </label>
                          </li>
                          <li>
                            <label for="wp_chatbot_icon_12" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-12.png"
                                                                alt="">
                              <input id="<?php esc_attr_e( 'wp_chatbot_icon_12',  'wpbot' );  ?>" type="radio"
                                                                                name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-12.png' ? esc_attr('checked' ): ''); ?>
                                                                                value="<?php echo esc_attr('icon-12.png'); ?>">
                              <?php esc_html_e('Icon - 12', 'wpbot'); ?>
                            </label>
                          </li>
                          <li>
                            <label for="wp_chatbot_icon_13" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-13.png" alt="">
                              <input id="<?php esc_attr_e( 'wp_chatbot_icon_13',  'wpbot' );  ?>" type="radio"
                                                                                name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-13.png' ? esc_attr('checked' ): ''); ?>
                                                                                value="<?php echo esc_attr('icon-13.png'); ?>">
                              <?php esc_html_e('Icon - 13', 'wpbot'); ?>
                            </label>
                          </li>
                          <li>
                            <?php
                              if (get_option('wp_chatbot_custom_icon_path') != "") {
                                  $wp_chatbot_custom_icon_path = get_option('wp_chatbot_custom_icon_path');
                              } else {
                                  $wp_chatbot_custom_icon_path = esc_url(QCLD_wpCHATBOT_IMG_URL) . 'custom.png';
                              }
                            ?>
                            <label for="<?php esc_attr_e( 'wp_chatbot_custom_icon_input',  'wpbot' );  ?>" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "> <img id="<?php esc_attr_e( 'wp_chatbot_custom_icon_src ',  'wpbot' );  ?>"
                                                                src="<?php echo esc_url($wp_chatbot_custom_icon_path); ?>" alt=" ">
                              <input id="<?php esc_attr_e( 'wp_chatbot_custom_icon_input',  'wpbot' );  ?>" type="radio"
                                                                name="wp_chatbot_icon"
                                                                value="<?php echo esc_attr('custom.png' ); ?>" <?php echo(get_option('wp_chatbot_icon') == 'custom.png' ? esc_attr('checked' ): ''); ?>>
                              <?php esc_html_e('Custom Icon', 'wpbot'); ?>
                            </label>
                          </li>
                        </ul>
                      </div>
                      <!--  cxsc-settings-blocks--> 
                     
                      <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?> ">
                          <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                            <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                              <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                                <?php esc_html_e('WPBot Icon Background Color.', 'wpbot'); ?>
                              </h4>
                              <input id="<?php esc_attr_e( 'wp_chatbot_floatingiconbg_color',  'wpbot' );  ?>" type="text" name="wp_chatbot_floatingiconbg_color" value="<?php echo esc_attr((get_option('wp_chatbot_floatingiconbg_color') != '' ? get_option('wp_chatbot_floatingiconbg_color'): '#fff') ); ?>"/>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e(' Upload custom Icon ', 'wpbot'); ?> <span class="small"><span class="text-danger"><?php esc_html_e('** If you select custom icon, you must upload an icon image.', 'wpbot'); ?></span></span>
                          </h4>
                          <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                            <input type="hidden" name="wp_chatbot_custom_icon_path"
                                                            id="<?php esc_attr_e( 'wp_chatbot_custom_icon_path',  'wpbot' );  ?>"
                                                            value="<?php  esc_attr_e( $wp_chatbot_custom_icon_path, 'wpbot' ); ?>"/>
                            <button type="button" class="<?php esc_attr_e( 'wp_chatbot_custom_icon_button button',  'wpbot' );  ?> ">
                            <?php esc_html_e('Upload Icon', 'wpbot'); ?>
                            </button>
                          </div>
                        </div>
                      </div>



                      <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                          <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                            <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                              <?php esc_html_e(' WPBot Agent Image', 'wpbot'); ?>
                            </h4>
                            <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                              <ul class="<?php esc_attr_e( 'radio-list',  'wpbot' );  ?> ">
                                <li>
                                  <label for="wp_chatbot_agent_image_def" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "> <img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>icon-0.png"
                                                                      alt="',  'wpbot' );  ?> ">
                                    <input id="<?php esc_attr_e( 'wp_chatbot_agent_image_def',  'wpbot' );  ?>" type="radio"
                                                                                      name="wp_chatbot_agent_image" <?php echo(get_option('wp_chatbot_agent_image') == 'agent-0.png' ? esc_attr('checked' ): ''); ?>
                                                                                      value="<?php esc_attr_e('agent-0.png',  'wpbot' );  ?> ">
                                    <?php esc_html_e('Default Agent', 'wpbot'); ?>
                                  </label>
                                </li>
                                <li>
                                  <?php
                                    if (get_option('wp_chatbot_custom_agent_path') != "") {
                                        $wp_chatbot_custom_agent_path = get_option('wp_chatbot_custom_agent_path');
                                    } else {
                                        $wp_chatbot_custom_agent_path = esc_url(QCLD_wpCHATBOT_IMG_URL) . 'custom-agent.png';
                                    }
                                  ?>
                                  <label for="wp_chatbot_agent_image_custom" class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "> <img id="<?php esc_attr_e( 'wp_chatbot_custom_agent_src',  'wpbot' );  ?>"
                                                                      src="<?php echo esc_url($wp_chatbot_custom_agent_path); ?>"
                                                                      alt="Agent',  'wpbot' );  ?> ">
                                    <input type="radio" name="wp_chatbot_agent_image"
                                                                      id="<?php esc_attr_e( 'wp_chatbot_agent_image_custom',  'wpbot' );  ?>"
                                                                      value="<?php esc_attr_e('custom-agent.png',  'wpbot' );  ?>" <?php echo(get_option('wp_chatbot_agent_image') == 'custom-agent.png' ? esc_attr('checked' ): ''); ?>>
                                    <?php esc_html_e('Custom Agent', 'wpbot'); ?></label>
                                </li>
                              </ul>
                            </div>
                          <!--                                        cxsc-settings-blocks--> 
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="<?php esc_attr_e( 'top-section',  'wpbot' );  ?> ">
                  <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                    <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                      <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                        <?php esc_html_e('Custom Agent Icon', 'wpbot'); ?>
                      </h4>
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <input type="hidden" name="wp_chatbot_custom_agent_path"
                                                        id="<?php esc_attr_e( 'wp_chatbot_custom_agent_path',  'wpbot' );  ?>"
                                                        value="<?php esc_attr_e( $wp_chatbot_custom_agent_path,  'wpbot' );  ?>"/>
                        <button type="button" class="<?php esc_attr_e( 'wp_chatbot_custom_agent_button button',  'wpbot' );  ?> ">
                        <?php esc_html_e('Upload Agent Icon', 'wpbot'); ?>
                        </button>
                      </div>
                    </div>
                  </div>
                </div>
                <div id="<?php esc_attr_e( 'top-section',  'wpbot' );  ?> ">
                  <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                    <div class="<?php esc_attr_e( 'col-sm-12',  'wpbot' );  ?> ">
                      <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                        <?php esc_html_e('WPBot Themes', 'wpbot'); ?>
                      </h4>
                    </div>
                  </div>
                  <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                    <div class="<?php esc_attr_e( 'col-sm-3',  'wpbot' );  ?> ">
                      <label for="<?php esc_attr_e( 'qcld_wb_chatbot_theme_0',  'wpbot' );  ?>"> <img class="<?php esc_attr_e( 'thumbnail theme_prev',  'wpbot' );  ?>"
                                                    src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/template-00.JPG"
                                                    alt="Theme Basic',  'wpbot' );  ?> ">
                        <input id="<?php esc_attr_e( 'qcld_wb_chatbot_theme_0',  'wpbot' );  ?>" type="radio"
                                                    name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-00' ? esc_attr('checked' ): ''); ?>
                                                    value="<?php esc_attr_e( 'template-00',  'wpbot' );  ?>">
                        <?php esc_html_e('Theme Basic', 'wpbot'); ?>
                      </label>
                    </div>
                    <div class="<?php esc_attr_e( 'col-sm-3',  'wpbot' );  ?> ">
                      <label for="<?php esc_attr_e( 'qcld_wb_chatbot_theme_1',  'wpbot' );  ?>"> <img class="<?php esc_attr_e( 'thumbnail theme_prev',  'wpbot' ); ?>"  
                                                    src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/template-01.JPG"
                                                    alt="Theme Basic',  'wpbot' );  ?> ">
                        <input id="<?php esc_attr_e( 'qcld_wb_chatbot_theme_1',  'wpbot' );  ?>" type="radio"
                                                    name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-01' ? esc_attr('checked' ): ''); ?>
                                                    value="<?php esc_attr_e( 'template-01',  'wpbot' );  ?>">
                        <?php esc_html_e('Theme One', 'wpbot'); ?>
                      </label>
                    </div>
                    <div class="<?php esc_attr_e( 'col-sm-6',  'wpbot' );  ?> ">
                      <label for="<?php esc_attr_e( 'qcld_wb_chatbot_theme_horizontal',  'wpbot' );  ?>"> <img class="<?php esc_attr_e( 'thumbnail theme_prev',  'wpbot' ); ?>"  
                                                    src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/horizontal.png"
                                                    alt="Theme horizontal',  'wpbot' );  ?> ">
                        <input id="<?php esc_attr_e( 'qcld_wb_chatbot_theme_horizontal',  'wpbot' );  ?>" type="radio" 
                                                    name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-horizontal' ? esc_attr('checked' ): ''); ?>
                                                    value="<?php esc_attr_e( 'template-horizontal',  'wpbot' );  ?>">
                        <?php esc_html_e('Theme Horizontal', 'wpbot'); ?>
                      </label>
                    </div>
                  </div>
                </div>
              </div>
   
              
              <div id="<?php esc_attr_e( 'wp-chatbot-custom-color-options',  'wpbot' );  ?>" class="<?php esc_attr_e( 'tab-pane fade',  'wpbot' );  ?>">
                <div class="<?php esc_attr_e( 'top-section',  'wpbot' );  ?>">
                  <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?>">
   
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="cxsc-settings-blocks ">
                      <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?>">
                        <?php esc_html_e('Custom Style Options', 'wpbot'); ?>
                      </h4>
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <input value="1" id="<?php esc_attr_e( 'enable_wp_chatbot_custom_color',  'wpbot' );  ?>" type="checkbox"
                            name="enable_wp_chatbot_custom_color" <?php echo(get_option('enable_wp_chatbot_custom_color') == 1 ? esc_attr('checked' ): ''); ?>>
                        <label for="<?php esc_attr_e( 'enable_wp_chatbot_custom_color',  'wpbot' );  ?>">
                          <?php esc_html_e('Enable Style Colors ', 'wpbot'); ?>
                        </label>
                      </div>
                      </div>
                      </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Text Color.', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_text_color',  'wpbot' );  ?>" type="text"
                                name="wp_chatbot_text_color"
                                value="<?php echo esc_attr((get_option('wp_chatbot_text_color') != '' ? get_option('wp_chatbot_text_color') : '#37424c')); ?>"/>
                        </div>
                      </div>
                       </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Link Color.', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_link_color',  'wpbot' );  ?>" type="text"
                                    name="wp_chatbot_link_color"
                                    value="<?php echo esc_attr((get_option('wp_chatbot_link_color') != '' ? get_option('wp_chatbot_link_color') : '#e2cc1f')); ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Link Hover Color.', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_link_hover_color',  'wpbot' );  ?>" type="text"
                                  name="wp_chatbot_link_hover_color"
                                  value="<?php echo esc_attr((get_option('wp_chatbot_link_hover_color') != '' ? get_option('wp_chatbot_link_hover_color') : '#734006')); ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Bot Message  Background Color.', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_bot_msg_bg_color',  'wpbot' );  ?>" type="text"
                                    name="wp_chatbot_bot_msg_bg_color"
                                    value="<?php echo esc_attr((get_option('wp_chatbot_bot_msg_bg_color') != '' ? get_option('wp_chatbot_bot_msg_bg_color'): '#1f8ceb')) ; ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Bot Message Text Color.', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_bot_msg_text_color',  'wpbot' );  ?>" type="text"
                                  name="wp_chatbot_bot_msg_text_color"
                                  value="<?php echo esc_attr((get_option('c') != '' ? get_option('wp_chatbot_bot_msg_text_color') : '#ffffff')); ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('User Message  Background Color.', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_user_msg_bg_color',  'wpbot' );  ?>" type="text"
                                    name="wp_chatbot_user_msg_bg_color"
                                    value="<?php echo esc_attr((get_option('wp_chatbot_user_msg_bg_color') != '' ? get_option('wp_chatbot_user_msg_bg_color') : '#ffffff') ); ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('User Message Text Color.', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_user_msg_text_color',  'wpbot' );  ?>" type="text"
                                    name="wp_chatbot_user_msg_text_color"
                                    value="<?php echo esc_attr((get_option('wp_chatbot_user_msg_text_color') != '' ? get_option('wp_chatbot_user_msg_text_color') : '#000000')); ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Buttons Background Color.', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_buttons_bg_color',  'wpbot' );  ?>" type="text"
                                    name="wp_chatbot_buttons_bg_color"
                                    value="<?php echo esc_attr((get_option('wp_chatbot_buttons_bg_color') != '' ?get_option('wp_chatbot_buttons_bg_color'): '#1f8ceb')) ; ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Buttons Hover Background Color.', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_buttons_bg_color',  'wpbot' );  ?>" type="text"
                                name="wp_chatbot_buttons_bg_color_hover"
                                value="<?php echo esc_attr((get_option('wp_chatbot_buttons_bg_color_hover') != '' ? get_option('wp_chatbot_buttons_bg_color_hover') : '#1f8ceb')); ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Buttons Text Color.', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_buttons_text_color',  'wpbot' );  ?>" type="text"
                                    name="wp_chatbot_buttons_text_color"
                                    value="<?php echo esc_attr((get_option('wp_chatbot_buttons_text_color') != '' ? get_option('wp_chatbot_buttons_text_color') : '#ffffff')); ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Buttons Text Color Hover.', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_buttons_text_color',  'wpbot' );  ?>" type="text"
                                    name="wp_chatbot_buttons_text_color_hover"
                                    value="<?php echo esc_attr((get_option('wp_chatbot_buttons_text_color_hover') != '' ? get_option('wp_chatbot_buttons_text_color_hover') : '#ffffff')); ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Header background Color', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_header_background_color',  'wpbot' );  ?>" type="text"
                            name="wp_chatbot_header_background_color"
                            value="<?php esc_html_e((get_option('wp_chatbot_header_background_color') != '' ? get_option('wp_chatbot_header_background_color'): '#ffffff'),  'wpbot' ) ; ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Theme Primary Color', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_theme_primary_color',  'wpbot' );  ?>" type="text"
                                    name="wp_chatbot_theme_primary_color"
                                    value="<?php echo esc_attr((get_option('wp_chatbot_theme_primary_color') != '' ? get_option('wp_chatbot_theme_primary_color') : '#ffffff')); ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Theme Secondary Color', 'wpbot'); ?>
                          </h4>
                          <input id="<?php esc_attr_e( 'wp_chatbot_theme_secondary_color',  'wpbot' );  ?>" type="text"
                                name="wp_chatbot_theme_secondary_color"
                                value="<?php echo esc_attr((get_option('wp_chatbot_theme_secondary_color') != '' ? get_option('wp_chatbot_theme_secondary_color') : '#ffffff')); ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="cxsc-settings-blocks">
                        <div class="form-group">
                          <h4 class="qc-opt-title">
                            <?php esc_html_e('Font size', 'wpbot'); ?>
                          </h4>
                          <input id="wp_chatbot_font_size" type="number"
                              name="wp_chatbot_font_size"
                              value="<?php echo esc_attr((get_option('wp_chatbot_font_size') != '' ? get_option('wp_chatbot_font_size'): '16')) ; ?>"/>
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="cxsc-settings-blocks">
                        <div class="form-group">
                          <h4 class="qc-opt-title">
                            <?php 
                              esc_html_e('User message Font family ', 'wpbot'); 
                              $user_font = get_option('wp_chat_user_font_family') != '' ? get_option('wp_chat_user_font_family') : '';
                              $user_font_family = str_replace("\\", "",$user_font);
                            ?>
                          </h4>
                          <input id="wp_chatbot_user_font" type="text" name="wp_chatbot_user_font"
                                                        value="<?php echo esc_attr((get_option('wp_chatbot_user_font') != '' ? get_option('wp_chatbot_user_font') : ''));?>">
                          <input id="wp_chat_user_font_family" type="hidden"
                                                               name="wp_chat_user_font_family"
                                                               />
                        </div>
                      </div>
                                            </div>
                      <div class="<?php esc_attr_e( 'col-xs-6',  'wpbot' );  ?>">
                      <div class="cxsc-settings-blocks">
                        <div class="form-group">
                          <h4 class="qc-opt-title">
                            <?php 
                              esc_html_e('Bot message Font family ', 'wpbot');
                              $bot_font = get_option('wp_chat_bot_font_family') != '' ? esc_html__(get_option('wp_chat_bot_font_family'),  'wpbot' ) : '';
                              $bot_font_family = str_replace("\\", "",$bot_font); 
                            ?>
                          </h4>
                          <input id="wp_chatbot_bot_font" type="text" name="wp_chatbot_bot_font"
                                                        value="<?php echo esc_attr((get_option('wp_chatbot_bot_font') != '' ? get_option('wp_chatbot_bot_font') : ''));?>">
                          <input id="wp_chat_bot_font_family" type="hidden"
                                                               name="wp_chat_bot_font_family"
                                                               />
                        </div>
                      </div>
                                            </div>
                      
                      <?php
                      $custom_js = "jQuery(function ($) {
                        $('#wp_chat_user_font_family').val(JSON.stringify(". esc_attr($user_font_family) ."));
                        $('#wp_chat_bot_font_family').val(JSON.stringify(". esc_attr($bot_font_family)."));
                        $('#wp_chatbot_user_font')
                        .fontpicker()
                        .on('change', function() {
                            var tmp = this.value.split(':'),
                                family = tmp[0],
                                variant = tmp[1] || '400',
                                weight = parseInt(variant,10),
                                italic = /i$/.test(variant);
                            var css = {
                                fontFamily:family,
                                fontWeight: weight,
                                fontStyle: italic ? 'italic' : 'normal'
                            };
                            $('#wp_chat_user_font_family').val(JSON.stringify(css));
                        });
                          $('#wp_chatbot_bot_font')
                        .fontpicker()
                        .on('change', function() {
                            var tmp = this.value.split(':'),
                                    family = tmp[0],
                                    variant = tmp[1] || '400',
                                    weight = parseInt(variant,10),
                                    italic = /i$/.test(variant);
                                    // Set selected font on body
                            var css = {
                                fontFamily:family, 
                                fontWeight: weight,
                                fontStyle: italic ? 'italic' : 'normal'
                            };
                            $('#wp_chat_bot_font_family').val(JSON.stringify(css));
                        });
                    });
                ";
                wp_add_inline_script('qcld-wp-chatbot-admin-js', $custom_js );
                      
                      ?>
                  </div>
                </div>
              </div>
            </div>
          </section>
          
          <section id="<?php esc_attr_e( 'section-flip-4',  'wpbot' );  ?> ">
            <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
              <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
              <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic',  'wpbot' );  ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
              <p class="<?php // esc_attr_e( 'd-ib',  'wpbot' );  ?> "><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
            </div> -->
             </div>
            </div>
            <div class="<?php esc_attr_e( 'top-section',  'wpbot' );  ?> ">
              <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                <?php esc_html_e('Build FAQ Query and Answers', 'wpbot'); ?>
              </h4>
              <div class="<?php esc_attr_e( 'block-inner ui-sortable',  'wpbot' );  ?>" id="<?php esc_attr_e( 'wp-chatbot-support-builder',  'wpbot' );  ?> ">
                <?php
                  $support_quereis=$this->qcld_wb_chatbot_str_replace(maybe_unserialize( get_option('support_query')));
                  $support_ans=$this->qcld_wb_chatbot_str_replace(maybe_unserialize( get_option('support_ans')));
                  if (($support_quereis[0] != '') && ($support_ans[0] != '') && !empty($support_ans[0]) && (count($support_ans) == count($support_quereis))) {
                      
                      $query_ans_counter=0;
                      foreach (array_combine($support_quereis, $support_ans) as $query => $ans) {
                          ?>
                <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> "> <span class="<?php esc_attr_e( 'pull-right',  'wpbot' );  ?> "> </span>
                  <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                    <button type="button" class="<?php esc_attr_e( 'btn btn-danger btn-sm wp-chatbot-remove-support pull-right',  'wpbot' );  ?> "> <i class="<?php esc_attr_e( 'fa fa-times',  'wpbot' );  ?>" aria-hidden="<?php esc_attr_e( 'true',  'wpbot' );  ?> "></i> </button>
                   
                    <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                      <p class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> ">
                        <?php esc_html_e('FAQ query ', 'wpbot'); ?>
                      </p>
                      <input type="text" class="<?php esc_attr_e( 'form-control', 'wpbot'); ?>" name="support_query[]"
                         placeholder="<?php esc_html_e('FAQ query ', 'wpbot'); ?>" value="<?php esc_attr_e( $query,  'wpbot' );  ?> ">
                      <br>
                      <p class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> ">
                        <?php esc_html_e('FAQ answer', 'wpbot'); ?>
                      </p>
                      <?php
                      $anss = is_string( $ans ) ? $ans : '';
                      $answer = !is_array($ans) ?  stripcslashes($ans) : $anss;

                      wp_editor(html_entity_decode($answer), 'support_ans'.'_'.$query_ans_counter, array('textarea_name' =>
                      'support_ans[]',
                      'textarea_rows' => 20,
                      'editor_height' => 100,
                      'disabled'      => 'disabled',
                      'media_buttons' => false,
                      'tinymce'       => array(
                      'toolbar1'      => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
                      )); 
                      
                      ?>
                    </div>
                  </div>
                </div>
                <?php
                                            $query_ans_counter++;
                                        }
                                        //}
                                    } else {
                                        ?>
                <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> "> <span class="<?php esc_attr_e( 'pull-right',  'wpbot' );  ?> "> </span>
                  <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                    <button type="button" class="<?php esc_attr_e( 'btn btn-danger btn-sm wp-chatbot-remove-support pull-right',  'wpbot' );  ?> "> <i class="<?php esc_attr_e( 'fa fa-times',  'wpbot' );  ?>" aria-hidden="<?php esc_attr_e( 'true',  'wpbot' );  ?> "></i> </button>
                  
                    <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                      <p class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> ">
                        <?php esc_html_e('Support query', 'wpbot'); ?>
                      </p>
                      <input type="text" class="<?php esc_attr_e( 'form-control',  'wpbot' );  ?>" name="support_query[]"
                                                           placeholder="<?php esc_html_e('Support query ', 'wpbot'); ?> ">
                      <br>
                      <p class="<?php esc_attr_e( 'qc-opt-dcs-font',  'wpbot' );  ?> "><strong>
                        <?php esc_html_e('Support answer', 'wpbot'); ?>
                        </strong></p>
                      <?php 
                          wp_editor(html_entity_decode(stripcslashes('')), 'support_ans_0', array('textarea_name' =>
                              'support_ans[]',
                              'textarea_rows' => 20,
                              'editor_height' => 100,
                              'disabled' => 'disabled',
                              'media_buttons' => false,
                              'tinymce'       => array(
                                  'toolbar1'      => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
                          ));
                       ?>
                    </div>
                    <br>
                  </div>
                </div>
                <?php
                                    }
                                    ?>
              </div>
              <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'col-sm-6 text-left',  'wpbot' );  ?> "></div>
                <div class="<?php esc_attr_e( 'col-sm-6 text-right',  'wpbot' );  ?> ">
                  <button class="<?php esc_attr_e( 'btn btn-success btn-sm',  'wpbot' );  ?>" type="button"
                                                id="<?php esc_attr_e( 'add-more-support-query',  'wpbot' );  ?>"><i
                                                    class="<?php esc_attr_e( 'fa fa-plus" aria-hidden="true',  'wpbot' );  ?>"></i>
                  <?php esc_html_e('Add More Questions and Answers', 'wpbot'); ?>
                  </button>
                </div>
              </div>
            </div>
          </section>
       
          
          <section id="<?php esc_attr_e( 'section-flip-6',  'wpbot' );  ?> ">
            <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic',  'wpbot' );  ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
              <p class="<?php // esc_attr_e( 'd-ib',  'wpbot' );  ?> "><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
            </div> -->                     
            <?php 
                        wp_enqueue_style('qcld-wp-chatbot-common-style', plugins_url(basename(plugin_dir_path(__FILE__)) . '/css/common-style.css', basename(__FILE__)), '', QCLD_wpCHATBOT_VERSION, 'screen');
                        ?>
            <div class="<?php esc_attr_e( 'top-section',  'wpbot' );  ?> ">
              <div class="<?php esc_attr_e( 'notification-block-inner',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                  <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                    
                    <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                      <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                        <h3><?php echo esc_attr('Predefined Intents'); ?></h3>
                        <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                          <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                            <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                              <?php esc_html_e('Call Me', 'wpbot'); ?>
                            </h4>
                            <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                              <input value="<?php echo esc_attr('1'); ?>" id="<?php esc_attr_e( 'disable_wp_chatbot_call_gen',  'wpbot' );  ?>" type="checkbox"
                                     name="disable_wp_chatbot_call_gen" <?php echo(get_option('disable_wp_chatbot_call_gen') == 1 ? esc_attr('checked' ): ''); ?>>
                              <label for="<?php esc_attr_e( 'disable_wp_chatbot_call_gen',  'wpbot' );  ?>">
                                <?php esc_html_e('Disable Call Me feature and button on Start Menu', 'wpbot'); ?>
                              </label>
                            </div>
                          </div>
                        </div>
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?>" style="margin-bottom:0px">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Button Label', 'wpbot'); ?>
                          </h4>
                          <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_support_phone"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_support_phone') != '' ? get_option('qlcd_wp_chatbot_support_phone') : 'Leave your number. We will call you back!')); ?> ">
                        </div>
                        <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                          <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                            <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                              <?php esc_html_e('Email', 'wpbot'); ?>
                            </h4>
                            <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?>">
                              <input value="<?php echo esc_attr('1' ); ?>" id="<?php esc_attr_e( 'disable_wp_chatbot_feedback',  'wpbot' );  ?>" type="checkbox"
                                     name="disable_wp_chatbot_feedback" <?php echo esc_attr((get_option('disable_wp_chatbot_feedback') == 1 ? 'checked' : ''), 'wpbot' ); ?>>
                              <label for="<?php esc_attr_e( 'disable_wp_chatbot_feedback',  'wpbot' );  ?>">
                                <?php esc_html_e('Disable Email feature and button on Start Menu', 'wpbot'); ?>
                              </label>
                            </div>
                          </div>
                        </div>
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> " style="margin-bottom:0px">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Button Label', 'wpbot'); ?>
                          </h4>
                          <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_support_email"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_support_email') != '' ? get_option('qlcd_wp_chatbot_support_email') : 'Send us Email')); ?> ">
                        </div>
                        <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                          <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                            <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                              <?php esc_html_e('FAQ', 'wpbot'); ?>
                            </h4>
                            <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                              <input value="<?php echo esc_attr('1' ); ?>" id="<?php esc_attr_e( 'disable_wp_chatbot_faq',  'wpbot' );  ?>" type="checkbox"
                                     name="disable_wp_chatbot_faq" <?php echo(get_option('disable_wp_chatbot_faq') == 1 ? esc_attr('checked' ): ''); ?>>
                              <label for="<?php esc_attr_e( 'disable_wp_chatbot_faq',  'wpbot' );  ?>">
                                <?php esc_html_e('Disable FAQ feature and button on Start Menu', 'wpbot'); ?>
                              </label>
                            </div>
                          </div>
                        </div>
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?>" style="margin-bottom:0px ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Button Label', 'wpbot'); ?>
                          </h4>
                          <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_wildcard_support"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_wildcard_support') != '' ? get_option('qlcd_wp_chatbot_wildcard_support') : 'FAQ')); ?> ">
                        </div>
                        <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                          <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                            <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                              <?php esc_html_e('Site Search', 'wpbot'); ?>
                            </h4>
                            <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                              <input value="<?php echo esc_attr('1' ); ?>" id="<?php esc_attr_e( 'disable_wp_chatbot_site_search',  'wpbot' );  ?>" type="checkbox"
                                     name="disable_wp_chatbot_site_search" <?php echo(get_option('disable_wp_chatbot_site_search') == 1 ? esc_attr('checked' ): ''); ?>>
                              <label for="<?php esc_attr_e( 'disable_wp_chatbot_site_search',  'wpbot' );  ?>">
                                <?php esc_html_e('Disable site search feature and button on Start Menu', 'wpbot'); ?>
                              </label>
                              </br><small><?php echo esc_html( '(You can disable searching post contents option below so it searches only the post Titles for most relevancy)'); ?></small></br>  
                            </div>
                            <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                              <input value="<?php echo esc_attr('1' ); ?>" id="<?php esc_attr_e( 'enable_wp_chatbot_post_content',  'wpbot' );  ?>" type="checkbox"
                                    name="enable_wp_chatbot_post_content" <?php echo(get_option('enable_wp_chatbot_post_content') == 1 ? esc_attr('checked' ): ''); ?>>
                              <label for="<?php esc_attr_e( 'enable_wp_chatbot_post_content',  'wpbot' );  ?>">
                                <?php esc_html_e('Enable Searching Post Contents as well', 'wpbot'); ?>
                              </label>
                            </div>
                          </div>
                        </div>
                        <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?>" style="margin-bottom:0px ">
                          <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                            <?php esc_html_e('Button Label', 'wpbot'); ?>
                          </h4>
                          <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                           name="qlcd_wp_chatbot_wildcard_site_search"
                                                           value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_wildcard_site_search') != '' ? get_option('qlcd_wp_chatbot_wildcard_site_search') : 'Site Search')); ?> ">
                        </div>
                      </div>
                    </div>
                    <div class="<?php esc_attr_e( 'qc_menu_setup_area',  'wpbot' );  ?> ">
                      <h3><?php esc_html_e('Menu Sorting & Customization Area', 'wpbot'); ?></h3>
                      <p style="color:red"><?php esc_html_e('Always open a new Incognito window (Ctrl+Shit+N in chrome) to test after making any change.', 'wpbot'); ?></p>
                      <p><?php esc_html_e('To adjust the Active Menu ordering just drag it up or down.', 'wpbot'); ?><br>
                      <?php esc_html_e('To add a menu item in the', 'wpbot'); ?> <b><?php esc_html_e('Active Menu', 'wpbot'); ?> </b> <?php esc_html_e('simply drag a menu item from Available Menu column to the Active Menu. Double click to remove ', 'wpbot'); ?>.</p>
                      <p style="color:red;font-size:16px"><?php esc_html_e('**If you change any button label like FAQ, remove it from the active Menu Area. Add it back and save.', 'wpbot'); ?></p>
                      <div class="<?php esc_attr_e( 'qc_menu_area',  'wpbot' );  ?> ">
                        <h4><?php esc_html_e( 'Acitve Menu', 'wpbot'); ?></h4>
                        <div class="<?php esc_attr_e( 'qc_menu_area_container',  'wpbot' );  ?>" id="<?php esc_attr_e( 'qc_menu_area',  'wpbot' );  ?>">
                          <?php 
                              if(get_option('qc_wpbot_menu_order')!=''):
                                if( is_string( get_option('qc_wpbot_menu_order') ) ):
                                  echo wp_kses_post(wp_kses_stripslashes(get_option('qc_wpbot_menu_order')));
                                  else:
                                endif;
                              ?>
              
                          
                          <?php endif; ?>
                        </div>
                      </div>
                      <div class="<?php esc_attr_e( 'qc_menu_list_area',  'wpbot' );  ?> ">
                        <h4><?php esc_html_e('Available Menu', 'wpbot'); ?></h4>
                        <div class="<?php esc_attr_e( 'qc_menu_list_container',  'wpbot' );  ?>">
                          <p><?php esc_html_e('Predefined Intents', 'wpbot'); ?></p>
                          <ul>
                            <li>
                              <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
                              <span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qc_draggable_item',  'wpbot' );  ?>"  data-wildcart="support"><?php  esc_attr_e(get_option('qlcd_wp_chatbot_wildcard_support'),  'wpbot' ); ?></span>
                              <?php endif; ?>
                            </li>
                            <li>
                              <?php if(get_option('disable_wp_chatbot_site_search')==''): ?>
                              <span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qc_draggable_item qcld-chatbot-site-search',  'wpbot' );  ?>"  data-wildcart="site_search"><?php  esc_attr_e(get_option('qlcd_wp_chatbot_wildcard_site_search'),  'wpbot' ); ?></span>
                              <?php endif; ?>
                            </li>
                            <li>
                              <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
                              <span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qc_draggable_item',  'wpbot' );  ?>"  data-wildcart="messenger"><?php echo wp_kses_post(qcld_choose_random(maybe_unserialize(get_option('qlcd_wp_chatbot_messenger_label')))) ?></span>
                              <?php endif; ?>
                            </li>
                            <li>
                              <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
                              <span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qc_draggable_item',  'wpbot' );  ?>"  data-wildcart="whatsapp"><?php echo wp_kses_post(qcld_choose_random(maybe_unserialize(get_option('qlcd_wp_chatbot_whats_label')))); ?></span>
                              <?php endif; ?>
                            </li>
                            <li>
                              <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
                              <span class="<?php esc_attr_e( 'qcld-chatbot-suggest-email qc_draggable_item',  'wpbot' );  ?> "><?php esc_attr_e(get_option('qlcd_wp_chatbot_support_email'),  'wpbot' ); ?></span>
                              <?php endif; ?>
                            </li>
                            <li>
                              <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
                              <span class="<?php esc_attr_e( 'qcld-chatbot-suggest-phone qc_draggable_item',  'wpbot' );  ?>" ><?php esc_attr_e(get_option('qlcd_wp_chatbot_support_phone'),  'wpbot' ); ?></span>
                              <?php endif; ?>
                            </li>
                          </ul>
                          <?php
                            if(class_exists('Qcformbuilder_Forms_Admin')){
                              
                                global $wpdb;

                                //To Do: Need to use prepared statement

                                $results = $wpdb->get_results($wpdb->prepare("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type=%s",'primary')); //DB Call OK, No Caching OK
                                if(!empty($results)){
                                ?>
                          <p><?php esc_html_e('Conversational Form', 'wpbot'); ?></p>
                          <ul>
                            <?php
                                  foreach($results as $result){
                                      $form = maybe_unserialize($result->config);
                                  ?>
                            <li><span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item',  'wpbot' );  ?>" data-form="<?php echo esc_attr($form['ID']); ?>" ><?php esc_html_e($form['name']); ?></span></li>
                            <?php
                                                            }
                                                            ?>
                          </ul>
                          <?php
                                                        }
                                                    }
                                                    ?>
                        </div>
                      </div>
                    </div>
                    <input id="qc_wpbot_menu_order" type="hidden" name="qc_wpbot_menu_order" value='<?php echo esc_attr(wp_kses_stripslashes(get_option('qc_wpbot_menu_order'))); ?>' />
                  </div>
                </div>
              </div>
            </div>
          </section>
          <section id="<?php esc_attr_e( 'section-flip-7',  'wpbot' );  ?> ">
            <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic',  'wpbot' );  ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
              <p class="<?php // esc_attr_e( 'd-ib',  'wpbot' );  ?> "><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
            </div> -->
            <div class="<?php esc_attr_e( 'top-section',  'wpbot' );  ?> ">
              <div class="<?php esc_attr_e( 'wp-chatbot-language-center-summmery',  'wpbot' );  ?> ">
                <p>
                  <?php esc_html_e('DialogFlow as Artificial Intelligences Engine for wpwBot', 'wpbot'); ?>
                </p>
              </div>
             
              <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                  <div class="wrapTexttop-lite">                                   
                    <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "><?php esc_html_e('Enable DialogFlow as AI Engine to Detect Intent', 'wpbot'); ?> </h4>
                    <div class="alert alert-warning" role="alert">
                     <h5 style="color: #f00;font-weight:900"><?php esc_html_e('Please do not enable DialogFlow and OpenAI both at the same time.', 'wpbot'); ?> </h5>
                      <h5 style="color: #f00;font-weight:900 "><?php esc_html_e(' Enable either DialogFlow or OpenAI', 'wpbot'); ?> </h5>
                    </div>
                    <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                      <input value="<?php  esc_html_e('1', 'wpbot'); ?>" id="<?php esc_attr_e( 'enable_wp_chatbot_dailogflow',  'wpbot' );  ?>" type="checkbox"
                                                    name="enable_wp_chatbot_dailogflow" <?php echo(get_option('enable_wp_chatbot_dailogflow') == 1 ? esc_attr('checked' ): ''); ?>>
                      <label for="<?php esc_attr_e( 'enable_wp_chatbot_dailogflow',  'wpbot' );  ?>"><?php esc_html_e('Enable DialogFlow AI Engine to process Natural Language commands from users.', 'wpbot'); ?> </label> <br>
                     
                    </div>
                    </div>
                </div>
                
                <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?>" id="<?php esc_attr_e( 'wp-chatbot-dialflow-section',  'wpbot' );  ?>">
                  <p><?php esc_html_e('Log in to DialogFlow Console from', 'wpbot'); ?> 
                      <a class="<?php esc_attr_e( 'wpbot_df_instruction',  'wpbot' );  ?>" href="<?php echo esc_url('https://dialogflow.com/',  'wpbot'); ?>" 
                      target="_blank">
                      <?php esc_html_e('Here', 'wpbot'); ?></a> 
                      <?php esc_html_e('with your gmail account.', 'wpbot'); ?> <a class="<?php esc_attr_e( 'wpbot_df_instruction',  'wpbot' );  ?>" href="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'download/wpwBot.zip'); ?>" download ><?php esc_html_e('Download', 'wpbot'); ?></a> <?php esc_html_e('the agent training data and import from DialogFlow->Settings->Export and Import tab. You can add your own intents in that agent but do not modify our following training intents which are', 'wpbot'); ?> <b><?php esc_html_e('email, email subscription, faq, get email, get name, help, phone, reset, site search and start.', 'wpbot'); ?></b> </p>
                  <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "><?php esc_html_e('DialogFlow API Version', 'wpbot'); ?></h4>
                  <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                    <label class="<?php esc_attr_e( 'radio-inline',  'wpbot' );  ?> ">
                      <input id="<?php esc_attr_e( 'wp-chatbot-df-api',  'wpbot' );  ?>" type="radio"
                                                        name="wp_chatbot_df_api"
                                                        value="<?php  esc_html_e('v2', 'wpbot'); ?>" checked>
                      <?php esc_html_e('Dialogflow API V2', 'wpbot'); ?> </label>
                  </div>
                  <div id="<?php esc_attr_e( 'wp-chatbot-df-section-v2',  'wpbot' );  ?>" style="display:block"> 
                    <!-- Dialogflow V2 Configuration -->
                    
                    <?php if(!file_exists(QCLD_wpCHATBOT_GC_DIRNAME.'/autoload.php')): ?>
                    <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> "> <br>
                      <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?>" style="color:red "><?php esc_html_e('For Interacting with Dialogflow V2 the Google Client Package is Required!', 'wpbot'); ?></h4>
                      <p><?php esc_html_e('Please click the download button below to download the Google Client package. The package will be downloaded inside your Wordpress`s', 'wpbot'); ?> <b><?php esc_html_e('/wp-content', 'wpbot'); ?></b> <?php esc_html_e('folder. This package is around', 'wpbot'); ?> <b><?php esc_html_e('0 MB', 'wpbot'); ?></b><?php esc_html_e(' in zip file format and it will be about', 'wpbot'); ?> <b><?php esc_html_e('49 MB', 'wpbot'); ?></b> <?php esc_html_e('after unzipping. Please make sure that your server has enough space to store that package.', 'wpbot'); ?></p>
                      <div class="<?php esc_attr_e( 'qcld-wpbot-gcdownload-area',  'wpbot' );  ?> ">
                        <button class="<?php esc_attr_e( 'btn btn-primary',  'wpbot' );  ?>" id="<?php esc_attr_e( 'qc_wpbot_gc_download',  'wpbot' );  ?>" <?php echo (!is_writable(QCLD_wpCHATBOT_GC_ROOT)?'disabled':''); ?>><?php esc_html_e('Download and Install the Google Client', 'wpbot'); ?></button>
                        <?php 
                            if(!is_writable(QCLD_wpCHATBOT_GC_ROOT)){
                              echo '<span style="color:red;font-size: 12px; "><b>'.esc_html('wp-content').' </b> '.esc_html('folder is not writable.').'</span>';
                            }
                          ?>
                        <br>
                        <br>
                        <p><?php esc_html_e('Alternatively, If the download operation fails for some reason like folder permission or server timeout issue then you can manually upload the ', 'wpbot'); ?> <u title="Google Client',  'wpbot' );  ?> "><?php esc_html_e('GC', 'wpbot'); ?></u> <?php esc_html_e('package by following some simple steps.', 'wpbot'); ?></p>
                        <p><?php esc_html_e('1. Download GC package from:', 'wpbot'); ?> <a href="<?php echo esc_url('https://github.com/qcloud/gc/archive/master.zip', 'wpbot'); ?>" target="_blank"><?php esc_attr_e('https://github.com/qcloud/gc/archive/master.zip', 'wpbot'); ?></a></p>
                        <p><?php esc_html_e('2. Unzip the', 'wpbot'); ?> <b><?php esc_html_e('wpbotgc.zip', 'wpbot'); ?></b> <?php esc_html_e('inside to your computer.', 'wpbot'); ?></p>
                        <p><?php esc_html_e('3. Create a folder with name ', 'wpbot'); ?><b><?php esc_html_e('wpbot-dfv2-client', 'wpbot'); ?></b> <?php esc_html_e('under ', 'wpbot'); ?><b><?php esc_html_e('wp-content', 'wpbot'); ?></b> <?php esc_html_e('into your server.', 'wpbot'); ?></p>
                        <p><?php esc_html_e('4. Upload the upziped files and folders into', 'wpbot'); ?> <b><?php esc_html_e('wpbot-dfv2-client', 'wpbot'); ?></b><?php esc_html_e(' via FTP.', 'wpbot'); ?></p>
                        <div class="<?php esc_attr_e( 'qcld_wpbot_download_statuses',  'wpbot' );  ?> "> </div>
                      </div>
                      <br>
                    </div>
                    <?php else: ?>
                    <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                      <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?>" style="color:green "><?php esc_html_e('Google Client Package is Installed on Your Website.', 'wpbot'); ?></h4>
                    </div>
                    <?php endif; ?>
                    <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                      <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?>" ><?php esc_html_e('Please follow along with this', 'wpbot'); ?>  <a href="<?php echo esc_url('https://www.wpbot.pro/dialogflow-integration', 'wpbot'); ?>" target="_blank"><?php esc_html_e('tutorial.', 'wpbot'); ?> </a><?php esc_html_e(' It will help you to create a project id, private key and integrate WPBot with Dialogflow. For DialogFlow agent region, try choosing any region other than the EU region which has known issues.', 'wpbot'); ?> </h4>
                    </div>
                    <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                      <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "><?php esc_html_e('DialogFlow Project ID', 'wpbot'); ?></h4>
                      <p><?php esc_html_e('You can follow the', 'wpbot'); ?>  <a href="<?php echo esc_url('https://www.youtube.com/watch?v=qY-EHFY2wH8', 'wpbot'); ?>" target="_blank"><?php esc_html_e('tutorial', 'wpbot'); ?> </a><?php esc_html_e(' to get the Project ID.', 'wpbot'); ?>  </p>
                      <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                        name="qlcd_wp_chatbot_dialogflow_project_id"
                                                        value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_dialogflow_project_id') != '' ? get_option('qlcd_wp_chatbot_dialogflow_project_id') : '')); ?>" placeholder="<?php echo esc_attr('DialogFlow Project ID'); ?> ">
                    </div>
                    <?php 

                          $placeholderPrivatekey = '{
                              "type": "service_account",
                              "project_id": "PLACEYOUROWNID",
                              "private_key_id": "31e300128..........c48",
                              "private_key": "-----BEGIN PRIVATE KEY-----\nTHIS IS A DEMO PRIVATE KEY to SHOW HOW IT SHOULD LOOK. Replace with ACTUAL KEY.+OdT09MGEdAjlgSF2HMDA3fl8Ey4dmTxRfAN9No6G3Ugs3BrpZHfY\nSviWzS4JQ0GkCubcJc0DzJ8AqG6xX7E3SfKpdtKEn1eYV7sfQL3C2lm2lTj6nWdt\nxrkhJVHn61kxfPAWChnkdPa5EbMNFnV5mN5rhwaOxR+tEjW9nWBjVFG0NMnOMWF4\nsu6QJVjQMtI99jPBCid1r4XV/sPABSXh8dscWdMinGhZfuCjF4sOGHUUaw+VDGb6\nZpPOh65nw5fsdOHETsb4BN/LW72Khux+870Ig4jkuLIN3PnSF9QfwO8U2qTG5sZK\nn5nxhT9zAgMBAAECggEAX1NSWRGnrcVsu6n1jn9xUpzvxyy+CJe1Z1DvHo1tmHNS\n0Q8OI/Y........THIS IS A DEMO PRIVATE KEY to SHOW HOW IT SHOULD LOOK. Replace with your own key......................................paqQKBgQCJ\nvNCZIHpLGVqwiw4SVYgZW2i+VsZ78sOw0SuuhjZNmOlGjpalbQCjKs9l5dSz5t5D\nVleJVyriFaXyvVty/iF6orqTgv0EhcLO2RI9KSrTpbOXcIkgeunAhRM3oloxSndt\n98H3f1xRvTLIm1enERLkOyGHmm7nWFV0BQWD+CxeCwKBgDtBGn+uBgNgZjSaLnkJ\noemAoIBN6aD4+QWduPldRgTilH6ABQ26SL+t4sa9jbAtkMuD/hWOMLBqmz98tfCC\ndy6cPghea+b0S7lj/wmUaDA1Vmz7luCLm+lO+fe3K6WIlEhAP/9MXVH90Sj6CllF\nAn4stWzIKHrRKA3lIvgJv+9W\n-----END PRIVATE KEY-----\n",
                              "client_email": "dialogflow-evysjn@wpbotpro.iam.gserviceaccount.com",
                              "client_id": "1026.....032997",
                              "auth_uri": "https://accounts.google.com/o/oauth2/auth",
                              "token_uri": "https://oauth2.googleapis.com/token",
                              "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
                              "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/dialogflow-evysjn%40wpbotpro.iam.gserviceaccount.com"
                          }';

                          ?>
                    <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                      <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "><?php esc_html_e('Private Key', 'wpbot'); ?></h4>
                      <p><?php esc_html_e("Paste your google service account's private key JSON file's contents (string) here", "wpbot"); ?> <a href="<?php echo esc_url('https://www.youtube.com/watch?v=qY-EHFY2wH8', 'wpbot'); ?>" target="_blank"><?php esc_html_e('tutorial', 'wpbot'); ?></a> <?php esc_html_e('to get private key JSON file. ', 'wpbot'); ?></p>
                      <textarea class="<?php esc_attr_e( 'form-control',  'wpbot' );  ?>" rows="20" name="qlcd_wp_chatbot_dialogflow_project_key" placeholder='<?php echo esc_attr($placeholderPrivatekey); ?>'><?php esc_html_e((get_option('qlcd_wp_chatbot_dialogflow_project_key') != '' ? get_option('qlcd_wp_chatbot_dialogflow_project_key') : ''),  'wpbot' ); ?></textarea>
                    </div>
                    
                    <!-- End Dialogflow V2 Configuration --> 
                  </div>
                  <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                    <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "><?php esc_html_e('Please Click the Button Below to Test Dialogflow Connection.', 'wpbot'); ?> </h4>
                    <p style="color:red "><?php esc_html_e('*Save settings before pressing Test Dialogflow Connection', 'wpbot'); ?><br>
                      <?php esc_html_e('*You must have owner permission for the service account your are using in Dialogflow agent.', 'wpbot'); ?></p>
                    <div class="<?php esc_attr_e( 'cxsc-settings-blocks',  'wpbot' );  ?> ">
                      <button class="<?php esc_attr_e( 'btn btn-primary',  'wpbot' );  ?>" id="<?php esc_attr_e( 'qc_wpbot_df_status',  'wpbot' );  ?>"><?php esc_html_e('Test Dialogflow Connection', 'wpbot'); ?></button>
                      <div class="<?php esc_attr_e( 'qcwp_df_status',  'wpbot' );  ?> "></div>
                    </div>
                  </div>
                  <br>
                  <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                    <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> ">
                      <?php esc_html_e('DialogFlow Default reply', 'wpbot'); ?>
                    </h4>
                    <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                   name="qlcd_wp_chatbot_dialogflow_defualt_reply"
                                                   value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_dialogflow_defualt_reply') != '' ? get_option('qlcd_wp_chatbot_dialogflow_defualt_reply') : 'Sorry, I did not understand you. You may browse')); ?>" placeholder="<?php esc_html_e('DialogFlow default reply', 'wpbot'); ?> ">
                  </div>
                  <div class="<?php esc_attr_e( 'form-group',  'wpbot' );  ?> ">
                    <h4 class="<?php esc_attr_e( 'qc-opt-title',  'wpbot' );  ?> "><?php esc_html_e('DialogFlow Agent Language (Ex: en)', 'wpbot'); ?></h4>
                    <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font',  'wpbot' );  ?>"
                                                   name="qlcd_wp_chatbot_dialogflow_agent_language"
                                                   value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_dialogflow_agent_language') != '' ? get_option('qlcd_wp_chatbot_dialogflow_agent_language') : 'en')); ?>" placeholder="<?php esc_html_e('DialogFlow Agent Language', 'wpbot'); ?>">
                  </div>
                </div>
              </div>
            </div>
          </section>
          <section id="<?php esc_attr_e( 'section-flip-7',  'wpbot' );  ?> ">
            <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic',  'wpbot' );  ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
              <p class="<?php // esc_attr_e( 'd-ib',  'wpbot' );  ?> "><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
            </div> -->           
              <div class="<?php esc_attr_e( 'top-section',  'wpbot' );  ?> ">
                  <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
                    <div class="<?php esc_attr_e( 'col-xs-12',  'wpbot' );  ?> ">
                      <h4 class="<?php esc_attr_e( 'qc-opt-dcs',  'wpbot' );  ?> "><?php esc_html_e('You can paste or write your custom css here.', 'wpbot'); ?></h4>
                      <textarea name="wp_chatbot_custom_css"
                                                      class="<?php esc_attr_e( 'form-control wp-chatbot-custom-css',  'wpbot' );  ?>"
                                                      cols="10"
                                                      rows="16"><?php echo esc_textarea(get_option('wp_chatbot_custom_css')); ?></textarea>
                    </div>
                  </div>
                  <!-- row--> 
                </div>
          </section>

         <section id="<?php  esc_attr_e( 'section-flip-9',  'wpbot' );  ?> "> 
          
            <div class="<?php esc_attr_e( 'cxsc-settings-blocks-addon',  'wpbot' );  ?> "><?php esc_html_e('Install the Conversational Form Builder to Collect Information from the users and create Button (menu) Driven Conversations.', 'wpbot'); ?></br> 
                             <?php  esc_html_e('After creating a Conversational form, you can add it to the ChatBot`s Start Menu from the ChatBot Settings->Start Menu', 'wpbot'); ?></b></div>

              <?php include_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . '/qcld-recommendbot-plugin.php'; ?>
          </section>  
        </div>
      </div>
      <footer class="<?php esc_attr_e( 'wp-chatbot-admin-footer',  'wpbot' );  ?> ">
        <div class="<?php esc_attr_e( 'row',  'wpbot' );  ?> ">
          
          <div class="<?php esc_attr_e( 'text-right col-sm-3 col-sm-offset-9',  'wpbot' );  ?> ">
            <input type="submit" class="<?php esc_attr_e( 'btn btn-primary submit-button',  'wpbot' );  ?>" name="submit"
                                   id="<?php esc_attr_e( 'submit',  'wpbot' );  ?>" value="<?php esc_html_e('Save Settings', 'wpbot'); ?>"/>
          </div>
        </div>
        <!--                    row--> 
      </footer>
    </section>
  </div>
  <?php wp_nonce_field('wp_chatbot'); ?>
</form>

Youez - 2016 - github.com/yon3zu
LinuXploit