Exemplo n.º 1
0
		            </fieldset>
		            <fieldset>
		          		<legend>Personal Information</legend>
		          		<label for="userFirstName">First Name: </label>
		            	<input type="text" id="userFirstName" name="userFirstName" placeholder="Boaty"/>
		          		<label for="userLastName">Last Name: </label>
		            	<input type="text" id="userLastName" name="userLastName" placeholder="McBoatface"/>
		            	<fieldset class="radiocheckgroup">
			          		<label for="userGender">Sex: </label>
			            	<input type="radio" id="userGender" name="userGender" /> Male
			            	<br />
			            	<input type="radio" id="userGender" name="userGender" /> Female
			            </fieldset>
		          		<label for="userCountry">Country: </label>
		            	';
    echo printCountrySelect();
    echo '
		            	<label for="userBirthday" >Birthday: </label>
		            	<input type="date" id="userBirthDay" name="userBirthDay" placeholder="' . date('d.m.Y') . '" />
		            </fieldset>
		            <fieldset>
		            	<input type="checkbox" id="tac" name="tac"  required/> I accept the <a href="#" onclick="displayTAC()">Terms and Conditions</a>
		            	<input type="button" onclick="checkForm()" value="Submit" />
			            <input type="reset" />
			        </fieldset>
		          </form>
		        </div>
		';
} else {
    echo '<script type="text/javascript">', 'printError(\'You cannot Register while logged in!\')', '</script>';
}
Exemplo n.º 2
0
                }
            }
        }
        print "<tr><td>" . $_lang[ProfileUserType] . ":</td><td>";
        if (@in_array("1", $profileTypes)) {
            print "<input type=radio name=org value=1 {$orgCheck1}> " . $_lang[OrderUserPrivatePerson] . " ";
        }
        if (@in_array("2", $profileTypes)) {
            print "<input type=radio name=org value=2 {$orgCheck2}> " . $_lang[OrderUserPrivatePredprinimatel] . " ";
        }
        if (@in_array("3", $profileTypes)) {
            print "<input type=radio name=org value=3 {$orgCheck3}> " . $_lang[OrderUserOrg];
        }
        print "</td></tr>";
        print "<tr><td>" . $_lang[ProfileCountry] . ":</td><td>";
        printCountrySelect($country);
        echo "</td></tr>";
    }
    print "<tr><td colspan=2 align=center><BR><input class=button type=Submit value='" . $_lang[Save] . "'></td></tr></table><BR></form>";
    foot('utf-8');
}
if (!$workWithoutAuth) {
    if ($do != "profile" and $do != "tickets" and $do != "settings" and !checkSettings($_SESSION["userId"])) {
        $do = "";
        error($_lang[SettingsErrorYouCanWorkWithoutSettings] . " (" . $GLOBALerror . ")");
    } else {
        if ($do != "profile" and $do != "tickets" and $do != "settings" and !checkProfile(GetSetting("checkprofiletype"), $_SESSION["userId"])) {
            $do = "";
            $addButton = "<form action=billing.php method=post><input type=hidden name=do value=profile><input type=submit class=input value='" . $_lang["ButtonFillProfile"] . "'></form>";
            error($_lang[ProfileErrorYouCanWorkWithoutProfile], $addButton);
        } else {