function GetInfoForm() { DisplayLabel("Customer Type"); echo "<form action = \"index.php\" method= \"POST\" >\n <select name = \"Cust_Type\">\n <option value = \"Choose\"> Choose </option>\n <option value=\"Regular\">Regular</option>\n <option value=\"Corporate\">Corporate</option>\n <option value=\"Government\">Government</option>\n </select>"; DisplayLabel("Number of Copies"); DisplayTextbox("Num_Copies", "40", " "); DisplayButton("sub_button", "Submit"); echo "<input type=hidden name=\"f_nextform\" value=\"ShowResultsForm\">"; echo "</form>"; }
function DataEntryForm() { setUpForm("SH"); echo "<p class=\"paraSpace\">"; DisplayLabel("Band Name"); DisplayTextBox("bandName", "", ""); echo "</p>"; echo "<p class=\"paraSpace\">"; DisplayLabel("Number of CD's Sold"); DisplayTextBox("numberOfCdSold", "", ""); echo "</p>"; echo "<p class=\"paraSpace\">"; DisplayLabel("CD Selling Price"); DisplayTextBox("cdSellingPrice", "", ""); echo "</p>"; echo "<p class=\"paraSpace\">"; DisplayLabel("Manager Fee "); DisplayLabel("45%"); echo "<input type=\"radio\" name=\"managerFee\" value=\"fortyFive\"/>"; DisplayLabel("55%"); echo "<input type=\"radio\" name=\"managerFee\" value=\"fiftyFive\"/>"; echo "</p>"; echo "<p class=\"paraSpace\">"; DisplayLabel("Recording Studio"); echo "<select name = \"recordStudio\">\n\t\t\t\t<option value=\"\">N/A</option>\n\t\t\t\t<option value=\"five\">Rock Rules Recording Studio</option>\n\t\t\t\t<option value=\"ten\">Sing To Me Studios</option>\n\t\t\t\t<option value=\"fifteen\">Make Some Noise Studios</option>\n\t\t\t </select>"; echo "</p>"; echo "<p class=\"paraSpace\">"; DisplayLabel("Advance"); echo "<input type=\"checkbox\" name=\"checkBox\"/>"; echo "</p>"; echo "<p class=\"paraSpace\">"; DisplayLabel("Distributor Fees"); DisplayTextBox("distFees", "", ""); echo "</p>"; echo "<p class=\"paraSpace\">"; DisplayLabel("Manufacturing Costs"); DisplayTextBox("manuCosts", "", ""); echo "</p>"; echo "<p class=\"paraSpace\">"; DisplayLabel("Gig Date (YYYY/MM/DD)"); DisplayTextBox("gigDate", "", ""); echo "</p>"; finishForm(); }
function DataEntryForm() { SetUpForm("SH"); echo "<div class=\"leftinput\" >"; DisplayLabel("Band Name: "); DisplayTextBox("bandName", "20", ""); echo "<br/>"; echo "<br/>"; DisplayLabel("Number of CD's Sold: "); DisplayTextBox("numCD", "20", ""); echo "<br/>"; echo "<br/>"; DisplayLabel("CD Selling Price: "); DisplayTextBox("cdPrice", "20", ""); echo "<br/>"; echo "<br/>"; DisplayLabel("Manager Fee: "); echo "<br /><input required type=\"radio\" value=\"45\" name=\"managerFee\" >45% <br />"; echo "<input type=\"radio\" value=\"55\" name=\"managerFee\" >55% <br />"; echo "<br/>"; DisplayLabel("Recording Studio"); echo "\n\t<select required name=\"recordingStudio\">\n\t\t<option value=\"NA\">N\\A</option>\n\t\t<option value=\"RRRS\">Rock Rules Recording Studio</option>\n\t\t<option value=\"STMS\">Sing To Me Studios</option>\n\t\t<option value=\"MSNS\">Make Some Noise Studios</option>\n\t</select>\n\t<br />"; echo "<br/>"; DisplayLabel("Advance"); echo "<input type=\"checkbox\" name=\"advance\" value=\"advance\" />"; echo "<br/>"; echo "<br/>"; echo "</div>"; DisplayLabel("Distributer Fees: "); DisplayTextBox("distFee", "10", ""); echo "<br/>"; echo "<br/>"; DisplayLabel("Manufacturing Costs: "); DisplayTextBox("manuFac", "10", ""); echo "<br/>"; echo "<br/>"; DisplayLabel("Gig Date (YYYY/MM/DD): "); DisplayTextBox("gigDate", "10", ""); echo "<br/>"; echo "<br/>"; FinishForm(); }