Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
Geschlossen |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | function get_boxcontent ( $box ) { global $lang, $allgAr, $menu; if ( file_exists('include/boxes/'.$box ) ) { $pfad = 'include/boxes/'.$box; } elseif ( file_exists ( 'include/contents/selfbp/selfb/'. str_replace('self_','',$box) ) ) { $pfad = 'include/contents/selfbp/selfb/'. str_replace('self_','',$box); } elseif ( file_exists('include/boxes/'.$box.'.php' ) ) { $pfad = 'include/boxes/'.$box.'.php'; } elseif ( file_exists('include/boxes/'.$box.'.htm' ) ) { $pfad = 'include/boxes/'.$box.'.htm'; } elseif ( file_exists ( 'include/contents/selfbp/selfb/'. str_replace('self_','',$box).'.php' ) ) { $pfad = 'include/contents/selfbp/selfb/'. str_replace('self_','',$box).'.htm'; } elseif ( file_exists ( 'include/contents/selfbp/selfb/'. str_replace('self_','',$box).'.htm' ) ) { $pfad = 'include/contents/selfbp/selfb/'. str_replace('self_','',$box).'.htm'; } else { return ( FALSE ); } ob_start(); require_once( $pfad ); $buffer = $this->escape_explode(ob_get_contents()); ob_end_clean(); return($buffer); } |
Geschlossen | ||
![]() |
Zurück zu HTML, PHP, SQL,... |