Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
<html>
<head>
<title>out_psgeneralt.php</title>
<script language="javascript" src="scripts/child.js"></script>
<script language="javascript" src="scripts/convert.js"></script>
</head>
<body background="images/bgpanel.gif">
<?php
$table ="psgeneralt";
include("includes/inclconnect.php");
$recsel = "SELECT * FROM $table;";
include("includes/inclquery_output.php");
print ("<table border = 5 style=font-size:8pt style=font-family:'Arial'><tr>
<th>Bearbeiten</th>
<th>Code</th>
<th>Beschreibung</th>
<th>EmployeeRate</th>
<th>EmployerRate</th>
<th>FixAmountE</th>
<th>FixAmountR</th>
<th>DebitAccount</th>
<th>CreditAccount</th>
<th>MinAmount</th>
<th>MaxAmount</th>
<th>Von:</th>
<th>Bis:</th>
<th>WageType</th>
<th>Von:</th>
<th>Bis:</th>
<th>Exclusive</th>
</tr>");
while ($ausgabe = mysql_fetch_array ($result))//
{
print ("<form action=\"upwork_psgeneralt.php\" method=\"post\">
<tr>
<td><input type=\"submit\" name=\"Update\" value=\"Update\"></td>
<td><input type=\"text\" name=\"code\" size=\"6\" value=\"$ausgabe[ Code ]\"/></td>
<td><input type=\"text\" name=\"description\" size=\"20\" value=\"$ausgabe[Description]\"/></td>
<td><input type=\"text\" name=\"employeerate\" size=\"6\" value=\"$ausgabe[EmployeeRate]\"/></td>
<td><input type=\"text\" name=\"employerrate\" size=\"6\" value=\"$ausgabe[EmployerRate]\"/></td>
<td><input type=\"text\" name=\"fixamounte\" size=\"6\" value=\"$ausgabe[FixAmountE]\"/></td>
<td><input type=\"text\" name=\"fixamountr\" size=\"6\" value=\"$ausgabe[FixAmountR]\"/></td>
<td><input type=\"text\" name=\"debitaccount\" size=\"10\" value=\"$ausgabe[DebitAccount]\"/></td>
<td><input type=\"text\" name=\"creditaccount\" size=\"10\" value=\"$ausgabe[CreditAccount]\"/></td>
<td><input type=\"text\" name=\"minamount\" size=\"10\" value=\"$ausgabe[MinAmount]\"/></td>
<td><input type=\"text\" name=\"maxamount\" size=\"10\" value=\"$ausgabe[MaxAmount]\"/></td>
<td><input type=\"text\" name=\"fromdate\" size=\"8\" value=\"$ausgabe[FromDate]\"/></td>
<td><input type=\"text\" name=\"todate\" size=\"8\" value=\"$ausgabe[ToDate]\"/></td>
<td><input type=\"text\" name=\"wagetype\" size=\"2\" value=\"$ausgabe[WageType]\"/></td>
<td><input type=\"text\" name=\"fromage\" size=\"2\" value=\"$ausgabe[FromAge]\"/></td>
<td><input type=\"text\" name=\"toage\" size=\"2\" value=\"$ausgabe[ToAge]\"/></td>
<td><input type=\"text\" name=\"exclusive\" size=\"1\" value=\"$ausgabe[Exclusive]\"/></td>
</tr>
");
}
include("includes/incldisconnect.php");
print ("<form action=\"work_psgeneralt.php\" method=\"post\">
<tr>
<td><input type=\"submit\" name=\"INSERT\" value=\"Neu\"></td>
<td><input type=\"text\" name=\"code\" size=\"6\" /></td>
<td><input type=\"text\" name=\"description\" size=\"20\" /></td>
<td><input type=\"text\" name=\"employeerate\" size=\"6\" /></td>
<td><input type=\"text\" name=\"employerrate\" size=\"6\" /></td>
<td><input type=\"text\" name=\"fixamounte\" size=\"6\" /></td>
<td><input type=\"text\" name=\"fixamountr\" size=\"6\" /></td>
<td><input type=\"text\" name=\"debitaccount\" size=\"10\" /></td>
<td><input type=\"text\" name=\"creditaccount\" size=\"10\" /></td>
<td><input type=\"text\" name=\"minamount\" size=\"10\" /></td>
<td><input type=\"text\" name=\"maxamount\" size=\"10\" /></td>
<td><input type=\"text\" name=\"fromdate\" size=\"8\" /></td>
<td><input type=\"text\" name=\"todate\" size=\"8\" /></td>
<td><input type=\"text\" name=\"wagetype\" size=\"2\" /></td>
<td><input type=\"text\" name=\"fromage\" size=\"2\" /></td>
<td><input type=\"text\" name=\"toage\" size=\"2\" /></td>
<td><input type=\"text\" name=\"exclusive\" size=\"1\" /></td>
<td><input type=\"text\" name=\"changed\" size=\"6\" /></td>
<td><input type=\"text\" name=\"changer\" size=\"32\" /></td>
</tr>
</form>
</table>");
//<td><input readonly name=\"code\" size=\"6\" value=\"ALV\"/></td>
?>
</body>
</style>
</html>
<html>
<head>
<title>work_psgeneralt.php</title>
</head>
<body>
<?php
$Val = 0;
//Validation
if ($Val == 0)
{
$table ="psgeneralt";
include("includes/inclconnect.php");
$ID = '$_POST[TaxeID]';
if ( $ID == 0 )
{
$ID = GetNextEnum($table);
$queryin = "INSERT into $table values ($ID, '$_POST[ code ]', '$_POST[description]', '$_POST[employeerate]', '$_POST[employerrate]', '$_POST[fixamounte]', '$_POST[fixamountr]', '$_POST[debitaccount]', '$_POST[creditaccount]', '$_POST[minamount]', '$_POST[maxamount]', '$_POST[fromdate]', '$_POST[todate]', '$_POST[wagetype]', '$_POST[fromage]', '$_POST[toage]', '$_POST[exclusive]', '$_POST[changed]', '$_POST[changer]')";
include("includes/inclquery_input.php");
}
else
{
include("includes/incldisconnect.php");
print ("<script langugage=\"javascript\">\n
javascript:parent.RefreshPHP('panel', 'out_psgeneralt');\n
</script>\n");
}
?>
</body>
</html>
<html>
<head>
<title>upwork_psgeneralt.php</title>
</head>
<body>
<?php
//$Val = 0;
//Validation
//if ($Val == 0)
//{
$table ="psgeneralt";
include("includes/inclconnect.php");
//if ( $ID == 0 )
//{
$queryup = "UPDATE $table SET Code = '".$_POST["code"]."' WHERE TaxeID = '$ID'";
echo $queryup;
//include("includes/inclquery_input.php");
//}
//else
//{
// Update ... where TaxeID = $ID
include("includes/inclquery_update.php");
//}
include("includes/incldisconnect.php");
//print ("<script langugage=\"javascript\">\n
//javascript:parent.RefreshPHP('panel', 'out_psgeneralt');\n
//</script>\n");
//}
?>
</body>
</html>