Update of /cvsroot/memship/memship In directory usw-pr-cvs1:/tmp/cvs-serv19985 Modified Files: index.php Removed Files: admin.php fail.php hode.php index2.php insert.php liste.php Log Message: Update Index: index.php =================================================================== RCS file: /cvsroot/memship/memship/index.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** index.php 18 Aug 2002 12:41:24 -0000 1.3 --- index.php 18 Aug 2002 13:33:06 -0000 1.4 *************** *** 1,37 **** <?php ! include('liblogin.php'); ?> - <html> - <head> - <style type="text/css"> - .head { color: black; } - h1 { color: black; } - .hover { background: blue; } - </style> - </head> - <body text="#000000" bgcolor="#ffffff"> - <h1 align="center">Sør-Trøndelag RV / RU</h1> ! <center> <!-- center-taggen er bare for IE --> - <form method="POST" action="$form_target"> <table> ! <tr><td>Brukernavn: <td><input type="text" name="username" value=""> ! <tr><td>Passord: <td><input type="password" name="password"><br><br> ! <tr><td><td><input type="submit" name="submit" value="Logg inn"> </table> - </form> - <br> - <p>Er du allerede logget inn, kan du gå <a href="liste.php">hit</a>.<br> - Du kan bruke den gamle databasen <a href="../gammelt2/index.php">her</a>.</p> <br> ! <font size=-1> ! <p><b>Endringer i det siste:</b><br> ! ... ! </font> ! </center> ! </body> ! </html> --- 1,167 ---- <?php ! include('includes/liblogin.php'); ! include('includes/head'.php'); ?> ! <h1>Søk i medlemsarkivet</h1> ! ! <form action="liste2.php" method="post"> ! ! <!-- INFORMASJON --> ! ! <h3>Kryss av for den informasjonen du vil ha med.</h3> <table> ! <tr> ! <td><input type="checkbox" name="data[betalt1]" value="medlem.betalt1"> ! Beløp betalt ! </td> ! <td><input type="checkbox" name="data[betalt2]" value="medlem.betalt2"> ! Betalt år ! </td> ! <td><input type="checkbox" name="data[adresse]" value="medlem.adresse"> ! Adresse ! </td> ! <td><input type="checkbox" name="data[postnr]" value="medlem.postnr"> ! Postnr ! </td> ! <!-- obs annen tabell --> ! <td><input type="checkbox" name="data[poststed]" value="postnr.poststed"> ! Poststed ! </td> ! <td><input type="checkbox" name="data[status]" value="medlem.status"> ! Status ! </td> ! <td><input type="checkbox" name="data[telhjem]" value="medlem.telhjem"> ! Telefon ! </td> ! </tr> ! <tr> ! <td><input type="checkbox" name="data[teljobb]" value="medlem.teljobb"> ! Telefon jobb ! </td> ! <td><input type="checkbox" name="data[telmob]" value="medlem.telmob"> ! Telefon mobil ! </td> ! <td><input type="checkbox" name="data[epost]" value="medlem.epost"> ! Epost ! </td> ! <td><input type="checkbox" name="data[kjønn]" value="medlem.kjønn"> ! Kjønn ! </td> ! <td><input type="checkbox" name="data[skolejobb]" value="medlem.skolejobb"> ! Skole/jobb ! </td> ! </tr> ! </table> ! ! <!-- SORTERING --> ! ! <h3>Sorter etter:</h3> ! <input type="hidden" name="testme" value="blah"> ! <table> ! <tr> ! <td><input type="radio" name="sortby" value="medlem.etternavn" checked>Etternavn</td> ! <td><input type="radio" name="sortby" value="medlem.fornavn">Fornavn</td> ! <td><input type="radio" name="sortby" value="medlem.postnr">Postnr</td> ! <td><input type="radio" name="sortby" value="medlem.medlemstype">Medlemstype</td> ! </table> ! ! <!-- KRITERIER --> ! ! <h3>Kriterier:</h3> ! ! <p>Du må skille mellom store og små bokstaver for å få korrekt søkeresultat. ! (FIKS!!) ! Bruk % for å representere et ukjent antall ukjente tegn. Ved å fylle ut flere ! felt begrenser du resultatmengden, med unntak av grupper, der øker du resultatmengden ! for hver du krysser av for.</p> ! ! <table> ! <tr> ! <td>Fornavn:</td><td><input type="text" name="krit[fornavn]"></td> ! <td>Etternavn:</td><td><input type="text" name="krit[etternavn]"></td> ! <td>Adresse:</td><td><input type="text" name="krit[adresse]"></td> ! </tr> ! <tr> ! <td>Postnr:</td><td><input type="text" name="krit[postnr]"></td> ! <td>Poststed:</td><td><input type="text" name="krit[poststed]"></td> ! <td>Mobilisering:</td><td><select name="krit[mobilisering]"> ! <option value="">Ingen</option> ! <?PHP ! /* ! $result = pg_exec("SELECT navn FROM arrangement"); ! $j=pg_numrows($result); ! for($i=0;$i<$j;$i++){ ! $row = pg_fetch_array($result, $i); ! echo "<option value=\"$row[navn]\">$row[navn]</option>"; ! } ! */ ! ?> ! </select></td> ! </tr> ! <tr> ! <td>Kjønn:</td><td><input type="radio" name="krit[kjønn]" value="gutt">gutt ! <input type="radio" name="krit[kjønn]" value="jente">jente ! </td> ! <td>Lag:</td><td><input type="text" name="krit[lag]"></td> ! <td>Skole/jobb:</td><td><input type="text" name="krit[skolejobb]"></td> ! </tr> ! <tr> ! <td>Epost:</td><td><input type="text" name="krit[epost]"></td> ! <td>Betalt:</td><td> ! <select name="krit[betalt]"> ! <option value="0">Irrelevant</option> ! <option value="1">Betalt</option> ! <option value="2">Ikke betalt</option> ! </select> ! </td> ! <td>Status:</td> ! <td><select name="krit[status]"> ! <option selected value="">alle</option> ! <option value="medlem">medlem</option> ! <option value="kontakt">kontakt</option> ! <!-- obs bare for RU: --> ! <?PHP ! /* ! if ($ses_db==ru){ ! echo " ! <option value=\"bøllekontakt\">bøllekontakt</option> ! <option value=\"ute\">ute</option> ! ";} else { ! echo " ! <option value=\"nytt medlem\">nytt medlem</option> ! ";} ! */ ! ?> ! </select> ! </td> ! </tr> ! <tr><td>Gruppe:</td> ! <td colspan="6"> ! <?php ! /* ! $result = pg_exec("SELECT DISTINCT gruppenavn FROM gruppebeskrivelse"); ! $j=pg_numrows($result); ! for($i=0;$i<$j;$i++){ ! $row = pg_fetch_array($result, $i); ! $checked = ""; ! if ($row[gruppenavn] == $ses_db) $checked = "checked"; ! echo " [ $row[gruppenavn] <input type=\"checkbox\" name=\"gruppe[$i]\" ! value=\"$row[gruppenavn]\" $checked> ] "; ! } ! */ ! ?> ! </td> ! </tr> </table> <br> ! <input name="vanlig" type="submit" value="Interaktivt resultat"> ! <input name="ren" type="submit" value="Utskriftsvennlig resultat"> ! </form> ! <?php ! include('includes/tail.php'); ! ?> --- admin.php DELETED --- --- fail.php DELETED --- --- hode.php DELETED --- --- index2.php DELETED --- --- insert.php DELETED --- --- liste.php DELETED --- |