1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
|
<?
require("acp/lib/config.inc.php");
require("acp/lib/class_db_mysql.php");
$db = new db($sqlhost,$sqluser,$sqlpassword,$sqldb);
?>
<html>
<head>
<title>Spoiler-Installation</title>
</head>
<body bgcolor="#000000">
<div align="center">
<font face="Tahoma" color="#ffffff">
<br><br><font size=3><b>Datenbank wird aktualisiert...</b></font><br><br><font size=2>
<?
$db->query("INSERT INTO `bb".$n."_bbcodes` (`bbcodeid`, `bbcodetag`, `bbcodereplacement`, `bbcodeexample`, `bbcodeexplanation`, `params`, `multiuse`) VALUES ('', 'spoiler', '<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td><span class="genmed"><b><smallfont color="{fontcolorfirst}">Spoiler (zum Lesen makieren): </font></b></span></td></tr><tr><td bgcolor="black" class="quote"><smallfont color="#000000">\\\\1</font></td></tr></table>','[SPOILER]unleserlich[/SPOILER]', 'Mithilfe dieses BBCodes kann man einen Text unleserlich machen. Um ihn zu lesen, muss der Text makiert werden.', 1, 1);");
echo "Erfolgreich ausgeführt.<br><br>";
echo "<br>Datenbank wurde erweitert!<br><b>install.php aus Sicherheitsgründen löschen!</b>";
?>
</font>
</div>
</body>
</html> |