123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <?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);
- }
- ?>
|