/
index.php
129 lines (118 loc) · 3.05 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
<?php
session_start();
require_once('bind.php');
?>
<html>
<head>
<title>Welcome to my website! || Teodor</title>
<meta charset="UTF-8">
<style>
.projects td
{
width: 200px;
}
p
{
font-size: 20px;
}
a
{
text-decoration: none;
}
a:hover
{
color: red;
text-decoration: underline;
}
a:active
{
color: green;
}
</style>
</head>
<body>
<h2>Hello, stranger! Welcome to my site!</h2>
<p>
My name is Teodor.
<br>
I am a passionate full-stack web developer with deep knowledge in PHP.
I have recently started developing my skills in C++ as well.
<br><br>
This website is a mostly 'off-CSS' presentation. It contains only my contact information and projects I am currently or have been recently working on.
Don't be scared about the interface! I can do a lot more than this, be sure of that. Check out my list of projects below and see it for yourself. 😎
</p>
<hr>
<h2>My projects</h2>
<table border="1px" class="projects">
<thead>
<tr>
<td><b>Name</b></td>
<td><b>State</b></td>
<td><b>GitHub</b></td>
<td><b>Website</b></td>
<td><b>Starting date</b></td>
<td><b>Finish date</b></td>
</tr>
</thead>
<tbody>
<?php
$projects = (new App\Admin) -> get_projects();
$projects = is_array($projects) ? array_reverse($projects) : [];
if(!empty($projects))
{
foreach($projects as $key => $array)
{
print('
<tr>
<td>'.$array['name'].'</td>
<td><a href="view-project.php?id='.$array['id'].'">Finished: <code>'.$array["features"]["completed"] .'/'. $array["features"]["all"]. '</code> features</a></td>
<td><a href="http://www.github.com/teodor-ionesco/'.$array['github'].'" target="_BLANK">'.$array['github'].'</a></td>
<td><a href="http://'.$array['website'].'" target="_BLANK">'.$array['website'].'</a></td>
<td><code>'.$array['start_date'].'</code></td>
<td><code>'.$array['finish_date'].'</code></td>
</tr>
');
}
}
else
{
print('
<tr>
<td><code>N/A</code></td>
<td><code>N/A</code></td>
<td><code>N/A</code></td>
<td><code>N/A</code></td>
<td><code>N/A</code></td>
<td><code>N/A</code></td>
</tr>
');
}
?>
</tbody>
</table>
<br>
<hr>
<h2>Contact information</h2>
<p>If you need any sort of IT job at low price <i>(or even free of charge)</i>, don't be shy and send me a message. I'd be happy to assist you.</p>
<table>
<tbody>
<tr>
<td>E-mail: </td>
<td><a href="mailto:webmaster@mau5.ml" target="_BLANK">webmaster@mau5.ml</a></td>
</tr>
<tr>
<td>Phone: </td>
<td>+40731704463</td>
</tr>
<tr>
<td>GitHub: </td>
<td><a href="https://www.github.com/teodor-ionesco" target="_BLANK">teodor-ionesco</a></td>
</tr>
<tr>
<td>Facebook: </td>
<td><a href="https://www.facebook.com/teodor.ionesco" target="_BLANK">teodor.ionesco</a></td>
</tr>
</tbody>
</table>
</body>
</html>