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

2,603 lines 188.8 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('WPBot', 'wpbot'); ?>
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="#" 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', 'wpbot'); ?></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.', 'wpbot'); ?></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, 'wpbot'); ?>" 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', 'wpbot'); ?>
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', 'wpbot'); ?>
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', 'wpbot'); ?>
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', 'wpbot'); ?> </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', 'wpbot'); ?>
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', 'wpbot'); ?>
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', 'wpbot'); ?></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', 'wpbot'); ?>
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', 'wpbot'); ?>
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', 'wpbot'); ?></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', 'wpbot'); ?></h3>
149 <p><?php echo esc_html__('You can use WPBot to both answer user questions and collect information from the users.', 'wpbot'); ?></p>
150 <h4><?php echo esc_html__('To create answers to user questions you can use:', 'wpbot'); ?></h4>
151 <p> <b><?php echo esc_html__('Simple Text Responses', 'wpbot'); ?></b> (built-in), <b style="font-size: 14px"><?php echo esc_html__('FAQ', 'wpbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Site search', 'wpbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Product search', 'wpbot'); ?></b>(built-in Pro feature), <b style="font-size: 14px"><?php echo esc_html__('DialogFlow', 'wpbot'); ?></b>(3rd Party) or <b style="font-size: 14px"><?php echo esc_html__('OpenAI', 'wpbot'); ?></b>(3rd Party)</br>
152 </p>
153 <h4> <?php echo esc_html__('To collect information from your users you can use:', 'wpbot'); ?></h4>
154 <p> <b>
155 <?php echo esc_html__('Conversational forms', 'wpbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Mail us', 'wpbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Call me back', 'wpbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Collect feedback features', 'wpbot'); ?></b>(built-in)</p>
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. ', 'wpbot'); ?>
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. ', 'wpbot'); ?>
161 </b></p>
162 <hr>
163 <h4><?php echo esc_html__('You can create user interactions in the following ways:', 'wpbot'); ?></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', 'wpbot'); ?> </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.', 'wpbot'); ?> <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', 'wpbot'); ?>
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.', 'wpbot'); ?> </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', 'wpbot'); ?>
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.', 'wpbot'); ?></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', 'wpbot'); ?> <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.', 'wpbot'); ?> </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', 'wpbot'); ?>
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.', 'wpbot'); ?></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.', 'wpbot'); ?></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', 'wpbot'); ?> <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!', 'wpbot'); ?> <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', 'wpbot'); ?> </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', 'wpbot'); ?> <?php esc_html_e('powerful Conversational Forms', 'wpbot'); ?>&nbsp;<?php esc_html_e(' Addon for WPBot. It extends WPBot’s functionality and adds the ability to create', 'wpbot'); ?> <?php esc_html_e('conditional conversations', 'wpbot'); ?> <?php esc_html_e('and/or', 'wpbot'); ?> <?php esc_html_e('forms', 'wpbot'); ?> <?php esc_html_e('for the WPBot. It is a visual,', 'wpbot'); ?> <?php esc_html_e('drag and drop', 'wpbot'); ?><?php esc_html_e(' form builder that is easy to use and very flexible. Supports conditional logic and use of variables to build all types of forms or just', 'wpbot'); ?> <?php esc_html_e('menu driven', 'wpbot'); ?>
246 <?php esc_html_e('conversations', 'wpbot'); ?> <?php esc_html_e('with if else logic', 'wpbot'); ?> . <?php esc_html_e('Conversations or forms can be', 'wpbot'); ?> <?php esc_html_e('eMailed', 'wpbot'); ?> <?php esc_html_e('to you and', 'wpbot'); ?> <?php esc_html_e('saved in the database', 'wpbot'); ?>.
247 </p>
248 <h4><?php esc_html_e('Conversational Form Builder Free or Pro version works with the WPBot Free or Pro versions.', 'wpbot'); ?></h4>
249 <a class="FormBuilder" href="https://wordpress.org/plugins/conversational-forms/" target="_blank"><?php esc_html_e('Download Free Version', 'wpbot'); ?></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', 'wpbot'); ?></a>
251 <h4><?php esc_html_e('What Can You Do with it?', 'wpbot'); ?></h4>
252 <p><?php esc_html_e('Conversation Forms allows you to create a wide variety of forms, that might include:', 'wpbot'); ?></p>
253 <ul>
254 <li><?php esc_html_e('Create menu or button driven conversations', 'wpbot'); ?></li>
255 <li><?php esc_html_e('Conditional Menu Driven Conversations', 'wpbot'); ?>
256 <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'wpbot'); ?></span>
257 </li>
258 <li><?php esc_html_e('Standard Contact Forms', 'wpbot'); ?></li>
259 <li><?php esc_html_e('Dynamic,', 'wpbot'); ?> <?php esc_html_e('conditional Forms', 'wpbot'); ?> <?php esc_html_e('– where fields can change based on the user selections', 'wpbot'); ?> <span class="qc_wpbot_pro" style="font-size: 9px;">PRO</span>
260 </li>
261 <li>Job <?php esc_html_e('Application Forms', 'wpbot'); ?>
262 </li>
263 <li>
264 <?php esc_html_e('Lead Capture', 'wpbot'); ?> <?php esc_html_e('Forms', 'wpbot'); ?>
265 </li>
266 <li><?php esc_html_e('Various types of', 'wpbot'); ?> <?php esc_html_e('Calculators', 'wpbot'); ?>
267 <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'wpbot'); ?></span>
268 </li>
269 <li><?php esc_html_e('Feedback', 'wpbot'); ?> Survey<?php esc_html_e(' Forms etc.', 'wpbot'); ?> </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', 'wpbot'); ?> </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', 'wpbot'); ?></h3> <?php esc_html_e('Intents created in Dialogflow give you the power to build a truly human like, intelligent and comprehensive chatbot. Build any type of Intents and Responses (including rich message responses) directly in DialogFlow and train the bot accordingly. When you create custom intents and responses in DialogFlow, WPBot will 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.', 'wpbot'); ?> <p></p>
287 <p style="text-align: left;"><?php esc_html_e('In addition you can also Enable ', 'wpbot'); ?><?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.', 'wpbot'); ?> <span class="qc_wpbot_pro" style="font-size: 9px;">PRO', 'wpbot'); ?></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,', 'wpbot'); ?> Cards<?php esc_html_e(', Quick Text Reply or Custom PayLoad inside the ChatBot window. You can also insert an ', 'wpbot'); ?><?php esc_html_e('image', 'wpbot'); ?><?php esc_html_e(' or', 'wpbot'); ?> <?php esc_html_e('youtube video', 'wpbot'); ?><?php esc_html_e(' link inside the DialogFlow responses and they will be automatically rendered by the WPBot!', 'wpbot'); ?> <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'wpbot'); ?></span>
290 </p>
291 <h3 style="font-size: 20px;"><?php esc_html_e('OpenAI', 'wpbot'); ?></h3><?php esc_html_e('Connect the ChatBot to OpenAI. OpenAI’s API provides access to GPT-3, for a wide variety of natural language tasks. Train your ChatBot with (pre-trained) GPT-3 to answer any user questions using. Select your preferred Engine from DaVinci, Ada, Curie or Babbag! Add your own API key to the addon to connect to your OpenAI account. To go live, you need to apply to OpenAI.', 'wpbot'); ?>
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', 'wpbot'); ?> <span class="qc_wpbot_pro">PRO</span>
297 </h3>
298 <p><?php esc_html_e('WPBot supports', 'wpbot'); ?> <?php esc_html_e('visual workflow builder', 'wpbot'); ?><?php esc_html_e(' Dialogflow CX. It provides a new way of designing agents, taking a state machine approach to agent design. This gives you clear and explicit control over a conversation, a better end-user experience, and a better development', 'wpbot'); ?> <?php esc_html_e('workflow', 'wpbot'); ?>. </p>
299 <ul>
300 <li>
301 <?php esc_html_e('Console visualization', 'wpbot'); ?><?php esc_html_e(': A new', 'wpbot'); ?><?php esc_html_e('visual builder', 'wpbot'); ?> <?php esc_html_e('makes building and maintaining agents easier. Conversation paths are graphed as a state machine model, which makes conversations easier to design, enhance, and maintain.', 'wpbot'); ?>
302 </li>
303 <li>
304 <?php esc_html_e('Intuitive and powerful conversation control', 'wpbot'); ?>: <?php esc_html_e('Conversation states and state transitions are first-class types that provide explicit and powerful control over conversation paths. You can clearly define a series of steps that you want the end-user to go through.', 'wpbot'); ?>
305 </li>
306 <li>
307 <?php esc_html_e('Flows for agent partitions', 'wpbot'); ?>: <?php esc_html_e('With flows, you can partition your agent into smaller conversation topics. Different team members can own different flows, which makes large and complex agents easy to build.', 'wpbot'); ?>
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', 'wpbot'); ?></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.', 'wpbot'); ?></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', 'wpbot'); ?> </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.'); ?></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:'); ?><b>
346 <?php echo esc_html_e('Simple Text Responses, Conversational form builder, FAQ, Site Search, Send an eMail, Newsletter Subscription, DialogFlow, OpenAI etc.'); ?></b></br></br>
347 <?php echo esc_html_e('Please check this article for'); ?> <span class="wppt_nav_container qcld-plan-tab-text">
348 <a href="#general_int"><?php echo esc_html_e('more details'); ?></a> </span> <?php echo esc_html_e('on how you can create Intents and Responses.'); ?>
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', 'wpbot'); ?> </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'); ?> <b><?php echo esc_html_e('options to do more'); ?></b>. <?php echo esc_html_e('From ChatBot->Settings->Start Menu you can drag Available Menu Items (Intents) to the Active Menu Items area.'); ?></br></br>
361 <?php echo esc_html_e('Besides the built-in Intents, you can also create custom Intents for your Start Menu using'); ?> <b><?php echo esc_html_e('Simple Text Responses'); ?></b> and <b><?php echo esc_html_e('Conversational form builder'); ?></b>. <?php echo esc_html_e('You can create almost any kind of response with the combinations of the two.'); ?></br></br>
362 <?php echo esc_html_e('We recommend enabling'); ?><b><?php echo esc_html_e(' Show Start Menu After Greetings '); ?></b><?php echo esc_html_e('from ChatBot Pro->Settings->General settings.'); ?>
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', 'wpbot'); ?> </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.'); ?></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->'); ?><b><?php echo esc_html_e('Icons and Themes'); ?></b> <?php echo esc_html_e('for options to customize your ChatBot. You will also find options to embed the ChatBot on a page, click to chat, FAQ builder etc. under the Setting options.'); ?>
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', 'wpbot'); ?> </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'); ?> <b><?php echo esc_html_e('ANY language'); ?></b>. <?php echo esc_html_e('Just translate the texts used by the ChatBot from the WordPress dashboard ChatBot Pro->'); ?><b><?php echo esc_html_e('Language Center. Multi language'); ?></b> <?php echo esc_html_e('module is available in the Master License..'); ?>
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', 'wpbot'); ?> </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'); ?> <b><?php echo esc_html_e('text-based responses'); ?></b> <?php echo esc_html_e('that users may ask your ChatBot. Just define the questions, answers, and some keywords and you are done. This is a much simpler'); ?> <b><?php echo esc_html_e('alternative '); ?></b> <?php echo esc_html_e('to DialogFlow or OpenAI.'); ?>
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', 'wpbot'); ?> </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'); ?> <b> <?php echo esc_html_e('conditional fields, Calculators, Appointment booking'); ?></b> <?php echo esc_html_e('etc.'); ?>
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)', 'wpbot'); ?> </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'); ?> <b> <?php echo esc_html_e('automatically '); ?></b><?php echo esc_html_e('open up with your message. You can trigger Retargeting for '); ?><b> <?php echo esc_html_e('Exit Intent, Exit Intent, Scroll Intent, Auto After “X” Seconds, Checkout'); ?></b> <?php echo esc_html_e('etc.'); ?>
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', 'wpbot'); ?> </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'); ?> <b> <?php echo esc_html_e('DialogFlow'); ?></b> <?php echo esc_html_e('is better if you want to'); ?> <b> <?php echo esc_html_e('provide customer support'); ?></b>. <?php echo esc_html_e('OpenAI is better at generic questions and training OpenAI also requires a large dataset. But you do not have to use either 3rd party service. Using OpenAI or DialogFlow requires some patience and'); ?> <b> <?php echo esc_html_e('effort'); ?></b>. <?php echo esc_html_e('You may very well achieve what you need using '); ?><b> <?php echo esc_html_e('Simple Text Responses'); ?></b> <?php echo esc_html_e('and/or'); ?> <b> <?php echo esc_html_e('Conversational form builder'); ?></b> <?php echo esc_html_e('instead.'); ?>
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', 'wpbot'); ?> </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.'); ?> <b><?php echo esc_html_e('Pro version '); ?></b><?php echo esc_html_e('users can open a support ticket from here. We are '); ?><b><?php echo esc_html_e('friendly '); ?></b><?php echo esc_html_e('and always here to help.'); ?>
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', 'wpbot'); ?>
484 </div> -->
485
486 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('General settings', 'wpbot'); ?></h3>
487
488 <div class="cxsc-settings-blocks-notic">
489 <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.', 'wpbot'); ?></p>
490 <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 -> ', 'wpbot'); ?><?php esc_html_e('Change Language', 'wpbot'); ?></p>
491 <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.', 'wpbot'); ?></p>
492 </div>
493
494 <b>
495 <!-- <p>Please see the plugin's Help and Debugging section to troubleshoot common issues.</p> -->
496 </b>
497
498
499 <div class="cxsc-settings-blocks">
500 <div class="form-group">
501 <?php
502 $url = get_site_url();
503 $url = wp_parse_url($url);
504 $domain = $url['host'];
505
506 $admin_email = get_option('admin_email');
507 ?>
508 <h4 class="qc-opt-title"><?php esc_html_e('Emails Will be Sent to', 'wpbot'); ?></h4>
509 <input type="text" class="form-control qc-opt-dcs-font"
510 name="qlcd_wp_chatbot_admin_email"
511 value="<?php echo (get_option('qlcd_wp_chatbot_admin_email') != '' ? esc_attr(get_option('qlcd_wp_chatbot_admin_email')) : esc_attr($admin_email) ) ?>">
512 <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', 'wpbot'); ?> </label>
513 </div>
514 </div>
515 <div class="cxsc-settings-blocks">
516 <div class="form-group">
517 <?php
518 $url = get_site_url();
519 $url = wp_parse_url($url);
520 $domain = $url['host'];
521 $fromEmail = "wordpress@" . $domain;
522 ?>
523 <h4 class="qc-opt-title"><?php esc_html_e('From Email Address', 'wpbot'); ?></h4>
524 <input type="text" class="form-control qc-opt-dcs-font"
525 name="qlcd_wp_chatbot_from_email"
526 value="<?php echo (get_option('qlcd_wp_chatbot_from_email') != '' ? esc_attr( get_option('qlcd_wp_chatbot_from_email')) : esc_attr($fromEmail)); ?> ">
527 <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.', 'wpbot'); ?> </label>
528 </div>
529 </div>
530 </div>
531 </div>
532 <div class="row">
533 <div class="col-xs-12">
534 <div class="cxsc-settings-blocks">
535 <div class="form-group">
536 <h4 class="qc-opt-title"> <?php echo esc_html__("Skip Greetings (Asking for Name) and Show Start Menu", "wpchatbot"); ?> </h4>
537 <div class="cxsc-settings-blocks">
538 <input value="1" id="skip_wp_greetings" type="checkbox"
539 name="skip_wp_greetings" <?php echo(get_option('skip_wp_greetings') == 1 ? 'checked' : ''); ?>>
540 <label for="skip_wp_greetings"><?php echo esc_html__("Skip Greetings (Asking for Name) and Show Start Menu", "wpchatbot"); ?> </label>
541 </div>
542 </div>
543 </div>
544 </div>
545 </div>
546
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 Disable Start Menu", "wpchatbot"); ?> </h4>
552 <div class="cxsc-settings-blocks">
553 <input value="1" id="skip_wp_greetings_donot_show_menu" type="checkbox"
554 name="skip_wp_greetings_donot_show_menu" <?php echo(get_option('skip_wp_greetings_donot_show_menu') == 1 ? 'checked' : ''); ?>>
555 <label for="skip_wp_greetings_donot_show_menu"><?php echo esc_html__("Skip Greetings (Asking for Name) and Disable Start Menu", "wpchatbot"); ?> </label>
556 </div>
557 </div>
558 </div>
559 </div>
560 </div>
561 <div class="row">
562 <div class="col-xs-12">
563 <div class="form-group">
564 <h4 class="qc-opt-title">
565 <?php esc_html_e('Show Start Menu After Greetings', 'wpbot'); ?>
566 </h4>
567 <div class="cxsc-settings-blocks">
568 <input value="1" id="show_menu_after_greetings" type="checkbox"
569 name="show_menu_after_greetings" <?php echo (get_option('show_menu_after_greetings') == 1 ? esc_attr('checked' ): ''); ?>>
570 <label for="show_menu_after_greetings">
571 <?php esc_html_e('Show Start Menu After Greetings', 'wpbot'); ?>
572 </label>
573 </div>
574 </div>
575 </div>
576 </div>
577 <div class="row">
578 <div class="col-xs-12">
579 <div class="form-group">
580 <h4 class="qc-opt-title">
581 <?php esc_html_e('Disable WPBot', 'wpbot'); ?>
582 </h4>
583 <div class="cxsc-settings-blocks">
584 <input value="1" id="disable_wp_chatbot" type="checkbox"
585 name="disable_wp_chatbot" <?php echo (get_option('disable_wp_chatbot') == 1 ? esc_attr('checked'): ''); ?>>
586 <label for="disable_wp_chatbot">
587 <?php esc_html_e('Disable WPBot to Load', 'wpbot'); ?>
588 </label>
589 </div>
590 </div>
591 </div>
592 </div>
593 <div class="row">
594 <div class="col-xs-12">
595 <div class="form-group">
596 <h4 class="qc-opt-title">
597 <?php esc_html_e('Disable WPbot on Mobile Device', 'wpbot'); ?>
598 </h4>
599 <div class="cxsc-settings-blocks">
600 <input value="1" id="disable_wp_chatbot_on_mobile" type="checkbox"
601 name="disable_wp_chatbot_on_mobile" <?php echo (get_option('disable_wp_chatbot_on_mobile') == 1 ? esc_attr('checked' ) : ''); ?>>
602 <label for="disable_wp_chatbot_on_mobile">
603 <?php esc_html_e('Disable WpBot to Load on Mobile Device', 'wpbot'); ?>
604 </label>
605 </div>
606 </div>
607 </div>
608 </div>
609 <div class="row">
610 <div class="col-xs-12">
611 <div class="form-group">
612 <h4 class="qc-opt-title">
613 <?php esc_html_e('Enable RTL', 'wpbot'); ?>
614 </h4>
615 <div class="cxsc-settings-blocks">
616 <input value="1" id="enable_wp_chatbot_rtl" type="checkbox"
617 name="enable_wp_chatbot_rtl" <?php echo (get_option('enable_wp_chatbot_rtl') == 1 ? esc_attr('checked' ): ''); ?>>
618 <label for="enable_wp_chatbot_rtl">
619 <?php esc_html_e('Enable RTL (Right to Left language) Support for Chat', 'wpbot'); ?>
620 </label>
621 </div>
622 </div>
623 </div>
624 </div>
625 <div class="row">
626 <div class="col-xs-12">
627 <div class="form-group">
628 <h4 class="qc-opt-title">
629 <?php esc_html_e('Open All Links in a New Window', 'wpbot'); ?>
630 </h4>
631 <div class="cxsc-settings-blocks">
632 <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'): ''); ?>>
633 <label for="open_links_new_window">
634 <?php esc_html_e('Open All Links in a New Window', 'wpbot'); ?>
635 </label>
636 </div>
637 </div>
638 </div>
639 </div>
640
641 <div class="row">
642 <div class="col-xs-12">
643 <div class="form-group">
644 <h4 class="qc-opt-title"><?php esc_html_e('Bot Response Delay', 'wpbot'); ?> </h4>
645 <div class="cxsc-settings-blocks">
646 <select name="wpbot_preloading_time" id="wpbot_preloading_time">
647 <option value="100" <?php esc_attr_e((get_option('wpbot_preloading_time') == '100' ? 'selected="selected"' : ''), 'wpbot'); ?>><?php esc_html_e('0 Second', 'wpbot'); ?></option>
648 <option value="500" <?php esc_attr_e((get_option('wpbot_preloading_time') == '500' ? 'selected="selected"' : ''), 'wpbot'); ?>><?php esc_html_e('0.5 Second', 'wpbot'); ?></option>
649 <option value="1000" <?php esc_attr_e((get_option('wpbot_preloading_time') == '1000' ? 'selected="selected"' : ''), 'wpbot'); ?>><?php esc_html_e('1 Second', 'wpbot'); ?></option>
650 <option value="2000" <?php esc_attr_e((get_option('wpbot_preloading_time') == '2000' ? 'selected="selected"' : ''), 'wpbot'); ?>><?php esc_html_e('2 Second', 'wpbot'); ?></option>
651 <option value="3000" <?php esc_attr_e((get_option('wpbot_preloading_time') == '3000' ? 'selected="selected"' : ''), 'wpbot'); ?>><?php esc_html_e('3 Second', 'wpbot'); ?></option>
652 </select>
653 <label class="qcld_label_width_full" for="wpbot_preloading_time"><?php esc_html_e('Bot Response Delay', 'wpbot'); ?> </label>
654 </div>
655 </div>
656 </div>
657 </div>
658 <div class="row">
659 <div class="col-xs-12">
660 <div class="form-group">
661 <h4 class="qc-opt-title">
662 <?php esc_html_e('Override WPBot Icon\'s Position', 'wpbot'); ?>
663 </h4>
664 <div class="cxsc-settings-blocks cxsc-settings-blocks-font-resize">
665 <?php
666 $qcld_wb_chatbot_position_x = get_option('wp_chatbot_position_x');
667 if ((!isset($qcld_wb_chatbot_position_x)) || ($qcld_wb_chatbot_position_x == "")) {
668 $qcld_wb_chatbot_position_x = __("120", "wp_chatbot");
669 }
670 $qcld_wb_chatbot_position_y = get_option('wp_chatbot_position_y');
671 if ((!isset($qcld_wb_chatbot_position_y)) || ($qcld_wb_chatbot_position_y == "")) {
672 $qcld_wb_chatbot_position_y = __("120", "wp_chatbot");
673 }
674 ?>
675 <input type="number" class="qc-opt-dcs-font"
676 name="wp_chatbot_position_x"
677 value="<?php esc_attr_e($qcld_wb_chatbot_position_x, 'wpbot'); ; ?>"
678 placeholder="<?php esc_html_e('From Right In ', 'wpbot'); ?>">
679 <span class="qc-opt-dcs-font">
680 <?php esc_html_e('From Right In px', 'wpbot'); ?>
681 </span>
682 <input type="number" class="qc-opt-dcs-font"
683 name="wp_chatbot_position_y"
684 value="<?php esc_attr_e($qcld_wb_chatbot_position_y, 'wpbot'); ; ?>"
685 placeholder="<?php esc_html_e('From Bottom In Px', 'wpbot'); ?> ">
686 <span class="qc-opt-dcs-font">
687 <?php esc_html_e('From Bottom In px', 'wpbot'); ?>
688 </span> </div>
689 </div>
690 <!--.col-sm-12-->
691 </div>
692 <!-- row-->
693 </div>
694 <div class="row">
695 <div class="col-xs-12">
696
697
698
699
700
701
702
703
704
705 <div class="panel panel-default">
706 <div class="panel-heading" role="tab" id="headingTwoControl">
707 <h4 class="panel-title">
708 <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', 'wpbot'); ?> </a>
709 </h4>
710 </div>
711 <div id="collapseTwoControl" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwoControl">
712 <div class="panel-body">
713
714
715
716 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('WPBot Loading Control Options', 'wpbot'); ?></h3>
717 <div class="cxsc-settings-blocks cxsc-settings-blocks-style">
718 <div class="row">
719 <div class="col-sm-4 text-right"> <span class="qc-opt-title-font">
720 <?php esc_html_e('Show on Home Page', 'wpbot'); ?>
721 </span> </div>
722 <div class="col-sm-8">
723 <label class="radio-inline ">
724 <input id="wp-chatbot-show-home-page" type="radio"
725 name="wp_chatbot_show_home_page"
726 value="on" <?php echo(get_option('wp_chatbot_show_home_page') == 'on' ? esc_attr('checked' ): ''); ?>>
727 <?php esc_html_e('YES', 'wpbot'); ?>
728 </label>
729 <label class="radio-inline ">
730 <input id="wp-chatbot-show-home-page" type="radio"
731 name="wp_chatbot_show_home_page"
732 value="off" <?php echo(get_option('wp_chatbot_show_home_page') == 'off' ? esc_attr('checked' ): ''); ?>>
733 <?php esc_html_e('NO', 'wpbot'); ?>
734 </label>
735 </div>
736 </div>
737 <!-- row-->
738 <div class="row">
739 <div class="col-sm-4 text-right"> <span class="qc-opt-title-font">
740 <?php esc_html_e('Show on blog posts', 'wpbot'); ?>
741 </span> </div>
742 <div class="col-sm-8">
743 <label class="radio-inline ">
744 <input class="wp-chatbot-show-posts" type="radio"
745 name="wp_chatbot_show_posts"
746 value="on" <?php echo(get_option('wp_chatbot_show_posts') == 'on' ? esc_attr('checked' ): ''); ?>>
747 <?php esc_html_e('YES', 'wpbot'); ?>
748 </label>
749 <label class="radio-inline ">
750 <input class="wp-chatbot-show-posts" type="radio"
751 name="wp_chatbot_show_posts"
752 value="off" <?php echo(get_option('wp_chatbot_show_posts') == 'off' ? esc_attr('checked' ): ''); ?>>
753 <?php esc_html_e('NO', 'wpbot'); ?>
754 </label>
755 </div>
756 </div>
757 <!-- row-->
758 <div class="row">
759 <div class="col-md-4 text-right"> <span class="qc-opt-title-font">
760 <?php esc_html_e('Show on pages', 'wpbot'); ?>
761 </span> </div>
762 <div class="col-md-8">
763 <label class="radio-inline ">
764 <input class="wp-chatbot-show-pages" type="radio"
765 name="wp_chatbot_show_pages"
766 value="on" <?php echo(get_option('wp_chatbot_show_pages') == 'on' ? esc_attr('checked' ): ''); ?>>
767 <?php esc_html_e('All Pages', 'wpbot'); ?>
768 </label>
769 <label class="radio-inline ">
770 <input class="wp-chatbot-show-pages" type="radio"
771 name="wp_chatbot_show_pages"
772 value="off" <?php echo(get_option('wp_chatbot_show_pages') == 'off' ? esc_attr('checked' ): ''); ?>>
773 <?php esc_html_e('Selected Pages Only ', 'wpbot'); ?>
774 </label>
775 <div id="wp-chatbot-show-pages-list">
776 <ul class="checkbox-list">
777 <?php
778 $wp_chatbot_pages = get_pages();
779 $wp_chatbot_select_pages = maybe_unserialize(get_option('wp_chatbot_show_pages_list'));
780 foreach ($wp_chatbot_pages as $wp_chatbot_page) {
781 ?>
782 <li>
783 <input id="<?php echo esc_attr('wp_chatbot_show_page_'. $wp_chatbot_page->ID, 'wpbot' ); ?>"
784 type="checkbox"
785 name="wp_chatbot_show_pages_list[]"
786 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) {
787 echo esc_attr('checked');
788 } ?> >
789 <label for="wp_chatbot_show_page_<?php echo esc_attr($wp_chatbot_page->ID); ?>"> <?php esc_html_e($wp_chatbot_page->post_title, 'wpbot'); ?></label>
790 </li>
791 <?php } ?>
792 </ul>
793 </div>
794 </div>
795 </div>
796 <!--row-->
797 <div class="row">
798 <div class="col-sm-4 text-right"> <span class="qc-opt-title-font">
799 <?php esc_html_e('Exclude from Custom Post', 'wpbot'); ?>
800 </span></div>
801 <div class="col-sm-8">
802 <div id="wp-chatbot-exclude-post-list" class="wp-chatbot-exclude-post-list">
803 <ul class="checkbox-list">
804 <?php
805 $get_cpt_args = array(
806 'public' => true,
807 '_builtin' => false
808 );
809
810 $post_types = get_post_types( $get_cpt_args, 'object' );
811 $wp_chatbot_exclude_post_list = maybe_unserialize(get_option('wp_chatbot_exclude_post_list'));
812
813 foreach ($post_types as $post_type) {
814 ?>
815 <li>
816 <input
817 id="<?php echo esc_attr( 'wp_chatbot_exclude_post_'. $post_type->name, 'wpbot' ); ?>"
818 type="checkbox"
819 name="wp_chatbot_exclude_post_list[]"
820 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) {
821 echo esc_attr('checked');
822 } ?> >
823 <label
824 for="wp_chatbot_exclude_post_<?php echo esc_attr($post_type->name); ?>"> <?php esc_html_e($post_type->name, 'wpbot'); ?></label>
825 </li>
826 <?php } ?>
827 </ul>
828 </div>
829 </div>
830 </div>
831 </div>
832
833
834
835
836 </div>
837 </div>
838 </div>
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855 <!-- cxsc-settings-blocks-->
856 </div>
857 <!-- col-xs-12-->
858 </div>
859 <!-- row-->
860
861 </div>
862 <!-- top-section-->
863 </section>
864 <section id="section-flip-5">
865 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
866 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
867 </div> -->
868 <div class="wp-chatbot-language-center-summmery"> </div>
869 <ul class="nav nav-tabs">
870 <li class="active"><a data-toggle="tab" href="#wp-chatbot-lng-general">
871 <?php esc_html_e('General', 'wpbot'); ?>
872 </a></li>
873 <li><a data-toggle="tab" href="#wp-chatbot-lng-support">
874 <?php esc_html_e('FAQ', 'wpbot'); ?>
875 </a></li>
876 <li><a data-toggle="tab" href="#wp-chatbot-lng-reserve-keyword">
877 <?php esc_html_e('ChatBot Keywords', 'wpbot'); ?>
878 </a></li>
879 </ul>
880 <div class="tab-content">
881 <div id="wp-chatbot-lng-general" class="tab-pane fade in active">
882 <div class="top-section">
883 <div class="row">
884 <div class="col-xs-12" id="wp-chatbot-language-section">
885 <p style="color: red"><b><?php esc_html_e('You can change ALL the texts used by the ChatBot to YOUR OWN language here (like Spanish, French etc.).', 'wpbot' ); ?></b></p>
886 <p><?php esc_html_e('After making changes in the language center or settings, please type reset and hit enter in the ChatBot to start testing from the beginning or open a new Incognito window (Ctrl+Shit+N in chrome).', 'wpbot' ); ?></p>
887 <p><?php esc_html_e('You could use &lt;br&gt; tag for line break.', 'wpbot' ); ?></p>
888 <div class="form-group">
889 <h4 class="qc-opt-title">
890 <?php esc_html_e('Your Company or Website Name', 'wpbot'); ?>
891 </h4>
892 <input type="text" class="form-control qc-opt-dcs-font"
893 name="qlcd_wp_chatbot_host"
894 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_host') != '' ? get_option('qlcd_wp_chatbot_host') : 'Our Store') ); ?> ">
895 </div>
896 <div class="form-group">
897 <h4 class="qc-opt-title">
898 <?php esc_html_e('Agent name', 'wpbot'); ?>
899 </h4>
900 <input type="text" class="form-control qc-opt-dcs-font"
901 name="qlcd_wp_chatbot_agent"
902 value="<?php echo (get_option('qlcd_wp_chatbot_agent') != '' ? esc_attr(get_option('qlcd_wp_chatbot_agent')) : 'Carrie'); ?>">
903 </div>
904 <div class="form-group">
905 <h4 class="qc-opt-title">
906 <?php esc_html_e('User demo name', 'wpbot'); ?>
907 </h4>
908 <input type="text" class="form-control qc-opt-dcs-font"
909 name="qlcd_wp_chatbot_shopper_demo_name"
910 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_shopper_demo_name') != '' ? get_option('qlcd_wp_chatbot_shopper_demo_name') : 'Amigo')); ?> ">
911 </div>
912 <div class="form-group">
913 <h4 class="qc-opt-title">
914 <?php esc_html_e('YES', 'wpbot'); ?>
915 </h4>
916 <input type="text" class="form-control qc-opt-dcs-font"
917 name="qlcd_wp_chatbot_yes"
918 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_yes') != '' ? get_option('qlcd_wp_chatbot_yes') : 'YES')); ?>">
919 </div>
920 <div class="form-group">
921 <h4 class="qc-opt-title">
922 <?php esc_html_e('NO', 'wpbot'); ?>
923 </h4>
924 <input type="text" class="form-control qc-opt-dcs-font"
925 name="qlcd_wp_chatbot_no"
926 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_no') != '' ? get_option('qlcd_wp_chatbot_no') : 'NO')); ?>">
927 </div>
928 <div class="form-group">
929 <h4 class="qc-opt-title">
930 <?php esc_html_e('OR', 'wpbot'); ?>
931 </h4>
932 <input type="text" class="form-control qc-opt-dcs-font"
933 name="qlcd_wp_chatbot_or"
934 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_or') != '' ? get_option('qlcd_wp_chatbot_or') : 'OR')); ?>">
935 </div>
936 <div class="form-group">
937 <h4 class="qc-opt-title">
938 <?php esc_html_e('Sorry', 'wpbot'); ?>
939 </h4>
940 <input type="text" class="form-control qc-opt-dcs-font "
941 name="qlcd_wp_chatbot_sorry"
942 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sorry') != '' ? get_option('qlcd_wp_chatbot_sorry') : 'Sorry')); ?>">
943 </div>
944 <div class="form-group">
945 <?php
946 $agent_join_options = maybe_unserialize(get_option('qlcd_wp_chatbot_agent_join'));
947 $agent_join_option = 'qlcd_wp_chatbot_agent_join';
948 $agent_join_text = __('has joined the conversation', 'wpbot');
949 $this->qcld_wb_chatbot_dynamic_multi_option($agent_join_options, $agent_join_option, $agent_join_text);
950 ?>
951 </div>
952 </div>
953 <!--col-xs-12-->
954 <div class="col-xs-12" id="wp-chatbot-language-section">
955 <h4 class="text-success">
956 <?php esc_html_e(' Message setting for Greetings: ', 'wpbot'); ?>
957 </h4>
958 <div class="form-group">
959 <?php
960 $welcome_to_options = maybe_unserialize(get_option('qlcd_wp_chatbot_welcome'));
961 $welcome_to_option = 'qlcd_wp_chatbot_welcome';
962 $welcome_to_text = esc_html('Welcome to');
963 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_to_options, $welcome_to_option, $welcome_to_text);
964 ?>
965 </div>
966 <div class="form-group">
967 <?php
968 $welcome_back_options = maybe_unserialize(get_option('qlcd_wp_chatbot_welcome_back'));
969 $welcome_back_option = 'qlcd_wp_chatbot_welcome_back';
970 $welcome_back_text = esc_html('Welcome back');
971 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_back_options, $welcome_back_option, $welcome_back_text);
972 ?>
973 </div>
974 <div class="form-group">
975 <?php
976 $back_to_start_options = maybe_unserialize(get_option('qlcd_wp_chatbot_back_to_start'));
977 $back_to_start_option = 'qlcd_wp_chatbot_back_to_start';
978 $back_to_start_text = esc_html('Back to Start');
979 $this->qcld_wb_chatbot_dynamic_multi_option($back_to_start_options, $back_to_start_option, $back_to_start_text);
980 ?>
981 </div>
982 <div class="form-group">
983 <?php
984 $hi_there_options = maybe_unserialize(get_option('qlcd_wp_chatbot_hi_there'));
985 $hi_there_option = 'qlcd_wp_chatbot_hi_there';
986 $hi_there_text = esc_html('Hi There!');
987 $this->qcld_wb_chatbot_dynamic_multi_option($hi_there_options, $hi_there_option, $hi_there_text);
988 ?>
989 </div>
990 <div class="form-group">
991 <?php
992 $hello_options = maybe_unserialize(get_option('qlcd_wp_chatbot_hello'));
993 $hello_option = 'qlcd_wp_chatbot_hello';
994 $hello_text = esc_html('Hello');
995 $this->qcld_wb_chatbot_dynamic_multi_option($hello_options, $hello_option, $hello_text);
996 ?>
997 </div>
998 <div class="form-group">
999 <?php
1000 $asking_name_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_name'));
1001 $asking_name_option = 'qlcd_wp_chatbot_asking_name';
1002 $asking_name_text = esc_html('May I know your name?');
1003 $this->qcld_wb_chatbot_dynamic_multi_option($asking_name_options, $asking_name_option, $asking_name_text);
1004 ?>
1005 </div>
1006 <div class="form-group">
1007 <?php
1008 $i_am_options = maybe_unserialize(get_option('qlcd_wp_chatbot_i_am'));
1009 $i_am_option = 'qlcd_wp_chatbot_i_am';
1010 $i_am_text = esc_html('I am');
1011 $this->qcld_wb_chatbot_dynamic_multi_option($i_am_options, $i_am_option, $i_am_text);
1012 ?>
1013 </div>
1014 <div class="form-group">
1015 <?php
1016 $name_greeting_options = maybe_unserialize(get_option('qlcd_wp_chatbot_name_greeting'));
1017 $name_greeting_option = 'qlcd_wp_chatbot_name_greeting';
1018 $name_greeting_text = esc_html('Nice to meet you');
1019 $this->qcld_wb_chatbot_dynamic_multi_option($name_greeting_options, $name_greeting_option, $name_greeting_text);
1020 ?>
1021 </div>
1022 <div class="form-group">
1023 <?php
1024 $wildcard_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_wildcard_msg'));
1025 $wildcard_msg_option = 'qlcd_wp_chatbot_wildcard_msg';
1026 $wildcard_msg_text = esc_html('I am here to find what you need. What are you looking for?');
1027 $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_msg_options, $wildcard_msg_option, $wildcard_msg_text);
1028 ?>
1029 </div>
1030 <div class="form-group">
1031 <?php
1032 $empty_filter_msgs = maybe_unserialize(get_option('qlcd_wp_chatbot_empty_filter_msg'));
1033 $empty_filter_msg = 'qlcd_wp_chatbot_empty_filter_msg';
1034 $empty_filter_msg_text = esc_html('Sorry, I did not understand that');
1035 $this->qcld_wb_chatbot_dynamic_multi_option($empty_filter_msgs, $empty_filter_msg, $empty_filter_msg_text);
1036 ?>
1037 </div>
1038 <div class="form-group">
1039 <?php
1040 $qlcd_wp_chatbot_did_you_mean = maybe_unserialize(get_option('qlcd_wp_chatbot_did_you_mean'));
1041 $qlcd_wp_chatbot_did_you_means = 'qlcd_wp_chatbot_did_you_mean';
1042 $wp_chatbot_no_result_text = esc_html('Did you mean?');
1043 $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_did_you_mean, $qlcd_wp_chatbot_did_you_means, $wp_chatbot_no_result_text);
1044 ?>
1045 </div>
1046 <h4 class="text-success">
1047 <?php esc_html_e('Message setting for Editor Box ', 'wpbot'); ?>
1048 </h4>
1049 <div class="form-group">
1050 <?php
1051 $is_typing_options = maybe_unserialize(get_option('qlcd_wp_chatbot_is_typing'));
1052 $is_typing_option = 'qlcd_wp_chatbot_is_typing';
1053 $is_typing_text = esc_html('is typing...');
1054 $this->qcld_wb_chatbot_dynamic_multi_option($is_typing_options, $is_typing_option, $is_typing_text);
1055 ?>
1056 </div>
1057 <div class="form-group">
1058 <?php
1059 $send_a_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_send_a_msg'));
1060 $send_a_msg_option = 'qlcd_wp_chatbot_send_a_msg';
1061 $send_a_msg_text = esc_html('Send a message');
1062 $this->qcld_wb_chatbot_dynamic_multi_option($send_a_msg_options, $send_a_msg_option, $send_a_msg_text);
1063 ?>
1064 </div>
1065 <div class="form-group">
1066 <?php
1067 $choose_option_options = maybe_unserialize(get_option('qlcd_wp_chatbot_choose_option'));
1068 $choose_option_option = 'qlcd_wp_chatbot_choose_option';
1069 $choose_option_text = esc_html('Choose an option');
1070 $this->qcld_wb_chatbot_dynamic_multi_option($choose_option_options, $choose_option_option, $choose_option_text);
1071 ?>
1072 </div>
1073 <div class="form-group">
1074 <?php
1075 $asking_email_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_email'));
1076 $asking_email_option = 'qlcd_wp_chatbot_asking_email';
1077 $asking_email_text = esc_html('Please provide your email address');
1078 $this->qcld_wb_chatbot_dynamic_multi_option($asking_email_options, $asking_email_option, $asking_email_text);
1079 ?>
1080 </div>
1081 <div class="form-group">
1082 <?php
1083 $invalid_email_options = maybe_unserialize(get_option('qlcd_wp_chatbot_invalid_email'));
1084 $invalid_email_option = 'qlcd_wp_chatbot_invalid_email';
1085 $invalid_email_text = esc_html('Sorry, Email address is not valid! Please provide a valid email.');
1086 $this->qcld_wb_chatbot_dynamic_multi_option($invalid_email_options, $invalid_email_option, $invalid_email_text);
1087 ?>
1088 </div>
1089 <div class="form-group">
1090 <?php
1091 $asking_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_msg'));
1092 $asking_msg_option = 'qlcd_wp_chatbot_asking_msg';
1093 $asking_msg_text = esc_html('Thank you for email address. Please write your message now.');
1094 $this->qcld_wb_chatbot_dynamic_multi_option($asking_msg_options, $asking_msg_option, $asking_msg_text);
1095 ?>
1096 </div>
1097 <div class="form-group">
1098 <h4 class="qc-opt-title">
1099 <?php esc_html_e('WPBot Support Mail Subject', 'wpbot'); ?>
1100 </h4>
1101 <input type="text" class="form-control qc-opt-dcs-font"
1102 name="qlcd_wp_chatbot_email_sub"
1103 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_email_sub') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_sub')) : 'Support Email Subject') ); ?>">
1104 </div>
1105 <div class="form-group">
1106 <?php
1107 $support_option_again_options = maybe_unserialize(get_option('qlcd_wp_chatbot_support_option_again'));
1108 $support_option_again_option = 'qlcd_wp_chatbot_support_option_again';
1109 $support_option_again_text = esc_html('You may choose option from below.');
1110 $this->qcld_wb_chatbot_dynamic_multi_option($support_option_again_options, $support_option_again_option, $support_option_again_text);
1111 ?>
1112 </div>
1113 <div class="form-group">
1114 <h4 class="qc-opt-title">
1115 <?php esc_html_e('Your email was sent successfully.Thanks!', 'wpbot'); ?>
1116 </h4>
1117 <input type="text" class="form-control qc-opt-dcs-font"
1118 name="qlcd_wp_chatbot_email_sent"
1119 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!')); ?> ">
1120 </div>
1121 <div class="form-group">
1122 <h4 class="qc-opt-title">
1123 <?php esc_html_e('Sorry! I could not send your mail! Please contact the webmaster.', 'wpbot'); ?>
1124 </h4>
1125 <input type="text" class="form-control qc-opt-dcs-font "
1126 name="qlcd_wp_chatbot_email_fail"
1127 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')); ?> ">
1128 </div>
1129
1130 <div class="form-group">
1131 <h4 class="qc-opt-title">
1132 <?php esc_html_e('Check the relevant pages for more details and up to date information:', 'wpbot'); ?>
1133 </h4>
1134 <input type="text" class="form-control qc-opt-dcs-font "
1135 name="qlcd_wp_chatbot_relevant_post_link_openai"
1136 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:')); ?> ">
1137 </div>
1138
1139 <div class="form-group">
1140 <?php
1141 $asking_phone_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_phone'));
1142 $asking_phone_option = 'qlcd_wp_chatbot_asking_phone';
1143 $asking_phone_text = esc_html('Please provide your Phone number');
1144 $this->qcld_wb_chatbot_dynamic_multi_option($asking_phone_options, $asking_phone_option, $asking_phone_text);
1145 ?>
1146 </div>
1147 <div class="form-group">
1148 <?php
1149 $thanks_phone_options = maybe_unserialize(get_option('qlcd_wp_chatbot_thank_for_phone'));
1150 $thanks_phone_option = 'qlcd_wp_chatbot_thank_for_phone';
1151 $thanks_phone_text = esc_html('Thank you for Phone number');
1152 $this->qcld_wb_chatbot_dynamic_multi_option($thanks_phone_options, $thanks_phone_option, $thanks_phone_text);
1153 ?>
1154 </div>
1155 <div class="form-group">
1156 <h4 class="qc-opt-title">
1157 <?php esc_html_e('Thanks for your phone number. We will call you ASAP!', 'wpbot'); ?>
1158 </h4>
1159 <input type="text" class="form-control qc-opt-dcs-font"
1160 name="qlcd_wp_chatbot_phone_sent"
1161 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!')); ?> ">
1162 </div>
1163 <div class="form-group">
1164 <h4 class="qc-opt-title">
1165 <?php esc_html_e('Sorry! I could not collect phone number! Please contact the webmaster.', 'wpbot'); ?>
1166 </h4>
1167 <input type="text" class="form-control qc-opt-dcs-font"
1168 name="qlcd_wp_chatbot_phone_fail"
1169 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!')); ?> ">
1170 </div>
1171
1172 <div class="form-group">
1173 <h4 class="qc-opt-title">
1174 <?php esc_html_e('Please enter your keyword for searching', 'wpbot'); ?>
1175 </h4>
1176 <input type="text" class="form-control qc-opt-dcs-font"
1177 name="qlcd_wp_chatbot_asking_search_keyword"
1178 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')); ?> ">
1179 </div>
1180 <div class="form-group">
1181 <h4 class="qc-opt-title">
1182 <?php esc_html_e('We have found these results', 'wpbot'); ?>
1183 </h4>
1184 <input type="text" class="form-control qc-opt-dcs-font"
1185 name="qlcd_wp_chatbot_found_result"
1186 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')); ?> ">
1187 </div>
1188 <div class="form-group">
1189 <?php
1190 $qlcd_wp_chatbot_product_fails = maybe_unserialize(get_option('qlcd_wp_chatbot_product_fail'));
1191 $qlcd_wp_chatbot_product_fail = 'qlcd_wp_chatbot_product_fail';
1192 $fail_text = esc_html('Sorry, I found nothing');
1193 $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_product_fails, $qlcd_wp_chatbot_product_fail, $fail_text);
1194 ?>
1195 </div>
1196 </div>
1197 </div>
1198 </div>
1199 </div>
1200 <div id="wp-chatbot-lng-support" class="tab-pane fade">
1201 <div class="top-section">
1202 <div class="row">
1203 <div class="col-xs-12" id="wp-chatbot-language-section">
1204 <div class="form-group">
1205 <?php
1206 $support_welcome_options = maybe_unserialize(get_option('qlcd_wp_chatbot_support_welcome'));
1207 $support_welcome_option = 'qlcd_wp_chatbot_support_welcome';
1208 $support_welcome_text = esc_html('Welcome to FAQ Section');
1209 $this->qcld_wb_chatbot_dynamic_multi_option($support_welcome_options, $support_welcome_option, $support_welcome_text);
1210 ?>
1211 </div>
1212
1213
1214
1215 </div>
1216 </div>
1217 </div>
1218 </div>
1219 <div id="wp-chatbot-lng-reserve-keyword" class="tab-pane fade">
1220 <div class="top-section">
1221 <div class="row">
1222 <div class="col-xs-12" id="wp-chatbot-language-section">
1223 <div class="form-group">
1224 <h4 class="qc-opt-title">
1225 <?php esc_html_e('Start Keyword', 'wpbot'); ?>
1226 </h4>
1227 <input type="text" class="form-control qc-opt-dcs-font"
1228 name="qlcd_wp_chatbot_sys_key_help"
1229 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help'): 'start')) ; ?> ">
1230 </div>
1231 <div class="form-group">
1232 <h4 class="qc-opt-title"><strong>
1233 <?php esc_html_e('FAQ', 'wpbot'); ?>
1234 </strong>
1235 <?php esc_html_e('Keyword', 'wpbot'); ?>
1236 </h4>
1237 <input type="text" class="form-control qc-opt-dcs-font"
1238 name="qlcd_wp_chatbot_sys_key_support"
1239 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq')); ?> ">
1240 </div>
1241 <div class="form-group">
1242 <h4 class="qc-opt-title"><strong>
1243 <?php esc_html_e('Converstion History Clear', 'wpbot'); ?>
1244 </strong>
1245 <?php esc_html_e('Keyword', 'wpbot'); ?>
1246 </h4>
1247 <input type="text" class="form-control qc-opt-dcs-font"
1248 name="qlcd_wp_chatbot_sys_key_reset"
1249 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset')); ?> ">
1250 </div>
1251 <div class="form-group">
1252 <h4 class="qc-opt-title"><strong>
1253 <?php esc_html_e('eMail', 'wpbot'); ?>
1254 </strong>
1255 <?php esc_html_e('Keyword to Send eMail', 'wpbot'); ?>
1256 </h4>
1257 <input type="text" class="form-control qc-opt-dcs-font"
1258 name="qlcd_wp_chatbot_sys_key_email"
1259 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_email') != '' ? get_option('qlcd_wp_chatbot_sys_key_email'): 'email')); ?>">
1260 </div>
1261 <div class="form-group">
1262 <?php
1263 $help_welcome_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_help_welcome')));
1264 $help_welcome_option = 'qlcd_wp_chatbot_help_welcome';
1265 $help_welcome_text = esc_html('Welcome to Help Section');
1266 $this->qcld_wb_chatbot_dynamic_multi_option($help_welcome_options, $help_welcome_option, $help_welcome_text);
1267 ?>
1268 </div>
1269 <div class="form-group">
1270 <?php
1271 $help_msg_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_help_msg')));
1272 $help_msg_option = 'qlcd_wp_chatbot_help_msg';
1273 $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>';
1274 $this->qcld_wb_chatbot_dynamic_multi_option($help_msg_options, $help_msg_option, $help_msg_text);
1275 ?>
1276 </div>
1277 <div class="form-group">
1278 <?php
1279 $reset_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_reset')));
1280 $reset_option = 'qlcd_wp_chatbot_reset';
1281 $reset_text = esc_html('Do you want to clear our chat history and start over?' );
1282 $this->qcld_wb_chatbot_dynamic_multi_option($reset_options, $reset_option, $reset_text);
1283 ?>
1284 </div>
1285 </div>
1286 <!-- col-xs-12-->
1287 </div>
1288 <!-- row-->
1289 </div>
1290 <!-- top-section-->
1291 </div>
1292 </div>
1293 <!-- tab-content-->
1294 </section>
1295 <section id="section-flip-3">
1296 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
1297 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
1298 </div> -->
1299 <ul class="nav nav-tabs">
1300 <li class="active"><a data-toggle="tab" href="#wp-chatbot-icon-theme-settings"><?php esc_html_e('Icons & Themes', 'wpbot'); ?></a></li>
1301 <li><a data-toggle="tab" href="#wp-chatbot-custom-color-options"><?php esc_html_e('Custom Style Options', 'wpbot'); ?></a></li>
1302 </ul>
1303 <div class="tab-content">
1304 <div id="wp-chatbot-icon-theme-settings" class="tab-pane fade in active">
1305 <div class="top-section">
1306 <div class="row">
1307 <div class="col-xs-12">
1308
1309 <h3 class="qcld-wpbot-main-tabs-title">
1310 <?php esc_html_e('WPBot Icon', 'wpbot'); ?>
1311 </h3>
1312 <div class="cxsc-settings-blocks">
1313 <ul class="radio-list">
1314
1315 <li>
1316 <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="">
1317 <input id="wp_chatbot_icon_0" type="radio"
1318 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-0.png' ? esc_attr('checked' ): ''); ?>
1319 value="<?php echo esc_attr('icon-0.png'); ?>">
1320 <?php esc_html_e('Icon - 0', 'wpbot'); ?>
1321 </label>
1322 </li>
1323 <li>
1324 <label for="wp_chatbot_icon_1" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-1.png"
1325 alt="">
1326 <input id="wp_chatbot_icon_1" type="radio"
1327 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-1.png' ? esc_attr('checked' ): ''); ?>
1328 value="<?php echo esc_attr('icon-1.png'); ?>">
1329 <?php esc_html_e('Icon - 1', 'wpbot'); ?>
1330 </label>
1331 </li>
1332 <li>
1333 <label for="wp_chatbot_icon_2" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-2.png"
1334 alt="">
1335 <input id="wp_chatbot_icon_2" type="radio"
1336 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-2.png' ? esc_attr('checked' ): ''); ?>
1337 value="<?php echo esc_attr('icon-2.png'); ?>">
1338 <?php esc_html_e('Icon - 2', 'wpbot'); ?>
1339 </label>
1340 </li>
1341 <li>
1342 <label for="wp_chatbot_icon_3" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-3.png"
1343 alt="">
1344 <input id="wp_chatbot_icon_3" type="radio"
1345 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-3.png' ? esc_attr('checked' ): ''); ?>
1346 value="<?php echo esc_attr('icon-3.png'); ?>">
1347 <?php esc_html_e('Icon - 3', 'wpbot'); ?>
1348 </label>
1349 </li>
1350 <li>
1351 <label for="wp_chatbot_icon_4" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-4.png"
1352 alt="' ">
1353 <input id="wp_chatbot_icon_4" type="radio"
1354 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-4.png' ? esc_attr('checked'): ''); ?>
1355 value="<?php echo esc_attr('icon-4.png'); ?>">
1356 <?php esc_html_e('Icon - 4', 'wpbot'); ?>
1357 </label>
1358 </li>
1359 <li>
1360 <label for="wp_chatbot_icon_5" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-5.png"
1361 alt="">
1362 <input id="wp_chatbot_icon_5" type="radio"
1363 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-5.png' ? esc_attr('checked' ): ''); ?>
1364 value="<?php echo esc_attr('icon-5.png'); ?>">
1365 <?php esc_html_e('Icon - 5', 'wpbot'); ?>
1366 </label>
1367 </li>
1368 <li>
1369 <label for="wp_chatbot_icon_6" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-6.png"
1370 alt=" ">
1371 <input id="wp_chatbot_icon_6" type="radio"
1372 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-6.png' ? esc_attr('checked' ): ''); ?>
1373 value="<?php echo esc_attr('icon-6.png'); ?>">
1374 <?php esc_html_e('Icon - 6', 'wpbot'); ?>
1375 </label>
1376 </li>
1377 <li>
1378 <label for="wp_chatbot_icon_7" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-7.png"
1379 alt=" ">
1380 <input id="wp_chatbot_icon_7" type="radio"
1381 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-7.png' ? esc_attr('checked' ): ''); ?>
1382 value="<?php echo esc_attr('icon-7.png'); ?>">
1383 <?php esc_html_e('Icon - 7', 'wpbot'); ?>
1384 </label>
1385 </li>
1386 <li>
1387 <label for="wp_chatbot_icon_8" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-8.png"
1388 alt="">
1389 <input id="wp_chatbot_icon_8" type="radio"
1390 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-8.png' ? esc_attr('checked' ): ''); ?>
1391 value="<?php echo esc_attr('icon-8.png'); ?>">
1392 <?php esc_html_e('Icon - 8', 'wpbot'); ?>
1393 </label>
1394 </li>
1395 <li>
1396 <label for="wp_chatbot_icon_9" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-9.png"
1397 alt=" ">
1398 <input id="wp_chatbot_icon_9" type="radio"
1399 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-9.png' ? esc_attr('checked' ): ''); ?>
1400 value="<?php echo esc_attr('icon-9.png'); ?>">
1401 <?php esc_html_e('Icon - 9', 'wpbot'); ?>
1402 </label>
1403 </li>
1404 <li>
1405 <label for="wp_chatbot_icon_10" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-10.png"
1406 alt=" ">
1407 <input id="wp_chatbot_icon_10" type="radio"
1408 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-10.png' ? esc_attr('checked' ): ''); ?>
1409 value="<?php echo esc_attr('icon-10.png'); ?>">
1410 <?php esc_html_e('Icon - 10', 'wpbot'); ?>
1411 </label>
1412 </li>
1413 <li>
1414 <label for="wp_chatbot_icon_11" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-11.png"
1415 alt="">
1416 <input id="wp_chatbot_icon_11" type="radio"
1417 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-11.png' ? esc_attr('checked' ): ''); ?>
1418 value="<?php echo esc_attr('icon-11.png'); ?>">
1419 <?php esc_html_e('Icon - 11', 'wpbot'); ?>
1420 </label>
1421 </li>
1422 <li>
1423 <label for="wp_chatbot_icon_12" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-12.png"
1424 alt="">
1425 <input id="wp_chatbot_icon_12" type="radio"
1426 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-12.png' ? esc_attr('checked' ): ''); ?>
1427 value="<?php echo esc_attr('icon-12.png'); ?>">
1428 <?php esc_html_e('Icon - 12', 'wpbot'); ?>
1429 </label>
1430 </li>
1431
1432 <li>
1433 <label for="wp_chatbot_icon_13" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-13.png"
1434 alt="">
1435 <input id="wp_chatbot_icon_13" type="radio"
1436 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-13.png' ? esc_attr('checked' ): ''); ?>
1437 value="<?php echo esc_attr('icon-13.png'); ?>">
1438 <?php esc_html_e('Icon - 13', 'wpbot'); ?>
1439 </label>
1440 </li>
1441 <li>
1442 <?php
1443 if (get_option('wp_chatbot_custom_icon_path') != "") {
1444 $wp_chatbot_custom_icon_path = get_option('wp_chatbot_custom_icon_path');
1445 } else {
1446 $wp_chatbot_custom_icon_path = esc_url(QCLD_wpCHATBOT_IMG_URL) . 'custom.png';
1447 }
1448 ?>
1449 <label for="wp_chatbot_custom_icon_input" class="qc-opt-dcs-font"> <img id="wp_chatbot_custom_icon_src "
1450 src="<?php echo esc_url($wp_chatbot_custom_icon_path); ?>" alt=" ">
1451 <input id="wp_chatbot_custom_icon_input" type="radio"
1452 name="wp_chatbot_icon"
1453 value="<?php echo esc_attr('custom.png' ); ?>" <?php echo(get_option('wp_chatbot_icon') == 'custom.png' ? esc_attr('checked' ): ''); ?>>
1454 <?php esc_html_e('Custom Icon', 'wpbot'); ?>
1455 </label>
1456 </li>
1457 </ul>
1458 </div>
1459 <!-- cxsc-settings-blocks-->
1460
1461 <div class="row">
1462 <div class="col-xs-12">
1463 <div class="cxsc-settings-blocks">
1464 <div class="form-group">
1465 <h4 class="qc-opt-title">
1466 <?php esc_html_e('WPBot Icon Background Color.', 'wpbot'); ?>
1467 </h4>
1468 <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') ); ?>"/>
1469 </div>
1470 </div>
1471 </div>
1472 </div>
1473 <div class="row">
1474 <div class="col-xs-12">
1475 <div class="form-group">
1476 <h4 class="qc-opt-title">
1477 <?php esc_html_e(' Upload custom Icon ', 'wpbot'); ?> <span class="small"><span class="text-danger"><?php esc_html_e('** If you select custom icon, you must upload an icon image.', 'wpbot'); ?></span></span>
1478 </h4>
1479 <div class="cxsc-settings-blocks">
1480 <input type="hidden" name="wp_chatbot_custom_icon_path"
1481 id="wp_chatbot_custom_icon_path"
1482 value="<?php esc_attr_e( $wp_chatbot_custom_icon_path, 'wpbot' ); ?>"/>
1483 <button type="button" class="wp_chatbot_custom_icon_button button">
1484 <?php esc_html_e('Upload Icon', 'wpbot'); ?>
1485 </button>
1486 </div>
1487 </div>
1488 </div>
1489 </div>
1490
1491
1492
1493 <div class="row">
1494 <div class="col-xs-12">
1495 <div class="form-group">
1496 <h4 class="qc-opt-title">
1497 <?php esc_html_e(' WPBot Agent Image', 'wpbot'); ?>
1498 </h4>
1499 <div class="cxsc-settings-blocks">
1500 <ul class="radio-list radio-list-custom">
1501 <li>
1502 <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"
1503 alt="">
1504 <input id="wp_chatbot_agent_image_def" type="radio"
1505 name="wp_chatbot_agent_image" <?php echo(get_option('wp_chatbot_agent_image') == 'agent-0.png' ? esc_attr('checked' ): ''); ?>
1506 value="agent-0.png">
1507 <?php esc_html_e('Default Agent', 'wpbot'); ?>
1508 </label>
1509 </li>
1510 <li>
1511 <?php
1512 if (get_option('wp_chatbot_custom_agent_path') != "") {
1513 $wp_chatbot_custom_agent_path = get_option('wp_chatbot_custom_agent_path');
1514 } else {
1515 $wp_chatbot_custom_agent_path = esc_url(QCLD_wpCHATBOT_IMG_URL) . 'custom-agent.png';
1516 }
1517 ?>
1518 <label for="wp_chatbot_agent_image_custom" class="qc-opt-dcs-font"> <img id="wp_chatbot_custom_agent_src"
1519 src="<?php echo esc_url($wp_chatbot_custom_agent_path); ?>"
1520 alt="Agent">
1521 <input type="radio" name="wp_chatbot_agent_image"
1522 id="wp_chatbot_agent_image_custom"
1523 value="custom-agent.png" <?php echo(get_option('wp_chatbot_agent_image') == 'custom-agent.png' ? esc_attr('checked' ): ''); ?>>
1524 <?php esc_html_e('Custom Agent', 'wpbot'); ?></label>
1525 </li>
1526 </ul>
1527 </div>
1528 <!-- cxsc-settings-blocks-->
1529 </div>
1530 </div>
1531 </div>
1532 </div>
1533 </div>
1534 </div>
1535 <div class="top-section">
1536 <div class="row">
1537 <div class="col-xs-12">
1538 <div class="form-group">
1539 <h4 class="qc-opt-title">
1540 <?php esc_html_e('Custom Agent Icon', 'wpbot'); ?>
1541 </h4>
1542 <div class="cxsc-settings-blocks">
1543 <input type="hidden" name="wp_chatbot_custom_agent_path"
1544 id="wp_chatbot_custom_agent_path"
1545 value="<?php esc_attr_e( $wp_chatbot_custom_agent_path, 'wpbot' ); ?>"/>
1546 <button type="button" class="wp_chatbot_custom_agent_button button">
1547 <?php esc_html_e('Upload Agent Icon', 'wpbot'); ?>
1548 </button>
1549 </div>
1550 </div>
1551 </div>
1552 </div>
1553 </div>
1554 <div id="top-section">
1555 <div class="form-group">
1556 <div class="row">
1557 <div class="col-sm-12">
1558 <h4 class="qc-opt-title">
1559 <?php esc_html_e('WPBot Themes', 'wpbot'); ?>
1560 </h4>
1561 </div>
1562 </div>
1563 <div class="row qcld_thumbnail_theme_prev">
1564 <div class="col-sm-3">
1565 <label for="qcld_wb_chatbot_theme_0"> <img class="thumbnail theme_prev"
1566 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/template-00.JPG"
1567 alt="Theme Basic">
1568 <input id="qcld_wb_chatbot_theme_0" type="radio"
1569 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-00' ? esc_attr('checked' ): ''); ?>
1570 value="template-00">
1571 <?php esc_html_e('Theme Basic', 'wpbot'); ?>
1572 </label>
1573 </div>
1574 <div class="col-sm-3">
1575 <label for="qcld_wb_chatbot_theme_1"> <img class="thumbnail theme_prev"
1576 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/template-01.JPG"
1577 alt="Theme Basic">
1578 <input id="qcld_wb_chatbot_theme_1" type="radio"
1579 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-01' ? esc_attr('checked' ): ''); ?>
1580 value="template-01">
1581 <?php esc_html_e('Theme One', 'wpbot'); ?>
1582 </label>
1583 </div>
1584 <div class="col-sm-6">
1585 <label for="qcld_wb_chatbot_theme_horizontal"> <img class="thumbnail theme_prev"
1586 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/horizontal.png"
1587 alt="Theme horizontal">
1588 <input id="qcld_wb_chatbot_theme_horizontal" type="radio"
1589 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-horizontal' ? esc_attr('checked' ): ''); ?>
1590 value="template-horizontal">
1591 <?php esc_html_e('Theme Horizontal', 'wpbot'); ?>
1592 </label>
1593 </div>
1594 </div>
1595 </div>
1596 </div>
1597 </div>
1598
1599
1600 <div id="wp-chatbot-custom-color-options" class="tab-pane fade">
1601 <div class="top-section">
1602 <div class="row">
1603
1604 <div class="col-xs-6">
1605 <div class="cxsc-settings-blocks cxsc-settings-blocks-style">
1606 <div class="form-group">
1607 <h4 class="qc-opt-title">
1608 <?php esc_html_e('Custom Style Options', 'wpbot'); ?>
1609 </h4>
1610 <div class="cxsc-settings-blocks">
1611 <input value="1" id="enable_wp_chatbot_custom_color" type="checkbox"
1612 name="enable_wp_chatbot_custom_color" <?php echo(get_option('enable_wp_chatbot_custom_color') == 1 ? esc_attr('checked' ): ''); ?>>
1613 <label for="enable_wp_chatbot_custom_color">
1614 <?php esc_html_e('Enable Style Colors ', 'wpbot'); ?>
1615 </label>
1616 </div>
1617 </div>
1618 </div>
1619 </div>
1620 <div class="col-xs-6">
1621 <div class="cxsc-settings-blocks">
1622 <div class="form-group">
1623 <h4 class="qc-opt-title">
1624 <?php esc_html_e('Text Color.', 'wpbot'); ?>
1625 </h4>
1626 <input id="wp_chatbot_text_color" type="text"
1627 name="wp_chatbot_text_color"
1628 value="<?php echo esc_attr((get_option('wp_chatbot_text_color') != '' ? get_option('wp_chatbot_text_color') : '#37424c')); ?>"/>
1629 </div>
1630 </div>
1631 </div>
1632 <div class="col-xs-6">
1633 <div class="cxsc-settings-blocks">
1634 <div class="form-group">
1635 <h4 class="qc-opt-title">
1636 <?php esc_html_e('Link Color.', 'wpbot'); ?>
1637 </h4>
1638 <input id="wp_chatbot_link_color" type="text"
1639 name="wp_chatbot_link_color"
1640 value="<?php echo esc_attr((get_option('wp_chatbot_link_color') != '' ? get_option('wp_chatbot_link_color') : '#e2cc1f')); ?>"/>
1641 </div>
1642 </div>
1643 </div>
1644 <div class="col-xs-6">
1645 <div class="cxsc-settings-blocks">
1646 <div class="form-group">
1647 <h4 class="qc-opt-title">
1648 <?php esc_html_e('Link Hover Color.', 'wpbot'); ?>
1649 </h4>
1650 <input id="wp_chatbot_link_hover_color" type="text"
1651 name="wp_chatbot_link_hover_color"
1652 value="<?php echo esc_attr((get_option('wp_chatbot_link_hover_color') != '' ? get_option('wp_chatbot_link_hover_color') : '#734006')); ?>"/>
1653 </div>
1654 </div>
1655 </div>
1656 <div class="col-xs-6">
1657 <div class="cxsc-settings-blocks">
1658 <div class="form-group">
1659 <h4 class="qc-opt-title">
1660 <?php esc_html_e('Bot Message Background Color.', 'wpbot'); ?>
1661 </h4>
1662 <input id="wp_chatbot_bot_msg_bg_color" type="text"
1663 name="wp_chatbot_bot_msg_bg_color"
1664 value="<?php echo esc_attr((get_option('wp_chatbot_bot_msg_bg_color') != '' ? get_option('wp_chatbot_bot_msg_bg_color'): '#1f8ceb')) ; ?>"/>
1665 </div>
1666 </div>
1667 </div>
1668 <div class="col-xs-6">
1669 <div class="cxsc-settings-blocks">
1670 <div class="form-group">
1671 <h4 class="qc-opt-title">
1672 <?php esc_html_e('Bot Message Text Color.', 'wpbot'); ?>
1673 </h4>
1674 <input id="wp_chatbot_bot_msg_text_color" type="text"
1675 name="wp_chatbot_bot_msg_text_color"
1676 value="<?php echo esc_attr((get_option('c') != '' ? get_option('wp_chatbot_bot_msg_text_color') : '#ffffff')); ?>"/>
1677 </div>
1678 </div>
1679 </div>
1680 <div class="col-xs-6">
1681 <div class="cxsc-settings-blocks">
1682 <div class="form-group">
1683 <h4 class="qc-opt-title">
1684 <?php esc_html_e('User Message Background Color.', 'wpbot'); ?>
1685 </h4>
1686 <input id="wp_chatbot_user_msg_bg_color" type="text"
1687 name="wp_chatbot_user_msg_bg_color"
1688 value="<?php echo esc_attr((get_option('wp_chatbot_user_msg_bg_color') != '' ? get_option('wp_chatbot_user_msg_bg_color') : '#ffffff') ); ?>"/>
1689 </div>
1690 </div>
1691 </div>
1692 <div class="col-xs-6">
1693 <div class="cxsc-settings-blocks">
1694 <div class="form-group">
1695 <h4 class="qc-opt-title">
1696 <?php esc_html_e('User Message Text Color.', 'wpbot'); ?>
1697 </h4>
1698 <input id="wp_chatbot_user_msg_text_color" type="text"
1699 name="wp_chatbot_user_msg_text_color"
1700 value="<?php echo esc_attr((get_option('wp_chatbot_user_msg_text_color') != '' ? get_option('wp_chatbot_user_msg_text_color') : '#000000')); ?>"/>
1701 </div>
1702 </div>
1703 </div>
1704 <div class="col-xs-6">
1705 <div class="cxsc-settings-blocks">
1706 <div class="form-group">
1707 <h4 class="qc-opt-title">
1708 <?php esc_html_e('Buttons Background Color.', 'wpbot'); ?>
1709 </h4>
1710 <input id="wp_chatbot_buttons_bg_color" type="text"
1711 name="wp_chatbot_buttons_bg_color"
1712 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_bg_color') != '' ?get_option('wp_chatbot_buttons_bg_color'): '#1f8ceb')) ; ?>"/>
1713 </div>
1714 </div>
1715 </div>
1716 <div class="col-xs-6">
1717 <div class="cxsc-settings-blocks">
1718 <div class="form-group">
1719 <h4 class="qc-opt-title">
1720 <?php esc_html_e('Buttons Hover Background Color.', 'wpbot'); ?>
1721 </h4>
1722 <input id="wp_chatbot_buttons_bg_color" type="text"
1723 name="wp_chatbot_buttons_bg_color_hover"
1724 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_bg_color_hover') != '' ? get_option('wp_chatbot_buttons_bg_color_hover') : '#1f8ceb')); ?>"/>
1725 </div>
1726 </div>
1727 </div>
1728 <div class="col-xs-6">
1729 <div class="cxsc-settings-blocks">
1730 <div class="form-group">
1731 <h4 class="qc-opt-title">
1732 <?php esc_html_e('Buttons Text Color.', 'wpbot'); ?>
1733 </h4>
1734 <input id="wp_chatbot_buttons_text_color" type="text"
1735 name="wp_chatbot_buttons_text_color"
1736 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_text_color') != '' ? get_option('wp_chatbot_buttons_text_color') : '#ffffff')); ?>"/>
1737 </div>
1738 </div>
1739 </div>
1740 <div class="col-xs-6">
1741 <div class="cxsc-settings-blocks">
1742 <div class="form-group">
1743 <h4 class="qc-opt-title">
1744 <?php esc_html_e('Buttons Text Color Hover.', 'wpbot'); ?>
1745 </h4>
1746 <input id="wp_chatbot_buttons_text_color" type="text"
1747 name="wp_chatbot_buttons_text_color_hover"
1748 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_text_color_hover') != '' ? get_option('wp_chatbot_buttons_text_color_hover') : '#ffffff')); ?>"/>
1749 </div>
1750 </div>
1751 </div>
1752 <div class="col-xs-6">
1753 <div class="cxsc-settings-blocks">
1754 <div class="form-group">
1755 <h4 class="qc-opt-title">
1756 <?php esc_html_e('Header background Color', 'wpbot'); ?>
1757 </h4>
1758 <input id="wp_chatbot_header_background_color" type="text"
1759 name="wp_chatbot_header_background_color"
1760 value="<?php esc_html_e((get_option('wp_chatbot_header_background_color') != '' ? get_option('wp_chatbot_header_background_color'): '#ffffff'), 'wpbot' ) ; ?>"/>
1761 </div>
1762 </div>
1763 </div>
1764 <div class="col-xs-6">
1765 <div class="cxsc-settings-blocks">
1766 <div class="form-group">
1767 <h4 class="qc-opt-title">
1768 <?php esc_html_e('Theme Primary Color', 'wpbot'); ?>
1769 </h4>
1770 <input id="wp_chatbot_theme_primary_color" type="text"
1771 name="wp_chatbot_theme_primary_color"
1772 value="<?php echo esc_attr((get_option('wp_chatbot_theme_primary_color') != '' ? get_option('wp_chatbot_theme_primary_color') : '#ffffff')); ?>"/>
1773 </div>
1774 </div>
1775 </div>
1776 <div class="col-xs-6">
1777 <div class="cxsc-settings-blocks">
1778 <div class="form-group">
1779 <h4 class="qc-opt-title">
1780 <?php esc_html_e('Theme Secondary Color', 'wpbot'); ?>
1781 </h4>
1782 <input id="wp_chatbot_theme_secondary_color" type="text"
1783 name="wp_chatbot_theme_secondary_color"
1784 value="<?php echo esc_attr((get_option('wp_chatbot_theme_secondary_color') != '' ? get_option('wp_chatbot_theme_secondary_color') : '#ffffff')); ?>"/>
1785 </div>
1786 </div>
1787 </div>
1788 <div class="col-xs-6">
1789 <div class="cxsc-settings-blocks">
1790 <div class="form-group">
1791 <h4 class="qc-opt-title">
1792 <?php esc_html_e('Font size', 'wpbot'); ?>
1793 </h4>
1794 <input id="wp_chatbot_font_size" type="number"
1795 name="wp_chatbot_font_size"
1796 value="<?php echo esc_attr((get_option('wp_chatbot_font_size') != '' ? get_option('wp_chatbot_font_size'): '16')) ; ?>"/>
1797 </div>
1798 </div>
1799 </div>
1800 <div class="col-xs-6">
1801 <div class="cxsc-settings-blocks">
1802 <div class="form-group">
1803 <h4 class="qc-opt-title">
1804 <?php
1805 esc_html_e('User message Font family ', 'wpbot');
1806 $user_font = get_option('wp_chat_user_font_family') != '' ? get_option('wp_chat_user_font_family') : '';
1807 $user_font_family = str_replace("\\", "",$user_font);
1808 ?>
1809 </h4>
1810 <input id="wp_chatbot_user_font" type="text" name="wp_chatbot_user_font"
1811 value="<?php echo esc_attr((get_option('wp_chatbot_user_font') != '' ? get_option('wp_chatbot_user_font') : ''));?>">
1812 <input id="wp_chat_user_font_family" type="hidden"
1813 name="wp_chat_user_font_family"
1814 />
1815 </div>
1816 </div>
1817 </div>
1818 <div class="col-xs-6">
1819 <div class="cxsc-settings-blocks">
1820 <div class="form-group">
1821 <h4 class="qc-opt-title">
1822 <?php
1823 esc_html_e('Bot message Font family ', 'wpbot');
1824 $bot_font = get_option('wp_chat_bot_font_family') != '' ? esc_html__(get_option('wp_chat_bot_font_family'), 'wpbot' ) : '';
1825 $bot_font_family = str_replace("\\", "",$bot_font);
1826 ?>
1827 </h4>
1828 <input id="wp_chatbot_bot_font" type="text" name="wp_chatbot_bot_font"
1829 value="<?php echo esc_attr((get_option('wp_chatbot_bot_font') != '' ? get_option('wp_chatbot_bot_font') : ''));?>">
1830 <input id="wp_chat_bot_font_family" type="hidden"
1831 name="wp_chat_bot_font_family"
1832 />
1833 </div>
1834 </div>
1835 </div>
1836
1837 <?php
1838 $custom_js = "jQuery(function ($) {
1839 $('#wp_chat_user_font_family').val(JSON.stringify(". esc_attr($user_font_family) ."));
1840 $('#wp_chat_bot_font_family').val(JSON.stringify(". esc_attr($bot_font_family)."));
1841 $('#wp_chatbot_user_font')
1842 .fontpicker()
1843 .on('change', function() {
1844 var tmp = this.value.split(':'),
1845 family = tmp[0],
1846 variant = tmp[1] || '400',
1847 weight = parseInt(variant,10),
1848 italic = /i$/.test(variant);
1849 var css = {
1850 fontFamily:family,
1851 fontWeight: weight,
1852 fontStyle: italic ? 'italic' : 'normal'
1853 };
1854 $('#wp_chat_user_font_family').val(JSON.stringify(css));
1855 });
1856 $('#wp_chatbot_bot_font')
1857 .fontpicker()
1858 .on('change', function() {
1859 var tmp = this.value.split(':'),
1860 family = tmp[0],
1861 variant = tmp[1] || '400',
1862 weight = parseInt(variant,10),
1863 italic = /i$/.test(variant);
1864 // Set selected font on body
1865 var css = {
1866 fontFamily:family,
1867 fontWeight: weight,
1868 fontStyle: italic ? 'italic' : 'normal'
1869 };
1870 $('#wp_chat_bot_font_family').val(JSON.stringify(css));
1871 });
1872 });
1873 ";
1874 wp_add_inline_script('qcld-wp-chatbot-admin-js', $custom_js );
1875
1876 ?>
1877 </div>
1878 </div>
1879 </div>
1880 </div>
1881 </section>
1882
1883 <section id="section-flip-4">
1884 <div class="row">
1885 <div class="col-xs-12">
1886 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
1887 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
1888 </div> -->
1889 </div>
1890 </div>
1891 <div class="top-section">
1892 <h3 class="qcld-wpbot-main-tabs-title">
1893 <?php esc_html_e('Build FAQ Query and Answers', 'wpbot'); ?>
1894
1895 </h3>
1896
1897 <p><b><?php esc_html_e('These FAQs are not searchable. You can use ChatBot->Simple Text Responses for searchable FAQs', 'wpbot'); ?></b></p>
1898
1899 <div class="block-inner ui-sortable qcld-faq-block" id="wp-chatbot-support-builder">
1900 <?php
1901 $support_quereis=$this->qcld_wb_chatbot_str_replace(maybe_unserialize( get_option('support_query')));
1902 $support_ans=$this->qcld_wb_chatbot_str_replace(maybe_unserialize( get_option('support_ans')));
1903 if (($support_quereis[0] != '') && ($support_ans[0] != '') && !empty($support_ans[0]) && (count($support_ans) == count($support_quereis))) {
1904
1905 $query_ans_counter=0;
1906 foreach (array_combine($support_quereis, $support_ans) as $query => $ans) {
1907 ?>
1908 <div class="row"> <span class="pull-right"> </span>
1909 <div class="col-xs-12">
1910 <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>
1911
1912 <div class="cxsc-settings-blocks cxsc-settings-faq-blocks">
1913 <p>
1914 <b> <?php esc_html_e('FAQ query ', 'wpbot'); ?> </b>
1915 </p>
1916 <input type="text" class="form-control" name="support_query[]"
1917 placeholder="<?php esc_html_e('FAQ query', 'wpbot' ); ?> " value="<?php echo $query; ?>">
1918 <br>
1919 <p>
1920 <b><?php esc_html_e('FAQ answer', 'wpbot'); ?></b>
1921 </p>
1922 <?php
1923 $anss = is_string( $ans ) ? $ans : '';
1924 $answer = !is_array($ans) ? stripcslashes($ans) : $anss;
1925
1926 wp_editor(html_entity_decode($answer), 'support_ans'.'_'.$query_ans_counter, array('textarea_name' =>
1927 'support_ans[]',
1928 'textarea_rows' => 20,
1929 'editor_height' => 100,
1930 'disabled' => 'disabled',
1931 'media_buttons' => false,
1932 'tinymce' => array(
1933 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
1934 ));
1935
1936 ?>
1937 </div>
1938 </div>
1939 </div>
1940 <?php
1941 $query_ans_counter++;
1942 }
1943 //}
1944 } else {
1945 ?>
1946 <div class="row"> <span class="pull-right"> </span>
1947 <div class="col-xs-12">
1948 <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>
1949
1950 <div class="cxsc-settings-blocks">
1951 <p>
1952 <b> <?php esc_html_e('FAQ Query', 'wpbot'); ?></b>
1953 </p>
1954 <input type="text" class="form-control" name="support_query[]"
1955 placeholder="<?php esc_html_e('FAQ Query ', 'wpbot'); ?> ">
1956 <br>
1957 <p class="qc-opt-dcs-font"><strong>
1958 <?php esc_html_e('Support answer', 'wpbot'); ?>
1959 </strong></p>
1960 <?php
1961 wp_editor(html_entity_decode(stripcslashes('')), 'support_ans_0', array('textarea_name' =>
1962 'support_ans[]',
1963 'textarea_rows' => 20,
1964 'editor_height' => 100,
1965 'disabled' => 'disabled',
1966 'media_buttons' => false,
1967 'tinymce' => array(
1968 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
1969 ));
1970 ?>
1971 </div>
1972 <br>
1973 </div>
1974 </div>
1975 <?php
1976 }
1977 ?>
1978 </div>
1979 <div class="row">
1980 <div class="col-sm-6 text-left"></div>
1981 <div class="col-sm-6 text-right">
1982 <button class="btn btn-success btn-sm" type="button"
1983 id="add-more-support-query">
1984 <i class="fa fa-plus" aria-hidden="true"></i>
1985
1986 </button>
1987 </div>
1988 </div>
1989 </div>
1990 </section>
1991
1992
1993 <section id="section-flip-6">
1994 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
1995 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
1996 </div> -->
1997 <?php
1998 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');
1999 ?>
2000 <div class="top-section">
2001 <div class="notification-block-inner">
2002 <div class="row">
2003 <div class="col-xs-12">
2004
2005 <div class="row">
2006 <div class="col-xs-12">
2007 <h3 class="qcld-wpbot-main-tabs-title"><?php echo esc_attr('Predefined Intents'); ?></h3>
2008 <div class="row">
2009 <div class="col-xs-12">
2010 <div class="form-group">
2011 <h4 class="qc-opt-title">
2012 <?php esc_html_e('Call Me', 'wpbot'); ?>
2013 </h4>
2014 <div class="cxsc-settings-blocks">
2015 <input value="<?php echo esc_attr('1'); ?>" id="disable_wp_chatbot_call_gen" type="checkbox"
2016 name="disable_wp_chatbot_call_gen" <?php echo(get_option('disable_wp_chatbot_call_gen') == 1 ? esc_attr('checked' ): ''); ?>>
2017 <label for="disable_wp_chatbot_call_gen">
2018 <?php esc_html_e('Disable Call Me feature and button on Start Menu', 'wpbot'); ?>
2019 </label>
2020 </div>
2021 </div>
2022 </div>
2023 </div>
2024 <div class="form-group">
2025 <h4 class="qc-opt-title">
2026 <?php esc_html_e('Button Label', 'wpbot'); ?>
2027 </h4>
2028 <input type="text" class="form-control qc-opt-dcs-font"
2029 name="qlcd_wp_chatbot_support_phone"
2030 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!')); ?> ">
2031 </div>
2032 <div class="row">
2033 <div class="col-xs-12">
2034 <div class="form-group">
2035 <h4 class="qc-opt-title">
2036 <?php esc_html_e('Email', 'wpbot'); ?>
2037 </h4>
2038 <div class="cxsc-settings-blocks">
2039 <input value="<?php echo esc_attr('1' ); ?>" id="disable_wp_chatbot_feedback" type="checkbox"
2040 name="disable_wp_chatbot_feedback" <?php echo esc_attr((get_option('disable_wp_chatbot_feedback') == 1 ? 'checked' : ''), 'wpbot' ); ?>>
2041 <label for="disable_wp_chatbot_feedback">
2042 <?php esc_html_e('Disable Email feature and button on Start Menu', 'wpbot'); ?>
2043 </label>
2044 </div>
2045 </div>
2046 </div>
2047 </div>
2048 <div class="form-group">
2049 <h4 class="qc-opt-title">
2050 <?php esc_html_e('Button Label', 'wpbot'); ?>
2051 </h4>
2052 <input type="text" class="form-control qc-opt-dcs-font"
2053 name="qlcd_wp_chatbot_support_email"
2054 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_support_email') != '' ? get_option('qlcd_wp_chatbot_support_email') : 'Send us Email')); ?> ">
2055 </div>
2056 <div class="row">
2057 <div class="col-xs-12">
2058 <div class="form-group">
2059 <h4 class="qc-opt-title">
2060 <?php esc_html_e('FAQ', 'wpbot'); ?>
2061 </h4>
2062 <div class="cxsc-settings-blocks">
2063 <input value="<?php echo esc_attr('1' ); ?>" id="disable_wp_chatbot_faq" type="checkbox"
2064 name="disable_wp_chatbot_faq" <?php echo(get_option('disable_wp_chatbot_faq') == 1 ? esc_attr('checked' ): ''); ?>>
2065 <label for="disable_wp_chatbot_faq">
2066 <?php esc_html_e('Disable FAQ feature and button on Start Menu', 'wpbot'); ?>
2067 </label>
2068 </div>
2069 </div>
2070 </div>
2071 </div>
2072 <div class="form-group">
2073 <h4 class="qc-opt-title">
2074 <?php esc_html_e('Button Label', 'wpbot'); ?>
2075 </h4>
2076 <input type="text" class="form-control qc-opt-dcs-font"
2077 name="qlcd_wp_chatbot_wildcard_support"
2078 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_wildcard_support') != '' ? get_option('qlcd_wp_chatbot_wildcard_support') : 'FAQ')); ?> ">
2079 </div>
2080 <div class="row">
2081 <div class="col-xs-12">
2082 <div class="form-group">
2083 <h4 class="qc-opt-title">
2084 <?php esc_html_e('Site Search', 'wpbot'); ?>
2085 </h4>
2086 <div class="cxsc-settings-blocks">
2087 <input value="<?php echo esc_attr('1' ); ?>" id="disable_wp_chatbot_site_search" type="checkbox"
2088 name="disable_wp_chatbot_site_search" <?php echo(get_option('disable_wp_chatbot_site_search') == 1 ? esc_attr('checked' ): ''); ?>>
2089 <label for="disable_wp_chatbot_site_search">
2090 <?php esc_html_e('Disable site search feature and button on Start Menu', 'wpbot'); ?>
2091 </label>
2092 </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>
2093 </div>
2094 <div class="cxsc-settings-blocks">
2095 <input value="<?php echo esc_attr('1' ); ?>" id="enable_wp_chatbot_post_content" type="checkbox"
2096 name="enable_wp_chatbot_post_content" <?php echo(get_option('enable_wp_chatbot_post_content') == 1 ? esc_attr('checked' ): ''); ?>>
2097 <label for="enable_wp_chatbot_post_content">
2098 <?php esc_html_e('Enable Searching Post Contents as well', 'wpbot'); ?>
2099 </label>
2100 </div>
2101 </div>
2102 </div>
2103 </div>
2104 <div class="form-group">
2105 <h4 class="qc-opt-title">
2106 <?php esc_html_e('Button Label', 'wpbot'); ?>
2107 </h4>
2108 <input type="text" class="form-control qc-opt-dcs-font"
2109 name="qlcd_wp_chatbot_wildcard_site_search"
2110 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_wildcard_site_search') != '' ? get_option('qlcd_wp_chatbot_wildcard_site_search') : 'Site Search')); ?> ">
2111 </div>
2112 </div>
2113 </div>
2114 <div class="qc_menu_setup_area">
2115 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('Menu Sorting & Customization Area', 'wpbot'); ?></h3>
2116 <p style="color:red"><?php esc_html_e('Always open a new Incognito window (Ctrl+Shit+N in chrome) to test after making any change.', 'wpbot'); ?></p>
2117 <p><?php esc_html_e('To adjust the Active Menu ordering just drag it up or down.', 'wpbot'); ?><br>
2118 <?php esc_html_e('To add a menu item in the', 'wpbot'); ?> <b><?php esc_html_e('Active Menu', 'wpbot'); ?> </b> <?php esc_html_e('simply drag a menu item from Available Menu column to the Active Menu. Double click to remove ', 'wpbot'); ?>.</p>
2119 <p style="color:red;font-size:16px"><?php esc_html_e('**If you change any button label like FAQ, remove it from the active Menu Area. Add it back and save.', 'wpbot'); ?></p>
2120
2121 <div class="qc_menu_area_box">
2122 <div class="qc_menu_area">
2123 <h4><?php esc_html_e( 'Acitve Menu', 'wpbot'); ?></h4>
2124 <div class="qc_menu_area_container" id="qc_menu_area">
2125 <?php
2126 if(get_option('qc_wpbot_menu_order')!=''):
2127 if( is_string( get_option('qc_wpbot_menu_order') ) ):
2128 echo wp_kses_post(wp_kses_stripslashes(get_option('qc_wpbot_menu_order')));
2129 else:
2130 endif;
2131 ?>
2132
2133
2134 <?php endif; ?>
2135 </div>
2136 </div>
2137 <div class="qc_menu_list_area">
2138 <h4><?php esc_html_e('Available Menu', 'wpbot'); ?></h4>
2139 <div class="qc_menu_list_container">
2140 <p><?php esc_html_e('Predefined Intents', 'wpbot'); ?></p>
2141 <ul>
2142 <li>
2143 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
2144 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="support"><?php esc_attr_e(get_option('qlcd_wp_chatbot_wildcard_support'), 'wpbot' ); ?></span>
2145 <?php endif; ?>
2146 </li>
2147 <li>
2148 <?php if(get_option('disable_wp_chatbot_site_search')==''): ?>
2149 <span class="qcld-chatbot-wildcard qc_draggable_item qcld-chatbot-site-search" data-wildcart="site_search"><?php esc_attr_e(get_option('qlcd_wp_chatbot_wildcard_site_search'), 'wpbot' ); ?></span>
2150 <?php endif; ?>
2151 </li>
2152 <li>
2153 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
2154 <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>
2155 <?php endif; ?>
2156 </li>
2157 <li>
2158 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
2159 <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>
2160 <?php endif; ?>
2161 </li>
2162 <li>
2163 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
2164 <span class="qcld-chatbot-suggest-email qc_draggable_item"><?php esc_attr_e(get_option('qlcd_wp_chatbot_support_email'), 'wpbot' ); ?></span>
2165 <?php endif; ?>
2166 </li>
2167 <li>
2168 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
2169 <span class="qcld-chatbot-suggest-phone qc_draggable_item" ><?php esc_attr_e(get_option('qlcd_wp_chatbot_support_phone'), 'wpbot' ); ?></span>
2170 <?php endif; ?>
2171 </li>
2172 </ul>
2173 <?php
2174 if(class_exists('Qcformbuilder_Forms_Admin')){
2175
2176 global $wpdb;
2177
2178 //To Do: Need to use prepared statement
2179
2180 $results = $wpdb->get_results($wpdb->prepare("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type=%s",'primary')); //DB Call OK, No Caching OK
2181 if(!empty($results)){
2182 ?>
2183 <p><?php esc_html_e('Conversational Form', 'wpbot'); ?></p>
2184 <ul>
2185 <?php
2186 foreach($results as $result){
2187 $form = maybe_unserialize($result->config);
2188 ?>
2189 <li><span class="qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item" data-form="<?php echo esc_attr($form['ID']); ?>" ><?php esc_html_e($form['name']); ?></span></li>
2190 <?php
2191 }
2192 ?>
2193 </ul>
2194 <?php
2195 }
2196 }
2197 ?>
2198 </div>
2199 </div>
2200
2201 </div>
2202
2203
2204 </div>
2205 <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'))); ?>' />
2206 </div>
2207 </div>
2208 </div>
2209 </div>
2210 </section>
2211 <section id="section-flip-7">
2212 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2213 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
2214 </div> -->
2215 <div class="top-section">
2216 <div class="wp-chatbot-language-center-summmery">
2217 <p>
2218 <?php esc_html_e('DialogFlow as Artificial Intelligences Engine for wpwBot', 'wpbot'); ?>
2219 </p>
2220 </div>
2221
2222 <div class="row wp-chatbot-language-center-summmery-checkbox">
2223 <div class="col-xs-12">
2224 <div class="wrapTexttop-lite">
2225 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('Enable DialogFlow as AI Engine to Detect Intent', 'wpbot'); ?> </h3>
2226 <div class="alert alert-warning" role="alert">
2227 <h5 style="color: #f00;font-weight:900"><?php esc_html_e('Please do not enable DialogFlow and OpenAI both at the same time.', 'wpbot'); ?> </h5>
2228 <h5 style="color: #f00;font-weight:900 "><?php esc_html_e(' Enable either DialogFlow or OpenAI', 'wpbot'); ?> </h5>
2229 </div>
2230 <div class="cxsc-settings-blocks">
2231 <input value="1" id="enable_wp_chatbot_dailogflow" type="checkbox"
2232 name="enable_wp_chatbot_dailogflow" <?php echo(get_option('enable_wp_chatbot_dailogflow') == 1 ? esc_attr('checked' ): ''); ?>>
2233 <label for="enable_wp_chatbot_dailogflow"><?php esc_html_e('Enable DialogFlow AI Engine to process Natural Language commands from users.', 'wpbot'); ?> </label> <br>
2234
2235 </div>
2236 </div>
2237 </div>
2238
2239 <div class="col-xs-12" id="wp-chatbot-dialflow-section">
2240 <p><?php esc_html_e('Log in to DialogFlow Console from', 'wpbot'); ?>
2241 <a class="wpbot_df_instruction" href="<?php echo esc_url('https://dialogflow.com/', 'wpbot'); ?>"
2242 target="_blank">
2243 <?php esc_html_e('Here', 'wpbot'); ?></a>
2244 <?php esc_html_e('with your gmail account.', 'wpbot'); ?> <a class="wpbot_df_instruction" href="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'download/wpwBot.zip'); ?>" download ><?php esc_html_e('Download', 'wpbot'); ?></a> <?php esc_html_e('the agent training data and import from DialogFlow->Settings->Export and Import tab. You can add your own intents in that agent but do not modify our following training intents which are', 'wpbot'); ?> <b><?php esc_html_e('email, email subscription, faq, get email, get name, help, phone, reset, site search and start.', 'wpbot'); ?></b> </p>
2245 <h4 class="qc-opt-title"><?php esc_html_e('DialogFlow API Version', 'wpbot'); ?></h4>
2246 <div class="form-group">
2247 <label class="radio-inline ">
2248 <input id="wp-chatbot-df-api" type="radio"
2249 name="wp_chatbot_df_api"
2250 value="v2" checked>
2251 <?php esc_html_e('Dialogflow API V2', 'wpbot'); ?> </label>
2252 </div>
2253 <div id="wp-chatbot-df-section-v2" style="display:block">
2254 <!-- Dialogflow V2 Configuration -->
2255
2256 <?php if(!file_exists(QCLD_wpCHATBOT_GC_DIRNAME.'/autoload.php')): ?>
2257 <div class="form-group"> <br>
2258 <h4 class="qc-opt-title" style="color:red "><?php esc_html_e('For Interacting with Dialogflow V2 the Google Client Package is Required!', 'wpbot'); ?></h4>
2259 <p><?php esc_html_e('Please click the download button below to download the Google Client package. The package will be downloaded inside your Wordpress`s', 'wpbot'); ?> <b><?php esc_html_e('/wp-content', 'wpbot'); ?></b> <?php esc_html_e('folder. This package is around', 'wpbot'); ?> <b><?php esc_html_e('0 MB', 'wpbot'); ?></b><?php esc_html_e(' in zip file format and it will be about', 'wpbot'); ?> <b><?php esc_html_e('49 MB', 'wpbot'); ?></b> <?php esc_html_e('after unzipping. Please make sure that your server has enough space to store that package.', 'wpbot'); ?></p>
2260 <div class="qcld-wpbot-gcdownload-area">
2261 <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', 'wpbot'); ?></button>
2262 <?php
2263 if(!is_writable(QCLD_wpCHATBOT_GC_ROOT)){
2264 echo '<span style="color:red;font-size: 12px; "><b>'.esc_html('wp-content').' </b> '.esc_html('folder is not writable.').'</span>';
2265 }
2266 ?>
2267 <br>
2268 <br>
2269 <p><?php esc_html_e('Alternatively, If the download operation fails for some reason like folder permission or server timeout issue then you can manually upload the ', 'wpbot'); ?> <u title="Google Client"><?php esc_html_e('GC', 'wpbot'); ?></u> <?php esc_html_e('package by following some simple steps.', 'wpbot'); ?></p>
2270 <p><?php esc_html_e('1. Download GC package from:', 'wpbot'); ?> <a href="<?php echo esc_url('https://github.com/qcloud/gc/archive/master.zip'); ?>" target="_blank"><?php esc_attr_e('https://github.com/qcloud/gc/archive/master.zip', 'wpbot'); ?></a></p>
2271 <p><?php esc_html_e('2. Unzip the', 'wpbot'); ?> <b><?php esc_html_e('wpbotgc.zip', 'wpbot'); ?></b> <?php esc_html_e('inside to your computer.', 'wpbot'); ?></p>
2272 <p><?php esc_html_e('3. Create a folder with name ', 'wpbot'); ?><b><?php esc_html_e('wpbot-dfv2-client', 'wpbot'); ?></b> <?php esc_html_e('under ', 'wpbot'); ?><b><?php esc_html_e('wp-content', 'wpbot'); ?></b> <?php esc_html_e('into your server.', 'wpbot'); ?></p>
2273 <p><?php esc_html_e('4. Upload the upziped files and folders into', 'wpbot'); ?> <b><?php esc_html_e('wpbot-dfv2-client', 'wpbot'); ?></b><?php esc_html_e(' via FTP.', 'wpbot'); ?></p>
2274 <div class="qcld_wpbot_download_statuses"> </div>
2275 </div>
2276 <br>
2277 </div>
2278 <?php else: ?>
2279 <div class="form-group">
2280 <h4 class="qc-opt-title" style="color:green "><?php esc_html_e('Google Client Package is Installed on Your Website.', 'wpbot'); ?></h4>
2281 </div>
2282 <?php endif; ?>
2283 <div class="form-group">
2284 <h4 class="qc-opt-title" ><?php esc_html_e('Please follow along with this', 'wpbot'); ?> <a href="<?php echo esc_url('https://www.wpbot.pro/dialogflow-integration'); ?>" target="_blank"><?php esc_html_e('tutorial.', 'wpbot'); ?> </a><?php esc_html_e(' It will help you to create a project id, private key and integrate WPBot with Dialogflow. For DialogFlow agent region, try choosing any region other than the EU region which has known issues.', 'wpbot'); ?> </h4>
2285 </div>
2286 <div class="form-group">
2287 <h4 class="qc-opt-title"><?php esc_html_e('DialogFlow Project ID', 'wpbot'); ?></h4>
2288 <p><?php esc_html_e('You can follow the', 'wpbot'); ?> <a href="<?php echo esc_url('https://www.youtube.com/watch?v=qY-EHFY2wH8" '); ?>" target="_blank"><?php esc_html_e('tutorial', 'wpbot'); ?> </a><?php esc_html_e(' to get the Project ID.', 'wpbot'); ?> </p>
2289 <input type="text" class="form-control qc-opt-dcs-font"
2290 name="qlcd_wp_chatbot_dialogflow_project_id"
2291 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'); ?> ">
2292 </div>
2293 <?php
2294
2295 $placeholderPrivatekey = '{
2296 "type": "service_account",
2297 "project_id": "PLACEYOUROWNID",
2298 "private_key_id": "31e300128..........c48",
2299 "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",
2300 "client_email": "dialogflow-evysjn@wpbotpro.iam.gserviceaccount.com",
2301 "client_id": "1026.....032997",
2302 "auth_uri": "https://accounts.google.com/o/oauth2/auth",
2303 "token_uri": "https://oauth2.googleapis.com/token",
2304 "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
2305 "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/dialogflow-evysjn%40wpbotpro.iam.gserviceaccount.com"
2306 }';
2307
2308 ?>
2309 <div class="form-group">
2310 <h4 class="qc-opt-title"><?php esc_html_e('Private Key', 'wpbot'); ?></h4>
2311 <p><?php esc_html_e("Paste your google service account's private key JSON file's contents (string) here", "wpbot"); ?> <a href="<?php echo esc_url('https://www.youtube.com/watch?v=qY-EHFY2wH8'); ?>" target="_blank"><?php esc_html_e('tutorial', 'wpbot'); ?></a> <?php esc_html_e('to get private key JSON file. ', 'wpbot'); ?></p>
2312 <textarea class="form-control" rows="20" name="qlcd_wp_chatbot_dialogflow_project_key" placeholder='<?php echo esc_attr($placeholderPrivatekey); ?>'><?php esc_html_e((get_option('qlcd_wp_chatbot_dialogflow_project_key') != '' ? get_option('qlcd_wp_chatbot_dialogflow_project_key') : ''), 'wpbot' ); ?></textarea>
2313 </div>
2314
2315 <!-- End Dialogflow V2 Configuration -->
2316 </div>
2317 <div class="form-group">
2318 <h4 class="qc-opt-title"><?php esc_html_e('Please Click the Button Below to Test Dialogflow Connection.', 'wpbot'); ?> </h4>
2319 <p style="color:red "><?php esc_html_e('*Save settings before pressing Test Dialogflow Connection', 'wpbot'); ?><br>
2320 <?php esc_html_e('*You must have owner permission for the service account your are using in Dialogflow agent.', 'wpbot'); ?></p>
2321 <div class="cxsc-settings-blocks">
2322 <button class="btn btn-primary" id="qc_wpbot_df_status"><?php esc_html_e('Test Dialogflow Connection', 'wpbot'); ?></button>
2323 <div class="qcwp_df_status"></div>
2324 </div>
2325 </div>
2326 <br>
2327 <div class="form-group">
2328 <h4 class="qc-opt-title">
2329 <?php esc_html_e('DialogFlow Default reply', 'wpbot'); ?>
2330 </h4>
2331 <input type="text" class="form-control qc-opt-dcs-font"
2332 name="qlcd_wp_chatbot_dialogflow_defualt_reply"
2333 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_dialogflow_defualt_reply') != '' ? get_option('qlcd_wp_chatbot_dialogflow_defualt_reply') : 'Sorry, I did not understand you. You may browse')); ?>" placeholder="<?php esc_html_e('DialogFlow default reply', 'wpbot'); ?> ">
2334 </div>
2335 <div class="form-group">
2336 <h4 class="qc-opt-title"><?php esc_html_e('DialogFlow Agent Language (Ex: en)', 'wpbot'); ?></h4>
2337 <input type="text" class="form-control qc-opt-dcs-font"
2338 name="qlcd_wp_chatbot_dialogflow_agent_language"
2339 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'); ?>">
2340 </div>
2341 </div>
2342 </div>
2343 </div>
2344 </section>
2345
2346 <section id="section-flip-9">
2347 <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.', 'wpbot'); ?></br>
2348 <?php esc_html_e('After creating a Conversational form, you can add it to the ChatBot`s Start Menu from the ChatBot Settings->Start Menu', 'wpbot'); ?></b></div>
2349
2350 <div class="qcld-recommendbot-conv-feature">
2351 <?php include_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . '/qcld-recommendbot-plugin.php'; ?>
2352 </div>
2353 <div class="qcld-seo-help-feature">
2354 <h3><?php esc_html_e('What Can You Do with it?', 'wpbot'); ?></h3>
2355 <p><?php esc_html_e('Conversation Forms Pro allows you to create a wide variety of forms, that might include:', 'wpbot'); ?></p>
2356 <ul>
2357 <li><?php esc_html_e('🚀 Conditional Menu Driven Conversations', 'wpbot'); ?></li>
2358 <li><?php esc_html_e('🚀 Standard Contact Forms', 'wpbot'); ?></li>
2359 <li><?php esc_html_e('🚀 Dynamic, conditional Forms – where fields can change based on the user selections', 'wpbot'); ?></li>
2360 <li><?php esc_html_e('🚀 Job Application Forms', 'wpbot'); ?></li>
2361 <li><?php esc_html_e('🚀 Lead Capture Forms', 'wpbot'); ?></li>
2362 <li><?php esc_html_e('🚀 Various types of Calculators', 'wpbot'); ?></li>
2363 <li><?php esc_html_e('🚀 Feedback Survey Forms etc.', 'wpbot'); ?></li>
2364 <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', 'wpbot'); ?>.</li>
2365 </ul>
2366
2367 <h3><?php esc_html_e('How it Works?', 'wpbot'); ?></h3>
2368 <p><?php esc_html_e('After creating a Conversation or form, you can show it in the ChatBot in different ways.', 'wpbot'); ?></p>
2369 <ul>
2370 <li><?php esc_html_e('🚀 Add it to the Start menu', 'wpbot'); ?></li>
2371 <li><?php esc_html_e('🚀 Invoke the form intent with a system command to start inside ChatBot any time', 'wpbot'); ?></li>
2372 <li><?php esc_html_e('🚀 Load the single intent/form inside a ChatBot widget on any page', 'wpbot'); ?></li>
2373 <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.', 'wpbot'); ?></li>
2374 <li><?php esc_html_e('🚀 Trigger another conversational form or Intent like Live Chat using conditions', 'wpbot'); ?></li>
2375 </ul>
2376 <h3><?php esc_html_e('Feature Highlights', 'wpbot'); ?></h3>
2377
2378
2379 <div class="qcld-seo-help-feature-left">
2380 <ul>
2381 <li><?php esc_html_e('🚀 Easy to use visual drag and drop conversations and form builder', 'wpbot'); ?></li>
2382 <li><?php esc_html_e('🚀 Create conversational form or just conversation using the HTML element', 'wpbot'); ?></li>
2383 <li><?php esc_html_e('🚀 Add text fields, single option selection or multiple option selection with checkboxes', 'wpbot'); ?></li>
2384 <li><?php esc_html_e('🚀 Add HTML contents inside the conversation forms', 'wpbot'); ?></li>
2385 <li><?php esc_html_e('🚀 eMail conversations or forms to the admin at the end of conversation', 'wpbot'); ?></li>
2386 <li><?php esc_html_e('🚀 Set different recipient email addresses for different conversation forms', 'wpbot'); ?></li>
2387 <li><?php esc_html_e('🚀 Clone form', 'wpbot'); ?></li>
2388 <li><?php esc_html_e('🚀 Export/Import Forms', 'wpbot'); ?></li>
2389 <li><?php esc_html_e('🚀 Form Entries saved into database', 'wpbot'); ?></li>
2390 <li><?php esc_html_e('🚀 Export Form Entries as CSV', 'wpbot'); ?></li>
2391 <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)', 'wpbot'); ?></li>
2392 <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)', 'wpbot'); ?></li>
2393 <li><?php esc_html_e('🚀 Processor – Auto Responder – Send an auto response e-mail for form submission', 'wpbot'); ?></li>
2394 <li><?php esc_html_e('🚀 Unlimited Conditional Field creation', 'wpbot'); ?></li>
2395 <li><?php esc_html_e('🚀 Trigger another conversational form or Intent like Live Chat using conditions (**NEW)', 'wpbot'); ?></li>
2396 <li><?php esc_html_e('🚀 Unlimited Variables creation', 'wpbot'); ?></li>
2397 <li><?php esc_html_e('🚀 Form Revisions', 'wpbot'); ?></li>
2398 <li><?php esc_html_e('🚀 Create system command to initiate form for ChatBot', 'wpbot'); ?></li>
2399 <li><?php esc_html_e('🚀 Add form to Start Menu', 'wpbot'); ?></li>
2400 <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.', 'wpbot'); ?></li>
2401 </ul>
2402 </div>
2403
2404 </div>
2405 </section>
2406
2407 <section id="section-flip-13">
2408 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2409 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'wpbot'); ?>
2410 </div> -->
2411 <div class="top-section">
2412 <div class="row">
2413 <div class="col-xs-12">
2414 <h4 class="qc-opt-dcs"><?php esc_html_e('You can paste or write your custom css here.', 'wpbot'); ?></h4>
2415 <textarea name="wp_chatbot_custom_css"
2416 class="form-control wp-chatbot-custom-css"
2417 cols="10"
2418 rows="16"><?php echo esc_textarea(get_option('wp_chatbot_custom_css')); ?></textarea>
2419 </div>
2420 </div>
2421 <!-- row-->
2422 </div>
2423 </section>
2424
2425 <section id="section-flip-11">
2426 <div class="cxsc-settings-blocks-addon">
2427 <?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.', 'wpbot'); ?></div>
2428
2429 <div class="qcld-recommendbot-conv-feature">
2430 <?php include_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . '/qcld-recommendbot-ai-plugin.php'; ?>
2431
2432 </div>
2433 <div class="qcld-seo-help-feature">
2434 <h3><?php esc_html_e('SEO Help Features', 'wpbot'); ?></h3>
2435 <h4><?php esc_html_e('OpenAI ChatGPT or Google Gemini Powered Content Generator', 'wpbot'); ?></h4>
2436 <p>
2437 <?php esc_html_e('🚀 Supports both Google Gemini AI and OpenAI (ChatGPT)', 'wpbot'); ?><br>
2438 <?php esc_html_e('🚀 Generate Text Contents for your Blog with the Click of a Button – Turbo content generator', 'wpbot'); ?><br>
2439 <?php esc_html_e('🚀 Generate Single Articles directly from your Blog post edit page', 'wpbot'); ?><br>
2440 <?php esc_html_e('🚀 Generate BULK articles and schedule each article’s publish time', 'wpbot'); ?><br>
2441 <?php esc_html_e('🚀 Select to auto publish or save in draft', 'wpbot'); ?><br>
2442 <?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.', 'wpbot'); ?><br>
2443 <?php esc_html_e('🚀 Automatically Create and Insert AI Images inside your articles', 'wpbot'); ?><br>
2444 <?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.)', 'wpbot'); ?><br>
2445 <?php esc_html_e('🚀 A Collection of hundreds of ready Prompts for your ideas', 'wpbot'); ?><br>
2446 <?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))', 'wpbot'); ?><br>
2447 <?php esc_html_e('🚀 Save AI Generated images to Media Library with one click', 'wpbot'); ?><br>
2448 <?php esc_html_e('🚀 AI Image Gutenberg Block. Create and Insert Image directly into your blog post', 'wpbot'); ?><br>
2449 <?php esc_html_e('🚀 Generate Meta Description with one click', 'wpbot'); ?><br>
2450 <?php esc_html_e('🚀 Add meta description tag automatically to the page source', 'wpbot'); ?><br>
2451 <?php esc_html_e('🚀 OpenAI playground', 'wpbot'); ?><br>
2452 <?php esc_html_e('🚀 ChatGPT and Google Gemini in WordPress backend', 'wpbot'); ?><br>
2453 <?php esc_html_e('🚀 Humanize article so they do not sound AI written', 'wpbot'); ?></p>
2454 <h4><?php esc_html_e('YouTube Video Subtitle to SEO Article Generator with AI', 'wpbot'); ?></h4>
2455 <p>
2456 <?php esc_html_e('🚀 Generate Articles from YouTube Subtitles. Works Best for Long form Videos', 'wpbot'); ?><br>
2457 <?php esc_html_e('🚀 Rewrite subtitle to a SEO Friendly Blog Article', 'wpbot'); ?><br>
2458 <?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.)', 'wpbot'); ?><br>
2459 <?php esc_html_e('🚀 Directly Generate a Blog Post Draft', 'wpbot'); ?><br>
2460 <?php esc_html_e('🚀 Humanize article so they do not sound AI written', 'wpbot'); ?></p>
2461 <h4><?php esc_html_e('RSS Feed to Post, Auto Blogging', 'wpbot'); ?></h4>
2462 <p>
2463 <?php esc_html_e('🚀 Automatically Import and Convert RSS feed items to WordPress pages, posts, and custom post type.', 'wpbot'); ?><br>
2464 <?php esc_html_e('🚀 Automatically import and aggregate unlimited RSS feeds from unlimited sources', 'wpbot'); ?><br>
2465 <?php esc_html_e('🚀 Schedule RSS Feed to Post according to your need for Autoblogging', 'wpbot'); ?><br>
2466 <?php esc_html_e('🚀 Rewrite RSS feeds with OpenAI AI before publishing to prevent duplicate contents', 'wpbot'); ?></p>
2467 <h4><?php esc_html_e('SEO Features', 'wpbot'); ?></h4>
2468 <p>
2469 <?php esc_html_e('🚀 Outputs all the essential meta tags that are essential for Search Engine Optimization', 'wpbot'); ?><br>
2470 <?php esc_html_e('🚀 Meta tags can be set for each Post type', 'wpbot'); ?><br>
2471 <?php esc_html_e('🚀 Configure Meta Tags Globally and Per Post basis', 'wpbot'); ?><br>
2472 <?php esc_html_e('🚀 Generate and Add Meta Description with one click', 'wpbot'); ?><br>
2473 <?php esc_html_e('🚀 Set the OGP information required for Social Networking Websites such as Facebook and Twitter.', 'wpbot'); ?><br>
2474 <?php esc_html_e('🚀 Customize the meta tag information individually for each post, page, and term.', 'wpbot'); ?><br>
2475 <?php esc_html_e('🚀 Easily set the Google Analytics measurement code and Webmaster Tools verification code.', 'wpbot'); ?><br>
2476 <?php esc_html_e('🚀 Works out of the box', 'wpbot'); ?></p>
2477 <h4><?php esc_html_e('SEO Optimized Images', 'wpbot'); ?></h4>
2478 <p>
2479 <?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.', 'wpbot'); ?><br>
2480 <?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.', 'wpbot'); ?><br>
2481 <?php esc_html_e('🚀 Insert an image name, a post title and a post category in the “title” and “alt” attributes of the image.', 'wpbot'); ?></p>
2482 <h4><?php esc_html_e('No-Index Features', 'wpbot'); ?></h4>
2483 <p>
2484 <?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', 'wpbot'); ?>
2485 </p>
2486 <h5><?php esc_html_e('1. Pages and Posts', 'wpbot'); ?></h5>
2487 <p>
2488 <?php esc_html_e('🚀 Front Page: Block the indexing of the website’s front page.', 'wpbot'); ?><br>
2489 <?php esc_html_e('🚀 Home Page: Block the indexing of the website’s home page.', 'wpbot'); ?><br>
2490 <?php esc_html_e('🚀 Page: Block the indexing of the site’s pages.', 'wpbot'); ?><br>
2491 <?php esc_html_e('🚀 Privacy Policy Page: Block the indexing of the website’s privacy policy page.', 'wpbot'); ?><br>
2492 <?php esc_html_e('🚀 Single Post: Block the indexing of a post on the site.', 'wpbot'); ?>
2493 </p>
2494 <h5><?php esc_html_e('2. Taxonomies', 'wpbot'); ?></h5>
2495 <p>
2496 <?php esc_html_e('🚀 Categories: Block the indexing of the website categories.', 'wpbot'); ?><br>
2497 <?php esc_html_e('🚀 Tags: Block the indexing of the website’s tags.', 'wpbot'); ?>
2498 </p>
2499 <h5><?php esc_html_e('3. Dates', 'wpbot'); ?></h5>
2500 <p>
2501 <?php esc_html_e('🚀 Date: Block the indexing based on any date-based archive pages.', 'wpbot'); ?><br>
2502 <?php esc_html_e('🚀 Day, Month, Time, Year: Block the indexing for daily, monthly, by time, or yearly archive of the site.', 'wpbot'); ?>
2503 </p>
2504 <h5><?php esc_html_e('4. Archives', 'wpbot'); ?></h5>
2505 <p>
2506 <?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.', 'wpbot'); ?><br>
2507 <?php esc_html_e('🚀 Author: Block the indexing of the author’s page, where the author’s publications appear.', 'wpbot'); ?><br>
2508 <?php esc_html_e('🚀 Post Type Archive: Block the indexing of any post type page.', 'wpbot'); ?>
2509 </p>
2510 <h5><?php esc_html_e('5. Pagination and Search', 'wpbot'); ?></h5>
2511 <p>
2512 <?php esc_html_e('🚀 Pagination: Block the indexing of the pagination, i.e. all pages other than the main page of an archive.', 'wpbot'); ?><br>
2513
2514 <?php esc_html_e('🚀 Search: Block the indexing of the internal search result pages.', 'wpbot'); ?>
2515 </p>
2516 <h5><?php esc_html_e('6. Attachments and Previews', 'wpbot'); ?></h5>
2517 <p>
2518 <?php esc_html_e('🚀 Attachment: Block the indexing of an attachment document to a post or page.', 'wpbot'); ?><br>
2519 <?php esc_html_e('🚀 Customize Preview: Block the indexing when a content is being displayed in customize mode', 'wpbot'); ?><br>
2520 <?php esc_html_e('🚀 Preview: Block the indexing when a single post is being displayed in draft mode.', 'wpbot'); ?>
2521 </p>
2522 <h5><?php esc_html_e('7. Error Page', 'wpbot'); ?></h5>
2523 <p>
2524 <?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.', 'wpbot'); ?>
2525 </p>
2526 <h5><?php esc_html_e('8. Other Features', 'wpbot'); ?></h5>
2527 <p>
2528 <?php esc_html_e('🚀 Works with all modern browsers', 'wpbot'); ?><br>
2529 <?php esc_html_e('🚀 Scan for Broken Links on your website', 'wpbot'); ?><br>
2530 <?php esc_html_e('🚀 Open External links in new window', 'wpbot'); ?><br>
2531 <?php esc_html_e('🚀 Priority, Premium Support', 'wpbot'); ?><br>
2532 <?php esc_html_e('🚀 Auto Upgrades for Plugin', 'wpbot'); ?></p>
2533 </div>
2534 </section>
2535
2536
2537 <footer class="wp-chatbot-admin-footer">
2538 <div class="row">
2539
2540
2541 <input type="submit" class="btn btn-primary submit-button" name="submit"
2542 id="submit" value="Save Settings"/>
2543
2544 </div>
2545 <!-- row-->
2546 </footer>
2547
2548 </div>
2549
2550
2551
2552 <div class="wp-chatbot-admin-upgrade-pro-sidebar">
2553 <div class="wp-chatbot-admingradient-color">
2554 <img class="wp-chatbot-admin-banner" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/template-sample.gif' ); ?>" alt="">
2555 <h3 class="wp-chatbot-admincart-title">Upgrade To <span>Pro</span></h3>
2556 <ul class="feature-list">
2557 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Core WPBot Pro</li>
2558 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Chat Sessions and Histories</li>
2559 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Extended Search Module</li>
2560 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">OpenAI Basic and DialogFlow</li>
2561 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Simple text Responses Pro Module</li>
2562 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Conversational Forms Pro Module</li>
2563 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">WooCommerce Module</li>
2564 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">OpenAI Pro Adv. (Fine Tuning, Assistant)</li>
2565 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Live (Human) Chat Module</li>
2566 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Tavily Search API module</li>
2567 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Extended UI Module</li>
2568 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">WebHook & Mailing List Module</li>
2569 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">White Label Module</li>
2570 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">FaceBook Messenger Module</li>
2571 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">WhatsApp through Twilio Module</li>
2572 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Multi Language Module</li>
2573 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Settings Export Import Module</li>
2574 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Voice Message Module</li>
2575 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Voice Chat Module</li>
2576 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Telegram Module</li>
2577 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Priority Technical Support</li>
2578 </ul>
2579
2580 <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>
2581 </div>
2582
2583 </div>
2584
2585
2586
2587
2588 </div>
2589
2590 </section>
2591
2592
2593
2594
2595
2596
2597 </div>
2598 <?php wp_nonce_field('wp_chatbot'); ?>
2599 </form>
2600
2601
2602 </div>
2603