View functions.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
function HelloWorld() { | |
echo "Hello World"; | |
} | |
HelloWorld(); | |
?> |
View 01gallery.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Vorher (Zeile 471): | |
echo "<li".$class."><a ".$href." title=\"".$lightbox_title." - ".$echo_text."\">"._01gallery_getThumb($galverz,stripslashes($pics['filename']),"_tb")."</a></li>\n"; | |
// Nachher | |
echo "<li".$class."><a ".$href." title=\"".$lightbox_title."\">"._01gallery_getThumb($galverz,stripslashes($pics['filename']),"_tb")."</a></li>\n"; |
View hook.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
$publicKey = "-----BEGIN PUBLIC KEY----- | |
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDXJcP2N6NtcN26Q8nVaidXOA0w | |
RxWK2HQTblIaQdGRDjqTvhrSlFuV5N4jz7w/w8uskP20G7ZQ+CkHwIXrWk76KZJn | |
pdoOHPO6AqRmEFgV5Q6Y1CR77mvnT9O21hTnfzfyyiAdQC2oO8M9/jeLRPTAqmkG | |
xdQa8iepUz4BwrrHmwIDAQAB | |
-----END PUBLIC KEY-----"; | |
// Verify integrity of Payload | |
$result = openssl_verify($_POST['payload'], base64_decode($_POST['signature']), $publicKey); |
View content.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
var giframe; | |
var gURL; | |
function periodicResize(iframe){ | |
giframe = iframe; | |
setInterval(resizeIframe, 500); | |
} | |
function resizeIframe() { | |
if(giframe.contentWindow.document.body != null && giframe.contentWindow.document.body.scrollHeight > 0){ | |
if(giframe.contentWindow.document.URL != gURL) |
View secimg.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
session_start(); | |
$secCode = rand(100000,999999); | |
$_SESSION['antispam_'.$_GET['formid']] = md5($secCode); | |
// get from: http://www.01-scripts.de/01scripts/01pics/sec.jpg | |
$im = imagecreatefromjpeg("sec.jpg"); | |
// get from: http://www.01-scripts.de/01scripts/01pics/verdanab.ttf |
View new_css-code.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Folgende zusaetzliche CSS-Eigenschaften muessen ggf. in eine externe CSS-Datei eingefuegt werden: | |
/* SLIMBOX */ | |
#lbOverlay { | |
position: fixed; | |
z-index: 9999; | |
left: 0; | |
top: 0; | |
width: 100%; |
View mantis_reconnect.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
// MySQL-Einstellungen: | |
$host = "localhost"; //Host/Server ihrer Mysql-Datenbank | |
$database = "test"; //Datenbankname | |
$user = "user"; //Usernamen für Mysql-Datenbank | |
$passw = ""; //Passwort zur Mysql-Datenbank | |
$table = "mantis_plugin_source_changeset_table"; |
View include_archiv.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
$subfolder = "01scripts/"; // Unterverzeichnis | |
$modul = "01article"; // Modul- und Verzeichnisname (=ID-Name) | |
// ggf. ändern | |
$show['artid'] = "archiv"; | |
include($subfolder."01module/".$modul."/01article.php"); | |
?> |
NewerOlder