function __s_sp($name, $value) { if (Session_id() == null) { $this->addError("WorkFlow necesita que se haya iniciado una sesion"); } return $_SESSION[$name] = $value; }
} else { imagepng($dest_small); $Ext = '.png'; } //-> Hinweis: jpg rausgenommen, da keine Transparenz unterstützt für Anpassung der Größe $_SESSION['origimg'] = base64_encode(ob_get_contents()); ob_end_clean(); imagedestroy($dest_small); } else { // Keine Größenanpassung if ($adminprocess || $logineditprocess) { $move_uploaded_file = true; } else { if (move_uploaded_file($image, 'incs/temp/u' . Session_id())) { $_SESSION['origimg'] = base64_encode(@file_get_contents('incs/temp/u' . Session_id())); @unlink('incs/temp/u' . Session_id()); } else { $_SESSION['origimg'] = base64_encode(@file_get_contents($image)); } } } } $_SESSION['bildext'] = $Ext; //------------------------------------------------------------------- // Bild erstellen if (!($dest = @imagecreatetruecolor($breite + $BLOCKSIZE_X, $hoehe + $BLOCKSIZE_Y))) { $dest = imagecreate($breite + $BLOCKSIZE_X, $hoehe + $BLOCKSIZE_Y); } if (!($transparenter_farbwert = imagecolorsforindex($bild, imagecolortransparent($bild)))) { $colorTransparent = imagecolorallocate($dest, 255, 42, 212); // Pinke Farbe
echo "There is no config.php file. I will try to create it.<br />"; if (!copy("config.default.php", "config.php")) { echo "There are no privilegs to write a file. Please copy the <b>config.default.php</b> to <b>config.php</b> manually."; exit; } chmod("config.php", 0666); echo "The file <b>config.php</b> successfully created. Please reload the page."; exit; } // configuration file include "./config.php"; // authorization of users $SN = "hvxator"; Session_name("{$SN}"); Session_start(); $sid = Session_id(); $date = Date("U"); $ad = Date("U") - 1800; $MSQ = @MySQL_Query("SELECT * FROM uniletim_auth WHERE (aut_id = '{$sid}')"); // AND (aut_date >= '$ad') $sess = @MySQL_Fetch_Row($MSQ); if (@MySQL_Num_Rows($MSQ) < 1) { $auth = "0"; // test if the db.tables are created; if not, jump to install.php $dbInstalled = MySQL_Num_Rows(MySQL_Query("SHOW TABLES")) ? 1 : 0; if (!$dbInstalled) { include "./includes/tables.inc.php"; } $memberExists = MySQL_Num_Rows(MySQL_Query("SELECT mbr_id FROM uniletim_members")) ? 1 : 0; if (!$memberExists) { include "./install.php";