34957-vm/index.php
Flatlogic Bot 480576a9e7 login
2025-10-14 13:44:29 +00:00

92 lines
5.2 KiB
PHP

<?php
session_start();
if (!isset($_SESSION['user_id'])) {
header('Location: login.php');
exit;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hariom Dhakad</title>
<meta name="description" content="Built with Flatlogic Generator">
<meta name="keywords" content="ai chat, customer support, image generation, voice to text, text to voice, flatlogic">
<meta property="og:title" content="Hariom Dhakad">
<meta property="og:description" content="Built with Flatlogic Generator">
<meta property="og:image" content="">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>
<div class="hero">
<div class="container">
<h1>Welcome to Your AI-Powered Assistant</h1>
<p class="lead">Ask questions, generate images, and interact with voice commands.</p>
<a href="#features" class="btn btn-light btn-lg">Get Started</a>
<a href="logout.php" class="btn btn-danger btn-lg">Logout</a>
</div>
</div>
<div id="features" class="container mt-5 mb-5">
<h2 class="text-center">Features</h2>
<div class="row text-center mt-4">
<div class="col-md-4">
<div class="feature-item">
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-message-circle"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg>
<h5 class="mt-3">AI Chat</h5>
<p>Get instant answers from our smart chatbot.</p>
</div>
</div>
<div class="col-md-4">
<div class="feature-item">
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-image"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline></svg>
<h5 class="mt-3">Image Generation</h5>
<p>Create images from text descriptions.</p>
</div>
</div>
<div class="col-md-4">
<div class="feature-item">
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mic"><path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><line x1="12" y1="19" x2="12" y2="22"></line></svg>
<h5 class="mt-3">Voice Control</h5>
<p>Interact with the assistant using your voice.</p>
</div>
</div>
</div>
</div>
<div class="chat-widget-container">
<div class="chat-widget">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-message-square"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg>
</div>
<div class="chat-window">
<div class="chat-header">
<h5>AI Assistant</h5>
<button class="btn-close" aria-label="Close"></button>
</div>
<div class="chat-body">
<div class="message bot-message">
Hello! How can I help you today?
</div>
</div>
<div class="chat-footer">
<input type="text" class="form-control" placeholder="Type a message...">
<button class="btn btn-secondary" id="speech-to-text-btn">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mic"><path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><line x1="12" y1="19" x2="12" y2="22"></line></svg>
</button>
<button class="btn btn-primary">Send</button>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>