Deprecated (16384) : ServerRequest::query() is deprecated. Use getQuery() or the PSR-7 getQueryParams() and withQueryParams() methods instead. - /var/www/html/website/main/honda/src/Controller/ProductsController.php, line: 305
You can disable deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED` in your config/app.php. [CORE/src/Core/functions.php , line 311 ]Code Context
trigger_error ( $message , E_USER_DEPRECATED );
}
$message = 'ServerRequest::query() is deprecated. Use getQuery() or the PSR-7 getQueryParams() and withQueryParams() methods instead. - /var/www/html/website/main/honda/src/Controller/ProductsController.php, line: 305
You can disable deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED` in your config/app.php.'
$stackFrame = (int) 1
$trace = [
(int) 0 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Http/ServerRequest.php',
'line' => (int) 1605,
'function' => 'deprecationWarning',
'args' => [
(int) 0 => 'ServerRequest::query() is deprecated. Use getQuery() or the PSR-7 getQueryParams() and withQueryParams() methods instead.'
]
],
(int) 1 => [
'file' => '/var/www/html/website/main/honda/src/Controller/ProductsController.php',
'line' => (int) 305,
'function' => 'query',
'class' => 'Cake\Http\ServerRequest',
'object' => object(Cake\Http\ServerRequest) {},
'type' => '->',
'args' => [
(int) 0 => 'od'
]
],
(int) 2 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Controller/Controller.php',
'line' => (int) 609,
'function' => 'oli',
'class' => 'App\Controller\ProductsController',
'object' => object(App\Controller\ProductsController) {},
'type' => '->',
'args' => []
],
(int) 3 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php',
'line' => (int) 120,
'function' => 'invokeAction',
'class' => 'Cake\Controller\Controller',
'object' => object(App\Controller\ProductsController) {},
'type' => '->',
'args' => []
],
(int) 4 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php',
'line' => (int) 94,
'function' => '_invoke',
'class' => 'Cake\Http\ActionDispatcher',
'object' => object(Cake\Http\ActionDispatcher) {},
'type' => '->',
'args' => [
(int) 0 => object(App\Controller\ProductsController) {}
]
],
(int) 5 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => (int) 234,
'function' => 'dispatch',
'class' => 'Cake\Http\ActionDispatcher',
'object' => object(Cake\Http\ActionDispatcher) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 6 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 65,
'function' => '__invoke',
'class' => 'Cake\Http\BaseApplication',
'object' => object(App\Application) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {},
(int) 2 => object(Cake\Http\Runner) {}
]
],
(int) 7 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php',
'line' => (int) 162,
'function' => '__invoke',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 8 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 65,
'function' => '__invoke',
'class' => 'Cake\Routing\Middleware\RoutingMiddleware',
'object' => object(Cake\Routing\Middleware\RoutingMiddleware) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {},
(int) 2 => object(Cake\Http\Runner) {}
]
],
(int) 9 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php',
'line' => (int) 88,
'function' => '__invoke',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 10 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 65,
'function' => '__invoke',
'class' => 'Cake\Routing\Middleware\AssetMiddleware',
'object' => object(Cake\Routing\Middleware\AssetMiddleware) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {},
(int) 2 => object(Cake\Http\Runner) {}
]
],
(int) 11 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php',
'line' => (int) 96,
'function' => '__invoke',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 12 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 65,
'function' => '__invoke',
'class' => 'Cake\Error\Middleware\ErrorHandlerMiddleware',
'object' => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {},
(int) 2 => object(Cake\Http\Runner) {}
]
],
(int) 13 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 51,
'function' => '__invoke',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 14 => [
'file' => '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Http/Server.php',
'line' => (int) 97,
'function' => 'run',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\MiddlewareQueue) {},
(int) 1 => object(Cake\Http\ServerRequest) {},
(int) 2 => object(Cake\Http\Response) {}
]
],
(int) 15 => [
'file' => '/var/www/html/website/main/honda/webroot/index.php',
'line' => (int) 40,
'function' => 'run',
'class' => 'Cake\Http\Server',
'object' => object(Cake\Http\Server) {},
'type' => '->',
'args' => []
]
]
$frame = [
'file' => '/var/www/html/website/main/honda/src/Controller/ProductsController.php',
'line' => (int) 305,
'function' => 'query',
'class' => 'Cake\Http\ServerRequest',
'object' => object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
[maximum depth reached]
]
[protected] data => [[maximum depth reached]]
[protected] query => [
[maximum depth reached]
]
[protected] cookies => [[maximum depth reached]]
[protected] _environment => [
[maximum depth reached]
]
[protected] url => 'oli'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/oli'
[protected] trustedProxies => [[maximum depth reached]]
[protected] _input => null
[protected] _detectors => [
[maximum depth reached]
]
[protected] _detectorCache => [
[maximum depth reached]
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Http\Session) {}
[protected] attributes => [[maximum depth reached]]
[protected] emulatedAttributes => [
[maximum depth reached]
]
[protected] uploadedFiles => [[maximum depth reached]]
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
[maximum depth reached]
]
},
'type' => '->',
'args' => [
(int) 0 => 'od'
]
] deprecationWarning - CORE/src/Core/functions.php, line 311
Cake\Http\ServerRequest::query() - CORE/src/Http/ServerRequest.php, line 1605
App\Controller\ProductsController::oli() - APP/Controller/ProductsController.php, line 305
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 97 Warning (512) : Unable to emit headers. Headers sent in file=/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Error/Debugger.php line=856 [CORE/src/Http/ResponseEmitter.php , line 51 ]Code Context if ( Configure :: read ( 'debug' )) {
trigger_error ( $message , E_USER_WARNING );
} else {
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ' <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Products </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/>
<link rel="stylesheet" href="/css/base.css"/>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="/css/bootstrap/css/bootstrap.min.css"/>
<!-- Custom fonts for this template -->
<link rel="stylesheet" href="/css/fontawesome-free/css/all.min.css"/> <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>
<!-- Custom styles for this template -->
<link rel="stylesheet" href="/css/agency.min.css"/> <link rel="stylesheet" href="/css/pagination.css"/> <link rel="stylesheet" href="/css/style.css"/>
<!-- Bootstrap core JavaScript -->
<script src="/js/jquery/jquery.min.js"></script> <script src="/js/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Plugin JavaScript -->
<script src="/js/jquery-easing/jquery.easing.min.js"></script>
<!-- Contact form JavaScript -->
<script src="/js/contact_me.js"></script> <script src="/js/jqBootstrapValidation.js"></script> <script src="/js/pagination.js"></script> <script src="/js/myscript.js"></script>
</head>
<body id="page-top">
<nav class="navbar navbar-expand-lg navbar-dark fixed-top" id="mainNav">
<!-- <div class="container"> -->
<a class="navbar-brand js-scroll-trigger ml-4" href="/Homes"><img src="/img/logo-honda.png"></a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
Menu
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav text-uppercase ml-auto">
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/Homes">Home</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/harga-otr">Harga</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Motor
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/motor?id=09de23ed-5b2a-4a52-a637-e6c2354ee335">Metic</a>
<a class="dropdown-item" href="/motor?id=720de85f-0727-4349-843d-39387136ae2e">Sport</a>
<a class="dropdown-item" href="/motor?id=8537104e-458c-4b85-b176-a3edc5ab6090">Club</a>
<a class="dropdown-item" href="/motor?id=b63d9b2d-74e6-4ca3-a7cc-3aaa8763ccbb">Big Bike Honda</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/aksesoris">Aksesoris</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/suku-cadang">Suku Cadang</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/apparel">Apparel</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/helm">Helm</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/oli">Oli</a>
</li>
</ul>
<!-- </div> -->
</div>
</nav>
<!-- <div class="container clearfix"> -->
<header class="masthead-min" style="height:70%">
</header>
<!-- Portfolio Grid -->
<section class="bg-light page-section" id="portfolio">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading text-uppercase">Oli</h2>
<!-- <h3 class="section-subheading text-muted">Lorem ipsum dolor sit amet consectetur.</h3> -->
<div class="row mb-4">
<div class="col-md-3 col-sm-3">
<div class="input-group input-group-rounded input-group-merge">
<input type="search" class="form-control form-control-rounded form-control-prepended" id="input-cari-product" placeholder="Search" aria-label="Search" onkeyup="search_product()">
<div class="input-group-prepend">
<div class="input-group-text">
<span class="fa fa-search"></span>
</div>
</div>
</div>
</div>
<div class="col-md-3 col-sm-3"></div>
<div class="col-md-3 col-sm-3">
<label style="float: right; font-weight: bold; text-transform: uppercase;margin: 10px 5px 0 0;display: inline-block;">Atur Berdasarkan</label>
</div>
<div class="col-md-3 col-sm-3">
<select id="order" onchange="select(this.value)">
<option value="0">Terbaru</option>
<option value="1">Terlama</option>
<option value="2">Populer</option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-3">
<div class="col-md-12 col-sm-12 portfolio-item">
<div class="card">
<h3 class="section-subheading card-header text-center" style="font-weight: bold;margin-bottom: 0; background-color: #d90c0c; color: white;">Produck Lainnya</h3>
<div class="card-body d-flex flex-column" >
<div class="btn-group-vertical">
<a type="button" href="/motor" class="btn btn btn-light bg-white border-0 p-2">Motor</a>
<a type="button" href="/aksesoris" class="btn btn btn-light bg-white border-0 p-2">Aksesoris</a>
<a type="button" href="/apparel" class="btn btn btn-light bg-white border-0 p-2">Apparel</a>
<a type="button" href="/suku-cadang" class="btn btn btn-light bg-white border-0 p-2">Suku Cadang</a>
<a type="button" href="/helm" class="btn btn btn-light bg-white border-0 p-2">Helm</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-9" >
<div class="row body-list-product" id="data-container"></div>
<div id="pagination-container"></div>
</div>
</div>
</div>
</section>
<script type="text/javascript">
var data = [{"id":"3ea189ec-bd0f-4f84-97af-56ed0ad0f36d","nama":"AHM Oil MPX-1 \u2013 1 L FED","deskripsi":"Diformulasikan oleh Honda R&D Japan dengan performa lubrikasi andal untuk melindungi sepeda motor Honda menjadi lebih irit namun bertenaga. Sangat hemat dengan penggantian yang lebih lama dan sekaligus mengurangi dampak pencemaran lingkungan. Memberikan daya lubrikasi sempurna untuk performa prima mesin sepeda motor Honda tipe kopling basah (Bebek dan Sport).","additional_information":"Berat:\t1000 g\r\nUkuran:\tFED, IDE, REP","foto_1":null,"foto_2":null,"foto_3":null,"foto_4":null,"created":"2020-03-21T00:00:00+00:00","view":41,"detail_files":[{"id":"e87de45c-96ef-4b84-a897-cd00daf97f6d","nama_file":"foto_1Cairan-Pendingin-Coolant.jpg","created":"3\/21\/20, 9:07 AM","data_id":"3ea189ec-bd0f-4f84-97af-56ed0ad0f36d"}]},{"id":"c5afe594-3e10-4145-bb47-f70f2b8fa6e9","nama":"Cairan Pendingin (Coolant) \u2013 Air Radiator","deskripsi":"Menjaga suhu kerja mesin supaya tetap ideal dan menghindari over heating(kepanasan) pada mesin melalui sirkulasi dari cairan pendingin \/ Radiator Coolant\r\nNama Resmi Produk: Honda M\/C Genuine Coolant\r\nKode Part: 08CLAH50500","additional_information":"Berat:\t1000 g\r\nWarna:\tPutih","foto_1":null,"foto_2":null,"foto_3":null,"foto_4":null,"created":"2020-03-21T00:00:00+00:00","view":47,"detail_files":[{"id":"b2fcddf7-0337-48e6-910d-1958d0c897db","nama_file":"foto_1Oli-MPX1-10W30-SL-1L-Ide-082322MAK1LN1.jpg","created":"3\/21\/20, 9:09 AM","data_id":"c5afe594-3e10-4145-bb47-f70f2b8fa6e9"}]}];
$( document ).ready(function() {
search_product();
var urlParams = new URLSearchParams(window.location.search);
var id_od = urlParams.get('od');
console.log(data)
if (id_od != null) {
$('#order').val(id_od);
}
});
function select(val) {
var urlParams = new URLSearchParams(window.location.search);
// window.location.href
var id_type = urlParams.get('id');
var id_od = urlParams.get('od');
if (id_type == null) {
document.location = /+'oli?od='+val;
}else{
document.location = /+'oli?id='+id_type+'&od='+val;
}
}
function simpleTemplating(data) {
// console.log(data);
var content = '';
data.map((item) => {
content += `<a class="col-md-4 col-sm-6 portfolio-item" href="/Detail-Oli/${item.id}">` +
'<div class="card-custome">' +
'<div class="portfolio-link padding-10" data-toggle="modal">'
for (var i = 0; i < item.detail_files.length; i++) {
if (item.detail_files[i].nama_file != null) {
content +=`<img class="img-fluid" src="/img/product/oli/${item.detail_files[i].nama_file}" alt="">`
break;
}
}
content +='</div>' +
'<div class="height-100 portfolio-caption" style="background-color:#d90c0c;" >' +
`<h6 class="custome-text color-white">${item.nama}</h6>` +
'</div>' +
'</div>' +
'</a>'
})
return content;
};
</script> <!-- </div> -->
<!-- Footer -->
<footer class="footer" id="footer">
<div class="container">
<div class="row align-items-center border-btn-2">
<div class="col-md-4 p-2">
<h5 style="color: #86837f">Mitra Mulya Swadana Motor</h5>
<p class="mb-0 text-left"><i class="fas fa-store mr-1"></i> Jl. Raya PLP Curug No. 168 C-D-E Tanggerang Banten 15810</p>
<p class="mb-0 text-left"><i class="fas fa-tty mr-1"></i> 59491721 - 59491431 - 59491613</p>
<p class="mb-0 text-left"><i class="fab fa-whatsapp mr-1"></i> 0859-2057-3062</p>
<p class="mb-0 text-left"><i class="fas fa-fax mr-1"></i> 59491669</p><br>
<a href="https://www.google.com/maps/place/Ahass+Mitra+Mulya+Swadana.+PT/@-6.2708195,106.5566107,15z/data=!4m5!3m4!1s0x0:0xd438ec08b482d056!8m2!3d-6.2708195!4d106.5566107" target="blank">
<img src="/img/mms.png">
</a>
</div>
<div class="col-md-4 p-2">
<h5 style="color: #86837f">Mitra Mulya Cemerlang Motor</h5>
<p class="mb-0 text-left"><i class="fas fa-store mr-1"></i> Jl. Cikahuripan RT 002/005 Neglasari kota Tanggerang</p>
<p class="mb-0 text-left"><i class="fas fa-tty mr-1"></i> 75872599 - 75872598</p>
<p class="mb-0 text-left"><i class="fab fa-whatsapp mr-1"></i> 0813-1001-2427</p>
<p class="mb-0 text-left"><i class="fas fa-fax mr-1"></i> 75875965</p><br>
<a href="https://www.google.com/maps/place/Mitra+Mulia+Cemerlang+Motor/@-6.1518229,106.6323348,16z/data=!4m5!3m4!1s0x0:0xdaafa65ffe9fa9db!8m2!3d-6.1518229!4d106.6323348" target="blank">
<img src="/img/mmc.png">
</a>
</div>
<div class="col-md-4 p-2">
<h5 style="color: #86837f">Mitra Mulya Anungrah Motor</h5>
<p class="mb-0 text-left"><i class="fas fa-store mr-1"></i> Ruko Niaga Serpong Garden No.15-16-17 Jl. Raya Cisauk Lapan - Tanggerang</p>
<p class="mb-0 text-left"><i class="fas fa-tty mr-1"></i> 5577 8118</p>
<p class="mb-0 text-left"><i class="fab fa-whatsapp mr-1"></i> -</p>
<p class="mb-0 text-left"><i class="fas fa-fax mr-1"></i> 5577 6978</p><br>
<a href="https://www.google.com/maps/place/PT.+Mitra+Mulia+Anugrah/@-6.334085,106.6387026,15z/data=!4m5!3m4!1s0x0:0x7000b19050e6a6ce!8m2!3d-6.334085!4d106.6387026" target="blank">
<img src="/img/mma.png">
</a>
</div>
</div>
<div class="align-items-center mt-3 ">
<ul class="list-inline social-buttons ml-0">
<li class="list-inline-item">
<a href="#" class="twiter">
<i class="fab fa-twitter"></i>
</a>
</li>
<li class="list-inline-item">
<a href="#" class="facebook">
<i class="fab fa-facebook-f"></i>
</a>
</li>
<li class="list-inline-item">
<a href="#" class="instagram">
<i class="fab fa-instagram"></i>
</a>
</li>
</ul>
</div>
</div>
</footer>
</div>
<!-- Custom scripts for this template -->
<script src="/js/agency.min.js"></script>
<script type="text/javascript">
</script>
</body>
</html>
'
}
$maxBufferLength = (int) 8192
$file = '/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 856
$message = 'Unable to emit headers. Headers sent in file=/var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Error/Debugger.php line=856' Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 51
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40 Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php , line 152 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
));
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ' <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Products </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/>
<link rel="stylesheet" href="/css/base.css"/>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="/css/bootstrap/css/bootstrap.min.css"/>
<!-- Custom fonts for this template -->
<link rel="stylesheet" href="/css/fontawesome-free/css/all.min.css"/> <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>
<!-- Custom styles for this template -->
<link rel="stylesheet" href="/css/agency.min.css"/> <link rel="stylesheet" href="/css/pagination.css"/> <link rel="stylesheet" href="/css/style.css"/>
<!-- Bootstrap core JavaScript -->
<script src="/js/jquery/jquery.min.js"></script> <script src="/js/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Plugin JavaScript -->
<script src="/js/jquery-easing/jquery.easing.min.js"></script>
<!-- Contact form JavaScript -->
<script src="/js/contact_me.js"></script> <script src="/js/jqBootstrapValidation.js"></script> <script src="/js/pagination.js"></script> <script src="/js/myscript.js"></script>
</head>
<body id="page-top">
<nav class="navbar navbar-expand-lg navbar-dark fixed-top" id="mainNav">
<!-- <div class="container"> -->
<a class="navbar-brand js-scroll-trigger ml-4" href="/Homes"><img src="/img/logo-honda.png"></a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
Menu
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav text-uppercase ml-auto">
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/Homes">Home</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/harga-otr">Harga</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Motor
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/motor?id=09de23ed-5b2a-4a52-a637-e6c2354ee335">Metic</a>
<a class="dropdown-item" href="/motor?id=720de85f-0727-4349-843d-39387136ae2e">Sport</a>
<a class="dropdown-item" href="/motor?id=8537104e-458c-4b85-b176-a3edc5ab6090">Club</a>
<a class="dropdown-item" href="/motor?id=b63d9b2d-74e6-4ca3-a7cc-3aaa8763ccbb">Big Bike Honda</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/aksesoris">Aksesoris</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/suku-cadang">Suku Cadang</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/apparel">Apparel</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/helm">Helm</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/oli">Oli</a>
</li>
</ul>
<!-- </div> -->
</div>
</nav>
<!-- <div class="container clearfix"> -->
<header class="masthead-min" style="height:70%">
</header>
<!-- Portfolio Grid -->
<section class="bg-light page-section" id="portfolio">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading text-uppercase">Oli</h2>
<!-- <h3 class="section-subheading text-muted">Lorem ipsum dolor sit amet consectetur.</h3> -->
<div class="row mb-4">
<div class="col-md-3 col-sm-3">
<div class="input-group input-group-rounded input-group-merge">
<input type="search" class="form-control form-control-rounded form-control-prepended" id="input-cari-product" placeholder="Search" aria-label="Search" onkeyup="search_product()">
<div class="input-group-prepend">
<div class="input-group-text">
<span class="fa fa-search"></span>
</div>
</div>
</div>
</div>
<div class="col-md-3 col-sm-3"></div>
<div class="col-md-3 col-sm-3">
<label style="float: right; font-weight: bold; text-transform: uppercase;margin: 10px 5px 0 0;display: inline-block;">Atur Berdasarkan</label>
</div>
<div class="col-md-3 col-sm-3">
<select id="order" onchange="select(this.value)">
<option value="0">Terbaru</option>
<option value="1">Terlama</option>
<option value="2">Populer</option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-3">
<div class="col-md-12 col-sm-12 portfolio-item">
<div class="card">
<h3 class="section-subheading card-header text-center" style="font-weight: bold;margin-bottom: 0; background-color: #d90c0c; color: white;">Produck Lainnya</h3>
<div class="card-body d-flex flex-column" >
<div class="btn-group-vertical">
<a type="button" href="/motor" class="btn btn btn-light bg-white border-0 p-2">Motor</a>
<a type="button" href="/aksesoris" class="btn btn btn-light bg-white border-0 p-2">Aksesoris</a>
<a type="button" href="/apparel" class="btn btn btn-light bg-white border-0 p-2">Apparel</a>
<a type="button" href="/suku-cadang" class="btn btn btn-light bg-white border-0 p-2">Suku Cadang</a>
<a type="button" href="/helm" class="btn btn btn-light bg-white border-0 p-2">Helm</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-9" >
<div class="row body-list-product" id="data-container"></div>
<div id="pagination-container"></div>
</div>
</div>
</div>
</section>
<script type="text/javascript">
var data = [{"id":"3ea189ec-bd0f-4f84-97af-56ed0ad0f36d","nama":"AHM Oil MPX-1 \u2013 1 L FED","deskripsi":"Diformulasikan oleh Honda R&D Japan dengan performa lubrikasi andal untuk melindungi sepeda motor Honda menjadi lebih irit namun bertenaga. Sangat hemat dengan penggantian yang lebih lama dan sekaligus mengurangi dampak pencemaran lingkungan. Memberikan daya lubrikasi sempurna untuk performa prima mesin sepeda motor Honda tipe kopling basah (Bebek dan Sport).","additional_information":"Berat:\t1000 g\r\nUkuran:\tFED, IDE, REP","foto_1":null,"foto_2":null,"foto_3":null,"foto_4":null,"created":"2020-03-21T00:00:00+00:00","view":41,"detail_files":[{"id":"e87de45c-96ef-4b84-a897-cd00daf97f6d","nama_file":"foto_1Cairan-Pendingin-Coolant.jpg","created":"3\/21\/20, 9:07 AM","data_id":"3ea189ec-bd0f-4f84-97af-56ed0ad0f36d"}]},{"id":"c5afe594-3e10-4145-bb47-f70f2b8fa6e9","nama":"Cairan Pendingin (Coolant) \u2013 Air Radiator","deskripsi":"Menjaga suhu kerja mesin supaya tetap ideal dan menghindari over heating(kepanasan) pada mesin melalui sirkulasi dari cairan pendingin \/ Radiator Coolant\r\nNama Resmi Produk: Honda M\/C Genuine Coolant\r\nKode Part: 08CLAH50500","additional_information":"Berat:\t1000 g\r\nWarna:\tPutih","foto_1":null,"foto_2":null,"foto_3":null,"foto_4":null,"created":"2020-03-21T00:00:00+00:00","view":47,"detail_files":[{"id":"b2fcddf7-0337-48e6-910d-1958d0c897db","nama_file":"foto_1Oli-MPX1-10W30-SL-1L-Ide-082322MAK1LN1.jpg","created":"3\/21\/20, 9:09 AM","data_id":"c5afe594-3e10-4145-bb47-f70f2b8fa6e9"}]}];
$( document ).ready(function() {
search_product();
var urlParams = new URLSearchParams(window.location.search);
var id_od = urlParams.get('od');
console.log(data)
if (id_od != null) {
$('#order').val(id_od);
}
});
function select(val) {
var urlParams = new URLSearchParams(window.location.search);
// window.location.href
var id_type = urlParams.get('id');
var id_od = urlParams.get('od');
if (id_type == null) {
document.location = /+'oli?od='+val;
}else{
document.location = /+'oli?id='+id_type+'&od='+val;
}
}
function simpleTemplating(data) {
// console.log(data);
var content = '';
data.map((item) => {
content += `<a class="col-md-4 col-sm-6 portfolio-item" href="/Detail-Oli/${item.id}">` +
'<div class="card-custome">' +
'<div class="portfolio-link padding-10" data-toggle="modal">'
for (var i = 0; i < item.detail_files.length; i++) {
if (item.detail_files[i].nama_file != null) {
content +=`<img class="img-fluid" src="/img/product/oli/${item.detail_files[i].nama_file}" alt="">`
break;
}
}
content +='</div>' +
'<div class="height-100 portfolio-caption" style="background-color:#d90c0c;" >' +
`<h6 class="custome-text color-white">${item.nama}</h6>` +
'</div>' +
'</div>' +
'</a>'
})
return content;
};
</script> <!-- </div> -->
<!-- Footer -->
<footer class="footer" id="footer">
<div class="container">
<div class="row align-items-center border-btn-2">
<div class="col-md-4 p-2">
<h5 style="color: #86837f">Mitra Mulya Swadana Motor</h5>
<p class="mb-0 text-left"><i class="fas fa-store mr-1"></i> Jl. Raya PLP Curug No. 168 C-D-E Tanggerang Banten 15810</p>
<p class="mb-0 text-left"><i class="fas fa-tty mr-1"></i> 59491721 - 59491431 - 59491613</p>
<p class="mb-0 text-left"><i class="fab fa-whatsapp mr-1"></i> 0859-2057-3062</p>
<p class="mb-0 text-left"><i class="fas fa-fax mr-1"></i> 59491669</p><br>
<a href="https://www.google.com/maps/place/Ahass+Mitra+Mulya+Swadana.+PT/@-6.2708195,106.5566107,15z/data=!4m5!3m4!1s0x0:0xd438ec08b482d056!8m2!3d-6.2708195!4d106.5566107" target="blank">
<img src="/img/mms.png">
</a>
</div>
<div class="col-md-4 p-2">
<h5 style="color: #86837f">Mitra Mulya Cemerlang Motor</h5>
<p class="mb-0 text-left"><i class="fas fa-store mr-1"></i> Jl. Cikahuripan RT 002/005 Neglasari kota Tanggerang</p>
<p class="mb-0 text-left"><i class="fas fa-tty mr-1"></i> 75872599 - 75872598</p>
<p class="mb-0 text-left"><i class="fab fa-whatsapp mr-1"></i> 0813-1001-2427</p>
<p class="mb-0 text-left"><i class="fas fa-fax mr-1"></i> 75875965</p><br>
<a href="https://www.google.com/maps/place/Mitra+Mulia+Cemerlang+Motor/@-6.1518229,106.6323348,16z/data=!4m5!3m4!1s0x0:0xdaafa65ffe9fa9db!8m2!3d-6.1518229!4d106.6323348" target="blank">
<img src="/img/mmc.png">
</a>
</div>
<div class="col-md-4 p-2">
<h5 style="color: #86837f">Mitra Mulya Anungrah Motor</h5>
<p class="mb-0 text-left"><i class="fas fa-store mr-1"></i> Ruko Niaga Serpong Garden No.15-16-17 Jl. Raya Cisauk Lapan - Tanggerang</p>
<p class="mb-0 text-left"><i class="fas fa-tty mr-1"></i> 5577 8118</p>
<p class="mb-0 text-left"><i class="fab fa-whatsapp mr-1"></i> -</p>
<p class="mb-0 text-left"><i class="fas fa-fax mr-1"></i> 5577 6978</p><br>
<a href="https://www.google.com/maps/place/PT.+Mitra+Mulia+Anugrah/@-6.334085,106.6387026,15z/data=!4m5!3m4!1s0x0:0x7000b19050e6a6ce!8m2!3d-6.334085!4d106.6387026" target="blank">
<img src="/img/mma.png">
</a>
</div>
</div>
<div class="align-items-center mt-3 ">
<ul class="list-inline social-buttons ml-0">
<li class="list-inline-item">
<a href="#" class="twiter">
<i class="fab fa-twitter"></i>
</a>
</li>
<li class="list-inline-item">
<a href="#" class="facebook">
<i class="fab fa-facebook-f"></i>
</a>
</li>
<li class="list-inline-item">
<a href="#" class="instagram">
<i class="fab fa-instagram"></i>
</a>
</li>
</ul>
</div>
</div>
</footer>
</div>
<!-- Custom scripts for this template -->
<script src="/js/agency.min.js"></script>
<script type="text/javascript">
</script>
</body>
</html>
'
}
$reasonPhrase = 'OK' header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 152
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 57
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40 Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/website/main/honda/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php , line 185 ]Code Context $value
), $first );
$first = false ;
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ' <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Products </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/>
<link rel="stylesheet" href="/css/base.css"/>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="/css/bootstrap/css/bootstrap.min.css"/>
<!-- Custom fonts for this template -->
<link rel="stylesheet" href="/css/fontawesome-free/css/all.min.css"/> <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>
<!-- Custom styles for this template -->
<link rel="stylesheet" href="/css/agency.min.css"/> <link rel="stylesheet" href="/css/pagination.css"/> <link rel="stylesheet" href="/css/style.css"/>
<!-- Bootstrap core JavaScript -->
<script src="/js/jquery/jquery.min.js"></script> <script src="/js/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Plugin JavaScript -->
<script src="/js/jquery-easing/jquery.easing.min.js"></script>
<!-- Contact form JavaScript -->
<script src="/js/contact_me.js"></script> <script src="/js/jqBootstrapValidation.js"></script> <script src="/js/pagination.js"></script> <script src="/js/myscript.js"></script>
</head>
<body id="page-top">
<nav class="navbar navbar-expand-lg navbar-dark fixed-top" id="mainNav">
<!-- <div class="container"> -->
<a class="navbar-brand js-scroll-trigger ml-4" href="/Homes"><img src="/img/logo-honda.png"></a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
Menu
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav text-uppercase ml-auto">
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/Homes">Home</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/harga-otr">Harga</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Motor
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/motor?id=09de23ed-5b2a-4a52-a637-e6c2354ee335">Metic</a>
<a class="dropdown-item" href="/motor?id=720de85f-0727-4349-843d-39387136ae2e">Sport</a>
<a class="dropdown-item" href="/motor?id=8537104e-458c-4b85-b176-a3edc5ab6090">Club</a>
<a class="dropdown-item" href="/motor?id=b63d9b2d-74e6-4ca3-a7cc-3aaa8763ccbb">Big Bike Honda</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/aksesoris">Aksesoris</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/suku-cadang">Suku Cadang</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/apparel">Apparel</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/helm">Helm</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="/oli">Oli</a>
</li>
</ul>
<!-- </div> -->
</div>
</nav>
<!-- <div class="container clearfix"> -->
<header class="masthead-min" style="height:70%">
</header>
<!-- Portfolio Grid -->
<section class="bg-light page-section" id="portfolio">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading text-uppercase">Oli</h2>
<!-- <h3 class="section-subheading text-muted">Lorem ipsum dolor sit amet consectetur.</h3> -->
<div class="row mb-4">
<div class="col-md-3 col-sm-3">
<div class="input-group input-group-rounded input-group-merge">
<input type="search" class="form-control form-control-rounded form-control-prepended" id="input-cari-product" placeholder="Search" aria-label="Search" onkeyup="search_product()">
<div class="input-group-prepend">
<div class="input-group-text">
<span class="fa fa-search"></span>
</div>
</div>
</div>
</div>
<div class="col-md-3 col-sm-3"></div>
<div class="col-md-3 col-sm-3">
<label style="float: right; font-weight: bold; text-transform: uppercase;margin: 10px 5px 0 0;display: inline-block;">Atur Berdasarkan</label>
</div>
<div class="col-md-3 col-sm-3">
<select id="order" onchange="select(this.value)">
<option value="0">Terbaru</option>
<option value="1">Terlama</option>
<option value="2">Populer</option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-3">
<div class="col-md-12 col-sm-12 portfolio-item">
<div class="card">
<h3 class="section-subheading card-header text-center" style="font-weight: bold;margin-bottom: 0; background-color: #d90c0c; color: white;">Produck Lainnya</h3>
<div class="card-body d-flex flex-column" >
<div class="btn-group-vertical">
<a type="button" href="/motor" class="btn btn btn-light bg-white border-0 p-2">Motor</a>
<a type="button" href="/aksesoris" class="btn btn btn-light bg-white border-0 p-2">Aksesoris</a>
<a type="button" href="/apparel" class="btn btn btn-light bg-white border-0 p-2">Apparel</a>
<a type="button" href="/suku-cadang" class="btn btn btn-light bg-white border-0 p-2">Suku Cadang</a>
<a type="button" href="/helm" class="btn btn btn-light bg-white border-0 p-2">Helm</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-9" >
<div class="row body-list-product" id="data-container"></div>
<div id="pagination-container"></div>
</div>
</div>
</div>
</section>
<script type="text/javascript">
var data = [{"id":"3ea189ec-bd0f-4f84-97af-56ed0ad0f36d","nama":"AHM Oil MPX-1 \u2013 1 L FED","deskripsi":"Diformulasikan oleh Honda R&D Japan dengan performa lubrikasi andal untuk melindungi sepeda motor Honda menjadi lebih irit namun bertenaga. Sangat hemat dengan penggantian yang lebih lama dan sekaligus mengurangi dampak pencemaran lingkungan. Memberikan daya lubrikasi sempurna untuk performa prima mesin sepeda motor Honda tipe kopling basah (Bebek dan Sport).","additional_information":"Berat:\t1000 g\r\nUkuran:\tFED, IDE, REP","foto_1":null,"foto_2":null,"foto_3":null,"foto_4":null,"created":"2020-03-21T00:00:00+00:00","view":41,"detail_files":[{"id":"e87de45c-96ef-4b84-a897-cd00daf97f6d","nama_file":"foto_1Cairan-Pendingin-Coolant.jpg","created":"3\/21\/20, 9:07 AM","data_id":"3ea189ec-bd0f-4f84-97af-56ed0ad0f36d"}]},{"id":"c5afe594-3e10-4145-bb47-f70f2b8fa6e9","nama":"Cairan Pendingin (Coolant) \u2013 Air Radiator","deskripsi":"Menjaga suhu kerja mesin supaya tetap ideal dan menghindari over heating(kepanasan) pada mesin melalui sirkulasi dari cairan pendingin \/ Radiator Coolant\r\nNama Resmi Produk: Honda M\/C Genuine Coolant\r\nKode Part: 08CLAH50500","additional_information":"Berat:\t1000 g\r\nWarna:\tPutih","foto_1":null,"foto_2":null,"foto_3":null,"foto_4":null,"created":"2020-03-21T00:00:00+00:00","view":47,"detail_files":[{"id":"b2fcddf7-0337-48e6-910d-1958d0c897db","nama_file":"foto_1Oli-MPX1-10W30-SL-1L-Ide-082322MAK1LN1.jpg","created":"3\/21\/20, 9:09 AM","data_id":"c5afe594-3e10-4145-bb47-f70f2b8fa6e9"}]}];
$( document ).ready(function() {
search_product();
var urlParams = new URLSearchParams(window.location.search);
var id_od = urlParams.get('od');
console.log(data)
if (id_od != null) {
$('#order').val(id_od);
}
});
function select(val) {
var urlParams = new URLSearchParams(window.location.search);
// window.location.href
var id_type = urlParams.get('id');
var id_od = urlParams.get('od');
if (id_type == null) {
document.location = /+'oli?od='+val;
}else{
document.location = /+'oli?id='+id_type+'&od='+val;
}
}
function simpleTemplating(data) {
// console.log(data);
var content = '';
data.map((item) => {
content += `<a class="col-md-4 col-sm-6 portfolio-item" href="/Detail-Oli/${item.id}">` +
'<div class="card-custome">' +
'<div class="portfolio-link padding-10" data-toggle="modal">'
for (var i = 0; i < item.detail_files.length; i++) {
if (item.detail_files[i].nama_file != null) {
content +=`<img class="img-fluid" src="/img/product/oli/${item.detail_files[i].nama_file}" alt="">`
break;
}
}
content +='</div>' +
'<div class="height-100 portfolio-caption" style="background-color:#d90c0c;" >' +
`<h6 class="custome-text color-white">${item.nama}</h6>` +
'</div>' +
'</div>' +
'</a>'
})
return content;
};
</script> <!-- </div> -->
<!-- Footer -->
<footer class="footer" id="footer">
<div class="container">
<div class="row align-items-center border-btn-2">
<div class="col-md-4 p-2">
<h5 style="color: #86837f">Mitra Mulya Swadana Motor</h5>
<p class="mb-0 text-left"><i class="fas fa-store mr-1"></i> Jl. Raya PLP Curug No. 168 C-D-E Tanggerang Banten 15810</p>
<p class="mb-0 text-left"><i class="fas fa-tty mr-1"></i> 59491721 - 59491431 - 59491613</p>
<p class="mb-0 text-left"><i class="fab fa-whatsapp mr-1"></i> 0859-2057-3062</p>
<p class="mb-0 text-left"><i class="fas fa-fax mr-1"></i> 59491669</p><br>
<a href="https://www.google.com/maps/place/Ahass+Mitra+Mulya+Swadana.+PT/@-6.2708195,106.5566107,15z/data=!4m5!3m4!1s0x0:0xd438ec08b482d056!8m2!3d-6.2708195!4d106.5566107" target="blank">
<img src="/img/mms.png">
</a>
</div>
<div class="col-md-4 p-2">
<h5 style="color: #86837f">Mitra Mulya Cemerlang Motor</h5>
<p class="mb-0 text-left"><i class="fas fa-store mr-1"></i> Jl. Cikahuripan RT 002/005 Neglasari kota Tanggerang</p>
<p class="mb-0 text-left"><i class="fas fa-tty mr-1"></i> 75872599 - 75872598</p>
<p class="mb-0 text-left"><i class="fab fa-whatsapp mr-1"></i> 0813-1001-2427</p>
<p class="mb-0 text-left"><i class="fas fa-fax mr-1"></i> 75875965</p><br>
<a href="https://www.google.com/maps/place/Mitra+Mulia+Cemerlang+Motor/@-6.1518229,106.6323348,16z/data=!4m5!3m4!1s0x0:0xdaafa65ffe9fa9db!8m2!3d-6.1518229!4d106.6323348" target="blank">
<img src="/img/mmc.png">
</a>
</div>
<div class="col-md-4 p-2">
<h5 style="color: #86837f">Mitra Mulya Anungrah Motor</h5>
<p class="mb-0 text-left"><i class="fas fa-store mr-1"></i> Ruko Niaga Serpong Garden No.15-16-17 Jl. Raya Cisauk Lapan - Tanggerang</p>
<p class="mb-0 text-left"><i class="fas fa-tty mr-1"></i> 5577 8118</p>
<p class="mb-0 text-left"><i class="fab fa-whatsapp mr-1"></i> -</p>
<p class="mb-0 text-left"><i class="fas fa-fax mr-1"></i> 5577 6978</p><br>
<a href="https://www.google.com/maps/place/PT.+Mitra+Mulia+Anugrah/@-6.334085,106.6387026,15z/data=!4m5!3m4!1s0x0:0x7000b19050e6a6ce!8m2!3d-6.334085!4d106.6387026" target="blank">
<img src="/img/mma.png">
</a>
</div>
</div>
<div class="align-items-center mt-3 ">
<ul class="list-inline social-buttons ml-0">
<li class="list-inline-item">
<a href="#" class="twiter">
<i class="fab fa-twitter"></i>
</a>
</li>
<li class="list-inline-item">
<a href="#" class="facebook">
<i class="fab fa-facebook-f"></i>
</a>
</li>
<li class="list-inline-item">
<a href="#" class="instagram">
<i class="fab fa-instagram"></i>
</a>
</li>
</ul>
</div>
</div>
</footer>
</div>
<!-- Custom scripts for this template -->
<script src="/js/agency.min.js"></script>
<script type="text/javascript">
</script>
</body>
</html>
'
}
$cookies = []
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 185
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
Products
Menu
Oli
Atur Berdasarkan
Terbaru
Terlama
Populer