Location: PHPKode > projects > UNKNOW > webifycore/register.php
<script language="JavaScript" type="text/javascript">
<!-- Begin
function verify() {
        var themessage = "The following fields can not be blank: ";
        if (document.registerform.FIRSTNAME.value=="") {
                themessage = themessage + "First Name, ";
        } if (document.registerform.LASTNAME.value=="") {
                themessage = themessage + "Last Name, ";
        } if (document.registerform.EMAIL.value=="") {
                themessage = themessage + "Email, ";
        } if (document.registerform.USERNAME.value=="") {
                themessage = themessage + "Username, ";
        } if (document.registerform.PASSWORD.value=="") {
                themessage = themessage + "Password, ";
        }

if (themessage == "The following fields can not be blank: ") {
                document.registerform.submit();
        } else {
                alert(themessage);
                return false;
        }
        }
//  End -->
</script>

<?PHP $link = h1; $desc = "Edit main heading style."; include "dmtop.php"; ?>
<h1><?PHP /* (LANGUAGE) */ $t = "Create a Free Account"; $f = "registerheader"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?></h1>
<?php include "dmbot.php"; ?>

<?PHP $link = formbox; $desc = "Edit form style."; include "dmtop.php"; ?>
<?php include "dmbot.php"; ?>

<?PHP $link = h3; $desc = "Edit field box heading (h3) style."; include "dmtop.php"; ?>
<?php include "dmbot.php"; ?>

<?PHP $link = fieldbox; $desc = "Edit form field box style."; include "dmtop.php"; ?>
<?php include "dmbot.php"; ?>

<form name="registerform" class="formbox" style="width: 100%; margin-top:15px;" method="post" action="index.php?page=createaccount&id=<?php echo $_GET[id]; ?>&back=<?php echo $_GET[back]; ?>">

<div class="clearbox" style="width: 100%;">

<h3><?PHP /* (LANGUAGE) */ $t = "First Name"; $f = "registerfirstname"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?></h3>
<input type="text" name="FIRSTNAME" class="fieldbox" style="width: 50%;" value="<?php echo $_POST[FIRSTNAME]; ?>">

<h3 style="margin-top: 15px;"><?PHP /* (LANGUAGE) */ $t = "Last Name"; $f = "registerlastname"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?></h3>
<input type="text" name="LASTNAME" class="fieldbox" style="width: 50%;" value="<?php echo $_POST[LASTNAME]; ?>">

<h3 style="margin-top: 15px;"><?PHP /* (LANGUAGE) */ $t = "Email Address"; $f = "registeremail"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?></h3>
<input type="text" name="EMAIL" class="fieldbox" style="width: 50%;" value="<?php echo $_POST[EMAIL]; ?>">

<h3 style="margin-top: 15px;"><?PHP /* (LANGUAGE) */ $t = "Username"; $f = "registerusername"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?></h3>
<input type="text" name="USERNAME" class="fieldbox" style="width: 50%;" value="<?php echo $_POST[USERNAME]; ?>">

<h3 style="margin-top: 15px;"><?PHP /* (LANGUAGE) */ $t = "Password"; $f = "registerpassword"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?></h3>
<input type="text" name="PASSWORD" class="fieldbox" style="width: 50%;" value="<?php echo $_POST[PASSWORD]; ?>">

<br>

<input style="margin-top: 15px;" class="sparklybutton" type="button" value="<?PHP /* (LANGUAGE) */ $t = "Create Account"; $f = "registercreateaccount"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?>" onClick="verify();" />

<a href="index.php?page=login"><b><?PHP /* (LANGUAGE) */ $t = "I Already have an Account"; $f = "registerhaveaccount"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?></b></a></div>

</form>
Return current item: UNKNOW