naja muss ich dann halt doch warten trotzdem danke aber falls du doch irgendwie raus findest melde dich dann bitte
Beiträge von Paddy87
-
-
Ehm mir viel rgad noch was ein was ich total vergessen habe zu erwähnen das ding wurde für PHPKit geschrieben . . .
Also es rbaucht des PHPkit um zu laufen ich habs ja auf der seite intregiert die mit PHPkit läuft
-
achso
naja muss ich halt noch paar wochen warten bis der wieder zeit hat
egal trotzdem danke für deine mühn
Ist echt gut hierman bekomtm schnelle antworten und kompetente hilfe :))
-
also index.php datein sind ja in den ganzen ordnern drin oder was meinst du ?
-
-
hmm
endweder binni blind oder da is nichts mit function adminaccess
/edit:
Das komische is nur beim Kumpel auf der Page geht das mist ding jaund der hat es mir ja nur runtergeladen gepackt und geschickt . . .
son schrott das er nid da is -.- -
k danke dir werde mich mal auf der suche begeben
Auf ins abenteuer xD
/edit: und was ist wenn ich es finde ?
-
Das skript habe ich von einem Kumpel der zurzeit nicht erreichbar ist und auch selten zuhause anzutreffen daher kann er mir des auch ned erklären und das ist eigentlich nich nie gelaufen das skript
-
wie gesagt bin nen verdammter neuling
wüsste ich wie sowas geht und hätte ich was auf Seiten gefunden müsste ich mich ja nicht an euch wenden
Es ich habe ja noch 2 andere skripte im anderen odner die im normalne verzeichnis auf dem FTP für die Page liegt.
-
Hi Leutz bin neu hier im Forum und wollte euch fragen ob ihr mir evtl bei einem Skript helfen könnt.
Ich möchte euch nicht zu spammen hier aber ich poste euch einfach mal die Skripte:
Das ist des writeblackbook.php (des habe ich nicht geschrieben sondern nen freund nur er kann mir im mom nid helfen dabei )
Zitat
<?php
if (adminaccess('blackbook')) {
if (isset($_REQUEST['catid'])) $catid=$_REQUEST['catid'];
if (isset($_POST['action'])) $ACTION=$_POST['action'];
else $ACTION='view';if ($ACTION==$_POST['delete']) {
$DB->query("DELETE FROM ".$db_tab['blackbook']." WHERE blackbook_id='".$_POST['blackbook_id']."' LIMIT 1");
header("location: admin.php?path=blackbook/archiv.php&PHPKITSID=".session_id()); exit();
}
elseif ($ACTION==$_POST['save']intval($_POST['blackbook_id'])>0) {
if ($_REQUEST['blackbook_id']=='new') {
$DB->query("INSERT INTO ".$db_tab['blackbook']." (blackbook_titel) VALUES ('new')");
$blackbook_id=$DB->insert_id();
}
else $blackbook_id=$_REQUEST['blackbook_id'];$DB->query("UPDATE ".$db_tab['blackbook']." SET blackbook_titel='".addslashes($_POST['blackbook_titel'])."', blackbook_charinfo='".addslashes($_POST['blackbook_charinfo'])."', blackbook_reason='".addslashes($_POST['blackbook_reason'])."', blackbook_action='".addslashes($_POST['content'])."', blackbook_catid='".$_POST['catid']."' WHERE blackbook_id='".$blackbook_id."'");
header("location: admin.php?path=blackbook/writeblackbook.php&blackbook_id=".$blackbook_id."&PHPKITSID=".session_id()."");
}if (intval($_REQUEST['blackbook_id'])>0) {
$blackbookinfo=$DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['blackbook']." WHERE blackbook_id='".$_REQUEST['blackbook_id']."' LIMIT 1"));
$blackbook_id=$blackbookinfo['blackbook_id'];
$catid=$blackbookinfo['blackbook_catid'];
$blackbook_titel=htmlentities($blackbookinfo['blackbook_titel']);
$blackbook_charinfo=htmlentities($blackbookinfo['blackbook_charinfo']);
$blackbook_reason=htmlentities($blackbookinfo['blackbook_reason']);
$blackbook_action=htmlentities($blackbookinfo['blackbook_action']);
}
else $blackbook_id='new';$getblackbookcat=$DB->query("SELECT * FROM ".$db_tab['blackbookcat']." ORDER by blackbookcat_title ASC");
while($blackbookcat=$DB->fetch_array($getblackbookcat)) {
if ($catid==$blackbookcat['blackbookcat_id']) {
$selected='selected';
$blackbookcat_title=$blackbookcat['blackbookcat_title'];
}
else unset($selected);
eval ("\$blackbookcat_option.= \"".templateinclude("blackbook/blackbookcat_option")."\";");
}
if ($catid!="") eval ("\$blackbookcat_body= \"".templateinclude("blackbook/writeblackbook_form")."\";");
eval ("\$site_body.= \"".templateinclude("blackbook/writeblackbook")."\";");
}
else {header ("location: index.php?PHPKITSID=".session_id()); exit();}
?>Das ist des blackbookcat.php
Zitat
<?php
if (adminaccess('blackbook')) {
if (isset($_REQUEST['catid'])) $catid=$_REQUEST['catid'];
else unset($catid);
if (isset($_POST['action'])) $ACTION=$_POST['action'];
else $ACTION='view';if ($ACTION==$_POST['save'] && $_POST['blackbookcat_title']!='') {
if ($catid=='new') {
$DB->query("INSERT INTO ".$db_tab['blackbookcat']." (blackbookcat_title) VALUES ('new')");
$catid=$DB->insert_id();
}
$DB->query("UPDATE ".$db_tab['blackbookcat']." SET blackbookcat_title='".addslashes($_POST['blackbookcat_title'])."' WHERE blackbookcat_id='".$catid."'");
header("location: admin.php?path=blackbook/blackbookcat.php&PHPKITSID=".session_id()); exit();
}$getblackbookcat=$DB->query("SELECT * FROM ".$db_tab['blackbookcat']." ORDER by blackbookcat_title ASC");
while($blackbookcat=$DB->fetch_array($getblackbookcat)) {
if ($catid==$blackbookcat['blackbookcat_id']) $blackbookcat_title=$blackbookcat['blackbookcat_title'];
eval ("\$blackbookcat_option.= \"".templateinclude("blackbook/blackbookcat_option")."\";");
}
if ($catid>0 ||$catid=='new') eval ("\$blackbookcat_body= \"".templateinclude("blackbook/blackbookcat_form")."\";");eval ("\$site_body.= \"".templateinclude("blackbook/blackbookcat")."\";");
}
else {header ("location: index.php?PHPKITSID=".session_id()); exit();}
?>Des ist des index.php
Zitat
<?php header ("location: ../index.php"); exit(); ?>Und des ist de archiv.php
Zitat
<?php
if (adminaccess('blackbook')) {
$getblackbookcat=$DB->query("SELECT * FROM ".$db_tab['blackbookcat']." ORDER by blackbookcat_title ASC");
while($blackbookcat=$DB->fetch_array($getblackbookcat)) {$blackbookcat_cache[$blackbookcat['blackbookcat_id']]=$blackbookcat;}
$getblackbook=$DB->query("SELECT * FROM ".$db_tab['blackbook']." ORDER by blackbook_titel ASC");
while($blackbook=$DB->fetch_array($getblackbook)) {
$row=rowcolor($row);
if (trim($blackbook_title=$blackbook['blackbook_titel'])=='') $blackbook_title='<font class="highlight">'.$lang['no_title'].'</font>';
$blackbookcat=$blackbookcat_cache[$blackbook[blackbook_catid]];
eval ("\$archiv_row.= \"".templateinclude("blackbook/archiv_row")."\";");
}
eval ("\$site_body.= \"".templateinclude("blackbook/archiv")."\";");
}
else {header ("location: index.php?PHPKITSID=".session_id()); exit();}
?>Wie ihr bestimtm schon bemerkt habt ist des ein Admin Menu Skript und da issen fehler irgendwie drin weil wenn ich meine adresse aufrufe bsp: http://www.meine-homepage.de/admin/blackbook/writeblackbook.php oder archiv.php oder blackbookcat.php
kommt folgende fehler meldung:
Zitat
Fatal error: Call to undefined function: adminaccess() in /usr/export/www/vhosts/funnetwork/hosting/anathema/admin/blackbook/archiv.php on line 2Fatal error: Call to undefined function: adminaccess() in /usr/export/www/vhosts/funnetwork/hosting/anathema/admin/blackbook/writeblackbook.php on line 2
Fatal error: Call to undefined function: adminaccess() in /usr/export/www/vhosts/funnetwork/hosting/anathema/admin/blackbook/blackbookcat.php on line 2