fhiiqm/form/as_massn_form.inc.php
author Bettina Schwarzer <schwarzer@fhi-berlin.mpg.de>
Wed, 31 Jul 2013 15:10:48 +0200
changeset 39 4ce411ed28b6
parent 28 8d8bce56918f
permissions -rw-r--r--
+ Keytyp: delDepot, userVW; Korrekturen

<?php

/**
 * @author Bettina Schwarzer, Fritz-Haber-Institut
 * @copyright 06/2012
 * 
 * Form Arbeitssicherheit Massnahme
 * 
 */

	include_once($_SERVER['DOCUMENT_ROOT'] ."/fhiiqm/inc/dbconnect.inc.php");
	if (!isset($dbc) || !$dbc) $dbc = new dbconnection();
    $okn=true;

?>
    <form action="<?php $_SERVER['PHP_SELF'] ?>" method="post" enctype="application/x-www-form-urlencoded" name="form_asm" target="_self">
    <div align="center"> 	
    <table width="60%" border="0" cellspacing="3" cellpadding="3">
    <tr>
        <td width="20%">Arbeitssicherheit Massnahme *</td>        
        <td><input type="text" name="asm[bez]"  size="50" maxlength="50" value="<?php echo $asm['bez']; ?>" />
            <?php 
			     if (isset($asm['bez']) && $asm['bez']<'!')
				{
					echo "<br><span class=\"red\">Bezeichnung ist erforderlich!</span>\n";
					$okn = false;
				}
             ?> 
        </td>   
    </tr>
    <tr>
        <td>Bemerkung</td>
        <td><textarea name="asm[bem]" cols="100" rows="20"><?php echo $asm['bem']; ?></textarea>
		<div>max. 2000 Zeichen sind m&ouml;glich</div></td>
    </tr>
    <input type="hidden" name="asm[okn]" value="<?php echo $okn; ?>"/>
<!--
    </table>
    </form>
-->