67 lines
3.3 KiB
PHP
Executable File
67 lines
3.3 KiB
PHP
Executable File
|
|
|
|
<div class="app-content content">
|
|
<div class="content-wrapper">
|
|
<div class="content-body">
|
|
<!-- block examples section start -->
|
|
<section id="block-examples">
|
|
<div class="row">
|
|
<div class="col-md-12 col-sm-12">
|
|
<div class="card">
|
|
<div class="card-header card-header-title-part card_mrgn">
|
|
<header class="panel-heading font-weight-bold">
|
|
<h3><?php echo lang('Welcome To The Patient Dashboard'); ?></h3>
|
|
</header>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="py-3">
|
|
<?php
|
|
if($patient->progress>=80)
|
|
{
|
|
if($patient->active_status=="1")
|
|
{
|
|
?>
|
|
<h2 class="text-center text-success">
|
|
<?php echo lang('Your are now an Active Patient')?>
|
|
</h2>
|
|
<?php
|
|
}
|
|
else
|
|
{
|
|
?>
|
|
<h2 class="text-center text-success">
|
|
<?php echo lang('Your Form Has Been Submitted Successfully')?>
|
|
</h2>
|
|
<h3 class="text-center text-info">
|
|
<?php echo lang('Wait For The Activation')?>
|
|
</h3>
|
|
<?php
|
|
}
|
|
|
|
}
|
|
else
|
|
{
|
|
?>
|
|
<h2 class="text-center text-danger">
|
|
<?php echo lang('Incomplete Form Submission')?>
|
|
</h2>
|
|
<span class="center">
|
|
<?php echo lang('Click to fill up the form');?> 
|
|
<a type="button" class="btn btn-primary" href="<?php echo base_url()?>patientDashboard/profile">
|
|
<?php echo lang('Click Here')?>
|
|
</a>
|
|
</span>
|
|
<?php
|
|
}
|
|
?>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- -----End Section------ -->
|
|
</div>
|
|
</div>
|
|
</div>
|