Source for file projectselect.phpinc

Documentation is available at projectselect.phpinc

  1.    <form name="frmProjSelect" action="index.php" method="get"><center>
  2.         Projekt:
  3.         <select name="PROJ_ID" onChange="document.frmProjSelect.submit()";>
  4.             <option value="0">Default</option>
  5.             <?php
  6.                 $query="SELECT * FROM T_CMS_PROJECT ORDER BY PROJ_NAME";
  7.                 if ($cursor=$GLOBALS['USRDB']->query($query)) {
  8.                     while($proj=$cursor->fetchArrayFld(TRUE)) {
  9.                         echo "<option value=\"".$proj['PROJ_ID']."\"";
  10.                         echo (($_GET['PROJ_ID']==$proj['PROJ_ID']" selected""");
  11.                         echo ">".$proj['PROJ_NAME']." (".$proj['PROJ_ID'].")</option>";
  12.                     }
  13.                 }
  14.             ?>
  15.         </select>
  16.         <input type="submit" value="auswählen">
  17.    </center></form>

Documentation generated on Thu, 08 Jan 2009 17:47:59 +0100 by phpDocumentor 1.4.0a2