Hallo,
ich habe mich mal an jquery ein wenig versucht und es mit serialize versucht. Jedoch erhalte ich so dass gleiche Ergebnis wie mit der normalen post variante. Da leider mein Englisch nicht dass beste ist komm ich mit delegate noch nicht ganz klar. Muss mir dass mal übers Wochenende genauer anschauen damit ichs verstehe.
Um nochmal zu meinem Problem zu kommen. Sobald ich bei Zf (-35) und Ø (200) eintrage wird unten rechts der Bereich von Getriebestufe bis zum grünen Haken aktualisiert. Wenn ich nun dass Formular absende bekomme ich leider die Werte nicht mehr mit übermittelt. Sende ich es am Anfang ab ist alles enthalten.
Hier mal die Seite um die es geht: http://s503489862.online.de/arbeit/projekt…=0&planlangst=0
Die Lesbarkeit des codes ist wahrscheinlich für keinen gegeben. Ich habe da ein großes Durcheinander. Aber vll blickt da doch jemand durch und findet mein Problem.
<?php include '00_session.php';include '00_array.php';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
<head>
<title>Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="maincss.css" rel="stylesheet" type="text/css" />
<link href="menucss1.css" rel="stylesheet" type="text/css" />
<link href="projektcss.css" rel="stylesheet" type="text/css" />
<script src="jquery/jquery-2.1.3.min.js"></script>
<script type="text/javascript">
// Globale Variablen
var a = 0;
var inaus = 1; //variable ob innen oder aussen bearbeitung
// Arrays
pic = new Array();
pic[0] = new Image(); pic[0].src = "bilder/sonstiges/aussen.jpg";
pic[1] = new Image(); pic[1].src = "bilder/sonstiges/innen.jpg";
pic1 = new Array();
pic1[0] = 0; //aussen
pic1[1] = 1; //innen
pic2 = new Array();
pic2[0] = 2; //aussen
pic2[1] = 3; //innen
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
window.onload = function()
{
// if(typeof jQuery == "function")
// alert("jQuery geladen");
// else
// alert("jQuery nicht geladen");
document.getElementById('xi').value = '<?php echo $_SESSION['Projektname'][$_GET['id']]['durchmesser'];?>';
document.getElementById('zi').value = '<?php echo $_SESSION['Projektname'][$_GET['id']]['aufmas']+1;?>';
document.getElementById('xf').value = '<?php echo $_SESSION['Projektname'][$_GET['id']]['durchmesser'];?>';
//------------------------------------------------------------------------------
//Arbeitsbereich
var canvas = document.getElementById('myCanvas');
var context = canvas.getContext('2d');
var width = canvas.width;
var height = canvas.height;
context.fillStyle = "#0099CC";
context.fillRect(0, 0,width,height);
//Rohteil
var rotedu = <?php echo $_SESSION['Projektname'][$_GET['id']]['durchmesser']; ?>;
var roteho = <?php echo $_SESSION['Projektname'][$_GET['id']]['hohe']; ?>;
var rotehm = roteho-roteho-roteho;
var rotewr = width - 20;
var rotehe = height / 2 - rotedu / 2;
context.fillStyle = "#999999";
context.fillRect(rotewr,rotehe,rotehm,rotedu);
//Innenbohrung
var inboy = canvas.height / 2;
var inbod = <?php echo $_SESSION['Projektname'][$_GET['id']]['innendurchmesser']; ?>;
var inbodh = inbod /2;
var inbow = inboy - inbodh;
var inboh = canvas.width;
var inboa = width - 20 - roteho;
context.fillStyle = "#0099CC";
context.fillRect(inboa, inbow,roteho,inbod);
//Backen
context.strokeStyle = "red";
context.fillStyle = "blue";
context.beginPath();
var g = canvas.width -20 - <?php echo $_SESSION['Projektname'][$_GET['id']]['spannenz'];?>;
var h = canvas.height / 2 - <?php echo $_SESSION['Projektname'][$_GET['id']]['spannenx'];?> / 2;
context.moveTo(+ g, +h); // Feder zum Startpunkt
var backen = <?php echo json_encode( $data5 ) ?>;
var a = 0; var b = backen[1][10].length / 2; var c = 0; var d = 1;
var abstandb = parseFloat( backen[1][8] );
while(a<b){
var e = parseFloat( backen[1][10][c] ) + g;
var f = parseFloat( backen[1][10][d] ) + h;
context.lineTo( + e , + f );
a++;c++; c++; d++; d++;
}
context.fill();
context.stroke();
context.strokeStyle = "red";
context.fillStyle = "blue";
context.beginPath();
var g = canvas.width -20 - <?php echo $_SESSION['Projektname'][$_GET['id']]['spannenz'];?>;
var i = canvas.height / 2 + <?php echo $_SESSION['Projektname'][$_GET['id']]['spannenx'];?> / 2;
context.moveTo(+ g, +i); // Feder zum Startpunkt
var backen = <?php echo json_encode( $data5 ) ?>;
var a = 0; var b = backen[1][10].length / 2; var c = 0; var d = 1;
var abstandb = parseFloat( backen[1][8] );
while(a<b){
var e = parseFloat( backen[1][10][c] ) + g;
var f = parseFloat( backen[1][10][d] );
var j = f - f - f + i;
context.lineTo( + e , + j );
a++;c++; c++; d++; d++;
}
context.fill();
context.stroke();
//Futter
var futter = <?php echo json_encode( $data6 ) ?>;
context.strokeStyle = "green";
context.fillStyle = "darkgreen";
context.beginPath();
var g = canvas.width -20 - <?php echo $_SESSION['Projektname'][$_GET['id']]['spannenz'];?> - abstandb;
var h = canvas.height / 2;
var i = canvas.height / 2 + parseFloat( futter[1][4][1] );
context.moveTo(+ g, +i); // Feder zum Startpunkt
var a = 0; var b = futter[1][4].length / 2; var c = 0; var d = 1;
while(a<b){
var e = parseFloat( futter[1][4][c] ) + g;
var f = parseFloat( futter[1][4][d] ) + h;
context.lineTo( + e , + f );
a++;c++; c++; d++; d++;
}
context.fill();
context.stroke();
context.strokeStyle = "green";
context.fillStyle = "darkgreen";
context.beginPath();
var g = canvas.width -20 - <?php echo $_SESSION['Projektname'][$_GET['id']]['spannenz'];?> - abstandb;
var h = canvas.height / 2;
var i = canvas.height / 2 - parseFloat( futter[1][4][1] );
context.moveTo(+ g, +i); // Feder zum Startpunkt
var a = 0; var b = futter[1][4].length / 2; var c = 0; var d = 1;
while(a<b){
var e = parseFloat( futter[1][4][c] ) + g;
var f = parseFloat( futter[1][4][d] );
var j = f - f - f + h;
context.lineTo( + e , + j );
a++;c++; c++; d++; d++;
}
context.fill();
context.stroke();
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function langstschruppen(){
var ttzf = document.getElementById('zf').value;
var ttd = document.getElementById('d').value;
var canvas = document.getElementById('myCanvas');
var context = canvas.getContext('2d');
var width = canvas.width;
var height = canvas.height;
context.fillStyle = "#0099CC";
context.fillRect(0, 0,width,height);
//Rohteil
var rotedu = <?php echo $_SESSION['Projektname'][$_GET['id']]['durchmesser']; ?>;
var roteho = <?php echo $_SESSION['Projektname'][$_GET['id']]['hohe']; ?>;
var rotehm = roteho-roteho-roteho;
var rotewr = width - 20;
var rotehe = height / 2 - rotedu / 2;
context.fillStyle = "#999999";
context.fillRect(rotewr,rotehe,rotehm,rotedu);
//Innenbohrung
var inboy = canvas.height / 2;
var inbod = <?php echo $_SESSION['Projektname'][$_GET['id']]['innendurchmesser']; ?>;
var inbodh = inbod /2;
var inbow = inboy - inbodh;
var inboh = canvas.width;
var inboa = width - 20 - roteho;
context.fillStyle = "#0099CC";
context.fillRect(inboa, inbow,roteho,inbod);
//Bearbeitung
if(ttzf != "" && ttd != ""){
var canvas = document.getElementById('myCanvas');
var context = canvas.getContext('2d');
var width = canvas.width;
var height = canvas.height;
var lsh2 = <?php echo $_SESSION['Projektname'][$_GET['id']]['aufmas'];?>;
var lsh3 = document.getElementById('zf').value;
var lsh4 = document.getElementById('xi').value;
var lsh5 = document.getElementById('zi').value;
var lsh6 = document.getElementById('sx').value;
var lsh7 = document.getElementById('sz').value;
var ls1 = width-20+parseFloat(lsh5)+parseFloat(lsh7);
var ls2 = height/2+ttd/2+parseFloat(lsh6);
var ls3 = lsh3-lsh2-1-parseFloat(lsh5)-parseFloat(lsh7);
var ls4 = (lsh4-ttd)/2+parseFloat(lsh6);
var ls5 = height/2-lsh4/2-parseFloat(lsh6);
var ls6 = (lsh4-ttd)/2-parseFloat(lsh6);
context.fillStyle = "red";
context.fillRect(ls1,ls2,ls3,ls4);
context.fillStyle = "red";
context.fillRect(ls1,ls5,ls3,ls6);
}
//Backen
context.strokeStyle = "red";
context.fillStyle = "blue";
context.beginPath();
var g = canvas.width -20 - <?php echo $_SESSION['Projektname'][$_GET['id']]['spannenz'];?>;
var h = canvas.height / 2 - <?php echo $_SESSION['Projektname'][$_GET['id']]['spannenx'];?> / 2;
context.moveTo(+ g, +h); // Feder zum Startpunkt
var backen = <?php echo json_encode( $data5 ) ?>;
var a = 0; var b = backen[1][10].length / 2; var c = 0; var d = 1;
var abstandb = parseFloat( backen[1][8] );
while(a<b){
var e = parseFloat( backen[1][10][c] ) + g;
var f = parseFloat( backen[1][10][d] ) + h;
context.lineTo( + e , + f );
a++;c++; c++; d++; d++;
}
context.fill();
context.stroke();
context.strokeStyle = "red";
context.fillStyle = "blue";
context.beginPath();
var g = canvas.width -20 - <?php echo $_SESSION['Projektname'][$_GET['id']]['spannenz'];?>;
var i = canvas.height / 2 + <?php echo $_SESSION['Projektname'][$_GET['id']]['spannenx'];?> / 2;
context.moveTo(+ g, +i); // Feder zum Startpunkt
var backen = <?php echo json_encode( $data5 ) ?>;
var a = 0; var b = backen[1][10].length / 2; var c = 0; var d = 1;
var abstandb = parseFloat( backen[1][8] );
while(a<b){
var e = parseFloat( backen[1][10][c] ) + g;
var f = parseFloat( backen[1][10][d] );
var j = f - f - f + i;
context.lineTo( + e , + j );
a++;c++; c++; d++; d++;
}
context.fill();
context.stroke();
//Futter
var futter = <?php echo json_encode( $data6 ) ?>;
context.strokeStyle = "green";
context.fillStyle = "darkgreen";
context.beginPath();
var g = canvas.width -20 - <?php echo $_SESSION['Projektname'][$_GET['id']]['spannenz'];?> - abstandb;
var h = canvas.height / 2;
var i = canvas.height / 2 + parseFloat( futter[1][4][1] );
context.moveTo(+ g, +i); // Feder zum Startpunkt
var a = 0; var b = futter[1][4].length / 2; var c = 0; var d = 1;
while(a<b){
var e = parseFloat( futter[1][4][c] ) + g;
var f = parseFloat( futter[1][4][d] ) + h;
context.lineTo( + e , + f );
a++;c++; c++; d++; d++;
}
context.fill();
context.stroke();
context.strokeStyle = "green";
context.fillStyle = "darkgreen";
context.beginPath();
var g = canvas.width -20 - <?php echo $_SESSION['Projektname'][$_GET['id']]['spannenz'];?> - abstandb;
var h = canvas.height / 2;
var i = canvas.height / 2 - parseFloat( futter[1][4][1] );
context.moveTo(+ g, +i); // Feder zum Startpunkt
var a = 0; var b = futter[1][4].length / 2; var c = 0; var d = 1;
while(a<b){
var e = parseFloat( futter[1][4][c] ) + g;
var f = parseFloat( futter[1][4][d] );
var j = f - f - f + h;
context.lineTo( + e , + j );
a++;c++; c++; d++; d++;
}
context.fill();
context.stroke();
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function weiter1(id)
{
document.getElementById( id ).value = 1;
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function weiter2()
{
document.getElementById( 'wzslt' ).value = 2;
document.getElementById( 'wzsrtt' ).value = 2;
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function rpm (par) {
if( document.getElementById('maxdreha').value == 0){
if( par == 1 ){document.getElementById('maxdrehzahl').value = 450;}
if( par == 2 ){document.getElementById('maxdrehzahl').value = 1500;}
}
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function oeffneFenster () {
window.open("projekt_popup_erstellen.php", "popup", "width=800,height=550");
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function bild() {
if(document.getElementById('hilfe').style.width == "714px"){
document.getElementById('hilfe').style.width = '300px';
}else{
document.getElementById('hilfe').style.width = '714px';
}
}
function bild1() {
if(document.getElementById('hilfe').style.width == "300px"){
document.getElementById('hilfe').style.width = '50px';
}else{
document.getElementById('hilfe').style.width = '300px';
}
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function weiter()
{
++a;if (a>1) a=0;
document.getElementById('bearbeitung').src = pic[a].src;
document.getElementById('bearbeitung1').value = pic1[a];
document.getElementById('bearb').value = pic1[a];
inaus = pic1[a];
if (document.getElementById('bearbeitung1').value == 1)
{
if (document.getElementById('axi').value == 0) {document.getElementById('xi').value = '<?php echo $_SESSION['Projektname'][$_GET['id']]['innendurchmesser'];?>';}
if (document.getElementById('azi').value == 0) {document.getElementById('zi').value = '<?php echo $_SESSION['Projektname'][$_GET['id']]['aufmas']+1;?>';}
if (document.getElementById('axf').value == 0) {document.getElementById('xf').value = '<?php echo $_SESSION['Projektname'][$_GET['id']]['innendurchmesser'];?>';}
} else {
if (document.getElementById('axi').value == 0) {document.getElementById('xi').value = '<?php echo $_SESSION['Projektname'][$_GET['id']]['durchmesser'];?>';}
if (document.getElementById('azi').value == 0) {document.getElementById('zi').value = '<?php echo $_SESSION['Projektname'][$_GET['id']]['aufmas']+1;?>';}
if (document.getElementById('axf').value == 0) {document.getElementById('xf').value = '<?php echo $_SESSION['Projektname'][$_GET['id']]['durchmesser'];?>';}
}
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$(document).ready(function(){
$(fenster3).delegate(Tanzmaus1, "click",function(){
$("p").css("background-color", "pink");
});
});
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$(document).ready(function(){
$(Tanzmaus).click(function(){
$(testdiv).text($("form").serialize());
});
});
</script>
</head>
<body>
<div class="wrapper">
<?php
if ( isset ( $_SESSION['name'] ) ){
echo "<div class='header'>";
include 'index_header.php';
echo "</div>";
echo "<div class='projekt1'>";
echo "<div class='projektleft'>";
echo "<div class='projektleft2'>";
echo "<a href='projekt_index1.php' ><h8>" . $_SESSION['Projektname'][0] . "</h8></a>";
echo "</div>";
echo "<div class='projektleft1'>";
include 'projekt_left.php';
echo "</div>";
echo "<div class='projektleft2'>";
echo" <input id='projekterstellen' type='button' value='erstellen' onclick='oeffneFenster();'/>";
echo "</div>";
echo "</div>";
echo "<div id='fenster' class='projektright'>";
echo "<div id='fenster' class='projekt_frei_menu'>";
include 'projekt_erstellen_frei_menu.php';
echo "</div>";
echo "<div id='fenster' class='projekt_frei_bearbeitung'>";
echo "<div id='fenster' class='projekt_frei_bearbeitung1'>";
echo "<div id='fenster' class='projekt_frei_bearbeitung4'>";
include 'projekt_erstellen_grafik.php';
echo "</div>";
echo "<div id='fenster' class='projekt_frei_bearbeitung3'>";
echo "<img id='hilfe' src='bilder/hilfe/01_1.jpg' onclick=bild(); ondblclick=bild1();>";
echo "</div>";
echo "</div>";
echo "<form id='sepplo' name='Testform' method='post' action='projekt_erstellen_frei_langstdrehen_submit.php'>";
echo "<div id='fenster' class='projekt_frei_bearbeitung2'>";?>
<img src='bilder/sonstiges/aussen.jpg' onclick ="weiter(); werkzeuge2('srt');" id='bearbeitung'; alt='innen' >
<?php echo "
<input class='geandert' id='maxdreha' value='0' size='1' maxlength='1';'>
<input class='geandert' id='wzsrf' value='0' size='1' maxlength='1';'>
<input class='geandert' id='wzsrs' value='0' size='1' maxlength='1';'>
<input class='geandert' id='wzsrt' value='0' size='1' maxlength='1';'>
<input class='geandert' id='wzsrtt' value='0' size='1' maxlength='1';'>
<input class='geandert' id='wzsrttt' value='0' size='1' maxlength='1';'>
<input class='geandert' id='wzslf' value='0' size='1' maxlength='1';'>
<input class='geandert' id='wzsls' value='0' size='1' maxlength='1';'>
<input class='geandert' id='wzslt' value='0' size='1' maxlength='1';'>
<input class='geandert' id='zus' value='0' size='1' maxlength='1';'>
<input class='geandert' id='auf' value='0' size='1' maxlength='1';'>
<input class='geandert' name='bearb' id='bearb' value='0' size='1' maxlength='1';'>
<input id='bearbeitung1' value='0' >
</br></br>
<h16>Koordinaten ( Xi , Zi)</h16> </br></br>
Xi
<input class='geandert' name='axi' id='axi' value='0' size='1' maxlength='1';'>
<input id='xi' value='' size='10' maxlength='8' onchange=weiter1('axi');>
Zi
<input class='geandert' name='azi' id='azi' value='0' size='1' maxlength='1';'>
<input id='zi' value='' size='10' maxlength='8' onchange=weiter1('azi');>
</br></br></br>
<h16>Koordinaten ( Xf , Zf)</h16> </br></br>
Xf
<input class='geandert' name='axf' id='axf' value='0' size='1' maxlength='1';'>
<input id='xf' value='' size='10'maxlength='8' onchange= weiter1('axf'); >
Zf
<input class='geandert' name='azf' id='azf' value='0' size='1' maxlength='1';'>";?>
<input id='zf' value='' size='10'maxlength='8' onchange="weiter1('azf'); werkzeuge2('srt');langstschruppen();">
<?php
echo "</br></br></br>
<h16>Durchmesser </h16></br></br>
Ø
<input class='geandert' name='ad' id='ad' value='0' size='1' maxlength='1';'>
<input id='d' value='' size='10'maxlength='8'";?>
onchange = weiter1('ad');langstschruppen();>
<?php
echo "
</br></br></br>
<h16>Sicherheitsabstand</h16> </br></br>
X
<input class='geandert' name='asx' id='asx' value='0' size='1' maxlength='1';'>
<input id='sx' value='0' size='10'maxlength='8' onchange=weiter1('asx');>
Z
<input class='geandert' name='asz' id='asz' value='0' size='1' maxlength='1';'>
<input id='sz' value='0' size='10'maxlength='8' onchange=weiter1('asz');>";
echo "</div>";
echo "</div>";
echo "<div id='fenster3' class='projekt_frei_werkzeug'>";
include 'projekt_erstellen_werkzeug.php';
echo "</div>";
echo "</div>";
echo "<div id='submit'>";
// echo "<input type='image' src='bilder/sonstiges/ghaken.png' id='submitbutton'>";
echo "<img src='bilder/sonstiges/ghaken.png' id='Tanzmaus'></br>";
echo "<img src='bilder/sonstiges/innen.jpg' id='Tanzmaus1'>";
echo "</div>";
echo "</form>";
echo "</div>";
echo "<div id='testdiv'></div>";
}
// else {header("refresh:0;index.php");}
echo "<div class='footer'>";
include 'index_footer.php';
echo "</div>"; ?>
</div>
</body>
</html>
Alles anzeigen
<?php
include '00_session.php';
include '00_mysql.php';
include '00_array.php';
echo "<div id='fenster' class='projekt_frei_werkzeug1'>";
echo "Getriebestufe:</br>";
echo "<input type='radio' onclick=rpm('1') name='getriebestufe' value='1' checked><label for='mc'> 1 </label> ";
echo "<input type='radio' onclick=rpm('2') name='getriebestufe' value='2'><label for='mc'> 2 </label><br>";
echo "VC:</br>";
echo "<input type='radio' name='VC' value='1' checked><label for='mc'> CSS </label> ";
echo "<input type='radio' name='VC' value='2'><label for='mc'> RPM </label><br><br>";
// echo "Kühlmittel:</br>";
// echo "<input type='radio' name='kuhlmittel' value='1' checked><label for='mc'> an </label> ";
// echo "<input type='radio' name='kuhlmittel' value='2'><label for='mc'> aus </label><br>";
echo "Max. Drehzahl:</br>";
echo "<input type='text' class='input_werkzeug' id='maxdrehzahl' onchange=weiter1('maxdreha') name='maxdrehzahl' size='4' value='450'>";
echo "</div>";
echo "<div id='fenster' class='projekt_frei_werkzeug3'>";
include '00_mysql.php';
include '00_array.php';
if ( isset ( $_SESSION['benutzer'] ) ){ $benutzer = $_SESSION['benutzer'];} else { $benutzer = 0;}
if ( isset ( $_GET['lang'] ) ){if ( $_GET['lang'] < 90){$lang = 0;}if ( $_GET['lang'] >= 90 && $_GET['lang'] <= 140){$lang = 1;}if ($_GET['lang'] > 140 ){$lang = 2;}} else { $lang = 0;}
if ( isset ( $_GET['bea'] ) ){ $bea = $_GET['bea'];} else { $bea = 1; echo "<h1> fehler bea </h1>";}
if ( isset ( $_GET['planlangst'] ) ){ $planlangst = $_GET['planlangst'];} else { $planlangst = 0;}
if(@$_GET['wzsrl'] == 1 && @$_GET['wzsrp'] == 2){
if ($_GET['srt']==0){$srt = $data9[$benutzer][$_SESSION['Projektname'][$_GET['id']]['material']][$bea][$planlangst][$lang][11];}else{$srt = $_GET['tp'];}
}else{
if(@$_GET['wzsrp'] == 2 && @$_GET['srt'] == 0){$srt = 0;}else{if (@$_GET['srt']==0){$srt = $data9[$benutzer][$_SESSION['Projektname'][$_GET['id']]['material']][$bea][$planlangst][$lang][11];}else{$srt = $_GET['tp'];}}
}
if (@$_GET['srs']==0){$srs = $data9[$benutzer][$_SESSION['Projektname'][$_GET['id']]['material']][$bea][$planlangst][$lang][8];}else{$srs = $_GET['sp'];}
if (@$_GET['srf']==0){$srf = $data9[$benutzer][$_SESSION['Projektname'][$_GET['id']]['material']][$bea][$planlangst][$lang][7];}else{$srf = $_GET['fp'];}
?>
<div id='fenster1' class='projekt_frei_werkzeug4'>
<div id='fenster' class='projekt_frei_werkzeug8'>
<h15> F: </h15>
<input type='text' class='input_werkzeug' id='srf' value='<?php echo $srf;?>' name='schruppf' size='4' onchange="weiter1('wzsrf'); werkzeuge2('srf'); "></br></br>
</div>
<div id='fenster' class='projekt_frei_werkzeug8'>
<h15> S: </h15>
<input type='text' class='input_werkzeug' id='srs' value='<?php echo $srs;?>' name='schrupps' size='4' onchange="weiter1('wzsrs'); werkzeuge2('srs'); "></br></br>
</div>
<div id='fenster' class='projekt_frei_werkzeug8'>
<h15> T: </h15>
<input type='text' class='input_werkzeug' id='srt' value='<?php echo $srt;?>' name='schruppt' size='3'
<?php
if(@$_GET['wzsrp']==2 && @$_GET['wzsrl']==0){;?>
onclick="weiter1('wzsrttt'); werkzeuge2('srt');"
<?php
}
?>
onchange="weiter1('wzsrt'); werkzeuge2('srt'); "></br></br>
</div>
<div id='fenster' class='projekt_frei_werkzeug8'>
<h15> SR: </h15>
<input type='text' class='input_werkzeug' id='srsr' value='<?php echo number_format($data1[$srt][3], 1, '.', '');?>' name='schruppsr' size='3' disabled></br></br>
</div>
</div>
<?php
if ( isset ( $_SESSION['benutzer'] ) ){ $benutzer = $_SESSION['benutzer'];} else { $benutzer = 0;}
if ( isset ( $_GET['lang'] ) ){if ( $_GET['lang'] < 90){$lang = 0;}if ( $_GET['lang'] >= 90 && $_GET['lang'] <= 140){$lang = 1;}if ($_GET['lang'] > 140 ){$lang = 2;}} else { $lang = 0;}
if ( isset ( $_GET['bea1'] ) ){ $bea1 = $_GET['bea1'];} else { $bea1 = 2;}
if ( isset ( $_GET['planlangst'] ) ){ $planlangst = $_GET['planlangst'];} else { $planlangst = 0;}
if (@$_GET['slt']==0){$slt = 0;}
if (@$_GET['slt']==2){$slt = $slt = $data9[$benutzer][$_SESSION['Projektname'][$_GET['id']]['material']][$bea1][$planlangst][$lang][11];}
if (@$_GET['slt']==1){$slt = $_GET['tl'];}
if (@$_GET['sls']==0){$sls = $data9[$benutzer][$_SESSION['Projektname'][$_GET['id']]['material']][$bea1][$planlangst][$lang][8];}else{$sls = $_GET['sl'];}
if (@$_GET['slf']==0){$slf = $data9[$benutzer][$_SESSION['Projektname'][$_GET['id']]['material']][$bea1][$planlangst][$lang][7];}else{$slf = $_GET['fl'];}
?>
<div id='fenster1' class='projekt_frei_werkzeug4'>
<div id='fenster' class='projekt_frei_werkzeug8'>
<h15> F: </h15>
<input type='text' class='input_werkzeug' id='slf' value='<?php echo $slf;?>' name='schlichtf' size='4' onchange="weiter1('wzslf'); werkzeuge2('slf'); "></br></br>
</div>
<div id='fenster' class='projekt_frei_werkzeug8'>
<h15> S: </h15>
<input type='text' class='input_werkzeug' id='sls' value='<?php echo $sls;?>' name='schlichts' size='4' onchange="weiter1('wzsls'); werkzeuge2('sls'); "></br></br>
</div>
<div id='fenster' class='projekt_frei_werkzeug8'>
<h15> T: </h15>
<input type='text' class='input_werkzeug' id='slt' value='<?php echo $slt;?>' name='schlichtt' size='3'
<?php
if(@$_GET['slt']==0){;?>
onclick="weiter2(); werkzeuge2('slt');"
<?php
}
?>
onchange="weiter1('wzslt'); werkzeuge2('slt'); "></br></br>
</div>
<div id='fenster' class='projekt_frei_werkzeug8'>
<h15> SR: </h15>
<?php if ( isset ( $data1[$slt][3] ) ){$ssr = $data1[@$slt][3];}else{$ssr = 0;}?>
<input type='text' class='input_werkzeug' id='slsr' value='<?php echo number_format($ssr, 1, '.', '');?>' name='schruppsr' size='3' disabled></br></br>
</div>
</div>
<?php
// echo $_GET['bea1'];
// include 'projekt_erstellen_werkzeug_sr.php';
// include 'projekt_erstellen_werkzeug_sl.php';
echo "</div>";
echo "<div id='fenster' class='projekt_frei_werkzeug2'>";
echo "<div id='fenster' class='projekt_frei_werkzeug9'>";
echo "<div id='fenster' class='projekt_frei_werkzeug4'>";
echo "</div>";
echo "<div id='fenster' class='projekt_frei_werkzeug5'>";
echo "</div>";
echo "</div>";
echo "<div id='fenster' class='projekt_frei_werkzeug7'>";
echo "<div id='fenster' class='projekt_frei_werkzeug4'>";
echo "</div>";
echo "<div id='fenster' class='projekt_frei_werkzeug5'>";
echo "</div>";
echo "</div>";
echo "<div id='fenster' class='projekt_frei_werkzeug6'>";
if (@$_GET['zus']==0){$wzus = $data9[$benutzer][$_SESSION['Projektname'][$_GET['id']]['material']][$bea][$planlangst][$lang][5];}else{$wzus = $_GET['wzzzus'];}
if (@$_GET['auf']==0){$wauf = $data9[$benutzer][$_SESSION['Projektname'][$_GET['id']]['material']][$bea][$planlangst][$lang][6];}else{$wauf = $_GET['wzzauf'];}
echo "<h17>Zustellung:</h17></br>";
echo "<input type='text' class='input_werkzeug' id='wzzus' name='zustellung' size='3' value='" . $wzus ."' onchange=weiter1('zus')>";
echo "</br><h17>Aufmaß:</h17></br>";
echo "<input type='text' class='input_werkzeug' id='wzauf' name='aufmas' size='3' value='" . $wauf ."' onchange=weiter1('auf')>";
echo "</div>";
echo "</div>";
?>
Alles anzeigen