Welcome Guest, Not a member yet? Register   Sign In
validation_errors()
#2

[eluser]gedev2006[/eluser]
View file code

Code:
<div id="innerContent">
                
    <div class="contentContainer">
    
        <div class="contentHeader"><h1>&lt;?= $this->siteSettings->pageTitle(); ?&gt;</h1></div>
        
        <div class="content">
        
            <div class="errors">&lt;?= validation_errors(); ?&gt;</div>

            &lt;?= $this->blocks_model->getByIdentifier ( 'registerMessage' )->getContent(); ?&gt;
                        
            &lt;form action="&lt;?= $this-&gt;siteSettings->getLink ( 'register/process' ); ?&gt;" method="post">
                <fieldset>
                    <table>
                        <tr>
                            <th>Username: <span class="required">*</span></th>
                            <td>&lt;input type="text" name="username" /&gt;&lt;/td>
                        </tr>
                        <tr>
                            <th>Password: <span class="required">*</span></th>
                            <td>&lt;input type="password" name="password" /&gt;&lt;/td>
                        </tr>
                        <tr>
                            <th>Re-type password: <span class="required">*</span></th>
                             <td>&lt;input type="password" name="verifypassword" /&gt;&lt;/td>
                        </tr>
                        <tr>
                            <th>First name: <span class="required">*</span></th>
                            <td>&lt;input type="text" name="firstname" /&gt;&lt;/td>
                        </tr>
                        <tr>
                            <th>Last name: <span class="required">*</span></th>
                            <td>&lt;input type="text" name="lastname" /&gt;&lt;/td>
                        </tr>
                        <tr>
                            <th>Email: <span class="required">*</span></th>
                            <td>&lt;input type="text" name="email" /&gt;&lt;/td>
                        </tr>
                        <tr>
                            <th>Date of birth<br />(mm/dd/yyyy): <span class="required">*</span></th>
                            <td>&lt;input type="text" name="dob" /&gt;&lt;/td>
                        </tr>
                        <tr>
                            <th>Website: </th>
                            <td>&lt;input type="text" name="website" /&gt;&lt;/td>
                        </tr>
                        <tr>
                            <th>MSN: </th>
                            <td>&lt;input type="text" name="msn" /&gt;&lt;/td>
                        </tr>
                        <tr>
                            <th>AIM: </th>
                            <td>&lt;input type="text" name="aim" /&gt;&lt;/td>
                        </tr>
                        <tr>
                            <th>YIM: </th>
                            <td>&lt;input type="text" name="yim" /&gt;&lt;/td>
                        </tr>
                        <tr>
                            <th>Avatar: </th>
                            <td>&lt;input type="file" name="avatar" /&gt;&lt;/td>
                        </tr>
                        <tr><td>&nbsp;</td></tr>
                        <tr>
                            <th class="required">* required fields</th>
                            <td colspan="2" align="left">&lt;input type="submit" value="Complete registration" /&gt;&lt;/td>
                        </tr>
                        
                    </table>
                    &lt;input type="hidden" name="register" value="1" /&gt;
                </fieldset>
            &lt;/form&gt;
                                            
        </div>
            
    </div>

</div>


Messages In This Thread
validation_errors() - by El Forum - 10-10-2009, 03:00 PM
validation_errors() - by El Forum - 10-10-2009, 03:24 PM
validation_errors() - by El Forum - 10-10-2009, 04:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB