Project Done Before
This commit is contained in:
70
application/views/home/404.php
Normal file
70
application/views/home/404.php
Normal file
@ -0,0 +1,70 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<!-- Mirrored from demo.ninjateam.org/html/my-admin/light/page-404.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 03 Jan 2018 03:48:56 GMT -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<title>Home</title>
|
||||
<link rel="stylesheet" href="<?=base_url()?>assets/styles/style.min.css">
|
||||
|
||||
<!-- Waves Effect -->
|
||||
<link rel="stylesheet" href="<?=base_url()?>assets/plugin/waves/waves.min.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="page-404">
|
||||
<div class="content">
|
||||
<div class="title-on-desktop">
|
||||
<svg style="width: 600px; height: 200px" alignment-baseline="middle">
|
||||
<defs>
|
||||
<clipPath id="clip2">
|
||||
<path d="M 0 0 L 600 0 L 600 80 L 0 80 L 0 0 L 0 125 L 600 125 L 600 200 L 0 200 Z" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
<text x="300" y="190" style="width: 600px; height: 200px" text-anchor="middle" font-family="Lato" font-weight="700" font-size="250" fill="#505458" clip-path="url(#clip2)">4<tspan fill="#35b8e0">0</tspan>4</text>
|
||||
</svg>
|
||||
<div class="title">Halaman Tidak Ditemukan</div>
|
||||
</div>
|
||||
<h1 class="title-on-mobile">Error 404: Halaman Tidak Ditemukan</h1>
|
||||
<p>Sepertinya Anda Mencoba Untuk Memasuki Wilayah Terbatas. Jan Takut Bosk..Aman Itu...Klik Saja <b>"Kembali"</b>...Ndak Da Masalah...HAHAHAHAHAH</p>
|
||||
<?php
|
||||
if ($this->session->userdata('pembeli') != '' and $this->session->userdata('pembeli') != 'null') {
|
||||
$url = base_url('user');
|
||||
}elseif ($this->session->userdata('admin') != '' and $this->session->userdata('admin') != 'null') {
|
||||
$url = base_url('admin');
|
||||
}else{
|
||||
$url = base_url();
|
||||
}
|
||||
?>
|
||||
<a href="<?=$url?>" class="btn btn-info">Kembali BOSKU</a>
|
||||
|
||||
</div>
|
||||
</div><!--/#single-wrapper -->
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="assets/script/html5shiv.min.js"></script>
|
||||
<script src="assets/script/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<!--
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<script src="<?=base_url()?>assets/scripts/jquery.min.js"></script>
|
||||
<script src="<?=base_url()?>assets/scripts/modernizr.min.js"></script>
|
||||
<script src="<?=base_url()?>assets/plugin/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="<?=base_url()?>assets/plugin/nprogress/nprogress.js"></script>
|
||||
<script src="<?=base_url()?>assets/plugin/waves/waves.min.js"></script>
|
||||
|
||||
<script src="<?=base_url()?>assets/scripts/main.min.js"></script>
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from demo.ninjateam.org/html/my-admin/light/page-404.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 03 Jan 2018 03:48:56 GMT -->
|
||||
</html>
|
||||
43
application/views/home/footer.php
Normal file
43
application/views/home/footer.php
Normal file
@ -0,0 +1,43 @@
|
||||
<footer class="site-footer">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="row">
|
||||
<div class="col-md-7">
|
||||
<h2 class="footer-heading mb-4">Tentang Kami</h2>
|
||||
<p>Membangun Website yang menyediakan jasa pembuatan dan pencetakan desain grafis </p>
|
||||
</div>
|
||||
<!-- <div class="col-md-3 ml-auto">
|
||||
<h2 class="footer-heading mb-4">Features</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="#">About Us</a></li>
|
||||
<li><a href="#">Services</a></li>
|
||||
<li><a href="#">Testimonials</a></li>
|
||||
<li><a href="#">Contact Us</a></li>
|
||||
</ul>
|
||||
</div> -->
|
||||
<div class="col-md-5">
|
||||
<h2 class="footer-heading mb-4">Follow Us</h2>
|
||||
<a href="#" class="pl-0 pr-3"><span class="icon-facebook"></span></a>
|
||||
<a href="#" class="pl-3 pr-3"><span class="icon-twitter"></span></a>
|
||||
<a href="#" class="pl-3 pr-3"><span class="icon-instagram"></span></a>
|
||||
<a href="#" class="pl-3 pr-3"><span class="icon-linkedin"></span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row pt-5 mt-5 text-center">
|
||||
<div class="col-md-12">
|
||||
<div class="border-top pt-5">
|
||||
<p>
|
||||
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
|
||||
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made with <i class="icon-heart" aria-hidden="true"></i> by <a href="https://www.facebook.com/kicap.karan" target="_blank" >Kicap Karan</a>
|
||||
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
18
application/views/home/foto_pengenalan.php
Normal file
18
application/views/home/foto_pengenalan.php
Normal file
@ -0,0 +1,18 @@
|
||||
<div class="site-blocks-cover overlay" style="background-image: url(images/hero_1.jpg);" data-aos="fade" data-stellar-background-ratio="0.5">
|
||||
<div class="container">
|
||||
<div class="row align-items-center justify-content-center text-center">
|
||||
|
||||
<div class="col-md-12" data-aos="fade-up" data-aos-delay="400">
|
||||
|
||||
<div class="row justify-content-center mb-4">
|
||||
<div class="col-md-8 text-center">
|
||||
<h1>Toko Kami Menyediakan Jasa Pembuatan Desain Grafis dan Cetak Desain <span class="typed-words"></span></h1>
|
||||
<p class="lead mb-5">Silahkan Pesan Sekarang Juga</p>
|
||||
<div><a href="<?=base_url()?>home/project" class="btn btn-primary btn-md">Klik Untuk Melihat Desain</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
17
application/views/home/foto_pengenalan_project.php
Normal file
17
application/views/home/foto_pengenalan_project.php
Normal file
@ -0,0 +1,17 @@
|
||||
<div class="site-blocks-cover inner-page-cover overlay" style="background-image: url(<?=base_url()?>images/hero_1.jpg);" data-aos="fade" data-stellar-background-ratio="0.5">
|
||||
<div class="container">
|
||||
<div class="row align-items-center justify-content-center text-center">
|
||||
|
||||
<div class="col-md-12" data-aos="fade-up" data-aos-delay="400">
|
||||
|
||||
<div class="row justify-content-center mb-4">
|
||||
<div class="col-md-8 text-center">
|
||||
<h1>Pemesanan Pembuatan Desain Grafis</h1>
|
||||
<p class="lead mb-5">Silahkan Lakukan Login Jika Ingin Melihat Produk Kami</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
86
application/views/home/head.php
Normal file
86
application/views/home/head.php
Normal file
@ -0,0 +1,86 @@
|
||||
<head>
|
||||
<title>Pemesanan Desain Grafis</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Quicksand:300,400,500,700,900" rel="stylesheet">
|
||||
<link rel="stylesheet" href="<?=base_url()?>fonts/icomoon/style.css">
|
||||
|
||||
<link rel="stylesheet" href="<?=base_url()?>css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="<?=base_url()?>css/magnific-popup.css">
|
||||
<link rel="stylesheet" href="<?=base_url()?>css/jquery-ui.css">
|
||||
<link rel="stylesheet" href="<?=base_url()?>css/owl.carousel.min.css">
|
||||
<link rel="stylesheet" href="<?=base_url()?>css/owl.theme.default.min.css">
|
||||
|
||||
<link rel="stylesheet" href="<?=base_url()?>css/bootstrap-datepicker.css">
|
||||
|
||||
<link rel="stylesheet" href="<?=base_url()?>fonts/flaticon/font/flaticon.css">
|
||||
|
||||
<link rel="stylesheet" href="<?=base_url()?>css/aos.css">
|
||||
|
||||
<link rel="stylesheet" href="<?=base_url()?>css/style.css">
|
||||
|
||||
<!-- <link rel="stylesheet" href="<?=base_url()?>assets/plugin/sweet-alert/sweetalert.css">
|
||||
|
||||
<script src="<?=base_url()?>assets/plugin/sweet-alert/sweetalert.min.js"></script> -->
|
||||
|
||||
<link rel="stylesheet" href="<?php echo base_url() ?>sweet-alert/sweetalert.css">
|
||||
|
||||
<?php if ($this->uri->segment(2) == 'project'): ?>
|
||||
<style>
|
||||
/*body {font-family: Arial;}*/
|
||||
|
||||
/* Style the tab */
|
||||
.tab {
|
||||
overflow: hidden;
|
||||
border: 1px solid #ccc;
|
||||
background-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Style the buttons inside the tab */
|
||||
.tab button {
|
||||
background-color: inherit;
|
||||
float: left;
|
||||
border: none;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
padding: 14px 16px;
|
||||
transition: 0.3s;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
/* Change background color of buttons on hover */
|
||||
.tab button:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
/* Create an active/current tablink class */
|
||||
.tab button.active {
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
/* Style the tab content */
|
||||
.tabcontent {
|
||||
display: none;
|
||||
padding: 6px 12px;
|
||||
-webkit-animation: fadeEffect 1s;
|
||||
animation: fadeEffect 1s;
|
||||
/*border: 1px solid #ccc;*/
|
||||
}
|
||||
|
||||
/* Fade in tabs */
|
||||
@-webkit-keyframes fadeEffect {
|
||||
from {opacity: 0;}
|
||||
to {opacity: 1;}
|
||||
}
|
||||
|
||||
@keyframes fadeEffect {
|
||||
from {opacity: 0;}
|
||||
to {opacity: 1;}
|
||||
}
|
||||
</style>
|
||||
<?php endif ?>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
39
application/views/home/header.php
Normal file
39
application/views/home/header.php
Normal file
@ -0,0 +1,39 @@
|
||||
<header class="site-navbar py-4 bg-white" role="banner">
|
||||
|
||||
<div class="container">
|
||||
<div class="row align-items-center">
|
||||
|
||||
<div class="col-11 col-xl-2">
|
||||
<h1 class="mb-0 site-logo"><a href="index.html" class="text-black h2 mb-0"><?=$header?></a></h1>
|
||||
</div>
|
||||
<div class="col-12 col-md-10 d-none d-xl-block">
|
||||
<nav class="site-navigation position-relative text-right" role="navigation">
|
||||
|
||||
<ul class="site-menu js-clone-nav mr-auto d-none d-lg-block">
|
||||
<li <?php if ($this->uri->segment(2) == '') { echo 'class="active"'; } ?>><a href="<?=base_url()?>">Home</a></li>
|
||||
<li <?php if ($this->uri->segment(2) == 'project') { echo 'class="active"'; } ?>><a href="<?=base_url()?>home/project">Desain Project</a></li>
|
||||
<!-- <li class="has-children">
|
||||
<a href="services.html">Services</a>
|
||||
<ul class="dropdown">
|
||||
<li><a href="services.html">Web Applications</a></li>
|
||||
<li><a href="services.html">WordPress Dev</a></li>
|
||||
<li><a href="services.html">Mobile Applications</a></li>
|
||||
<li><a href="services.html">eCommerce</a></li>
|
||||
</ul>
|
||||
</li> -->
|
||||
<!-- <li><a href="about.html">About</a></li>
|
||||
<li><a href="blog.html">Blog</a></li> -->
|
||||
<li <?php if ($this->uri->segment(2) == 'prelogin') { echo 'class="active"'; } ?>><a href="<?=base_url()?>home/prelogin">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="d-inline-block d-xl-none ml-md-0 mr-auto py-3" style="position: relative; top: 3px;"><a href="#" class="site-menu-toggle js-menu-toggle text-black"><span class="icon-menu h3"></span></a></div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</header>
|
||||
35
application/views/home/index.php
Normal file
35
application/views/home/index.php
Normal file
@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<?php $this->load->view('home/head') ?>
|
||||
<body>
|
||||
|
||||
<div class="site-wrap">
|
||||
|
||||
<?php $this->load->view('home/site_mobile') ?>
|
||||
|
||||
<?php $this->load->view('home/top_bar') ?>
|
||||
|
||||
<?php $this->load->view('home/header') ?>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
if ($this->uri->segment(2) == '' or $this->uri->segment(2) == null) {
|
||||
$this->load->view('home/foto_pengenalan');
|
||||
}else{
|
||||
$this->load->view('home/foto_pengenalan_project');
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<?php $this->load->view($main) ?>
|
||||
|
||||
|
||||
<?php $this->load->view('home/footer') ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php $this->load->view('home/script') ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
209
application/views/home/main.php
Normal file
209
application/views/home/main.php
Normal file
@ -0,0 +1,209 @@
|
||||
<section class="section ft-feature-1">
|
||||
<div class="container">
|
||||
<div class="row align-items-stretch">
|
||||
<div class="col-12 bg-black w-100 ft-feature-1-content">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-5">
|
||||
<div class="h-100">
|
||||
<div class="mb-5 d-flex align-items-center">
|
||||
<!-- <div>
|
||||
<a href="https://vimeo.com/317571768" class="popup-vimeo d-block play"><span class="icon-play"></span></a>
|
||||
</div> -->
|
||||
<h2>Selamat Datang Ke Website Penjual Desain Grafis</h2>
|
||||
</div>
|
||||
<img src="<?=base_url()?>images/about_1.jpg" alt="Image" class="img-fluid">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 ml-auto">
|
||||
<div class="mb-5">
|
||||
<h3 class="d-flex align-items-center"><span class="icon icon-phonelink mr-2"></span><span>Spanduk</span></h3>
|
||||
<p>Letakkan Kata2</p>
|
||||
<p><a href="<?=base_url()?>home/project">Lihat Desain</a></p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h3 class="d-flex align-items-center"><span class="icon icon-extension mr-2"></span><span>Kartu Name</span></h3>
|
||||
<p>Letakkan Kata2</p>
|
||||
<p><a href="<?=base_url()?>home/project">Lihat Desain</a></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
<div class="mb-5">
|
||||
<h3 class="d-flex align-items-center"><span class="icon icon-format_paint mr-2"></span><span>Undangan</span></h3>
|
||||
<p>Letakkan Kata2</p>
|
||||
<p><a href="<?=base_url()?>home/project">Lihat Desain</a></p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<!-- <h3 class="d-flex align-items-center"><span class="icon icon-question_answer mr-2"></span><span>Copywriting</span></h3>
|
||||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Cumque ab nihil quam nesciunt.</p>
|
||||
<p><a href="#">Read More</a></p> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
<section class="site-section">
|
||||
<div class="container">
|
||||
<div class="row mb-5 justify-content-center">
|
||||
<div class="col-md-8 text-center">
|
||||
<h2 class="text-black h1 site-section-heading text-center">Desain Project</h2>
|
||||
<p class="lead">Kata2</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<a href="<?=base_url()?>home/project" class="media-1">
|
||||
<img src="<?=base_url()?>images/img_1.jpg" alt="Image" class="img-fluid">
|
||||
<div class="media-1-content">
|
||||
<h2>Spanduk</h2>
|
||||
<!-- <span class="category">Web Application</span> -->
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<a href="<?=base_url()?>home/project" class="media-1">
|
||||
<img src="<?=base_url()?>images/img_2.jpg" alt="Image" class="img-fluid">
|
||||
<div class="media-1-content">
|
||||
<h2>Kartu Nama</h2>
|
||||
<!-- <span class="category">Branding</span> -->
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<a href="<?=base_url()?>home/project" class="media-1">
|
||||
<img src="<?=base_url()?>images/img_3.jpg" alt="Image" class="img-fluid">
|
||||
<div class="media-1-content">
|
||||
<h2>Undangan</h2>
|
||||
<!-- <span class="category">Website</span> -->
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-12 text-center mt-5">
|
||||
<a href="<?=base_url()?>home/project" class="btn btn-primary btn-md">Lihat Semua Desain Project</a>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="site-section testimonial-wrap">
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8 text-center">
|
||||
<h2 class="text-black h1 site-section-heading text-center">Komen</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slide-one-item home-slider owl-carousel">
|
||||
<div>
|
||||
<div class="testimonial">
|
||||
|
||||
<blockquote class="mb-5">
|
||||
<p>“Kata2”</p>
|
||||
</blockquote>
|
||||
|
||||
<figure class="mb-4 d-flex align-items-center justify-content-center">
|
||||
<div><img src="<?=base_url()?>images/person_3.jpg" alt="Image" class="w-50 img-fluid mb-3"></div>
|
||||
<p>John Smith</p>
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="testimonial">
|
||||
|
||||
<blockquote class="mb-5">
|
||||
<p>“Kata2”</p>
|
||||
</blockquote>
|
||||
<figure class="mb-4 d-flex align-items-center justify-content-center">
|
||||
<div><img src="<?=base_url()?>images/person_2.jpg" alt="Image" class="w-50 img-fluid mb-3"></div>
|
||||
<p>Christine Aguilar</p>
|
||||
</figure>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="testimonial">
|
||||
|
||||
<blockquote class="mb-5">
|
||||
<p>“Kata2”</p>
|
||||
</blockquote>
|
||||
<figure class="mb-4 d-flex align-items-center justify-content-center">
|
||||
<div><img src="<?=base_url()?>images/person_4.jpg" alt="Image" class="w-50 img-fluid mb-3"></div>
|
||||
<p>Robert Spears</p>
|
||||
</figure>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="testimonial">
|
||||
|
||||
<blockquote class="mb-5">
|
||||
<p>“Kata2”</p>
|
||||
</blockquote>
|
||||
<figure class="mb-4 d-flex align-items-center justify-content-center">
|
||||
<div><img src="<?=base_url()?>images/person_5.jpg" alt="Image" class="w-50 img-fluid mb-3"></div>
|
||||
<p>Bruce Rogers</p>
|
||||
</figure>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="site-section bg-light">
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8 text-center">
|
||||
<h2 class="text-black h1 site-section-heading text-center">Desain Terbaik</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-lg-4 mb-4 mb-lg-4">
|
||||
<div class="h-entry">
|
||||
<img src="<?=base_url()?>images/img_1.jpg" alt="Image" class="img-fluid">
|
||||
<h2 class="font-size-regular"><a href="#">Create Beautiful Website In Less Than An Hour</a></h2>
|
||||
<div class="meta mb-4">Ham Brook <span class="mx-2">•</span> Jan 18, 2019<span class="mx-2">•</span> <a href="#">News</a></div>
|
||||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Natus eligendi nobis ea maiores sapiente veritatis reprehenderit suscipit quaerat rerum voluptatibus a eius.</p>
|
||||
<p><a href="#">Continue Reading...</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4 mb-4 mb-lg-4">
|
||||
<div class="h-entry">
|
||||
<img src="<?=base_url()?>images/img_2.jpg" alt="Image" class="img-fluid">
|
||||
<h2 class="font-size-regular"><a href="#">Create Beautiful Website In Less Than An Hour</a></h2>
|
||||
<div class="meta mb-4">James Phelps <span class="mx-2">•</span> Jan 18, 2019<span class="mx-2">•</span> <a href="#">News</a></div>
|
||||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Natus eligendi nobis ea maiores sapiente veritatis reprehenderit suscipit quaerat rerum voluptatibus a eius.</p>
|
||||
<p><a href="#">Continue Reading...</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4 mb-4 mb-lg-4">
|
||||
<div class="h-entry">
|
||||
<img src="<?=base_url()?>images/img_1.jpg" alt="Image" class="img-fluid">
|
||||
<h2 class="font-size-regular"><a href="#">Create Beautiful Website In Less Than An Hour</a></h2>
|
||||
<div class="meta mb-4">James Phelps <span class="mx-2">•</span> Jan 18, 2019<span class="mx-2">•</span> <a href="#">News</a></div>
|
||||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Natus eligendi nobis ea maiores sapiente veritatis reprehenderit suscipit quaerat rerum voluptatibus a eius.</p>
|
||||
<p><a href="#">Continue Reading...</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
134
application/views/home/menu/desain_project.php
Normal file
134
application/views/home/menu/desain_project.php
Normal file
@ -0,0 +1,134 @@
|
||||
<section class="site-section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="form-group">
|
||||
<div class="tab">
|
||||
<button class="tablinks" onclick="openCity(event, 'undangan')" id="defaultOpen">Undangan</button>
|
||||
<button class="tablinks" onclick="openCity(event, 'kartu_nama')">Kartu Nama</button>
|
||||
<button class="tablinks" onclick="openCity(event, 'spanduk')">Spanduk</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-12 tabcontent" id="undangan">
|
||||
<div class="row mb-5">
|
||||
<?php
|
||||
$nomor = 0;
|
||||
$data = $this->mhome->tampil_data_gambar($nomor,1);
|
||||
|
||||
if (count($data->result())>0) {
|
||||
foreach ($data->result() as $key => $value) {
|
||||
$keterangan = json_decode($value->keterangan);
|
||||
?>
|
||||
<div class="col-md-6 col-lg-3 mb-4 mb-lg-4">
|
||||
<div class="h-entry">
|
||||
<a href="<?=base_url()?>home/project/<?=$value->no?>"><img src="<?=base_url($keterangan->img)?>" alt="Image" class="img-fluid"></a>
|
||||
|
||||
<center><div class="meta mb-4"><span class="mx-2"></span>Upload • <?=$value->tanggal_upload?><span class="mx-2">•</span> </div>
|
||||
<p>Harga : Rp. <?=number_format($keterangan->harga)?> / pcs</p>
|
||||
<a href="<?=base_url()?>home/project/<?=$value->no?>"><button type="button" class="btn btn-warning btn-md text-white"> Detail </button></a></center>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="custom-pagination text-center">
|
||||
<?php
|
||||
$jumlah = $this->mhome->jumlah_halaman(count($undangan->result()));
|
||||
$ii = 0;
|
||||
for ($i=1; $i <= $jumlah ; $i++) { ?>
|
||||
<span style="cursor: pointer;" onclick="tukar_halaman(<?=$ii?>,1)"><?=$i?></span>
|
||||
<?php $ii+=12;}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12 tabcontent" id="kartu_nama">
|
||||
<div class="row mb-5">
|
||||
<?php
|
||||
$nomor = 0;
|
||||
$data = $this->mhome->tampil_data_gambar($nomor,2);
|
||||
|
||||
if (count($data->result())>0) {
|
||||
foreach ($data->result() as $key => $value) {
|
||||
$keterangan = json_decode($value->keterangan);
|
||||
?>
|
||||
<div class="col-md-6 col-lg-3 mb-4 mb-lg-4">
|
||||
<div class="h-entry">
|
||||
<a href="<?=base_url()?>home/project/<?=$value->no?>"><img src="<?=base_url($keterangan->img)?>" alt="Image" class="img-fluid"></a>
|
||||
|
||||
<center><div class="meta mb-4"><span class="mx-2"></span>Upload • <?=$value->tanggal_upload?><span class="mx-2">•</span> </div>
|
||||
<p>Harga : Rp. <?=number_format($keterangan->harga)?> / pcs</p>
|
||||
<a href="<?=base_url()?>home/project/<?=$value->no?>"><button type="button" class="btn btn-warning btn-md text-white"> Detail </button></a></center>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="custom-pagination text-center">
|
||||
<?php
|
||||
$jumlah = $this->mhome->jumlah_halaman(count($kartu_nama->result()));
|
||||
$ii = 0;
|
||||
for ($i=1; $i <= $jumlah ; $i++) { ?>
|
||||
<span style="cursor: pointer;" onclick="tukar_halaman(<?=$ii?>,2)"><?=$i?></span>
|
||||
<?php $ii+=12;}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12 tabcontent" id="spanduk">
|
||||
<div class="row mb-5">
|
||||
<?php
|
||||
$nomor = 0;
|
||||
$data = $this->mhome->tampil_data_gambar($nomor,3);
|
||||
|
||||
if (count($data->result())>0) {
|
||||
foreach ($data->result() as $key => $value) {
|
||||
$keterangan = json_decode($value->keterangan);
|
||||
?>
|
||||
<div class="col-md-6 col-lg-3 mb-4 mb-lg-4">
|
||||
<div class="h-entry">
|
||||
<a href="<?=base_url()?>home/project/<?=$value->no?>"><img src="<?=base_url($keterangan->img)?>" alt="Image" class="img-fluid"></a>
|
||||
|
||||
<center><div class="meta mb-4"><span class="mx-2"></span>Upload • <?=$value->tanggal_upload?><span class="mx-2">•</span> </div>
|
||||
<p>Harga : Rp. <?=number_format($keterangan->harga)?> / pcs</p>
|
||||
<a href="<?=base_url()?>home/project/<?=$value->no?>"><button type="button" class="btn btn-warning btn-md text-white"> Detail </button></a></center>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="custom-pagination text-center">
|
||||
<?php
|
||||
$jumlah = $this->mhome->jumlah_halaman(count($spanduk->result()));
|
||||
$ii = 0;
|
||||
for ($i=1; $i <= $jumlah ; $i++) { ?>
|
||||
<span style="cursor: pointer;" onclick="tukar_halaman(<?=$ii?>,3)"><?=$i?></span>
|
||||
<?php $ii+=12;}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
58
application/views/home/menu/detail.php
Normal file
58
application/views/home/menu/detail.php
Normal file
@ -0,0 +1,58 @@
|
||||
<section class="site-section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<?php foreach ($data->result() as $key => $value);
|
||||
$ket = json_decode($value->keterangan);
|
||||
?>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12 col-lg-12">
|
||||
<div class="h-entry">
|
||||
<center><img src="<?=base_url($ket->img)?>" alt="Image" class="img-fluid">
|
||||
<!-- <h2 class="font-size-regular"><a href="#">Warehousing Your Packages</a></h2> -->
|
||||
<div class="meta mb-4"><span class="mx-2"></span>Upload • <?=$value->tanggal_upload?><span class="mx-2">•</span> </div></center>
|
||||
|
||||
|
||||
<div class="row form-group">
|
||||
|
||||
<div class="col-md-12">
|
||||
<label class="text-black" for="email">Harga</label>
|
||||
<input type="text" id="email" class="form-control" value="Rp. <?=number_format($ket->harga)?> / pcs" disabled="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row form-group">
|
||||
|
||||
<div class="col-md-12">
|
||||
<label class="text-black" for="subject">Kertas</label>
|
||||
<select class="form-control">
|
||||
<option>Art Paper</option>
|
||||
<option>Jasmin</option>
|
||||
<option>Cartoon</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row form-group">
|
||||
|
||||
<div class="col-md-12">
|
||||
<label class="text-black" for="subject">Panjang X Lebar</label>
|
||||
<select class="form-control">
|
||||
<option>Panjang X Lebar 1</option>
|
||||
<option>Panjang X Lebar 2</option>
|
||||
<option>Panjang X Lebar 3</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<center><a href="<?=base_url()?>home/project"><button type="button" class="btn btn-warning btn-md text-white"><b>Kembali</b></button></a></center>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
94
application/views/home/menu/login.php
Normal file
94
application/views/home/menu/login.php
Normal file
@ -0,0 +1,94 @@
|
||||
<div class="site-section bg-light">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-5 mb-5">
|
||||
|
||||
|
||||
|
||||
<form method="post" class="p-5 bg-white">
|
||||
|
||||
<h2 class="h4 text-black mb-5">Form Login</h2>
|
||||
|
||||
<div class="row form-group">
|
||||
|
||||
<div class="col-md-12">
|
||||
<label class="text-black" for="email">Username</label>
|
||||
<input type="text" id="username" class="form-control" name="username" required="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row form-group">
|
||||
|
||||
<div class="col-md-12">
|
||||
<label class="text-black" for="email">Password</label>
|
||||
<input type="password" id="password" class="form-control" name="password" required="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row form-group">
|
||||
<div class="col-md-12">
|
||||
<input type="submit" value="Login" class="btn btn-primary btn-md text-white" name="login">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-7 mb-5">
|
||||
|
||||
|
||||
|
||||
<form action="" method="post" class="p-5 bg-white">
|
||||
|
||||
<h2 class="h4 text-black mb-5">Form Pendaftaran</h2>
|
||||
|
||||
<div class="row form-group">
|
||||
|
||||
<div class="col-md-12">
|
||||
<label class="text-black" for="email">Nama</label>
|
||||
<input type="text" name="nama" class="form-control" required="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row form-group">
|
||||
|
||||
<div class="col-md-12">
|
||||
<label class="text-black" for="email">Alamat</label>
|
||||
<input type="text" name="alamat" class="form-control" required="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row form-group">
|
||||
|
||||
<div class="col-md-12">
|
||||
<label class="text-black" for="subject">Email</label>
|
||||
<input type="email" name="email" class="form-control" required="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row form-group">
|
||||
|
||||
<div class="col-md-12">
|
||||
<label class="text-black" for="subject">No Telepon</label>
|
||||
<input type="text" name="no_telpon" id="no_tel" minlength="11" maxlength="13" class="form-control" required="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row form-group">
|
||||
<div class="col-md-12">
|
||||
<input type="submit" value="Lakukan Pendaftaran" name="daftar" class="btn btn-primary btn-md text-white">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
170
application/views/home/script.php
Normal file
170
application/views/home/script.php
Normal file
@ -0,0 +1,170 @@
|
||||
<script src="<?=base_url()?>js/jquery-3.3.1.min.js"></script>
|
||||
<script src="<?=base_url()?>js/jquery-migrate-3.0.1.min.js"></script>
|
||||
<script src="<?=base_url()?>js/jquery-ui.js"></script>
|
||||
<script src="<?=base_url()?>js/popper.min.js"></script>
|
||||
<script src="<?=base_url()?>js/bootstrap.min.js"></script>
|
||||
<script src="<?=base_url()?>js/owl.carousel.min.js"></script>
|
||||
<script src="<?=base_url()?>js/jquery.stellar.min.js"></script>
|
||||
<script src="<?=base_url()?>js/jquery.countdown.min.js"></script>
|
||||
<script src="<?=base_url()?>js/jquery.magnific-popup.min.js"></script>
|
||||
<script src="<?=base_url()?>js/bootstrap-datepicker.min.js"></script>
|
||||
<script src="<?=base_url()?>js/aos.js"></script>
|
||||
|
||||
<script src="<?=base_url()?>js/typed.js"></script>
|
||||
|
||||
<script src="<?php echo base_url() ?>sweet-alert/sweetalert.js"></script>
|
||||
|
||||
<script src="<?=base_url()?>assets/plugin/toastr/toastr.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/plugin/toastr/toastr.css">
|
||||
|
||||
<?php if ($this->session->flashdata('success')): ?>
|
||||
<script type="text/javascript">
|
||||
toastr.options = {
|
||||
"closeButton": true,
|
||||
"debug": false,
|
||||
"progressBar": true,
|
||||
"positionClass": "toast-top-right",
|
||||
"showDuration": "300",
|
||||
"hideDuration": "1000",
|
||||
"timeOut": "5000",
|
||||
"extendedTimeOut": "1000",
|
||||
"showEasing": "swing",
|
||||
"hideEasing": "linear",
|
||||
"showMethod": "fadeIn",
|
||||
"hideMethod": "fadeOut"
|
||||
};
|
||||
|
||||
|
||||
toastr.success("<?php echo $this->session->flashdata('success')?>");
|
||||
|
||||
|
||||
</script>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($this->session->flashdata('error')): ?>
|
||||
<script type="text/javascript">
|
||||
toastr.options = {
|
||||
"closeButton": true,
|
||||
"debug": false,
|
||||
"progressBar": true,
|
||||
"positionClass": "toast-top-right",
|
||||
"showDuration": "300",
|
||||
"hideDuration": "1000",
|
||||
"timeOut": "5000",
|
||||
"extendedTimeOut": "1000",
|
||||
"showEasing": "swing",
|
||||
"hideEasing": "linear",
|
||||
"showMethod": "fadeIn",
|
||||
"hideMethod": "fadeOut"
|
||||
};
|
||||
|
||||
|
||||
toastr.error("<?php echo $this->session->flashdata('error')?>");
|
||||
|
||||
|
||||
</script>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($this->uri->segment(2) == ''): ?>
|
||||
<script>
|
||||
var typed = new Typed('.typed-words', {
|
||||
strings: [" Spanduk"," Kartu Nama"," Undangan"],
|
||||
typeSpeed: 80,
|
||||
backSpeed: 80,
|
||||
backDelay: 4000,
|
||||
startDelay: 1000,
|
||||
loop: true,
|
||||
showCursor: true
|
||||
});
|
||||
</script>
|
||||
<?php endif ?>
|
||||
|
||||
|
||||
<?php if ($this->uri->segment(2) == 'project'): ?>
|
||||
<script>
|
||||
function openCity(evt, cityName) {
|
||||
var i, tabcontent, tablinks;
|
||||
tabcontent = document.getElementsByClassName("tabcontent");
|
||||
for (i = 0; i < tabcontent.length; i++) {
|
||||
tabcontent[i].style.display = "none";
|
||||
}
|
||||
tablinks = document.getElementsByClassName("tablinks");
|
||||
for (i = 0; i < tablinks.length; i++) {
|
||||
tablinks[i].className = tablinks[i].className.replace(" active", "");
|
||||
}
|
||||
document.getElementById(cityName).style.display = "block";
|
||||
evt.currentTarget.className += " active";
|
||||
}
|
||||
|
||||
document.getElementById("defaultOpen").click();
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function tukar_halaman(a,b)
|
||||
{
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "<?=base_url()?>home/tukar_halaman/",
|
||||
data: {no: a, kategori : b}, // appears as $_GET['id'] @ your backend side
|
||||
// dataType: "json",
|
||||
success: function(data1) {
|
||||
if (b == 1) {
|
||||
// console.log(data1);
|
||||
$("#undangan").html(data1);
|
||||
}else if (b == 2) {
|
||||
$("#kartu_nama").html(data1);
|
||||
}else if (b == 3) {
|
||||
$("#spanduk").html(data1);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($this->uri->segment(2) == 'prelogin' ): ?>
|
||||
<script type="text/javascript">
|
||||
function setInputFilter(textbox, inputFilter) {
|
||||
["input", "keydown", "keyup", "mousedown", "mouseup", "select", "contextmenu", "drop"].forEach(function(event) {
|
||||
textbox.addEventListener(event, function() {
|
||||
if (inputFilter(this.value)) {
|
||||
this.oldValue = this.value;
|
||||
this.oldSelectionStart = this.selectionStart;
|
||||
this.oldSelectionEnd = this.selectionEnd;
|
||||
} else if (this.hasOwnProperty("oldValue")) {
|
||||
this.value = this.oldValue;
|
||||
this.setSelectionRange(this.oldSelectionStart, this.oldSelectionEnd);
|
||||
} else {
|
||||
this.value = "";
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// Install input filters.
|
||||
setInputFilter(document.getElementById("no_tel"), function(value) {
|
||||
return /^-?\d*$/.test(value); });
|
||||
</script>
|
||||
|
||||
|
||||
<?php if ($this->session->flashdata('pendaftaran')):
|
||||
$data = $this->session->flashdata('pendaftaran');
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
swal({
|
||||
title: "Anda Berhasil Terdaftar",
|
||||
text: "Username = <?=$data['username']?> \n Password = <?=$data['username']?>",
|
||||
icon: "success",
|
||||
buttons: false,
|
||||
});
|
||||
</script>
|
||||
<?php endif ?>
|
||||
|
||||
|
||||
|
||||
<?php endif ?>
|
||||
|
||||
|
||||
|
||||
<script src="<?=base_url()?>js/main.js"></script>
|
||||
8
application/views/home/site_mobile.php
Normal file
8
application/views/home/site_mobile.php
Normal file
@ -0,0 +1,8 @@
|
||||
<div class="site-mobile-menu">
|
||||
<div class="site-mobile-menu-header">
|
||||
<div class="site-mobile-menu-close mt-3">
|
||||
<span class="icon-close2 js-menu-toggle"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="site-mobile-menu-body"></div>
|
||||
</div>
|
||||
20
application/views/home/top_bar.php
Normal file
20
application/views/home/top_bar.php
Normal file
@ -0,0 +1,20 @@
|
||||
<div class="border-bottom top-bar py-2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<p class="mb-0">
|
||||
<span class="mr-3"><strong>Phone:</strong> <a href="tel://#">+62 852 4223 9009</a></span>
|
||||
<span><strong>Email:</strong> <a href="#">Auliahdp@yahoo.co.id</a></span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<ul class="social-media">
|
||||
<li><a href="#" class="p-2"><span class="icon-facebook"></span></a></li>
|
||||
<li><a href="#" class="p-2"><span class="icon-twitter"></span></a></li>
|
||||
<li><a href="#" class="p-2"><span class="icon-instagram"></span></a></li>
|
||||
<li><a href="#" class="p-2"><span class="icon-linkedin"></span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user