Hallo
benutze in meiner Seite noch vkpMx 2.1.a
bin aber dabei das komplete system auf basis pragmaMx 0.1.9
Bin aber dabei hängegeblieben wie bei der alten Version das Seiten gäste buch ein Zweitesmal als Pano zu benutzen.
Ich kann das 2 gästebuch (pano) öffnen aber wenn ich im Adminberreich auf das 2 Gästebuch(Pano) klicke
bekomme ich immer die meldung :
Diese Funktion ('PanoAdmin') ist nicht vorhanden.
[ Zurück ]
Arbeite schon 5 tage drann und komme nicht mehr voran ihr seit meine letzte hoffnuing für diese Problem sonst kann ich die ganze umstellung aufgeben.:-(
mfg
Das ganze wird unter folgende adresse aufgebaut
http://www.dostsesi.com/portal/
habe ich was verkehrt gemacht das keiner ein beitrag dazu abgibt :quest
Was ist pano?
Was hast Du gemacht?
• Hast Du den Ordner modules/Guestbook dupliziert und umbenannt in z.B. Guestbook 2 ?
• dann die Dateien aus admin/case/case.nukebook.php, admin/links/links.nukebook.php und admin/modules/nukebook.php
dupliziert und umbenannt?
• Die Datenbanktabelle dupliziert und umbenannt Präfix_nukebook und Präfix_nukebook_queue in Präfix_nukebook2 und Präfix_nukebook_queue2
• In den Dateien von nukebook respektive Guestbook alle Verweise auf die Datenbank ändern. Von Präfix_nukebook auf Präfix_nukebook2 und Präfix_nukebook_queue auf Präfix_nukebook_queue2
• Dann in der Moduladministration das neue Modul aktiviert?
• Zur Sicherheit: modules.php?name=deinModul&file=install aufrufen
Habe gastebuch modul kopiert als pano
Case , link von nukebook1 kopiert und in nukebook2 kopiert
in der datenbank habe ich db manuell angelgt mit prefix nukebook2
habe auch als user ein eintreg gemacht geht auch in neue Db nukebook2 und alte funkioniert weiterhin ohne probleme
nur wenn ich ins admin menu gehe und das neue Gästebuch (neuername ist Pano) aufrufe nbekome ich folgende meldung
Diese Funktion ('PanoAdmin') ist nicht vorhanden.
das gästebuch würde in pano kopiert
Etwas detalierter
1 Modul gäste buch in pano kopiert
--------------------------------------------------------------------------------------------------------
2 in Db tabelen von nukebook kopiert in nukebook1--------------------------------------------------------------------------------------------------------
3 config.inc.php im ordner ...\modules\pano\include
$NB_setting['dbtable'] = 'nukebook'; umgeschrieben in $NB_setting['dbtable'] = 'nukebook1';
--------------------------------------------------------------------------------------------------------
4.lib.inc.php im ordner ...\modules\pano\include
zeile 558
@$NB_setting['dbtable'] = (isset($dbtable)) ? $dbtable : 'nukebook' ; umgeschrieben in
@$NB_setting['dbtable'] = (isset($dbtable)) ? $dbtable : 'nukebook1' ;
--------------------------------------------------------------------------------------------------------
5 in ordner \modules\pano\language
in sprachpaketen ale gustbook eintrage durch pano
und nukebook durch nukebook1 ersetz
--------------------------------------------------------------------------------------------------------
6. in admin.php imm root folgende zeile dran gehängt unter halb vom gustebook eintrag
zeile 297
if (mxModuleAllowed("Guestbook")) {
list($num) = sql_fetch_row(sql_query("select count(id) from ${prefix}_nukebook_queue;"));
if (!empty($num)) $content1 .= $arrow . "<b>$num</b> <a href=\"admin.php?op=GuestBookAdmin\">" . _GUESTBOOK . "</a><br />";
$num = 0;
}
zeile 302
if (mxModuleAllowed("pano")) {
list($num) = sql_fetch_row(sql_query("select count(id) from ${prefix}_nukebook1_queue;"));
if (!empty($num)) $content1 .= $arrow . "<b>$num</b> <a href=\"admin.php?op=panoAdmin\">" . _pano . "</a><br />";
$num = 0;
}
--------------------------------------------------------------------------------------------------------
7. im ordner ...\admin\case folgende code umgändert
case.nukebook.php in case.nukebook1.php kopiert
in folgende umgewandelt
switch($op) {
case "Nukebook1DeleteEntry":
case "Nukebook1EditEntry":
case "Nukebook1EditEntryConfirm":
case "Nukebook1SaveSettings":
case "Nukebook1SubmitEntry":
case "Nukebook1Admin":
case "panoDeleteEntry":
case "panoEditEntry":
case "panoEditEntryConfirm":
case "panoSaveSettings":
case "panoSubmitEntry":
case "panoAdmin":
include("admin/modules/Nukebook1.php");
}
?>
--------------------------------------------------------------------------------------------------------
8.) im ordner ..\admin\links
links.nukebook.php in links.nukebook1.php kopiert
inhalt umgeändert in folgende code
if (!defined("mxAdminFileLoaded")) die ("You can't access this file directly...");
if (($radminsuper==1)) {
adminmenu("admin.php?op=PanoAdmin", _pano, "nukebook1.gif");
}
--------------------------------------------------------------------------------------------------------
9.) \admin\modules
datei nukebook.php in nukebook1.php kopiert
in folgende umgewandelt
if (!defined("mxAdminFileLoaded")) die("Access Denied");
$module_name = "pano";
mxGetLangfile($module_name);
if (!mxGetAdminPref('radminsuper')) {
mxErrorScreen("Access Denied");
die();
}
include_once("modules/$module_name/include/lib.inc.php");
// / Konfiguration auslesen
$NB_setting = NB_GetSettings();
// mxDebugFuncVars($NB_setting);
// ==================================================
// function panoAdmin
// Main admin page for pano. Here you
// set the different pano options.
// ==================================================
function panoAdmin()
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2;
global $prefix, $user_prefix, $module_name, $NB_setting;
$qry = "SELECT G.*, G.name AS nbname, U.uid AS uid
FROM {$prefix}_{$NB_setting['dbtable']}_queue AS G LEFT JOIN {$user_prefix}_users AS U ON G.name = U.uname
ORDER BY G.date DESC";
$result = sql_query($qry);
$newentries = sql_num_rows($result);
include('header.php');
GraphicAdmin();
title(_NBpanoADMINISTRATION);
if (!empty($newentries)) {
if ($NB_setting['confirmation']) {
title(_NBSUBMISSIONSADMIN);
$msg = _NBNEWSUBMISSIONS;
} else {
$msg = _NBENTRYWARNING;
}
OpenTable();
echo '<center><font class="option"><b>' . $msg . '</b></font></center><br>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
';
while ($entry = sql_fetch_assoc($result)) {
NB_ViewEntry($entry, true);
echo '<tr><td colspan="2" align="center"><span class="content">[
<a href="admin.php?op=panoSubmitEntry&id=' . $entry['id'] . '&qu=1">' . _NBCONFIRMENTRY . '</a> |
<a href="admin.php?op=panoEditEntry&id=' . $entry['id'] . '&qu=1">' . _NBEDITENTRY . '</a> |
<a href="admin.php?op=panoDeleteEntry&id=' . $entry['id'] . '&qu=1">' . _NBREJECTENTRY . '</a>
]</span></td></tr>';
}
echo '</table>
';
CloseTable();
echo '<br>';
} else {
if ($NB_setting['confirmation']) {
title(_NOSUBMISSIONS);
}
}
panoSettings();
OpenTable();
echo '<div align="center"><a href="modules.php?name=' . $module_name . '">' . _NBREADpano . '</a></div>';
CloseTable();
include('footer.php');
}
// ==================================================
// function panoSubmitEntry
// Function to confirm an entry in the queue-database.
// Accessed from admin pano page
// Added in Version 2.5.0
// ==================================================
function panoSubmitEntry()
{
global $module_name, $NB_setting, $prefix;
$id = empty($_REQUEST['id']) ? 0 : intval($_REQUEST['id']);
if (!$id) {
header("Location: admin.php?op=panoAdmin");
}
$qry = "INSERT INTO {$prefix}_{$NB_setting['dbtable']} (`name`, `email`, `url`, `date`, `host`, `comment`, `nukeuser`)
SELECT `name`, `email`, `url`, `date`, `host`, `comment`, `nukeuser`
FROM {$prefix}_{$NB_setting['dbtable']}_queue
WHERE id=" . intval($id);
$result = sql_query($qry);
// mxDebugFuncVars(mysql_error());
if ($result) {
$sqlst = "DELETE FROM {$prefix}_{$NB_setting['dbtable']}_queue WHERE id='" . intval($id) . "'";
$sql_result = sql_query($sqlst);
}
header("Location: admin.php?op=panoAdmin");
}
// ==================================================
// function panoDeleteEntry
// Function to delete a post in the database.
// Accessed from main pano page
// Function to reject and delete a post in the queue-database.
// Accessed from admin pano page
// ==================================================
function panoDeleteEntry()
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2;
global $module_name, $NB_setting, $prefix;
$id = empty($_REQUEST['id']) ? 0 : intval($_REQUEST['id']);
if (!$id) {
header("Location: admin.php?op=panoAdmin");
}
$qu = empty($_REQUEST['qu']) ? 0 : 1;
$ok = empty($_REQUEST['ok']) ? 0 : 1;
$item = empty($_REQUEST['item']) ? 0 : intval($_REQUEST['item']);
$goto = ($qu) ? 'admin.php?op=panoAdmin' : "modules.php?name=" . $module_name . "&item=" . $item . "#gb-" . $id;
if ($ok) {
$table = ($qu) ? "{$prefix}_{$NB_setting['dbtable']}_queue" : "{$prefix}_{$NB_setting['dbtable']}";
$qry = "DELETE FROM {$table} WHERE id='" . intval($id) . "'";
$sql_result = sql_query($qry);
header("Location: " . $goto);
exit;
}
include('header.php');
// GraphicAdmin();
title(_NBpanoADMINISTRATION);
OpenTable();
echo '<center><font class="option"><b>' . _NBDELETEENTRY . '</b></font></center><br>';
echo "<center>[ <a href=\"admin.php?op=panoDeleteEntry&id=" . $id . "&qu=" . $qu . "&item=" . $item . "&ok=1\">" . _YES . "</a> | <a href=\"" . htmlentities($goto) . "\">" . _NO . "</a> ]</center>";
CloseTable();
include('footer.php');
}
// ==================================================
// function panoEditEntry
// Function to edit a post in the database.
// Accessed from main pano page
// ==================================================
function panoEditEntry()
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2;
global $module_name, $NB_setting, $prefix, $user_prefix;
$id = empty($_REQUEST['id']) ? 0 : intval($_REQUEST['id']);
if (!$id) {
header("Location: admin.php?op=panoAdmin");
}
$qu = empty($_REQUEST['qu']) ? 0 : 1;
$item = empty($_REQUEST['item']) ? 0 : intval($_REQUEST['item']);
$cap1 = ($qu) ? _NBEDITENTRY . ' (' . _NBENTRYCHECK . ')' : _NBEDITENTRY;
$cap2 = ($qu) ? _NBPREVIEW . ' (' . _NBENTRYCHECK . ')' : _NBPREVIEW;
$table = ($qu) ? "{$prefix}_{$NB_setting['dbtable']}_queue" : "{$prefix}_{$NB_setting['dbtable']}";
$qry = "SELECT G.*, G.name AS nbname, U.uid AS uid
FROM {$table} AS G LEFT JOIN {$user_prefix}_users AS U ON G.name = U.uname
WHERE id=" . intval($id);
$result = sql_query($qry);
$entry = sql_fetch_assoc($result);
include('header.php');
GraphicAdmin();
title(_NBpanoADMINISTRATION);
OpenTable();
NB_SubmitForm($entry, $cap1, true);
echo '
<br>
<center><font class="option"><b>' . $cap2 . '</b></font></center><br>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
';
if (!$qu) {
$entry['comment'] = NB_CutEditMessage($entry['comment']);
$entry['comment'] = NB_SetEditMessage($entry['comment']);
}
NB_ViewEntry($entry, true);
echo '<tr><td colspan="2" align="center"><span class="content">[';
if ($qu) {
echo '<a href="admin.php?op=panoSubmitEntry&id=' . $entry['id'] . '&qu=1">' . _NBCONFIRMENTRY . '</a> |
<a href="admin.php?op=panoDeleteEntry&id=' . $entry['id'] . '&qu=1">' . _NBDELETEENTRY . '</a>';
} else {
echo '<a href="modules.php?name=' . $module_name . '&item=' . $item . '#gb-' . $entry['id'] . '">' . _NBGOTOENTRY . '</a>';
}
echo ']</span></td></tr>';
echo '</table>
';
CloseTable();
include('footer.php');
}
function panoEditEntryConfirm()
{
global $module_name, $NB_setting, $prefix;
$id = empty($_POST['id']) ? 0 : intval($_POST['id']);
if (!$id) {
header("Location: admin.php?op=panoAdmin");
}
$qu = empty($_POST['qu']) ? 0 : 1;
$item = empty($_POST['item']) ? 0 : intval($_POST['item']);
$table = ($qu) ? "{$prefix}_{$NB_setting['dbtable']}_queue" : "{$prefix}_{$NB_setting['dbtable']}";
$_POST['url'] = trim(mxCutHTTP(strip_tags($_POST['url'])));
$_POST['email'] = trim(strip_tags($_POST['email']));
$_POST['comment'] = trim($_POST['comment']);
if (!$qu) {
$_POST['comment'] = NB_SetEditMessage($_POST['comment']);
}
$qry = "UPDATE {$table} SET email='" . mxAddSlashesForSQL($_POST['email']) . "', url='" . mxAddSlashesForSQL($_POST['url']) . "', comment='" . mxAddSlashesForSQL($_POST['comment']) . "' WHERE id='" . intval($id) . "'";
$sql_result = sql_query($qry);
header("Location: admin.php?op=panoEditEntry&id=" . $id . "&qu=" . $qu . "&item=" . $item);
}
// ==================================================
// function panoSaveSettings
// This function writes the (new) settings to the
// config file
// ==================================================
function panoSaveSettings()
{
global $module_name;
extract(NB_GetSettings() , EXTR_OVERWRITE);
extract(mxStripSlashes($_POST), EXTR_OVERWRITE);
if (empty($dbtable)) {
$dbtable = 'nukebook1';
}
$content .= "<?php // write with: \$Id: nukebook1.php,v 1.6 2007/03/24 14:56:20 tora60 Exp $\n";
$content .= "/************************************************************/\n";
$content .= "/* pano settings */\n";
$content .= "/* These settings should not be altered manually. */\n";
$content .= "/* All settings are altered from Admin section in pragmaMx. */\n";
$content .= "/************************************************************/\n";
$content .= "\n";
$content .= "\$NB_setting['regonly'] = '" . $regonly . "';\n";
$content .= "\$NB_setting['gbnotify'] = '" . $gbnotify . "';\n";
$content .= "\$NB_setting['waitseconds'] = '" . $waitseconds . "';\n";
$content .= "\$NB_setting['entries_per_page'] = '" . $entries_per_page . "';\n";
$content .= "\$NB_setting['allow_html'] = '" . $allow_html . "';\n";
$content .= "\$NB_setting['smilies'] = '" . $smilies . "';\n";
$content .= "\$NB_setting['nbcode'] = '" . $nbcode . "';\n";
$content .= "\$NB_setting['max_wordlength'] = '" . $max_wordlength . "';\n";
$content .= "\$NB_setting['confirmation'] = '" . $confirmation . "';\n";
$content .= "\$NB_setting['showurl'] = '" . $showurl . "';\n";
$content .= "\$NB_setting['rightblocks'] = '" . $rightblocks . "';\n";
$content .= "\n";
$content .= "/************************************************************************/\n";
$content .= "/* Below settings are not to be changed at all */\n";
$content .= "/************************************************************************/\n";
$content .= "\n";
// $content .= "\$NB_setting['version'] = 'mx 3.0';\n";
$content .= "\$NB_setting['dbtable'] = '" . $dbtable . "';\n";
$content .= "\n";
$content .= "?>\n";
@chmod("modules/$module_name/include/config.inc.php", 0777);
$file = fopen("modules/$module_name/include/config.inc.php", "w");
fwrite($file, $content);
fclose($file);
@chmod("modules/$module_name/include/config.inc.php", 0444);
header("Location: admin.php?op=panoAdmin");
}
function panoSettings()
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2;
global $prefix, $user_prefix, $module_name, $NB_setting;
// start Settings
OpenTable();
echo "<center><font class=\"option\"><b>" . _NBSETTINGS . "</b></font></center>\n";
?>
<br>
<form action="admin.php" method="post">
<table border="0" cellpadding="3" cellspacing="0" width="100%" align="left">
<tr>
<td class="content"><?php echo _NBONLYREGGEDUSERS;
?></td>
<td>
<select name="regonly">
<option value="<?php echo (($NB_setting['regonly'] == 1) ? "1": "0") ?>" selected><?php echo (($NB_setting['regonly'] == 1) ? _YES : _NO) ?></option>
<option value="<?php echo (($NB_setting['regonly'] == 1) ? "0": "1") ?>"><?php echo (($NB_setting['regonly'] == 1) ? _NO : _YES) ?></option>
</select>
</td>
</tr>
<tr>
<td class="content"><?php echo _NBCONFIRMENTRIES;
?></td>
<td>
<select name="confirmation">
<option value="<?php echo (($NB_setting['confirmation'] == 1) ? "1": "0") ?>" selected><?php echo (($NB_setting['confirmation'] == 1) ? _YES : _NO) ?></option>
<option value="<?php echo (($NB_setting['confirmation'] == 1) ? "0": "1") ?>"><?php echo (($NB_setting['confirmation'] == 1) ? _NO : _YES) ?></option>
</select>
</td>
</tr>
<tr>
<td class="content"><?php echo _NBNOTIFY;
?></td>
<td>
<select name="gbnotify">
<option value="<?php echo (($NB_setting['gbnotify'] == 1) ? "1": "0") ?>" selected><?php echo (($NB_setting['gbnotify'] == 1) ? _YES : _NO) ?></option>
<option value="<?php echo (($NB_setting['gbnotify'] == 1) ? "0": "1") ?>"><?php echo (($NB_setting['gbnotify'] == 1) ? _NO : _YES) ?></option>
</select>
</td>
</tr>
<tr>
<td class="content"><?php echo _NBSPAMWAIT;
?></td>
<td>
<input type="text" name="waitseconds" value="<?php echo $NB_setting['waitseconds'];
?>" size="3"> <?php echo _NBSPAMWAIT2;
?>
</td>
</tr>
<tr>
<td class="content"><?php echo _NBENTRIES;
?></td>
<td>
<input type="text" name="entries_per_page" value="<?php echo $NB_setting['entries_per_page'];
?>" size="3">
</td>
</tr>
<tr>
<td class="content"><?php echo _NBMAXWORDLENGTH;
?></td>
<td>
<input type="text" name="max_wordlength" value="<?php echo $NB_setting['max_wordlength'];
?>" size="3">
</td>
</tr>
<tr>
<td class="content"><?php echo _NBALLOWHTML;
?></td>
<td>
<select name="allow_html">
<option value="<?php echo (($NB_setting['allow_html'] == 1) ? "1": "0") ?>" selected><?php echo (($NB_setting['allow_html'] == 1) ? _YES : _NO) ?></option>
<option value="<?php echo (($NB_setting['allow_html'] == 1) ? "0": "1") ?>"><?php echo (($NB_setting['allow_html'] == 1) ? _NO : _YES) ?></option>
</select>
</td>
</tr>
<tr>
<td class="content"><?php echo _NBALLOWNBCODE;
?></td>
<td>
<select name="nbcode">
<option value="<?php echo (($NB_setting['nbcode'] == 1) ? "1": "0") ?>" selected><?php echo (($NB_setting['nbcode'] == 1) ? _YES : _NO) ?></option>
<option value="<?php echo (($NB_setting['nbcode'] == 1) ? "0": "1") ?>"><?php echo (($NB_setting['nbcode'] == 1) ? _NO : _YES) ?></option>
</select>
</td>
</tr>
<tr>
<td class="content"><?php echo _NBALLOWSMILIES;
?></td>
<td>
<select name="smilies">
<option value="<?php echo (($NB_setting['smilies'] == 1) ? "1": "0") ?>" selected><?php echo (($NB_setting['smilies'] == 1) ? _YES : _NO) ?></option>
<option value="<?php echo (($NB_setting['smilies'] == 1) ? "0": "1") ?>"><?php echo (($NB_setting['smilies'] == 1) ? _NO : _YES) ?></option>
</select>
</td>
</tr>
<tr>
<td class="content"><?php echo _NBUSEWEBSITE;
?></td>
<td>
<select name="showurl">
<option value="<?php echo ((empty($NB_setting['showurl'])) ? "0": "1") ?>" selected><?php echo ((empty($NB_setting['showurl'])) ? _NO : _YES) ?></option>
<option value="<?php echo ((empty($NB_setting['showurl'])) ? "1": "0") ?>"><?php echo ((empty($NB_setting['showurl'])) ? _YES : _NO) ?></option>
</select>
</td>
</tr>
<tr>
<td class="content"><?php echo _NBRIGHTBLOCKS;
?></td>
<td>
<select name="rightblocks">
<option value="<?php echo (($NB_setting['rightblocks'] == 1) ? "1": "0") ?>" selected><?php echo (($NB_setting['rightblocks'] == 1) ? _YES : _NO) ?></option>
<option value="<?php echo (($NB_setting['rightblocks'] == 1) ? "0": "1") ?>"><?php echo (($NB_setting['rightblocks'] == 1) ? _NO : _YES) ?></option>
</select>
</td>
</tr>
<tr>
<td>
</td>
<td>
<input type="hidden" name="op" value="panoSaveSettings">
<input type="submit" value="<?php echo _NBSUBMIT;
?>">
</td>
</tr>
</table>
</form>
<?php
CloseTable();
// end Settings
}
switch ($op) {
case "Nukebook1Admin":
case "panoAdmin":
panoAdmin();
break;
case "Nukebook1SaveSettings":
case "panoSaveSettings":
panoSaveSettings();
break;
case "Nukebook1SubmitEntry":
case "panoSubmitEntry":
panoSubmitEntry();
break;
case "Nukebook1DeleteEntry":
case "panoDeleteEntry":
panoDeleteEntry();
break;
case "Nukebook1EditEntry":
case "panoEditEntry":
panoEditEntry();
break;
case "Nukebook1EditEntryConfirm":
case "panoEditEntryConfirm":
panoEditEntryConfirm();
break;
}
?>
--------------------------------------------------------------------------------------------------------
nach dem nicht funkionierte habe noch folgende schritte gemacht
10 im root die datei config.inc.php
config.inc.php
fogende code noch dazu gehängt
$NB_setting['dbtable'] = 'nukebook1';
Wow nimm mal bitte den Quellcode hier raus. Kannst ihn ja in eine txt datei packe n und den link hier reinstellen.
so wirds aber zu unübersichtlich.
Forenregel (http://www.pragmamx.org/Content-pa-showpage-pid-48.html#brule_8)
Zitat
7. im ordner ...\admin\case folgende code umgändert
in folgende umgewandelt
switch($op) {
......
case "panoAdmin":
include("admin/modules/Nukebook1.php");
}
?>
8.) im ordner ..\admin\links
links.nukebook.php in links.nukebook1.php kopiert
inhalt umgeändert in folgende code
if (!defined("mxAdminFileLoaded")) die ("You can't access this file directly...");
if (($radminsuper==1)) {
adminmenu("admin.php?op=PanoAdmin", _pano, "nukebook1.gif");
}
Du schreibst es einmal groß und einmal klein (das P von pano)
Mach mal folgendes draus.
8.) im ordner ..\admin\links
links.nukebook.php in links.nukebook1.php kopiert
inhalt umgeändert in folgende code
if (!defined("mxAdminFileLoaded")) die ("You can't access this file directly...");
if (($radminsuper==1)) {
adminmenu("admin.php?op=
panoAdmin", _pano, "nukebook1.gif");
}
Sorry, aber den rest schau ich mir so nicht an.
:BD: brauchst auch nicht mehr
Danke :thumbup: genau das grosschreiben
7. im ordner ...\admin\case folgende code umgändert
in folgende umgewandelt
switch($op) {
......
case "panoAdmin":
include("admin/modules/Nukebook1.php");
}
?>
war der grund es funkioniert so weit wie ich es mir vogestellt habe nochmal Danke für alle