<?php
// PHP Script: index.asp
// Description: *.com index page
// DATE: 26-11-2009
// AUTHOR: 'Eugene Kerner' <ekerner@ekerner.com>
// REVISION: 1.0

require_once('config/SetEnv.php');
require_once('EKerner/WebApp.php');

class webpage extends EKerner_WebApp
{

  public function render()
  {
    // html meta data ...
    $this->siteDetails->metaTitle       = 'Technical Solutions &middot; ' . $this->siteDetails->company . ' &middot; ' . $this->siteDetails->caption;
    $this->siteDetails->metaDescription = $this->siteDetails->company . ' are an Australia based Information Technology Developer. ' .
                                          'We provide IT design, development, branding, hosting, marketing, and management services as you chose.';
    $this->siteDetails->metaKeywords    = $this->siteDetails->company . ', application developer, application, developer, app, software, Australia, AU, AUS, OZ, AUD, ' .
                                          'information technology, eugene kerner, hardcopy marketing, online marketing, networking, logo, branding, 1800 Numbers, ' .
                                          'online business, offline business, business, enterprise, hosting, host, domain names, communications, marketing';
    $this->panes->head->append('content', 
      '<link rel="stylesheet" type="text/css" href="/css/accordion.css" />' . "\n    " .
      '<link rel="stylesheet" type="text/css" href="/css/slidingTabs.css" />' . "\n    " .
      '<script type="text/javascript" src="/js/accordion.jq"></script>' . "\n    " .
      '<script type="text/javascript" src="/js/slidingTabs.jq"></script>' . "\n"
    ); 
    $this->panes->onload->append('content', 
      "menu.init('mainMenu', ['eKerner', 'Home']);\n        " . 
      "accordion.init('middleAccordion', 'Business Starter Bundles');\n        " . 
      "slidingTabs.init('mainSlidingTabs', 'Diverse');"
    );
    
    // page content ...
    $this->panes->banner->append('widget', 'ContactLinks');
    $this->panes->left->append('widget', 'GenreMenu');
    $this->panes->heading->append('content', '
                      <img class="floatRight headingImage" src="/images/content/woman_holding_seedling.png" alt="Woman holding seedling" width="118px" height="100px" />
                      <h2><img src="/images/icons/home.png" alt="Home Icon" width="25" height="25" />Welcome</h2>
                      <p>Welcome to ' . $this->siteDetails->company . ', please make yourself at home.</p>
                      <p>We make real the dreams, inventions, and innovations of business developers, entrepreneurs, and visionaries.</p>
                      <p>Here you will find everything you need to build whatever you may think up.</p>
                      <p class="alignRight"><a href="/about/">more about us &raquo;</a></p>
    ');
    $this->panes->main->append('widget', 'ServiceSelector');
    $this->panes->main->append('content', '
	<div id="mimi_promo" class="p" style="margin-bottom:30px;display:none;">
		<h3><img width="25" height="25" alt="Large Building" src="/images/icons/large_building.png">Current investment opportunities</h3>
		<div style="padding:10px 40px;">'.@file_get_contents('http://move.it-move.it/mimi_embed.php').'</div>
	</div>
	<div class="p" style="margin-bottom:30px; width:100%;">
		<h3><img width="25" height="25" alt="Neck Tie" src="/images/icons/necktie.png">Featured Services</h3>
		<div style="text-align:center;">
			<div class="cascading_box">
				<img src="/images/content/ecommerce.png" alt="Mobile Apps" />
				<h4>eCommerce Solutions</h4>
				<hr/>
				Own a store, or just enjoy selling, become an online merchant with your own eShop.<br/>
				<p class="alignRight"><a href="/contact/enquiry" title="Contact us">We are eCommerce experts &raquo;</a><p>
			</div>
			<div class="cascading_box">
				<img src="/images/content/crms.png" alt="CRMs" />
				<h4>Hosted CRMs</h4>
				<hr/>
				Dont tie into CRM contracts, host your own CRM for full control of your business.<br/>
				<p class="alignRight"><a href="/contact/enquiry" title="Contact us">We can set it up for you &raquo;</a><p>
			</div>
			<div class="cascading_box">
				<img src="/images/content/mobile_apps.png" alt="Mobile Apps" />
				<h4>Hybrid Mobile Apps</h4>
				<hr/>
				Design, develop and deploy your mobile app for android, iOS, and Windows Phone.<br/>
				<p class="alignRight"><a href="/contact/enquiry" title="Contact us">Start by speaking with us &raquo;</a><p>
			</div>
			<div class="cascading_box">
				<img src="/images/content/web_services.png" alt="Web Servcies" />
				<h4>Authenticated Web Services</h4>
				<hr/>
				Connect your apps and devices to your hosted services, websites, and databases.<br/>
				<p class="alignRight"><a href="/contact/enquiry" title="Contact us">Talk comms with us &raquo;</a><p>
			</div>
			<div class="cascading_box">
				<img src="/images/content/responsive_design.png" alt="Responsive Design" />
				<h4>Responsive Website Upgrades</h4>
				<hr/>
				Move with the times and make your website render nicely in all devices and screen sizes.<br/>
				<p class="alignRight"><a href="/contact/enquiry" title="Contact us">As us how &raquo;</a><p>
			</div>
			<div class="cascading_box">
				<img src="/images/content/cms_websites.png" alt="CMS Websites" />
				<h4>CMS Websites</h4>
				<hr/>
				Custom create your modern, elegant, and responsive website with fully featured CMS.<br/>
				<p class="alignRight"><a href="/contact/enquiry" title="Contact us">Start designing with us &raquo;</a><p>
			</div>
		</div>
	</div>
    	<div class="p" style="margin-bottom:30px;">
		<img alt="Mission Statement" src="/images/icons/quote-l.png" style="float:left; margin:0 10px;" /> We aim to further enhance and improve our development environment which is trusted as being focused on making the dreams, inventions, and innovations of business developers, entrepreneurs, and visionaries come true. We pride ourselves in being known as the people who convert ideas into real accomplishment in an industry which is lost in its pointless and hollow struggle for profit and growth while achieving nothing of worth to the Earth or her people. We are the minority of doers amid a plethora of pretenders and procrastinators.
	</div>
    '); 
    $this->panes->main->append('widget', 'ShopFeaturedProducts');
    $this->panes->right->append('widget', 'BlockLinks');
    $this->panes->bottom->append('widget', 'Footer');

    $this->write();
  }

}


try {
  $webpage = new webpage();
  $webpage->render();
} catch (Exception $e) {
  die($e->getMessage());
}

?>
