Skip to content

Instantly share code, notes, and snippets.

View jerry-maheswara-github's full-sized avatar

Jerry Maheswara jerry-maheswara-github

View GitHub Profile
<textarea class="vertical form-control" id="news_content" name="news_content"></textarea>
<script type="text/javascript">
tinymce.init({
selector: 'textarea#news_content',
height: 500,
menubar:false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
<script src="https://gist.github.com/<gist_id>.js"> </script>
<html>
<head>
<title>
:: Latihan Javascript ::
</title>
</head>
<body>
<h1>Simple Calculator</h1>
<form>
<table border="1" cellpadding="4px" cellspacing="6px">
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.2.4 or newer
*
* NOTICE OF LICENSE
*
* Licensed under the Open Software License version 3.0
*
<table>
<thead>
<tr>
<td>Harga</td>
<td>Qty</td>
<td>Total</td>
</tr>
</thead>
<tbody class="roww">
<tr class="baris">
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the framework as light-weight as possible only the
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
| For complete instructions please consult the 'Database Connection'
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class MY_Controller extends CI_Controller
{
/*****************************************************************************/
public function __construct()
{
parent::__construct();