Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /www/htdocs/w00bfe3c/euer-hochzeitsplaner.de/wp-content/themes/hochzeit/intern.php on line 10

Warning: mysql_query(): A link to the server could not be established in /www/htdocs/w00bfe3c/euer-hochzeitsplaner.de/wp-content/themes/hochzeit/intern.php on line 10

Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /www/htdocs/w00bfe3c/euer-hochzeitsplaner.de/wp-content/themes/hochzeit/intern.php on line 11
Mein Planer | Euer Hochzeitsplaner

„“){
// Generate a random password
//$result9 = „INSERT INTO d00a8233.tickets (`id` ,`ticketnr` ,`titel` ,`beschreibung` ,`datum` ,`user`)VALUES (“, ‚$_POST[ticketnr]‘, ‚$_POST[tickettitel]‘, ‚$_POST[user_eingabe]‘, ‚$_POST[datum]‘, ‚$_POST[user]‘)“;
//echo $result9;
function generatePW($length=8)
{

$dummy = array_merge(range(‚0‘, ‚9‘), range(‚a‘, ‚z‘), range(‚A‘, ‚Z‘));

// shuffle array

mt_srand((double)microtime()*1000000);

for ($i = 1; $i <= (count($dummy)*2); $i++) { $swap = mt_rand(0,count($dummy)-1); $tmp = $dummy[$swap]; $dummy[$swap] = $dummy[0]; $dummy[0] = $tmp; } // get password return substr(implode('',$dummy),0,$length); } $result4 = mysql_query("SELECT * FROM benutzer WHERE email = '$_POST[lostpass]'"); while( $row = mysql_fetch_row($result4) ) { $neuespass= generatePW(10); // 10stelliges Passwort ausgeben... $neumd5 =md5($neuespass); //----neues Passwort setzen $result5 = mysql_query("UPDATE benutzer SET password = '$neumd5' WHERE id =$row[0] ;"); //echo "UPDATE d00a8233.mitglieder SET pass = '$neumd5' WHERE `mitglieder`.`id` =$row[0] ;"; //---Passwort zusenden $textarea = 'Hier sind Ihre Logindaten.
‚;
$textarea .= ‚Benutzer : ‚.$row[1].‘
‚;
$textarea .= ‚Passwort : ‚.$neuespass.‘

‚;
$textarea .= ‚Wir wünschen Ihnen noch weiter viel Spass mit Ihrem Account.‘;
//echo $textarea;
$absender = ’support@euer-hochzeitsplaner.de‘;
$header .= „Content-Type: text/html; charset=utf-8\n“; // Mime type
$header .= „From: „.$absender.“\n“;
$an = $row[4];
$betreff = ‚Logindaten zum Account auf euer-hochzeitsplaner.de‘;
@mail($an,$betreff,$textarea,$header);

$ausgabe2=’Wir haben Ihnen das Passwort zugesendet.‘;
}

}

//$wert2=$_POST[ben];
//$wert1=md5($_POST[pass]);
//$result13 = mysql_query(„SELECT * FROM benutzer WHERE b_name = ‚$wert2‘ AND password = ‚$wert1′“);
//while( $row13 = mysql_fetch_row($result13) ) {
//setcookie(„username“, $benutzer , time()+33600,“/“);
//setcookie(„passw“, $passwort , time()+33600,“/“);
//Header(„Location: ../intern/“);
//}
//———–Formular zum Login—————–
if($ausgabe2==““){$ausgabe2=“Benutzer oder Passwort war falsch!“;};
$ausgabe=‘

Login für Mitglieder

‚.$ausgabe2.‘


Passwort vergessen?


Sie haben noch kein Account? Dann registrieren Sie sich kostenlos auf unserem Portal. >>Zur Registrierung
‚;
echo $ausgabe;
}
else
{
//———–Formular zum Login—————–
$ausgabe=‘

Login für Mitglieder

Bitte geben Sie Ihren Benutzernamen und Ihr Passwort ein.


Passwort vergessen?


Sie haben noch kein Account? Dann registrieren Sie sich kostenlos auf unserem Portal. >>Zur Registrierung
‚;
echo $ausgabe;
}
}
else
{
switch($_COOKIE[‚act‘])
{
case 2:
//—-Hochzeitspaar——————-
if($_POST[whattodo]!=““){$machwas=$_POST[whattodo];}
if($_GET[whattodo]!=““){$machwas=$_GET[whattodo];}

switch($machwas)
{
case budgetrahmen:
include („wp-content/themes/hochzeit/z_Budgetplanung.php“);
break;
case polterabend:
include („wp-content/themes/hochzeit/z_polterabend.php“);
break;
case kontakt:
include („wp-content/themes/hochzeit/z_kontakt.php“);
break;
case formalitaeten:
include („wp-content/themes/hochzeit/z_Formalitaeten.php“);
break;
case standesamt:
include („wp-content/themes/hochzeit/z_Standesamt.php“);
break;
case kirche:
include („wp-content/themes/hochzeit/z_kirche.php“);
break;
case hochzeitsfeier:
include („wp-content/themes/hochzeit/z_hochzeitsfeier.php“);
break;
case beauty:
include („wp-content/themes/hochzeit/z_beauty.php“);
break;
case gaeste:
include („wp-content/themes/hochzeit/z_gaeste.php“);
break;
case druck:
include („wp-content/themes/hochzeit/z_druck.php“);
break;
case foto:
include („wp-content/themes/hochzeit/z_foto.php“);
break;
case blumen:
include („wp-content/themes/hochzeit/z_blumen.php“);
break;
case transport:
include („wp-content/themes/hochzeit/z_transport.php“);
break;
case flitterwochen:
include („wp-content/themes/hochzeit/z_flitterwochen.php“);
break;
case sonstiges:
include („wp-content/themes/hochzeit/z_sonstiges.php“);
break;
case z_1:
include („wp-content/themes/hochzeit/zeitplan_1.php“);
break;
case z_2:
include („wp-content/themes/hochzeit/zeitplan_2.php“);
break;
case z_3:
include („wp-content/themes/hochzeit/zeitplan_3.php“);
break;
case z_4:
include („wp-content/themes/hochzeit/zeitplan_4.php“);
break;
case z_5:
include („wp-content/themes/hochzeit/zeitplan_5.php“);
break;
case z_6:
include („wp-content/themes/hochzeit/zeitplan_6.php“);
break;
case z_7:
include („wp-content/themes/hochzeit/zeitplan_7.php“);
break;
case z_8:
include („wp-content/themes/hochzeit/zeitplan_8.php“);
break;
case z_9:
include („wp-content/themes/hochzeit/zeitplan_9.php“);
break;
case passwortneu:
include („wp-content/themes/hochzeit/z_pass_new.php“);
break;
default:
include („wp-content/themes/hochzeit/z_dashboard.php“);
break;
}
break;
case 3:
if($_POST[whattodo]!=““){$machwas=$_POST[whattodo];}
if($_GET[whattodo]!=““){$machwas=$_GET[whattodo];}

switch($machwas)
{
case s1:
include („wp-content/themes/hochzeit/s1.php“);
break;
case s2:
include („wp-content/themes/hochzeit/s2.php“);
break;
case s3:
include („wp-content/themes/hochzeit/s3.php“);
break;
case s4:
include („wp-content/themes/hochzeit/s4.php“);
break;
case s5:
include („wp-content/themes/hochzeit/s5.php“);
break;
default:
include („wp-content/themes/hochzeit/z_dashpremium.php“);
break;
}
break;
case 4:
if($_POST[whattodo]!=““){$machwas=$_POST[whattodo];}
if($_GET[whattodo]!=““){$machwas=$_GET[whattodo];}

switch($machwas)
{
case s1:
include („wp-content/themes/hochzeit/2s1.php“);
break;
case s2:
include („wp-content/themes/hochzeit/2s2.php“);
break;
case s3:
include („wp-content/themes/hochzeit/2s3.php“);
break;
case s4:
include („wp-content/themes/hochzeit/2s4.php“);
break;
case s5:
include („wp-content/themes/hochzeit/2s5.php“);
break;
default:
include („wp-content/themes/hochzeit/z_dashbasisplus.php“);
break;
}
break;
case 5:
if($_POST[whattodo]!=““){$machwas=$_POST[whattodo];}
if($_GET[whattodo]!=““){$machwas=$_GET[whattodo];}

switch($machwas)
{
case s1:
include („wp-content/themes/hochzeit/3s1.php“);
break;
case s2:
include („wp-content/themes/hochzeit/3s2.php“);
break;
case s3:
include („wp-content/themes/hochzeit/3s3.php“);
break;
case s4:
include („wp-content/themes/hochzeit/3s4.php“);
break;
default:
include („wp-content/themes/hochzeit/z_dashbasis.php“);
break;
}
break;
case 6:
if($_POST[whattodo]!=““){$machwas=$_POST[whattodo];}
if($_GET[whattodo]!=““){$machwas=$_GET[whattodo];}

switch($machwas)
{
case s1:
include („wp-content/themes/hochzeit/4s1.php“);
break;
case s2:
include („wp-content/themes/hochzeit/4s2.php“);
break;
case s3:
include („wp-content/themes/hochzeit/4s3.php“);
break;
case s4:
include („wp-content/themes/hochzeit/4s4.php“);
break;
default:
include („wp-content/themes/hochzeit/z_werbeanzeige.php“);
break;
}
break;
case 7:
if($_POST[whattodo]!=““){$machwas=$_POST[whattodo];}
if($_GET[whattodo]!=““){$machwas=$_GET[whattodo];}

switch($machwas)
{
case s1:
include („wp-content/themes/hochzeit/4s1.php“);
break;
case s2:
include („wp-content/themes/hochzeit/4s2.php“);
break;
case s3:
include („wp-content/themes/hochzeit/4s3.php“);
break;
case s4:
include („wp-content/themes/hochzeit/4s4.php“);
break;
default:
include („wp-content/themes/hochzeit/z_werbeanzeige.php“);
break;
}
break;
case 8:
if($_POST[whattodo]!=““){$machwas=$_POST[whattodo];}
if($_GET[whattodo]!=““){$machwas=$_GET[whattodo];}

switch($machwas)
{
case s1:
include („wp-content/themes/hochzeit/4s1.php“);
break;
case s2:
include („wp-content/themes/hochzeit/4s2.php“);
break;
case s3:
include („wp-content/themes/hochzeit/4s3.php“);
break;
case s4:
include („wp-content/themes/hochzeit/4s4.php“);
break;
default:
include („wp-content/themes/hochzeit/z_werbeanzeige.php“);
break;
}
break;
case 9:
if($_POST[whattodo]!=““){$machwas=$_POST[whattodo];}
if($_GET[whattodo]!=““){$machwas=$_GET[whattodo];}

switch($machwas)
{
case s1:
include („wp-content/themes/hochzeit/4s1.php“);
break;
case s2:
include („wp-content/themes/hochzeit/4s2.php“);
break;
case s3:
include („wp-content/themes/hochzeit/4s3.php“);
break;
case s4:
include („wp-content/themes/hochzeit/5s4.php“);
break;
default:
include („wp-content/themes/hochzeit/z_werbeanzeige.php“);
break;
}
break;
case 10:
if($_POST[whattodo]!=““){$machwas=$_POST[whattodo];}
if($_GET[whattodo]!=““){$machwas=$_GET[whattodo];}

switch($machwas)
{
case s1:
include („wp-content/themes/hochzeit/4s1.php“);
break;
case s2:
include („wp-content/themes/hochzeit/4s2.php“);
break;
case s3:
include („wp-content/themes/hochzeit/4s3.php“);
break;
case s4:
include („wp-content/themes/hochzeit/5s4.php“);
break;
default:
include („wp-content/themes/hochzeit/z_werbeanzeige.php“);
break;
}
break;
case 11:
if($_POST[whattodo]!=““){$machwas=$_POST[whattodo];}
if($_GET[whattodo]!=““){$machwas=$_GET[whattodo];}

switch($machwas)
{
case s1:
include („wp-content/themes/hochzeit/4s1.php“);
break;
case s2:
include („wp-content/themes/hochzeit/4s2.php“);
break;
case s3:
include („wp-content/themes/hochzeit/4s3.php“);
break;
case s4:
include („wp-content/themes/hochzeit/5s4.php“);
break;
default:
include („wp-content/themes/hochzeit/z_werbeanzeige.php“);
break;
}
break;
default:
echo“Fehler:wenden Sie sich an den Administrator“;
break;
}

}
?>