Durchsuche Foren

(Erweiterte Suche)

Foren-Statistiken
» Mitglieder: 44.783
» Neuestes Mitglied: missmistykolkata
» Foren-Themen: 92.562
» Foren-Beiträge: 94.398

Komplettstatistiken

Benutzer Online
Momentan sind 526 Benutzer online
» 2 Mitglieder
» 521 Gäste
Bing, Facebook, Google, cartool, tuu8

Aktive Themen
Materialise.3-matic v18 x...
Forum: Html
Letzter Beitrag: tuu8
Vor 3 Minuten
» Antworten: 0
» Ansichten: 1
simsci proii v10
Forum: Datenbanken
Letzter Beitrag: cartool
Vor 5 Minuten
» Antworten: 0
» Ansichten: 2
Trimble Inpho Photogramme...
Forum: Datenbanken
Letzter Beitrag: cartool
Vor 11 Minuten
» Antworten: 0
» Ansichten: 2
Materialise Mimics v26
Forum: Html
Letzter Beitrag: tuu8
Vor 15 Minuten
» Antworten: 0
» Ansichten: 2
sirona cerec 5.2
Forum: Datenbanken
Letzter Beitrag: cartool
Vor 19 Minuten
» Antworten: 0
» Ansichten: 1
paleoscan 2019
Forum: Datenbanken
Letzter Beitrag: cartool
Vor 26 Minuten
» Antworten: 0
» Ansichten: 1
Maptek vulcan 2024 x64
Forum: Html
Letzter Beitrag: tuu8
Vor 28 Minuten
» Antworten: 0
» Ansichten: 2
autopol
Forum: Datenbanken
Letzter Beitrag: cartool
Vor 36 Minuten
» Antworten: 0
» Ansichten: 2
Maptek I-Site Studio 7.0....
Forum: Html
Letzter Beitrag: tuu8
Vor 38 Minuten
» Antworten: 0
» Ansichten: 1
MESA Expert v16.3
Forum: Html
Letzter Beitrag: tuu8
Vor 43 Minuten
» Antworten: 0
» Ansichten: 2

  sql geht nicht
Geschrieben von: admin - 19.04.2022, 00:47 - Forum: Datenbanken - Antworten (11)

Ich schreibe dein Problem mal hier  rein weil es vieleicht noch andere gibt die das auch haben



PHP-Code:
<?php
error_reporting
(E_ALL); 
ini_set('display_errors'true);
$pdo = new PDO('mysql:host=localhost:3306;dbname=auftrag''Name''Passwort');
?>
<!DOCTYPE html> 
<html> 
<head>
  <title>Hairlich | Registrierung</title> 
</head> 
<body>
<?php
$showFormular 
true;
if(isset(
$_POST['register'])) {
 
$error false;
 
$email $_POST['email'];
 
$preis $_POST['preis'];
 
 $staff $_POST['staff'];
 if(!
filter_var($email)) {
 echo 
'<p class="error"><b>Bitte einen gültigen Benutzernamen angeben</b></p><br>';
 
$error true;
 } 
 if(!
$error) { 
 
$statement $pdo->prepare("SELECT * FROM register WHERE email = :email");
 
$result $statement->execute(array('email' => $email));
 
$user $statement->fetch();
 if(
$user !== false) {
 echo 
'<p class="error"><b>Dieser Benutzername ist bereits vergeben</b></p>';
 
$error true;
 } 
 }
 if(!
$error) { 
 
$statement $pdo->prepare("INSERT INTO register (email, preis, staff) VALUES (:email, :preis, :staff)");
 
$result $statement->execute(array('email' => $email'preis' => $preis'staff' => $staff));
 if(
$result) { 
 echo 
'
 
 <br><h1>Du wurdest erfolgreich registriert. </h1><a href="login.php"><button>zum Login</button></a>'
;
 
$showFormular false;
 } else {
 
var_dump($result);
var_dump($statement);
 }
 } 
}
if(
$showFormular) {
?>
 <br><br><br><br>
 <br><br><br><br>
<form action="registrieren.php" method="post">
Benutzername:<br>
<input type="text" size="40" maxlength="250" name="email" placeholder="Wähle einen Benutzernamen..."><br><br>
Dein Passwort:<br>
<input type="text" size="40"  maxlength="250" name="passwort" placeholder="Wähle ein Passwort..."><br>
Passwort wiederholen:<br>
<input type="text" size="40" maxlength="250" name="passwort2" placeholder="weitere Infos"><br><br>
Eingeloggt bleiben?<br>
 <select class="" name="staff">
 <option value="false">Diese Option kommt bald</option>
 </select>
 <br><br>
 
 <input name="register" type="submit" value="Registrieren">
</form>
<?php
//Ende von if($showFormular)
?>
 
<br>
 <a href="login.php" class="alreadyreg">Bereits registriert? -> Anmelden</a>
 
 <style>
body {font-family: Arial, Helvetica, sans-serif; text-align: center; background-color: #E6E6E6;}
input[type=text], select, textarea {
 width: 30%;
 padding: 12px;
 border: 1px solid #ccc;
 border-radius: 4px;
 box-sizing: border-box;
 margin-top: 6px;
 margin-bottom: 16px;
 resize: vertical;
}
 
 input[type=password]{
 width: 30%;
 padding: 12px;
 border: 1px solid #ccc;
 border-radius: 4px;
 box-sizing: border-box;
 margin-top: 6px;
 margin-bottom: 16px;
 resize: vertical;
}
input[type=submit] {
   background-color: #578e8c;
 color: white;
 padding: 12px 20px;
 border: none;
 border-radius: 4px;
 cursor: pointer;
 opacity: 0.8;
}
input[type=submit]:hover {
 background-color: #578e8c;
 opacity: 1.0;
}
.container {
 border-radius: 5px;
 background-color: #f2f2f2;
 padding: 20px;
}
 
 
 
 button{
  background:#1AAB8A;
  color:#fff;
  border:none;
  position:relative;
  height:60px;
  font-size:1.6em;
  padding:0 2em;
  cursor:pointer;
  transition:800ms ease all;
  outline:none;
}
button:hover{
  background:#E6E6E6;
  color:#1AAB8A;
}
button:before,button:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: #1AAB8A;
  transition:400ms ease all;
}
button:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
button:hover:before,button:hover:after{
  width:100%;
  transition:800ms ease all;
}
 .error{
 color: red;
 
 }
 .alreadyreg{
 text-decoration: none;
 font-size: 10pt;
 color: black;}
 
 .alreadyreg:hover{
 text-decoration: none;
 font-size: 12pt;
 color: red;}
 
</style>
</body>
</html> 


Jetzt aber, oder? Wo liegt der Fehler?


Error:

Code

  1. [/url]Notice: Undefined index: preis in /var/www/.php on line 18
  2. [url=https://=10533#codeLine_2_6c506f]bool(false) object(PDOStatement)#3 (1) { ["queryString"]=> string(74) "INSERT INTO register (email, preis, staff) VALUES (:email, :preis, Confusedtaff)" }

SoBig Grinu solltest erstmal kucken wo du preis definierst ? Gar nicht. also muß da erstmal ein Preis Feld dazu ,oder du nimmst den Preiss aus den Sql abfrage raus.

Mach das erstmal dann sehen wir weiter

Drucke diesen Beitrag

  BackgroundBild fixieren nach einer Scroll höhe
Geschrieben von: admin - 19.04.2022, 00:46 - Forum: Javascript - Keine Antworten

Das erste Bild scrollt normal weg. 
Das Zweite auch bis es am oberen Rand angekommen ist und bleibt dann auch stehen.
Das 3 Bild scrollt wieder ganz normal.

Link zur Lösung
[Bild: soforthilfeforum-104.png]

Meintest du das so.  Die Lösung ist vielleicht noch nicht die beste, aber wenn das Ergebnis schon mal stimmt, kommen wir die Sache schon mal näher.

Die Bilder sind jetzt doof gewählt  und passen auch nicht von der Größe, aber soll ja nur die Funktion zeigen

EDIT : 2  ter Versuch
Link zur Lösung
[Bild: soforthilfeforum-105.png]
Wenn das Ergebnis passt ,suche ich nach einer besseren Lösung. Es gibt für sowas ja schon Scripte  http://pixelcog.github.io/parallax.js/ 
Da gibt es schon einiges an Scripte die auch gute Effekte haben und bestimmt was für euch dabei ist

Drucke diesen Beitrag

  Testen ob es Sprungmarken gibt
Geschrieben von: admin - 19.04.2022, 00:45 - Forum: Javascript - Antworten (1)

Testet  ob es eine Sprungmarke gibt oder nicht.
DEMO  

CODE;

PHP-Code:
<!DOCTYPE html>
<
html>
<
head>
 
  <title>Listen to File Update</title>
 
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<
style>
body{
 
height:1000px;
}

#as{
 
margin-top:1200px;
 
font-size:100px;
 
color:red;
}

a{
 
padding-left:20%;
}

</
style>
</
head>
<
body>
<
a href="#as">Sprung was es gibt</a>
<
a href="#aa">Sprung was es nicht gibt</a
<
div id="as">Gesprungen</div>
<
script>

$(
'a').click(function(){
 
marke=$(this).attr('href');
 
marke=marke.split('#')[1];
 if(
document.getElementById(marke)){
 
  //alert('Sprung marke exestiert')
 
}else{
 
alert('sprung marke gibt esnicht');
 }
})
</
script>
</
body>
</
head

Drucke diesen Beitrag

  Den Selectfeld (Dropdown) Inhalt in Textarea einfügen
Geschrieben von: admin - 19.04.2022, 00:44 - Forum: Javascript - Antworten (1)

Wenn man im Selectfeld was aussucht wird der Inhalt des Selects an der Stelle im Textarea kopiert wo man gerade am Schreiben ist 
DEMO 


Das ist eigentlich nee ganz Simple Lösung die jeder Anfänger so machen würde.
Es gibt zwar noch andere Möglichkeiten das Ergebnis so hinzubekommen ,aber das tut es auch und erfüllt sein Zweck.

PHP-Code:
<!DOCTYPE html>
<
html>
<
head>
 
  <title>From Select to Textarea</title>
 <
style>
body{
 
    text-align:center;
}

textarea{
 
   width:60%;
 
   height:200px;
 
   ont-size:30px;
}

h1{
 
  text-decoration:underline;
}
select{
 
   height:60px;
 
   width:30%;
 
   font-size:40px;
}
 </
style>
</
head>
<
body>
 <
h1>Aus Dropdown in Textarea Einfügen</h1>
 <
textarea id="text"></textarea><br>
 <
select id="selec">
 
      <option value=""> --- Auswahl --- </option>
 
      <option value="peter">Peter</option>
 
      <option value="heiz">Heinz</option>
 
      <option value="Jürgen">Jürgen</option>
 
      <option value="Stefan">Stefan</option>
 
      <option value="Basti">Basti</option>
 </
select>
 <
script>
document.getElementById('selec').onchange=function(){
 
    var text=document.getElementById('text').value;
 
    var select=document.getElementById('selec').value;
 
    document.getElementById('text').value=text+''+select+'';

</
script>
</
body

Mit Jquery geht das genau so einfach ,sogar einfacher
PHP-Code:
$('#selec').change(function(){
 
 $('#text').html($('#text').val()+$('#selec').val());
}) 

Drucke diesen Beitrag

  Navi Menü
Geschrieben von: admin - 18.04.2022, 22:38 - Forum: Css - Keine Antworten

Ich weiß nicht wie du es haben möchtest aber ich habe mal einfach was gemacht
Link zur Lösung
[Bild: soforthilfeforum-103.png]

Drucke diesen Beitrag

  Software gestützte Visualisierung DESITE
Geschrieben von: admin - 18.04.2022, 22:31 - Forum: Javascript - Antworten (14)

Hallo Basti1012,

ich habe soeben zwei HTML-Dateien und eine PDF auf deinen server geladen.
In der PDF habe ich versucht mein vorhaben zu erklären. Da es eine erweiterung einer bestehenden Software ist, ist es nicht so einfach ohne das Programm meine Ziele nachzuvollziehen. Ich hoffe du kanst verstehen was ich vorhabe.

4. ist am kopliziertesten, da es unmittelbar mit der bestehenden Software agiert.
diesen schritt kann ich vorrübergehend durch händige eingaben überspringen.

Noch zwei Worte zu den HTML-Dateien.
Die DbInbutForm_Alt ist die variante, in der das Funktioniert, was ich haben möchte. aber dort habe ich alles händig für jedes gewerk programmiert. ohne schleife und ohne auswahlmöglichkeit. dies ist so nicht sinnvoll und nicht zu verwenden.
Die kunst liegt nun darin die DbInbutForm_Neu mit teilen der DbInbutForm_Alt zu ergänzen.

Ich hoffe ich mute dir nicht zu viel zu.

Gruß Matthias

Drucke diesen Beitrag

  Accordion
Geschrieben von: admin - 18.04.2022, 21:12 - Forum: Javascript - Keine Antworten

Ein Accordion, wo sich jedes Feld einzeln öffnen lässt, aber alle auf einmal schließt.


CODE:

PHP-Code:
<!DOCTYPE html>
<
html>
<
head>
 
   <title>Accordeon mit Js</title>


<
style>
body {
 
 color#2c3e50;
 
 background#ecf0f1;
}
h1 {
 
 text-aligncenter;
}
.
tab {
 
 positionrelative;
 
 margin-bottom1px;
 
 width100%;
 
 color#fff;
 
 overflowhidden;
}
input {
 
 positionabsolute;
 
 opacity0;
 
 z-index: -1;
}
label {
 
 positionrelative;
 
 displayblock;
 
 height:60px;
 
 padding0.5em 0 0 1em;
 
 font-weightbold;
 
 line-height3;
 
 cursorpointer;
 
 background#2980b9;
}
.
tab-content {
 
 max-height0;
 
 overflowhidden;
 
 -webkit-transitionmax-height .35s;
 
 -o-transitionmax-height .35s;
 
 transitionmax-height .35s;
 
 background#3498db;
}
.
tab-content p {
 
 margin1em;
}

.
open{
 
 height10em;
 
 color:red;
 
 overflowhidden;
 
 background#1abc9c;
 
 -webkit-transitionmax-height .35s;
 
 -o-transitionmax-height .35s;
 
 transitionmax-height .35s;
 
 background#3498db;
}
/* Icon */
label::after {
 
 positionabsolute;
 
 right0;
 
 top10px;
 
 displayblock;
 
 width3em;
 
 height3em;
 
 line-height3;
 
 text-aligncenter;
 
 transitionall .35s;
}
#link1{
 
 content:'dd';
 
 float:right;
 
 margin-top:-15px;
 
 padding:0 10px 0px 0;
 
 color:green;
}
input[type=radio] + label::after {
 
 content"\25BC";
}

input[type=radio]:checked label::after {
 
 transformrotateX(180deg);
}


</
style>
</
head>
<
body>
<
div class="wrapper">
 
 <h1>Pure CSS Accordion</h1>

 
 
   <div class="tab blue">
 
     <input id="tab-four" type="radio" name="tabs2">
 
     <label data-wert="a1" for="tab-four">Label One<a href="google.de" id="link1">Link</a></label>
 
     <div id="a1"  class="tab-content">
 
       <p>Lorem ipsum dolor sit ametconsectetur adipisicing elitTeneturarchitectoexplicabo perferendis nostrummaxime impedit atque odit sunt pariatur illo obcaecati soluta molestias iure facere dolorum adipisci eumSaepeitaque.</p>
 
     </div>
 
   </div>
 
   <div class="tab blue">
 
     <input id="tab-five" type="radio" name="tabs2">
 
     <label data-wert="a2" for="tab-five">Label Two</label>
 
     <div  id="a2" class="tab-content">
 
       <p>Lorem ipsum dolor sit ametconsectetur adipisicing elitTeneturarchitectoexplicabo perferendis nostrummaxime impedit atque odit sunt pariatur illo obcaecati soluta molestias iure facere dolorum adipisci eumSaepeitaque.</p>
 
     </div>
 
   </div>
 
   <div class="tab blue">
 
     <input id="tab-six" type="radio" name="tabs2"
 
     <label data-wert="a3" for="tab-six">Label Three</label>
 
     <div id="a3" class="tab-content">
 
       <p>Lorem ipsum dolor sit ametconsectetur adipisicing elitTeneturarchitectoexplicabo perferendis nostrummaxime impedit atque odit sunt pariatur illo obcaecati soluta molestias iure facere dolorum adipisci eumSaepeitaque.</p>
 
     </div>
 
   </div>
 
 </div>
</
div>
<
script>

$(
'label').click(function(){

 
 g=$(this).data('wert');
 
 gg=$('#'+g+'').hasClass('tab-content');
 
 if(gg==true){
 
 $('#'+g+'').removeClass('tab-content');
 
 $('#'+g+'').addClass('open');
 
 }else{
 
   /*die beiden Zeilen aktivieren um einzelnz zu schliessen
     $('#'+g+'').removeClass('open');
     $('#'+g+'').addClass('tab-content');
    */
 
 //so schliessen immer alle felder
 
      $('#a1,#a2,#a3').removeClass('open');//einzeln schliesen
 
    $('#a1,#a2,#a3').addClass('tab-content');
 
   
  
}
 
 
})

</
script>




</
body>
</
head
Fals fragen sind immer raus damit

Drucke diesen Beitrag

  Php lief nicht
Geschrieben von: admin - 18.04.2022, 21:09 - Forum: Php - Antworten (1)

Originalcode: https://hastebin.com/hajetumixo.makefile
Eine fast ganze Seite nur als echo ausgeben ist bestimmt keine gute Idee.
Das können dir aber andere bestimmt besser sagen.
Ich würde das echo weglassen und so wie du es hattest konnte er gar keine else if erkennung machen ob deine Session vorhanden ist.
Außerdem wahr dein html etwas verdreht. <style> sollte wenn es schon im  html steht ganz oben im stehen. Besser wäre auslagern
Ich würde es dann so versuchen.

PHP-Code:
<?php
session_start
();
if(!isset(
$_SESSION['userid'])) {
 
   die('Bitte zuerst <a href="login.php">einloggen</a>');
}
if(isset(
$_SESSION['staff'])) {
?>

<html>
<head>
<title>Supportarea | PlayGalaxy</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700' rel='stylesheet' type='text/css'>
<style>
@import url(https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css);
@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);
body {
    font-family: 'Lato', sans-serif;
    background: #353535;
    color: black;
}
.jumbotron h1 {
    color: #353535;
}
footer {
  margin-bottom: 0 !important;
  margin-top: 80px;
}
footer p {
  margin: 0;
  padding: 0;
}
span.icon {
    margin: 0 5px;
    color: #D64541;
}
h2 {
    color: black;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mrng-60-top {
    margin-top: 60px;
}
/* Global Button Styles */
a.animated-button:link, a.animated-button:visited {
    position: relative;
    display: block;
    margin: 30px auto 0;
    padding: 14px 15px;
    color: #fff;
    font-size:14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    letter-spacing: .08em;
    border-radius: 0;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(0, 0, 0, 0.2);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}
a.animated-button:link:after, a.animated-button:visited:after {
    content: "";
    position: absolute;
    height: 0%;
    left: 50%;
    top: 50%;
    width: 150%;
    z-index: -1;
    -webkit-transition: all 0.75s ease 0s;
    -moz-transition: all 0.75s ease 0s;
    -o-transition: all 0.75s ease 0s;
    transition: all 0.75s ease 0s;
}
a.animated-button:link:hover, a.animated-button:visited:hover {
    color: #FFF;
    text-shadow: none;
}
a.animated-button:link:hover:after, a.animated-button:visited:hover:after {
    height: 450%;
}
a.animated-button:link, a.animated-button:visited {
    position: relative;
    display: block;
    margin: 30px auto 0;
    padding: 14px 15px;
    color: #fff;
    font-size:14px;
    border-radius: 0;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    letter-spacing: .08em;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(0, 0, 0, 0.2);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

/* Victoria Buttons */
a.animated-button.victoria-one {
    border: 2px solid #D24D57;
}
a.animated-button.victoria-one:after {
    background: #D24D57;
    -moz-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    transform: translateX(-50%) translateY(-50%) rotate(-25deg);
}
a.animated-button.victoria-two {
    border: 2px solid #D24D57;
}
a.animated-button.victoria-two:after {
    background: #D24D57;
    -moz-transform: translateX(-50%) translateY(-50%) rotate(25deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(25deg);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(25deg);
    transform: translateX(-50%) translateY(-50%) rotate(25deg);
}
a.animated-button.victoria-three {
    border: 2px solid #D24D57;
}
a.animated-button.victoria-three:after {
    background: #D24D57;
    opacity: .5;
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
a.animated-button.victoria-three:hover:after {
    height: 140%;
    opacity: 1;
}
a.animated-button.victoria-four {
    border: 2px solid #D24D57;
}
a.animated-button.victoria-four:after {
    background: #D24D57;
    opacity: .5;
    -moz-transform: translateY(-50%) translateX(-50%) rotate(90deg);
    -ms-transform: translateY(-50%) translateX(-50%) rotate(90deg);
    -webkit-transform: translateY(-50%) translateX(-50%) rotate(90deg);
    transform: translateY(-50%) translateX(-50%) rotate(90deg);
}
a.animated-button.victoria-four:hover:after {
    opacity: 1;
    height: 600% !important;
}
/* Sandy Buttons */

a.animated-button.sandy-one {
    border: 2px solid #AEA8D3;
    color: #FFF;
}
a.animated-button.sandy-one:after {
    border: 3px solid #AEA8D3;
    opacity: 0;
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    
}
a.animated-button.sandy-one:hover:after {
    height: 120% !important;
    opacity: 1;
    color: #FFF;
}
a.animated-button.sandy-two {
    border: 2px solid #AEA8D3;
    color: #FFF;
}
a.animated-button.sandy-two:after {
    border: 3px solid #AEA8D3;
    opacity: 0;
    -moz-transform: translateY(-50%) translateX(-50%) rotate(90deg);
    -ms-transform: translateY(-50%) translateX(-50%) rotate(90deg);
    -webkit-transform: translateY(-50%) translateX(-50%) rotate(90deg);
    transform: translateY(-50%) translateX(-50%) rotate(90deg);
}
a.animated-button.sandy-two:hover:after {
    height: 600% !important;
    opacity: 1;
    color: #FFF;
}
a.animated-button.sandy-three {
    border: 2px solid #AEA8D3;
    color: #FFF;
}
a.animated-button.sandy-three:after {
    border: 3px solid #AEA8D3;
    opacity: 0;
    -moz-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    transform: translateX(-50%) translateY(-50%) rotate(-25deg);
}
a.animated-button.sandy-three:hover:after {
    height: 400% !important;
    opacity: 1;
    color: #FFF;
}
a.animated-button.sandy-four {
    border: 2px solid #AEA8D3;
    color: #FFF;
}
a.animated-button.sandy-four:after {
    border: 3px solid #AEA8D3;
    opacity: 0;
    -moz-transform: translateY(-50%) translateX(-50%) rotate(25deg);
    -ms-transform: translateY(-50%) translateX(-50%) rotate(25deg);
    -webkit-transform: translateY(-50%) translateX(-50%) rotate(25deg);
    transform: translateY(-50%) translateX(-50%) rotate(25deg);
}
a.animated-button.sandy-four:hover:after {
    height: 400% !important;
    opacity: 1;
    color: #FFF;
}
/* Gibson Buttons */

a.animated-button.gibson-one {
    border: 2px solid #65b37a;
    color: #FFF;
}
a.animated-button.gibson-one:after {
    opacity: 0;
    background-image: -webkit-linear-gradient( transparent 50%, rgba(101,179,122,0.2) 50%);
    background-image: -moz-linear-gradient(transparent 50%, rgba(101,179,122,0.2) 50%);
    background-size: 10px 10px;
    -moz-transform: translateX(-50%) translateY(-50%) rotate(25deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(25deg);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(25deg);
    transform: translateX(-50%) translateY(-50%) rotate(25deg);
}
a.animated-button.gibson-one:hover:after {
    height: 600% !important;
    opacity: 1;
    color: #FFF;
}
a.animated-button.gibson-two {
    border: 2px solid #65b37a;
    color: #FFF;
}
a.animated-button.gibson-two:after {
    opacity: 0;
    background-image: -webkit-linear-gradient( transparent 50%, rgba(101,179,122,0.2) 50%);
    background-image: -moz-linear-gradient(transparent 50%, rgba(101,179,122,0.2) 50%);
    background-size: 10px 10px;
    -moz-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    transform: translateX(-50%) translateY(-50%) rotate(-25deg);
}
a.animated-button.gibson-two:hover:after {
    height: 600% !important;
    opacity: 1;
    color: #FFF;
}
a.animated-button.gibson-three {
    border: 2px solid #65b37a;
    color: #FFF;
}
a.animated-button.gibson-three:after {
    opacity: 0;
    background-image: -webkit-linear-gradient( transparent 50%, rgba(101,179,122,0.2) 50%);
    background-image: -moz-linear-gradient(transparent 50%, rgba(101,179,122,0.2) 50%);
    background-size: 10px 10px;
    -moz-transform: translateX(-50%) translateY(-50%) rotate(90deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(90deg);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(90deg);
    transform: translateX(-50%) translateY(-50%) rotate(90deg);
}
a.animated-button.gibson-three:hover:after {
    height: 600% !important;
    opacity: 1;
    color: #FFF;
}
a.animated-button.gibson-four {
    border: 2px solid #65b37a;
    color: #FFF;
}
a.animated-button.gibson-four:after {
    opacity: 0;
    background-image: -webkit-linear-gradient( transparent 50%, rgba(101,179,122,0.2) 50%);
    background-image: -moz-linear-gradient(transparent 50%, rgba(101,179,122,0.2) 50%);
    background-size: 10px 10px;
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%));
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
a.animated-button.gibson-four:hover:after {
    height: 600% !important;
    opacity: 1;
    color: #FFF;
}
/* Thar Buttons */

a.animated-button.thar-one {
    color: #fff;
    cursor: pointer;
    display: block;
    position: relative;
    border: 2px solid #F7CA18;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
a.animated-button.thar-one:hover {
    color: #000 !important;
    background-color: transparent;
    text-shadow: none;
}
a.animated-button.thar-one:hover:before {
    bottom: 0%;
    top: auto;
    height: 100%;
}
a.animated-button.thar-one:before {
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    height: 0px;
    width: 100%;
    z-index: -1;
    content: '';
    color: #000 !important;
    background: #F7CA18;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
a.animated-button.thar-two {
    color: #fff;
    cursor: pointer;
    display: block;
    position: relative;
    border: 2px solid #F7CA18;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
a.animated-button.thar-two:hover {
    color: #000 !important;
    background-color: transparent;
    text-shadow: ntwo;
}
a.animated-button.thar-two:hover:before {
    top: 0%;
    bottom: auto;
    height: 100%;
}
a.animated-button.thar-two:before {
    display: block;
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 0px;
    width: 100%;
    z-index: -1;
    content: '';
    color: #000 !important;
    background: #F7CA18;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
a.animated-button.thar-three {
    color: #fff;
    cursor: pointer;
    display: block;
    position: relative;
    border: 2px solid #F7CA18;
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
0s;
}
a.animated-button.thar-three:hover {
    color: #000 !important;
    background-color: transparent;
    text-shadow: nthree;
}
a.animated-button.thar-three:hover:before {
    left: 0%;
    right: auto;
    width: 100%;
}
a.animated-button.thar-three:before {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 0px;
    z-index: -1;
    content: '';
    color: #000 !important;
    background: #F7CA18;
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
0s;
}
a.animated-button.thar-four {
    color: #fff;
    cursor: pointer;
    display: block;
    position: relative;
    border: 2px solid #F7CA18;
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
0s;
}
a.animated-button.thar-four:hover {
    color: #000 !important;
    background-color: transparent;
    text-shadow: nfour;
}
a.animated-button.thar-four:hover:before {
    right: 0%;
    left: auto;
    width: 100%;
}
a.animated-button.thar-four:before {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 0px;
    z-index: -1;
    content: '';
    color: #000 !important;
    background: #F7CA18;
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
0s;
}
    
    table, th, td {
    border: 0px solid black;
    border-collapse: collapse;
        text-align: center;
}
th, td {
    padding: 5px;
    text-align: center;  
}
    
body{
  margin:0;
  padding:0;
    text-decoration: none;
    text-align: center;
            background-image: url(background.png)
}
    
.Achtung{
        color: darkred;
        font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
}
    
.stafftheme{
        
    background-color: white;
}
</style>
</head>
<body>
    <br>
    <img class="img animated bounceinleft" src="img/Logo.png">
 <div class="container"> 
  <!-- Example row of columns -->
<div class="row">
    <div class="col-md-12 text-center">
     <br><br>
    </div>
  </div>
<div class="row animated bounceinleft">
    <div class="col-md-3 col-sm-3 col-xs-6"> <a href="staff-allgemein.php" class="btn btn-sm animated-button victoria-one">Allgemeines</a> </div>
    <div class="col-md-3 col-sm-3 col-xs-6"> <a href="staff-tb.php" class="btn btn-sm animated-button victoria-two">Teambesprechungen</a> </div>
    <div class="col-md-3 col-sm-3 col-xs-6"> <a href="staff-support.php" class="btn btn-sm animated-button victoria-three">Supportarea</a> </div>
    <div class="col-md-3 col-sm-3 col-xs-6"> <a href="ez/login.php" class="btn btn-sm animated-button victoria-four">Mod/Admin Area</a> </div>
 </div>
</div><br><br><div class="animated bounceinup">
<h2>SUPPORTAREA</h2>
<table style="width:100%">
<tr>
<th><h1>Ban eintragen</h1>
<p>Klicke <a href="https://discord.gg/xdHjdFR">hier</a> um Deinen Ban einzutragen.</p> <br><br>
<td><h1>Reports einsehen</h1>
<p>Klicke <a href="https://discord.gg/32qw6Qc">hier</a> um alle Reports und Details zu sehen.</p> </td>
</tr>
</table>
<table style="width:100%">
 <tr>
<th><h1>Registrierte User</h1>
<p>Klicke <a href="https://discord.gg/xdHjdFR">hier</a> um alle registrierten User zu sehen.</p> <br><br>
<td><h1>Supportbereich wechseln</h1>
<p>Klicke <a href="https://discord.gg/32qw6Qc">hier</a> um eine Anfrage zu stellen.</p> </td>
</tr>
</table>  </div>
</body>
 </html>
<?php
echo '<a href="logout.php">Log dich aus</a>';
}else{
echo 
"<h2>Error</h2>Du hast keinen Admin Status <a href='geheim.php'>Zum Passwort gesicherten Bereich zurück</a>";
}
?>

Fals einer das anders Lösen würde dann immer raus damit

Drucke diesen Beitrag

  Wie entferne ich einen Schlüssel aus einem Hash?
Geschrieben von: admin - 18.04.2022, 18:48 - Forum: Ruby - Antworten (1)

Wie entferne ich einen Schlüssel aus einem Hash?

Drucke diesen Beitrag

  So füllen Sie den Fußzeilenbildschirm aus
Geschrieben von: admin - 18.04.2022, 18:41 - Forum: Bootstrap probleme - Antworten (3)

Gibt es eine Möglichkeit, den Fußzeilenbildschirm auf großen Geräten zu füllen? Ich habe es bei margin auto eingerichtet; Es sieht auf Smartphones gut aus, aber wenn es um große Bildschirme geht, füllt es nicht aus. irgendein Rat?

Vielen Dank im Voraus.

Drucke diesen Beitrag