Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions billingAndInvoices.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
</head>
<style>
.text-start{
font-weight:500;
color:#000000;
position:absolute;
left:295px;
top:100px;
line-height:20px;
display:flex;
align-items:center;
}
.container{
margin-top:15vh;
}

@media screen and (max-width: 720px){

.text-start{
margin-top:40px;
margin-right:100px;
width:30%;
}
}
@media screen and (max-width:400px){
.text-start{
margin-top:100px;
font-size:18px;
font-weight:600;
margin-right:20px;
flex-wrap:no-wrap;
width:100px;
}
.text-center{
margin-left:20px;
}
}

</style>
<body>
<?php
include 'navbar.php';
?>

<h3 class="text-start">Billing and Invoices</h3>

<div class="container">
<img src="images/bill.png" class="rounded mx-auto d-block" alt="...">
<h4 class="text-center">No bills issued currently!</h4>
</div>
</body>
</html>
12 changes: 12 additions & 0 deletions chat/uploads/profile_pic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions chat_home.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
// die();
if (isset($_SESSION['dietitianuserID'])) {
# database connection file
<<<<<<< Updated upstream
=======
$user=$_SESSION['dietitianuserID'];
$sql="SELECT * FROM messages where dietitianID='$user'";
$result=$conn->query($sql);
if(mysqli_num_rows($result)<1){
header('Location:message.php');
}
>>>>>>> Stashed changes
include 'app/db.conn.php';

include 'app/helpers/user.php';
Expand Down
11 changes: 11 additions & 0 deletions client_list.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<?php
include('navbar.php');
<<<<<<< Updated upstream
=======
if(isset($_SESSION['dietitianuserID'])){
$dietitian_id = $_SESSION['dietitianuserID'];
$sql="SELECT * FROM addclient WHERE dietitianuserID='$dietitian_id'";
$result = $conn->query($sql);
if(mysqli_num_rows($result)<1){
header('Location:clientlist.php');
}
}
>>>>>>> Stashed changes
?>
<!DOCTYPE html>
<html lang="en">
Expand Down
107 changes: 107 additions & 0 deletions clientlist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body {
font-family: 'NATS', sans-serif !important;
}
.dashboard{
margin-top: 1rem;
margin-left: 17rem;

display: flex;
flex-direction: column;
gap: 1rem;

}

.container3{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
margin:auto;
}
.request{
font-size:24px;
}
#request{
background: #7282FB;
border-radius: 10px;
color:white;
border:none;
width:211px;
margin-top:1.5rem;
width:200px;
}
.clients_container2 {
margin-top: 2rem;
font-size:25px;
}
.button-top{
border:none;
background:white;
border-bottom : 4px solid #4B9AFB;
}
@media screen and (max-width: 720px) {
.dashboard_comtainer1{
display: flex;
gap:4rem;
}
.dashboard{
margin-left: 2rem;
}
.lilac1{
position:absolute;
top:40vh;
right:5vw;
z-index:-2;
}
.lilac2{
position:absolute;
z-index:-2;
left:0;
bottom:0;
}
.container3{
flex-wrap:wrap;
margin:auto;
}

}
</style>
</head>
<body>
<?php include 'navbar.php'?>

<div class="dashboard">
<div class="dashboard_comtainer1">
<p style="font-size: 48px;font-weight:500;margin-bottom: 0;">Client List</p>
</div>
<div class="clients_container2">
<form action="" method="post">
<button class="button-top" name="active-btn">Active</button>
<button class="button-top" name="pending-btn" style="margin-left:2rem">Pending</button>
</form>
</div>
<br><br>
<div class="lilac1">
<img src="images/lilac user icon (2).png" style="position: absolute;width:30vw;height:40vh;top:10%; right:7%;" class="image1">
</div>
<div class="container3">

<div style="font-size:35px;font-weight:500;margin-top:30px;" class="clients_title">No clients added yet!</div>
<div class="request">
<a href="#"><button id="request">Send Request</button></a>
</div>
</div>
<div class="lilac2">
<img src="images/lilac user icon (4).png" style="width:25vw;height:40vh;position:absolute;left:20vw;bottom:3vh" >
</div>
</div>
</body>
</html>
80 changes: 80 additions & 0 deletions dietplan.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
</head>
<style>
.text-start{
font-weight:500;
color:#000000;
position:absolute;
left:295px;
top:100px;
line-height:20px;
display:flex;
align-items:center;
}
.container{
margin-top:15vh;
}
.button{
background: #FFFFFF;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.25);
border-radius: 50px;
border:1px solid white;
width:284px;
height:97px;
display:flex;
flex-direction:rows;
justify-content:space-around;
position:absolute;
right:10vh;
}
.button p,img{
color:#4B9AFB;
font-size:20px;
font-weight:400;
margin:auto 10px;
}

@media screen and (max-width: 720px){
.text-start{
margin-top:40px;
}
}
@media screen and (max-width:400px){
.text-start{
margin-top:100px;
font-size:18px;
font-weight:600;
margin-right:20px;
flex-wrap:no-wrap;
width:100px;
}
.text-center{
margin-left:20px;
}
}

</style>
<body>
<?php
include 'navbar.php';
?>

<h3 class="text-start">Diet Plan</h3>

<div class="container">
<img src="images/dietplan.png" class="rounded mx-auto d-block" alt="...">
<h4 class="text-center">You haven't created any plan yet!</h4>
</div>
<button type="btn" class="button md-end">
<p>Create Plan</p>
<img src="images/Vector (9).png" class="" alt="...">
</button>
</body>
</html>
Binary file added images/Medal (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Vector (9).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/bill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 16 additions & 2 deletions images/camera.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/client.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/dietplan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/lilac user icon (2).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/lilac user icon (4).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions images/man_drinking_water.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/pay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading