<?php require_once 'core/site.php'; $site = new site(); site::setLink(new mysqli('localhost', 'profile', 'g00gle', 'portfolio')); $site->init($_REQUEST); if ($site->getCurClass() == 'services') { $site->loadPortfolio(0); } $obj = $site->getObj(); include_once 'core/ajax.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Jacob Godin | Web Developer</title> <link rel="stylesheet" href="/style/style.css" type="text/css" media="screen" /> <script type="text/javascript" src="/api/js/prototype.js"></script> <script type="text/javascript" src="/api/js/scriptaculous.js"></script> <script type="text/javascript" src="/core/js/<?php echo $site->getCurClass(); ?> .js"></script> </head> <body <?php if ($site->getCurClass() == 'portfolio') { ?> onload="site(this, <?php echo $obj->getCur()->getId(); ?>
<?php namespace rude; require_once 'rude-config.php'; require_once 'src/rude-php/include.php'; site::init();