public static function getSlidesPath()
 {
     if (!isset(self::$site_path) || !self::$site_path) {
         require_once 'ContentBuilder.class.php';
         self::$site_path = ContentBuilder::getSitePath();
     }
     return self::$site_path . DIRECTORY_SEPARATOR . self::$web_directory . DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . 'slides';
 }
 public function getFooterContent($alias = false, $template = false)
 {
     global $site_path;
     if (!isset($site_path)) {
         $site_path = ContentBuilder::getSitePath();
     }
     if (isset($this->footer_content) && strlen($this->footer_content)) {
         return $this->footer_content;
     }
     if (!$alias) {
         $alias = $this->getAlias();
     }
     if (!$template) {
         $template = $site_path . ContentBuilder::$template_directory . '/' . ($this->hasType() ? $this->type . '_' : '') . 'footer.' . ContentBuilder::$template_extension;
     }
     if (is_file($template)) {
         $replacements = $this->getReplacements();
         $this->cb->reset($template, $replacements);
         $this->footer_content = $this->cb->getContent();
     }
     return $this->footer_content;
 }