<div class="rollover"><a href="contact-us.php">CONTACT US</a></div> <div class="rollover"></div> </div> <!-- #EndLibraryItem --></p> <p><a href="https://www.facebook.com/pages/Friends-of-Piute-Ponds/171112009611901" target="_blank"><img src="images/FacebookIcon.jpg" alt="Facebook Page" width="45" height="44"></a></p> <!-- #EndLibraryItem --></div> <div id="apDiv1"> <p align="left" class="style4">Register New User</p> <p align="left" class="style9">Please provide your email address, First name, and last name</p> <p align="left" class="style9"> <form method='POST' action='php/register_action.php'> <table> <tr> <td class="errorMessage" colspan="2"><?php echoErrorMessages("register"); ?> </td> </tr> <tr> <td class="style9">Email:</td> <td><input type='text' name='email'></td> </tr> <tr> <td class="style9">First Name:</td> <td><input type='text' name='first_name'></td> </tr> <tr> <td class="style9">Last Name:</td> <td><input type='text' name='last_name'></td> </tr>
<link href="PiuteMasterCSS.css" rel="stylesheet" type="text/css" /> <div id="apDiv2"><img src="images/Piute_Background_Image.jpg" width="720" height="778" alt="PiutePonds-Background_Image" /></div> <div id="login"><span class="style9" id="heading1"> <?php if (showLoginBanner()) { $userInfo = getCurrentUserInfo(); if (isset($userInfo)) { displayWelcomeBack($userInfo); } else { ?> <form method='POST' action='../php/login_action.php'> <table> <tr> <td class="errorMessage" colspan="5"><?php echoErrorMessages("login"); ?> </td> </tr> <tr> <td>email:</td> <td><input type='text' name='email'></td> <td>password:</td> <td><input type='password' name='password'></td> <td><input type='submit' value='Login'/></td> </tr> <tr> <td></td> <td> <a href='../register.php'><font size=-1>Register</font></a> </td>
function getFormElement($variable, $value, $type, $horiz_pos, $variable_index) { $value=trim(preg_replace("/\"/","",stripslashes($value))); //strip slashes, trim, and get rid of quotes $box_size=strlen($value); if($box_size > 40) { $box_size=40; //size of text box } switch ($type) { case "integer": return "<input type=\"text\" class=\"color\" name=\"assignment_info[$horiz_pos][$variable_index][value]\" value=\"$value\" size=\"$box_size\" onChange=\"isNumber(this)\">"; break; case "boolean": if($value=="true") { return " <input type=\"radio\" checked name=\"assignment_info[$horiz_pos][$variable_index][value]\" value=\"true\">On <input type=\"radio\" name=\"assignment_info[$horiz_pos][$variable_index][value]\" value=\"false\">Off"; } else { return " <input type=\"radio\" name=\"assignment_info[$horiz_pos][$variable_index][value]\" value=\"true\">On <input type=\"radio\" checked name=\"assignment_info[$horiz_pos][$variable_index][value]\" value=\"false\">Off"; } break; case "string": return " <input type=\"text\" class=\"color\" name=\"assignment_info[$horiz_pos][$variable_index][value]\" value=\"$value\" size=\"$box_size\">"; break; default: echoErrorMessages("Error: No Form Found for This Variable $variable- Check Syntax in User Configuration File. Only String, Integers, and Booleans are supported."); return false; } }