File: /home/rtbrisc/public_html/admin/main/rating/new.php
<?php
session_start();
require_once('../assets/serve/db.php');
if(empty($_SESSION['user'])){
header("Location: ../../account/login.php");
}else{
$user = $_SESSION['user'];
$customerID = $user['CustomerID'];
$sql = mysqli_query($conn,
"SELECT c.Firstname, c.Lastname, c.Email, c.MobileNumber, c.Address, u.Username, u.Password, p.SupportPlan, p.AccountType, p.BusinessType, p.EmployeeSize
FROM tblcustomer c, tbluser u, tblplan p
WHERE u.CustomerID = '$customerID' && p.CustomerID = '$customerID'");
if($row = mysqli_fetch_assoc($sql)){
$msg = "Success!!";
}else{
$msg = "Failed!!";
}
}
?>
<?php include ('../general/header.php') ?>
<body class="fix-header fix-sidebar card-no-border">
<!-- ============================================================== -->
<!-- Preloader - style you can find in spinners.css -->
<!-- ============================================================== -->
<div class="preloader">
<svg class="circular" viewBox="25 25 50 50">
<circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10" /> </svg>
</div>
<!-- ============================================================== -->
<!-- Main wrapper - style you can find in pages.scss -->
<!-- ============================================================== -->
<div id="main-wrapper">
<!-- ============================================================== -->
<!-- Topbar header - style you can find in pages.scss -->
<!-- ============================================================== -->
<header class="topbar">
<nav class="navbar top-navbar navbar-expand-md navbar-light">
<!-- ============================================================== -->
<!-- Logo -->
<!-- ============================================================== -->
<?php include ('../general/logo.php') ?>
<!-- ============================================================== -->
<!-- End Logo -->
<!-- ============================================================== -->
<?php include ('../general/user_navbar.php') ?>
</nav>
</header>
<!-- ============================================================== -->
<!-- End Topbar header -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Left Sidebar - style you can find in sidebar.scss -->
<!-- ============================================================== -->
<aside class="left-sidebar">
<!-- Sidebar scroll-->
<div class="scroll-sidebar">
<!-- User profile -->
<?php include ('../general/user_sidebar.php') ?>
<!-- End User profile text-->
<!-- Sidebar navigation-->
<?php include("../general/side_navbar.php"); ?>
<!-- End Sidebar navigation -->
</div>
<!-- End Sidebar scroll-->
</aside>
<!-- ============================================================== -->
<!-- End Left Sidebar - style you can find in sidebar.scss -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Page wrapper -->
<!-- ============================================================== -->
<div class="page-wrapper">
<!-- ============================================================== -->
<!-- Container fluid -->
<!-- ============================================================== -->
<div class="container-fluid">
<!-- ============================================================== -->
<!-- Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<div class="row page-titles">
<div class="col-md-5 col-8 align-self-center">
<h3 class="text-themecolor">
<?php echo $row['Lastname'] . ", " . $row['Firstname']; ?>
</h3>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="../dashboard">Dashboard</a></li>
<li class="breadcrumb-item"><a href="index.php">Payment</a></li>
<li class="breadcrumb-item active">New Payment</li>
</ol>
</div>
</div>
<!-- ============================================================== -->
<!-- End Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Start Page Content -->
<!-- ============================================================== -->
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<h4 class="card-title">Animated Line Inputs Form With Floating Labels</h4>
<h6 class="card-subtitle">Just add <code>floating-labels</code> class to the form and <code>has-warning, has-success, has-danger & has-error</code> for various inputs. For input with icon add <code>has-feedback</code> class.</h6>
<form class="floating-labels m-t-40">
<div class="form-group m-b-40">
<input type="text" class="form-control input-sm" id="input9"><span class="bar"></span>
<label for="input9">Small Input</label>
</div>
<div class="form-group m-b-40">
<select class="form-control p-0" id="input6">
<option></option>
<option>Male</option>
<option>Female</option>
</select><span class="bar"></span>
<label for="input6">Gender</label>
</div>
<div class="form-group m-b-40">
<textarea class="form-control" rows="4" id="input7"></textarea>
<span class="bar"></span>
<label for="input7">Text area</label>
</div>
<div class="form-group m-b-40">
<input type="file" class="form-control input-sm" id="input9">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- ============================================================== -->
<!-- End Container fluid -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- footer -->
<!-- ============================================================== -->
<?php include ('../general/footer_text.php') ?>
<!-- ============================================================== -->
<!-- End footer -->
<!-- ============================================================== -->
</div>
<!-- ============================================================== -->
<!-- End Page wrapper -->
<!-- ============================================================== -->
</div>
<!-- ============================================================== -->
<!-- End Wrapper -->
<!-- ============================================================== -->
<?php include ('../general/footer.php'); ?>
</body>
<!-- Mirrored from wrappixel.com/demos/admin-templates/material-pro/material/index2.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 16 Apr 2018 22:21:49 GMT -->
</html>