
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" > <html> <head> <meta http-equiv= "Content-Type" content= "text/html; charset=iso-8859-1" > <title>Unbenanntes Dokument</title> <script language= "JavaScript" type= "text/JavaScript" > <!-- function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval (targ+ ".location='" +selObj.options[selObj.selectedIndex].value+ "'" ); if (restore) selObj.selectedIndex=0; } //--> </script> <style type= "text/css" > <!-- .Stil1 { font-size: 18px; font-weight: bold; color: #FF0000; } --> </style> </head> <body> <?php if ( $bearbeiten == "ja" ) { include ( "connect_sql.php" ); $eintrag = "INSERT INTO saufspiele (name, kurze_beschreibung, anleitung, funfactor, schwierigkeit, dichtungsfactor, alkohol, spieler, benoetigt) VALUES ( '$name' , '$kurze_beschreibung' , '$anleitung' , '$funfactor' , '$schwierigkeit' , '$dichtungsfactor' , '$spieler' , '$benoetigt' )"; $eintragen = mysql_query( $eintrag ); echo "<div align=center><span class =Stil>Eintrag erfolgreich!!!</span> </div>"; echo $name ; echo $kurze_beschreibung ; } ?> <form name= "form1" method= "get" action= "add_saufspiele.php" > <div align= "center" > <table width= "90%" border= "0" style= "border: 1px dashed black; width: 155px; height: 23px;" > <tr> <th scope= "col" >Spielname</th> <th scope= "col" ><input name= "name" type= "text" id= "name" ></th> </tr> <tr> <td><div align= "center" ><strong>kurze Spielbeschreibung</strong></div></td> <td><div align= "center" > <input name= "kurze_beschreibung" type= "text" id= "kurze_beschreibung" > </div></td> </tr> <tr> <td><div align= "center" ><strong>Anleitung</strong></div></td> <td><div align= "center" > <textarea name= "anleitung" id= "anleitung" ></textarea> </div></td> </tr> <tr> <td><div align= "center" ><strong>Fun-Factor </strong></div></td> <td><div align= "center" > <select name= "funfactor" id= "funfactor" > <option value= "1" >1...schlecht</option> <option value= "2" >2</option> <option value= "3" >3</option> <option value= "4" >4</option> <option value= "5" >5...gut</option> </select> </div></td> </tr> <tr> <td><div align= "center" ><strong>Schwierigkeit</strong></div></td> <td><div align= "center" > <select name= "schwierigkeit" id= "schwierigkeit" > <option value= "1" >1...schlecht</option> <option value= "2" >2</option> <option value= "3" >3</option> <option value= "4" >4</option> <option value= "5" >5...gut</option> </select> </div></td> </tr> <tr> <td><div align= "center" ><strong>Dichtungs-Factor</strong></div></td> <td><div align= "center" > <select name= "dichtungsfactor" id= "dichtungsfactor" > <option value= "1" >1...schlecht</option> <option value= "2" >2</option> <option value= "3" >3</option> <option value= "4" >4</option> <option value= "5" >5...gut</option> </select> </div></td> </tr> <tr> <td><div align= "center" ><strong>benötigt werden .. </strong></div></td> <td><div align= "center" > <input name= "alkohol" type= "text" id= "alkohol" > </div></td> </tr> <tr> <td><div align= "center" ><strong>Spieleranzahl</strong></div></td> <td><div align= "center" > <input name= "spieler" type= "text" id= "spieler" > </div></td> </tr> <tr> <td><div align= "center" ><strong>bevorzugter Alkohol zum Spielen </strong></div></td> <td><div align= "center" > <input name= "benoetigt" type= "text" id= "benoetigt" > </div></td> </tr> <tr> <td colspan= "2" ><div align= "center" > <input name= "bearbeiten" type= "hidden" id= "bearbeiten" value= "ja" > <input name= "show" type= "hidden" id= "show" value= "ja" > <input type= "submit" name= "Submit" value= "Go!!!" > </div></td> </tr> </table> </div> </form> </body> </html> |