forked from dirumahrafif/website-company-profile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inc_header.php
36 lines (36 loc) · 1.46 KB
/
inc_header.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
<?php
session_start();
include_once("inc/inc_koneksi.php");
include_once("inc/inc_fungsi.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Programming di RumahRafif.</title>
<link rel="stylesheet" href="<?php echo url_dasar()?>/css/style.css">
</head>
<body>
<nav>
<div class="wrapper">
<div class="logo"><a href='<?php echo url_dasar()?>'>RumahRafif.</a></div>
<div class="menu">
<ul>
<li><a href="<?php echo url_dasar()?>#home">Home</a></li>
<li><a href="<?php echo url_dasar()?>#courses">Courses</a></li>
<li><a href="<?php echo url_dasar()?>#tutors">Tutors</a></li>
<li><a href="<?php echo url_dasar()?>#partners">Partners</a></li>
<li><a href="<?php echo url_dasar()?>#contact">Contact</a></li>
<li>
<?php if(isset($_SESSION['members_nama_lengkap'])){
echo "<a href='".url_dasar()."/ganti_profile.php'>".$_SESSION['members_nama_lengkap']."</a> | <a href='".url_dasar()."/logout.php'>Logout</a>";
}else{?>
<a href="pendaftaran.php" class="tbl-biru">Sign Up</a>
<?php } ?>
</li>
</ul>
</div>
</div>
</nav>
<div class="wrapper">