Recommended Links

Common For all pages

This section shows you how you can have editable content which is the same throughout the site ( NOTE: It is language specific ) .All the navs below are generated using snippets that are included with the framework, edit this content to see how it was generated

Sub Nav:

Main Nav:

Footer Nav:

Unique Per Page

Media Helper

The 'Media' Class provides functions to easily embed Audio and Video files

NOTE: Requires jquery.js and swfobject.js to be present


  private function generatePlayer1()
    $media3 = new Media(Config::$siteURL, 'MyMovie4', '300','100');

    $audioFilePath = Config::$siteURL.'audios/betty.mp3';

    return $media3->generateDiv();

  private function generatePlayer2()
    $media3 = new Media(Config::$siteURL, 'MyMovie3', '400', '300');

    $flvFilePath = Config::$siteURL.'videos/3D_wallpapers_video_2.flv';

    return $media3->generateDiv();

  public function mediaPlayers()
    require_once 'libs/standalone/standalone/Media.php';

    $contentVars['MyMovie1Div'] = $this->generatePlayer1();
    $contentVars['MyMovie2Div'] = $this->generatePlayer2();

    $this->returnContent($this->loadMainContent('libraries/media', $contentVars));

Javascript is disabled
Javascript is disabled

Site Powered by Mac's PHP MVC Framework Framework of the future
Design downloaded from Free website templates, layouts, and tools.