PHP Classes

File: familytree/apps/frontend/views/person/create.php

Recommend this page to a friend!
  Classes of Ssaurz Acharya   FedUni PHP Family Tree App   familytree/apps/frontend/views/person/create.php   Download  
File: familytree/apps/frontend/views/person/create.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: FedUni PHP Family Tree App
Manage and display a tree of family people
Author: By
Last change:
Date: 2 years ago
Size: 1,341 bytes
 

Contents

Class file image Download
<?php include_once "person_menu.php"; ?>
<div id="create_person_form">
    <br/>
    <h4 style="font-family:Arial;color:#5F5F5F;">Create Person</h4><hr/>
    <form method="post" action="">
        <span style="font-family:Arial;font-size:15px;color:#404040;">Please fill up the</span> <span style="color:#cc0000;font-family:Arial;font-size:15px;">* Required Field.</span><br/><br/>
   
        <label for="person_name"><span style="color:#cc0000;font-family:Arial;font-size:17px;">*</span>Name: </label><?php echo "<span style='font-family:Arial;font-size:13px;color:#ff0000;'>".htmlentities($name_error)."</span>"; ?><input type="text" id="person_name" name="person_name" placeholder="Name" value="<?php if(isset($_POST["person_name"])) {echo htmlentities($_POST["person_name"]);} ?>"/>
        <label for="dob"><span style="color:#cc0000;font-family:Arial;font-size:17px;">*</span>Date Of Birth: </label><?php echo "<span style='font-family:Arial;font-size:13px;color:#ff0000;'>".htmlentities($date_error)."</span>"; ?><input type="text" id="dob" name="dob" placeholder="YYYY-MM-DD" value="<?php if(isset($_POST["dob"])) {echo htmlentities($_POST["dob"]);} ?>"/>
        <input type="submit" id="create_person" name="create_person" value="Create Person"/>
    </form>
    <?php echo htmlentities($create_person_msg); ?>
</div>