Skip to content

Instantly share code, notes, and snippets.

View Rizki36's full-sized avatar
Working hard

Rizki Fitra R Rizki36

Working hard
View GitHub Profile
@extends('layout/index')
@section('title', 'Title spesifik view')
@section('css')
{{-- css spesifik --}}
<style>
span {
display: block;
background: rgb(246, 173, 173);
@php
defined('BASEPATH') or exit('No direct script access allowed');
@endphp
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>@yield('title', 'Judul default')</title>
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Test extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->library('slice');
$this->load->helper('url');