-
Notifications
You must be signed in to change notification settings - Fork 3
/
adminhome.php
47 lines (35 loc) · 1.51 KB
/
adminhome.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
38
39
40
41
42
43
44
45
46
47
<?php
session_start();
include("header.php");
include("dbconnection.php");
$insdb ="INSERT INTO project(projectname,projectdescription,teammember,branchid,startdate,enddate,noofdays,projectdocs,projectstatus) VALUES
('$_POST[projectname]','$_POST[description]','$_POST[teammember]','$_POST[branchid]', '$_POST[startdate]','$_POST[enddate]','$_POST[noofdays]','$_POST[projectdocs]','$_POST[projectstatus]')";
mysql_query($insdb,$con);
?>
<div id="templatemo_content">
<div id="templatemo_content_left">
<div class="header_02">Admin home</div>
<p class="bi_para">Administrator Home Page</p>
<p class="bi_para"> Welcome <?php echo $_SESSION[names]; ?></p>
<div class="rc_btn_02"></div>
<div class="margin_bottom_40"></div>
<div class="cleaner"></div>
</div> <!-- end of content left -->
<div id="templatemo_content_right">
<div class="content_right_section">
<?php
include("adminsidebar.php");
?>
<div class="news_section">
<div class="news_image"></div>
</div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
</div>
</div> <!-- end of content right -->
<div class="cleaner"></div>
</div>
<?php
include("footer.php");
?>