-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.php
132 lines (128 loc) · 3.19 KB
/
example.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
<?php
include('settings.php');
include('loadprofile.php');
?>
<HTML>
<BODY>
<b>Example usage of LinkedIn Website Updater</b><br><hr> <br>
<?php
echo "<b>$fullname</b> <br />";
echo "<img src='$photo'> <br />";
echo "<br />";
?>
<?php
echo "<b>Profile Summary:</b> <br />";
echo $summary;
?>
<br><br>
<b>Employment Information</b>
<ul class="resume">
<?php
//Loop through the current employement information array
$display = 3;
$i = 0;
while ($i <= $display){
if ($job_current_array[$i] != "true"){
echo "<li><b><span class='topic'>$job_title_array[$i] at $job_location_array[$i]</span></b> -- <span class='date'>$job_start_year_array[$i]-$job_end_year_array[$i]</span></li>";
echo "<span class='description'>$job_description_array[$i]</span>";
}else{
// Just show "- Present" if currently employed here
echo "<li><b><span class='topic'>$job_title_array[$i] at $job_location_array[$i]</span></b> -- <span class='date'>$job_start_year_array[$i]-Present</span></li>";
echo "<span class='description'>$job_description_array[$i]</span>";
}
$i++;
}
echo "</ul>";
echo "</td>";
?>
</ul>
<br>
<b>Skill Listing</b>
<table class="table" border="0" width="20%" cellpadding="3" cellspacing="3">
<tr>
<?php
$totalCount = $total_skills;
// $colMax sets the number of columns in the list of skills.
$colMax = 8;
$colcount = ceil($totalCount / $colMax);
$counter = 0;
echo "<td>";
echo "<ul class='header'>";
for($i=0;$i<$totalCount;$i++){
if ($counter < $colMax){
echo "<li>$skill_array[$i]</li>";
}else{
$counter = 0;
echo "</ul>";
echo "</td>";
echo "<td>";
echo "<ul class='header'>";
echo "<li>$skill_array[$i]</li>";
}
$counter++;
}
echo "</ul>";
echo "</td>";
?>
</tr>
</table>
<br>
<b>Course Listing</b>
<table class="table" border="0" width="20%" height="120px" cellpadding="3" cellspacing="3">
<tr>
<?php
$totalCount = $total_courses;
// $colMax sets the number of columns in the list of courses.
$colMax = 10;
$colcount = ceil($totalCount / $colMax);
$counter = 0;
echo "<td>";
echo "<ul class='header'>";
for($i=0;$i<$totalCount;$i++){
if ($counter < $colMax){
echo "<li>$course_array[$i]</li>";
}else{
$counter = 0;
echo "</ul>";
echo "</td>";
echo "<td>";
echo "<ul class='header'>";
echo "<li>$course_array[$i]</li>";
}
$counter++;
}
echo "</ul>";
echo "</td>";
?>
</tr>
</table>
<br>
<b>Certificate Listings</b>
<table class="table" border="0" width="20%" height="120px" cellpadding="3" cellspacing="3">
<tr>
<?php
$totalCount = $total_certifications;
// $colMax sets the number of columns in the list of certificates.
$colMax = 10;
$colcount = ceil($totalCount / $colMax);
$counter = 0;
echo "<td>";
echo "<ul class='header'>";
for($i=0;$i<$totalCount;$i++){
if ($counter < $colMax){
echo "<li>$certifications_array[$i]</li>";
}else{
$counter = 0;
echo "</ul>";
echo "</td>";
echo "<td>";
echo "<ul class='header'>";
echo "<li>$certifications_array[$i]</li>";
}
$counter++;
}
echo "</ul>";
echo "</td>";
?>
</tr>
</table>