Example #1
0
<?php

include_once 'includes/main.php';
include_once 'includes/Client.php';
echo_bootstrap(get_html(), array('js' => 'add_client'));
function get_html()
{
    $client_inputs = array(array('id' => 'client_name', 'placeholder' => 'Client Name'), array('id' => 'alias', 'placeholder' => 'Client Acronym'));
    $html = <<<HTML
    <div id="add-client">
    <h2>Add Client</h2>
    <h3>Client Details</h3>
HTML;
    foreach ($client_inputs as $key => $input) {
        $autofocus = $key == 0 ? true : false;
        $html .= Client::createInput($input['id'], $input['placeholder'], array('autofocus' => $autofocus));
    }
    $html .= <<<HTML
  \t<h3>Project Details</h3>
HTML;
    $html .= Client::getProjectInput('1');
    $html .= <<<HTML
      <button class="add"><i class="fa fa-plus-circle"></i>Project</button>
      <button id="create" class="primary">Create</button>
    </div>
HTML;
    return $html;
}
Example #2
0
<?php

include_once 'includes/main.php';
echo_bootstrap(<<<HTML
  <div id="header" class="grid-12">
    <div class="primary">Adam J. Wells</div>
    <div class="icons">
      <a href="http://instagram.com/oksurferoya" target="_blank"><i class="fa fa-instagram"></i></a>
      <a href="mailto:guard2400@yahoo.com?subject=Adam J. Wells - Opportunity&body=Adam,%0A%0AI came across your profile on adamjwells.com and wanted to take a moment to followup with you.%0A%0A"><i class="fa fa-envelope-o"></i></a>
    </div>
  </div>
  <div id="hero" class="grid-12">
    <div class="statement">Blending <span class="highlight">adventure</span> with <span class="highlight">retail</span></div>
  </div>
  <div id="info" class="grid-12">
    <div class="row">
      <h1>An Outdoorsman</h1>
      <p>From a young age, I've always been outdoors. Whether hot or cold, I can't get enough. I've traveled across the country, searching for the wildest adventures. From the white beaches of Florida to the Rocky mountains in Colorado, I've found a love for all things nature. Whether surfing, snowboarding, fly fishing or just soaking up the sun, I've found my home in the outdoors.</p>
    </div>
    <div class="row">
      <h1>A Hard Goods Expert</h1>
      <p>When it comes to outdoor sports, there's no better guy to sell your hard goods. I've devoted my profession to become an expert in the industry. For the last five years, I've bought, sold and merchandised top brand boards, boots, and apparel.  I'm a certified ski and snowboard tech and boot fitter. I've led retail teams to 2.3m in annual revenue, increasing profit by a 16% margin. I am passionate about selling the stoke.</p>
    </div>
  </div>
HTML
);
Example #3
0
<?php

include_once 'includes/main.php';
include_once 'includes/Individual.php';
$post_data = isset($_REQUEST['post_data']) ? json_decode($_REQUEST['post_data'], true) : false;
if (isset($post_data)) {
    $individual_id = $post_data['individual_id'];
    $individual = new Individual($individual_id);
    $_SESSION['logged_in'] = true;
    $_SESSION['user'] = array('name_first' => $individual->find('name_first'), 'name_last' => $individual->find('name_last'), 'individual_id' => $individual_id, 'email' => $individual->find('email'));
}
echo_bootstrap(get_html(), array('css' => 'profile'));
function get_html()
{
    return <<<HTML
\t\t<main>
\t\t\t<h2>Welcome to your profile page</h2>
\t\t\t<p>Hello {$_SESSION['user']['name_first']}!</p>
\t\t\t<p>Welcome to your login page.</p>
\t\t</main>
HTML;
}
Example #4
0
<?php

include_once '../includes/main.php';
echo_bootstrap(get_html(), array('css' => 'portfolio'));
function get_html()
{
    return <<<HTML
\t\t<div id="nav-menu"></div>
HTML;
}
Example #5
0
<?php

include_once 'includes/main.php';
echo_bootstrap(get_html(), array('css' => 'index'));
function get_html()
{
    return <<<HTML
\t\t<div class="toggle-section next active"><i class="fa fa-chevron-down"></i></div>
\t\t<div class="section-container" id="Home">
\t\t\t<div class="center">
\t\t\t\t<div class="container">
\t\t\t\t\t<p class="title">Ryan Develops</p>
\t\t\t\t\t<p>Pragmatic, results-driven dev with a knack for getting things done.</p>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class="slideshow"></div>
\t\t</div>
\t\t<div class="main content">
\t\t\t<div class="section-container" id="About">
\t\t\t\t<div class="section">
\t\t\t\t\t<h1>About</h1>
\t\t\t\t\t<p>If you're in the market for a pragmatic developer with real world experience -- who understands the balance between business value and clean code -- you've come to the right place.</p>
\t\t\t\t\t<p>I offer full stack open-source development with additional experience in both version control and deployment. Whether you're looking for a single page website, or a massive application, I can handle your project with the highest of quality and efficiency.</p>
\t\t\t\t\t<p>I'm an iterative development kind of guy, who loves all things systems and processes. So, if you're looking for the kind of developer who can help push your product out the door -- with both style and reliability -- while also driving efficient and proven processes...look no further.</p>
\t\t\t\t\t<button id="go-to-email">Let's Connect</button>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class="section-container" id="Expertise">
\t\t\t\t<div class="section">
\t\t\t\t\t<h1>Expertise</h1>
\t\t\t\t\t<div class="table">