|
@@ -0,0 +1,110 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+include("themes/_base/theme.php");
|
|
|
+include("themes/" . THEME . "/theme.php");
|
|
|
+
|
|
|
+function index_start($index_type, $arg) {
|
|
|
+ $fun = THEME . "_index_start";
|
|
|
+ if(!function_exists($fun)) {
|
|
|
+ return base_index_start($index_type, $arg);
|
|
|
+ }
|
|
|
+ return $fun($index_type, $arg);
|
|
|
+}
|
|
|
+
|
|
|
+function index_no_content($index_type, $arg) {
|
|
|
+ $fun = THEME . "_index_no_content";
|
|
|
+ if(!function_exists($fun)) {
|
|
|
+ return base_index_no_content($index_type, $arg);
|
|
|
+ }
|
|
|
+ return $fun($index_type, $arg);
|
|
|
+}
|
|
|
+
|
|
|
+function index_listing($ppub, $url) {
|
|
|
+ $fun = THEME . "_index_listing";
|
|
|
+ if(!function_exists($fun)) {
|
|
|
+ return base_index_listing($ppub, $url);
|
|
|
+ }
|
|
|
+ return $fun($ppub, $url);
|
|
|
+}
|
|
|
+
|
|
|
+function index_end() {
|
|
|
+ $fun = THEME . "_index_end";
|
|
|
+ if(!function_exists($fun)) {
|
|
|
+ return base_index_end();
|
|
|
+ }
|
|
|
+ return $fun();
|
|
|
+}
|
|
|
+
|
|
|
+function rss_start($index_type, $arg) {
|
|
|
+ $fun = THEME . "_rss_start";
|
|
|
+ if(!function_exists($fun)) {
|
|
|
+ return base_rss_start($index_type, $arg);
|
|
|
+ }
|
|
|
+ return $fun($index_type, $arg);
|
|
|
+}
|
|
|
+
|
|
|
+function rss_listing($ppub, $url) {
|
|
|
+ $fun = THEME . "_rss_listing";
|
|
|
+ if(!function_exists($fun)) {
|
|
|
+ return base_rss_listing($ppub, $url);
|
|
|
+ }
|
|
|
+ return $fun($ppub, $url);
|
|
|
+}
|
|
|
+
|
|
|
+function rss_end() {
|
|
|
+ $fun = THEME . "_rss_end";
|
|
|
+ if(!function_exists($fun)) {
|
|
|
+ return base_rss_end();
|
|
|
+ }
|
|
|
+ return $fun();
|
|
|
+}
|
|
|
+
|
|
|
+function content_start($ppub, $path) {
|
|
|
+ $fun = THEME . "_content_start";
|
|
|
+ if(!function_exists($fun)) {
|
|
|
+ return base_content_start($ppub, $path);
|
|
|
+ }
|
|
|
+ return $fun($ppub, $path);
|
|
|
+}
|
|
|
+
|
|
|
+function content_html($content) {
|
|
|
+ $fun = THEME . "_content_html";
|
|
|
+ if(!function_exists($fun)) {
|
|
|
+ return base_content_html($content);
|
|
|
+ }
|
|
|
+ return $fun($content);
|
|
|
+}
|
|
|
+
|
|
|
+function content_end($ppub, $path) {
|
|
|
+ $fun = THEME . "_content_end";
|
|
|
+ if(!function_exists($fun)) {
|
|
|
+ return base_content_end($ppub, $path);
|
|
|
+ }
|
|
|
+ return $fun($ppub, $path);
|
|
|
+}
|
|
|
+
|
|
|
+function video_start($ppub, $path, $video) {
|
|
|
+ $fun = THEME . "_video_start";
|
|
|
+ if(!function_exists($fun)) {
|
|
|
+ return base_video_start($ppub, $path, $video);
|
|
|
+ }
|
|
|
+ return $fun($ppub, $path);
|
|
|
+}
|
|
|
+
|
|
|
+function video_html($content) {
|
|
|
+ $fun = THEME . "_video_html";
|
|
|
+ if(!function_exists($fun)) {
|
|
|
+ return base_video_html($content);
|
|
|
+ }
|
|
|
+ return $fun($content);
|
|
|
+}
|
|
|
+
|
|
|
+function video_end($ppub, $path) {
|
|
|
+ $fun = THEME . "_video_end";
|
|
|
+ if(!function_exists($fun)) {
|
|
|
+ return base_video_end($ppub, $path);
|
|
|
+ }
|
|
|
+ return $fun($ppub, $path);
|
|
|
+}
|
|
|
+
|
|
|
+?>
|