-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
160 lines (157 loc) · 8.08 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<?php function SERVER_ALAMAT_addr_indez()
{
$protocol = ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://";
$domainName = $_SERVER['HTTP_HOST'];
return $protocol . $domainName;
}
$websitelink = 'https://www.developers.eu.org/';
$imagelink = 'assets/doc/img/home.png';
$history = json_decode(file_get_contents('webdata.json'), true);
$ghlink = 'https://github.com/fadhil-riyanto';
$email = '[email protected]';
$apilink = SERVER_ALAMAT_addr_indez() . '/docs'; ?><!doctypehtml>
<html lang="en">
<head>
<title>Fadhil Riyanto</title>
<meta charset="UTF-8">
<meta content="width=device-width,initial-scale=1" name="viewport">
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700" rel="stylesheet">
<link href="assets/doc/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/doc/css/font-awesome.min.css" rel="stylesheet">
<link href="assets/doc/css/themify-icons.css" rel="stylesheet">
<link href="assets/doc/css/animate.min.css" rel="stylesheet">
<link href="assets/doc/css/magnific-popup.css" rel="stylesheet">
<link href="assets/doc/css/owl.carousel.min.css" rel="stylesheet">
<link href="assets/doc/css/style.css" rel="stylesheet">
</head>
<body>
<div id="preloder">
<div class="loader"></div>
</div>
<header class="header-section">
<div class="container">
<div class="header-warp"><a href="#" class="site-logo"><img src="assets/doc/img/Fadhil.png"></a>
<div class="responsive-switch"><i class="fa fa-bars"></i></div>
<nav class="site-menu">
<div class="sm-close"><i class="ti-close"></i></div>
<ul class="menu-list">
<li><a href="#home">Home</a></li>
<li><a href="<?= $websitelink ?>">Website</a></li>
<li><a href="#about">About</a></li>
<li><a href="<?= $apilink ?>">API</a></li>
<li><a href="#resume">History</a></li>
<li><a href="#works">Proyek</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</div>
</div>
</header>
<section class="hero-section hero-style-three" id="home">
<div id="bubble"></div>
<div class="typed-area">
<div class="container">
<h2><span id="typed-text"></span></h2>
</div>
</div>
<figure class="shap-image"><img src="assets/doc/img/hero-shap.png" alt=""></figure>
</section>
<section class="spad about-section" id="about">
<div class="container">
<div class="row">
<div class="wow fadeInUp col-lg-6" data-wow-delay="0.3s">
<figure><img src="<?= $imagelink ?>" alt="Foto"></figure>
</div>
<div class="wow col-lg-6 about-text fadeInDown" data-wow-delay="0.5s">
<div class="about-title">
<h2>Memperkenalkan diri</h2>
<h5>Siapa saya?</h5>
</div>
<p>Saya <span>Fadhil Riyanto</span> Seorang manusia yang suka sekali penasaran dan mencoba, saya suka sendirian, dan tenang. saya lebih menyukai pemrograman backend daripada pemrogaman frontend</p>
<div class="mt-5 skills">
<div class="single-progress-item">
<p>Backend Dev (PHP)</p>
<div class="progress-bar-style" data-progress="55"></div>
</div>
<div class="single-progress-item">
<p>Backend Dev (Nodejs)</p>
<div class="progress-bar-style" data-progress="30"></div>
</div>
<div class="single-progress-item">
<p>Backend Dev (Golang)</p>
<div class="progress-bar-style" data-progress="15"></div>
</div>
</div>
</div>
</div>
</section>
<section class="spad resume-section" id="resume">
<div class="container">
<div class="section-title">
<p>History</p>
</div>
<div class="row">
<div class="offset-lg-2 col-lg-10 col-xl-9 offset-xl-2"><?php foreach ($history as $hs) {
echo '<div class="resume-item wow fadeInUp" data-wow-delay="0.2s">
<div class="resume-year">
<h2>' . $hs['year'] . '</h2>
</div>
<div class="resume-text">
<h3>' . $hs['title'] . '</h3>
<p>' . $hs['mini_title'] . '</p>
</div>
</div>';
} ?></div>
</div>
</div>
</section>
<section class="spad portfolio-section" id="works">
<div class="container">
<div class="section-title">
<p>Proyek</p>
<h2>Bisa kalian lihat di github</h2>
</div>
<div class="mt-5 text-center"><a href="<?= $ghlink ?>" class="wow fadeInUp site-btn" data-wow-delay="0.2s">More Projects</a></div>
</div>
</section>
<section class="spad contact-section" id="contact">
<div class="container">
<div class="section-title">
<p>Contact</p>
<h2>Get in touch</h2>
</div>
<div class="row">
<div class="offset-lg-2 col-lg-8">
<div class="row">
<div class="wow fadeInUp col-sm-4 cont-info" data-wow-delay="0.6s"><i class="ti-themify-favicon"></i> <span><a href="http://t.me/fadhil_riyanto">@fadhil_riyanto</span>
<p>Telegram</p>
</div>
<div class="wow fadeInUp col-sm-4 cont-info" data-wow-delay="0.2s"><i class="ti-email"></i> <a href="mailto:<?= $email ?>"><span style="unicode-bidi:bidi-override;direction:ltl"><?= $email ?></span></a>
<p>email</p>
</div>
<div class="wow fadeInUp col-sm-4 cont-info" data-wow-delay="0.4s"><i class="ti-github"></i> <span>">@fadhil_riyanto</span>
<p>Github</p>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="spad footer-section set-bg" data-setbg="assets/doc/img/footer-bg.svg">
<div class="container">
<div></div>
<p class="copyright">Copyright © 2020 Fadhil Riyanto<br>All rights Reserved</p>
</div>
</footer>
<script src="assets/doc/js/jquery-2.1.4.min.js"></script>
<script src="assets/doc/js/jquery.nav.min.js"></script>
<script src="assets/doc/js/isotope.pkgd.min.js"></script>
<script src="assets/doc/js/owl.carousel.min.js"></script>
<script src="assets/doc/js/magnific-popup.min.js"></script>
<script src="assets/doc/js/wow.min.js"></script>
<script src="assets/doc/js/typed.min.js"></script>
<script src="assets/doc/js/scripts.js"></script>
<script src="assets/doc/js/bubble.js"></script>
<script src="assets/doc/js/init-bubble.js"></script>
</body>
</html>