Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">

<head>
        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
        <meta name="author" content="Webagentur Niewerth" />

        <title>Lagerwirtschaft</title>
        
        <link rel="stylesheet" type="text/css" href="../styles/styles.php" />
        <script type="text/javascript" src="jscript/jquery-1.3.2.min.js"></script>
        <script type="text/javascript" src="jscript/lagerwirtschaft-zebra.js"></script>
        <script type="text/javascript" src="jscript/lagerwirtschaft-blaettern.js"></script>
        <script type="text/javascript" src="jscript/MM-functions.js"></script>
</head>

<body class="lagerwirtschaft" onload="MM_preloadImages('images/navigation/bt_neu_f2.gif')" marginwidth="20" marginheight="10">
    <form action="{$SCRIPT_NAME}" method="post" id="artikelSuchFormular">
                <table width="727" border="0" cellspacing="2" cellpadding="0">
            <tr valign="top">
                <td>
                    <table width="650" border="1" cellspacing="0" cellpadding="3" id="artikel_suche">
                        <tr>
                            <td colspan="2" class="links">Lagerwirtschaft - Suche nach Artikeln</td>
                        </tr>
                        <tr>
                                <td class="links"><label for="sucheArtikelname">Artikelname:</label></td>
                                <td><input type="text" id="sucheArtikelname" name="sucheArtikelname" size="25" value="{$sucheArtikelname}" /></td>
                        </tr>
                        <tr>
                                <td class="links"><label for="sucheBestand">Bestand:</label></td>
                                <td>
                                                <select name="sucheBestandsoperator" size="1">
                                                        <option value="0" {if $sucheBestandsoperator == 0} selected="selected" {/if}>=</option>
                                                        <option value="1" {if $sucheBestandsoperator == 1} selected="selected" {/if}>&gt;</option>
                                                        <option value="2" {if $sucheBestandsoperator == 2} selected="selected" {/if}>&lt;</option>
                                                        <option value="3" {if $sucheBestandsoperator == 3} selected="selected" {/if}>--- Bitte w&auml;hlen ---</option>
                                                </select>
                                                <input type="text" id="sucheBestand" name="sucheBestand" size="3" value="{$sucheBestand}" />
                                        </td>
                        </tr>                        
                        <tr>
                                <td class="links"><label for="sortierung">Sortierung:</label></td>
                                <td>
                                                <select name="sucheSortierung" id="sucheSortierung">
                                                        <option value="0" {if $sucheSortierung == "DESC"} selected="selected" {/if}>Absteigend</option>
                                                        <option value="1" {if $sucheSortierung == "ASC"} selected="selected" {/if}>Aufsteigend</option>
                                                </select>
                                        </td>
                        </tr>
                        <tr>
                            <td colspan="2" class="links"><input type="submit" name="sucheSubmit" value="Suche ausf&uuml;hren" /></td>
                        </tr>
                        </table>
                        
                    <br />
                    
                        {if $sucheAnzahlSeiten > 1}
                        <table width="650" border="0" cellspacing="0" cellpadding="3" id="artikel_seiten">
                                        <tr class="links">
                                                <td align="left"><a href="#" id="sucheZurueck">zur&uuml;ck</a></td>
                                                <td align="center">
                                                        Seite:
                                                        <select name="sucheArtikelseite" id="sucheArtikelseite">
                                                                {section name=seite start=1 loop=$sucheAnzahlSeiten+1 step=1}
                                        <option value="{$smarty.section.seite.index}" {if $sucheArtikelseite == $smarty.section.seite.index} selected="selected" {/if}>{$smarty.section.seite.index}</option>
                                        {/section}
                                                        </select>
                                                        von {$sucheAnzahlSeiten}
                                                </td>
                                                <td align="right"><a href="#" id="sucheWeiter">weiter</a></td>
                                        </tr>   
                                </table>
                        
                        <br />
                    {/if}
                    
                        <table width="650" border="1" cellspacing="0" cellpadding="3" id="artikelbestaende">
                                <tr>
                                        <td class="links td_text">Artikelname</td>
                                        <td class="links td_zahl">Bestand</td>
                                        <td class="links td_zahl">Mindestbestand</td>
                                        
                                </tr>
                        {section name=artikel loop=$artikelLoop}
                            <tr class="rechts">
                                        <td><a href="?action=artikel&id={$artikelLoop[artikel].id}">{$artikelLoop[artikel].kurzbezeichnung}</a></td>
                                        <td>{if $artikelLoop[artikel].bestand == 0}n.V.{else}{$artikelLoop[artikel].bestand}{/if}</td>
                                        <td>{if $artikelLoop[artikel].mindestbestand == 0}n.V.{else}{$artikelLoop[artikel].mindestbestand}{/if}</td>
                                        
                            </tr>
                        {/section}
                                <tr>
                                  <td colspan="3" class="links">&nbsp;</td>
                                </tr>
                        </table>
                </td>
                <td align="right" width="67">
                    <table width="67" border="1" cellspacing="0" cellpadding="0">
                        <tr>
                            <td bgcolor="#cccccc" align="center">
                                <a onmouseover="MM_swapImage('edit','','../images/navigation/bt_neu_f2.gif',1)" onmouseout="MM_swapImgRestore()" href="lagerwirtschaft.php?action=buchung"><img height="40" border="0" width="67" alt="Buchung aufgeben" src="../images/navigation/bt_neu.gif" name="edit"/></a>
                            </td>
                        </tr>
                    </table>
                </td>
                </tr>
        </table>
        <input type="hidden" name="sucheAnzahlSeiten" id="sucheAnzahlSeiten" value="{$sucheAnzahlSeiten}" />
        <input type="hidden" name="sucheAlterArtikelname" id="sucheAlterArtikelname" value="{$sucheArtikelname}" />
        </form>
</body>
</html>