Пример #1
0
?>

                    <?php 
$user = new Access();
?>

                    <div class="container-fluid">
                        <section class="container">
                            <div class="container-page">
                                <div class="col-md-6">
                                    <h3 class="dark-grey">Registration</h3>

                                    <div class="form-group col-lg-12">
                                        <label>Username</label>
                                        <input type="text" name="username" id="subject" class="form-control" id="" value="<?php 
echo $user->get_user_name($_SESSION['uid']);
?>
"'>
                                    </div>

                                    <div class="form-group col-lg-6">
                                        <label>Password</label>
                                        <input type="password" name="" class="form-control" id="" value="">
                                    </div>

                                    <div class="form-group col-lg-6">
                                        <label>Repeat Password</label>
                                        <input type="password" name="" class="form-control" id="" value="">
                                    </div>

                                    <div class="form-group col-lg-6">
Пример #2
0
    <br/>
    <hr/>
    <br/>

    <div class="login" style="width: 400px;">
        <form id="contactform" name="login" method="post" action="">
            <fieldset id="contactform">
                <?php 
echo Validate::$er_message;
?>

                <?php 
$user = new Access();
echo '<div class="one_full_c">';
echo '<label for="subject">My Username:<span></span></label>';
echo '<input type="text" name="username" id="subject" value="' . $user->get_user_name($_SESSION['uid']) . '" class="required requiredField subject" />';
echo '</div>';
echo '<div class="one_full_c">';
echo '<label for="subject">My Email:<span></span></label>';
echo '<input type="text" name="email" id="subject" value="' . $user->get_email($_SESSION['uid']) . '" class="required requiredField subject" />';
echo '</div>';
//echo '<div class="one_full_c">';
//echo '<label for="subject">My Password:<span></span></label>';
//echo '<input type="password" name="password" id="subject" value="" class="required requiredField subject" />';
//echo '</div>';
echo '<div class="one_full_c">';
echo '<label for="subject">My first Name:<span></span></label>';
echo '<input type="text" name="firstname" id="subject" value="' . $user->get_f_name($_SESSION['uid']) . '" class="required requiredField subject" />';
echo '</div>';
echo '<div class="one_full_c">';
echo '<label for="subject">My Last Name:<span></span></label>';