PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services / 7.3.5
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services v7.3.5
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 7.3.5, at admin_ui.php

2,686 lines 194.9 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="wrap qcld-main-wrapper">
10 <h1 style="display:none">
11 <?php esc_html_e('chatbot', 'chatbot'); ?>
12 </h1>
13
14 <div class="qcld-wp-chatbot-wrap-header">
15
16 <a href="#" class="qcld-wp-chatbot-wrap-site__logo"><img style="width:100%" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/chatbot.png' ); ?>" alt="Dialogflow CX"> WPBot Control Panel </a>
17 <p><strong>Core Version:</strong> v<?php echo QCLD_wpCHATBOT_VERSION; ?></p>
18 <ul class="qcld-wp-chatbot-wrap-version-wrapper">
19 <li>
20 <a class="wpchatbot-Upgrade" href="https://www.wpbot.pro/" target="_blank">Upgrade To Pro</a>
21
22 </li>
23 </ul>
24 </div>
25
26 <div class="qcld-wp-chatbot-wrap-header-doc">
27
28 <a href="https://wpbot.pro/docs/" target="_blank" class="qcld-wp-chatbot-wrap--doc_logo">
29 <img style="width:100%" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/doc.jpg' ); ?>" alt="Dialogflow CX">
30 <div class="docs_icon"><i class="fa fa-book" aria-hidden="true"></i></div>
31
32 </a>
33
34 <div class="qcld-wp-chatbot-wrap-header-doc-details">
35
36 <h3><?php esc_html_e('Get Started with WPBot', 'chatbot'); ?></h3>
37 <p><?php esc_html_e('Do more than just chat with your ChatBot! More Leads, Conversions & Satisfied customers while saving time & increasing your business opportunities. WPBot is the best ChatBot for WordPress to improve user engagement, Generate Leads, & provide Automated Live customer support across your website & social platforms.', 'chatbot'); ?></p>
38
39 <div class="qcld-wp-chatbot-wrap-header-doc-button">
40
41 <a href="https://wpbot.pro/docs/knowledgebase/getting-started-with-chatbot/" class="GetStartedwithYourChatBot" target="_blank">Get Started with Your ChatBot</a>
42 <a href="https://wpbot.pro/docs/" target="_blank">Documentation</a>
43 </div>
44 </div>
45 </div>
46
47 <div class="wp-chatbot-wrap">
48 <div class="icon32"><br>
49 </div>
50 <form action="<?php echo esc_url($action, 'chatbot'); ?>" method="POST" id="wp-chatbot-admin-form"
51 enctype="multipart/form-data">
52 <div class="form-container">
53
54 <section class="wp-chatbot-tab-container-inner">
55 <div class="wp-chatbot-tabs wp-chatbot-tabs-style-flip">
56 <nav>
57 <ul>
58 <li class="tab-current" tab-data="started"><a href="<?php echo esc_url($action).'&tab=started' ?>"> <span class="wpwbot-admin-tab-icon"> <i class="fa fa-get-pocket"> </i> </span> <span class="wpwbot-admin-tab-name">
59 <?php esc_html_e('Getting Started', 'chatbot'); ?>
60 </span> </a></li>
61 <li tab-data="general"><a href="<?php echo esc_url($action) .'&tab=general' ?>"> <span class="wpwbot-admin-tab-icon"> <i class="fa fa-toggle-on"> </i> </span> <span class="wpwbot-admin-tab-name">
62 <?php esc_html_e('General settings', 'chatbot'); ?>
63 </span> </a></li>
64 <li tab-data="language"><a href="<?php echo esc_url($action) .'&tab=language' ?>"> <span class="wpwbot-admin-tab-icon"> <i class="fa fa-language"></i> </span> <span class="wpwbot-admin-tab-name">
65 <?php esc_html_e('Change Language', 'chatbot'); ?>
66 </span> </a></li>
67
68 <div class="cxsc-settings_openai_border"> <a href="<?php echo esc_url( $action) .'_openAi' ?>"> <span class="wpwbot-admin-tab-icon"> <i class="fa fa-gear"></i>
69 </span> <span class=""> <?php esc_html_e('AI Settings', 'chatbot'); ?> </span>
70 </a>
71 </div>
72
73
74
75 <li tab-data="themes"><a href="<?php echo esc_url($action) .'&tab=themes' ?>"> <span class="wpwbot-admin-tab-icon"> <i class="fa fa-random"></i> </span> <span class="wpwbot-admin-tab-name">
76 <?php esc_html_e('Icons & Themes', 'chatbot'); ?>
77 </span> </a></li>
78 <li tab-data="support"><a href="<?php echo esc_url($action).'&tab=support' ?>"> <span class="wpwbot-admin-tab-icon"> <i class="fa fa-life-ring"></i> </span> <span class="wpwbot-admin-tab-name">
79 <?php esc_html_e('FAQ Builder', 'chatbot'); ?>
80 </span> </a></li>
81 <li tab-data="startmenu"><a href="<?php echo esc_url($action).'&tab=startmenu' ?>"> <span class="wpwbot-admin-tab-icon"> <i class="fa fa-bars"></i> </span> <span class="wpwbot-admin-tab-name"><?php esc_html_e('Start Menu', 'chatbot'); ?></span> </a></li>
82
83
84 <li tab-data="ai"><a href="<?php echo esc_url($action).'&tab=ai' ?>"> <span class="wpwbot-admin-tab-icon"> <i class="fa fa-500px"></i> </span> <span class="wpwbot-admin-tab-name">
85 <?php esc_html_e('Dialogflow', 'chatbot'); ?>
86 </span> </a></li>
87
88
89 <li tab-data="<?php echo esc_url('rpl'); ?>" class="conversational"><a href="<?php echo esc_url($action).'&tab=rpl' ?>">
90 <span class="wpwbot-admin-tab-icon"> <i class="fa fa-plug"></i>
91 </span> <span class="wpwbot-admin-tab-name"> <?php esc_html_e('Conversational Form', 'chatbot'); ?>
92 </span>
93 </a>
94 </li>
95
96
97
98
99 <li tab-data="custom_css"> <a href="<?php echo esc_url($action).'&tab=ai'?>">
100 <span class="wpwbot-admin-tab-icon"> <i class="fa fa-code"></i>
101 </span> <span class="wpwbot-admin-tab-name"> <?php esc_html_e('Custom CSS', 'chatbot'); ?></span>
102 </a>
103 </li>
104
105
106 </ul>
107
108 <div class="text-center mt-5 qcld-goPreemium">
109
110 <a href="https://www.wpbot.pro/" target="_blank"><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="21" viewBox="0 0 24 21" fill="none">
111 <path d="M19.6799 17.28H4.31988C3.52596 17.28 2.87988 17.9261 2.87988 18.72C2.87988 19.5139 3.52596 20.16 4.31988 20.16H19.6799C20.4738 20.16 21.1199 19.5139 21.1199 18.72C21.1199 17.9261 20.4738 17.28 19.6799 17.28Z" fill="#FF9900"></path>
112 <path d="M22.08 2.88C21.0211 2.88 20.16 3.74114 20.16 4.8C20.16 5.51137 20.5536 6.1267 21.1305 6.45886C20.0198 9.08925 18.287 10.703 16.6675 10.5571C14.8665 10.4102 13.3977 8.28094 12.5875 4.71839C13.6262 4.45533 14.4 3.51933 14.4 2.4C14.4 1.07616 13.3238 0 12 0C10.6761 0 9.59995 1.07616 9.59995 2.4C9.59995 3.51938 10.3737 4.45538 11.4124 4.71839C10.6022 8.28094 9.13336 10.4102 7.33242 10.5571C5.71964 10.703 3.97913 9.08925 2.86941 6.45886C3.44634 6.1267 3.83995 5.51133 3.83995 4.8C3.83995 3.74114 2.97881 2.88 1.91995 2.88C0.861141 2.88 0 3.74114 0 4.8C0 5.78498 0.748781 6.58945 1.70494 6.69886L3.55392 16.32H20.4461L22.295 6.69886C23.2512 6.58945 24 5.78498 24 4.8C24 3.74114 23.1389 2.88 22.08 2.88Z" fill="url(#paint0_linear_189_140)"></path>
113 <defs>
114 <linearGradient id="paint0_linear_189_140" x1="12" y1="0" x2="12" y2="16.32" gradientUnits="userSpaceOnUse">
115 <stop stop-color="#FFC045"></stop>
116 <stop offset="1" stop-color="#FF9900"></stop>
117 </linearGradient>
118 </defs>
119 </svg></span>Go Premium</a>
120
121 </div>
122
123
124 <div class="text-center mt-5 qcld-Resetall">
125 <input type="button" class="btn btn-warning submit-button"
126 id="qcld-wp-chatbot-reset-option"
127 value="<?php echo esc_html('Reset all options to Default') ; ?>"/>
128 </div>
129 </nav>
130
131
132
133
134 <div class="content-wrap">
135 <section id="section-flip-1">
136
137
138 <div class="wrap qcld-swpm-admin-menu-wrap">
139 <div class="wrap qcld-swpm-admin-menu-wrap">
140 <h3 class="nav-tab-wrapper sld_nav_container wppt_nav_container">
141 <a class="nav-tab sld_click_handle nav-tab-active" href="#general_int"><?php echo esc_html('Getting Started'); ?></a>
142 <a class="nav-tab sld_click_handle" href="#general_wp_nutshell"><?php echo esc_html('WPBot – In a Nutshell'); ?></a>
143 </h3>
144 <div class="wppt-settings-section" id="general_int">
145 <div class="content form-container qcbot_help_secion" style="">
146 <!-- new Section -->
147
148 <h3 class="qcld-wpbot-main-tabs-title"><?php echo esc_html__('WPBot Interactions', 'chatbot'); ?></h3>
149 <p><?php echo esc_html__('You can use WPBot to both answer user questions and collect information from the users.', 'chatbot'); ?></p>
150 <h4><?php echo esc_html__('To create answers to user questions you can use:', 'chatbot'); ?></h4>
151 <p> <b><?php echo esc_html__('Simple Text Responses', 'chatbot'); ?></b> (built-in), <b style="font-size: 14px"><?php echo esc_html__('FAQ', 'chatbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Site search', 'chatbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Product search', 'chatbot'); ?></b>(built-in Pro feature), <b style="font-size: 14px"><?php echo esc_html__('DialogFlow', 'chatbot'); ?></b>(3rd Party) or <b style="font-size: 14px"><?php echo esc_html__('OpenAI', 'chatbot'); ?></b>(3rd Party)</br>
152 </p>
153 <h4> <?php echo esc_html__('To collect information from your users you can use:', 'chatbot'); ?></h4>
154 <p> <b>
155 <?php echo esc_html__('Conversational forms', 'chatbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Mail us', 'chatbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Call me back', 'chatbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Collect feedback features', 'chatbot'); ?></b>(built-in)</p>
156 <hr>
157 <p>
158 <b> <?php echo esc_html__('When you activate the plugin, by default only the Site search option will work. Site search displays links to your website pages that contain the keywords in the user query. ', 'chatbot'); ?>
159 </b></p>
160 <p><b><?php echo esc_html__('To generate direct text responses, you need to use either Simple Text Responses or AI services. ', 'chatbot'); ?>
161 </b></p>
162 <hr>
163 <h4><?php echo esc_html__('You can create user interactions in the following ways:', 'chatbot'); ?></h4>
164
165 <div class="panel panel-default">
166 <div class="panel-heading" role="tab" id="FeaturesOne">
167 <h4 class="panel-title">
168 <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', 'chatbot'); ?> </a>
169 </h4>
170 </div>
171 <div id="FeaturescollapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="FeaturesOne">
172 <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.', 'chatbot'); ?> <div class="section-container">
173 <div class="wpb_column vc_column_container vc_col-sm-6">
174 <div class="vc_column-inner ">
175 <div class="wpb_wrapper">
176 <div class="to-icon-box left txt-left">
177 <div class="to-icon-txt fa-4x-txt ">
178 <h3>
179 <span>// </span><?php esc_html_e('Simple Text Responses', 'chatbot'); ?>
180 </h3>
181 <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.', 'chatbot'); ?> </p>
182 </div>
183 </div>
184 <div class="to-icon-box left txt-left">
185 <div class="to-icon-txt fa-4x-txt ">
186 <h3>
187 <span>// </span><?php esc_html_e('Send eMail, Call Me Back &amp; Feedback Collection', 'chatbot'); ?>
188 </h3>
189 <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.', 'chatbot'); ?></p>
190 </div>
191 </div>
192 <div class="to-icon-box left txt-left">
193 <div class="to-icon-txt fa-4x-txt ">
194 <h3>
195 <span>// </span><?php esc_html_e('Advanced Site Search', 'chatbot'); ?> <span class="qc_wpbot_pro">PRO</span>
196 </h3>
197 <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.', 'chatbot'); ?> </p>
198 </div>
199 </div>
200 </div>
201 </div>
202 </div>
203 <div class="wpb_column vc_column_container vc_col-sm-6">
204 <div class="vc_column-inner ">
205 <div class="wpb_wrapper">
206 <div class="to-icon-box left txt-left">
207 <div class="to-icon-txt fa-4x-txt ">
208 <h3>
209 <span>// </span><?php esc_html_e('Frequently Asked Questions', 'chatbot'); ?>
210 </h3>
211 <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.', 'chatbot'); ?></p>
212 </div>
213 </div>
214 <div class="to-icon-box left txt-left">
215 <div class="to-icon-txt fa-4x-txt ">
216 <h3>
217 <span>// </span>Ask for name, email, phone number etc.
218 </h3>
219 <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.', 'chatbot'); ?></p>
220 </div>
221 </div>
222 <div class="to-icon-box left txt-left">
223 <div class="to-icon-txt fa-4x-txt ">
224 <h3>
225 <span>// </span><?php esc_html_e('Newsletter Subscription', 'chatbot'); ?> <span class="qc_wpbot_pro">PRO</span>
226 </h3>
227 <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!', 'chatbot'); ?> <strong>GDPR compliant</strong> with unsubscribe option from the ChatBot! </p>
228 </div>
229 </div>
230 </div>
231 </div>
232 </div>
233 </div>
234 </div>
235 </div>
236 </div>
237 <div class="panel panel-default">
238 <div class="panel-heading" role="tab" id="headingTwo">
239 <h4 class="panel-title">
240 <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', 'chatbot'); ?> </a>
241 </h4>
242 </div>
243 <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
244 <div class="panel-body">
245 <p><?php esc_html_e('Extend the Start Menu with the', 'chatbot'); ?> <?php esc_html_e('powerful Conversational Forms', 'chatbot'); ?>&nbsp;<?php esc_html_e(' Addon for WPBot. It extends WPBot’s functionality and adds the ability to create', 'chatbot'); ?> <?php esc_html_e('conditional conversations', 'chatbot'); ?> <?php esc_html_e('and/or', 'chatbot'); ?> <?php esc_html_e('forms', 'chatbot'); ?> <?php esc_html_e('for the WPBot. It is a visual,', 'chatbot'); ?> <?php esc_html_e('drag and drop', 'chatbot'); ?><?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', 'chatbot'); ?> <?php esc_html_e('menu driven', 'chatbot'); ?>
246 <?php esc_html_e('conversations', 'chatbot'); ?> <?php esc_html_e('with if else logic', 'chatbot'); ?> . <?php esc_html_e('Conversations or forms can be', 'chatbot'); ?> <?php esc_html_e('eMailed', 'chatbot'); ?> <?php esc_html_e('to you and', 'chatbot'); ?> <?php esc_html_e('saved in the database', 'chatbot'); ?>.
247 </p>
248 <h4><?php esc_html_e('Conversational Form Builder Free or Pro version works with the WPBot Free or Pro versions.', 'chatbot'); ?></h4>
249 <a class="FormBuilder" href="https://wordpress.org/plugins/conversational-forms/" target="_blank"><?php esc_html_e('Download Free Version', 'chatbot'); ?></a>
250 <a class="FormBuilder" href="https://www.quantumcloud.com/products/conversations-and-form-builder/" target="_blank"><?php esc_html_e('Grab the Pro version', 'chatbot'); ?></a>
251 <h4><?php esc_html_e('What Can You Do with it?', 'chatbot'); ?></h4>
252 <p><?php esc_html_e('Conversation Forms allows you to create a wide variety of forms, that might include:', 'chatbot'); ?></p>
253 <ul>
254 <li><?php esc_html_e('Create menu or button driven conversations', 'chatbot'); ?></li>
255 <li><?php esc_html_e('Conditional Menu Driven Conversations', 'chatbot'); ?>
256 <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'chatbot'); ?></span>
257 </li>
258 <li><?php esc_html_e('Standard Contact Forms', 'chatbot'); ?></li>
259 <li><?php esc_html_e('Dynamic,', 'chatbot'); ?> <?php esc_html_e('conditional Forms', 'chatbot'); ?> <?php esc_html_e('– where fields can change based on the user selections', 'chatbot'); ?> <span class="qc_wpbot_pro" style="font-size: 9px;">PRO</span>
260 </li>
261 <li>Job <?php esc_html_e('Application Forms', 'chatbot'); ?>
262 </li>
263 <li>
264 <?php esc_html_e('Lead Capture', 'chatbot'); ?> <?php esc_html_e('Forms', 'chatbot'); ?>
265 </li>
266 <li><?php esc_html_e('Various types of', 'chatbot'); ?> <?php esc_html_e('Calculators', 'chatbot'); ?>
267 <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'chatbot'); ?></span>
268 </li>
269 <li><?php esc_html_e('Feedback', 'chatbot'); ?> Survey<?php esc_html_e(' Forms etc.', 'chatbot'); ?> </li>
270 </ul>
271 </div>
272 </div>
273 </div>
274 <div class="panel panel-default">
275 <div class="panel-heading" role="tab" id="AIheadingThree">
276 <h4 class="panel-title">
277 <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', 'chatbot'); ?> </a>
278 </h4>
279 </div>
280 <div id="AIcollapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="AIheadingThree">
281 <div class="panel-body">
282
283 <div class="section-container">
284 <div class="wpb_column vc_column_container vc_col-sm-6">
285 <div class="wpb_wrapper">
286 <h3 style="font-size: 20px;"><?php esc_html_e('DialogFlow Essential', 'chatbot'); ?></h3> <?php esc_html_e('Intents created in Dialogflow give you the power to build a truly human like, intelligent and comprehensive chatbot. Build any type of Intents and Responses (including rich message responses) directly in DialogFlow and train the bot accordingly. When you create custom intents and responses in DialogFlow, WPBot will automatically 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.', 'chatbot'); ?> <p></p>
287 <p style="text-align: left;"><?php esc_html_e('In addition you can also Enable ', 'chatbot'); ?><?php esc_html_e('Advanced Chained Question and Answers 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.', 'chatbot'); ?> <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'chatbot'); ?></span>
288 </p>
289 <p style="text-align: left;"><?php esc_html_e('WPBot also supports Rich responses using Facebook Messenger integration. This allows you to display Image,', 'chatbot'); ?> Cards<?php esc_html_e(', Quick Text Reply or Custom PayLoad inside the ChatBot window. You can also insert an ', 'chatbot'); ?><?php esc_html_e('image', 'chatbot'); ?><?php esc_html_e(' or', 'chatbot'); ?> <?php esc_html_e('youtube video', 'chatbot'); ?><?php esc_html_e(' link inside the DialogFlow responses and they will be automatically rendered by the WPBot!', 'chatbot'); ?> <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'chatbot'); ?></span>
290 </p>
291 <h3 style="font-size: 20px;"><?php esc_html_e('OpenAI', 'chatbot'); ?></h3><?php esc_html_e('Connect the ChatBot to OpenAI. OpenAI’s API provides access to GPT-3, for a wide variety of natural language tasks. Train your ChatBot with (pre-trained) GPT-3 to answer any user questions using. Select your preferred Engine from DaVinci, Ada, Curie or Babbag! Add your own API key to the addon to connect to your OpenAI account. To go live, you need to apply to OpenAI.', 'chatbot'); ?>
292 </div>
293 </div>
294 <div class="wpb_column vc_column_container vc_col-sm-6">
295 <div class="wpb_wrapper">
296 <h3 style="font-size: 20px;"><?php esc_html_e('DialogFlow CX', 'chatbot'); ?> <span class="qc_wpbot_pro">PRO</span>
297 </h3>
298 <p><?php esc_html_e('WPBot supports', 'chatbot'); ?> <?php esc_html_e('visual workflow builder', 'chatbot'); ?><?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', 'chatbot'); ?> <?php esc_html_e('workflow', 'chatbot'); ?>. </p>
299 <ul>
300 <li>
301 <?php esc_html_e('Console visualization', 'chatbot'); ?><?php esc_html_e(': A new', 'chatbot'); ?><?php esc_html_e('visual builder', 'chatbot'); ?> <?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.', 'chatbot'); ?>
302 </li>
303 <li>
304 <?php esc_html_e('Intuitive and powerful conversation control', 'chatbot'); ?>: <?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.', 'chatbot'); ?>
305 </li>
306 <li>
307 <?php esc_html_e('Flows for agent partitions', 'chatbot'); ?>: <?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.', 'chatbot'); ?>
308 </li>
309 <img style="width:100%" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/dialogflow-cx-1024x676.jpg' ); ?>" alt="Dialogflow CX">
310 </ul>
311 </div>
312 </div>
313 </div>
314
315
316 </div>
317 </div>
318
319
320 <!-- end new Section -->
321
322 </div>
323 </div>
324 </div>
325
326
327
328
329 <div class="wppt-settings-section" id="general_wp_nutshell" style="display:none;">
330 <div class="content form-container qcbot_help_secion">
331 <!-- new Section -->
332 <h3 class="qcld-wpbot-main-tabs-title"><?php echo esc_html__('WPBot – In a Nutshell', 'chatbot'); ?></h3>
333
334 <p><?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.', 'chatbot'); ?></p>
335 <div style="clear:both"></div>
336 <div class="panel panel-default">
337 <div class="panel-heading" role="tab" id="headingOne">
338 <h4 class="panel-title">
339 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="false" aria-controls="collapseOne"> <?php esc_html_e('Intents', 'chatbot'); ?> </a>
340 </h4>
341 </div>
342 <div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
343 <div class="panel-body">
344 <?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.', 'chatbot'); ?></br></br>
345 <?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:', 'chatbot'); ?><b>
346 <?php echo esc_html_e('Simple Text Responses, Conversational form builder, FAQ, Site Search, Send an eMail, Newsletter Subscription, DialogFlow, OpenAI etc.', 'chatbot'); ?></b></br></br>
347 <?php echo esc_html_e('Please check this article for','chatbot'); ?> <span class="wppt_nav_container qcld-plan-tab-text">
348 <a href="#general_int"><?php echo esc_html_e('more details', 'chatbot'); ?></a> </span> <?php echo esc_html_e('on how you can create Intents and Responses.', 'chatbot'); ?>
349 </div>
350 </div>
351 </div>
352 <div class="panel panel-default">
353 <div class="panel-heading" role="tab" id="headingSix">
354 <h4 class="panel-title">
355 <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', 'chatbot'); ?> </a>
356 </h4>
357 </div>
358 <div id="collapseSix" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingSix">
359 <div class="panel-body">
360 <?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', 'chatbot'); ?> <b><?php echo esc_html_e('options to do more', 'chatbot'); ?></b>. <?php echo esc_html_e('From ChatBot->Settings->Start Menu you can drag Available Menu Items (Intents) to the Active Menu Items area.', 'chatbot'); ?></br></br>
361 <?php echo esc_html_e('Besides the built-in Intents, you can also create custom Intents for your Start Menu using','chatbot'); ?> <b><?php echo esc_html_e('Simple Text Responses', 'chatbot'); ?></b> and <b><?php echo esc_html_e('Conversational form builder', 'chatbot'); ?></b>. <?php echo esc_html_e('You can create almost any kind of response with the combinations of the two.', 'chatbot'); ?></br></br>
362 <?php echo esc_html_e('We recommend enabling','chatbot'); ?><b><?php echo esc_html_e(' Show Start Menu After Greetings ', 'chatbot'); ?></b><?php echo esc_html_e('from ChatBot Pro->Settings->General settings.','chatbot'); ?>
363 </div>
364 </div>
365 </div>
366 <div class="panel panel-default">
367 <div class="panel-heading" role="tab" id="headingSeven">
368 <h4 class="panel-title">
369 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseSeven" aria-expanded="false" aria-controls="collapseSeven"> <?php esc_html_e('Settings', 'chatbot'); ?> </a>
370 </h4>
371 </div>
372 <div id="collapseSeven" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingSeven">
373 <div class="panel-body">
374 <?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.', 'chatbot'); ?></br></br>
375 <?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->', 'chatbot'); ?><b><?php echo esc_html_e('Icons and Themes','chatbot'); ?></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.', 'chatbot'); ?>
376 </div>
377 </div>
378 </div>
379 <div class="panel panel-default">
380 <div class="panel-heading" role="tab" id="headingEight">
381 <h4 class="panel-title">
382 <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', 'chatbot'); ?> </a>
383 </h4>
384 </div>
385 <div id="collapseEight" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingEight">
386 <div class="panel-body">
387 <?php echo esc_html_e('You can use the ChatBot in', 'chatbot'); ?> <b><?php echo esc_html_e('ANY language', 'chatbot'); ?></b>. <?php echo esc_html_e('Just translate the texts used by the ChatBot from the WordPress dashboard ChatBot Pro->', 'chatbot'); ?><b><?php echo esc_html_e('Language Center. Multi language', 'chatbot'); ?></b> <?php echo esc_html_e('module is available in the Master License..','chatbot'); ?>
388 </div>
389 </div>
390 </div>
391 <div class="panel panel-default">
392 <div class="panel-heading" role="tab" id="headingtwo">
393 <h4 class="panel-title">
394 <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', 'chatbot'); ?> </a>
395 </h4>
396 </div>
397 <div id="collapsetwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingtwo">
398 <div class="panel-body">
399 <?php echo esc_html_e('You can use ChatBot Pro->Simple Text Responses to create', 'chatbot'); ?> <b><?php echo esc_html_e('text-based responses', 'chatbot'); ?></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', 'chatbot'); ?> <b><?php echo esc_html_e('alternative ', 'chatbot'); ?></b> <?php echo esc_html_e('to DialogFlow or OpenAI.', 'chatbot'); ?>
400 </div>
401 </div>
402 </div>
403 <div class="panel panel-default">
404 <div class="panel-heading" role="tab" id="headingThree">
405 <h4 class="panel-title">
406 <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', 'chatbot'); ?> </a>
407 </h4>
408 </div>
409 <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
410 <div class="panel-body">
411 <?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', 'chatbot'); ?> <b> <?php echo esc_html_e('conditional fields, Calculators, Appointment booking', 'chatbot'); ?></b> <?php echo esc_html_e('etc.', 'chatbot'); ?>
412 </div>
413 </div>
414 </div>
415 <div class="panel panel-default">
416 <div class="panel-heading" role="tab" id="headingten">
417 <h4 class="panel-title">
418 <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)', 'chatbot'); ?> </a>
419 </h4>
420 </div>
421 <div id="collapseten" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingten">
422 <div class="panel-body">
423 <?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', 'chatbot'); ?> <b> <?php echo esc_html_e('automatically ', 'chatbot'); ?></b><?php echo esc_html_e('open up with your message. You can trigger Retargeting for ', 'chatbot'); ?><b> <?php echo esc_html_e('Exit Intent, Exit Intent, Scroll Intent, Auto After “X” Seconds, Checkout', 'chatbot'); ?></b> <?php echo esc_html_e('etc.', 'chatbot'); ?>
424 </div>
425 </div>
426 </div>
427 <div class="panel panel-default">
428 <div class="panel-heading" role="tab" id="headingFour">
429 <h4 class="panel-title">
430 <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', 'chatbot'); ?> </a>
431 </h4>
432 </div>
433 <div id="collapseFour" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFour">
434 <div class="panel-body">
435 <?php echo esc_html_e('If you need a bot that can understand natural language better, use either OpenAI or DialogFlow. Between the two', 'chatbot'); ?> <b> <?php echo esc_html_e('DialogFlow', 'chatbot'); ?></b> <?php echo esc_html_e('is better if you want to', 'chatbot'); ?> <b> <?php echo esc_html_e('provide customer support', 'chatbot'); ?></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', 'chatbot'); ?> <b> <?php echo esc_html_e('effort', 'chatbot'); ?></b>. <?php echo esc_html_e('You may very well achieve what you need using ', 'chatbot'); ?><b> <?php echo esc_html_e('Simple Text Responses', 'chatbot'); ?></b> <?php echo esc_html_e('and/or', 'chatbot'); ?> <b> <?php echo esc_html_e('Conversational form builder', 'chatbot'); ?></b> <?php echo esc_html_e('instead.', 'chatbot'); ?>
436 </div>
437 </div>
438 </div>
439 <div class="panel panel-default">
440 <div class="panel-heading" role="tab" id="headingFive">
441 <h4 class="panel-title">
442 <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', 'chatbot'); ?> </a>
443 </h4>
444 </div>
445 <div id="collapseFive" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFive">
446 <div class="panel-body">
447 <?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.', 'chatbot'); ?> <b><?php echo esc_html_e('Pro version ', 'chatbot'); ?></b><?php echo esc_html_e('users can open a support ticket from here. We are ', 'chatbot'); ?><b><?php echo esc_html_e('friendly ', 'chatbot'); ?></b><?php echo esc_html_e('and always here to help.', 'chatbot'); ?>
448 </div>
449 </div>
450 </div>
451 </div>
452 <!-- end new Section -->
453
454
455 </div>
456 <script type="text/javascript">
457 jQuery(document).ready(function($){
458 var url=document.URL;
459 var arr=url.split('#');
460 var tab_tar = '.'+arr[1];
461 setTimeout(function(){
462 jQuery(tab_tar).trigger('click');
463 }, 500);
464
465 jQuery('.wppt_nav_container .nav-tab').on('click', function(e){
466 e.preventDefault();
467 var section_id = jQuery(this).attr('href');
468 jQuery('.wppt_nav_container .nav-tab').removeClass('nav-tab-active');
469 jQuery(this).addClass('nav-tab-active');
470 jQuery('.wppt-settings-section').hide();
471 jQuery('.wppt-settings-section').each(function(){
472 jQuery(section_id).show();
473 });
474 });
475 })
476 </script>
477 </section>
478 <section id="section-flip-2">
479 <div class="top-section">
480 <div class="row">
481 <div class="col-xs-12">
482 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
483 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
484 </div> -->
485
486 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('General settings', 'chatbot'); ?></h3>
487
488 <?php if( get_option( 'ai_enabled') != 1 && get_option('qcld_openrouter_enabled') !='1' ){ ?>
489 <div class="qcld-general-settings-connection-notic">
490
491 <p>
492 <?php esc_html_e( ' When you activate the plugin, by default only the Site search option will work. Site search displays links to your website pages that contain the keywords in the user query.','chatbot' ); ?>
493 </p>
494 <p>
495 <?php esc_html_e( 'Use ','chatbot' ); ?><a href="<?php echo esc_url(admin_url('admin.php?page=simple-text-response')); ?>"><b><?php esc_html_e( 'Simple Text Responses','chatbot' ); ?></b></a> <?php esc_html_e( ' or','chatbot' ); ?> <a href="<?php echo esc_url(admin_url('admin.php?page=wpbot_openAi')); ?>"><b><?php esc_html_e( 'Connect to an AI service','chatbot' ); ?> </b></a><?php esc_html_e( 'like OpenAI or OpenRouter. Openrouter supports all the major AI models like Anthropic, Google Gemini, Meta, Mistral, Cohere, xAI, Perplexity AI, DeepSeek etc. and also provides Free Credits.','chatbot' ); ?>
496
497 </p>
498
499 <a class="qcld-general-settings-close" href="javascript:void(0);" onclick="this.parentElement.style.display='none'; localStorage.setItem('qcld_general_settings_notice_closed', '1');">×</a>
500 </div>
501 <?php } ?>
502
503 <div class="cxsc-settings-blocks-notic">
504 <p class="d-ib"><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.', 'chatbot'); ?></p>
505 <p class="d-ib"><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 to make it speak French, German, Spanish etc. -> Change Language', 'chatbot'); ?></p>
506 <p class="d-ib"><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.', 'chatbot'); ?></p>
507 </div>
508
509 <b>
510 <!-- <p>Please see the plugin's Help and Debugging section to troubleshoot common issues.</p> -->
511 </b>
512
513
514 <div class="cxsc-settings-blocks">
515 <div class="form-group">
516 <?php
517 $url = get_site_url();
518 $url = wp_parse_url($url);
519 $domain = $url['host'];
520
521 $admin_email = get_option('admin_email');
522 ?>
523 <h4 class="qc-opt-title"><?php esc_html_e('Emails Will be Sent to', 'chatbot'); ?></h4>
524 <input type="text" class="form-control qc-opt-dcs-font"
525 name="qlcd_wp_chatbot_admin_email"
526 value="<?php echo (get_option('qlcd_wp_chatbot_admin_email') != '' ? esc_attr(get_option('qlcd_wp_chatbot_admin_email')) : sanitize_email($admin_email) ) ?>">
527 <label class="qcld_label_width_full" for="disable_wp_chatbot"><?php esc_html_e('Support and Call Back requests will be sent to this address', 'chatbot'); ?> </label>
528 </div>
529 </div>
530 <div class="cxsc-settings-blocks">
531 <div class="form-group">
532 <?php
533 $url = get_site_url();
534 $url = wp_parse_url($url);
535 $domain = $url['host'];
536 $fromEmail = "wordpress@" . $domain;
537 ?>
538 <h4 class="qc-opt-title"><?php esc_html_e('From Email Address', 'chatbot'); ?></h4>
539 <input type="text" class="form-control qc-opt-dcs-font"
540 name="qlcd_wp_chatbot_from_email"
541 value="<?php echo (get_option('qlcd_wp_chatbot_from_email') != '' ? esc_attr( get_option('qlcd_wp_chatbot_from_email')) : sanitize_email($fromEmail)); ?> ">
542 <label class="qcld_label_width_full" for="qlcd_wp_chatbot_from_email"><?php esc_html_e('All emails will be sent from this email address. If you change the From Email Address then please make sure the domain remains the same as where WordPress is installed. Otherwise, the emails may not be received.', 'chatbot'); ?> </label>
543 </div>
544 </div>
545 </div>
546 </div>
547 <div class="row">
548 <div class="col-xs-12">
549 <div class="cxsc-settings-blocks">
550 <div class="form-group">
551 <h4 class="qc-opt-title"> <?php echo esc_html__("Skip Greetings (Asking for Name) and Show Start Menu", 'chatbot'); ?> </h4>
552 <div class="cxsc-settings-blocks">
553 <input value="1" id="skip_wp_greetings" type="checkbox"
554 name="skip_wp_greetings" <?php echo(get_option('skip_wp_greetings') == 1 ? 'checked' : ''); ?>>
555 <label for="skip_wp_greetings"><?php echo esc_html__("Skip Greetings (Asking for Name) and Show Start Menu", 'chatbot'); ?> </label>
556 </div>
557 </div>
558 </div>
559 </div>
560 </div>
561
562 <div class="row">
563 <div class="col-xs-12">
564 <div class="cxsc-settings-blocks">
565 <div class="form-group">
566 <h4 class="qc-opt-title"> <?php echo esc_html__("Skip Greetings (Asking for Name) and Disable Start Menu", 'chatbot'); ?> </h4>
567 <div class="cxsc-settings-blocks">
568 <input value="1" id="skip_wp_greetings_donot_show_menu" type="checkbox"
569 name="skip_wp_greetings_donot_show_menu" <?php echo(get_option('skip_wp_greetings_donot_show_menu') == 1 ? 'checked' : ''); ?>>
570 <label for="skip_wp_greetings_donot_show_menu"><?php echo esc_html__("Skip Greetings (Asking for Name) and Disable Start Menu", 'chatbot'); ?> </label>
571 </div>
572 </div>
573 </div>
574 </div>
575 </div>
576 <div class="row">
577 <div class="col-xs-12">
578 <div class="form-group">
579 <h4 class="qc-opt-title">
580 <?php esc_html_e('Show Start Menu After Greetings', 'chatbot'); ?>
581 </h4>
582 <div class="cxsc-settings-blocks">
583 <input value="1" id="show_menu_after_greetings" type="checkbox"
584 name="show_menu_after_greetings" <?php echo (get_option('show_menu_after_greetings') == 1 ? esc_attr('checked' ): ''); ?>>
585 <label for="show_menu_after_greetings">
586 <?php esc_html_e('Show Start Menu After Greetings', 'chatbot'); ?>
587 </label>
588 </div>
589 </div>
590 </div>
591 </div>
592 <div class="row">
593 <div class="col-xs-12">
594 <div class="form-group">
595 <h4 class="qc-opt-title">
596 <?php esc_html_e('Disable WPBot', 'chatbot'); ?>
597 </h4>
598 <div class="cxsc-settings-blocks">
599 <input value="1" id="disable_wp_chatbot" type="checkbox"
600 name="disable_wp_chatbot" <?php echo (get_option('disable_wp_chatbot') == 1 ? esc_attr('checked'): ''); ?>>
601 <label for="disable_wp_chatbot">
602 <?php esc_html_e('Disable WPBot to Load', 'chatbot'); ?>
603 </label>
604 </div>
605 </div>
606 </div>
607 </div>
608 <div class="row">
609 <div class="col-xs-12">
610 <div class="form-group">
611 <h4 class="qc-opt-title">
612 <?php esc_html_e('Disable WPbot on Mobile Device', 'chatbot'); ?>
613 </h4>
614 <div class="cxsc-settings-blocks">
615 <input value="1" id="disable_wp_chatbot_on_mobile" type="checkbox"
616 name="disable_wp_chatbot_on_mobile" <?php echo (get_option('disable_wp_chatbot_on_mobile') == 1 ? esc_attr('checked' ) : ''); ?>>
617 <label for="disable_wp_chatbot_on_mobile">
618 <?php esc_html_e('Disable WpBot to Load on Mobile Device', 'chatbot'); ?>
619 </label>
620 </div>
621 </div>
622 </div>
623 </div>
624 <div class="row">
625 <div class="col-xs-12">
626 <div class="form-group">
627 <h4 class="qc-opt-title">
628 <?php esc_html_e('Enable RTL', 'chatbot'); ?>
629 </h4>
630 <div class="cxsc-settings-blocks">
631 <input value="1" id="enable_wp_chatbot_rtl" type="checkbox"
632 name="enable_wp_chatbot_rtl" <?php echo (get_option('enable_wp_chatbot_rtl') == 1 ? esc_attr('checked' ): ''); ?>>
633 <label for="enable_wp_chatbot_rtl">
634 <?php esc_html_e('Enable RTL (Right to Left language) Support for Chat', 'chatbot'); ?>
635 </label>
636 </div>
637 </div>
638 </div>
639 </div>
640 <div class="row">
641 <div class="col-xs-12">
642 <div class="form-group">
643 <h4 class="qc-opt-title">
644 <?php esc_html_e('Open All Links in a New Window', 'chatbot'); ?>
645 </h4>
646 <div class="cxsc-settings-blocks">
647 <input value="1" id="open_links_new_window" type="checkbox" name="open_links_new_window" <?php echo (get_option('open_links_new_window') == 1 ? esc_attr('checked'): ''); ?>>
648 <label for="open_links_new_window">
649 <?php esc_html_e('Open All Links in a New Window', 'chatbot'); ?>
650 </label>
651 </div>
652 </div>
653 </div>
654 </div>
655
656 <div class="row">
657 <div class="col-xs-12">
658 <div class="form-group">
659 <h4 class="qc-opt-title"><?php esc_html_e('Bot Response Delay', 'chatbot'); ?> </h4>
660 <div class="cxsc-settings-blocks">
661 <select name="wpbot_preloading_time" id="wpbot_preloading_time">
662 <?php $current_preloading_time = get_option('wpbot_preloading_time'); ?>
663 <option value="100" <?php selected($current_preloading_time, '100'); ?>><?php esc_html_e('0 Second', 'chatbot'); ?></option>
664 <option value="500" <?php selected($current_preloading_time, '500'); ?>><?php esc_html_e('0.5 Second', 'chatbot'); ?></option>
665 <option value="1000" <?php selected($current_preloading_time, '1000'); ?>><?php esc_html_e('1 Second', 'chatbot'); ?></option>
666 <option value="2000" <?php selected($current_preloading_time, '2000'); ?>><?php esc_html_e('2 Second', 'chatbot'); ?></option>
667 <option value="3000" <?php selected($current_preloading_time, '3000'); ?>><?php esc_html_e('3 Second', 'chatbot'); ?></option>
668 </select>
669 <label class="qcld_label_width_full" for="wpbot_preloading_time"><?php esc_html_e('Bot Response Delay', 'chatbot'); ?> </label>
670 </div>
671 </div>
672 </div>
673 </div>
674 <div class="row">
675 <div class="col-xs-12">
676 <div class="form-group">
677 <h4 class="qc-opt-title">
678 <?php esc_html_e('Override WPBot Icon\'s Position', 'chatbot'); ?>
679 </h4>
680 <div class="cxsc-settings-blocks cxsc-settings-blocks-font-resize">
681 <?php
682 $qcld_wb_chatbot_position_x = get_option('wp_chatbot_position_x');
683 if ((!isset($qcld_wb_chatbot_position_x)) || ($qcld_wb_chatbot_position_x == "")) {
684 $qcld_wb_chatbot_position_x = __("120", 'chatbot');
685 }
686 $qcld_wb_chatbot_position_y = get_option('wp_chatbot_position_y');
687 if ((!isset($qcld_wb_chatbot_position_y)) || ($qcld_wb_chatbot_position_y == "")) {
688 $qcld_wb_chatbot_position_y = __("120", 'chatbot');
689 }
690 ?>
691 <input type="number" class="qc-opt-dcs-font"
692 name="wp_chatbot_position_x"
693 value="<?php echo esc_html($qcld_wb_chatbot_position_x);?>"
694 placeholder="<?php esc_html_e('From Right In ', 'chatbot'); ?>">
695 <span class="qc-opt-dcs-font">
696 <?php esc_html_e('From Right In px', 'chatbot'); ?>
697 </span>
698 <input type="number" class="qc-opt-dcs-font"
699 name="wp_chatbot_position_y"
700 value="<?php echo esc_html($qcld_wb_chatbot_position_y); ?>"
701 placeholder="<?php esc_html_e('From Bottom In Px', 'chatbot'); ?> ">
702 <span class="qc-opt-dcs-font">
703 <?php esc_html_e('From Bottom In px', 'chatbot'); ?>
704 </span> </div>
705 </div>
706 <!--.col-sm-12-->
707 </div>
708 <!-- row-->
709 </div>
710 <div class="row">
711 <div class="col-xs-12">
712
713 <div class="panel panel-default">
714 <div class="panel-heading" role="tab" id="headingTwoControl">
715 <h4 class="panel-title">
716 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwoControl" aria-expanded="false" aria-controls="collapseTwoControl"> <?php esc_html_e('WPBot Loading Control Options', 'chatbot'); ?> </a>
717 </h4>
718 </div>
719 <div id="collapseTwoControl" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwoControl">
720 <div class="panel-body">
721 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('WPBot Loading Control Options', 'chatbot'); ?></h3>
722 <div class="cxsc-settings-blocks cxsc-settings-blocks-style">
723 <div class="row">
724 <div class="col-sm-4 text-right"> <span class="qc-opt-title-font">
725 <?php esc_html_e('Show on Home Page', 'chatbot'); ?>
726 </span> </div>
727 <div class="col-sm-8">
728 <label class="radio-inline ">
729 <input id="wp-chatbot-show-home-page" type="radio"
730 name="wp_chatbot_show_home_page"
731 value="on" <?php echo(get_option('wp_chatbot_show_home_page') == 'on' ? esc_attr('checked' ): ''); ?>>
732 <?php esc_html_e('YES', 'chatbot'); ?>
733 </label>
734 <label class="radio-inline ">
735 <input id="wp-chatbot-show-home-page" type="radio"
736 name="wp_chatbot_show_home_page"
737 value="off" <?php echo(get_option('wp_chatbot_show_home_page') == 'off' ? esc_attr('checked' ): ''); ?>>
738 <?php esc_html_e('NO', 'chatbot'); ?>
739 </label>
740 </div>
741 </div>
742 <!-- row-->
743 <div class="row">
744 <div class="col-sm-4 text-right"> <span class="qc-opt-title-font">
745 <?php esc_html_e('Show on blog posts', 'chatbot'); ?>
746 </span> </div>
747 <div class="col-sm-8">
748 <label class="radio-inline ">
749 <input class="wp-chatbot-show-posts" type="radio"
750 name="wp_chatbot_show_posts"
751 value="on" <?php echo(get_option('wp_chatbot_show_posts') == 'on' ? esc_attr('checked' ): ''); ?>>
752 <?php esc_html_e('YES', 'chatbot'); ?>
753 </label>
754 <label class="radio-inline ">
755 <input class="wp-chatbot-show-posts" type="radio"
756 name="wp_chatbot_show_posts"
757 value="off" <?php echo(get_option('wp_chatbot_show_posts') == 'off' ? esc_attr('checked' ): ''); ?>>
758 <?php esc_html_e('NO', 'chatbot'); ?>
759 </label>
760 </div>
761 </div>
762 <!-- row-->
763 <div class="row">
764 <div class="col-md-4 text-right"> <span class="qc-opt-title-font">
765 <?php esc_html_e('Show on pages', 'chatbot'); ?>
766 </span> </div>
767 <div class="col-md-8">
768 <label class="radio-inline ">
769 <input class="wp-chatbot-show-pages" type="radio"
770 name="wp_chatbot_show_pages"
771 value="on" <?php echo(get_option('wp_chatbot_show_pages') == 'on' ? esc_attr('checked' ): ''); ?>>
772 <?php esc_html_e('All Pages', 'chatbot'); ?>
773 </label>
774 <label class="radio-inline ">
775 <input class="wp-chatbot-show-pages" type="radio"
776 name="wp_chatbot_show_pages"
777 value="off" <?php echo(get_option('wp_chatbot_show_pages') == 'off' ? esc_attr('checked' ): ''); ?>>
778 <?php esc_html_e('Selected Pages Only ', 'chatbot'); ?>
779 </label>
780 <div id="wp-chatbot-show-pages-list">
781 <ul class="checkbox-list">
782 <?php
783 $wp_chatbot_pages = get_pages();
784 $wp_chatbot_select_pages = maybe_unserialize(get_option('wp_chatbot_show_pages_list'));
785 foreach ($wp_chatbot_pages as $wp_chatbot_page) {
786 ?>
787 <li>
788 <input id="<?php echo esc_attr('wp_chatbot_show_page_'. $wp_chatbot_page->ID ); ?>"
789 type="checkbox"
790 name="wp_chatbot_show_pages_list[]"
791 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) {
792 echo esc_attr('checked');
793 } ?> >
794 <label for="wp_chatbot_show_page_<?php echo esc_attr($wp_chatbot_page->ID); ?>"> <?php echo esc_html($wp_chatbot_page->post_title); ?></label>
795 </li>
796 <?php } ?>
797 </ul>
798 </div>
799 </div>
800 </div>
801 <!--row-->
802 <div class="row">
803 <div class="col-sm-4 text-right"> <span class="qc-opt-title-font">
804 <?php esc_html_e('Exclude from Custom Post', 'chatbot'); ?>
805 </span></div>
806 <div class="col-sm-8">
807 <div id="wp-chatbot-exclude-post-list" class="wp-chatbot-exclude-post-list">
808 <ul class="checkbox-list">
809 <?php
810 $get_cpt_args = array(
811 'public' => true,
812 '_builtin' => false
813 );
814
815 $post_types = get_post_types( $get_cpt_args, 'object' );
816 $wp_chatbot_exclude_post_list = maybe_unserialize(get_option('wp_chatbot_exclude_post_list'));
817
818 foreach ($post_types as $post_type) {
819 ?>
820 <li>
821 <input
822 id="<?php echo esc_attr( 'wp_chatbot_exclude_post_'. $post_type->name ); ?>"
823 type="checkbox"
824 name="wp_chatbot_exclude_post_list[]"
825 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) {
826 echo esc_attr('checked');
827 } ?> >
828 <label
829 for="wp_chatbot_exclude_post_<?php echo esc_attr($post_type->name); ?>"> <?php echo esc_html($post_type->name); ?></label>
830 </li>
831 <?php } ?>
832 </ul>
833 </div>
834 </div>
835 </div>
836 </div>
837
838
839
840
841 </div>
842 </div>
843 </div>
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860 <!-- cxsc-settings-blocks-->
861 </div>
862 <!-- col-xs-12-->
863 </div>
864 <!-- row-->
865
866 </div>
867 <!-- top-section-->
868 </section>
869 <section id="section-flip-5">
870 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
871 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
872 </div> -->
873 <div class="wp-chatbot-language-center-summmery"> </div>
874 <ul class="nav nav-tabs">
875 <li class="active"><a data-toggle="tab" href="#wp-chatbot-lng-general">
876 <?php esc_html_e('General', 'chatbot'); ?>
877 </a></li>
878 <li><a data-toggle="tab" href="#wp-chatbot-lng-support">
879 <?php esc_html_e('FAQ', 'chatbot'); ?>
880 </a></li>
881 <li><a data-toggle="tab" href="#wp-chatbot-lng-reserve-keyword">
882 <?php esc_html_e('ChatBot Keywords', 'chatbot'); ?>
883 </a></li>
884 </ul>
885 <div class="tab-content">
886 <div id="wp-chatbot-lng-general" class="tab-pane fade in active">
887 <div class="top-section">
888 <div class="row">
889 <div class="col-xs-12" id="wp-chatbot-language-section">
890 <p style="color: red"><b><?php esc_html_e('You can change ALL the texts used by the ChatBot to YOUR OWN language here (like Spanish, French etc.).', 'chatbot' ); ?></b></p>
891 <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).', 'chatbot' ); ?></p>
892 <p><?php esc_html_e('You could use &lt;br&gt; tag for line break.', 'chatbot' ); ?></p>
893 <div class="form-group">
894 <h4 class="qc-opt-title">
895 <?php esc_html_e('Your Company or Website Name', 'chatbot'); ?>
896 </h4>
897 <input type="text" class="form-control qc-opt-dcs-font"
898 name="qlcd_wp_chatbot_host"
899 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_host') != '' ? get_option('qlcd_wp_chatbot_host') : 'Our Store') ); ?> ">
900 </div>
901 <div class="form-group">
902 <h4 class="qc-opt-title">
903 <?php esc_html_e('Agent name', 'chatbot'); ?>
904 </h4>
905 <input type="text" class="form-control qc-opt-dcs-font"
906 name="qlcd_wp_chatbot_agent"
907 value="<?php echo (get_option('qlcd_wp_chatbot_agent') != '' ? esc_attr(get_option('qlcd_wp_chatbot_agent')) : 'Carrie'); ?>">
908 </div>
909 <div class="form-group">
910 <h4 class="qc-opt-title">
911 <?php esc_html_e('User demo name', 'chatbot'); ?>
912 </h4>
913 <input type="text" class="form-control qc-opt-dcs-font"
914 name="qlcd_wp_chatbot_shopper_demo_name"
915 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_shopper_demo_name') != '' ? get_option('qlcd_wp_chatbot_shopper_demo_name') : 'Amigo')); ?> ">
916 </div>
917 <div class="form-group">
918 <h4 class="qc-opt-title">
919 <?php esc_html_e('YES', 'chatbot'); ?>
920 </h4>
921 <input type="text" class="form-control qc-opt-dcs-font"
922 name="qlcd_wp_chatbot_yes"
923 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_yes') != '' ? get_option('qlcd_wp_chatbot_yes') : 'YES')); ?>">
924 </div>
925 <div class="form-group">
926 <h4 class="qc-opt-title">
927 <?php esc_html_e('NO', 'chatbot'); ?>
928 </h4>
929 <input type="text" class="form-control qc-opt-dcs-font"
930 name="qlcd_wp_chatbot_no"
931 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_no') != '' ? get_option('qlcd_wp_chatbot_no') : 'NO')); ?>">
932 </div>
933 <div class="form-group">
934 <h4 class="qc-opt-title">
935 <?php esc_html_e('OR', 'chatbot'); ?>
936 </h4>
937 <input type="text" class="form-control qc-opt-dcs-font"
938 name="qlcd_wp_chatbot_or"
939 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_or') != '' ? get_option('qlcd_wp_chatbot_or') : 'OR')); ?>">
940 </div>
941 <div class="form-group">
942 <h4 class="qc-opt-title">
943 <?php esc_html_e('Sorry', 'chatbot'); ?>
944 </h4>
945 <input type="text" class="form-control qc-opt-dcs-font "
946 name="qlcd_wp_chatbot_sorry"
947 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sorry') != '' ? get_option('qlcd_wp_chatbot_sorry') : 'Sorry')); ?>">
948 </div>
949 <div class="form-group">
950 <?php
951 $agent_join_options = maybe_unserialize(get_option('qlcd_wp_chatbot_agent_join'));
952 $agent_join_option = 'qlcd_wp_chatbot_agent_join';
953 $agent_join_text = __('has joined the conversation', 'chatbot');
954 $this->qcld_wb_chatbot_dynamic_multi_option($agent_join_options, $agent_join_option, $agent_join_text);
955 ?>
956 </div>
957 </div>
958 <!--col-xs-12-->
959 <div class="col-xs-12" id="wp-chatbot-language-section">
960 <h4 class="text-success">
961 <?php esc_html_e(' Message setting for Greetings: ', 'chatbot'); ?>
962 </h4>
963 <div class="form-group">
964 <?php
965 $welcome_to_options = maybe_unserialize(get_option('qlcd_wp_chatbot_welcome'));
966 $welcome_to_option = 'qlcd_wp_chatbot_welcome';
967 $welcome_to_text = esc_html('Welcome to');
968 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_to_options, $welcome_to_option, $welcome_to_text);
969 ?>
970 </div>
971 <div class="form-group">
972 <?php
973 $welcome_back_options = maybe_unserialize(get_option('qlcd_wp_chatbot_welcome_back'));
974 $welcome_back_option = 'qlcd_wp_chatbot_welcome_back';
975 $welcome_back_text = esc_html('Welcome back');
976 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_back_options, $welcome_back_option, $welcome_back_text);
977 ?>
978 </div>
979 <div class="form-group">
980 <?php
981 $back_to_start_options = maybe_unserialize(get_option('qlcd_wp_chatbot_back_to_start'));
982 $back_to_start_option = 'qlcd_wp_chatbot_back_to_start';
983 $back_to_start_text = esc_html('Back to Start');
984 $this->qcld_wb_chatbot_dynamic_multi_option($back_to_start_options, $back_to_start_option, $back_to_start_text);
985 ?>
986 </div>
987 <div class="form-group">
988 <?php
989 $hi_there_options = maybe_unserialize(get_option('qlcd_wp_chatbot_hi_there'));
990 $hi_there_option = 'qlcd_wp_chatbot_hi_there';
991 $hi_there_text = esc_html('Hi There!');
992 $this->qcld_wb_chatbot_dynamic_multi_option($hi_there_options, $hi_there_option, $hi_there_text);
993 ?>
994 </div>
995 <div class="form-group">
996 <?php
997 $hello_options = maybe_unserialize(get_option('qlcd_wp_chatbot_hello'));
998 $hello_option = 'qlcd_wp_chatbot_hello';
999 $hello_text = esc_html('Hello');
1000 $this->qcld_wb_chatbot_dynamic_multi_option($hello_options, $hello_option, $hello_text);
1001 ?>
1002 </div>
1003 <div class="form-group">
1004 <?php
1005 $asking_name_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_name'));
1006 $asking_name_option = 'qlcd_wp_chatbot_asking_name';
1007 $asking_name_text = esc_html('May I know your name?');
1008 $this->qcld_wb_chatbot_dynamic_multi_option($asking_name_options, $asking_name_option, $asking_name_text);
1009 ?>
1010 </div>
1011 <div class="form-group">
1012 <?php
1013 $i_am_options = maybe_unserialize(get_option('qlcd_wp_chatbot_i_am'));
1014 $i_am_option = 'qlcd_wp_chatbot_i_am';
1015 $i_am_text = esc_html('I am');
1016 $this->qcld_wb_chatbot_dynamic_multi_option($i_am_options, $i_am_option, $i_am_text);
1017 ?>
1018 </div>
1019 <div class="form-group">
1020 <?php
1021 $name_greeting_options = maybe_unserialize(get_option('qlcd_wp_chatbot_name_greeting'));
1022 $name_greeting_option = 'qlcd_wp_chatbot_name_greeting';
1023 $name_greeting_text = esc_html('Nice to meet you');
1024 $this->qcld_wb_chatbot_dynamic_multi_option($name_greeting_options, $name_greeting_option, $name_greeting_text);
1025 ?>
1026 </div>
1027 <div class="form-group">
1028 <?php
1029 $wildcard_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_wildcard_msg'));
1030 $wildcard_msg_option = 'qlcd_wp_chatbot_wildcard_msg';
1031 $wildcard_msg_text = esc_html('I am here to find what you need. What are you looking for?');
1032 $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_msg_options, $wildcard_msg_option, $wildcard_msg_text);
1033 ?>
1034 </div>
1035 <div class="form-group">
1036 <?php
1037 $empty_filter_msgs = maybe_unserialize(get_option('qlcd_wp_chatbot_empty_filter_msg'));
1038 $empty_filter_msg = 'qlcd_wp_chatbot_empty_filter_msg';
1039 $empty_filter_msg_text = esc_html('Sorry, I did not understand that');
1040 $this->qcld_wb_chatbot_dynamic_multi_option($empty_filter_msgs, $empty_filter_msg, $empty_filter_msg_text);
1041 ?>
1042 </div>
1043 <div class="form-group">
1044 <?php
1045 $qlcd_wp_chatbot_did_you_mean = maybe_unserialize(get_option('qlcd_wp_chatbot_did_you_mean'));
1046 $qlcd_wp_chatbot_did_you_means = 'qlcd_wp_chatbot_did_you_mean';
1047 $wp_chatbot_no_result_text = esc_html('Did you mean?');
1048 $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_did_you_mean, $qlcd_wp_chatbot_did_you_means, $wp_chatbot_no_result_text);
1049 ?>
1050 </div>
1051 <h4 class="text-success">
1052 <?php esc_html_e('Message setting for Editor Box ', 'chatbot'); ?>
1053 </h4>
1054 <div class="form-group">
1055 <?php
1056 $is_typing_options = maybe_unserialize(get_option('qlcd_wp_chatbot_is_typing'));
1057 $is_typing_option = 'qlcd_wp_chatbot_is_typing';
1058 $is_typing_text = esc_html('is typing...');
1059 $this->qcld_wb_chatbot_dynamic_multi_option($is_typing_options, $is_typing_option, $is_typing_text);
1060 ?>
1061 </div>
1062 <div class="form-group">
1063 <?php
1064 $send_a_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_send_a_msg'));
1065 $send_a_msg_option = 'qlcd_wp_chatbot_send_a_msg';
1066 $send_a_msg_text = esc_html('Send a message');
1067 $this->qcld_wb_chatbot_dynamic_multi_option($send_a_msg_options, $send_a_msg_option, $send_a_msg_text);
1068 ?>
1069 </div>
1070 <div class="form-group">
1071 <?php
1072 $choose_option_options = maybe_unserialize(get_option('qlcd_wp_chatbot_choose_option'));
1073 $choose_option_option = 'qlcd_wp_chatbot_choose_option';
1074 $choose_option_text = esc_html('Choose an option');
1075 $this->qcld_wb_chatbot_dynamic_multi_option($choose_option_options, $choose_option_option, $choose_option_text);
1076 ?>
1077 </div>
1078 <div class="form-group">
1079 <?php
1080 $asking_email_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_email'));
1081 $asking_email_option = 'qlcd_wp_chatbot_asking_email';
1082 $asking_email_text = esc_html('Please provide your email address');
1083 $this->qcld_wb_chatbot_dynamic_multi_option($asking_email_options, $asking_email_option, $asking_email_text);
1084 ?>
1085 </div>
1086 <div class="form-group">
1087 <?php
1088 $invalid_email_options = maybe_unserialize(get_option('qlcd_wp_chatbot_invalid_email'));
1089 $invalid_email_option = 'qlcd_wp_chatbot_invalid_email';
1090 $invalid_email_text = esc_html('Sorry, Email address is not valid! Please provide a valid email.');
1091 $this->qcld_wb_chatbot_dynamic_multi_option($invalid_email_options, $invalid_email_option, $invalid_email_text);
1092 ?>
1093 </div>
1094 <div class="form-group">
1095 <?php
1096 $asking_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_msg'));
1097 $asking_msg_option = 'qlcd_wp_chatbot_asking_msg';
1098 $asking_msg_text = esc_html('Thank you for email address. Please write your message now.');
1099 $this->qcld_wb_chatbot_dynamic_multi_option($asking_msg_options, $asking_msg_option, $asking_msg_text);
1100 ?>
1101 </div>
1102 <div class="form-group">
1103 <h4 class="qc-opt-title">
1104 <?php esc_html_e('WPBot Support Mail Subject', 'chatbot'); ?>
1105 </h4>
1106 <input type="text" class="form-control qc-opt-dcs-font"
1107 name="qlcd_wp_chatbot_email_sub"
1108 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_email_sub') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_sub')) : 'Support Email Subject') ); ?>">
1109 </div>
1110 <div class="form-group">
1111 <?php
1112 $support_option_again_options = maybe_unserialize(get_option('qlcd_wp_chatbot_support_option_again'));
1113 $support_option_again_option = 'qlcd_wp_chatbot_support_option_again';
1114 $support_option_again_text = esc_html('You may choose option from below.');
1115 $this->qcld_wb_chatbot_dynamic_multi_option($support_option_again_options, $support_option_again_option, $support_option_again_text);
1116 ?>
1117 </div>
1118 <div class="form-group">
1119 <h4 class="qc-opt-title">
1120 <?php esc_html_e('Your email was sent successfully.Thanks!', 'chatbot'); ?>
1121 </h4>
1122 <input type="text" class="form-control qc-opt-dcs-font"
1123 name="qlcd_wp_chatbot_email_sent"
1124 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!')); ?> ">
1125 </div>
1126 <div class="form-group">
1127 <h4 class="qc-opt-title">
1128 <?php esc_html_e('Sorry! I could not send your mail! Please contact the webmaster.', 'chatbot'); ?>
1129 </h4>
1130 <input type="text" class="form-control qc-opt-dcs-font "
1131 name="qlcd_wp_chatbot_email_fail"
1132 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')); ?> ">
1133 </div>
1134
1135 <div class="form-group">
1136 <h4 class="qc-opt-title">
1137 <?php esc_html_e('Check the relevant pages for more details and up to date information:', 'chatbot'); ?>
1138 </h4>
1139 <input type="text" class="form-control qc-opt-dcs-font "
1140 name="qlcd_wp_chatbot_relevant_post_link_openai"
1141 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_relevant_post_link_openai') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_relevant_post_link_openai')) : 'Check the relevant pages for more details and up to date information:')); ?> ">
1142 </div>
1143
1144 <div class="form-group">
1145 <?php
1146 $asking_phone_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_phone'));
1147 $asking_phone_option = 'qlcd_wp_chatbot_asking_phone';
1148 $asking_phone_text = esc_html('Please provide your Phone number');
1149 $this->qcld_wb_chatbot_dynamic_multi_option($asking_phone_options, $asking_phone_option, $asking_phone_text);
1150 ?>
1151 </div>
1152 <div class="form-group">
1153 <?php
1154 $thanks_phone_options = maybe_unserialize(get_option('qlcd_wp_chatbot_thank_for_phone'));
1155 $thanks_phone_option = 'qlcd_wp_chatbot_thank_for_phone';
1156 $thanks_phone_text = esc_html('Thank you for Phone number');
1157 $this->qcld_wb_chatbot_dynamic_multi_option($thanks_phone_options, $thanks_phone_option, $thanks_phone_text);
1158 ?>
1159 </div>
1160 <div class="form-group">
1161 <h4 class="qc-opt-title">
1162 <?php esc_html_e('Thanks for your phone number. We will call you ASAP!', 'chatbot'); ?>
1163 </h4>
1164 <input type="text" class="form-control qc-opt-dcs-font"
1165 name="qlcd_wp_chatbot_phone_sent"
1166 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!')); ?> ">
1167 </div>
1168 <div class="form-group">
1169 <h4 class="qc-opt-title">
1170 <?php esc_html_e('Sorry! I could not collect phone number! Please contact the webmaster.', 'chatbot'); ?>
1171 </h4>
1172 <input type="text" class="form-control qc-opt-dcs-font"
1173 name="qlcd_wp_chatbot_phone_fail"
1174 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!')); ?> ">
1175 </div>
1176
1177 <div class="form-group">
1178 <h4 class="qc-opt-title">
1179 <?php esc_html_e('Please enter your keyword for searching', 'chatbot'); ?>
1180 </h4>
1181 <input type="text" class="form-control qc-opt-dcs-font"
1182 name="qlcd_wp_chatbot_asking_search_keyword"
1183 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')); ?> ">
1184 </div>
1185 <div class="form-group">
1186 <h4 class="qc-opt-title">
1187 <?php esc_html_e('We have found these results', 'chatbot'); ?>
1188 </h4>
1189 <input type="text" class="form-control qc-opt-dcs-font"
1190 name="qlcd_wp_chatbot_found_result"
1191 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')); ?> ">
1192 </div>
1193 <div class="form-group">
1194 <?php
1195 $qlcd_wp_chatbot_product_fails = maybe_unserialize(get_option('qlcd_wp_chatbot_product_fail'));
1196 $qlcd_wp_chatbot_product_fail = 'qlcd_wp_chatbot_product_fail';
1197 $fail_text = esc_html('Sorry, I found nothing');
1198 $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_product_fails, $qlcd_wp_chatbot_product_fail, $fail_text);
1199 ?>
1200 </div>
1201 </div>
1202 </div>
1203 </div>
1204 </div>
1205 <div id="wp-chatbot-lng-support" class="tab-pane fade">
1206 <div class="top-section">
1207 <div class="row">
1208 <div class="col-xs-12" id="wp-chatbot-language-section">
1209 <div class="form-group">
1210 <?php
1211 $support_welcome_options = maybe_unserialize(get_option('qlcd_wp_chatbot_support_welcome'));
1212 $support_welcome_option = 'qlcd_wp_chatbot_support_welcome';
1213 $support_welcome_text = esc_html('Welcome to FAQ Section');
1214 $this->qcld_wb_chatbot_dynamic_multi_option($support_welcome_options, $support_welcome_option, $support_welcome_text);
1215 ?>
1216 </div>
1217
1218
1219
1220 </div>
1221 </div>
1222 </div>
1223 </div>
1224 <div id="wp-chatbot-lng-reserve-keyword" class="tab-pane fade">
1225 <div class="top-section">
1226 <div class="row">
1227 <div class="col-xs-12" id="wp-chatbot-language-section">
1228 <div class="form-group">
1229 <h4 class="qc-opt-title">
1230 <?php esc_html_e('Start Keyword', 'chatbot'); ?>
1231 </h4>
1232 <input type="text" class="form-control qc-opt-dcs-font"
1233 name="qlcd_wp_chatbot_sys_key_help"
1234 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help'): 'start')) ; ?> ">
1235 </div>
1236 <div class="form-group">
1237 <h4 class="qc-opt-title"><strong>
1238 <?php esc_html_e('FAQ', 'chatbot'); ?>
1239 </strong>
1240 <?php esc_html_e('Keyword', 'chatbot'); ?>
1241 </h4>
1242 <input type="text" class="form-control qc-opt-dcs-font"
1243 name="qlcd_wp_chatbot_sys_key_support"
1244 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq')); ?> ">
1245 </div>
1246 <div class="form-group">
1247 <h4 class="qc-opt-title"><strong>
1248 <?php esc_html_e('Converstion History Clear', 'chatbot'); ?>
1249 </strong>
1250 <?php esc_html_e('Keyword', 'chatbot'); ?>
1251 </h4>
1252 <input type="text" class="form-control qc-opt-dcs-font"
1253 name="qlcd_wp_chatbot_sys_key_reset"
1254 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset')); ?> ">
1255 </div>
1256 <div class="form-group">
1257 <h4 class="qc-opt-title"><strong>
1258 <?php esc_html_e('eMail', 'chatbot'); ?>
1259 </strong>
1260 <?php esc_html_e('Keyword to Send eMail', 'chatbot'); ?>
1261 </h4>
1262 <input type="text" class="form-control qc-opt-dcs-font"
1263 name="qlcd_wp_chatbot_sys_key_email"
1264 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_email') != '' ? get_option('qlcd_wp_chatbot_sys_key_email'): 'email')); ?>">
1265 </div>
1266 <div class="form-group">
1267 <?php
1268 $help_welcome_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_help_welcome')));
1269 $help_welcome_option = 'qlcd_wp_chatbot_help_welcome';
1270 $help_welcome_text = esc_html('Welcome to Help Section');
1271 $this->qcld_wb_chatbot_dynamic_multi_option($help_welcome_options, $help_welcome_option, $help_welcome_text);
1272 ?>
1273 </div>
1274 <div class="form-group">
1275 <?php
1276 $help_msg_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_help_msg')));
1277 $help_msg_option = 'qlcd_wp_chatbot_help_msg';
1278 $help_msg_text = '<b>Type and Hit Enter</b><br><ul><li> <b>start</b> to Get back to the main menu. </li><li> <b>faq</b> for FAQ. </li><li> <b>email </b> to send eMail </li><li> <b>reset</b> to restart the chat</li></ul>';
1279 $this->qcld_wb_chatbot_dynamic_multi_option($help_msg_options, $help_msg_option, $help_msg_text);
1280 ?>
1281 </div>
1282 <div class="form-group">
1283 <?php
1284 $reset_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_reset')));
1285 $reset_option = 'qlcd_wp_chatbot_reset';
1286 $reset_text = esc_html('Do you want to clear our chat history and start over?' );
1287 $this->qcld_wb_chatbot_dynamic_multi_option($reset_options, $reset_option, $reset_text);
1288 ?>
1289 </div>
1290 </div>
1291 <!-- col-xs-12-->
1292 </div>
1293 <!-- row-->
1294 </div>
1295 <!-- top-section-->
1296 </div>
1297 </div>
1298 <!-- tab-content-->
1299 </section>
1300 <section id="section-flip-3">
1301 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
1302 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
1303 </div> -->
1304 <ul class="nav nav-tabs">
1305 <li class="active"><a data-toggle="tab" href="#wp-chatbot-icon-theme-settings"><?php esc_html_e('Icons & Themes', 'chatbot'); ?></a></li>
1306 <li><a data-toggle="tab" href="#wp-chatbot-custom-color-options"><?php esc_html_e('Custom Style Options', 'chatbot'); ?></a></li>
1307 </ul>
1308 <div class="tab-content">
1309 <div id="wp-chatbot-icon-theme-settings" class="tab-pane fade in active">
1310 <div class="top-section">
1311 <div class="row">
1312 <div class="col-xs-12">
1313
1314 <h3 class="qcld-wpbot-main-tabs-title">
1315 <?php esc_html_e('WPBot Icon', 'chatbot'); ?>
1316 </h3>
1317 <div class="cxsc-settings-blocks">
1318 <ul class="radio-list">
1319
1320 <li>
1321 <label for="wp_chatbot_icon_0" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-0.png" alt="">
1322 <input id="wp_chatbot_icon_0" type="radio"
1323 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-0.png' ? esc_attr('checked' ): ''); ?>
1324 value="<?php echo esc_attr('icon-0.png'); ?>">
1325 <?php esc_html_e('Icon - 0', 'chatbot'); ?>
1326 </label>
1327 </li>
1328 <li>
1329 <label for="wp_chatbot_icon_1" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-1.png"
1330 alt="">
1331 <input id="wp_chatbot_icon_1" type="radio"
1332 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-1.png' ? esc_attr('checked' ): ''); ?>
1333 value="<?php echo esc_attr('icon-1.png'); ?>">
1334 <?php esc_html_e('Icon - 1', 'chatbot'); ?>
1335 </label>
1336 </li>
1337 <li>
1338 <label for="wp_chatbot_icon_2" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-2.png"
1339 alt="">
1340 <input id="wp_chatbot_icon_2" type="radio"
1341 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-2.png' ? esc_attr('checked' ): ''); ?>
1342 value="<?php echo esc_attr('icon-2.png'); ?>">
1343 <?php esc_html_e('Icon - 2', 'chatbot'); ?>
1344 </label>
1345 </li>
1346 <li>
1347 <label for="wp_chatbot_icon_3" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-3.png"
1348 alt="">
1349 <input id="wp_chatbot_icon_3" type="radio"
1350 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-3.png' ? esc_attr('checked' ): ''); ?>
1351 value="<?php echo esc_attr('icon-3.png'); ?>">
1352 <?php esc_html_e('Icon - 3', 'chatbot'); ?>
1353 </label>
1354 </li>
1355 <li>
1356 <label for="wp_chatbot_icon_4" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-4.png"
1357 alt="' ">
1358 <input id="wp_chatbot_icon_4" type="radio"
1359 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-4.png' ? esc_attr('checked'): ''); ?>
1360 value="<?php echo esc_attr('icon-4.png'); ?>">
1361 <?php esc_html_e('Icon - 4', 'chatbot'); ?>
1362 </label>
1363 </li>
1364 <li>
1365 <label for="wp_chatbot_icon_5" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-5.png"
1366 alt="">
1367 <input id="wp_chatbot_icon_5" type="radio"
1368 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-5.png' ? esc_attr('checked' ): ''); ?>
1369 value="<?php echo esc_attr('icon-5.png'); ?>">
1370 <?php esc_html_e('Icon - 5', 'chatbot'); ?>
1371 </label>
1372 </li>
1373 <li>
1374 <label for="wp_chatbot_icon_6" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-6.png"
1375 alt=" ">
1376 <input id="wp_chatbot_icon_6" type="radio"
1377 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-6.png' ? esc_attr('checked' ): ''); ?>
1378 value="<?php echo esc_attr('icon-6.png'); ?>">
1379 <?php esc_html_e('Icon - 6', 'chatbot'); ?>
1380 </label>
1381 </li>
1382 <li>
1383 <label for="wp_chatbot_icon_7" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-7.png"
1384 alt=" ">
1385 <input id="wp_chatbot_icon_7" type="radio"
1386 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-7.png' ? esc_attr('checked' ): ''); ?>
1387 value="<?php echo esc_attr('icon-7.png'); ?>">
1388 <?php esc_html_e('Icon - 7', 'chatbot'); ?>
1389 </label>
1390 </li>
1391 <li>
1392 <label for="wp_chatbot_icon_8" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-8.png"
1393 alt="">
1394 <input id="wp_chatbot_icon_8" type="radio"
1395 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-8.png' ? esc_attr('checked' ): ''); ?>
1396 value="<?php echo esc_attr('icon-8.png'); ?>">
1397 <?php esc_html_e('Icon - 8', 'chatbot'); ?>
1398 </label>
1399 </li>
1400 <li>
1401 <label for="wp_chatbot_icon_9" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-9.png"
1402 alt=" ">
1403 <input id="wp_chatbot_icon_9" type="radio"
1404 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-9.png' ? esc_attr('checked' ): ''); ?>
1405 value="<?php echo esc_attr('icon-9.png'); ?>">
1406 <?php esc_html_e('Icon - 9', 'chatbot'); ?>
1407 </label>
1408 </li>
1409 <li>
1410 <label for="wp_chatbot_icon_10" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-10.png"
1411 alt=" ">
1412 <input id="wp_chatbot_icon_10" type="radio"
1413 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-10.png' ? esc_attr('checked' ): ''); ?>
1414 value="<?php echo esc_attr('icon-10.png'); ?>">
1415 <?php esc_html_e('Icon - 10', 'chatbot'); ?>
1416 </label>
1417 </li>
1418 <li>
1419 <label for="wp_chatbot_icon_11" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-11.png"
1420 alt="">
1421 <input id="wp_chatbot_icon_11" type="radio"
1422 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-11.png' ? esc_attr('checked' ): ''); ?>
1423 value="<?php echo esc_attr('icon-11.png'); ?>">
1424 <?php esc_html_e('Icon - 11', 'chatbot'); ?>
1425 </label>
1426 </li>
1427 <li>
1428 <label for="wp_chatbot_icon_12" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-12.png"
1429 alt="">
1430 <input id="wp_chatbot_icon_12" type="radio"
1431 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-12.png' ? esc_attr('checked' ): ''); ?>
1432 value="<?php echo esc_attr('icon-12.png'); ?>">
1433 <?php esc_html_e('Icon - 12', 'chatbot'); ?>
1434 </label>
1435 </li>
1436
1437 <li>
1438 <label for="wp_chatbot_icon_13" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-13.png"
1439 alt="">
1440 <input id="wp_chatbot_icon_13" type="radio"
1441 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-13.png' ? esc_attr('checked' ): ''); ?>
1442 value="<?php echo esc_attr('icon-13.png'); ?>">
1443 <?php esc_html_e('Icon - 13', 'chatbot'); ?>
1444 </label>
1445 </li>
1446 <li>
1447 <?php
1448 if (get_option('wp_chatbot_custom_icon_path') != "") {
1449 $wp_chatbot_custom_icon_path = get_option('wp_chatbot_custom_icon_path');
1450 } else {
1451 $wp_chatbot_custom_icon_path = esc_url(QCLD_wpCHATBOT_IMG_URL) . 'custom.png';
1452 }
1453 ?>
1454 <label for="wp_chatbot_custom_icon_input" class="qc-opt-dcs-font"> <img id="wp_chatbot_custom_icon_src "
1455 src="<?php echo esc_url($wp_chatbot_custom_icon_path); ?>" alt=" ">
1456 <input id="wp_chatbot_custom_icon_input" type="radio"
1457 name="wp_chatbot_icon"
1458 value="<?php echo esc_attr('custom.png' ); ?>" <?php echo(get_option('wp_chatbot_icon') == 'custom.png' ? esc_attr('checked' ): ''); ?>>
1459 <?php esc_html_e('Custom Icon', 'chatbot'); ?>
1460 </label>
1461 </li>
1462 </ul>
1463 </div>
1464 <!-- cxsc-settings-blocks-->
1465
1466 <div class="row">
1467 <div class="col-xs-12">
1468 <div class="cxsc-settings-blocks">
1469 <div class="form-group">
1470 <h4 class="qc-opt-title">
1471 <?php esc_html_e('WPBot Icon Background Color.', 'chatbot'); ?>
1472 </h4>
1473 <input id="wp_chatbot_floatingiconbg_color" type="text" name="wp_chatbot_floatingiconbg_color" value="<?php echo esc_attr((get_option('wp_chatbot_floatingiconbg_color') != '' ? get_option('wp_chatbot_floatingiconbg_color'): '#fff') ); ?>"/>
1474 </div>
1475 </div>
1476 </div>
1477 </div>
1478 <div class="row">
1479 <div class="col-xs-12">
1480 <div class="form-group">
1481 <h4 class="qc-opt-title">
1482 <?php esc_html_e(' Upload custom Icon ', 'chatbot'); ?> <span class="small"><span class="text-danger"><?php esc_html_e('** If you select custom icon, you must upload an icon image.', 'chatbot'); ?></span></span>
1483 </h4>
1484 <div class="cxsc-settings-blocks">
1485 <input type="hidden" name="wp_chatbot_custom_icon_path"
1486 id="wp_chatbot_custom_icon_path"
1487 value="<?php echo esc_attr( $wp_chatbot_custom_icon_path ); ?>"/>
1488 <button type="button" class="qcld_chatbot_custom_icon_button button">
1489 <?php esc_html_e('Upload Icon', 'chatbot'); ?>
1490 </button>
1491 </div>
1492 </div>
1493 </div>
1494 </div>
1495
1496
1497
1498 <div class="row">
1499 <div class="col-xs-12">
1500 <div class="form-group">
1501 <h4 class="qc-opt-title">
1502 <?php esc_html_e(' WPBot Agent Image', 'chatbot'); ?>
1503 </h4>
1504 <div class="cxsc-settings-blocks">
1505 <ul class="radio-list radio-list-custom">
1506 <li>
1507 <label for="wp_chatbot_agent_image_def" class="qc-opt-dcs-font"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>icon-13.png"
1508 alt="">
1509 <input id="wp_chatbot_agent_image_def" type="radio"
1510 name="wp_chatbot_agent_image" <?php echo(get_option('wp_chatbot_agent_image') == 'agent-0.png' ? esc_attr('checked' ): ''); ?>
1511 value="agent-0.png">
1512 <?php esc_html_e('Default Agent', 'chatbot'); ?>
1513 </label>
1514 </li>
1515 <li>
1516
1517 <?php
1518 if (get_option('wp_chatbot_custom_agent_path') != "") {
1519 $wp_chatbot_custom_agent_path = get_option('wp_chatbot_custom_agent_path');
1520 } else {
1521 $wp_chatbot_custom_agent_path = esc_url(QCLD_wpCHATBOT_IMG_URL) . 'custom.png';
1522 }
1523 ?>
1524
1525 <label for="wp_chatbot_agent_image_custom" class="qc-opt-dcs-font"> <img id="wp_chatbot_custom_agent_src"
1526 src="<?php echo esc_url($wp_chatbot_custom_agent_path); ?>"
1527 alt="Agent">
1528 <input type="radio" name="wp_chatbot_agent_image"
1529 id="wp_chatbot_agent_image_custom"
1530 value="<?php echo esc_attr('custom-agent.png' ); ?>" <?php echo(get_option('wp_chatbot_agent_image') == 'custom-agent.png' ? esc_attr('checked' ): ''); ?>>
1531 <?php esc_html_e('Custom Agent', 'chatbot'); ?></label>
1532
1533 </li>
1534 </ul>
1535 </div>
1536 <!-- cxsc-settings-blocks-->
1537 </div>
1538 </div>
1539 </div>
1540 </div>
1541 </div>
1542 </div>
1543 <div class="top-section">
1544 <div class="row">
1545 <div class="col-xs-12">
1546 <div class="form-group">
1547 <h4 class="qc-opt-title">
1548 <?php esc_html_e('Custom Agent Icon', 'chatbot'); ?>
1549 </h4>
1550 <div class="cxsc-settings-blocks">
1551 <input type="hidden" name="wp_chatbot_custom_agent_path"
1552 id="wp_chatbot_custom_agent_path"
1553 value="<?php echo esc_attr( $wp_chatbot_custom_agent_path ); ?>"/>
1554 <button type="button" class="wp_chatbot_custom_agent_button button">
1555 <?php esc_html_e('Upload Agent Icon', 'chatbot'); ?>
1556 </button>
1557 </div>
1558 </div>
1559 </div>
1560 </div>
1561 </div>
1562 <div id="top-section">
1563 <div class="form-group">
1564 <div class="row">
1565 <div class="col-sm-12">
1566 <h4 class="qc-opt-title">
1567 <?php esc_html_e('WPBot Themes', 'chatbot'); ?>
1568 </h4>
1569 </div>
1570 </div>
1571 <div class="row qcld_thumbnail_theme_prev">
1572 <div class="col-sm-3">
1573 <label for="qcld_wb_chatbot_theme_0"> <img class="thumbnail theme_prev"
1574 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/template-00.JPG"
1575 alt="Theme Basic">
1576 <input id="qcld_wb_chatbot_theme_0" type="radio"
1577 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-00' ? esc_attr('checked' ): ''); ?>
1578 value="template-00">
1579 <?php esc_html_e('Theme Basic', 'chatbot'); ?>
1580 </label>
1581 </div>
1582 <div class="col-sm-3">
1583 <label for="qcld_wb_chatbot_theme_1"> <img class="thumbnail theme_prev"
1584 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/template-01.JPG"
1585 alt="Theme Basic">
1586 <input id="qcld_wb_chatbot_theme_1" type="radio"
1587 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-01' ? esc_attr('checked' ): ''); ?>
1588 value="template-01">
1589 <?php esc_html_e('Theme One', 'chatbot'); ?>
1590 </label>
1591 </div>
1592 <div class="col-sm-6">
1593 <label for="qcld_wb_chatbot_theme_horizontal"> <img class="thumbnail theme_prev"
1594 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/horizontal.png"
1595 alt="Theme horizontal">
1596 <input id="qcld_wb_chatbot_theme_horizontal" type="radio"
1597 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-horizontal' ? esc_attr('checked' ): ''); ?>
1598 value="template-horizontal">
1599 <?php esc_html_e('Theme Horizontal', 'chatbot'); ?>
1600 </label>
1601 </div>
1602 </div>
1603 </div>
1604 </div>
1605 </div>
1606
1607
1608 <div id="wp-chatbot-custom-color-options" class="tab-pane fade">
1609 <div class="top-section">
1610 <div class="row">
1611
1612 <div class="col-xs-6">
1613 <div class="cxsc-settings-blocks cxsc-settings-blocks-style">
1614 <div class="form-group">
1615 <h4 class="qc-opt-title">
1616 <?php esc_html_e('Custom Style Options', 'chatbot'); ?>
1617 </h4>
1618 <div class="cxsc-settings-blocks">
1619 <input value="1" id="enable_wp_chatbot_custom_color" type="checkbox"
1620 name="enable_wp_chatbot_custom_color" <?php echo(get_option('enable_wp_chatbot_custom_color') == 1 ? esc_attr('checked' ): ''); ?>>
1621 <label for="enable_wp_chatbot_custom_color">
1622 <?php esc_html_e('Enable Style Colors ', 'chatbot'); ?>
1623 </label>
1624 </div>
1625 </div>
1626 </div>
1627 </div>
1628 <div class="col-xs-6">
1629 <div class="cxsc-settings-blocks">
1630 <div class="form-group">
1631 <h4 class="qc-opt-title">
1632 <?php esc_html_e('Text Color.', 'chatbot'); ?>
1633 </h4>
1634 <input id="wp_chatbot_text_color" type="text"
1635 name="wp_chatbot_text_color"
1636 value="<?php echo esc_attr((get_option('wp_chatbot_text_color') != '' ? get_option('wp_chatbot_text_color') : '#37424c')); ?>"/>
1637 </div>
1638 </div>
1639 </div>
1640 <div class="col-xs-6">
1641 <div class="cxsc-settings-blocks">
1642 <div class="form-group">
1643 <h4 class="qc-opt-title">
1644 <?php esc_html_e('Link Color.', 'chatbot'); ?>
1645 </h4>
1646 <input id="wp_chatbot_link_color" type="text"
1647 name="wp_chatbot_link_color"
1648 value="<?php echo esc_attr((get_option('wp_chatbot_link_color') != '' ? get_option('wp_chatbot_link_color') : '#e2cc1f')); ?>"/>
1649 </div>
1650 </div>
1651 </div>
1652 <div class="col-xs-6">
1653 <div class="cxsc-settings-blocks">
1654 <div class="form-group">
1655 <h4 class="qc-opt-title">
1656 <?php esc_html_e('Link Hover Color.', 'chatbot'); ?>
1657 </h4>
1658 <input id="wp_chatbot_link_hover_color" type="text"
1659 name="wp_chatbot_link_hover_color"
1660 value="<?php echo esc_attr((get_option('wp_chatbot_link_hover_color') != '' ? get_option('wp_chatbot_link_hover_color') : '#734006')); ?>"/>
1661 </div>
1662 </div>
1663 </div>
1664 <div class="col-xs-6">
1665 <div class="cxsc-settings-blocks">
1666 <div class="form-group">
1667 <h4 class="qc-opt-title">
1668 <?php esc_html_e('Bot Message Background Color.', 'chatbot'); ?>
1669 </h4>
1670 <input id="wp_chatbot_bot_msg_bg_color" type="text"
1671 name="wp_chatbot_bot_msg_bg_color"
1672 value="<?php echo esc_attr((get_option('wp_chatbot_bot_msg_bg_color') != '' ? get_option('wp_chatbot_bot_msg_bg_color'): '#1f8ceb')) ; ?>"/>
1673 </div>
1674 </div>
1675 </div>
1676 <div class="col-xs-6">
1677 <div class="cxsc-settings-blocks">
1678 <div class="form-group">
1679 <h4 class="qc-opt-title">
1680 <?php esc_html_e('Bot Message Text Color.', 'chatbot'); ?>
1681 </h4>
1682 <input id="wp_chatbot_bot_msg_text_color" type="text"
1683 name="wp_chatbot_bot_msg_text_color"
1684 value="<?php echo esc_attr((get_option('c') != '' ? get_option('wp_chatbot_bot_msg_text_color') : '#ffffff')); ?>"/>
1685 </div>
1686 </div>
1687 </div>
1688 <div class="col-xs-6">
1689 <div class="cxsc-settings-blocks">
1690 <div class="form-group">
1691 <h4 class="qc-opt-title">
1692 <?php esc_html_e('User Message Background Color.', 'chatbot'); ?>
1693 </h4>
1694 <input id="wp_chatbot_user_msg_bg_color" type="text"
1695 name="wp_chatbot_user_msg_bg_color"
1696 value="<?php echo esc_attr((get_option('wp_chatbot_user_msg_bg_color') != '' ? get_option('wp_chatbot_user_msg_bg_color') : '#ffffff') ); ?>"/>
1697 </div>
1698 </div>
1699 </div>
1700 <div class="col-xs-6">
1701 <div class="cxsc-settings-blocks">
1702 <div class="form-group">
1703 <h4 class="qc-opt-title">
1704 <?php esc_html_e('User Message Text Color.', 'chatbot'); ?>
1705 </h4>
1706 <input id="wp_chatbot_user_msg_text_color" type="text"
1707 name="wp_chatbot_user_msg_text_color"
1708 value="<?php echo esc_attr((get_option('wp_chatbot_user_msg_text_color') != '' ? get_option('wp_chatbot_user_msg_text_color') : '#000000')); ?>"/>
1709 </div>
1710 </div>
1711 </div>
1712 <div class="col-xs-6">
1713 <div class="cxsc-settings-blocks">
1714 <div class="form-group">
1715 <h4 class="qc-opt-title">
1716 <?php esc_html_e('Buttons Background Color.', 'chatbot'); ?>
1717 </h4>
1718 <input id="wp_chatbot_buttons_bg_color" type="text"
1719 name="wp_chatbot_buttons_bg_color"
1720 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_bg_color') != '' ?get_option('wp_chatbot_buttons_bg_color'): '#1f8ceb')) ; ?>"/>
1721 </div>
1722 </div>
1723 </div>
1724 <div class="col-xs-6">
1725 <div class="cxsc-settings-blocks">
1726 <div class="form-group">
1727 <h4 class="qc-opt-title">
1728 <?php esc_html_e('Buttons Hover Background Color.', 'chatbot'); ?>
1729 </h4>
1730 <input id="wp_chatbot_buttons_bg_color" type="text"
1731 name="wp_chatbot_buttons_bg_color_hover"
1732 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_bg_color_hover') != '' ? get_option('wp_chatbot_buttons_bg_color_hover') : '#1f8ceb')); ?>"/>
1733 </div>
1734 </div>
1735 </div>
1736 <div class="col-xs-6">
1737 <div class="cxsc-settings-blocks">
1738 <div class="form-group">
1739 <h4 class="qc-opt-title">
1740 <?php esc_html_e('Buttons Text Color.', 'chatbot'); ?>
1741 </h4>
1742 <input id="wp_chatbot_buttons_text_color" type="text"
1743 name="wp_chatbot_buttons_text_color"
1744 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_text_color') != '' ? get_option('wp_chatbot_buttons_text_color') : '#ffffff')); ?>"/>
1745 </div>
1746 </div>
1747 </div>
1748 <div class="col-xs-6">
1749 <div class="cxsc-settings-blocks">
1750 <div class="form-group">
1751 <h4 class="qc-opt-title">
1752 <?php esc_html_e('Buttons Text Color Hover.', 'chatbot'); ?>
1753 </h4>
1754 <input id="wp_chatbot_buttons_text_color" type="text"
1755 name="wp_chatbot_buttons_text_color_hover"
1756 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_text_color_hover') != '' ? get_option('wp_chatbot_buttons_text_color_hover') : '#ffffff')); ?>"/>
1757 </div>
1758 </div>
1759 </div>
1760 <div class="col-xs-6">
1761 <div class="cxsc-settings-blocks">
1762 <div class="form-group">
1763 <h4 class="qc-opt-title">
1764 <?php esc_html_e('Header background Color', 'chatbot'); ?>
1765 </h4>
1766 <input id="wp_chatbot_header_background_color" type="text"
1767 name="wp_chatbot_header_background_color"
1768 value="<?php echo esc_attr((get_option('wp_chatbot_header_background_color') != '' ? get_option('wp_chatbot_header_background_color'): '#ffffff')); ?>"/>
1769 </div>
1770 </div>
1771 </div>
1772 <div class="col-xs-6">
1773 <div class="cxsc-settings-blocks">
1774 <div class="form-group">
1775 <h4 class="qc-opt-title">
1776 <?php esc_html_e('Theme Primary Color', 'chatbot'); ?>
1777 </h4>
1778 <input id="wp_chatbot_theme_primary_color" type="text"
1779 name="wp_chatbot_theme_primary_color"
1780 value="<?php echo esc_attr((get_option('wp_chatbot_theme_primary_color') != '' ? get_option('wp_chatbot_theme_primary_color') : '#ffffff')); ?>"/>
1781 </div>
1782 </div>
1783 </div>
1784 <div class="col-xs-6">
1785 <div class="cxsc-settings-blocks">
1786 <div class="form-group">
1787 <h4 class="qc-opt-title">
1788 <?php esc_html_e('Theme Secondary Color', 'chatbot'); ?>
1789 </h4>
1790 <input id="wp_chatbot_theme_secondary_color" type="text"
1791 name="wp_chatbot_theme_secondary_color"
1792 value="<?php echo esc_attr((get_option('wp_chatbot_theme_secondary_color') != '' ? get_option('wp_chatbot_theme_secondary_color') : '#ffffff')); ?>"/>
1793 </div>
1794 </div>
1795 </div>
1796 <div class="col-xs-6">
1797 <div class="cxsc-settings-blocks">
1798 <div class="form-group">
1799 <h4 class="qc-opt-title">
1800 <?php esc_html_e('Font size', 'chatbot'); ?>
1801 </h4>
1802 <input id="wp_chatbot_font_size" type="number"
1803 name="wp_chatbot_font_size"
1804 value="<?php echo esc_attr((get_option('wp_chatbot_font_size') != '' ? get_option('wp_chatbot_font_size'): '16')) ; ?>"/>
1805 </div>
1806 </div>
1807 </div>
1808 <div class="col-xs-6">
1809 <div class="cxsc-settings-blocks">
1810 <div class="form-group">
1811 <h4 class="qc-opt-title">
1812 <?php
1813 esc_html_e('User message Font family ', 'chatbot');
1814 $user_font = get_option('wp_chat_user_font_family') != '' ? get_option('wp_chat_user_font_family') : '';
1815 $user_font_family = str_replace("\\", "",$user_font);
1816 ?>
1817 </h4>
1818 <input id="wp_chatbot_user_font" type="text" name="wp_chatbot_user_font"
1819 value="<?php echo esc_attr((get_option('wp_chatbot_user_font') != '' ? get_option('wp_chatbot_user_font') : ''));?>">
1820 <input id="wp_chat_user_font_family" type="hidden"
1821 name="wp_chat_user_font_family"
1822 />
1823 </div>
1824 </div>
1825 </div>
1826 <div class="col-xs-6">
1827 <div class="cxsc-settings-blocks">
1828 <div class="form-group">
1829 <h4 class="qc-opt-title">
1830 <?php
1831 esc_html_e('Bot message Font family ', 'chatbot');
1832 $bot_font = get_option('wp_chat_bot_font_family') != '' ? get_option('wp_chat_bot_font_family') : '';
1833 $bot_font_family = str_replace("\\", "",$bot_font);
1834 ?>
1835 </h4>
1836 <input id="wp_chatbot_bot_font" type="text" name="wp_chatbot_bot_font"
1837 value="<?php echo esc_attr((get_option('wp_chatbot_bot_font') != '' ? get_option('wp_chatbot_bot_font') : ''));?>">
1838 <input id="wp_chat_bot_font_family" type="hidden"
1839 name="wp_chat_bot_font_family"
1840 />
1841 </div>
1842 </div>
1843 </div>
1844
1845 <?php
1846 $custom_js = "jQuery(function ($) {
1847 $('#wp_chat_user_font_family').val(JSON.stringify(". esc_attr($user_font_family) ."));
1848 $('#wp_chat_bot_font_family').val(JSON.stringify(". esc_attr($bot_font_family)."));
1849 $('#wp_chatbot_user_font')
1850 .fontpicker()
1851 .on('change', function() {
1852 var tmp = this.value.split(':'),
1853 family = tmp[0],
1854 variant = tmp[1] || '400',
1855 weight = parseInt(variant,10),
1856 italic = /i$/.test(variant);
1857 var css = {
1858 fontFamily:family,
1859 fontWeight: weight,
1860 fontStyle: italic ? 'italic' : 'normal'
1861 };
1862 $('#wp_chat_user_font_family').val(JSON.stringify(css));
1863 });
1864 $('#wp_chatbot_bot_font')
1865 .fontpicker()
1866 .on('change', function() {
1867 var tmp = this.value.split(':'),
1868 family = tmp[0],
1869 variant = tmp[1] || '400',
1870 weight = parseInt(variant,10),
1871 italic = /i$/.test(variant);
1872 // Set selected font on body
1873 var css = {
1874 fontFamily:family,
1875 fontWeight: weight,
1876 fontStyle: italic ? 'italic' : 'normal'
1877 };
1878 $('#wp_chat_bot_font_family').val(JSON.stringify(css));
1879 });
1880 });
1881 ";
1882 wp_add_inline_script('qcld-wp-chatbot-admin-js', $custom_js );
1883
1884 ?>
1885 </div>
1886 </div>
1887 </div>
1888 </div>
1889 </section>
1890
1891 <section id="section-flip-4">
1892 <div class="row">
1893 <div class="col-xs-12">
1894 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
1895 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
1896 </div> -->
1897 </div>
1898 </div>
1899 <div class="top-section">
1900 <h3 class="qcld-wpbot-main-tabs-title">
1901 <?php esc_html_e('Build FAQ Query and Answers', 'chatbot'); ?>
1902
1903 </h3>
1904
1905 <p><b><?php esc_html_e('These FAQs are not searchable. You can use ChatBot->Simple Text Responses for searchable FAQs', 'chatbot'); ?></b></p>
1906
1907 <div class="block-inner ui-sortable qcld-faq-block" id="wp-chatbot-support-builder">
1908 <?php
1909 $support_quereis=$this->qcld_wb_chatbot_str_replace(maybe_unserialize( get_option('support_query')));
1910 $support_ans=$this->qcld_wb_chatbot_str_replace(maybe_unserialize( get_option('support_ans')));
1911 if (($support_quereis[0] != '') && ($support_ans[0] != '') && !empty($support_ans[0]) && (count($support_ans) == count($support_quereis))) {
1912
1913 $query_ans_counter=0;
1914 foreach (array_combine($support_quereis, $support_ans) as $query => $ans) {
1915 ?>
1916 <div class="row"> <span class="pull-right"> </span>
1917 <div class="col-xs-12">
1918 <button type="button" class="btn btn-danger btn-sm wp-chatbot-remove-support pull-right"> <i class="fa fa-times" aria-hidden="true"></i> </button>
1919
1920 <div class="cxsc-settings-blocks cxsc-settings-faq-blocks">
1921 <p>
1922 <b> <?php esc_html_e('FAQ query ', 'chatbot'); ?> </b>
1923 </p>
1924 <input type="text" class="form-control" name="support_query[]"
1925 placeholder="<?php esc_html_e('FAQ query', 'chatbot' ); ?> " value="<?php echo esc_html( $query ); ?>">
1926 <br>
1927 <p>
1928 <b><?php esc_html_e('FAQ answer', 'chatbot'); ?></b>
1929 </p>
1930 <?php
1931 $anss = is_string( $ans ) ? $ans : '';
1932 $answer = !is_array($ans) ? stripcslashes($ans) : $anss;
1933
1934 wp_editor(html_entity_decode($answer), 'support_ans'.'_'.$query_ans_counter, array('textarea_name' =>
1935 'support_ans[]',
1936 'textarea_rows' => 20,
1937 'editor_height' => 100,
1938 'disabled' => 'disabled',
1939 'media_buttons' => false,
1940 'tinymce' => array(
1941 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
1942 ));
1943
1944 ?>
1945 </div>
1946 </div>
1947 </div>
1948 <?php
1949 $query_ans_counter++;
1950 }
1951 //}
1952 } else {
1953 ?>
1954 <div class="row"> <span class="pull-right"> </span>
1955 <div class="col-xs-12">
1956 <button type="button" class="btn btn-danger btn-sm wp-chatbot-remove-support pull-right"> <i class="fa fa-times" aria-hidden="true"></i> </button>
1957
1958 <div class="cxsc-settings-blocks">
1959 <p>
1960 <b> <?php esc_html_e('FAQ Query', 'chatbot'); ?></b>
1961 </p>
1962 <input type="text" class="form-control" name="support_query[]"
1963 placeholder="<?php esc_html_e('FAQ Query ', 'chatbot'); ?> ">
1964 <br>
1965 <p class="qc-opt-dcs-font"><strong>
1966 <?php esc_html_e('Support answer', 'chatbot'); ?>
1967 </strong></p>
1968 <?php
1969 wp_editor(html_entity_decode(stripcslashes('')), 'support_ans_0', array('textarea_name' =>
1970 'support_ans[]',
1971 'textarea_rows' => 20,
1972 'editor_height' => 100,
1973 'disabled' => 'disabled',
1974 'media_buttons' => false,
1975 'tinymce' => array(
1976 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
1977 ));
1978 ?>
1979 </div>
1980 <br>
1981 </div>
1982 </div>
1983 <?php
1984 }
1985 ?>
1986 </div>
1987 <div class="row">
1988 <div class="col-sm-6 text-left"></div>
1989 <div class="col-sm-6 text-right">
1990 <button class="btn btn-success btn-sm" type="button"
1991 id="add-more-support-query">
1992 <i class="fa fa-plus" aria-hidden="true"></i>
1993
1994 </button>
1995 </div>
1996 </div>
1997 </div>
1998 </section>
1999
2000
2001 <section id="section-flip-6">
2002 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2003 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
2004 </div> -->
2005 <?php
2006 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');
2007 ?>
2008 <div class="top-section">
2009 <div class="notification-block-inner">
2010 <div class="row">
2011 <div class="col-xs-12">
2012 <div id="qcld-show-more-wrapper-box">
2013 <div class="qcld-show-more-text qcld-show-more-show-more-height">
2014 <div class="row">
2015 <div class="col-xs-12">
2016 <h3 class="qcld-wpbot-main-tabs-title"><?php echo esc_attr('Predefined Intents'); ?></h3>
2017 <div class="row">
2018 <div class="col-xs-12">
2019 <div class="form-group">
2020 <h4 class="qc-opt-title">
2021 <?php esc_html_e('Site Search', 'chatbot'); ?>
2022 </h4>
2023 <div class="cxsc-settings-blocks">
2024 <input value="<?php echo esc_attr('1' ); ?>" id="disable_wp_chatbot_site_search" type="checkbox"
2025 name="disable_wp_chatbot_site_search" <?php echo(get_option('disable_wp_chatbot_site_search') == 1 ? esc_attr('checked' ): ''); ?>>
2026 <label for="disable_wp_chatbot_site_search">
2027 <?php esc_html_e('Disable site search feature and button on Start Menu', 'chatbot'); ?>
2028 </label>
2029 </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>
2030 </div>
2031 <div class="cxsc-settings-blocks">
2032 <input value="<?php echo esc_attr('1' ); ?>" id="enable_wp_chatbot_post_content" type="checkbox"
2033 name="enable_wp_chatbot_post_content" <?php echo(get_option('enable_wp_chatbot_post_content') == 1 ? esc_attr('checked' ): ''); ?>>
2034 <label for="enable_wp_chatbot_post_content">
2035 <?php esc_html_e('Enable Searching Post Contents as well', 'chatbot'); ?>
2036 </label>
2037 </div>
2038 </div>
2039 </div>
2040 </div>
2041 <div class="form-group">
2042 <h4 class="qc-opt-title">
2043 <?php esc_html_e('Button Label', 'chatbot'); ?>
2044 </h4>
2045 <input type="text" class="form-control qc-opt-dcs-font"
2046 name="qlcd_wp_chatbot_wildcard_site_search"
2047 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_wildcard_site_search') != '' ? get_option('qlcd_wp_chatbot_wildcard_site_search') : 'Site Search')); ?> ">
2048 </div>
2049 <div class="row">
2050 <div class="col-xs-12">
2051 <div class="form-group">
2052 <h4 class="qc-opt-title">
2053 <?php esc_html_e('Call Me', 'chatbot'); ?>
2054 </h4>
2055 <div class="cxsc-settings-blocks">
2056 <input value="<?php echo esc_attr('1'); ?>" id="disable_wp_chatbot_call_gen" type="checkbox"
2057 name="disable_wp_chatbot_call_gen" <?php echo(get_option('disable_wp_chatbot_call_gen') == 1 ? esc_attr('checked' ): ''); ?>>
2058 <label for="disable_wp_chatbot_call_gen">
2059 <?php esc_html_e('Disable Call Me feature and button on Start Menu', 'chatbot'); ?>
2060 </label>
2061 </div>
2062 </div>
2063 </div>
2064 </div>
2065 <div class="form-group">
2066 <h4 class="qc-opt-title">
2067 <?php esc_html_e('Button Label', 'chatbot'); ?>
2068 </h4>
2069 <input type="text" class="form-control qc-opt-dcs-font"
2070 name="qlcd_wp_chatbot_support_phone"
2071 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!')); ?> ">
2072 </div>
2073 <div class="row">
2074 <div class="col-xs-12">
2075 <div class="form-group">
2076 <h4 class="qc-opt-title">
2077 <?php esc_html_e('Email', 'chatbot'); ?>
2078 </h4>
2079 <div class="cxsc-settings-blocks">
2080 <input value="<?php echo esc_attr('1' ); ?>" id="disable_wp_chatbot_feedback" type="checkbox"
2081 name="disable_wp_chatbot_feedback" <?php echo esc_attr((get_option('disable_wp_chatbot_feedback') == 1 ? 'checked' : ''), 'chatbot' ); ?>>
2082 <label for="disable_wp_chatbot_feedback">
2083 <?php esc_html_e('Disable Email feature and button on Start Menu', 'chatbot'); ?>
2084 </label>
2085 </div>
2086 </div>
2087 </div>
2088 </div>
2089 <div class="form-group">
2090 <h4 class="qc-opt-title">
2091 <?php esc_html_e('Button Label', 'chatbot'); ?>
2092 </h4>
2093 <input type="text" class="form-control qc-opt-dcs-font"
2094 name="qlcd_wp_chatbot_support_email"
2095 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_support_email') != '' ? get_option('qlcd_wp_chatbot_support_email') : 'Send us Email')); ?> ">
2096 </div>
2097 <div class="row">
2098 <div class="col-xs-12">
2099 <div class="form-group">
2100 <h4 class="qc-opt-title">
2101 <?php esc_html_e('FAQ', 'chatbot'); ?>
2102 </h4>
2103 <div class="cxsc-settings-blocks">
2104 <input value="<?php echo esc_attr('1' ); ?>" id="disable_wp_chatbot_faq" type="checkbox"
2105 name="disable_wp_chatbot_faq" <?php echo(get_option('disable_wp_chatbot_faq') == 1 ? esc_attr('checked' ): ''); ?>>
2106 <label for="disable_wp_chatbot_faq">
2107 <?php esc_html_e('Disable FAQ feature and button on Start Menu', 'chatbot'); ?>
2108 </label>
2109 </div>
2110 </div>
2111 </div>
2112 </div>
2113 <div class="form-group">
2114 <h4 class="qc-opt-title">
2115 <?php esc_html_e('Button Label', 'chatbot'); ?>
2116 </h4>
2117 <input type="text" class="form-control qc-opt-dcs-font"
2118 name="qlcd_wp_chatbot_wildcard_support"
2119 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_wildcard_support') != '' ? get_option('qlcd_wp_chatbot_wildcard_support') : 'FAQ')); ?> ">
2120 </div>
2121
2122 </div>
2123 </div>
2124 </div>
2125 <div class="qcld-show-more-show-more"><i class="fa fa-plus-circle" aria-hidden="true"></i></div>
2126 </div>
2127 <div class="qc_menu_setup_area">
2128 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('Menu Sorting & Customization Area', 'chatbot'); ?></h3>
2129 <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.', 'chatbot'); ?></p>
2130 <p><?php esc_html_e('To adjust the Active Menu ordering just drag it up or down.', 'chatbot'); ?><br>
2131 <?php esc_html_e('To add a menu item in the', 'chatbot'); ?> <b><?php esc_html_e('Active Menu', 'chatbot'); ?> </b> <?php esc_html_e('simply drag a menu item from Available Menu column to the Active Menu. Double click to remove ', 'chatbot'); ?>.</p>
2132 <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.', 'chatbot'); ?></p>
2133
2134 <div class="qc_menu_area_box">
2135 <div class="qc_menu_area">
2136 <h4><?php esc_html_e( 'Acitve Menu', 'chatbot'); ?></h4>
2137 <div class="qc_menu_area_container" id="qc_menu_area">
2138 <?php
2139 if(get_option('qc_wpbot_menu_order')!=''):
2140 if( is_string( get_option('qc_wpbot_menu_order') ) ):
2141 echo wp_kses_post(wp_kses_stripslashes(get_option('qc_wpbot_menu_order')));
2142 else:
2143 endif;
2144 ?>
2145
2146
2147 <?php endif; ?>
2148 </div>
2149 </div>
2150 <div class="qc_menu_list_area">
2151 <h4><?php esc_html_e('Available Menu', 'chatbot'); ?></h4>
2152 <div class="qc_menu_list_container">
2153 <p><?php esc_html_e('Predefined Intents', 'chatbot'); ?></p>
2154 <ul>
2155 <li>
2156 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
2157 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="support"><?php echo esc_attr(get_option('qlcd_wp_chatbot_wildcard_support')); ?></span>
2158 <?php endif; ?>
2159 </li>
2160 <li>
2161 <?php if(get_option('disable_wp_chatbot_site_search')==''): ?>
2162 <span class="qcld-chatbot-wildcard qc_draggable_item qcld-chatbot-site-search" data-wildcart="site_search"><?php echo esc_attr(get_option('qlcd_wp_chatbot_wildcard_site_search')); ?></span>
2163 <?php endif; ?>
2164 </li>
2165 <li>
2166 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
2167 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="messenger"><?php echo wp_kses_post(qcld_choose_random(maybe_unserialize(get_option('qlcd_wp_chatbot_messenger_label')))) ?></span>
2168 <?php endif; ?>
2169 </li>
2170 <li>
2171 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
2172 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="whatsapp"><?php echo wp_kses_post(qcld_choose_random(maybe_unserialize(get_option('qlcd_wp_chatbot_whats_label')))); ?></span>
2173 <?php endif; ?>
2174 </li>
2175 <li>
2176 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
2177 <span class="qcld-chatbot-suggest-email qc_draggable_item"><?php echo esc_attr(get_option('qlcd_wp_chatbot_support_email')); ?></span>
2178 <?php endif; ?>
2179 </li>
2180 <li>
2181 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
2182 <span class="qcld-chatbot-suggest-phone qc_draggable_item" ><?php echo esc_attr(get_option('qlcd_wp_chatbot_support_phone')); ?></span>
2183 <?php endif; ?>
2184 </li>
2185 </ul>
2186 <?php
2187 if(class_exists('Qcformbuilder_Forms_Admin')){
2188
2189 global $wpdb;
2190
2191 //To Do: Need to use prepared statement
2192
2193 $results = $wpdb->get_results($wpdb->prepare("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type=%s",'primary')); //DB Call OK, No Caching OK.
2194 if(!empty($results)){
2195 ?>
2196 <p><?php esc_html_e('Conversational Form', 'chatbot'); ?></p>
2197 <ul>
2198 <?php
2199 foreach($results as $result){
2200 $form = maybe_unserialize($result->config);
2201 ?>
2202 <li><span class="qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item" data-form="<?php echo esc_attr($form['ID']); ?>" ><?php echo esc_html($form['name']); ?></span></li>
2203 <?php
2204 }
2205 ?>
2206 </ul>
2207 <?php
2208 }
2209 }
2210 ?>
2211 </div>
2212 </div>
2213
2214 </div>
2215
2216
2217 </div>
2218 <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'))); ?>' />
2219 </div>
2220 </div>
2221 </div>
2222 </div>
2223 </section>
2224 <section id="section-flip-7">
2225 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2226 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
2227 </div> -->
2228 <div class="top-section">
2229 <div class="wp-chatbot-language-center-summmery">
2230 <p>
2231 <?php esc_html_e('DialogFlow as Artificial Intelligences Engine for wpwBot', 'chatbot'); ?>
2232 </p>
2233 </div>
2234
2235 <div class="row wp-chatbot-language-center-summmery-checkbox">
2236 <div class="col-xs-12">
2237 <div class="wrapTexttop-lite">
2238 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('Enable DialogFlow as AI Engine to Detect Intent', 'chatbot'); ?> </h3>
2239 <div class="alert alert-warning" role="alert">
2240 <h5 style="color: #f00;font-weight:900"><?php esc_html_e('Please do not enable DialogFlow and OpenAI both at the same time.', 'chatbot'); ?> </h5>
2241 <h5 style="color: #f00;font-weight:900 "><?php esc_html_e(' Enable either DialogFlow or OpenAI', 'chatbot'); ?> </h5>
2242 </div>
2243 <div class="cxsc-settings-blocks">
2244 <input value="1" id="enable_wp_chatbot_dailogflow" type="checkbox"
2245 name="enable_wp_chatbot_dailogflow" <?php echo(get_option('enable_wp_chatbot_dailogflow') == 1 ? esc_attr('checked' ): ''); ?>>
2246 <label for="enable_wp_chatbot_dailogflow"><?php esc_html_e('Enable DialogFlow AI Engine to process Natural Language commands from users.', 'chatbot'); ?> </label> <br>
2247
2248 </div>
2249 </div>
2250
2251
2252 <div class="qcld-dialogflow-enable-notice">If you Enable DialogFlow but do not configure it properly, the ChatBot will not respond.</div>
2253 </div>
2254
2255 <div class="col-xs-12" id="wp-chatbot-dialflow-section">
2256 <p><?php esc_html_e('Log in to DialogFlow Console from', 'chatbot'); ?>
2257 <a class="wpbot_df_instruction" href="<?php echo esc_url('https://dialogflow.com/', 'chatbot'); ?>"
2258 target="_blank">
2259 <?php esc_html_e('Here', 'chatbot'); ?></a>
2260 <?php esc_html_e('with your gmail account.', 'chatbot'); ?> <a class="wpbot_df_instruction" href="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'download/wpwBot.zip'); ?>" download ><?php esc_html_e('Download', 'chatbot'); ?></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', 'chatbot'); ?> <b><?php esc_html_e('email, email subscription, faq, get email, get name, help, phone, reset, site search and start.', 'chatbot'); ?></b> </p>
2261 <h4 class="qc-opt-title"><?php esc_html_e('DialogFlow API Version', 'chatbot'); ?></h4>
2262 <div class="form-group">
2263 <label class="radio-inline ">
2264 <input id="wp-chatbot-df-api" type="radio"
2265 name="wp_chatbot_df_api"
2266 value="v2" checked>
2267 <?php esc_html_e('Dialogflow API V2', 'chatbot'); ?> </label>
2268 </div>
2269 <div id="wp-chatbot-df-section-v2" style="display:block">
2270 <!-- Dialogflow V2 Configuration -->
2271
2272 <?php if(!file_exists(QCLD_wpCHATBOT_GC_DIRNAME.'/autoload.php')): ?>
2273 <div class="form-group"> <br>
2274 <h4 class="qc-opt-title" style="color:red "><?php esc_html_e('For Interacting with Dialogflow V2 the Google Client Package is Required!', 'chatbot'); ?></h4>
2275 <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', 'chatbot'); ?> <b><?php esc_html_e('/wp-content', 'chatbot'); ?></b> <?php esc_html_e('folder. This package is around', 'chatbot'); ?> <b><?php esc_html_e('0 MB', 'chatbot'); ?></b><?php esc_html_e(' in zip file format and it will be about', 'chatbot'); ?> <b><?php esc_html_e('49 MB', 'chatbot'); ?></b> <?php esc_html_e('after unzipping. Please make sure that your server has enough space to store that package.', 'chatbot'); ?></p>
2276 <div class="qcld-wpbot-gcdownload-area">
2277 <button class="btn btn-primary" id="qc_wpbot_gc_download" <?php echo (!is_writable(QCLD_wpCHATBOT_GC_ROOT)?'disabled':''); ?>><?php esc_html_e('Download and Install the Google Client', 'chatbot'); ?></button>
2278 <?php
2279 if(!is_writable(QCLD_wpCHATBOT_GC_ROOT)){
2280 echo '<span style="color:red;font-size: 12px; "><b>'.esc_html('wp-content').' </b> '.esc_html('folder is not writable.').'</span>';
2281 }
2282 ?>
2283 <br>
2284 <br>
2285 <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 ', 'chatbot'); ?> <u title="Google Client"><?php esc_html_e('GC', 'chatbot'); ?></u> <?php esc_html_e('package by following some simple steps.', 'chatbot'); ?></p>
2286 <p><?php esc_html_e('1. Download GC package from:', 'chatbot'); ?> <a href="<?php echo esc_url('https://github.com/qcloud/gc/archive/master.zip'); ?>" target="_blank"><?php esc_attr_e('https://github.com/qcloud/gc/archive/master.zip', 'chatbot'); ?></a></p>
2287 <p><?php esc_html_e('2. Unzip the', 'chatbot'); ?> <b><?php esc_html_e('wpbotgc.zip', 'chatbot'); ?></b> <?php esc_html_e('inside to your computer.', 'chatbot'); ?></p>
2288 <p><?php esc_html_e('3. Create a folder with name ', 'chatbot'); ?><b><?php esc_html_e('wpbot-dfv2-client', 'chatbot'); ?></b> <?php esc_html_e('under ', 'chatbot'); ?><b><?php esc_html_e('wp-content', 'chatbot'); ?></b> <?php esc_html_e('into your server.', 'chatbot'); ?></p>
2289 <p><?php esc_html_e('4. Upload the upziped files and folders into', 'chatbot'); ?> <b><?php esc_html_e('wpbot-dfv2-client', 'chatbot'); ?></b><?php esc_html_e(' via FTP.', 'chatbot'); ?></p>
2290 <div class="qcld_wpbot_download_statuses"> </div>
2291 </div>
2292 <br>
2293 </div>
2294 <?php else: ?>
2295 <div class="form-group">
2296 <h4 class="qc-opt-title" style="color:green "><?php esc_html_e('Google Client Package is Installed on Your Website.', 'chatbot'); ?></h4>
2297 </div>
2298 <?php endif; ?>
2299 <div class="form-group">
2300 <h4 class="qc-opt-title" ><?php esc_html_e('Please follow along with this', 'chatbot'); ?> <a href="<?php echo esc_url('https://www.wpbot.pro/dialogflow-integration'); ?>" target="_blank"><?php esc_html_e('tutorial.', 'chatbot'); ?> </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.', 'chatbot'); ?> </h4>
2301 </div>
2302 <div class="form-group">
2303 <h4 class="qc-opt-title"><?php esc_html_e('DialogFlow Project ID', 'chatbot'); ?></h4>
2304 <p><?php esc_html_e('You can follow the', 'chatbot'); ?> <a href="<?php echo esc_url('https://www.youtube.com/watch?v=qY-EHFY2wH8" '); ?>" target="_blank"><?php esc_html_e('tutorial', 'chatbot'); ?> </a><?php esc_html_e(' to get the Project ID.', 'chatbot'); ?> </p>
2305 <input type="text" class="form-control qc-opt-dcs-font"
2306 name="qlcd_wp_chatbot_dialogflow_project_id"
2307 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'); ?> ">
2308 </div>
2309 <?php
2310
2311 $placeholderPrivatekey = '{
2312 "type": "service_account",
2313 "project_id": "PLACEYOUROWNID",
2314 "private_key_id": "31e300128..........c48",
2315 "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",
2316 "client_email": "dialogflow-evysjn@wpbotpro.iam.gserviceaccount.com",
2317 "client_id": "1026.....032997",
2318 "auth_uri": "https://accounts.google.com/o/oauth2/auth",
2319 "token_uri": "https://oauth2.googleapis.com/token",
2320 "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
2321 "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/dialogflow-evysjn%40wpbotpro.iam.gserviceaccount.com"
2322 }';
2323
2324 ?>
2325 <div class="form-group">
2326 <h4 class="qc-opt-title"><?php esc_html_e('Private Key', 'chatbot'); ?></h4>
2327 <p><?php esc_html_e("Paste your google service account's private key JSON file's contents (string) here", 'chatbot'); ?> <a href="<?php echo esc_url('https://www.youtube.com/watch?v=qY-EHFY2wH8'); ?>" target="_blank"><?php esc_html_e('tutorial', 'chatbot'); ?></a> <?php esc_html_e('to get private key JSON file. ', 'chatbot'); ?></p>
2328 <textarea class="form-control" rows="20" name="qlcd_wp_chatbot_dialogflow_project_key" placeholder='<?php echo esc_attr($placeholderPrivatekey); ?>'><?php echo esc_html(get_option('qlcd_wp_chatbot_dialogflow_project_key') != '' ? get_option('qlcd_wp_chatbot_dialogflow_project_key') : ''); ?></textarea>
2329 </div>
2330
2331 <!-- End Dialogflow V2 Configuration -->
2332 </div>
2333 <div class="form-group">
2334 <h4 class="qc-opt-title"><?php esc_html_e('Please Click the Button Below to Test Dialogflow Connection.', 'chatbot'); ?> </h4>
2335 <p style="color:red "><?php esc_html_e('*Save settings before pressing Test Dialogflow Connection', 'chatbot'); ?><br>
2336 <?php esc_html_e('*You must have owner permission for the service account your are using in Dialogflow agent.', 'chatbot'); ?></p>
2337 <div class="cxsc-settings-blocks">
2338 <button class="btn btn-primary" id="qc_wpbot_df_status"><?php esc_html_e('Test Dialogflow Connection', 'chatbot'); ?></button>
2339 <div class="qcwp_df_status"></div>
2340 </div>
2341 </div>
2342 <br>
2343 <div class="form-group">
2344 <h4 class="qc-opt-title">
2345 <?php esc_html_e('DialogFlow Default reply', 'chatbot'); ?>
2346 </h4>
2347 <input type="text" class="form-control qc-opt-dcs-font"
2348 name="qlcd_wp_chatbot_dialogflow_defualt_reply"
2349 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', 'chatbot'); ?> ">
2350 </div>
2351 <div class="form-group">
2352 <h4 class="qc-opt-title"><?php esc_html_e('DialogFlow Agent Language (Ex: en)', 'chatbot'); ?></h4>
2353 <input type="text" class="form-control qc-opt-dcs-font"
2354 name="qlcd_wp_chatbot_dialogflow_agent_language"
2355 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', 'chatbot'); ?>">
2356 </div>
2357 </div>
2358 </div>
2359 </div>
2360 </section>
2361
2362 <section id="section-flip-9">
2363 <div class="cxsc-settings-blocks-addon"><?php esc_html_e('Install the Conversational Form Builder to Collect Information from the users and create Button (menu) Driven Conversations.', 'chatbot'); ?></br>
2364 <?php esc_html_e('After creating a Conversational form, you can add it to the ChatBot`s Start Menu from the ChatBot Settings->Start Menu', 'chatbot'); ?></b></div>
2365
2366 <div class="qcld-recommendbot-conv-feature">
2367 <?php include_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . '/qcld-recommendbot-plugin.php'; ?>
2368 </div>
2369 <div class="qcld-seo-help-feature">
2370 <h3><?php esc_html_e('What Can You Do with it?', 'chatbot'); ?></h3>
2371 <p><?php esc_html_e('Conversation Forms Pro allows you to create a wide variety of forms, that might include:', 'chatbot'); ?></p>
2372 <ul>
2373 <li><?php esc_html_e('🚀 Conditional Menu Driven Conversations', 'chatbot'); ?></li>
2374 <li><?php esc_html_e('🚀 Standard Contact Forms', 'chatbot'); ?></li>
2375 <li><?php esc_html_e('🚀 Dynamic, conditional Forms – where fields can change based on the user selections', 'chatbot'); ?></li>
2376 <li><?php esc_html_e('🚀 Job Application Forms', 'chatbot'); ?></li>
2377 <li><?php esc_html_e('🚀 Lead Capture Forms', 'chatbot'); ?></li>
2378 <li><?php esc_html_e('🚀 Various types of Calculators', 'chatbot'); ?></li>
2379 <li><?php esc_html_e('🚀 Feedback Survey Forms etc.', 'chatbot'); ?></li>
2380 <li><?php esc_html_e('🚀 Submit Forms to OpenAI for a Response with your instructions and user submitted data. Supports multi-modal mode. Users can upload an Image or Audio file along with other form fields that you create. Check this article on how Conversational forms work with OpenAI', 'chatbot'); ?>.</li>
2381 </ul>
2382
2383 <h3><?php esc_html_e('How it Works?', 'chatbot'); ?></h3>
2384 <p><?php esc_html_e('After creating a Conversation or form, you can show it in the ChatBot in different ways.', 'chatbot'); ?></p>
2385 <ul>
2386 <li><?php esc_html_e('🚀 Add it to the Start menu', 'chatbot'); ?></li>
2387 <li><?php esc_html_e('🚀 Invoke the form intent with a system command to start inside ChatBot any time', 'chatbot'); ?></li>
2388 <li><?php esc_html_e('🚀 Load the single intent/form inside a ChatBot widget on any page', 'chatbot'); ?></li>
2389 <li><?php esc_html_e('🚀 Load the intent/form inside the ChatBot using a Click to Chat button that can be placed anywhere inside your content on any page.', 'chatbot'); ?></li>
2390 <li><?php esc_html_e('🚀 Trigger another conversational form or Intent like Live Chat using conditions', 'chatbot'); ?></li>
2391 </ul>
2392 <h3><?php esc_html_e('Feature Highlights', 'chatbot'); ?></h3>
2393
2394
2395 <div class="qcld-seo-help-feature-left">
2396 <ul>
2397 <li><?php esc_html_e('🚀 Easy to use visual drag and drop conversations and form builder', 'chatbot'); ?></li>
2398 <li><?php esc_html_e('🚀 Create conversational form or just conversation using the HTML element', 'chatbot'); ?></li>
2399 <li><?php esc_html_e('🚀 Add text fields, single option selection or multiple option selection with checkboxes', 'chatbot'); ?></li>
2400 <li><?php esc_html_e('🚀 Add HTML contents inside the conversation forms', 'chatbot'); ?></li>
2401 <li><?php esc_html_e('🚀 eMail conversations or forms to the admin at the end of conversation', 'chatbot'); ?></li>
2402 <li><?php esc_html_e('🚀 Set different recipient email addresses for different conversation forms', 'chatbot'); ?></li>
2403 <li><?php esc_html_e('🚀 Clone form', 'chatbot'); ?></li>
2404 <li><?php esc_html_e('🚀 Export/Import Forms', 'chatbot'); ?></li>
2405 <li><?php esc_html_e('🚀 Form Entries saved into database', 'chatbot'); ?></li>
2406 <li><?php esc_html_e('🚀 Export Form Entries as CSV', 'chatbot'); ?></li>
2407 <li><?php esc_html_e('🚀 12 Ready Form Templates to Get Started with (Contact Form, Feedback form. Survey Form, BMR Calculator, Appointment Request, Booking Form, Room Area Calculator)', 'chatbot'); ?></li>
2408 <li><?php esc_html_e('🚀 11 Input Fields (Simple Text, Hidden, Email Address, Number, URL, Calculation, Select Option, Checkbox, DateTime Picker, HTML, File Upload, OpenAI Instructions)', 'chatbot'); ?></li>
2409 <li><?php esc_html_e('🚀 Processor – Auto Responder – Send an auto response e-mail for form submission', 'chatbot'); ?></li>
2410 <li><?php esc_html_e('🚀 Unlimited Conditional Field creation', 'chatbot'); ?></li>
2411 <li><?php esc_html_e('🚀 Trigger another conversational form or Intent like Live Chat using conditions (**NEW)', 'chatbot'); ?></li>
2412 <li><?php esc_html_e('🚀 Unlimited Variables creation', 'chatbot'); ?></li>
2413 <li><?php esc_html_e('🚀 Form Revisions', 'chatbot'); ?></li>
2414 <li><?php esc_html_e('🚀 Create system command to initiate form for ChatBot', 'chatbot'); ?></li>
2415 <li><?php esc_html_e('🚀 Add form to Start Menu', 'chatbot'); ?></li>
2416 <li><?php esc_html_e('🚀 Submit Forms to OpenAI for a Response with your instructions and user submitted data. Supports multi-modal mode. Users can upload an Image or Audio file along with other form fields that you create. Check this article on how Conversational forms work with OpenAI.', 'chatbot'); ?></li>
2417 </ul>
2418 </div>
2419
2420 </div>
2421 </section>
2422
2423 <section id="section-flip-13">
2424 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2425 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
2426 </div> -->
2427 <div class="top-section">
2428 <div class="row">
2429 <div class="col-xs-12">
2430 <h4 class="qc-opt-dcs"><?php esc_html_e('You can paste or write your custom css here.', 'chatbot'); ?></h4>
2431 <textarea name="wp_chatbot_custom_css"
2432 class="form-control wp-chatbot-custom-css"
2433 cols="10"
2434 rows="16"><?php echo esc_textarea(get_option('wp_chatbot_custom_css')); ?></textarea>
2435 </div>
2436 </div>
2437 <!-- row-->
2438 </div>
2439 </section>
2440
2441 <section id="section-flip-11">
2442 <div class="cxsc-settings-blocks-addon">
2443 <?php esc_html_e('Harness the power of AI to generate SEO Freindly contents quickly. Install our SEO Help plugin with One Click Turbo AI Content Writer, YouTube Subtitle to SEO Article Generator with AI, Global AI writing panel, AI Image Generator and RSS Feed AutoBlogging with OpenAI or Google Gemini.', 'chatbot'); ?></div>
2444
2445 <div class="qcld-recommendbot-conv-feature">
2446 <?php include_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . '/qcld-recommendbot-ai-plugin.php'; ?>
2447
2448 </div>
2449 <div class="qcld-seo-help-feature">
2450 <h3><?php esc_html_e('SEO Help Features', 'chatbot'); ?></h3>
2451 <h4><?php esc_html_e('OpenAI ChatGPT or Google Gemini Powered Content Generator', 'chatbot'); ?></h4>
2452 <p>
2453 <?php esc_html_e('🚀 Supports both Google Gemini AI and OpenAI (ChatGPT)', 'chatbot'); ?><br>
2454 <?php esc_html_e('🚀 Generate Text Contents for your Blog with the Click of a Button – Turbo content generator', 'chatbot'); ?><br>
2455 <?php esc_html_e('🚀 Generate Single Articles directly from your Blog post edit page', 'chatbot'); ?><br>
2456 <?php esc_html_e('🚀 Generate BULK articles and schedule each article’s publish time', 'chatbot'); ?><br>
2457 <?php esc_html_e('🚀 Select to auto publish or save in draft', 'chatbot'); ?><br>
2458 <?php esc_html_e('🚀 Generate summeries for Blog Posts automatically using OpenAI ChatGPT. Automatic content summary (summarizer) or TLDR can be helpful for both your readers and SEO. Blog Post Article Summaries are automatically added to your contents and can make your content look fresh to Search Engines if you enable Generate multiple summaries and use them randomly.', 'chatbot'); ?><br>
2459 <?php esc_html_e('🚀 Automatically Create and Insert AI Images inside your articles', 'chatbot'); ?><br>
2460 <?php esc_html_e('🚀 Options to fine tune your articles (How many headings?, Heading Tag, Writing Style, Writing Tone, Image Size, Language, Add Image, Add Tagline, Add Introduction, Add Conclusion, Add Faq, Anchor Text, Target URL, Add Call-to-Action, Call-to-Action Position, Add Keywords, Keywords to Avoid, Make Keywords Bold etc.)', 'chatbot'); ?><br>
2461 <?php esc_html_e('🚀 A Collection of hundreds of ready Prompts for your ideas', 'chatbot'); ?><br>
2462 <?php esc_html_e('🚀 Generate royalty free AI Images with many different options (Artist, Style, Photography, Lighting, Subject, Camera, Composition, Resolution, Color, Special Effects, Size9(up to 4K))', 'chatbot'); ?><br>
2463 <?php esc_html_e('🚀 Save AI Generated images to Media Library with one click', 'chatbot'); ?><br>
2464 <?php esc_html_e('🚀 AI Image Gutenberg Block. Create and Insert Image directly into your blog post', 'chatbot'); ?><br>
2465 <?php esc_html_e('🚀 Generate Meta Description with one click', 'chatbot'); ?><br>
2466 <?php esc_html_e('🚀 Add meta description tag automatically to the page source', 'chatbot'); ?><br>
2467 <?php esc_html_e('🚀 OpenAI playground', 'chatbot'); ?><br>
2468 <?php esc_html_e('🚀 ChatGPT and Google Gemini in WordPress backend', 'chatbot'); ?><br>
2469 <?php esc_html_e('🚀 Humanize article so they do not sound AI written', 'chatbot'); ?></p>
2470 <h4><?php esc_html_e('YouTube Video Subtitle to SEO Article Generator with AI', 'chatbot'); ?></h4>
2471 <p>
2472 <?php esc_html_e('🚀 Generate Articles from YouTube Subtitles. Works Best for Long form Videos', 'chatbot'); ?><br>
2473 <?php esc_html_e('🚀 Rewrite subtitle to a SEO Friendly Blog Article', 'chatbot'); ?><br>
2474 <?php esc_html_e('🚀 Fine tune your articles (How many headings?, Heading Tag, Writing Style, Writing Tone, Image Size, Language, Add Image, Add Tagline, Add Introduction, Add Conclusion, Add Faq, Anchor Text, Target URL, Add Call-to-Action, Call-to-Action Position, Add Keywords, Keywords to Avoid, Make Keywords Bold etc.)', 'chatbot'); ?><br>
2475 <?php esc_html_e('🚀 Directly Generate a Blog Post Draft', 'chatbot'); ?><br>
2476 <?php esc_html_e('🚀 Humanize article so they do not sound AI written', 'chatbot'); ?></p>
2477 <h4><?php esc_html_e('RSS Feed to Post, Auto Blogging', 'chatbot'); ?></h4>
2478 <p>
2479 <?php esc_html_e('🚀 Automatically Import and Convert RSS feed items to WordPress pages, posts, and custom post type.', 'chatbot'); ?><br>
2480 <?php esc_html_e('🚀 Automatically import and aggregate unlimited RSS feeds from unlimited sources', 'chatbot'); ?><br>
2481 <?php esc_html_e('🚀 Schedule RSS Feed to Post according to your need for Autoblogging', 'chatbot'); ?><br>
2482 <?php esc_html_e('🚀 Rewrite RSS feeds with OpenAI AI before publishing to prevent duplicate contents', 'chatbot'); ?></p>
2483 <h4><?php esc_html_e('SEO Features', 'chatbot'); ?></h4>
2484 <p>
2485 <?php esc_html_e('🚀 Outputs all the essential meta tags that are essential for Search Engine Optimization', 'chatbot'); ?><br>
2486 <?php esc_html_e('🚀 Meta tags can be set for each Post type', 'chatbot'); ?><br>
2487 <?php esc_html_e('🚀 Configure Meta Tags Globally and Per Post basis', 'chatbot'); ?><br>
2488 <?php esc_html_e('🚀 Generate and Add Meta Description with one click', 'chatbot'); ?><br>
2489 <?php esc_html_e('🚀 Set the OGP information required for Social Networking Websites such as Facebook and Twitter.', 'chatbot'); ?><br>
2490 <?php esc_html_e('🚀 Customize the meta tag information individually for each post, page, and term.', 'chatbot'); ?><br>
2491 <?php esc_html_e('🚀 Easily set the Google Analytics measurement code and Webmaster Tools verification code.', 'chatbot'); ?><br>
2492 <?php esc_html_e('🚀 Works out of the box', 'chatbot'); ?></p>
2493 <h4><?php esc_html_e('SEO Optimized Images', 'chatbot'); ?></h4>
2494 <p>
2495 <?php esc_html_e('🚀 Dynamically insert SEO-Friendly “alt” and “title” attributes to your images. Simply activate the plugin, provide the pattern, and you are ready to go.', 'chatbot'); ?><br>
2496 <?php esc_html_e('🚀 Dynamically replaces the “alt” and “title” tags. It does not make any changes to the database. This means that if you deactivate the plugin, everything will return to the original settings.', 'chatbot'); ?><br>
2497 <?php esc_html_e('🚀 Insert an image name, a post title and a post category in the “title” and “alt” attributes of the image.', 'chatbot'); ?></p>
2498 <h4><?php esc_html_e('No-Index Features', 'chatbot'); ?></h4>
2499 <p>
2500 <?php esc_html_e('🚀 Easily add a meta-tag for robots noindex tags to parts of your WordPress site as necessary from a central location', 'chatbot'); ?>
2501 </p>
2502 <h5><?php esc_html_e('1. Pages and Posts', 'chatbot'); ?></h5>
2503 <p>
2504 <?php esc_html_e('🚀 Front Page: Block the indexing of the website’s front page.', 'chatbot'); ?><br>
2505 <?php esc_html_e('🚀 Home Page: Block the indexing of the website’s home page.', 'chatbot'); ?><br>
2506 <?php esc_html_e('🚀 Page: Block the indexing of the site’s pages.', 'chatbot'); ?><br>
2507 <?php esc_html_e('🚀 Privacy Policy Page: Block the indexing of the website’s privacy policy page.', 'chatbot'); ?><br>
2508 <?php esc_html_e('🚀 Single Post: Block the indexing of a post on the site.', 'chatbot'); ?>
2509 </p>
2510 <h5><?php esc_html_e('2. Taxonomies', 'chatbot'); ?></h5>
2511 <p>
2512 <?php esc_html_e('🚀 Categories: Block the indexing of the website categories.', 'chatbot'); ?><br>
2513 <?php esc_html_e('🚀 Tags: Block the indexing of the website’s tags.', 'chatbot'); ?>
2514 </p>
2515 <h5><?php esc_html_e('3. Dates', 'chatbot'); ?></h5>
2516 <p>
2517 <?php esc_html_e('🚀 Date: Block the indexing based on any date-based archive pages.', 'chatbot'); ?><br>
2518 <?php esc_html_e('🚀 Day, Month, Time, Year: Block the indexing for daily, monthly, by time, or yearly archive of the site.', 'chatbot'); ?>
2519 </p>
2520 <h5><?php esc_html_e('4. Archives', 'chatbot'); ?></h5>
2521 <p>
2522 <?php esc_html_e('🚀 Archive: Block the indexing of any type of Archive page. Category, Tag, Author and Date based pages etc. are all types of Archives.', 'chatbot'); ?><br>
2523 <?php esc_html_e('🚀 Author: Block the indexing of the author’s page, where the author’s publications appear.', 'chatbot'); ?><br>
2524 <?php esc_html_e('🚀 Post Type Archive: Block the indexing of any post type page.', 'chatbot'); ?>
2525 </p>
2526 <h5><?php esc_html_e('5. Pagination and Search', 'chatbot'); ?></h5>
2527 <p>
2528 <?php esc_html_e('🚀 Pagination: Block the indexing of the pagination, i.e. all pages other than the main page of an archive.', 'chatbot'); ?><br>
2529
2530 <?php esc_html_e('🚀 Search: Block the indexing of the internal search result pages.', 'chatbot'); ?>
2531 </p>
2532 <h5><?php esc_html_e('6. Attachments and Previews', 'chatbot'); ?></h5>
2533 <p>
2534 <?php esc_html_e('🚀 Attachment: Block the indexing of an attachment document to a post or page.', 'chatbot'); ?><br>
2535 <?php esc_html_e('🚀 Customize Preview: Block the indexing when a content is being displayed in customize mode', 'chatbot'); ?><br>
2536 <?php esc_html_e('🚀 Preview: Block the indexing when a single post is being displayed in draft mode.', 'chatbot'); ?>
2537 </p>
2538 <h5><?php esc_html_e('7. Error Page', 'chatbot'); ?></h5>
2539 <p>
2540 <?php esc_html_e('🚀 Error 404: This will cause an error page to be blocked from being indexed. As it is an error page, it should not be indexed per se, but just in case.', 'chatbot'); ?>
2541 </p>
2542 <h5><?php esc_html_e('8. Other Features', 'chatbot'); ?></h5>
2543 <p>
2544 <?php esc_html_e('🚀 Works with all modern browsers', 'chatbot'); ?><br>
2545 <?php esc_html_e('🚀 Scan for Broken Links on your website', 'chatbot'); ?><br>
2546 <?php esc_html_e('🚀 Open External links in new window', 'chatbot'); ?><br>
2547 <?php esc_html_e('🚀 Priority, Premium Support', 'chatbot'); ?><br>
2548 <?php esc_html_e('🚀 Auto Upgrades for Plugin', 'chatbot'); ?></p>
2549 </div>
2550 </section>
2551
2552
2553 <footer class="wp-chatbot-admin-footer">
2554 <div class="row">
2555
2556
2557 <input type="submit" class="btn btn-primary submit-button" name="submit"
2558 id="submit" value="Save Settings"/>
2559
2560 </div>
2561 <!-- row-->
2562 </footer>
2563
2564 </div>
2565
2566
2567
2568 <div class="wp-chatbot-admin-upgrade-pro-sidebar">
2569 <div class="wp-chatbot-admingradient-color">
2570 <img class="wp-chatbot-admin-banner" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/template-sample.gif' ); ?>" alt="">
2571 <h3 class="wp-chatbot-admincart-title">Upgrade To <span>Pro</span></h3>
2572 <ul class="feature-list">
2573 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Core WPBot Pro</li>
2574 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Chat Sessions and Histories</li>
2575 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Extended Search Module</li>
2576 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">OpenAI Basic and DialogFlow</li>
2577 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Simple text Responses Pro Module</li>
2578 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Conversational Forms Pro Module</li>
2579 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">WooCommerce Module</li>
2580 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">OpenAI Pro Adv. (Fine Tuning, Assistant)</li>
2581 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Live (Human) Chat Module</li>
2582 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Tavily Search API module</li>
2583 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Extended UI Module</li>
2584 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">WebHook & Mailing List Module</li>
2585 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">White Label Module</li>
2586 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">FaceBook Messenger Module</li>
2587 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">WhatsApp through Twilio Module</li>
2588 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Multi Language Module</li>
2589 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Settings Export Import Module</li>
2590 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Voice Message Module</li>
2591 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Voice Chat Module</li>
2592 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Telegram Module</li>
2593 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Priority Technical Support</li>
2594 </ul>
2595
2596 <a class="wp-chatbot-admin-pro-upgrade-button" target="_blank" href="https://www.wpbot.pro/">Upgrade to Pro <img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/external-white.svg' ); ?>" alt=""></a>
2597 </div>
2598
2599 </div>
2600
2601
2602
2603
2604 </div>
2605
2606 </section>
2607
2608
2609
2610
2611
2612
2613 </div>
2614 <?php wp_nonce_field('wp_chatbot'); ?>
2615 </form>
2616
2617
2618 </div>
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635 <div id="qcld-quick-flyout" >
2636 <div class="qcld-quick-flyout-items">
2637 <a href="https://wpbot.pro/docs/knowledgebase/getting-started-with-chatbot/" target="_blank" class="qcld-quick-flyout-button qcld-quick-flyout-item qcld-quick-flyout-premium" rel="noopener noreferrer" target="_blank" style="transition-delay: 0ms;">
2638 <div class="qcld-quick-flyout-label">
2639 <div>Getting Started</div>
2640 </div>
2641 <i class="dashicons dashicons-admin-home"></i>
2642 </a>
2643 <a href="https://wpbot.pro/docs/kb-sections/chatbot-faqs/" target="_blank" class="qcld-quick-flyout-button qcld-quick-flyout-item" rel="noopener noreferrer" target="_blank" style="transition-delay: 60ms;">
2644 <div class="qcld-quick-flyout-label">
2645 <div>FAQ</div>
2646 </div>
2647 <i class="dashicons dashicons-flag"></i>
2648 </a>
2649 <a href="https://wpbot.pro/docs/" target="_blank" class="qcld-quick-flyout-button qcld-quick-flyout-item" style="transition-delay: 90ms;">
2650 <div class="qcld-quick-flyout-label">
2651 <div>Read the Documentation</div>
2652 </div>
2653 <i class="dashicons dashicons-sos"></i>
2654 </a>
2655 <a href="https://www.wpbot.pro/free-support/" target="_blank" class="qcld-quick-flyout-button qcld-quick-flyout-item" rel="noopener noreferrer" target="_blank" style="transition-delay: 120ms;">
2656 <div class="qcld-quick-flyout-label">
2657 <div>Ask for Help</div>
2658 </div>
2659 <i class="dashicons dashicons-email"></i>
2660 </a>
2661 <a href="https://www.wpbot.pro/" target="_blank" class="qcld-quick-flyout-button qcld-quick-flyout-item" style="transition-delay: 30ms;">
2662 <div class="qcld-quick-flyout-label">
2663 <div>Check out the WPBot Demo</div>
2664 </div>
2665 <i class="dashicons dashicons-welcome-view-site"></i>
2666 </a>
2667 <a href="https://www.wpbot.pro/pricing/" target="_blank" class="qcld-quick-flyout-button qcld-quick-flyout-item qcld-quick-flyout-premium" rel="noopener noreferrer" target="_blank" style="transition-delay: 0ms;">
2668 <div class="qcld-quick-flyout-label">
2669 <div>Upgrade to Premium</div>
2670 </div>
2671 <i class="dashicons dashicons-star-filled"></i>
2672 </a>
2673 </div>
2674 <a href="javascript:void(0);" class="qcld-quick-flyout-button qcld-quick-flyout-mascot">
2675 <div class="qcld-quick-flyout-label">
2676 <div>Start Here</div>
2677 </div>
2678 <img style="width:100%" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/agent-01.png' ); ?>" alt="Dialogflow CX">
2679 </a>
2680 </div>
2681
2682
2683
2684
2685
2686