Quellcode |
|
1 2 3 |
function sc_lastworks() { include("includes/module/lastworks/index.inc.php"); } |
Quellcode |
|
1 |
<?php sc_lastworks(); ?> |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
// PAGE LOAD ADDON function page_load_addon($addon) { global $optionen; global $settings; $checkaddon = @fopen ("".$settings['page_dir']."/includes/addons/".$addon."/index.inc.php", "r"); if ($checkaddon) { include "./includes/addons/".$addon."/index.inc.php"; echo " <script type="text/javascript" src="".$settings['page_dir']."/includes/addons/".$addon."/eingabe.js"></script>\n\n"; } else { echo "Fehler beim verarbeiten von Addon ".$addon."!"; } } |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
// PAGE LOAD ADDON (NEW) function page_load_addon($addon) { $loadaddon = "includes/addons/".$addon."/index.inc.php"; if (file_exists($loadaddon)) { include "./includes/addons/".$addon."/index.inc.php"; } else { echo "Fehler beim verarbeiten von Addon "".$addon.""!"; } } |