예제 #1
0
<?php

include "../inc/cookie.php";
include "../model/User.php";
include "../model/Skill.php";
include "../model/Identity.php";
$User = new User();
$Skill = new Skill();
$Identity = new Identity();
$resultUser = $User->getSingle();
$resultSkill = $Skill->getAllForUser();
$resultIdentity = $Identity->getAllForUser();
?>
<div class="row">
    <div class="col-md-12">
        <h2 class="caps">your profile</h2>
    </div>
</div>
<div class="row">
    <div class="col-md-4 col-centered ">
        <div class="panel panel-default">
            <div class="panel-body" >
                <h3 class="caps">
                    <?php 
while ($User = $resultUser->fetch_object()) {
    echo $User->FirstName . "&nbsp;" . $User->LastName;
}
?>
                </h3><hr>
                <?php 
while ($Identity = $resultIdentity->fetch_object()) {