<?php

/**
 * Shevko Valentin Home Page
 *
 * @category  Home Page
 * @version   0.1b
 * @copyright Copyright (c) 2010-2012 Shevko Valentin
 */

class FrontendController extends Core_Controller_Action
{
    protected $_life;
	
    protected $_contacts;
	
    protected $_works;
    
    public function indexAction()
    {
        /** The purpose of life */
        $this->_life = new My_Life();
        $this->_life->getAll(new Zend_Db_Expr('Now()'););
        
		
        /** My contacts and accounts */
        $this->_contacts                = array();
        /** E-mail */
        $this->_contacts['mail']        = 'tuikiken@gmail.com';
        /** IM */
        $this->_contacts['icq']         = '271-952-516';
        $this->_contacts['skype']       = 'mrTuika';
        /** Social networks */
        $this->_contacts['lastfm']      = 'http://www.last.fm/user/TuiKiken';
        $this->_contacts['twitter']     = 'http://twitter.com/#!/TuiKiken'; //not used
        $this->_contacts['vkontakte']   = 'http://vk.com/i.d333';
        $this->_contacts['facebook']    = 'http://www.facebook.com/TuiKiken';
        /** Blogs */
        $this->_contacts['habrahabr']   = 'http://TuiKiken.habrahabr.ru/';
        $this->_contacts['leprosorium'] = 'http://leprosorium.ru/users/TuiKiken';
        
		
        /** My work */
        $this->_works                      = array();
        /** Sites(Zend Framework) */
        $this->_works['artcenter']         = '#';
        $this->_works['arthunt']           = '#';
        $this->_works['balista']           = 'http://www.balista.biz/';
        $this->_works['biosan']            = 'http://www.biosan-group.ru/'
        $this->_works['businessportal']    = 'http://www.businessportal.by/';
        $this->_works['che']               = 'http://www.che.by/';
        $this->_works['eurostore']         = '#';
        $this->_works['montanari']         = '#';
        $this->_works['natcoparts']        = 'http://www.natcoparts.com/'; //corrections
        $this->_works['profshinomontaj']   = 'http://www.profshinomontaj.by/';
        $this->_works['workdig']           = 'http://www.workdig.com/'; //corrections
        /** Sites(MODx) */
        $this->_works['testamentum']       = 'http://www.testamentum.net/';
        /** Sites(without category) */
        $this->_works['novoebenevo']       = 'http://www.novoebenevo.ru/'; //corrections
        $this->_works['easy2code']         = 'http://easy2code.com/';
        $this->_works['marketviewliquor']  = 'http://marketviewliquor.com/'; //corrections
        $this->_works['coininvestdirect']  = 'http://coininvestdirect.com/'; //corrections
        /** Modules(Activecollab) */
        $this->_works['estimated_time']    = '#';
        $this->_works['hr_manager_module'] = 'http://www.activecollab.com/downloads/category/4/package/63';
        
		
        /** Set view-script variables */
        $this->view->contacts = $this->_contacts;
        $this->view->works    = $this->_works;
        $this->view->content  = 'Home Page under construction';
    }
}