PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services / 5.2.2
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services v5.2.2
8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 8.5.3 8.5.2 8.5.0 8.4.9 All 531 releases
chatbot / admin_ui.php

admin_ui.php in WPBot – AI ChatBot for Live Support, Lead Generation, AI Services 5.2.2, at admin_ui.php

2,238 lines 190.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Exit if accessed directly
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit;
6 }
7 ?>
8
9 <div class="<?php esc_attr_e( 'wrap', 'wpbot' ); ?> ">
10 <h1 style="display:none">
11 <?php esc_html_e('WPBot', 'wpbot'); ?>
12 </h1>
13 </div>
14 <div class="<?php esc_attr_e( 'wp-chatbot-wrap', 'wpbot' ); ?> ">
15 <div class="<?php esc_attr_e( 'icon32', 'wpbot' ); ?> "><br>
16 </div>
17 <form action="<?php echo esc_url($action, 'wpbot'); ?>" method="POST" id="<?php esc_attr_e( 'wp-chatbot-admin-form', 'wpbot' ); ?>"
18 enctype="multipart/form-data', 'wpbot' ); ?> ">
19 <div class="<?php esc_attr_e( 'container form-container', 'wpbot' ); ?> ">
20 <header class="<?php esc_attr_e( 'wp-chatbot-admin-header', 'wpbot' ); ?> ">
21 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
22 <div class="<?php esc_attr_e( 'col-sm-6', 'wpbot' ); ?> ">
23 <h2><?php esc_html_e('WPBot Control Panel', 'wpbot'); ?><?php echo get_option('wp_chatbot_index_meta'); ?></h2>
24 </div>
25 <div class="<?php esc_attr_e( 'col-sm-6 text-right wp-chatbot-version', 'wpbot' ); ?> ">
26
27 <div class="<?php esc_attr_e( 'wpchatbot-lite-version-section', 'wpbot' ); ?> ">
28 <h3 class="<?php esc_attr_e( 'wpchatbot-liteversion', 'wpbot' ); ?> ">
29 <?php esc_html_e('The Lite Version', 'wpbot'); ?>
30 </h3>
31 <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>
32 </div>
33 </div>
34 </div>
35 </header>
36 <section class="<?php esc_attr_e( 'wp-chatbot-tab-container-inner', 'wpbot' ); ?> ">
37 <div class="<?php esc_attr_e( 'wp-chatbot-tabs wp-chatbot-tabs-style-flip', 'wpbot' ); ?> ">
38 <nav>
39 <ul>
40 <li 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' ); ?> ">
41 <?php esc_html_e('GETTING STARTED', 'wpbot'); ?>
42 </span> </a></li>
43 <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' ); ?> ">
44 <?php esc_html_e('GENERAL SETTINGS', 'wpbot'); ?>
45 </span> </a></li>
46 <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' ); ?> ">
47 <?php esc_html_e('Change Language', 'wpbot'); ?>
48 </span> </a></li>
49 <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' ); ?> ">
50 <?php esc_html_e('ICONS & THEMES', 'wpbot'); ?>
51 </span> </a></li>
52 <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' ); ?> ">
53 <?php esc_html_e('FAQ Builder', 'wpbot'); ?>
54 </span> </a></li>
55 <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>
56
57
58 <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' ); ?> ">
59 <?php esc_html_e('Dialogflow', 'wpbot'); ?>
60 </span> </a></li>
61
62 <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>
63 </span> <span class="<?php esc_attr_e( '', 'wpbot' ); ?> "> <?php esc_html_e('OpenAI Settings', 'wpbot'); ?> </span>
64 </a>
65 </div>
66 <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>
67 </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "> <?php esc_html_e('Custom CSS', 'wpbot'); ?></span> </a>
68 </li>
69
70 <!-- <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>
71 </li> -->
72 </ul>
73
74 <div class="<?php esc_attr_e( 'text-center mt-5', 'wpbot' ); ?> ">
75 <input type="button" class="<?php esc_attr_e( 'btn btn-warning submit-button', 'wpbot' ); ?>"
76 id="<?php esc_attr_e( 'qcld-wp-chatbot-reset-option', 'wpbot' ); ?>"
77 value="<?php esc_html_e('Reset all options to Default', 'wpbot'); ?>"/>
78 </div>
79 </nav>
80
81
82
83
84 <div class="<?php esc_attr_e( 'content-wrap', 'wpbot' ); ?>">
85 <section id="<?php esc_attr_e( 'section-flip-1', 'wpbot' ); ?>">
86 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic', 'wpbot' ); ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
87 <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'); ?>
88 </div> -->
89 <div class="wrap swpm-admin-menu-wrap">
90 <h2 class="nav-tab-wrapper sld_nav_container wppt_nav_container">
91 <a class="nav-tab sld_click_handle nav-tab-active" href="#general_wp_nutshell"><?php echo esc_html('WPBot – In a Nutshell'); ?></a>
92 <a class="nav-tab sld_click_handle" href="#general_int"><?php echo esc_html('Getting Started'); ?></a>
93
94 </h2>
95 <div class="wppt-settings-section" style="margin-right:unset;margin-left:unset; display:block; margin-top:40px" id="general_wp_nutshell">
96 <div class="content form-container qcbot_help_secion" style="">
97 <!-- new Section -->
98
99 <h2 style="margin-top: 10px;color:#fff"><?php echo esc_html__('WPBot – In a Nutshell', 'wpbot'); ?></h2>
100
101 <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>
102 <div style="clear:both"></div>
103 <div class="panel panel-default">
104 <div class="panel-heading" role="tab" id="headingOne">
105 <h4 class="panel-title">
106 <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>
107 </h4>
108 </div>
109 <div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
110 <div class="panel-body">
111 <?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>
112 <?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>
113 <?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>
114 <?php echo esc_html_e('Please check this article for'); ?> <h2 class="wppt_nav_container qcld-plan-tab-text">
115 <a class="nav-tab qcld-plan-tab-text" href="#general_int"><?php echo esc_html_e('more details'); ?></a> </h2> <?php echo esc_html_e('on how you can create Intents and Responses.'); ?>
116 </div>
117 </div>
118 </div>
119 <div class="panel panel-default">
120 <div class="panel-heading" role="tab" id="headingSix">
121 <h4 class="panel-title">
122 <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>
123 </h4>
124 </div>
125 <div id="collapseSix" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingSix">
126 <div class="panel-body">
127 <?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>
128 <?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>
129 <?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.'); ?>
130 </div>
131 </div>
132 </div>
133 <div class="panel panel-default">
134 <div class="panel-heading" role="tab" id="headingSeven">
135 <h4 class="panel-title">
136 <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>
137 </h4>
138 </div>
139 <div id="collapseSeven" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingSeven">
140 <div class="panel-body">
141 <?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>
142 <?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.'); ?>
143 </div>
144 </div>
145 </div>
146 <div class="panel panel-default">
147 <div class="panel-heading" role="tab" id="headingEight">
148 <h4 class="panel-title">
149 <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>
150 </h4>
151 </div>
152 <div id="collapseEight" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingEight">
153 <div class="panel-body">
154 <?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..'); ?>
155 </div>
156 </div>
157 </div>
158 <div class="panel panel-default">
159 <div class="panel-heading" role="tab" id="headingtwo">
160 <h4 class="panel-title">
161 <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>
162 </h4>
163 </div>
164 <div id="collapsetwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingtwo">
165 <div class="panel-body">
166 <?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.'); ?>
167 </div>
168 </div>
169 </div>
170 <div class="panel panel-default">
171 <div class="panel-heading" role="tab" id="headingThree">
172 <h4 class="panel-title">
173 <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>
174 </h4>
175 </div>
176 <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
177 <div class="panel-body">
178 <?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.'); ?>
179 </div>
180 </div>
181 </div>
182 <div class="panel panel-default">
183 <div class="panel-heading" role="tab" id="headingten">
184 <h4 class="panel-title">
185 <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>
186 </h4>
187 </div>
188 <div id="collapseten" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingten">
189 <div class="panel-body">
190 <?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.'); ?>
191 </div>
192 </div>
193 </div>
194 <div class="panel panel-default">
195 <div class="panel-heading" role="tab" id="headingFour">
196 <h4 class="panel-title">
197 <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>
198 </h4>
199 </div>
200 <div id="collapseFour" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFour">
201 <div class="panel-body">
202 <?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.'); ?>
203 </div>
204 </div>
205 </div>
206 <div class="panel panel-default">
207 <div class="panel-heading" role="tab" id="headingFive">
208 <h4 class="panel-title">
209 <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>
210 </h4>
211 </div>
212 <div id="collapseFive" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFive">
213 <div class="panel-body">
214 <?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.'); ?>
215 </div>
216 </div>
217 </div>
218 </div>
219 <!-- end new Section -->
220 </div>
221
222 <div class="wppt-settings-section" style="margin-right:unset;margin-left:unset;margin-top:40px;display:none" id="general_int">
223 <div class="content form-container qcbot_help_secion" style="">
224 <!-- new Section -->
225
226 <h2 style="margin-top: 10px;color:#fff"><?php echo esc_html__('WPBot Interactions', 'wpbot'); ?></h2>
227 <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>
228 <?php echo esc_html__('To create answers to user questions you can use:', 'wpbot'); ?></br>
229 <?php echo esc_html__('Simple Text Responses (built-in), FAQ(built-in), Site search(built-in), Product search(built-in Pro feature), DialogFlow(3rd Party) or OpenAI(3rd Party)', 'wpbot'); ?></br>
230 <?php echo esc_html__('To collect information from your users you can use:', 'wpbot'); ?></br>
231 <?php echo esc_html__('Conversational forms(built-in), Mail us(built-in), Call me back(built-in), Collect feedback(built-in) features', 'wpbot'); ?></p>
232 <h6 style="color:#fff"><?php echo esc_html__('You can create user interactions in the following ways:', 'wpbot'); ?></h6>
233 <div style="clear:both"></div>
234 <div class="panel panel-default">
235 <div class="panel-heading" role="tab" id="FeaturesOne">
236 <h4 class="panel-title">
237 <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>
238 </h4>
239 </div>
240 <div id="FeaturescollapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="FeaturesOne">
241 <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">
242 <div class="wpb_column vc_column_container vc_col-sm-6">
243 <div class="vc_column-inner ">
244 <div class="wpb_wrapper">
245 <div class="to-icon-box left txt-left">
246 <div class="to-icon-txt fa-4x-txt ">
247 <h3>
248 <span>// </span><?php esc_html_e('Simple Text Responses', 'wpbot'); ?>
249 </h3>
250 <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>
251 </div>
252 </div>
253 <div class="to-icon-box left txt-left">
254 <div class="to-icon-txt fa-4x-txt ">
255 <h3>
256 <span>// </span><?php esc_html_e('Send eMail, Call Me Back &amp; Feedback Collection', 'wpbot'); ?>
257 </h3>
258 <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>
259 </div>
260 </div>
261 <div class="to-icon-box left txt-left">
262 <div class="to-icon-txt fa-4x-txt ">
263 <h3>
264 <span>// </span><?php esc_html_e('Advanced Site Search', 'wpbot'); ?> <span class="qc_wpbot_pro">PRO</span>
265 </h3>
266 <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>
267 </div>
268 </div>
269 </div>
270 </div>
271 </div>
272 <div class="wpb_column vc_column_container vc_col-sm-6">
273 <div class="vc_column-inner ">
274 <div class="wpb_wrapper">
275 <div class="to-icon-box left txt-left">
276 <div class="to-icon-txt fa-4x-txt ">
277 <h3>
278 <span>// </span><?php esc_html_e('Frequently Asked Questions', 'wpbot'); ?>
279 </h3>
280 <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>
281 </div>
282 </div>
283 <div class="to-icon-box left txt-left">
284 <div class="to-icon-txt fa-4x-txt ">
285 <h3>
286 <span>// </span>Ask for name, email, phone number etc.
287 </h3>
288 <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>
289 </div>
290 </div>
291 <div class="to-icon-box left txt-left">
292 <div class="to-icon-txt fa-4x-txt ">
293 <h3>
294 <span>// </span><?php esc_html_e('Newsletter Subscription', 'wpbot'); ?> <span class="qc_wpbot_pro">PRO</span>
295 </h3>
296 <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>
297 </div>
298 </div>
299 </div>
300 </div>
301 </div>
302 </div>
303 </div>
304 </div>
305 </div>
306 <div class="panel panel-default">
307 <div class="panel-heading" role="tab" id="headingTwo">
308 <h4 class="panel-title">
309 <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>
310 </h4>
311 </div>
312 <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
313 <div class="panel-body">
314 <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>
315 <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>.
316 </p>
317 <h4><?php esc_html_e('Conversational Form Builder Free or Pro version works with the WPBot Free or Pro versions.', 'wpbot'); ?></h4>
318 <a class="FormBuilder" href="https://wordpress.org/plugins/conversational-forms/" target="_blank"><?php esc_html_e('Download Free Version', 'wpbot'); ?></a>
319 <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>
320 <h4><?php esc_html_e('What Can You Do with it?', 'wpbot'); ?></h4>
321 <p><?php esc_html_e('Conversation Forms allows you to create a wide variety of forms, that might include:', 'wpbot'); ?></p>
322 <ul>
323 <li><?php esc_html_e('Create menu or button driven conversations', 'wpbot'); ?></li>
324 <li><?php esc_html_e('Conditional <strong>Menu Driven Conversations', 'wpbot'); ?></strong>
325 <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'wpbot'); ?></span>
326 </li>
327 <li><?php esc_html_e('Standard Contact Forms', 'wpbot'); ?></li>
328 <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>
329 </li>
330 <li>Job <strong><?php esc_html_e('Application Forms', 'wpbot'); ?></strong>
331 </li>
332 <li>
333 <strong><?php esc_html_e('Lead Capture', 'wpbot'); ?></strong> <?php esc_html_e('Forms', 'wpbot'); ?>
334 </li>
335 <li><?php esc_html_e('Various types of', 'wpbot'); ?> <strong><?php esc_html_e('Calculators', 'wpbot'); ?></strong>
336 <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'wpbot'); ?></span>
337 </li>
338 <li><?php esc_html_e('Feedback', 'wpbot'); ?> <strong>Survey</strong><?php esc_html_e(' Forms etc.', 'wpbot'); ?> </li>
339 </ul>
340 </div>
341 </div>
342 </div>
343 <div class="panel panel-default">
344 <div class="panel-heading" role="tab" id="AIheadingThree">
345 <h4 class="panel-title">
346 <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>
347 </h4>
348 </div>
349 <div id="AIcollapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="AIheadingThree">
350 <div class="panel-body">
351 <div class="section-container">
352 <div class="wpb_column vc_column_container vc_col-sm-6">
353 <div class="wpb_wrapper">
354 <h2 style="font-size: 20px;"><?php esc_html_e('DialogFlow Essential', 'wpbot'); ?></h2> <?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>
355 <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>
356 </p>
357 <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>
358 </p>
359 <h2 style="font-size: 20px;"><?php esc_html_e('OpenAI', 'wpbot'); ?></h2><?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'); ?>
360 </div>
361 </div>
362 <div class="wpb_column vc_column_container vc_col-sm-6">
363 <div class="wpb_wrapper">
364 <h2 style="font-size: 20px;"><?php esc_html_e('DialogFlow CX', 'wpbot'); ?> <span class="qc_wpbot_pro">PRO</span>
365 </h2>
366 <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>
367 <ul>
368 <li>
369 <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'); ?>
370 </li>
371 <li>
372 <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'); ?>
373 </li>
374 <li>
375 <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'); ?>
376 </li>
377 <img style="width:100%" src="<?php echo QCLD_wpCHATBOT_IMG_URL . '/dialogflow-cx-1024x676.jpg';?>" alt="Dialogflow CX">
378 </ul>
379 </div>
380 </div>
381 </div>
382 </div>
383 </div>
384 </div>
385
386
387 <!-- end new Section -->
388
389 </div>
390 </div>
391 </div>
392 <script type="text/javascript">
393 jQuery(document).ready(function($){
394 var url=document.URL;
395 var arr=url.split('#');
396 var tab_tar = '.'+arr[1];
397 setTimeout(function(){
398 jQuery(tab_tar).trigger('click');
399 }, 500);
400
401 jQuery('.wppt_nav_container .nav-tab').on('click', function(e){
402 e.preventDefault();
403 var section_id = jQuery(this).attr('href');
404 jQuery('.wppt_nav_container .nav-tab').removeClass('nav-tab-active');
405 jQuery(this).addClass('nav-tab-active');
406 jQuery('.wppt-settings-section').hide();
407 jQuery('.wppt-settings-section').each(function(){
408 jQuery(section_id).show();
409 });
410 });
411 })
412 </script>
413 </section>
414 <section id="<?php esc_attr_e( 'section-flip-2', 'wpbot' ); ?>">
415 <div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> ">
416 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
417 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
418 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic', 'wpbot' ); ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
419 <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'); ?>
420 </div> -->
421 <div class="<?php esc_attr_e( 'cxsc-settings-blocks-notic', 'wpbot' ); ?> ">
422 <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>
423 <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>
424 <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>
425 </div>
426
427 <b>
428 <!-- <p>Please see the plugin's Help and Debugging section to troubleshoot common issues.</p> -->
429 </b>
430 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
431 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
432 <?php
433 $url = get_site_url();
434 $url = parse_url($url);
435 $domain = $url['host'];
436
437 $admin_email = get_option('admin_email');
438 ?>
439 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php esc_html_e('Emails Will be Sent to', 'wpbot'); ?></h4>
440 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?> "
441 name="qlcd_wp_chatbot_admin_email"
442 value="<?php echo (get_option('qlcd_wp_chatbot_admin_email') != '' ? esc_attr(get_option('qlcd_wp_chatbot_admin_email')) : esc_attr($admin_email) ) ?>">
443 <label for="disable_wp_chatbot', 'wpbot' ); ?>"><?php esc_html_e('Support and Call Back requests will be sent to this address', 'wpbot'); ?> </label>
444 </div>
445 </div>
446 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
447 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
448 <?php
449 $url = get_site_url();
450 $url = parse_url($url);
451 $domain = $url['host'];
452 $fromEmail = "wordpress@" . $domain;
453 ?>
454 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php esc_html_e('From Email Address', 'wpbot'); ?></h4>
455 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
456 name="qlcd_wp_chatbot_from_email"
457 value="<?php echo (get_option('qlcd_wp_chatbot_from_email') != '' ? esc_attr( get_option('qlcd_wp_chatbot_from_email')) : esc_attr($fromEmail)); ?> ">
458 <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 same. Otherwise, the emails may not be received.', 'wpbot'); ?> </label>
459 </div>
460 </div>
461 </div>
462 </div>
463 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
464 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
465 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
466 <?php esc_html_e('Disable WPBot', 'wpbot'); ?>
467 </h4>
468 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?>">
469 <input value="<?php esc_attr_e('1', 'wpbot'); ?>" id="<?php esc_attr_e( 'disable_wp_chatbot', 'wpbot' ); ?>" type="checkbox"
470 name="disable_wp_chatbot" <?php echo (get_option('disable_wp_chatbot') == 1 ? esc_attr('checked'): ''); ?>>
471 <label for="<?php esc_attr_e('disable_wp_chatbot', 'wpbot' ); ?>">
472 <?php esc_html_e('Disable WPBot to Load', 'wpbot'); ?>
473 </label>
474 </div>
475 </div>
476 </div>
477 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
478 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
479 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
480 <?php esc_html_e('Disable WPbot on Mobile Device', 'wpbot'); ?>
481 </h4>
482 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
483 <input value="<?php esc_attr_e('1', 'wpbot'); ?>" id="<?php esc_attr_e( 'disable_wp_chatbot_on_mobile', 'wpbot' ); ?>" type="checkbox"
484 name="disable_wp_chatbot_on_mobile" <?php echo (get_option('disable_wp_chatbot_on_mobile') == 1 ? esc_attr('checked' ) : ''); ?>>
485 <label for="<?php esc_attr_e('disable_wp_chatbot_on_mobile', 'wpbot' ); ?>">
486 <?php esc_html_e('Disable WpBot to Load on Mobile Device', 'wpbot'); ?>
487 </label>
488 </div>
489 </div>
490 </div>
491
492 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
493 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
494 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
495 <?php esc_html_e('Enable RTL', 'wpbot'); ?>
496 </h4>
497 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
498 <input value="<?php esc_attr_e('1', 'wpbot'); ?>" id="<?php esc_attr_e( 'enable_wp_chatbot_rtl', 'wpbot' ); ?>" type="checkbox"
499 name="enable_wp_chatbot_rtl" <?php echo (get_option('enable_wp_chatbot_rtl') == 1 ? esc_attr('checked' ): ''); ?>>
500 <label for="<?php esc_attr_e( 'enable_wp_chatbot_rtl', 'wpbot' ); ?>">
501 <?php esc_html_e('Enable RTL (Right to Left language) Support for Chat', 'wpbot'); ?>
502 </label>
503 </div>
504 </div>
505 </div>
506 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
507 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
508 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
509 <?php esc_html_e('Show Start Menu After Greetings', 'wpbot'); ?>
510 </h4>
511 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
512 <input value="<?php esc_attr_e('1', 'wpbot'); ?>" id="<?php esc_attr_e( 'show_menu_after_greetings', 'wpbot' ); ?>" type="checkbox"
513 name="show_menu_after_greetings" <?php echo (get_option('show_menu_after_greetings') == 1 ? esc_attr('checked' ): ''); ?>>
514 <label for="<?php esc_html_e('show_menu_after_greetings', 'wpbot' ); ?>">
515 <?php esc_html_e('Show Start Menu After Greetings', 'wpbot'); ?>
516 </label>
517 </div>
518 </div>
519 </div>
520
521 <!-- <div class="<?php // esc_attr_e( 'row', 'wpbot' ); ?> ">
522 <div class="<?php // esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
523 <h4 class="<?php // esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
524 <?php // esc_html_e('WPBot Open Full Screen in Mobile', 'wpbot'); ?>
525 </h4>
526 <div class="<?php // esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
527 <input value="<?php // esc_attr_e('1', 'wpbot'); ?>" id="<?php // esc_attr_e( 'enable_wp_chatbot_mobile_full_screen', 'wpbot' ); ?>" type="checkbox"
528 name="enable_wp_chatbot_mobile_full_screen" <?php // echo (get_option('enable_wp_chatbot_mobile_full_screen') == 1 ? esc_attr('checked' ): ''); ?>>
529 <label for="<?php // esc_attr_e( 'enable_wp_chatbot_mobile_full_screen', 'wpbot' ); ?>">
530 <?php // esc_html_e('Enable WpBot Open Full Screen in Mobile', 'wpbot'); ?>
531 </label>
532 </div>
533 </div>
534 </div> -->
535 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
536 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
537 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php esc_html_e('Bot Response Delay', 'wpbot'); ?> </h4>
538 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
539 <select name="wpbot_preloading_time" id="<?php esc_attr_e( 'wpbot_preloading_time', 'wpbot' ); ?> ">
540 <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>
541 <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>
542 <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>
543 <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>
544 <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>
545 </select>
546 <label for="wpbot_preloading_time', 'wpbot' ); ?> "><?php esc_html_e('Bot Response Delay', 'wpbot'); ?> </label>
547 </div>
548 </div>
549 </div>
550 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
551 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
552 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
553 <?php esc_html_e('Override WPBot Icon\'s Position', 'wpbot'); ?>
554 </h4>
555 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
556 <?php
557 $qcld_wb_chatbot_position_x = get_option('wp_chatbot_position_x');
558 if ((!isset($qcld_wb_chatbot_position_x)) || ($qcld_wb_chatbot_position_x == "")) {
559 $qcld_wb_chatbot_position_x = __("120", "wp_chatbot");
560 }
561 $qcld_wb_chatbot_position_y = get_option('wp_chatbot_position_y');
562 if ((!isset($qcld_wb_chatbot_position_y)) || ($qcld_wb_chatbot_position_y == "")) {
563 $qcld_wb_chatbot_position_y = __("120", "wp_chatbot");
564 }
565 ?>
566 <input type="number" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "
567 name="wp_chatbot_position_x"
568 value="<?php esc_attr_e($qcld_wb_chatbot_position_x, 'wpbot'); ; ?>"
569 placeholder="<?php esc_html_e('From Right In px', 'wpbot'); ?>">
570 <span class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> ">
571 <?php esc_html_e('From Right In px', 'wpbot'); ?>
572 </span>
573 <input type="number" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?>"
574 name="wp_chatbot_position_y"
575 value="<?php esc_attr_e($qcld_wb_chatbot_position_y, 'wpbot'); ; ?>"
576 placeholder="<?php esc_html_e('From Bottom In Px', 'wpbot'); ?> ">
577 <span class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> ">
578 <?php esc_html_e('From Bottom In px', 'wpbot'); ?>
579 </span> </div>
580 </div>
581 <!--.col-sm-12-->
582 </div>
583 <!-- row-->
584
585 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
586 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
587 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><strong>
588 <?php esc_html_e('WPBot', 'wpbot'); ?>
589 </strong>
590 <?php esc_html_e('Loading Control Options', 'wpbot'); ?>
591 </h4>
592 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
593 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
594 <div class="<?php esc_attr_e( 'col-sm-4 text-right', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'qc-opt-title-font', 'wpbot' ); ?> ">
595 <?php esc_html_e('Show on Home Page', 'wpbot'); ?>
596 </span> </div>
597 <div class="<?php esc_attr_e( 'col-sm-8', 'wpbot' ); ?> ">
598 <label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> ">
599 <input id="<?php esc_attr_e( 'wp-chatbot-show-home-page', 'wpbot' ); ?>" type="radio"
600 name="wp_chatbot_show_home_page"
601 value="<?php esc_attr_e( 'on', 'wpbot' ); ?>" <?php echo(get_option('wp_chatbot_show_home_page') == 'on' ? esc_attr('checked' ): ''); ?>>
602 <?php esc_html_e('YES', 'wpbot'); ?>
603 </label>
604 <label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> ">
605 <input id="<?php esc_attr_e( 'wp-chatbot-show-home-page', 'wpbot' ); ?>" type="radio"
606 name="wp_chatbot_show_home_page"
607 value="<?php esc_attr_e( 'off', 'wpbot' ); ?>" <?php echo(get_option('wp_chatbot_show_home_page') == 'off' ? esc_attr('checked' ): ''); ?>>
608 <?php esc_html_e('NO', 'wpbot'); ?>
609 </label>
610 </div>
611 </div>
612 <!-- row-->
613 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
614 <div class="<?php esc_attr_e( 'col-sm-4 text-right', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'qc-opt-title-font', 'wpbot' ); ?> ">
615 <?php esc_html_e('Show on blog posts', 'wpbot'); ?>
616 </span> </div>
617 <div class="<?php esc_attr_e( 'col-sm-8', 'wpbot' ); ?> ">
618 <label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> ">
619 <input class="<?php esc_attr_e( 'wp-chatbot-show-posts', 'wpbot'); ?>" type="radio"
620 name="wp_chatbot_show_posts"
621 value="<?php esc_attr_e( 'on', 'wpbot' ); ?>" <?php echo(get_option('wp_chatbot_show_posts') == 'on' ? esc_attr('checked' ): ''); ?>>
622 <?php esc_html_e('YES', 'wpbot'); ?>
623 </label>
624 <label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> ">
625 <input class="<?php esc_attr_e( 'wp-chatbot-show-posts', 'wpbot'); ?>" type="radio"
626 name="wp_chatbot_show_posts"
627 value="<?php esc_attr_e( 'off', 'wpbot' ); ?>" <?php echo(get_option('wp_chatbot_show_posts') == 'off' ? esc_attr('checked' ): ''); ?>>
628 <?php esc_html_e('NO', 'wpbot'); ?>
629 </label>
630 </div>
631 </div>
632 <!-- row-->
633 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
634 <div class="<?php esc_attr_e( 'col-md-4 text-right', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'qc-opt-title-font', 'wpbot' ); ?> ">
635 <?php esc_html_e('Show on pages', 'wpbot'); ?>
636 </span> </div>
637 <div class="<?php esc_attr_e( 'col-md-8', 'wpbot' ); ?> ">
638 <label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> ">
639 <input class="<?php esc_attr_e( 'wp-chatbot-show-pages ', 'wpbot'); ?>" type="radio"
640 name="wp_chatbot_show_pages"
641 value="<?php esc_attr_e( 'on', 'wpbot' ); ?>" <?php echo(get_option('wp_chatbot_show_pages') == 'on' ? esc_attr('checked' ): ''); ?>>
642 <?php esc_html_e('All Pages', 'wpbot'); ?>
643 </label>
644 <label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> ">
645 <input class="<?php esc_attr_e( 'wp-chatbot-show-pages', 'wpbot'); ?>" type="radio"
646 name="wp_chatbot_show_pages"
647 value="<?php esc_attr_e( 'off', 'wpbot' ); ?>" <?php echo(get_option('wp_chatbot_show_pages') == 'off' ? esc_attr('checked' ): ''); ?>>
648 <?php esc_html_e('Selected Pages Only ', 'wpbot'); ?>
649 </label>
650 <div id="<?php esc_attr_e( 'wp-chatbot-show-pages-list', 'wpbot' ); ?> ">
651 <ul class="<?php esc_attr_e( 'checkbox-list', 'wpbot' ); ?> ">
652 <?php
653 $wp_chatbot_pages = get_pages();
654 $wp_chatbot_select_pages = maybe_unserialize(get_option('wp_chatbot_show_pages_list'));
655 foreach ($wp_chatbot_pages as $wp_chatbot_page) {
656 ?>
657 <li>
658 <input id="<?php esc_attr_e( 'wp_chatbot_show_page_'. $wp_chatbot_page->ID, 'wpbot' ); ?>"
659 type="checkbox"
660 name="wp_chatbot_show_pages_list[]"
661 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) {
662 echo esc_attr('checked');
663 } ?> >
664 <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>
665 </li>
666 <?php } ?>
667 </ul>
668 </div>
669 </div>
670 </div>
671 <!--row-->
672 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
673 <div class="<?php esc_attr_e( 'col-sm-4 text-right', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'qc-opt-title-font', 'wpbot' ); ?> ">
674 <?php _e('Exclude from Custom Post', 'wpbot'); ?>
675 </span></div>
676 <div class="<?php esc_attr_e( 'col-sm-8', 'wpbot' ); ?> ">
677 <div id="<?php esc_attr_e( 'wp-chatbot-exclude-post-list', 'wpbot' ); ?> ">
678 <ul class="<?php esc_attr_e( 'checkbox-list', 'wpbot' ); ?> ">
679 <?php
680 $get_cpt_args = array(
681 'public' => true,
682 '_builtin' => false
683 );
684
685 $post_types = get_post_types( $get_cpt_args, 'object' );
686 $wp_chatbot_exclude_post_list = maybe_unserialize(get_option('wp_chatbot_exclude_post_list'));
687
688 foreach ($post_types as $post_type) {
689 ?>
690 <li>
691 <input
692 id="<?php echo esc_attr( 'wp_chatbot_exclude_post_'. $post_type->name, 'wpbot' ); ?>"
693 type="checkbox"
694 name="wp_chatbot_exclude_post_list[]"
695 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) {
696 echo esc_attr('checked');
697 } ?> >
698 <label
699 for="wp_chatbot_exclude_post_<?php echo esc_attr($post_type->name); ?>"> <?php esc_html_e($post_type->name, 'wpbot'); ?></label>
700 </li>
701 <?php } ?>
702 </ul>
703 </div>
704 </div>
705 </div>
706 </div>
707 <!-- cxsc-settings-blocks-->
708 </div>
709 <!-- col-xs-12-->
710 </div>
711 <!-- row-->
712
713 </div>
714 <!-- top-section-->
715 </section>
716 <section id="<?php esc_attr_e( 'section-flip-5', 'wpbot' ); ?>">
717 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic', 'wpbot' ); ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
718 <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'); ?>
719 </div> -->
720 <div class="<?php esc_attr_e( 'wp-chatbot-language-center-summmery', 'wpbot' ); ?> "> </div>
721 <ul class="<?php esc_attr_e( 'nav nav-tabs', 'wpbot' ); ?> ">
722 <li class="<?php esc_attr_e( 'active', 'wpbot' ); ?> "><a data-toggle="tab" href="<?php esc_attr_e( '#wp-chatbot-lng-general', 'wpbot' ); ?> ">
723 <?php esc_html_e('General', 'wpbot'); ?>
724 </a></li>
725 <li><a data-toggle="tab" href="<?php esc_attr_e( '#wp-chatbot-lng-support', 'wpbot' ); ?> ">
726 <?php esc_html_e('FAQ', 'wpbot'); ?>
727 </a></li>
728 <li><a data-toggle="tab" href="<?php esc_attr_e( '#wp-chatbot-lng-reserve-keyword', 'wpbot' ); ?> ">
729 <?php esc_html_e('ChatBot Keywords', 'wpbot'); ?>
730 </a></li>
731 </ul>
732 <div class="<?php esc_attr_e( 'tab-content', 'wpbot' ); ?> ">
733 <div id="<?php esc_attr_e( 'wp-chatbot-lng-general', 'wpbot' ); ?>" class="<?php esc_attr_e( 'tab-pane fade in active', 'wpbot' ); ?> ">
734 <div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> ">
735 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
736 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?>" id="<?php esc_attr_e( 'wp-chatbot-language-section', 'wpbot' ); ?>">
737 <p style="color: red"><?php esc_html_e('You can change ALL the texts used by the ChatBot to YOUR language here.', 'wpbot' ); ?></p>
738 <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>
739 <p><?php esc_html_e('You could use &lt;br&gt; tag for line break.', 'wpbot' ); ?></p>
740 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
741 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
742 <?php esc_html_e('Your Company or Website Name', 'wpbot'); ?>
743 </h4>
744 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
745 name="qlcd_wp_chatbot_host"
746 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_host') != '' ? get_option('qlcd_wp_chatbot_host') : 'Our Store') ); ?> ">
747 </div>
748 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
749 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
750 <?php esc_html_e('Agent name', 'wpbot'); ?>
751 </h4>
752 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
753 name="qlcd_wp_chatbot_agent"
754 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_agent') != '' ? get_option('qlcd_wp_chatbot_agent') : 'Carrie')); ?>">
755 </div>
756 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
757 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
758 <?php esc_html_e('User demo name', 'wpbot'); ?>
759 </h4>
760 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
761 name="qlcd_wp_chatbot_shopper_demo_name"
762 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_shopper_demo_name') != '' ? get_option('qlcd_wp_chatbot_shopper_demo_name') : 'Amigo')); ?> ">
763 </div>
764 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
765 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
766 <?php esc_html_e('YES', 'wpbot'); ?>
767 </h4>
768 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
769 name="qlcd_wp_chatbot_yes"
770 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_yes') != '' ? get_option('qlcd_wp_chatbot_yes') : 'YES')); ?>">
771 </div>
772 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
773 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
774 <?php esc_html_e('NO', 'wpbot'); ?>
775 </h4>
776 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
777 name="qlcd_wp_chatbot_no"
778 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_no') != '' ? get_option('qlcd_wp_chatbot_no') : 'NO')); ?>">
779 </div>
780 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
781 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
782 <?php esc_html_e('OR', 'wpbot'); ?>
783 </h4>
784 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
785 name="qlcd_wp_chatbot_or"
786 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_or') != '' ? get_option('qlcd_wp_chatbot_or') : 'OR')); ?>">
787 </div>
788 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
789 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
790 <?php esc_html_e('Sorry', 'wpbot'); ?>
791 </h4>
792 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font ', 'wpbot' ); ?>"
793 name="qlcd_wp_chatbot_sorry"
794 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sorry') != '' ? get_option('qlcd_wp_chatbot_sorry') : 'Sorry')); ?>">
795 </div>
796 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
797 <?php
798 $agent_join_options = maybe_unserialize(get_option('qlcd_wp_chatbot_agent_join'));
799 $agent_join_option = 'qlcd_wp_chatbot_agent_join';
800 $agent_join_text = __('has joined the conversation', 'wpbot');
801 $this->qcld_wb_chatbot_dynamic_multi_option($agent_join_options, $agent_join_option, $agent_join_text);
802 ?>
803 </div>
804 </div>
805 <!--col-xs-12-->
806 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?>" id="<?php esc_attr_e( 'wp-chatbot-language-section', 'wpbot' ); ?> ">
807 <h4 class="<?php esc_attr_e( 'text-success', 'wpbot' ); ?> ">
808 <?php esc_html_e(' Message setting for Greetings: ', 'wpbot'); ?>
809 </h4>
810 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
811 <?php
812 $welcome_to_options = maybe_unserialize(get_option('qlcd_wp_chatbot_welcome'));
813 $welcome_to_option = 'qlcd_wp_chatbot_welcome';
814 $welcome_to_text = esc_html('Welcome to');
815 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_to_options, $welcome_to_option, $welcome_to_text);
816 ?>
817 </div>
818 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
819 <?php
820 $welcome_back_options = maybe_unserialize(get_option('qlcd_wp_chatbot_welcome_back'));
821 $welcome_back_option = 'qlcd_wp_chatbot_welcome_back';
822 $welcome_back_text = esc_html('Welcome back');
823 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_back_options, $welcome_back_option, $welcome_back_text);
824 ?>
825 </div>
826 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
827 <?php
828 $back_to_start_options = maybe_unserialize(get_option('qlcd_wp_chatbot_back_to_start'));
829 $back_to_start_option = 'qlcd_wp_chatbot_back_to_start';
830 $back_to_start_text = esc_html('Back to Start');
831 $this->qcld_wb_chatbot_dynamic_multi_option($back_to_start_options, $back_to_start_option, $back_to_start_text);
832 ?>
833 </div>
834 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
835 <?php
836 $hi_there_options = maybe_unserialize(get_option('qlcd_wp_chatbot_hi_there'));
837 $hi_there_option = 'qlcd_wp_chatbot_hi_there';
838 $hi_there_text = esc_html('Hi There!');
839 $this->qcld_wb_chatbot_dynamic_multi_option($hi_there_options, $hi_there_option, $hi_there_text);
840 ?>
841 </div>
842 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
843 <?php
844 $hello_options = maybe_unserialize(get_option('qlcd_wp_chatbot_hello'));
845 $hello_option = 'qlcd_wp_chatbot_hello';
846 $hello_text = esc_html('Hello');
847 $this->qcld_wb_chatbot_dynamic_multi_option($hello_options, $hello_option, $hello_text);
848 ?>
849 </div>
850 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
851 <?php
852 $asking_name_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_name'));
853 $asking_name_option = 'qlcd_wp_chatbot_asking_name';
854 $asking_name_text = esc_html('May I know your name?');
855 $this->qcld_wb_chatbot_dynamic_multi_option($asking_name_options, $asking_name_option, $asking_name_text);
856 ?>
857 </div>
858 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
859 <?php
860 $i_am_options = maybe_unserialize(get_option('qlcd_wp_chatbot_i_am'));
861 $i_am_option = 'qlcd_wp_chatbot_i_am';
862 $i_am_text = esc_html('I am');
863 $this->qcld_wb_chatbot_dynamic_multi_option($i_am_options, $i_am_option, $i_am_text);
864 ?>
865 </div>
866 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
867 <?php
868 $name_greeting_options = maybe_unserialize(get_option('qlcd_wp_chatbot_name_greeting'));
869 $name_greeting_option = 'qlcd_wp_chatbot_name_greeting';
870 $name_greeting_text = esc_html('Nice to meet you');
871 $this->qcld_wb_chatbot_dynamic_multi_option($name_greeting_options, $name_greeting_option, $name_greeting_text);
872 ?>
873 </div>
874 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
875 <?php
876 $wildcard_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_wildcard_msg'));
877 $wildcard_msg_option = 'qlcd_wp_chatbot_wildcard_msg';
878 $wildcard_msg_text = esc_html('I am here to find what you need. What are you looking for?');
879 $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_msg_options, $wildcard_msg_option, $wildcard_msg_text);
880 ?>
881 </div>
882 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
883 <?php
884 $empty_filter_msgs = maybe_unserialize(get_option('qlcd_wp_chatbot_empty_filter_msg'));
885 $empty_filter_msg = 'qlcd_wp_chatbot_empty_filter_msg';
886 $empty_filter_msg_text = esc_html('Sorry, I did not understand that');
887 $this->qcld_wb_chatbot_dynamic_multi_option($empty_filter_msgs, $empty_filter_msg, $empty_filter_msg_text);
888 ?>
889 </div>
890 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
891 <?php
892 $qlcd_wp_chatbot_did_you_mean = maybe_unserialize(get_option('qlcd_wp_chatbot_did_you_mean'));
893 $qlcd_wp_chatbot_did_you_means = 'qlcd_wp_chatbot_did_you_mean';
894 $wp_chatbot_no_result_text = esc_html('Did you mean?');
895 $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_did_you_mean, $qlcd_wp_chatbot_did_you_means, $wp_chatbot_no_result_text);
896 ?>
897 </div>
898 <h4 class="<?php esc_attr_e( 'text-success', 'wpbot' ); ?> ">
899 <?php esc_html_e('Message setting for Editor Box ', 'wpbot'); ?>
900 </h4>
901 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
902 <?php
903 $is_typing_options = maybe_unserialize(get_option('qlcd_wp_chatbot_is_typing'));
904 $is_typing_option = 'qlcd_wp_chatbot_is_typing';
905 $is_typing_text = esc_html('is typing...');
906 $this->qcld_wb_chatbot_dynamic_multi_option($is_typing_options, $is_typing_option, $is_typing_text);
907 ?>
908 </div>
909 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
910 <?php
911 $send_a_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_send_a_msg'));
912 $send_a_msg_option = 'qlcd_wp_chatbot_send_a_msg';
913 $send_a_msg_text = esc_html('Send a message');
914 $this->qcld_wb_chatbot_dynamic_multi_option($send_a_msg_options, $send_a_msg_option, $send_a_msg_text);
915 ?>
916 </div>
917 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
918 <?php
919 $choose_option_options = maybe_unserialize(get_option('qlcd_wp_chatbot_choose_option'));
920 $choose_option_option = 'qlcd_wp_chatbot_choose_option';
921 $choose_option_text = esc_html('Choose an option');
922 $this->qcld_wb_chatbot_dynamic_multi_option($choose_option_options, $choose_option_option, $choose_option_text);
923 ?>
924 </div>
925 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
926 <?php
927 $asking_email_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_email'));
928 $asking_email_option = 'qlcd_wp_chatbot_asking_email';
929 $asking_email_text = esc_html('Please provide your email address');
930 $this->qcld_wb_chatbot_dynamic_multi_option($asking_email_options, $asking_email_option, $asking_email_text);
931 ?>
932 </div>
933 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
934 <?php
935 $invalid_email_options = maybe_unserialize(get_option('qlcd_wp_chatbot_invalid_email'));
936 $invalid_email_option = 'qlcd_wp_chatbot_invalid_email';
937 $invalid_email_text = esc_html('Sorry, Email address is not valid! Please provide a valid email.');
938 $this->qcld_wb_chatbot_dynamic_multi_option($invalid_email_options, $invalid_email_option, $invalid_email_text);
939 ?>
940 </div>
941 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
942 <?php
943 $asking_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_msg'));
944 $asking_msg_option = 'qlcd_wp_chatbot_asking_msg';
945 $asking_msg_text = esc_html('Thank you for email address. Please write your message now.');
946 $this->qcld_wb_chatbot_dynamic_multi_option($asking_msg_options, $asking_msg_option, $asking_msg_text);
947 ?>
948 </div>
949 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
950 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
951 <?php esc_html_e('WPBot Support Mail Subject', 'wpbot'); ?>
952 </h4>
953 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
954 name="qlcd_wp_chatbot_email_sub"
955 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_email_sub') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_sub')) : 'Support Email Subject') ); ?>">
956 </div>
957 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
958 <?php
959 $support_option_again_options = maybe_unserialize(get_option('qlcd_wp_chatbot_support_option_again'));
960 $support_option_again_option = 'qlcd_wp_chatbot_support_option_again';
961 $support_option_again_text = esc_html('You may choose option from below.');
962 $this->qcld_wb_chatbot_dynamic_multi_option($support_option_again_options, $support_option_again_option, $support_option_again_text);
963 ?>
964 </div>
965 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
966 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
967 <?php esc_html_e('Your email was sent successfully.Thanks!', 'wpbot'); ?>
968 </h4>
969 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
970 name="qlcd_wp_chatbot_email_sent"
971 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!')); ?> ">
972 </div>
973 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
974 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
975 <?php esc_html_e('Sorry! I could not send your mail! Please contact the webmaster.', 'wpbot'); ?>
976 </h4>
977 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font ', 'wpbot' ); ?>"
978 name="qlcd_wp_chatbot_email_fail"
979 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')); ?> ">
980 </div>
981 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
982 <?php
983 $asking_phone_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_phone'));
984 $asking_phone_option = 'qlcd_wp_chatbot_asking_phone';
985 $asking_phone_text = esc_html('Please provide your Phone number');
986 $this->qcld_wb_chatbot_dynamic_multi_option($asking_phone_options, $asking_phone_option, $asking_phone_text);
987 ?>
988 </div>
989 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
990 <?php
991 $thanks_phone_options = maybe_unserialize(get_option('qlcd_wp_chatbot_thank_for_phone'));
992 $thanks_phone_option = 'qlcd_wp_chatbot_thank_for_phone';
993 $thanks_phone_text = esc_html('Thank you for Phone number');
994 $this->qcld_wb_chatbot_dynamic_multi_option($thanks_phone_options, $thanks_phone_option, $thanks_phone_text);
995 ?>
996 </div>
997 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
998 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
999 <?php esc_html_e('Thanks for your phone number. We will call you ASAP!', 'wpbot'); ?>
1000 </h4>
1001 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
1002 name="qlcd_wp_chatbot_phone_sent"
1003 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!')); ?> ">
1004 </div>
1005 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1006 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1007 <?php esc_html_e('Sorry! I could not collect phone number! Please contact the webmaster.', 'wpbot'); ?>
1008 </h4>
1009 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
1010 name="qlcd_wp_chatbot_phone_fail"
1011 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!')); ?> ">
1012 </div>
1013
1014 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1015 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1016 <?php esc_html_e('Please enter your keyword for searching', 'wpbot'); ?>
1017 </h4>
1018 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
1019 name="qlcd_wp_chatbot_asking_search_keyword"
1020 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')); ?> ">
1021 </div>
1022 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1023 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1024 <?php esc_html_e('We have found these results', 'wpbot'); ?>
1025 </h4>
1026 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
1027 name="qlcd_wp_chatbot_found_result"
1028 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')); ?> ">
1029 </div>
1030 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1031 <?php
1032 $qlcd_wp_chatbot_product_fails = maybe_unserialize(get_option('qlcd_wp_chatbot_product_fail'));
1033 $qlcd_wp_chatbot_product_fail = 'qlcd_wp_chatbot_product_fail';
1034 $fail_text = esc_html('Sorry, I found nothing');
1035 $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_product_fails, $qlcd_wp_chatbot_product_fail, $fail_text);
1036 ?>
1037 </div>
1038 </div>
1039 </div>
1040 </div>
1041 </div>
1042 <div id="<?php esc_attr_e( 'wp-chatbot-lng-support', 'wpbot' ); ?>" class="<?php esc_attr_e( 'tab-pane fade', 'wpbot' ); ?> ">
1043 <div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> ">
1044 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1045 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?>" id="<?php esc_attr_e( 'wp-chatbot-language-section', 'wpbot' ); ?> ">
1046 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1047 <?php
1048 $support_welcome_options = maybe_unserialize(get_option('qlcd_wp_chatbot_support_welcome'));
1049 $support_welcome_option = 'qlcd_wp_chatbot_support_welcome';
1050 $support_welcome_text = esc_html('Welcome to FAQ Section');
1051 $this->qcld_wb_chatbot_dynamic_multi_option($support_welcome_options, $support_welcome_option, $support_welcome_text);
1052 ?>
1053 </div>
1054
1055 <!--<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1056 <?php
1057 $feedback_label_options = maybe_unserialize(get_option('qlcd_wp_chatbot_feedback_label'));
1058 $feedback_label_option = 'qlcd_wp_chatbot_feedback_label';
1059 $feedback_label_text = esc_html('Send Feedback!');
1060 $this->qcld_wb_chatbot_dynamic_multi_option($feedback_label_options, $feedback_label_option, $feedback_label_text);
1061 ?>
1062 </div>-->
1063
1064 </div>
1065 </div>
1066 </div>
1067 </div>
1068 <div id="<?php esc_attr_e( 'wp-chatbot-lng-reserve-keyword', 'wpbot' ); ?>" class="<?php esc_attr_e( 'tab-pane fade', 'wpbot' ); ?> ">
1069 <div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> ">
1070 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1071 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?>" id="<?php esc_attr_e( 'wp-chatbot-language-section', 'wpbot' ); ?> ">
1072 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1073 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1074 <?php esc_html_e('Start Keyword', 'wpbot'); ?>
1075 </h4>
1076 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
1077 name="qlcd_wp_chatbot_sys_key_help"
1078 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help'): 'start')) ; ?> ">
1079 </div>
1080 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1081 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><strong>
1082 <?php esc_html_e('FAQ', 'wpbot'); ?>
1083 </strong>
1084 <?php esc_html_e('Keyword', 'wpbot'); ?>
1085 </h4>
1086 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
1087 name="qlcd_wp_chatbot_sys_key_support"
1088 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq')); ?> ">
1089 </div>
1090 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1091 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><strong>
1092 <?php esc_html_e('Converstion History Clear', 'wpbot'); ?>
1093 </strong>
1094 <?php esc_html_e('Keyword', 'wpbot'); ?>
1095 </h4>
1096 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
1097 name="qlcd_wp_chatbot_sys_key_reset"
1098 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset')); ?> ">
1099 </div>
1100 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1101 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><strong>
1102 <?php esc_html_e('eMail', 'wpbot'); ?>
1103 </strong>
1104 <?php esc_html_e('Keyword to Send eMail', 'wpbot'); ?>
1105 </h4>
1106 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
1107 name="qlcd_wp_chatbot_sys_key_email"
1108 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_email') != '' ? get_option('qlcd_wp_chatbot_sys_key_email'): 'email')); ?>">
1109 </div>
1110 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1111 <?php
1112 $help_welcome_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_help_welcome')));
1113 $help_welcome_option = 'qlcd_wp_chatbot_help_welcome';
1114 $help_welcome_text = esc_html('Welcome to Help Section');
1115 $this->qcld_wb_chatbot_dynamic_multi_option($help_welcome_options, $help_welcome_option, $help_welcome_text);
1116 ?>
1117 </div>
1118 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1119 <?php
1120 $help_msg_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_help_msg')));
1121 $help_msg_option = 'qlcd_wp_chatbot_help_msg';
1122 $help_msg_text = '<h3>Type and Hit Enter</h3> 1. <b>start</b> Get back to the main menu. <br> 2. <b>faq</b> for FAQ. <br> 3. <b>eMail </b> to Send eMail <br> 4. <b>reset</b> To clear chat history and start from the beginning.';
1123 $this->qcld_wb_chatbot_dynamic_multi_option($help_msg_options, $help_msg_option, $help_msg_text);
1124 ?>
1125 </div>
1126 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1127 <?php
1128 $reset_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_reset')));
1129 $reset_option = 'qlcd_wp_chatbot_reset';
1130 $reset_text = esc_html('Do you want to clear our chat history and start over?' );
1131 $this->qcld_wb_chatbot_dynamic_multi_option($reset_options, $reset_option, $reset_text);
1132 ?>
1133 </div>
1134 </div>
1135 <!-- col-xs-12-->
1136 </div>
1137 <!-- row-->
1138 </div>
1139 <!-- top-section-->
1140 </div>
1141 </div>
1142 <!-- tab-content-->
1143 </section>
1144 <section id="<?php esc_attr_e( 'section-flip-3', 'wpbot' ); ?> ">
1145 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic', 'wpbot' ); ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
1146 <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'); ?>
1147 </div> -->
1148 <ul class="<?php esc_attr_e( 'nav nav-tabs', 'wpbot' ); ?> ">
1149 <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>
1150 <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>
1151 </ul>
1152 <div class="<?php esc_attr_e( 'tab-content', 'wpbot' ); ?> ">
1153 <div id="<?php esc_attr_e( 'wp-chatbot-icon-theme-settings', 'wpbot' ); ?>" class="<?php esc_attr_e( 'tab-pane fade in active', 'wpbot' ); ?> ">
1154 <div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> ">
1155 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1156 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
1157
1158 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1159 <?php esc_html_e('WPBot Icon', 'wpbot'); ?>
1160 </h4>
1161 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1162 <ul class="<?php esc_attr_e( 'radio-list', 'wpbot' ); ?> ">
1163 <li>
1164 <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"
1165 alt="">
1166 <input id="<?php esc_attr_e( 'wp_chatbot_icon_1', 'wpbot' ); ?>" type="radio"
1167 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-1.png' ? esc_attr('checked' ): ''); ?>
1168 value="<?php echo esc_attr('icon-1.png'); ?>">
1169 <?php esc_html_e('Icon - 1', 'wpbot'); ?>
1170 </label>
1171 </li>
1172 <li>
1173 <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"
1174 alt="">
1175 <input id="<?php esc_attr_e( 'wp_chatbot_icon_2', 'wpbot' ); ?>" type="radio"
1176 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-2.png' ? esc_attr('checked' ): ''); ?>
1177 value="<?php echo esc_attr('icon-2.png'); ?>">
1178 <?php esc_html_e('Icon - 2', 'wpbot'); ?>
1179 </label>
1180 </li>
1181 <li>
1182 <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"
1183 alt="">
1184 <input id="<?php esc_attr_e( 'wp_chatbot_icon_3', 'wpbot' ); ?>" type="radio"
1185 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-3.png' ? esc_attr('checked' ): ''); ?>
1186 value="<?php echo esc_attr('icon-3.png'); ?>">
1187 <?php esc_html_e('Icon - 3', 'wpbot'); ?>
1188 </label>
1189 </li>
1190 <li>
1191 <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"
1192 alt="' ">
1193 <input id="<?php esc_attr_e( 'wp_chatbot_icon_4', 'wpbot' ); ?>" type="radio"
1194 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-4.png' ? esc_attr('checked'): ''); ?>
1195 value="<?php echo esc_attr('icon-4.png'); ?>">
1196 <?php esc_html_e('Icon - 4', 'wpbot'); ?>
1197 </label>
1198 </li>
1199 <li>
1200 <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"
1201 alt="">
1202 <input id="<?php esc_attr_e( 'wp_chatbot_icon_5', 'wpbot' ); ?>" type="radio"
1203 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-5.png' ? esc_attr('checked' ): ''); ?>
1204 value="<?php echo esc_attr('icon-5.png'); ?>">
1205 <?php esc_html_e('Icon - 5', 'wpbot'); ?>
1206 </label>
1207 </li>
1208 <li>
1209 <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"
1210 alt=" ">
1211 <input id="<?php esc_attr_e( 'wp_chatbot_icon_6', 'wpbot' ); ?>" type="radio"
1212 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-6.png' ? esc_attr('checked' ): ''); ?>
1213 value="<?php echo esc_attr('icon-6.png'); ?>">
1214 <?php esc_html_e('Icon - 6', 'wpbot'); ?>
1215 </label>
1216 </li>
1217 <li>
1218 <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"
1219 alt=" ">
1220 <input id="<?php esc_attr_e( 'wp_chatbot_icon_7', 'wpbot' ); ?>" type="radio"
1221 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-7.png' ? esc_attr('checked' ): ''); ?>
1222 value="<?php echo esc_attr('icon-7.png'); ?>">
1223 <?php esc_html_e('Icon - 7', 'wpbot'); ?>
1224 </label>
1225 </li>
1226 <li>
1227 <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"
1228 alt="">
1229 <input id="<?php esc_attr_e( 'wp_chatbot_icon_8', 'wpbot' ); ?>" type="radio"
1230 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-8.png' ? esc_attr('checked' ): ''); ?>
1231 value="<?php echo esc_attr('icon-8.png'); ?>">
1232 <?php esc_html_e('Icon - 8', 'wpbot'); ?>
1233 </label>
1234 </li>
1235 <li>
1236 <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"
1237 alt=" ">
1238 <input id="<?php esc_attr_e( 'wp_chatbot_icon_9', 'wpbot' ); ?>" type="radio"
1239 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-9.png' ? esc_attr('checked' ): ''); ?>
1240 value="<?php echo esc_attr('icon-9.png'); ?>">
1241 <?php esc_html_e('Icon - 9', 'wpbot'); ?>
1242 </label>
1243 </li>
1244 <li>
1245 <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"
1246 alt=" ">
1247 <input id="<?php esc_attr_e( 'wp_chatbot_icon_10', 'wpbot' ); ?>" type="radio"
1248 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-10.png' ? esc_attr('checked' ): ''); ?>
1249 value="<?php echo esc_attr('icon-10.png'); ?>">
1250 <?php esc_html_e('Icon - 10', 'wpbot'); ?>
1251 </label>
1252 </li>
1253 <li>
1254 <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"
1255 alt="">
1256 <input id="<?php esc_attr_e( 'wp_chatbot_icon_11', 'wpbot' ); ?>" type="radio"
1257 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-11.png' ? esc_attr('checked' ): ''); ?>
1258 value="<?php echo esc_attr('icon-11.png'); ?>">
1259 <?php esc_html_e('Icon - 11', 'wpbot'); ?>
1260 </label>
1261 </li>
1262 <li>
1263 <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"
1264 alt="">
1265 <input id="<?php esc_attr_e( 'wp_chatbot_icon_12', 'wpbot' ); ?>" type="radio"
1266 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-12.png' ? esc_attr('checked' ): ''); ?>
1267 value="<?php echo esc_attr('icon-12.png'); ?>">
1268 <?php esc_html_e('Icon - 12', 'wpbot'); ?>
1269 </label>
1270 </li>
1271 <li>
1272 <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="">
1273 <input id="<?php esc_attr_e( 'wp_chatbot_icon_13', 'wpbot' ); ?>" type="radio"
1274 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-13.png' ? esc_attr('checked' ): ''); ?>
1275 value="<?php echo esc_attr('icon-13.png'); ?>">
1276 <?php esc_html_e('Icon - 13', 'wpbot'); ?>
1277 </label>
1278 </li>
1279 <li>
1280 <?php
1281 if (get_option('wp_chatbot_custom_icon_path') != "") {
1282 $wp_chatbot_custom_icon_path = get_option('wp_chatbot_custom_icon_path');
1283 } else {
1284 $wp_chatbot_custom_icon_path = esc_url(QCLD_wpCHATBOT_IMG_URL) . 'custom.png';
1285 }
1286 ?>
1287 <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' ); ?>"
1288 src="<?php echo esc_url($wp_chatbot_custom_icon_path); ?>" alt=" ">
1289 <input id="<?php esc_attr_e( 'wp_chatbot_custom_icon_input', 'wpbot' ); ?>" type="radio"
1290 name="wp_chatbot_icon"
1291 value="<?php echo esc_attr('custom.png' ); ?>" <?php echo(get_option('wp_chatbot_icon') == 'custom.png' ? esc_attr('checked' ): ''); ?>>
1292 <?php esc_html_e('Custom Icon', 'wpbot'); ?>
1293 </label>
1294 </li>
1295 </ul>
1296 </div>
1297 <!-- cxsc-settings-blocks-->
1298
1299 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1300 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?> ">
1301
1302
1303 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1304 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1305 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1306 <?php _e('WPBot Icon Background Color.', 'wpbot'); ?>
1307 </h4>
1308 <input id="<?php esc_attr_e( 'wp_chatbot_floatingiconbg_color', 'wpbot' ); ?>" type="text"
1309 name="wp_chatbot_floatingiconbg_color"
1310 value="<?php echo esc_attr((get_option('wp_chatbot_floatingiconbg_color') != '' ? get_option('wp_chatbot_floatingiconbg_color'): '#fff') ); ?>"/>
1311 </div>
1312 </div>
1313
1314 </div>
1315
1316 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?> ">
1317
1318 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1319 <?php esc_html_e(' Upload custom Icon ', 'wpbot'); ?>
1320 </h4>
1321 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1322 <input type="hidden" name="wp_chatbot_custom_icon_path"
1323 id="<?php esc_attr_e( 'wp_chatbot_custom_icon_path', 'wpbot' ); ?>"
1324 value="<?php esc_attr_e( $wp_chatbot_custom_icon_path, 'wpbot' ); ?>"/>
1325 <button type="button" class="<?php esc_attr_e( 'wp_chatbot_custom_icon_button button', 'wpbot' ); ?> ">
1326 <?php esc_html_e('Upload Icon', 'wpbot'); ?>
1327 </button>
1328 </div>
1329
1330 </div>
1331
1332
1333
1334
1335 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
1336 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1337 <?php esc_html_e(' WPBot Agent Image', 'wpbot'); ?>
1338 </h4>
1339 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1340 <ul class="<?php esc_attr_e( 'radio-list', 'wpbot' ); ?> ">
1341 <li>
1342 <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"
1343 alt="', 'wpbot' ); ?> ">
1344 <input id="<?php esc_attr_e( 'wp_chatbot_agent_image_def', 'wpbot' ); ?>" type="radio"
1345 name="wp_chatbot_agent_image" <?php echo(get_option('wp_chatbot_agent_image') == 'agent-0.png' ? esc_attr('checked' ): ''); ?>
1346 value="<?php esc_attr_e('agent-0.png', 'wpbot' ); ?> ">
1347 <?php esc_html_e('Default Agent', 'wpbot'); ?>
1348 </label>
1349 </li>
1350 <li>
1351 <?php
1352 if (get_option('wp_chatbot_custom_agent_path') != "") {
1353 $wp_chatbot_custom_agent_path = get_option('wp_chatbot_custom_agent_path');
1354 } else {
1355 $wp_chatbot_custom_agent_path = esc_url(QCLD_wpCHATBOT_IMG_URL) . 'custom-agent.png';
1356 }
1357 ?>
1358 <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' ); ?>"
1359 src="<?php echo esc_url($wp_chatbot_custom_agent_path); ?>"
1360 alt="Agent', 'wpbot' ); ?> ">
1361 <input type="radio" name="wp_chatbot_agent_image"
1362 id="<?php esc_attr_e( 'wp_chatbot_agent_image_custom', 'wpbot' ); ?>"
1363 value="<?php esc_attr_e('custom-agent.png', 'wpbot' ); ?>" <?php echo(get_option('wp_chatbot_agent_image') == 'custom-agent.png' ? esc_attr('checked' ): ''); ?>>
1364 <?php esc_html_e('Custom Agent', 'wpbot'); ?></label>
1365 </li>
1366 </ul>
1367 </div>
1368 <!-- cxsc-settings-blocks-->
1369 </div>
1370 </div>
1371 </div>
1372 </div>
1373 </div>
1374 <div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> ">
1375 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1376 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
1377 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1378 <?php esc_html_e('Custom Agent Icon', 'wpbot'); ?>
1379 </h4>
1380 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1381 <input type="hidden" name="wp_chatbot_custom_agent_path"
1382 id="<?php esc_attr_e( 'wp_chatbot_custom_agent_path', 'wpbot' ); ?>"
1383 value="<?php esc_attr_e( $wp_chatbot_custom_agent_path, 'wpbot' ); ?>"/>
1384 <button type="button" class="<?php esc_attr_e( 'wp_chatbot_custom_agent_button button', 'wpbot' ); ?> ">
1385 <?php esc_html_e('Upload Agent Icon', 'wpbot'); ?>
1386 </button>
1387 </div>
1388 </div>
1389 </div>
1390 </div>
1391 <div id="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> ">
1392 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1393 <div class="<?php esc_attr_e( 'col-sm-12', 'wpbot' ); ?> ">
1394 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1395 <?php esc_html_e('WPBot Themes', 'wpbot'); ?>
1396 </h4>
1397 </div>
1398 </div>
1399 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1400 <div class="<?php esc_attr_e( 'col-sm-3', 'wpbot' ); ?> ">
1401 <label for="<?php esc_attr_e( 'qcld_wb_chatbot_theme_0', 'wpbot' ); ?>"> <img class="<?php esc_attr_e( 'thumbnail theme_prev', 'wpbot' ); ?>"
1402 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/template-00.JPG"
1403 alt="Theme Basic', 'wpbot' ); ?> ">
1404 <input id="<?php esc_attr_e( 'qcld_wb_chatbot_theme_0', 'wpbot' ); ?>" type="radio"
1405 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-00' ? esc_attr('checked' ): ''); ?>
1406 value="<?php esc_attr_e( 'template-00', 'wpbot' ); ?>">
1407 <?php esc_html_e('Theme Basic', 'wpbot'); ?>
1408 </label>
1409 </div>
1410 <div class="<?php esc_attr_e( 'col-sm-3', 'wpbot' ); ?> ">
1411 <label for="<?php esc_attr_e( 'qcld_wb_chatbot_theme_1', 'wpbot' ); ?>"> <img class="<?php esc_attr_e( 'thumbnail theme_prev', 'wpbot' ); ?>"
1412 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/template-01.JPG"
1413 alt="Theme Basic', 'wpbot' ); ?> ">
1414 <input id="<?php esc_attr_e( 'qcld_wb_chatbot_theme_1', 'wpbot' ); ?>" type="radio"
1415 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-01' ? esc_attr('checked' ): ''); ?>
1416 value="<?php esc_attr_e( 'template-01', 'wpbot' ); ?>">
1417 <?php esc_html_e('Theme One', 'wpbot'); ?>
1418 </label>
1419 </div>
1420 <div class="<?php esc_attr_e( 'col-sm-6', 'wpbot' ); ?> ">
1421 <label for="<?php esc_attr_e( 'qcld_wb_chatbot_theme_horizontal', 'wpbot' ); ?>"> <img class="<?php esc_attr_e( 'thumbnail theme_prev', 'wpbot' ); ?>"
1422 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/horizontal.png"
1423 alt="Theme horizontal', 'wpbot' ); ?> ">
1424 <input id="<?php esc_attr_e( 'qcld_wb_chatbot_theme_horizontal', 'wpbot' ); ?>" type="radio"
1425 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-horizontal' ? esc_attr('checked' ): ''); ?>
1426 value="<?php esc_attr_e( 'template-horizontal', 'wpbot' ); ?>">
1427 <?php esc_html_e('Theme Horizontal', 'wpbot'); ?>
1428 </label>
1429 </div>
1430 </div>
1431 </div>
1432 </div>
1433
1434
1435 <div id="<?php esc_attr_e( 'wp-chatbot-custom-color-options', 'wpbot' ); ?>" class="<?php esc_attr_e( 'tab-pane fade', 'wpbot' ); ?>">
1436 <div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?>">
1437 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?>">
1438 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1439 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?>">
1440 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?>">
1441 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?>">
1442 <?php esc_html_e('Bot Floating Icon Background Color.', 'wpbot'); ?>
1443 </h4>
1444 <input id="<?php esc_attr_e( 'wp_chatbot_floatingiconbg_color', 'wpbot' ); ?>" type="text"
1445 name="wp_chatbot_floatingiconbg_color"
1446 value="<?php echo esc_attr((get_option('wp_chatbot_floatingiconbg_color') != '' ? get_option('wp_chatbot_floatingiconbg_color') : '#fff')); ?>"/>
1447 </div>
1448 </div>
1449 </div>
1450 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1451 <div class="cxsc-settings-blocks ">
1452 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?>">
1453 <?php esc_html_e('Custom Style Options', 'wpbot'); ?>
1454 </h4>
1455 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1456 <input value="1" id="<?php esc_attr_e( 'enable_wp_chatbot_custom_color', 'wpbot' ); ?>" type="checkbox"
1457 name="enable_wp_chatbot_custom_color" <?php echo(get_option('enable_wp_chatbot_custom_color') == 1 ? esc_attr('checked' ): ''); ?>>
1458 <label for="<?php esc_attr_e( 'enable_wp_chatbot_custom_color', 'wpbot' ); ?>">
1459 <?php esc_html_e('Enable Style Colors ', 'wpbot'); ?>
1460 </label>
1461 </div>
1462 </div>
1463 </div>
1464 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1465 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1466 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1467 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1468 <?php esc_html_e('Text Color.', 'wpbot'); ?>
1469 </h4>
1470 <input id="<?php esc_attr_e( 'wp_chatbot_text_color', 'wpbot' ); ?>" type="text"
1471 name="wp_chatbot_text_color"
1472 value="<?php echo esc_attr((get_option('wp_chatbot_text_color') != '' ? get_option('wp_chatbot_text_color') : '#37424c')); ?>"/>
1473 </div>
1474 </div>
1475 </div>
1476 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1477 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1478 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1479 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1480 <?php esc_html_e('Link Color.', 'wpbot'); ?>
1481 </h4>
1482 <input id="<?php esc_attr_e( 'wp_chatbot_link_color', 'wpbot' ); ?>" type="text"
1483 name="wp_chatbot_link_color"
1484 value="<?php echo esc_attr((get_option('wp_chatbot_link_color') != '' ? get_option('wp_chatbot_link_color') : '#e2cc1f')); ?>"/>
1485 </div>
1486 </div>
1487 </div>
1488 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1489 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1490 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1491 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1492 <?php esc_html_e('Link Hover Color.', 'wpbot'); ?>
1493 </h4>
1494 <input id="<?php esc_attr_e( 'wp_chatbot_link_hover_color', 'wpbot' ); ?>" type="text"
1495 name="wp_chatbot_link_hover_color"
1496 value="<?php echo esc_attr((get_option('wp_chatbot_link_hover_color') != '' ? get_option('wp_chatbot_link_hover_color') : '#734006')); ?>"/>
1497 </div>
1498 </div>
1499 </div>
1500 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1501 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1502 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1503 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1504 <?php esc_html_e('Bot Message Background Color.', 'wpbot'); ?>
1505 </h4>
1506 <input id="<?php esc_attr_e( 'wp_chatbot_bot_msg_bg_color', 'wpbot' ); ?>" type="text"
1507 name="wp_chatbot_bot_msg_bg_color"
1508 value="<?php echo esc_attr((get_option('wp_chatbot_bot_msg_bg_color') != '' ? get_option('wp_chatbot_bot_msg_bg_color'): '#1f8ceb')) ; ?>"/>
1509 </div>
1510 </div>
1511 </div>
1512 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1513 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1514 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1515 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1516 <?php esc_html_e('Bot Message Text Color.', 'wpbot'); ?>
1517 </h4>
1518 <input id="<?php esc_attr_e( 'wp_chatbot_bot_msg_text_color', 'wpbot' ); ?>" type="text"
1519 name="wp_chatbot_bot_msg_text_color"
1520 value="<?php echo esc_attr((get_option('wp_chatbot_bot_msg_text_color') != '' ? get_option('wp_chatbot_bot_msg_text_color') : '#ffffff')); ?>"/>
1521 </div>
1522 </div>
1523 </div>
1524 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1525 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1526 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1527 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1528 <?php esc_html_e('User Message Background Color.', 'wpbot'); ?>
1529 </h4>
1530 <input id="<?php esc_attr_e( 'wp_chatbot_user_msg_bg_color', 'wpbot' ); ?>" type="text"
1531 name="wp_chatbot_user_msg_bg_color"
1532 value="<?php echo esc_attr((get_option('wp_chatbot_user_msg_bg_color') != '' ? get_option('wp_chatbot_user_msg_bg_color') : '#ffffff') ); ?>"/>
1533 </div>
1534 </div>
1535 </div>
1536 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1537 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1538 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1539 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1540 <?php esc_html_e('User Message Text Color.', 'wpbot'); ?>
1541 </h4>
1542 <input id="<?php esc_attr_e( 'wp_chatbot_user_msg_text_color', 'wpbot' ); ?>" type="text"
1543 name="wp_chatbot_user_msg_text_color"
1544 value="<?php echo esc_attr((get_option('wp_chatbot_user_msg_text_color') != '' ? get_option('wp_chatbot_user_msg_text_color') : '#000000')); ?>"/>
1545 </div>
1546 </div>
1547 </div>
1548 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1549 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1550 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1551 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1552 <?php esc_html_e('Buttons Background Color.', 'wpbot'); ?>
1553 </h4>
1554 <input id="<?php esc_attr_e( 'wp_chatbot_buttons_bg_color', 'wpbot' ); ?>" type="text"
1555 name="wp_chatbot_buttons_bg_color"
1556 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_bg_color') != '' ?get_option('wp_chatbot_buttons_bg_color'): '#1f8ceb')) ; ?>"/>
1557 </div>
1558 </div>
1559 </div>
1560 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1561 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1562 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1563 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1564 <?php esc_html_e('Buttons Hover Background Color.', 'wpbot'); ?>
1565 </h4>
1566 <input id="<?php esc_attr_e( 'wp_chatbot_buttons_bg_color', 'wpbot' ); ?>" type="text"
1567 name="wp_chatbot_buttons_bg_color_hover"
1568 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_bg_color_hover') != '' ? get_option('wp_chatbot_buttons_bg_color_hover') : '#1f8ceb')); ?>"/>
1569 </div>
1570 </div>
1571 </div>
1572 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1573 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1574 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1575 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1576 <?php esc_html_e('Buttons Text Color.', 'wpbot'); ?>
1577 </h4>
1578 <input id="<?php esc_attr_e( 'wp_chatbot_buttons_text_color', 'wpbot' ); ?>" type="text"
1579 name="wp_chatbot_buttons_text_color"
1580 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_text_color') != '' ? get_option('wp_chatbot_buttons_text_color') : '#ffffff')); ?>"/>
1581 </div>
1582 </div>
1583 </div>
1584 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1585 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1586 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1587 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1588 <?php esc_html_e('Buttons Text Color Hover.', 'wpbot'); ?>
1589 </h4>
1590 <input id="<?php esc_attr_e( 'wp_chatbot_buttons_text_color', 'wpbot' ); ?>" type="text"
1591 name="wp_chatbot_buttons_text_color_hover"
1592 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_text_color_hover') != '' ? get_option('wp_chatbot_buttons_text_color_hover') : '#ffffff')); ?>"/>
1593 </div>
1594 </div>
1595 </div>
1596 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1597 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1598 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1599 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1600 <?php esc_html_e('Header background Color', 'wpbot'); ?>
1601 </h4>
1602 <input id="<?php esc_attr_e( 'wp_chatbot_header_background_color', 'wpbot' ); ?>" type="text"
1603 name="wp_chatbot_header_background_color"
1604 value="<?php esc_html_e((get_option('wp_chatbot_header_background_color') != '' ? get_option('wp_chatbot_header_background_color'): '#ffffff'), 'wpbot' ) ; ?>"/>
1605 </div>
1606 </div>
1607 </div>
1608 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1609 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1610 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1611 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1612 <?php esc_html_e('Theme Primary Color', 'wpbot'); ?>
1613 </h4>
1614 <input id="<?php esc_attr_e( 'wp_chatbot_theme_primary_color', 'wpbot' ); ?>" type="text"
1615 name="wp_chatbot_theme_primary_color"
1616 value="<?php echo esc_attr((get_option('wp_chatbot_theme_primary_color') != '' ? get_option('wp_chatbot_theme_primary_color') : '#ffffff')); ?>"/>
1617 </div>
1618 </div>
1619 </div>
1620 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1621 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1622 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
1623 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1624 <?php esc_html_e('Theme Secondary Color', 'wpbot'); ?>
1625 </h4>
1626 <input id="<?php esc_attr_e( 'wp_chatbot_theme_secondary_color', 'wpbot' ); ?>" type="text"
1627 name="wp_chatbot_theme_secondary_color"
1628 value="<?php echo esc_attr((get_option('wp_chatbot_theme_secondary_color') != '' ? get_option('wp_chatbot_theme_secondary_color') : '#ffffff')); ?>"/>
1629 </div>
1630 </div>
1631 </div>
1632 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1633 <div class="cxsc-settings-blocks">
1634 <div class="form-group">
1635 <h4 class="qc-opt-title">
1636 <?php esc_html_e('Font size', 'wpbot'); ?>
1637 </h4>
1638 <input id="wp_chatbot_font_size" type="number"
1639 name="wp_chatbot_font_size"
1640 value="<?php echo esc_attr((get_option('wp_chatbot_font_size') != '' ? get_option('wp_chatbot_font_size'): '16')) ; ?>"/>
1641 </div>
1642 </div>
1643 </div>
1644 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1645 <div class="cxsc-settings-blocks">
1646 <div class="form-group">
1647 <h4 class="qc-opt-title">
1648 <?php
1649 esc_html_e('User message Font family ', 'wpbot');
1650 $user_font = get_option('wp_chat_user_font_family') != '' ? get_option('wp_chat_user_font_family') : '';
1651 $user_font_family = str_replace("\\", "",$user_font);
1652 ?>
1653 </h4>
1654 <input id="wp_chatbot_user_font" type="text" name="wp_chatbot_user_font"
1655 value="<?php echo esc_attr((get_option('wp_chatbot_user_font') != '' ? get_option('wp_chatbot_user_font') : ''));?>">
1656 <input id="wp_chat_user_font_family" type="hidden"
1657 name="wp_chat_user_font_family"
1658 />
1659 </div>
1660 </div>
1661 </div>
1662 <div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?>">
1663 <div class="cxsc-settings-blocks">
1664 <div class="form-group">
1665 <h4 class="qc-opt-title">
1666 <?php
1667 esc_html_e('Bot message Font family ', 'wpbot');
1668 $bot_font = get_option('wp_chat_bot_font_family') != '' ? esc_html__(get_option('wp_chat_bot_font_family'), 'wpbot' ) : '';
1669 $bot_font_family = str_replace("\\", "",$bot_font);
1670 ?>
1671 </h4>
1672 <input id="wp_chatbot_bot_font" type="text" name="wp_chatbot_bot_font"
1673 value="<?php echo esc_attr((get_option('wp_chatbot_bot_font') != '' ? get_option('wp_chatbot_bot_font') : ''));?>">
1674 <input id="wp_chat_bot_font_family" type="hidden"
1675 name="wp_chat_bot_font_family"
1676 />
1677 </div>
1678 </div>
1679 </div>
1680
1681 <?php
1682 $custom_js = "jQuery(function ($) {
1683 $('#wp_chat_user_font_family').val(JSON.stringify(". esc_attr($user_font_family) ."));
1684 $('#wp_chat_bot_font_family').val(JSON.stringify(". esc_attr($bot_font_family)."));
1685 $('#wp_chatbot_user_font')
1686 .fontpicker()
1687 .on('change', function() {
1688 var tmp = this.value.split(':'),
1689 family = tmp[0],
1690 variant = tmp[1] || '400',
1691 weight = parseInt(variant,10),
1692 italic = /i$/.test(variant);
1693 var css = {
1694 fontFamily:family,
1695 fontWeight: weight,
1696 fontStyle: italic ? 'italic' : 'normal'
1697 };
1698 $('#wp_chat_user_font_family').val(JSON.stringify(css));
1699 });
1700 $('#wp_chatbot_bot_font')
1701 .fontpicker()
1702 .on('change', function() {
1703 var tmp = this.value.split(':'),
1704 family = tmp[0],
1705 variant = tmp[1] || '400',
1706 weight = parseInt(variant,10),
1707 italic = /i$/.test(variant);
1708 // Set selected font on body
1709 var css = {
1710 fontFamily:family,
1711 fontWeight: weight,
1712 fontStyle: italic ? 'italic' : 'normal'
1713 };
1714 $('#wp_chat_bot_font_family').val(JSON.stringify(css));
1715 });
1716 });
1717 ";
1718 wp_add_inline_script('qcld-wp-chatbot-admin-js', $custom_js );
1719
1720 ?>
1721 </div>
1722 </div>
1723 </div>
1724 </div>
1725 </section>
1726
1727 <section id="<?php esc_attr_e( 'section-flip-4', 'wpbot' ); ?> ">
1728 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1729 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
1730 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic', 'wpbot' ); ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
1731 <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'); ?>
1732 </div> -->
1733 </div>
1734 </div>
1735 <div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> ">
1736 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1737 <?php esc_html_e('Build FAQ Query and Answers', 'wpbot'); ?>
1738 </h4>
1739 <div class="<?php esc_attr_e( 'block-inner ui-sortable', 'wpbot' ); ?>" id="<?php esc_attr_e( 'wp-chatbot-support-builder', 'wpbot' ); ?> ">
1740 <?php
1741 $support_quereis=$this->qcld_wb_chatbot_str_replace(maybe_unserialize( get_option('support_query')));
1742 $support_ans=$this->qcld_wb_chatbot_str_replace(maybe_unserialize( get_option('support_ans')));
1743 if (($support_quereis[0] != '') && ($support_ans[0] != '') && !empty($support_ans[0]) && (count($support_ans) == count($support_quereis))) {
1744
1745 $query_ans_counter=0;
1746 foreach (array_combine($support_quereis, $support_ans) as $query => $ans) {
1747 ?>
1748 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'pull-right', 'wpbot' ); ?> "> </span>
1749 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
1750 <button type="button"
1751 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>
1752
1753 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1754 <p class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> ">
1755 <?php esc_html_e('FAQ query ', 'wpbot'); ?>
1756 </p>
1757 <input type="text" class="<?php esc_attr_e( 'form-control', 'wpbot'); ?>" name="support_query[]"
1758 placeholder="<?php esc_html_e('FAQ query ', 'wpbot'); ?>" value="<?php esc_attr_e( $query, 'wpbot' ); ?> ">
1759 <br>
1760 <p class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> ">
1761 <?php esc_html_e('FAQ answer', 'wpbot'); ?>
1762 </p>
1763 <?php
1764 $answer = !is_array($ans) ? stripcslashes($ans) : $ans;
1765 wp_editor(html_entity_decode($answer), 'support_ans'.'_'.$query_ans_counter, array('textarea_name' =>
1766 'support_ans[]',
1767 'textarea_rows' => 20,
1768 'editor_height' => 100,
1769 'disabled' => 'disabled',
1770 'media_buttons' => false,
1771 'tinymce' => array(
1772 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
1773 ));
1774
1775 ?>
1776 </div>
1777 </div>
1778 </div>
1779 <?php
1780 $query_ans_counter++;
1781 }
1782 //}
1783 } else {
1784 ?>
1785 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1786 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
1787 <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" aria-hidden="true', 'wpbot' ); ?> "></i> </button>
1788 <span class="<?php esc_attr_e( 'wp-chatbot-support-cross pull-right', 'wpbot'); ?>" > <i class="<?php esc_attr_e( 'fa fa-crosshairs" aria-hidden="true', 'wpbot' ); ?> "></i> </span>
1789 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1790 <p class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> ">
1791 <?php esc_html_e('Support query', 'wpbot'); ?>
1792 </p>
1793 <input type="text" class="<?php esc_attr_e( 'form-control', 'wpbot' ); ?>" name="support_query[]"
1794 placeholder="<?php esc_html_e('Support query ', 'wpbot'); ?> ">
1795 <br>
1796 <p class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><strong>
1797 <?php esc_html_e('Support answer', 'wpbot'); ?>
1798 </strong></p>
1799 <?php
1800 wp_editor(html_entity_decode(stripcslashes('')), 'support_ans_0', array('textarea_name' =>
1801 'support_ans[]',
1802 'textarea_rows' => 20,
1803 'editor_height' => 100,
1804 'disabled' => 'disabled',
1805 'media_buttons' => false,
1806 'tinymce' => array(
1807 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
1808 ));
1809 ?>
1810 </div>
1811 <br>
1812 </div>
1813 </div>
1814 <?php
1815 }
1816 ?>
1817 </div>
1818 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1819 <div class="<?php esc_attr_e( 'col-sm-6 text-left', 'wpbot' ); ?> "></div>
1820 <div class="<?php esc_attr_e( 'col-sm-6 text-right', 'wpbot' ); ?> ">
1821 <button class="<?php esc_attr_e( 'btn btn-success btn-sm', 'wpbot' ); ?>" type="button"
1822 id="<?php esc_attr_e( 'add-more-support-query', 'wpbot' ); ?>"><i
1823 class="<?php esc_attr_e( 'fa fa-plus" aria-hidden="true', 'wpbot' ); ?>"></i>
1824 <?php esc_html_e('Add More Questions and Answers', 'wpbot'); ?>
1825 </button>
1826 </div>
1827 </div>
1828 </div>
1829 </section>
1830
1831
1832 <section id="<?php esc_attr_e( 'section-flip-6', 'wpbot' ); ?> ">
1833 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic', 'wpbot' ); ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
1834 <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'); ?>
1835 </div> -->
1836 <?php
1837 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');
1838 ?>
1839 <div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> ">
1840 <div class="<?php esc_attr_e( 'notification-block-inner', 'wpbot' ); ?> ">
1841 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1842 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
1843
1844 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1845 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
1846 <h2><?php echo esc_attr('Predefined Intents'); ?></h2>
1847 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1848 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
1849 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1850 <?php esc_html_e('Call Me', 'wpbot'); ?>
1851 </h4>
1852 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1853 <input value="<?php echo esc_attr('1'); ?>" id="<?php esc_attr_e( 'disable_wp_chatbot_call_gen', 'wpbot' ); ?>" type="checkbox"
1854 name="disable_wp_chatbot_call_gen" <?php echo(get_option('disable_wp_chatbot_call_gen') == 1 ? esc_attr('checked' ): ''); ?>>
1855 <label for="<?php esc_attr_e( 'disable_wp_chatbot_call_gen', 'wpbot' ); ?>">
1856 <?php esc_html_e('Disable Call Me feature and button on Start Menu', 'wpbot'); ?>
1857 </label>
1858 </div>
1859 </div>
1860 </div>
1861 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?>" style="margin-bottom:0px">
1862 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1863 <?php esc_html_e('Button Label', 'wpbot'); ?>
1864 </h4>
1865 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
1866 name="qlcd_wp_chatbot_support_phone"
1867 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!')); ?> ">
1868 </div>
1869 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1870 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
1871 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1872 <?php esc_html_e('Email', 'wpbot'); ?>
1873 </h4>
1874 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?>">
1875 <input value="<?php echo esc_attr('1' ); ?>" id="<?php esc_attr_e( 'disable_wp_chatbot_feedback', 'wpbot' ); ?>" type="checkbox"
1876 name="disable_wp_chatbot_feedback" <?php echo esc_attr((get_option('disable_wp_chatbot_feedback') == 1 ? 'checked' : ''), 'wpbot' ); ?>>
1877 <label for="<?php esc_attr_e( 'disable_wp_chatbot_feedback', 'wpbot' ); ?>">
1878 <?php esc_html_e('Disable Email feature and button on Start Menu', 'wpbot'); ?>
1879 </label>
1880 </div>
1881 </div>
1882 </div>
1883 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> " style="margin-bottom:0px">
1884 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1885 <?php esc_html_e('Button Label', 'wpbot'); ?>
1886 </h4>
1887 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
1888 name="qlcd_wp_chatbot_support_email"
1889 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_support_email') != '' ? get_option('qlcd_wp_chatbot_support_email') : 'Send us Email')); ?> ">
1890 </div>
1891 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1892 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
1893 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1894 <?php esc_html_e('FAQ', 'wpbot'); ?>
1895 </h4>
1896 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1897 <input value="<?php echo esc_attr('1' ); ?>" id="<?php esc_attr_e( 'disable_wp_chatbot_faq', 'wpbot' ); ?>" type="checkbox"
1898 name="disable_wp_chatbot_faq" <?php echo(get_option('disable_wp_chatbot_faq') == 1 ? esc_attr('checked' ): ''); ?>>
1899 <label for="<?php esc_attr_e( 'disable_wp_chatbot_faq', 'wpbot' ); ?>">
1900 <?php esc_html_e('Disable FAQ feature and button on Start Menu', 'wpbot'); ?>
1901 </label>
1902 </div>
1903 </div>
1904 </div>
1905 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?>" style="margin-bottom:0px ">
1906 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1907 <?php esc_html_e('Button Label', 'wpbot'); ?>
1908 </h4>
1909 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
1910 name="qlcd_wp_chatbot_wildcard_support"
1911 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_wildcard_support') != '' ? get_option('qlcd_wp_chatbot_wildcard_support') : 'FAQ')); ?> ">
1912 </div>
1913 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
1914 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
1915 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1916 <?php esc_html_e('Site Search', 'wpbot'); ?>
1917 </h4>
1918 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1919 <input value="<?php echo esc_attr('1' ); ?>" id="<?php esc_attr_e( 'disable_wp_chatbot_site_search', 'wpbot' ); ?>" type="checkbox"
1920 name="disable_wp_chatbot_site_search" <?php echo(get_option('disable_wp_chatbot_site_search') == 1 ? esc_attr('checked' ): ''); ?>>
1921 <label for="<?php esc_attr_e( 'disable_wp_chatbot_site_search', 'wpbot' ); ?>">
1922 <?php esc_html_e('Disable site search feature and button on Start Menu', 'wpbot'); ?>
1923 </label>
1924 </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>
1925 </div>
1926 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
1927 <input value="<?php echo esc_attr('1' ); ?>" id="<?php esc_attr_e( 'enable_wp_chatbot_post_content', 'wpbot' ); ?>" type="checkbox"
1928 name="enable_wp_chatbot_post_content" <?php echo(get_option('enable_wp_chatbot_post_content') == 1 ? esc_attr('checked' ): ''); ?>>
1929 <label for="<?php esc_attr_e( 'enable_wp_chatbot_post_content', 'wpbot' ); ?>">
1930 <?php esc_html_e('Enable Searching Post Contents as well', 'wpbot'); ?>
1931 </label>
1932 </div>
1933 </div>
1934 </div>
1935 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?>" style="margin-bottom:0px ">
1936 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
1937 <?php esc_html_e('Button Label', 'wpbot'); ?>
1938 </h4>
1939 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
1940 name="qlcd_wp_chatbot_wildcard_site_search"
1941 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_wildcard_site_search') != '' ? get_option('qlcd_wp_chatbot_wildcard_site_search') : 'Site Search')); ?> ">
1942 </div>
1943 </div>
1944 </div>
1945 <div class="<?php esc_attr_e( 'qc_menu_setup_area', 'wpbot' ); ?> ">
1946 <h2><?php esc_html_e('Menu Sorting & Customization Area', 'wpbot'); ?></h2>
1947 <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>
1948 <p><?php esc_html_e('To adjust the Active Menu ordering just drag it up or down.', 'wpbot'); ?><br>
1949 <?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>
1950 <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>
1951 <div class="<?php esc_attr_e( 'qc_menu_area', 'wpbot' ); ?> ">
1952 <h4><?php esc_html_e( 'Acitve Menu', 'wpbot'); ?></h4>
1953 <div class="<?php esc_attr_e( 'qc_menu_area_container', 'wpbot' ); ?>" id="<?php esc_attr_e( 'qc_menu_area', 'wpbot' ); ?>">
1954 <?php
1955 if(get_option('qc_wpbot_menu_order')!=''):
1956 echo wp_kses_post(wp_kses_stripslashes(get_option('qc_wpbot_menu_order')));
1957 else:?>
1958 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
1959 <span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="support', 'wpbot' ); ?> "><?php echo esc_html(get_option('qlcd_wp_chatbot_wildcard_support')); ?></span>
1960 <?php endif; ?>
1961 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
1962 <span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="messenger', 'wpbot' ); ?> "><?php echo (wp_kses_post(qcld_choose_random(maybe_unserialize(get_option('qlcd_wp_chatbot_messenger_label'))))) ?></span>
1963 <?php endif; ?>
1964 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
1965 <span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="whatsapp', 'wpbot' ); ?> "><?php echo (wp_kses_post(qcld_choose_random(maybe_unserialize(get_option('qlcd_wp_chatbot_whats_label'))))); ?></span>
1966 <?php endif; ?>
1967 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
1968 <span class="<?php esc_attr_e( 'qcld-chatbot-suggest-email qc_draggable_item_remove', 'wpbot' ); ?> "><?php echo esc_html(get_option('qlcd_wp_chatbot_support_email')); ?></span>
1969 <?php endif; ?>
1970 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
1971 <span class="<?php esc_attr_e( 'qcld-chatbot-suggest-phone qc_draggable_item_remove', 'wpbot' ); ?>" ><?php echo esc_html(get_option('qlcd_wp_chatbot_support_phone')); ?></span>
1972 <?php endif; ?>
1973 <?php
1974 if(class_exists('Qcformbuilder_Forms_Admin')){
1975 global $wpdb;
1976
1977 $results = $wpdb->get_results("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type='primary'");
1978 if(!empty($results)){
1979 ?>
1980 <?php
1981 foreach($results as $result){
1982 $form = maybe_unserialize($result->config);
1983 ?>
1984 <span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item_remove', 'wpbot' ); ?>" data-form="<?php echo esc_attr($form['ID']); ?>" ><?php esc_html_e($form['name']); ?></span>
1985 <?php
1986 }
1987 ?>
1988 <?php
1989 }
1990 }
1991 ?>
1992 <?php endif; ?>
1993 </div>
1994 </div>
1995 <div class="<?php esc_attr_e( 'qc_menu_list_area', 'wpbot' ); ?> ">
1996 <h4><?php esc_html_e('Available Menu', 'wpbot'); ?></h4>
1997 <div class="<?php esc_attr_e( 'qc_menu_list_container', 'wpbot' ); ?>">
1998 <p><?php esc_html_e('Predefined Intents', 'wpbot'); ?></p>
1999 <ul>
2000 <li>
2001 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
2002 <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>
2003 <?php endif; ?>
2004 </li>
2005 <li>
2006 <?php if(get_option('disable_wp_chatbot_site_search')==''): ?>
2007 <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>
2008 <?php endif; ?>
2009 </li>
2010 <li>
2011 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
2012 <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>
2013 <?php endif; ?>
2014 </li>
2015 <li>
2016 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
2017 <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>
2018 <?php endif; ?>
2019 </li>
2020 <li>
2021 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
2022 <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>
2023 <?php endif; ?>
2024 </li>
2025 <li>
2026 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
2027 <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>
2028 <?php endif; ?>
2029 </li>
2030 </ul>
2031 <?php
2032 if(class_exists('Qcformbuilder_Forms_Admin')){
2033 global $wpdb;
2034
2035 $results = $wpdb->get_results("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type='primary'");
2036 if(!empty($results)){
2037 ?>
2038 <p><?php esc_html_e('Conversational Form', 'wpbot'); ?></p>
2039 <ul>
2040 <?php
2041 foreach($results as $result){
2042 $form = maybe_unserialize($result->config);
2043 ?>
2044 <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>
2045 <?php
2046 }
2047 ?>
2048 </ul>
2049 <?php
2050 }
2051 }
2052 ?>
2053 </div>
2054 </div>
2055 </div>
2056 <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'))); ?>' />
2057 </div>
2058 </div>
2059 </div>
2060 </div>
2061 </section>
2062 <section id="<?php esc_attr_e( 'section-flip-7', 'wpbot' ); ?> ">
2063 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic', 'wpbot' ); ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2064 <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'); ?>
2065 </div> -->
2066 <div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> ">
2067 <div class="<?php esc_attr_e( 'wp-chatbot-language-center-summmery', 'wpbot' ); ?> ">
2068 <p>
2069 <?php esc_html_e('DialogFlow as Artificial Intelligences Engine for wpwBot', 'wpbot'); ?>
2070 </p>
2071 </div>
2072
2073 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
2074 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
2075 <div class="wrapTexttop-lite">
2076 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php esc_html_e('Enable DialogFlow as AI Engine to Detect Intent', 'wpbot'); ?> </h4>
2077 <div class="alert alert-warning" role="alert">
2078 <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>
2079 <h5 style="color: #f00;font-weight:900 "><?php esc_html_e(' Enable either DialogFlow or OpenAI', 'wpbot'); ?> </h5>
2080 </div>
2081 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
2082 <input value="<?php esc_html_e('1', 'wpbot'); ?>" id="<?php esc_attr_e( 'enable_wp_chatbot_dailogflow', 'wpbot' ); ?>" type="checkbox"
2083 name="enable_wp_chatbot_dailogflow" <?php echo(get_option('enable_wp_chatbot_dailogflow') == 1 ? esc_attr('checked' ): ''); ?>>
2084 <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>
2085
2086 </div>
2087 </div>
2088 </div>
2089
2090 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?>" id="<?php esc_attr_e( 'wp-chatbot-dialflow-section', 'wpbot' ); ?>">
2091 <p><?php esc_html_e('Log in to DialogFlow Console from', 'wpbot'); ?>
2092 <a class="<?php esc_attr_e( 'wpbot_df_instruction', 'wpbot' ); ?>" href="<?php echo esc_url('https://dialogflow.com/', 'wpbot'); ?>"
2093 target="_blank">
2094 <?php esc_html_e('Here', 'wpbot'); ?></a>
2095 <?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>
2096 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php esc_html_e('DialogFlow API Version', 'wpbot'); ?></h4>
2097 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
2098 <label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> ">
2099 <input id="<?php esc_attr_e( 'wp-chatbot-df-api', 'wpbot' ); ?>" type="radio"
2100 name="wp_chatbot_df_api"
2101 value="<?php esc_html_e('v2', 'wpbot'); ?>" checked>
2102 <?php esc_html_e('Dialogflow API V2', 'wpbot'); ?> </label>
2103 </div>
2104 <div id="<?php esc_attr_e( 'wp-chatbot-df-section-v2', 'wpbot' ); ?>" style="display:block">
2105 <!-- Dialogflow V2 Configuration -->
2106
2107 <?php if(!file_exists(QCLD_wpCHATBOT_GC_DIRNAME.'/autoload.php')): ?>
2108 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> <br>
2109 <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>
2110 <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>
2111 <div class="<?php esc_attr_e( 'qcld-wpbot-gcdownload-area', 'wpbot' ); ?> ">
2112 <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>
2113 <?php
2114 if(!is_writable(QCLD_wpCHATBOT_GC_ROOT)){
2115 echo '<span style="color:red;font-size: 12px; "><b>'.esc_html('wp-content').' </b> '.esc_html('folder is not writable.').'</span>';
2116 }
2117 ?>
2118 <br>
2119 <br>
2120 <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>
2121 <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>
2122 <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>
2123 <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>
2124 <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>
2125 <div class="<?php esc_attr_e( 'qcld_wpbot_download_statuses', 'wpbot' ); ?> "> </div>
2126 </div>
2127 <br>
2128 </div>
2129 <?php else: ?>
2130 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
2131 <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>
2132 </div>
2133 <?php endif; ?>
2134 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
2135 <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>
2136 </div>
2137 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
2138 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php esc_html_e('DialogFlow Project ID', 'wpbot'); ?></h4>
2139 <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>
2140 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
2141 name="qlcd_wp_chatbot_dialogflow_project_id"
2142 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'); ?> ">
2143 </div>
2144 <?php
2145
2146 $placeholderPrivatekey = '{
2147 "type": "service_account",
2148 "project_id": "PLACEYOUROWNID",
2149 "private_key_id": "31e300128..........c48",
2150 "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",
2151 "client_email": "dialogflow-evysjn@wpbotpro.iam.gserviceaccount.com",
2152 "client_id": "1026.....032997",
2153 "auth_uri": "https://accounts.google.com/o/oauth2/auth",
2154 "token_uri": "https://oauth2.googleapis.com/token",
2155 "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
2156 "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/dialogflow-evysjn%40wpbotpro.iam.gserviceaccount.com"
2157 }';
2158
2159 ?>
2160 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
2161 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php esc_html_e('Private Key', 'wpbot'); ?></h4>
2162 <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>
2163 <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>
2164 </div>
2165
2166 <!-- End Dialogflow V2 Configuration -->
2167 </div>
2168 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
2169 <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>
2170 <p style="color:red "><?php esc_html_e('*Save settings before pressing Test Dialogflow Connection', 'wpbot'); ?><br>
2171 <?php esc_html_e('*You must have owner permission for the service account your are using in Dialogflow agent.', 'wpbot'); ?></p>
2172 <div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> ">
2173 <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>
2174 <div class="<?php esc_attr_e( 'qcwp_df_status', 'wpbot' ); ?> "></div>
2175 </div>
2176 </div>
2177 <br>
2178 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
2179 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> ">
2180 <?php esc_html_e('DialogFlow Default reply', 'wpbot'); ?>
2181 </h4>
2182 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
2183 name="qlcd_wp_chatbot_dialogflow_defualt_reply"
2184 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'); ?> ">
2185 </div>
2186 <div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> ">
2187 <h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php esc_html_e('DialogFlow Agent Language (Ex: en)', 'wpbot'); ?></h4>
2188 <input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>"
2189 name="qlcd_wp_chatbot_dialogflow_agent_language"
2190 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'); ?>">
2191 </div>
2192 </div>
2193 </div>
2194 </div>
2195 </section>
2196 <section id="<?php esc_attr_e( 'section-flip-7', 'wpbot' ); ?> ">
2197 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic', 'wpbot' ); ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2198 <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'); ?>
2199 </div> -->
2200 <div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> ">
2201 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
2202 <div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> ">
2203 <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>
2204 <textarea name="wp_chatbot_custom_css"
2205 class="<?php esc_attr_e( 'form-control wp-chatbot-custom-css', 'wpbot' ); ?>"
2206 cols="10"
2207 rows="16"><?php echo esc_textarea(get_option('wp_chatbot_custom_css')); ?></textarea>
2208 </div>
2209 </div>
2210 <!-- row-->
2211 </div>
2212 </section>
2213
2214 <!-- <section id="<?php // esc_attr_e( 'section-flip-9', 'wpbot' ); ?> ">
2215 <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic', 'wpbot' ); ?>" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2216 <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'); ?>
2217 </div>
2218 <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-addon', 'wpbot' ); ?> "><?php // esc_html_e('Install Conversational form builder to Create Button(menu) Driven Conversations.', 'wpbot'); ?></br>
2219 <?php // esc_html_e('After creating a Conversational form, you can add it to the ChatBot`s', 'wpbot'); ?><b><?php // esc_html_e('Start Menu.', 'wpbot'); ?></b></div>
2220
2221 <?php // include_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . '/qcld-recommendbot-plugin.php'; ?>
2222 </section> -->
2223 </div>
2224 </div>
2225 <footer class="<?php esc_attr_e( 'wp-chatbot-admin-footer', 'wpbot' ); ?> ">
2226 <div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> ">
2227
2228 <div class="<?php esc_attr_e( 'text-right col-sm-3 col-sm-offset-9', 'wpbot' ); ?> ">
2229 <input type="submit" class="<?php esc_attr_e( 'btn btn-primary submit-button', 'wpbot' ); ?>" name="submit"
2230 id="<?php esc_attr_e( 'submit', 'wpbot' ); ?>" value="<?php esc_html_e('Save Settings', 'wpbot'); ?>"/>
2231 </div>
2232 </div>
2233 <!-- row-->
2234 </footer>
2235 </section>
2236 </div>
2237 <?php wp_nonce_field('wp_chatbot'); ?>
2238 </form>