| 1 |
<div class="wrap qcld-main-wrapper"> |
| 2 |
<div class="qcld-wp-chatbot-wrap-header-aisection"> |
| 3 |
<div class="qcld-wp-chatbot-wrap-header"> |
| 4 |
<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> |
| 5 |
<p><strong>Core Version:</strong> v<?php echo QCLD_wpCHATBOT_VERSION; ?></p> |
| 6 |
<ul class="qcld-wp-chatbot-wrap-version-wrapper"> |
| 7 |
<li> |
| 8 |
<a class="wpchatbot-Upgrade" href="https://www.wpbot.pro/" target="_blank">Upgrade To Pro</a> |
| 9 |
|
| 10 |
</li> |
| 11 |
</ul> |
| 12 |
</div> |
| 13 |
|
| 14 |
</div> |
| 15 |
|
| 16 |
<div class="qcl-openai"> |
| 17 |
<div class="row gx-0"> |
| 18 |
|
| 19 |
<div class="card admin-maxwith qcld-openai-main-box"> |
| 20 |
<div class="card-header bg-dark text-white py-sm-4 border-0"> |
| 21 |
<div class="row"> |
| 22 |
|
| 23 |
<div class="col-auto me-auto ai-settings-title-container"> |
| 24 |
|
| 25 |
<h4><?php esc_html_e( 'AI Settings','chatbot');?></h4> |
| 26 |
|
| 27 |
<select id="ai-provider-selector" class="form-select ai-settings-selector"> |
| 28 |
<option value="openai" <?php echo (get_option( 'ai_enabled') == 1) ? esc_attr( 'selected') :'';?> ><?php echo esc_html__( 'OpenAI','chatbot')?></option> |
| 29 |
<option value="openrouter" <?php echo (get_option( 'qcld_openrouter_enabled') == 1) ? esc_attr( 'selected') :'';?> ><?php echo esc_html__( 'OpenRouter','chatbot')?></option> |
| 30 |
<option value="gemini" <?php echo (get_option( 'qcld_gemini_enabled') == 1) ? esc_attr( 'selected') :'';?> ><?php echo esc_html__( 'Gemini','chatbot')?></option> |
| 31 |
</select> |
| 32 |
</div> |
| 33 |
|
| 34 |
</div> |
| 35 |
</div> |
| 36 |
<?php |
| 37 |
if ( get_option( 'ai_enabled' ) != 1 && get_option( 'qcld_openrouter_enabled' ) != 1 && get_option( 'qcld_gemini_enabled' ) != 1 ) { |
| 38 |
?> |
| 39 |
<div id="openai-settings" class="ai-settings-provider"> |
| 40 |
<?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/admin_ui2.php'); ?> |
| 41 |
</div> |
| 42 |
|
| 43 |
<?php |
| 44 |
} |
| 45 |
?> |
| 46 |
<div id="openai-settings" class="ai-settings-provider" <?php echo (get_option( 'ai_enabled') == 1) ? 'style="display: block;"' :'style="display: none;"';?> > |
| 47 |
<?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/admin_ui2.php'); ?> |
| 48 |
</div> |
| 49 |
<div id="openrouter-settings" class="ai-settings-provider" <?php echo (get_option( 'qcld_openrouter_enabled') == 1) ? 'style="display: block;"' :'style="display: none;"';?> > |
| 50 |
<?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openrouter/admin/settings.php'); ?> |
| 51 |
</div> |
| 52 |
<div id="gemini-settings" class="ai-settings-provider" <?php echo (get_option( 'qcld_gemini_enabled') == 1) ? 'style="display: block;"' :'style="display: none;"';?> > |
| 53 |
<?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/gemini/admin/settings.php'); ?> |
| 54 |
</div> |
| 55 |
<div class="card-footer bg-dark text-white py-sm-4 border-0"></div> |
| 56 |
</div> |
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
</div> |
| 61 |
</div> |
| 62 |
</div> |
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
<div id="qcld-quick-flyout" > |
| 68 |
<div class="qcld-quick-flyout-items"> |
| 69 |
<a href="https://wpbot.pro/docs/knowledgebase/getting-started-with-chatbot/" target="_blank" class="qcld-quick-flyout-button qcld-quick-flyout-item qcld-quick-flyout-premium" rel="noopener noreferrer" target="_blank" style="transition-delay: 0ms;"> |
| 70 |
<div class="qcld-quick-flyout-label"> |
| 71 |
<div>Getting Started</div> |
| 72 |
</div> |
| 73 |
<i class="dashicons dashicons-admin-home"></i> |
| 74 |
</a> |
| 75 |
<a href="https://wpbot.pro/docs/kb-sections/chatbot-faqs/" target="_blank" class="qcld-quick-flyout-button qcld-quick-flyout-item" rel="noopener noreferrer" target="_blank" style="transition-delay: 60ms;"> |
| 76 |
<div class="qcld-quick-flyout-label"> |
| 77 |
<div>FAQ</div> |
| 78 |
</div> |
| 79 |
<i class="dashicons dashicons-flag"></i> |
| 80 |
</a> |
| 81 |
<a href="https://wpbot.pro/docs/" target="_blank" class="qcld-quick-flyout-button qcld-quick-flyout-item" style="transition-delay: 90ms;"> |
| 82 |
<div class="qcld-quick-flyout-label"> |
| 83 |
<div>Read the Documentation</div> |
| 84 |
</div> |
| 85 |
<i class="dashicons dashicons-sos"></i> |
| 86 |
</a> |
| 87 |
<a href="https://www.wpbot.pro/free-support/" target="_blank" class="qcld-quick-flyout-button qcld-quick-flyout-item" rel="noopener noreferrer" target="_blank" style="transition-delay: 120ms;"> |
| 88 |
<div class="qcld-quick-flyout-label"> |
| 89 |
<div>Ask for Help</div> |
| 90 |
</div> |
| 91 |
<i class="dashicons dashicons-email"></i> |
| 92 |
</a> |
| 93 |
<a href="https://www.wpbot.pro/" target="_blank" class="qcld-quick-flyout-button qcld-quick-flyout-item" style="transition-delay: 30ms;"> |
| 94 |
<div class="qcld-quick-flyout-label"> |
| 95 |
<div>Check out the WPBot Demo</div> |
| 96 |
</div> |
| 97 |
<i class="dashicons dashicons-welcome-view-site"></i> |
| 98 |
</a> |
| 99 |
<a href="https://www.wpbot.pro/pricing/" target="_blank" class="qcld-quick-flyout-button qcld-quick-flyout-item qcld-quick-flyout-premium" rel="noopener noreferrer" target="_blank" style="transition-delay: 0ms;"> |
| 100 |
<div class="qcld-quick-flyout-label"> |
| 101 |
<div>Upgrade to Premium</div> |
| 102 |
</div> |
| 103 |
<i class="dashicons dashicons-star-filled"></i> |
| 104 |
</a> |
| 105 |
</div> |
| 106 |
<a href="javascript:void(0);" class="qcld-quick-flyout-button qcld-quick-flyout-mascot"> |
| 107 |
<div class="qcld-quick-flyout-label"> |
| 108 |
<div>Start Here</div> |
| 109 |
</div> |
| 110 |
<img style="width:100%" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/agent-01.png' ); ?>" alt="Dialogflow CX"> |
| 111 |
</a> |
| 112 |
</div> |
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
|
| 122 |
<style> |
| 123 |
|
| 124 |
div#promotion-wpchatbot { |
| 125 |
margin: 0; |
| 126 |
padding: 0; |
| 127 |
border: none; |
| 128 |
max-width: initial !important; |
| 129 |
padding: 0 !important; |
| 130 |
margin: 20px 20px 20px 0 !important; |
| 131 |
padding: 15px 15px 15px 0 !important; |
| 132 |
border: none !important; |
| 133 |
border-radius: 6px !important; |
| 134 |
box-shadow: 0px 4px 6px 1px #ebebeb !important; |
| 135 |
} |
| 136 |
|
| 137 |
|
| 138 |
.qc-review-notice{ |
| 139 |
max-width: initial !important; |
| 140 |
padding: 0 !important; |
| 141 |
margin: 20px 20px 20px 0 !important; |
| 142 |
padding: 15px 15px 15px 0 !important; |
| 143 |
border: none !important; |
| 144 |
border-radius: 6px !important; |
| 145 |
box-shadow: 0px 4px 6px 1px #ebebeb !important; |
| 146 |
background: #fff; |
| 147 |
color: #000; |
| 148 |
} |
| 149 |
|
| 150 |
.qc-review-text h3 { |
| 151 |
color: #000000; |
| 152 |
} |
| 153 |
.qc-review-text p { |
| 154 |
color: #000000; |
| 155 |
} |
| 156 |
</style> |
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
|