You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
3.2 KiB
PHP
88 lines
3.2 KiB
PHP
<?php
|
|
use NN\Session;
|
|
use NN\Module\DB;
|
|
use NN\Module\Perusahaan as perush;
|
|
|
|
$menus = DB::query_result_object("SELECT * FROM introapp");
|
|
|
|
$content = "";
|
|
|
|
if($kode === ""){
|
|
$content = DB::query_result_object_row("SELECT * FROM introapp")->data;
|
|
}else{
|
|
$content = DB::query_result_object_row("SELECT * FROM introapp WHERE kode = '$kode'")->data;
|
|
}
|
|
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta name="robots" content="noindex">
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<meta name="author" content="VDS">
|
|
<link rel="apple-touch-icon" href="<?php echo e(ASSET); ?>/<?php echo e(LOGO); ?>">
|
|
<link rel="shortcut icon" type="image/x-icon" href="<?php echo e(ASSET); ?>/<?php echo e(LOGO); ?>">
|
|
<title>Warpeka Module</title>
|
|
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<script>
|
|
tailwind.config = {
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
clifford: '#da373d',
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body class="bg-gray-200 ">
|
|
<div class="min-h-[100vh]" style="display: grid; grid-template-columns: 250px auto ">
|
|
<div class="bg-white">
|
|
<a class="block border-b-2 py-2 text-center mb-2 rounded px-3 bg-white" href="#/">
|
|
<img src="<?php echo e(ASSET); ?>/<?php echo e(LOGO); ?>" width="50px" alt="">
|
|
<span class="block">Dokumentasi APP</span>
|
|
</a>
|
|
<?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $mn): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
|
<?php if($mn->subindex == 1): ?>
|
|
<a class="block py-1 mx-2 hover:bg-blue-600 hover:text-white rounded px-4 bg-white" href="<?php echo e(PATH); ?>/module/app/<?php echo e($mn->kode); ?>"><?php echo e($mn->nama); ?></a>
|
|
<?php else: ?>
|
|
<a class="block py-1 mx-2 hover:bg-blue-600 hover:text-white rounded px-6 bg-white" href="<?php echo e(PATH); ?>/module/app/<?php echo e($mn->kode); ?>"><?php echo e($mn->nama); ?></a>
|
|
<?php endif; ?>
|
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
|
</div>
|
|
<div>
|
|
<div class="mx-[auto] w-full mt-10">
|
|
<div class="bg-white m-10 p-10">
|
|
<?php echo html_entity_decode($content); ?>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<style>
|
|
*{
|
|
font-family: Mulish, sans-serif !important;
|
|
color: rgb(104, 104, 104);
|
|
}
|
|
.text-center{
|
|
text-align:center;
|
|
}
|
|
.text-left{
|
|
text-align:left;
|
|
}
|
|
img{
|
|
display:inline-block !important;
|
|
}
|
|
.text-right{
|
|
text-align:right;
|
|
}
|
|
a{
|
|
color:blue !important;
|
|
}
|
|
</style>
|
|
</body>
|
|
</html><?php /**PATH /var/www/vhosts/warpekamart.com/httpdocs/usp/views/landing/module.blade.php ENDPATH**/ ?>
|