No known key found for this signature in database
GPG Key ID: C52335070B62F025
5 changed files with 181 additions and 1 deletions
-
14app/DescendantEnum.php
-
87app/Helpers/functions.php
-
3app/Http/Controllers/UsersController.php
-
45app/User.php
-
33resources/views/users/tree3.blade.php
@ -0,0 +1,14 @@ |
|||
<?php |
|||
|
|||
|
|||
namespace App; |
|||
|
|||
|
|||
class DescendantEnum |
|||
{ |
|||
const ANAK = 0; |
|||
const CUCU = 1; |
|||
const CICIT = 2; |
|||
const CANGGAH = 3; |
|||
const WARENG = 4; |
|||
} |
|||
@ -0,0 +1,33 @@ |
|||
@extends('layouts.user-profile-wide') |
|||
|
|||
@section('subtitle', trans('app.family_tree')) |
|||
|
|||
@section('user-content') |
|||
|
|||
<?php |
|||
$childsTotal = 0; |
|||
$grandChildsTotal = 0; |
|||
$ggTotal = 0; |
|||
$ggcTotal = 0; |
|||
$ggccTotal = 0; |
|||
?>
|
|||
|
|||
<div id="wrapper"> |
|||
{!! createFamilyTree($user) !!} |
|||
</div> |
|||
|
|||
<div class="container"> |
|||
<hr> |
|||
<div class="row"> |
|||
<div class="col-md-1"> </div> |
|||
{!! showFamilyTreeCount($user, 4) !!} |
|||
<div class="col-md-1"> </div> |
|||
</div> |
|||
</div> |
|||
|
|||
@endsection |
|||
|
|||
@section ('ext_css') |
|||
<link rel="stylesheet" href="{{ asset('css/tree.css') }}"> |
|||
@endsection |
|||
|
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue