Ejemplo n.º 1
0
<?php

require_once 'general.php';
$general = new general();
$general->parsePath();
$path_info = $general->getParsePath();
?>
<html>
<head>
<?php 
switch ($path_info['call_parts'][0]) {
    case 'portfolio':
        ?>
<title>Stevens Technologies - Portfolio</title>
<?php 
        break;
    case 'services':
        ?>
<title>Stevens Technologies - Services</title>
<?php 
        break;
    case 'blog':
        ?>
<title>Stevens Technologies - Blog</title>
<?php 
        break;
    case 'about':
        ?>
<title>Stevens Technologies - About</title>
<?php 
        break;