forked from amalendukundu/myonlineedu-chatbot-watson-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
37 lines (35 loc) · 1.5 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
$relative_path = '';
include_once($relative_path . 'app/global.php');
include_once ($relative_path . 'html_templates/html_header.php');
include_once ($relative_path . 'html_templates/nav_bar.php');
if(empty($_SESSION['firstName']))
{
$_SESSION['firstName'] = 'John';
$_SESSION['lastName'] = 'Doe';
$_SESSION['email'] = '[email protected]';
$_SESSION['uid'] = '123456744';
$_SESSION['exp'] = time() + 36000;
}
?>
<div class="container-fluid">
<div class="row">
<div class="page-header text-center">
<h2>MyOnlineEdu.com - Chatbot using IBM Watson Assistant</small></h2>
</div>
<div class="col-md-6 col-md-offset-3">
<div class="thumbnail text-center">
<img src="<?php echo base_url('assets/images/ebschatbot.png');?>" alt="" class="img-responsive" style="height: 100px;">
<div class="caption">
<h3>Restaurant Reservation Bot</h3>
<p>This chatbot is a demo of IBM Watson Assistant tool on building a chatbot.</p>
<p><a href="<?php echo base_url('app/ajax/conversation_start.php');?>" class="btn btn-danger" role="button">View Demo</a></p>
</div>
</div>
</div>
</div>
<div class="well well-sm text-center">Created by Amalendu Kundu (Contact: [email protected])</div>
</div>
<?php
include_once ($relative_path . 'html_templates/footer.php');
?>