first commit
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
ini_set('display_errors', 1);
|
||||
require_once('../../Connections/repnew.php');
|
||||
require_once('../../webassist/mysqli/rsobj.php');
|
||||
require_once('../../webassist/mysqli/queryobj.php');
|
||||
|
||||
/* UPDATE EXISTING RECORD */
|
||||
if ((((isset($_POST["upformname"])) ? $_POST["upformname"] : "") != "")) {
|
||||
$UpdateQuery = new WA_MySQLi_Query($repnew);
|
||||
$UpdateQuery->Action = "update";
|
||||
$UpdateQuery->Table = "requirement";
|
||||
$UpdateQuery->bindColumn("idlistrequirements", "i", "" . ((isset($_POST["idrsllimits"])) ? $_POST["idrsllimits"] : "") . "", "WA_DEFAULT");
|
||||
$UpdateQuery->bindColumn("loq_requirements", "s", "" . ((isset($_POST["loq"])) ? $_POST["loq"] : "") . "", "WA_DEFAULT");
|
||||
$UpdateQuery->bindColumn("lowerlimit_requirements", "s", "" . ((isset($_POST["minlim"])) ? $_POST["minlim"] : "") . "", "WA_DEFAULT");
|
||||
$UpdateQuery->bindColumn("upper_limit_requirements", "s", "" . ((isset($_POST["maxlim"])) ? $_POST["maxlim"] : "") . "", "WA_DEFAULT");
|
||||
|
||||
/* SET UM AS NOT REQUIRED */
|
||||
$UpdateQuery->bindColumn("unit_measure_id", "i", "" . $_POST["um"] . "", FALSE);
|
||||
|
||||
$UpdateQuery->addFilter("idrequirements", "=", "i", "" . ($_POST['idrequirements']) . "");
|
||||
|
||||
$UpdateQuery->execute();
|
||||
|
||||
if ($repnew->error) {
|
||||
echo "ERROR: " . $repnew->error;
|
||||
} else {
|
||||
echo "SUCCESS";
|
||||
}
|
||||
}
|
||||
|
||||
/* CREATE NEW RECORD */
|
||||
if ((((isset($_POST["insformname"])) ? $_POST["insformname"] : "") != "")) {
|
||||
$checkrecord = new WA_MySQLi_RS("checkrecord", $repnew, 0);
|
||||
$checkrecord->setQuery("SELECT * FROM requirement WHERE requirement.material_id='{$_POST["material_id"]}' AND requirement.rsl_id='{$_POST["rsl_id"]}' AND requirement.analysis_id='{$_POST["analysis_id"]}' AND requirement.component_id='{$_POST["component_id"]}'");
|
||||
$checkrecord->execute();
|
||||
$idrequirements = $checkrecord->getColumnVal("idrequirements");
|
||||
|
||||
$ThisQuery = new WA_MySQLi_Query($repnew);
|
||||
$ThisQuery->Table = "requirement";
|
||||
|
||||
if (empty($idrequirements)) {
|
||||
/* INSERT */
|
||||
$ThisQuery->Action = "insert";
|
||||
|
||||
$ThisQuery->bindColumn("material_id", "i", "" . ((isset($_POST["material_id"])) ? $_POST["material_id"] : "") . "", "WA_DEFAULT");
|
||||
$ThisQuery->bindColumn("rsl_id", "i", "" . ((isset($_POST["rsl_id"])) ? $_POST["rsl_id"] : "") . "", "WA_DEFAULT");
|
||||
$ThisQuery->bindColumn("analysis_id", "i", "" . ((isset($_POST["analysis_id"])) ? $_POST["analysis_id"] : "") . "", "WA_DEFAULT");
|
||||
$ThisQuery->bindColumn("component_id", "i", "" . ((isset($_POST["component_id"])) ? $_POST["component_id"] : "") . "", "WA_DEFAULT");
|
||||
$ThisQuery->bindColumn("idlistrequirements", "i", "" . ((isset($_POST["idrsllimits"])) ? $_POST["idrsllimits"] : "") . "", "WA_DEFAULT");
|
||||
} else {
|
||||
/* UPDATE */
|
||||
$ThisQuery->Action = "update";
|
||||
}
|
||||
|
||||
$ThisQuery->bindColumn("loq_requirements", "s", "" . ((isset($_POST["loq"])) ? $_POST["loq"] : "") . "", "WA_DEFAULT");
|
||||
$ThisQuery->bindColumn("lowerlimit_requirements", "s", "" . ((isset($_POST["minlim"])) ? $_POST["minlim"] : "") . "", "WA_DEFAULT");
|
||||
$ThisQuery->bindColumn("upper_limit_requirements", "s", "" . ((isset($_POST["maxlim"])) ? $_POST["maxlim"] : "") . "", "WA_DEFAULT");
|
||||
|
||||
/* SET UM AS NOT REQUIRED */
|
||||
$ThisQuery->bindColumn("unit_measure_id", "i", "" . ((isset($_POST["um"])) ? $_POST["um"] : "") . "", FALSE);
|
||||
|
||||
if (!empty($idrequirements)) {
|
||||
$ThisQuery->addFilter("idrequirements", "=", "i", "" . $idrequirements . "");
|
||||
}
|
||||
|
||||
$ThisQuery->execute();
|
||||
|
||||
|
||||
if ($repnew->error) {
|
||||
echo "ERROR: " . $repnew->error;
|
||||
} else {
|
||||
echo "SUCCESS";
|
||||
}
|
||||
}
|
||||
@@ -1,22 +1,22 @@
|
||||
<?php
|
||||
|
||||
$companydet = new WA_MySQLi_RS("companydet",$gprepapp,1);
|
||||
$companydet = new WA_MySQLi_RS("companydet", $repnew, 1);
|
||||
$companydet->setQuery("SELECT * FROM company WHERE company.id=$idcompany");
|
||||
$companydet->execute();
|
||||
|
||||
// Verifica se ci sono risultati
|
||||
if (empty ($companydet->getColumnVal("id"))) {
|
||||
header("Location: insert-mycompany.php");
|
||||
exit;
|
||||
if (empty($companydet->getColumnVal("id"))) {
|
||||
header("Location: insert-mycompany.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
$idcompany=$companydet->getColumnVal("id");
|
||||
$namecompany=$companydet->getColumnVal("company_name");
|
||||
$companyucode=$companydet->getColumnVal("companyucode");
|
||||
$idcompany = $companydet->getColumnVal("id");
|
||||
$namecompany = $companydet->getColumnVal("company_name");
|
||||
$companyucode = $companydet->getColumnVal("companyucode");
|
||||
?>
|
||||
<?php
|
||||
//check active modules
|
||||
$checkmodules = new WA_MySQLi_RS("checkmodules",$gprepapp,0);
|
||||
$checkmodules = new WA_MySQLi_RS("checkmodules", $repnew, 0);
|
||||
$checkmodules->setQuery("SELECT * FROM activemodules LEFT JOIN modules ON activemodules.idmodules=modules.idmodules WHERE activemodules.idcompany=$idcompany AND activemodules.activemod='Y'");
|
||||
$checkmodules->execute();
|
||||
?>
|
||||
@@ -25,10 +25,10 @@ $checkmodules->execute();
|
||||
$activemod = array();
|
||||
|
||||
$wa_startindex = 0;
|
||||
while(!$checkmodules->atEnd()) {
|
||||
while (!$checkmodules->atEnd()) {
|
||||
$wa_startindex = $checkmodules->Index;
|
||||
|
||||
$activemod[] = $checkmodules->getColumnVal("idmodules");;
|
||||
$activemod[] = $checkmodules->getColumnVal("idmodules");;
|
||||
|
||||
$checkmodules->moveNext();
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<footer class="footer">
|
||||
© 2024 YogiWhere.
|
||||
</footer>
|
||||
© 2020 Reportify by CEsoft.
|
||||
</footer>
|
||||
@@ -3,29 +3,37 @@
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
error_reporting(E_ALL | E_STRICT);
|
||||
|
||||
define('BASE_PATH', realpath(__DIR__ . '/../../..'));
|
||||
define('BASE_URL', '/reportifynew/public/');
|
||||
define('USERAREA_PATH', '/reportifynew/public/userarea/');
|
||||
define('INCLUDE_PATH', BASE_URL . 'userarea/include/');
|
||||
define('ASSETS_PATH', BASE_URL . 'userarea/include/assets/');
|
||||
// This should be equal to: PATH_TO_VANGUARD_FOLDER/extra/auth.php
|
||||
include('../../extra/auth.php');
|
||||
|
||||
require_once(BASE_PATH . '/extra/auth.php');
|
||||
|
||||
//require_once __DIR__ . '/extra/auth.php';
|
||||
|
||||
// Here we just check if user is not
|
||||
// logged in, and in that case we redirect
|
||||
// the user to vanguard login page.
|
||||
|
||||
if (! Auth::check()) {
|
||||
|
||||
redirectTo('../../public/login');
|
||||
if (!Auth::check()) {
|
||||
|
||||
}
|
||||
redirectTo(BASE_URL . 'login'); // Percorso relativo alla radice del sito
|
||||
|
||||
}
|
||||
|
||||
$user = Auth::user();
|
||||
|
||||
$iduserlogin=$user->present()->id;
|
||||
$nameuser=$user->present()->first_name;
|
||||
$surnameuser=$user->present()->last_name;
|
||||
$emailuser=$user->present()->email;
|
||||
$avatar=$user->present()->avatar;
|
||||
$idcompany=$user->present()->idcompany;
|
||||
$kindofrole=$user->present()->role_id;
|
||||
$iduserlogin = $user->present()->id;
|
||||
$nameuser = $user->present()->first_name;
|
||||
$surnameuser = $user->present()->last_name;
|
||||
$emailuser = $user->present()->email;
|
||||
$avatar = $user->present()->avatar;
|
||||
$idcompany = $user->present()->idcompany;
|
||||
$kindofrole = $user->present()->role_id;
|
||||
|
||||
|
||||
|
||||
@@ -39,41 +47,52 @@ $kindofrole=$user->present()->role_id;
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
<?php
|
||||
if (session_status() == PHP_SESSION_NONE) {
|
||||
session_start();
|
||||
session_start();
|
||||
}
|
||||
|
||||
$_SESSION["iduserlogin"]=$iduserlogin;
|
||||
$iduserlog=$_SESSION["iduserlogin"];
|
||||
$_SESSION["nameuser"]=$nameuser;
|
||||
$_SESSION["surnameuser"]=$surnameuser;
|
||||
$_SESSION["emailuser"]=$emailuser;
|
||||
$_SESSION["photouser"]=$avatar;
|
||||
$photouser=$_SESSION["photouser"];
|
||||
$_SESSION["iduserlogin"] = $iduserlogin;
|
||||
$iduserlog = $_SESSION["iduserlogin"];
|
||||
$_SESSION["nameuser"] = $nameuser;
|
||||
$_SESSION["surnameuser"] = $surnameuser;
|
||||
$_SESSION["emailuser"] = $emailuser;
|
||||
$_SESSION["photouser"] = $avatar;
|
||||
$photouser = $_SESSION["photouser"];
|
||||
?>
|
||||
<?php
|
||||
<?php
|
||||
|
||||
if (isset($_GET['info'])) {
|
||||
$infobox=$_GET['info'];
|
||||
$_SESSION["infobox"]=$infobox;
|
||||
}
|
||||
$infobox = $_GET['info'];
|
||||
$_SESSION["infobox"] = $infobox;
|
||||
}
|
||||
if (isset($_SESSION["infobox"])) {
|
||||
$infobox=$_SESSION["infobox"];
|
||||
} else {
|
||||
$infobox=""; }
|
||||
|
||||
?>
|
||||
<?php require_once('../Connections/gprepapp.php');
|
||||
$infobox = $_SESSION["infobox"];
|
||||
} else {
|
||||
$infobox = "";
|
||||
}
|
||||
|
||||
?>
|
||||
<?php require_once('../webassist/mysqli/rsobj.php'); ?>
|
||||
<?php require_once('../webassist/mysqli/queryobj.php'); ?>
|
||||
<?php require_once("../webassist/form_validations/wavt_scripts_php.php"); ?>
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
require_once(BASE_PATH . '\public\Connections\repnew.php');
|
||||
|
||||
|
||||
|
||||
?>
|
||||
<?php require_once(BASE_PATH . '/public/webassist/mysqli/rsobj.php'); ?>
|
||||
<?php require_once(BASE_PATH . '/public/webassist/mysqli/queryobj.php'); ?>
|
||||
<?php require_once(BASE_PATH . "/public/webassist/form_validations/wavt_scripts_php.php"); ?>
|
||||
<?php //include files
|
||||
include('../languages/en/general.php');
|
||||
|
||||
include("generalsettings.php");
|
||||
include("class/company.php");
|
||||
|
||||
include(BASE_PATH . '/public/languages/en/general.php');
|
||||
include(BASE_PATH . '/public/languages/en/dash.php');
|
||||
|
||||
include(BASE_PATH . "/public/userarea/include/generalsettings.php");
|
||||
|
||||
include(BASE_PATH . "/public/userarea/include/class/company.php");
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,3 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta content="Premium Multipurpose Admin & Dashboard Template" name="description" />
|
||||
<meta content="Themesdesign" name="author" />
|
||||
@@ -1,161 +1,162 @@
|
||||
<!-- ========== Left Sidebar Start ========== -->
|
||||
<div class="left side-menu">
|
||||
<button type="button" class="button-menu-mobile button-menu-mobile-topbar open-left waves-effect">
|
||||
<i class="ion-close"></i>
|
||||
</button>
|
||||
<button type="button" class="button-menu-mobile button-menu-mobile-topbar open-left waves-effect">
|
||||
<i class="ion-close"></i>
|
||||
</button>
|
||||
|
||||
<!-- LOGO -->
|
||||
<div class="topbar-left">
|
||||
<div class="text-center bg-logo">
|
||||
<a href="index.html" class="logo"><i class="mdi mdi-bowling text-success"></i> Zoogler</a>
|
||||
<!-- <a href="index.html" class="logo"><img src="assets/images/logo.png" height="24" alt="logo"></a> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="sidebar-user">
|
||||
<img src="assets/images/users/avatar-6.jpg" alt="user" class="rounded-circle img-thumbnail mb-1">
|
||||
<h6 class=""><?php echo $_SESSION["nameuser"]; ?> <?php echo $_SESSION["surnameuser"]; ?> </h6>
|
||||
<p class=" online-icon text-dark"><i class="mdi mdi-record text-success"></i>online</p>
|
||||
<ul class="list-unstyled list-inline mb-0 mt-2">
|
||||
<li class="list-inline-item">
|
||||
<a href="../profile" class="" data-toggle="tooltip" data-placement="top" title="Profile"><i class="dripicons-user text-purple"></i></a>
|
||||
</li>
|
||||
<li class="list-inline-item">
|
||||
<a href="#" class="" data-toggle="tooltip" data-placement="top" title="Settings"><i class="dripicons-gear text-dark"></i></a>
|
||||
</li>
|
||||
<li class="list-inline-item">
|
||||
<a href="../logout" class="" data-toggle="tooltip" data-placement="top" title="Log out"><i class="dripicons-power text-danger"></i></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- LOGO -->
|
||||
<div class="topbar-left">
|
||||
<div class="text-center bg-logo">
|
||||
<a href="index.html" class="logo"><i class="mdi mdi-bowling text-success"></i> Reportify</a>
|
||||
<!-- <a href="index.html" class="logo"><img src="assets/images/logo.png" height="24" alt="logo"></a> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="sidebar-user">
|
||||
<img src="<?php echo USERAREA_PATH; ?>assets/images/users/avatar-6.jpg" alt="user" class="rounded-circle img-thumbnail mb-1">
|
||||
<h6 class=""><?php echo $_SESSION["nameuser"]; ?> <?php echo $_SESSION["surnameuser"]; ?> </h6>
|
||||
<p class=" online-icon text-dark"><i class="mdi mdi-record text-success"></i>online</p>
|
||||
<ul class="list-unstyled list-inline mb-0 mt-2">
|
||||
<li class="list-inline-item">
|
||||
<a href="<?php echo BASE_URL; ?>profile" class="" data-toggle="tooltip" data-placement="top" title="<?php echo $userprofile; ?>"><i class="dripicons-user text-purple"></i></a>
|
||||
</li>
|
||||
<li class="list-inline-item">
|
||||
<a href="<?php echo USERAREA_PATH; ?>general/settings.php" class="" data-toggle="tooltip" data-placement="top" title="<?php echo $settings; ?>"><i class="dripicons-gear text-dark"></i></a>
|
||||
</li>
|
||||
<li class="list-inline-item">
|
||||
<a href="<?php echo BASE_URL; ?>logout" class="" data-toggle="tooltip" data-placement="top" title="<?php echo $logoutbutton; ?>"><i class="dripicons-power text-danger"></i></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="sidebar-inner slimscrollleft">
|
||||
<div class="sidebar-inner slimscrollleft">
|
||||
|
||||
<div id="sidebar-menu">
|
||||
<ul>
|
||||
<li class="menu-title">Main</li>
|
||||
<div id="sidebar-menu">
|
||||
<ul>
|
||||
<li class="menu-title">Main</li>
|
||||
|
||||
<li>
|
||||
<a href="index.php" class="waves-effect">
|
||||
<i class="mdi mdi-monitor-dashboard icon nav-icon"></i>
|
||||
<span> Dashboard </span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-bag-checked"></i> <span> <?php echo $mycompany; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="mycompany.php"><?php echo $mycompany; ?></a></li>
|
||||
<li><a href="department.php"><?php echo $department; ?></a></li>
|
||||
<li><a href="contact-list.php"><?php echo $contactlist; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<?php if (in_array(3, $activemod)) { ?>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="bx bxs-check-shield"></i> <span> <?php echo $rsl; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="rsl.php"><?php echo $rsl; ?></a></li>
|
||||
<li><a href="analysis.php"><?php echo $analysis; ?></a></li>
|
||||
<li><a href="component.php"><?php echo $component; ?></a></li>
|
||||
<li><a href="analysistemplate.php">Analysis Template</a></li>
|
||||
<li><a href="component.php"><?php echo $newslettertrl; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (in_array(7, $activemod)) { ?>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="bx bx-mail-send"></i> <span> <?php echo $saytrl; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="saytrl-newsletter.php"><?php echo $newsletterlist; ?></a></li>
|
||||
<li><a href="saytrl-maillist.php"><?php echo $maillist; ?></a></li>
|
||||
<li><a href="saytrl-settings.php"><?php echo $saytrloption; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (in_array(4, $activemod)) { ?>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="bx bxl-product-hunt"></i> <span> <?php echo $products; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="products.php"><?php echo $products; ?></a></li>
|
||||
<li><a href="email-read.html"><?php echo $bom; ?></a></li>
|
||||
<li><a href="email-read.html"><?php echo $metadata; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (in_array(5, $activemod)) { ?>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-human-queue"></i> <span> <?php echo $extcompanies; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="email-inbox.html"><?php echo $extcompanies; ?></a></li>
|
||||
<li><a href="email-read.html"><?php echo $companiescontactlist; ?></a></li>
|
||||
<li><a href="email-read.html"><?php echo $categorycompanies; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (in_array(2, $activemod)) { ?>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="fas fa-chart-bar"></i> <span> <?php echo $statistictitle; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="stats-levelone.php">StatKPI</a></li>
|
||||
<li><a href="email-read.html"><?php echo $companiescontactlist; ?></a></li>
|
||||
<li><a href="email-read.html"><?php echo $categorycompanies; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (in_array(1, $activemod)) { ?>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="fas fa-chart-bar"></i> <span> Rate&Go </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="stats-ratego.php">Rate&GO</a></li>
|
||||
<li><a href="email-read.html"><?php echo $companiescontactlist; ?></a></li>
|
||||
<li><a href="email-read.html"><?php echo $categorycompanies; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="has_sub">
|
||||
<a href="tables-basic.html" class="waves-effect"><i class="dripicons-copy"></i><span> <?php echo $contactus; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
|
||||
<li><a href="pages-blank.html"><?php echo $contactusform; ?></a></li>
|
||||
<li><a href="pages-blank.html"><?php echo $supportticket; ?></a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="menu-title">Extra</li>
|
||||
|
||||
|
||||
|
||||
<li class="has_sub">
|
||||
<a href="tables-basic.html" class="waves-effect"><i class="dripicons-copy"></i><span> Template </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
|
||||
<li><a href="pages-blank.html">Blank Page</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo USERAREA_PATH; ?>index.php" class="waves-effect">
|
||||
<i class="mdi mdi-monitor-dashboard icon nav-icon"></i>
|
||||
<span> Dashboard </span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-bag-checked"></i> <span> <?php echo $mycompany; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="<?php echo USERAREA_PATH; ?>general/mycompany.php"><?php echo $mycompany; ?></a></li>
|
||||
<li><a href="<?php echo USERAREA_PATH; ?>general/department.php"><?php echo $department; ?></a></li>
|
||||
<li><a href="<?php echo USERAREA_PATH; ?>general/contact-list.php"><?php echo $contactlist; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<?php if (in_array(3, $activemod)) { ?>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="bx bxs-check-shield"></i> <span> <?php echo $rsl; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="<?php echo USERAREA_PATH; ?>easyspec/rsl.php"><?php echo $rsl; ?></a></li>
|
||||
<li><a href="<?php echo USERAREA_PATH; ?>easyspec/standards.php">Standards</a></li>
|
||||
<li><a href="<?php echo USERAREA_PATH; ?>easyspec/analysis.php"><?php echo $analysis; ?></a></li>
|
||||
<li><a href="<?php echo USERAREA_PATH; ?>easyspec/component.php"><?php echo $component; ?></a></li>
|
||||
<li><a href="<?php echo USERAREA_PATH; ?>easyspec/analysistemplate.php">Analysis Template</a></li>
|
||||
<li><a href="<?php echo USERAREA_PATH; ?>easyspec/component.php"><?php echo $newslettertrl; ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div> <!-- end sidebarinner -->
|
||||
</div>
|
||||
<!-- Left Sidebar End -->
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (in_array(7, $activemod)) { ?>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="bx bx-mail-send"></i> <span> <?php echo $saytrl; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="<?php echo USERAREA_PATH; ?>easyspec/saytrl-newsletter.php"><?php echo $newsletterlist; ?></a></li>
|
||||
<li><a href="<?php echo USERAREA_PATH; ?>easyspec/saytrl-maillist.php"><?php echo $maillist; ?></a></li>
|
||||
<li><a href="<?php echo USERAREA_PATH; ?>easyspec/saytrl-settings.php"><?php echo $saytrloption; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (in_array(4, $activemod)) { ?>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="bx bxl-product-hunt"></i> <span> <?php echo $products; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="<?php echo USERAREA_PATH; ?>products/products.php"><?php echo $products; ?></a></li>
|
||||
<li><a href="email-read.html"><?php echo $bom; ?></a></li>
|
||||
<li><a href="email-read.html"><?php echo $metadata; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (in_array(5, $activemod)) { ?>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-human-queue"></i> <span> <?php echo $extcompanies; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="email-inbox.html"><?php echo $extcompanies; ?></a></li>
|
||||
<li><a href="email-read.html"><?php echo $companiescontactlist; ?></a></li>
|
||||
<li><a href="email-read.html"><?php echo $categorycompanies; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (in_array(2, $activemod)) { ?>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="fas fa-chart-bar"></i> <span> <?php echo $statistictitle; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="stats-levelone.php">StatKPI</a></li>
|
||||
<li><a href="email-read.html"><?php echo $companiescontactlist; ?></a></li>
|
||||
<li><a href="email-read.html"><?php echo $categorycompanies; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (in_array(1, $activemod)) { ?>
|
||||
<li class="has_sub">
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="fas fa-chart-bar"></i> <span> Rate&Go </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="stats-ratego.php">Rate&GO</a></li>
|
||||
<li><a href="email-read.html"><?php echo $companiescontactlist; ?></a></li>
|
||||
<li><a href="email-read.html"><?php echo $categorycompanies; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="has_sub">
|
||||
<a href="tables-basic.html" class="waves-effect"><i class="dripicons-copy"></i><span> <?php echo $contactus; ?> </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
|
||||
<li><a href="pages-blank.html"><?php echo $contactusform; ?></a></li>
|
||||
<li><a href="pages-blank.html"><?php echo $supportticket; ?></a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="menu-title">Extra</li>
|
||||
|
||||
|
||||
|
||||
<li class="has_sub">
|
||||
<a href="tables-basic.html" class="waves-effect"><i class="dripicons-copy"></i><span> Template </span> <span class="float-right"><i class="mdi mdi-chevron-right"></i></span></a>
|
||||
<ul class="list-unstyled">
|
||||
|
||||
<li><a href="pages-blank.html">Blank Page</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div> <!-- end sidebarinner -->
|
||||
</div>
|
||||
<!-- Left Sidebar End -->
|
||||
@@ -0,0 +1,17 @@
|
||||
<script src="assets/js/jquery.min.js"></script>
|
||||
<script src="assets/js/popper.min.js"></script>
|
||||
<script src="assets/js/bootstrap.min.js"></script>
|
||||
<script src="assets/js/modernizr.min.js"></script>
|
||||
<script src="assets/js/detect.js"></script>
|
||||
<script src="assets/js/fastclick.js"></script>
|
||||
<script src="assets/js/jquery.slimscroll.js"></script>
|
||||
<script src="assets/js/jquery.blockUI.js"></script>
|
||||
<script src="assets/js/waves.js"></script>
|
||||
<script src="assets/js/jquery.nicescroll.js"></script>
|
||||
<script src="assets/js/jquery.scrollTo.min.js"></script>
|
||||
|
||||
<script src="assets/plugins/chart.js/chart.min.js"></script>
|
||||
<script src="assets/pages/dashboard.js"></script>
|
||||
|
||||
<!-- App js -->
|
||||
<script src="assets/js/app.js"></script>
|
||||
@@ -1,3 +1,3 @@
|
||||
<title>YogiWhere Admin School</title>
|
||||
<meta content="Admin Dashboard" name="description" />
|
||||
<meta content="Mannatthemes" name="author" />
|
||||
<title>Reportify</title>
|
||||
<meta content="Admin Dashboard" name="description" />
|
||||
<meta content="Mannatthemes" name="author" />
|
||||
+102
-112
@@ -22,136 +22,126 @@ if ($result->num_rows > 0) {
|
||||
// Chiudi la connessione
|
||||
$conn->close();
|
||||
*/ ?>
|
||||
<!-- Top Bar Start -->
|
||||
<div class="topbar">
|
||||
<!-- Top Bar Start -->
|
||||
<div class="topbar">
|
||||
|
||||
<nav class="navbar-custom">
|
||||
<nav class="navbar-custom">
|
||||
|
||||
<ul class="list-inline float-right mb-0">
|
||||
<!-- language-->
|
||||
<li class="list-inline-item dropdown notification-list hide-phone">
|
||||
<a class="nav-link dropdown-toggle arrow-none waves-effect text-white" data-toggle="dropdown" href="#" role="button"
|
||||
aria-haspopup="false" aria-expanded="false">
|
||||
English <img src="assets/images/flags/us_flag.jpg" class="ml-2" height="16" alt=""/>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right language-switch">
|
||||
<a class="dropdown-item" href="#"><img src="assets/images/flags/italy_flag.jpg" alt="" height="16"/><span> Italian </span></a>
|
||||
<a class="dropdown-item" href="#"><img src="assets/images/flags/french_flag.jpg" alt="" height="16"/><span> French </span></a>
|
||||
<a class="dropdown-item" href="#"><img src="assets/images/flags/spain_flag.jpg" alt="" height="16"/><span> Spanish </span></a>
|
||||
<a class="dropdown-item" href="#"><img src="assets/images/flags/russia_flag.jpg" alt="" height="16"/><span> Russian </span></a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-inline-item dropdown notification-list">
|
||||
<a class="nav-link dropdown-toggle arrow-none waves-effect" data-toggle="dropdown" href="#" role="button"
|
||||
aria-haspopup="false" aria-expanded="false">
|
||||
<i class="dripicons-mail noti-icon"></i>
|
||||
<span class="badge badge-danger noti-icon-badge">5</span>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right dropdown-arrow dropdown-menu-lg">
|
||||
<!-- item-->
|
||||
<div class="dropdown-item noti-title">
|
||||
<h5><span class="badge badge-danger float-right">745</span>Messages</h5>
|
||||
<ul class="list-inline float-right mb-0">
|
||||
<!-- language-->
|
||||
<li class="list-inline-item dropdown notification-list hide-phone">
|
||||
<a class="nav-link dropdown-toggle arrow-none waves-effect text-white" data-toggle="dropdown" href="#" role="button" aria-haspopup="false" aria-expanded="false">
|
||||
English <img src="<?php echo USERAREA_PATH; ?>assets/images/flags/us_flag.jpg" class="ml-2" height="16" alt="" />
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right language-switch">
|
||||
<a class="dropdown-item" href="#"><img src="<?php echo USERAREA_PATH; ?>assets/images/flags/italy_flag.jpg" alt="" height="16" /><span> Italian </span></a>
|
||||
<a class="dropdown-item" href="#"><img src="<?php echo USERAREA_PATH; ?>assets/images/flags/french_flag.jpg" alt="" height="16" /><span> French </span></a>
|
||||
<a class="dropdown-item" href="#"><img src="<?php echo USERAREA_PATH; ?>assets/images/flags/spain_flag.jpg" alt="" height="16" /><span> Spanish </span></a>
|
||||
<a class="dropdown-item" href="#"><img src="<?php echo USERAREA_PATH; ?>assets/images/flags/russia_flag.jpg" alt="" height="16" /><span> Russian </span></a>
|
||||
</div>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon"><img src="assets/images/users/avatar-2.jpg" alt="user-img" class="img-fluid rounded-circle" /> </div>
|
||||
<p class="notify-details"><b>Charles M. Jones</b><small class="text-muted">Dummy text of the printing and typesetting industry.</small></p>
|
||||
</li>
|
||||
<li class="list-inline-item dropdown notification-list">
|
||||
<a class="nav-link dropdown-toggle arrow-none waves-effect" data-toggle="dropdown" href="#" role="button" aria-haspopup="false" aria-expanded="false">
|
||||
<i class="dripicons-mail noti-icon"></i>
|
||||
<span class="badge badge-danger noti-icon-badge">5</span>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right dropdown-arrow dropdown-menu-lg">
|
||||
<!-- item-->
|
||||
<div class="dropdown-item noti-title">
|
||||
<h5><span class="badge badge-danger float-right">745</span>Messages</h5>
|
||||
</div>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon"><img src="assets/images/users/avatar-3.jpg" alt="user-img" class="img-fluid rounded-circle" /> </div>
|
||||
<p class="notify-details"><b>Thomas J. Mimms</b><small class="text-muted">You have 87 unread messages</small></p>
|
||||
</a>
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon"><img src="<?php echo USERAREA_PATH; ?>assets/images/users/avatar-2.jpg" alt="user-img" class="img-fluid rounded-circle" /> </div>
|
||||
<p class="notify-details"><b>Charles M. Jones</b><small class="text-muted">Dummy text of the printing and typesetting industry.</small></p>
|
||||
</a>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon"><img src="assets/images/users/avatar-4.jpg" alt="user-img" class="img-fluid rounded-circle" /> </div>
|
||||
<p class="notify-details"><b>Luis M. Konrad</b><small class="text-muted">It is a long established fact that a reader will</small></p>
|
||||
</a>
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon"><img src="<?php echo USERAREA_PATH; ?>assets/images/users/avatar-3.jpg" alt="user-img" class="img-fluid rounded-circle" /> </div>
|
||||
<p class="notify-details"><b>Thomas J. Mimms</b><small class="text-muted">You have 87 unread messages</small></p>
|
||||
</a>
|
||||
|
||||
<!-- All-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item border-top">
|
||||
View All
|
||||
</a>
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon"><img src="<?php echo USERAREA_PATH; ?>assets/images/users/avatar-4.jpg" alt="user-img" class="img-fluid rounded-circle" /> </div>
|
||||
<p class="notify-details"><b>Luis M. Konrad</b><small class="text-muted">It is a long established fact that a reader will</small></p>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<!-- All-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item border-top">
|
||||
View All
|
||||
</a>
|
||||
|
||||
<li class="list-inline-item dropdown notification-list">
|
||||
<a class="nav-link dropdown-toggle arrow-none waves-effect" data-toggle="dropdown" href="#" role="button"
|
||||
aria-haspopup="false" aria-expanded="false">
|
||||
<i class="dripicons-bell noti-icon"></i>
|
||||
<span class="badge badge-success noti-icon-badge">2</span>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right dropdown-arrow dropdown-menu-lg">
|
||||
<!-- item-->
|
||||
<div class="dropdown-item noti-title">
|
||||
<h5><span class="badge badge-danger float-right">87</span>Notification</h5>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon bg-primary"><i class="mdi mdi-cart-outline"></i></div>
|
||||
<p class="notify-details"><b>Your order is placed</b><small class="text-muted">Dummy text of the printing and typesetting industry.</small></p>
|
||||
<li class="list-inline-item dropdown notification-list">
|
||||
<a class="nav-link dropdown-toggle arrow-none waves-effect" data-toggle="dropdown" href="#" role="button" aria-haspopup="false" aria-expanded="false">
|
||||
<i class="dripicons-bell noti-icon"></i>
|
||||
<span class="badge badge-success noti-icon-badge">2</span>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right dropdown-arrow dropdown-menu-lg">
|
||||
<!-- item-->
|
||||
<div class="dropdown-item noti-title">
|
||||
<h5><span class="badge badge-danger float-right">87</span>Notification</h5>
|
||||
</div>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon bg-success"><i class="mdi mdi-message"></i></div>
|
||||
<p class="notify-details"><b>New Message received</b><small class="text-muted">You have 87 unread messages</small></p>
|
||||
</a>
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon bg-primary"><i class="mdi mdi-cart-outline"></i></div>
|
||||
<p class="notify-details"><b>Your order is placed</b><small class="text-muted">Dummy text of the printing and typesetting industry.</small></p>
|
||||
</a>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon bg-warning"><i class="mdi mdi-glass-cocktail"></i></div>
|
||||
<p class="notify-details"><b>Your item is shipped</b><small class="text-muted">It is a long established fact that a reader will</small></p>
|
||||
</a>
|
||||
|
||||
<!-- All-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item border-top">
|
||||
View All
|
||||
</a>
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon bg-success"><i class="mdi mdi-message"></i></div>
|
||||
<p class="notify-details"><b>New Message received</b><small class="text-muted">You have 87 unread messages</small></p>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon bg-warning"><i class="mdi mdi-glass-cocktail"></i></div>
|
||||
<p class="notify-details"><b>Your item is shipped</b><small class="text-muted">It is a long established fact that a reader will</small></p>
|
||||
</a>
|
||||
|
||||
<!-- All-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item border-top">
|
||||
View All
|
||||
</a>
|
||||
|
||||
<li class="list-inline-item dropdown notification-list">
|
||||
<a class="nav-link dropdown-toggle arrow-none waves-effect nav-user" data-toggle="dropdown" href="#" role="button"
|
||||
aria-haspopup="false" aria-expanded="false">
|
||||
<img src="assets/images/users/avatar-6.jpg" alt="user" class="rounded-circle">
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right profile-dropdown ">
|
||||
<!-- item-->
|
||||
<div class="dropdown-item noti-title">
|
||||
<h5>Welcome</h5>
|
||||
</div>
|
||||
<a class="dropdown-item" href="#"><i class="mdi mdi-account-circle m-r-5 text-muted"></i> Profile</a>
|
||||
<a class="dropdown-item" href="#"><i class="mdi mdi-wallet m-r-5 text-muted"></i> My Wallet</a>
|
||||
<a class="dropdown-item" href="#"><span class="badge badge-success float-right">5</span><i class="mdi mdi-settings m-r-5 text-muted"></i> Settings</a>
|
||||
<a class="dropdown-item" href="#"><i class="mdi mdi-lock-open-outline m-r-5 text-muted"></i> Lock screen</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="#"><i class="mdi mdi-logout m-r-5 text-muted"></i> Logout</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<ul class="list-inline menu-left mb-0">
|
||||
<li class="float-left">
|
||||
<button class="button-menu-mobile open-left waves-light waves-effect">
|
||||
<i class="mdi mdi-menu"></i>
|
||||
</button>
|
||||
</li>
|
||||
<li class="hide-phone app-search">
|
||||
<form role="search" class="">
|
||||
<input type="text" placeholder="Search..." class="form-control">
|
||||
<a href=""><i class="fas fa-search"></i></a>
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
<li class="list-inline-item dropdown notification-list">
|
||||
<a class="nav-link dropdown-toggle arrow-none waves-effect nav-user" data-toggle="dropdown" href="#" role="button" aria-haspopup="false" aria-expanded="false">
|
||||
<img src="<?php echo USERAREA_PATH; ?>assets/images/users/avatar-6.jpg" alt="user" class="rounded-circle">
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right profile-dropdown ">
|
||||
<!-- item-->
|
||||
<div class="dropdown-item noti-title">
|
||||
<h5>Welcome</h5>
|
||||
</div>
|
||||
<a class="dropdown-item" href="#"><i class="mdi mdi-account-circle m-r-5 text-muted"></i> <?php echo $userprofile; ?></a>
|
||||
<a class="dropdown-item" href="#"><i class="mdi mdi-wallet m-r-5 text-muted"></i> <?php echo $mycompany; ?></a>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
</nav>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="<?php echo BASE_URL; ?>logout"><i class="mdi mdi-logout m-r-5 text-muted"></i> <?php echo $logoutbutton; ?></a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="list-inline menu-left mb-0">
|
||||
<li class="float-left">
|
||||
<button class="button-menu-mobile open-left waves-light waves-effect">
|
||||
<i class="mdi mdi-menu"></i>
|
||||
</button>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
</nav>
|
||||
</div>
|
||||
<!-- Top Bar End -->
|
||||
Reference in New Issue
Block a user