עשיתי כל מה שרשום העברתי את כל הקבצים שמגיעים עם זה ותיראו מה קרה לי :
זה העמוד הראשי:
http://prizeeisrael.freehost.co.il/
וזה בדף הניהול שאני לוחץ על הודעת מערכת:
בבקשה תעזרו לי במה טעיתי..
מנהל: צוות האתר
// connect to phpbb
include('./config.php');
$cnx = mysql_connect($dbhost, $dbuser, $dbpasswd)
or die("Unable to connect to database server.");
mysql_select_db($dbname, $cnx)
or die("Unable to select database.");
$sql1 = "CREATE TABLE " . $table_prefix.$tablename . " (
msg_id mediumint(8) NOT NULL auto_increment,
title varchar(25) NOT NULL default '(empty)',
message text NOT NULL,
showpage smallint(5) NOT NULL default '0',
auth tinyint(2) NOT NULL default '5',
width smallint(3) NOT NULL default '75',
starttime int(11) NOT NULL default '0',
endtime int(11) NOT NULL default '0',
startdate int(11) NOT NULL default '0',
enddate int(11) NOT NULL default '0',
users_timezone tinyint(1) NOT NULL default '0',
bbcode_uid varchar(10) NOT NULL default '',
days varchar(7) NOT NULL default '0000000',
images varchar(100) default NULL,
ordr smallint(3) NOT NULL default '0',
PRIMARY KEY (msg_id) )";
$result = mysql_query($sql1);
if(!$result)
echo "Install failed<BR><BR>";
if (mysql_error()) { echo "Error Report: <B>".mysql_error()."</B><BR><BR>"; }
else {
echo "ההתקנה הושלמה. כל הטבלאות עודכנו.<BR><BR><BR>אנא זכור למחוק את קובץ ההתקנה.<BR><BR><BR>";
}
$sql1 = " INSERT INTO " . $table_prefix.$tablename . " (msg_id, title, message, showpage, auth, width, starttime, endtime, startdate, enddate, users_timezone, bbcode_uid, days, images, ordr) VALUES (1, 'בכל הדפים', 'הודעה זו תוצג בכל הדפים. כל מבקרי הפורום ייראו אותה. רוחב הטבלה הוא 80%. בהודעה זו מוצגת תמונה משני הצדדים. והסדר שלו הוא 10', 9999, 0, 80, 946681200, 946681200, 988581600, 1293750000, 0, '', '1111111', '/images/default.gif', 10),
(3, 'באינדקס הפורומים בלבד', 'הודעה זו תוצג באינדקס הפורומים בלבד. רק עבור חברים רשומים. בכל יום מימי השבוע. והסדר שלה הוא 20', 0, 1, 50, 946681200, 946681200, 1009839600, 1293750000, 0, '', '1111111', '', 20)";
;
$result = mysql_query($sql1);
if(!$result)
echo "Install failed<BR><BR>";
if (mysql_error()) { echo "Error Report: <B>".mysql_error()."</B><BR><BR>"; }
else {
echo "ההתקנה הושלמה. כל הנתונים הוזנו לטבלאות בהצלחה.<BR><BR><BR>אנא זכור למחוק את קובץ ההתקנה.";
}
exit;
?>
חזור אל “תמיכה במודים - ארכיון”
משתמשים הגולשים בפורום זה: אין משתמשים רשומים ו־ 105 אורחים