Browse code

Basic position function done

Philip I. Thomas authored on 17/10/2012 at 23:03:55
Showing 1 changed files
... ...
@@ -156,16 +156,25 @@ These are some functions to make uniform sections
156 156
 
157 157
 */
158 158
 
159
-function position($title,$city,$title,$dates,$blob) {
159
+function position($title,$city,$position,$dates,$blob) {
160 160
 	/*
161 161
 	This function is for use in the experience section. It unififes formatting for the various positions. 
162 162
 	*/
163 163
 	
164
-	echo '<div class="row">
165
-	<div class="span6" class="pull-left" style="font-weight: bold">'.$title.'</div>
166
-			
164
+	echo '
165
+		<div class="row">
166
+			<div class="span6" class="pull-left" style="font-weight: bold">'.$title.'</div>	
167 167
 			<div class="span6 class="pull-right" style="font-weight: bold">'.$city'</div>
168
-			</div> <!-- end row-->
168
+		</div> <!-- end row-->
169 169
 			
170
+		<div class="row">
171
+			<div class="span6" class="pull-left" style="font-style:italic">'.$position.'</div>	
172
+			<div class="span6 class="pull-right" style="font-style:italic">'.$dates'</div>
173
+		</div> <!-- end row-->
174
+		';
175
+		if (!empty($blob)) {
176
+			echo '
177
+			<div class="row">'.$blob.'</div>';
178
+			}	
170 179
 			
171 180
 }
172 181
\ No newline at end of file