285 lines
12 KiB
PHP
285 lines
12 KiB
PHP
<?php require_once('Connections/bkngstm.php'); ?>
|
|
<?php require_once('webassist/mysqli/rsobj.php'); ?>
|
|
<?php
|
|
$servicesclass = new WA_MySQLi_RS("servicesclass",$bkngstm,0);
|
|
$servicesclass->setQuery("SELECT * FROM service LEFT JOIN servicecategory on service.category=servicecategory.idservicecategory");
|
|
$servicesclass->execute();
|
|
?>
|
|
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
<title>YogiBook - Prenotazioni YogaSoul</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta content="YogiBook - Prenotazione facile YogaSOul" name="description" />
|
|
<meta content="Advanced Creative Solutions" name="author" />
|
|
<!-- App favicon -->
|
|
<link rel="shortcut icon" href="assets/images/favicon.ico">
|
|
|
|
<!-- Bootstrap Css -->
|
|
<link href="assets/css/bootstrap.min.css" id="bootstrap-style" rel="stylesheet" type="text/css" />
|
|
<!-- Icons Css -->
|
|
<link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
|
<!-- App Css-->
|
|
<link href="assets/css/app.min.css" id="app-style" rel="stylesheet" type="text/css" />
|
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
|
<!-- <body data-layout="horizontal"> -->
|
|
|
|
<!-- Begin page -->
|
|
<div id="layout-wrapper">
|
|
|
|
<!-- Top Bar -->
|
|
<header id="page-topbar" class="isvertical-topbar">
|
|
<div class="navbar-header">
|
|
<div class="d-flex">
|
|
<!-- LOGO -->
|
|
<?php include('include/logoarea.php'); ?>
|
|
|
|
<button type="button" class="btn btn-sm px-3 font-size-24 header-item waves-effect vertical-menu-btn">
|
|
<i class="bx bx-menu align-middle"></i>
|
|
</button>
|
|
|
|
<!-- start page title -->
|
|
<div class="page-title-box align-self-center d-none d-md-block">
|
|
<h4 class="page-title mb-0">Inserimento e Propagazione Classi</h4>
|
|
</div>
|
|
<!-- end page title -->
|
|
|
|
</div>
|
|
|
|
<div class="d-flex">
|
|
|
|
<?php include('include/languageselection.php'); ?>
|
|
|
|
<div class="dropdown d-inline-block">
|
|
<button type="button" class="btn header-item noti-icon"
|
|
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
<i class="bx bx-search icon-sm align-middle"></i>
|
|
</button>
|
|
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-end p-0">
|
|
<form class="p-2">
|
|
<div class="search-box">
|
|
<div class="position-relative">
|
|
<input type="text" class="form-control rounded bg-light border-0" placeholder="Search...">
|
|
<i class="bx bx-search search-icon"></i>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<?php include('include/profiletopbar.php'); ?>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<?php include('include/sidebar.php'); ?>
|
|
|
|
<header class="ishorizontal-topbar">
|
|
<div class="navbar-header">
|
|
<div class="d-flex">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="topnav">
|
|
<div class="container-fluid">
|
|
<nav class="navbar navbar-light navbar-expand-lg topnav-menu">
|
|
|
|
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- ============================================================== -->
|
|
<!-- Start right Content here -->
|
|
<!-- ============================================================== -->
|
|
<div class="main-content">
|
|
<div class="page-content">
|
|
<div class="container-fluid">
|
|
|
|
|
|
<div class="row">
|
|
<div class="col-xl-12">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<h5>Benvenuta/o </h5>
|
|
<p>Di seguito puoi vedere lo stato delle tue prenotazioni</p>
|
|
<div class="table-responsive">
|
|
<table class="table mb-0">
|
|
<thead class="table-light">
|
|
|
|
<tr>
|
|
<th>Lezioni acquistate</th>
|
|
<th>Da prenotare</th>
|
|
<th>Prenotate</th>
|
|
<th>Effettuate</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
|
|
<td>Table cell</td>
|
|
<td>Table cell</td>
|
|
<td>Table cell</td>
|
|
<td>Table cell</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
<!-- container-fluid -->
|
|
</div>
|
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
|
<div class="row">
|
|
<div class="col-xl-12">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
|
|
<div class="">
|
|
<div class="row mb-2">
|
|
<div class="col-xl-3 col-md-12">
|
|
<div class="pb-3 pb-xl-0">
|
|
<form class="email-search">
|
|
<div class="position-relative">
|
|
<input type="text" class="form-control bg-light" placeholder="Search...">
|
|
<span class="bx bx-search font-size-18"></span>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="col-xl-9 col-md-12">
|
|
<div class="text-sm-end">
|
|
<button type="button" class="btn btn-success btn-rounded waves-effect waves-light mb-2 me-2" data-bs-toggle="modal" data-bs-target=".create-task"><i class="mdi mdi-plus me-1"></i> Acquista Pacchetto Lezioni</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="table-responsive">
|
|
<table class="table table-nowrap align-middle mb-0">
|
|
<thead class="table-light">
|
|
|
|
|
|
<tr>
|
|
<th> </th>
|
|
<th> Classe </th>
|
|
<th> Durata </th>
|
|
<th> Appuntamento </th>
|
|
<th> Status </th>
|
|
<th> Action </th>
|
|
</tr> </thead>
|
|
<tbody>
|
|
<?php
|
|
$wa_startindex = 0;
|
|
while(!$servicesclass->atEnd()) {
|
|
$wa_startindex = $servicesclass->Index;
|
|
?>
|
|
<tr>
|
|
<td style="width: 40px;">
|
|
|
|
</td>
|
|
<td>
|
|
<h5 class="text-truncate font-size-14 m-0"><a href="javascript: void(0);" class="text-dark"><?php echo($servicesclass->getColumnVal("servicename")); ?></a></h5>
|
|
</td>
|
|
<td>
|
|
<p class="mb-0">
|
|
<i class="mdi mdi-clock-time-nine-outline align-middle font-size-16 me-1"></i> <?php echo($servicesclass->getColumnVal("day")); ?>
|
|
</p>
|
|
</td>
|
|
<td>
|
|
<p class="mb-0"><?php echo($servicesclass->getColumnVal("time")); ?></p>
|
|
</td>
|
|
|
|
<td>
|
|
<div class="text-center">
|
|
<span class="badge rounded-pill badge-soft-success font-size-11">Prenotato</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" class="btn btn-warning waves-effect waves-light">
|
|
<i class="bx bx-error font-size-16 align-middle me-2"></i> Riprogramma
|
|
</button>
|
|
<button type="button" class="btn btn-danger waves-effect waves-light">
|
|
<i class="bx bx-block font-size-16 align-middle me-2"></i> Cancella
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
$servicesclass->moveNext();
|
|
}
|
|
$servicesclass->moveFirst(); //return RS to first record
|
|
unset($wa_startindex);
|
|
unset($wa_repeatcount);
|
|
?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
<!-- container-fluid -->
|
|
</div>
|
|
<!-- End Page-content -->
|
|
|
|
<?php include('include/footer.php'); ?>
|
|
</div>
|
|
<!-- end main content-->
|
|
|
|
</div>
|
|
<!-- END layout-wrapper -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- JAVASCRIPT -->
|
|
<script src="assets/libs/bootstrap/js/bootstrap.bundle.min.js"></script>
|
|
<script src="assets/libs/metismenujs/metismenujs.min.js"></script>
|
|
<script src="assets/libs/simplebar/simplebar.min.js"></script>
|
|
<script src="assets/libs/eva-icons/eva.min.js"></script>
|
|
|
|
<script src="assets/js/app.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|