Wednesday, 13 November 2013

Soal Ulangan Reposted Speech

Standard

SOAL






A. CHANGE THE DIRECT SPEECH INTO INDIRECT SPEECH
NUMBER 1-5 ARE STATEMENT
1. "My sister is going to stay in England next Saturday"
- Father told me that his sister was going to stay in England following Saturday

2. "You have to clean this room before you return."
- The intruction said that i had to clean this room before i return

3. "I am good at arranging flowers"
- Linda told her friends that she was good at arranging flowers

4. "The dogs at my house are very dangerous."
- My friend warned me that the dogs at his/her house were very dangerour

5. "I have submitted all documents needed and an application."
- My brother said that he had submitted all documents needed and an application


NUMBER 6-10 ARE IMPERATIVES
6. "Wait for me!"
- He asked me to wait for him

7. "Send my love to her!"
- John asked me to send his love to he

8. "Give me a large steak and chips"
- The man ordered the waiter to give him a large steak andchips.

9. "Please help me "
- The old lady begged me to help her

10. "Put your hands up !"
- The robber ordered me to put


NUMBER 11-14 ARE IN QUESTIONS
11. "Who paid the taxi fare ?"
- She asked me who had paid the taxi fare

12. "Do you still take English course twice a week ?"
- Uncle asked if I still took English course twice a week

13. "What are you going to prepare for dinner ?"
- Father asked the cook what he/she was going to prepare for dinner

14. Did you study hard before the exam last week ?
- She wondered me whether I had studied hard before exam the week before.


NUMBER 15-20 CHANGE THE INDIRECT SPEECH INTO DIRECT SPEECH
15. Raja asked me if I had done my homework.
- Raja asks, "Have you done do your home work?"

16. Rina said that the meeting was held in the new hall.
- Rina says, "The meeting is held in the new hall"

17. Fairuz told us to submit all the job sheets.
- Fairuz tells us, "Submit all the job sheets"

18. Sanjay asked me what time I got up that day
- Sanjay asks me, "What time do you get up today?"

19. Susi told me not to come late to the meeting.
- Susi tell me, "Don't come late to the meeting!"

20. Sandra asked whether the bell had rung.
- Sandra asks, "Did the bell ring?"
- Sandra asks, "Has the bell rung"?

Wednesday, 6 November 2013

Reported Speech

Standard

REPORTED SPEECH


The Change of the pronoun
DIRECT SPEECH INDIRECT SPEECH
I He, She
You I, You
We They
They They
My His ,Her
Our Their
Your My

The chaange of the adverb
DIRECT SPEECH WORDS REPORTED SPEECH
1) Statement           say             ... that sentence

2) Imperative         
tell/ask/ 
order/want 
                 
... to V1                    
3) Yes/No Questionask            ... if/whether sentence

4) W-H Question    
 ask           
... W-H + sentence    




Exercise about reported speech

I

1. Rendi said,"I will submit my report immediatelly"
Rendi said that he would submit his report immediatelly.

2. Shanti said,"I don't like working under pressure"
Shanti said that she didn't like working under pressure.

3. My boss said, "Our company has successfully achieve its target"
My boss said that their company had successfully achieve its target

4. The manager said, "The presentation is really good."
The manager said that the presentation was really good.

5. Ivan said,"I think i should look for a better job."
Ivan said that He thought he should look for a better job

6. The secretary said,"You have to make  an appoinment meet the director"
The secretary said that I had to make an appoinment meet the director
7. Tuti said,"I have no draft on her desk"
Tuti said that she had no draft on er desk

8. Leo said,"I have taken a full time job "
Leo said that He had taken a full time job

9. Edi said, "I'll make a call tomorrow"
Edi said that He would make a call the next day/the following day/the day after

10. Tita said, "I saw a presentation yesterday"
Tita said that She seen a presenttion the day before.

II
1. Jaka wanted to know if I would be at the meeting.
Jaka says, "Will you be at the meeting ?"
2. Intan wondered whether



Sunday, 3 November 2013

Connect dengan database (Bootstrap)

Standard
File yang berkaitan dengan akses database yaitu file autoload.php dan database.php yang berada pada folder boostrap-> application-> config

1. Edit kedua file tersebut
a) Pada autoload.php, tuliskan 'database' pada syntax $autoload['libraries'] = array (), seperti pada gambar di bawah ini

b) Pada database.php. Pada bagian ini ,sesuaikan dengan yang di phpmyadmin. Jika tidak menggunakan password, username diisi dengan 'root'

pending dulu......ngantuk

Menampilkan Data (Bootstrap)

Standard
Buat filenya didalem bootstrap yak...

1. Buat file admin_lat_ppdb.php pada folder controller (bootstrap->application->controller)
Tuliskan Script seperti pada gambar dibawah ini 


2. Buat file lat_ppdb.php didalam folder view
tulis syntax seperti di bawah ini

3. Tampilkan


Catatan !!!!

1. Jika isi data belum muncul seperti gambar di bawah ini, maka cek lagi apakah pembungkus datanya sudah disertakan atau belum

Cek lagi pada gambar dibawah ini


Rumput Liar

Standard


Jangan seperti aku, asal tumbuh di sembarang . Asal tumbuh dan menjadi tumbuhan pengganggu. Aku dan kamu berbeda. Kamu dapat tumbuh dan menjadi makhlukNya yang berguna bagi sesama. Sedangkan aku, menjadi tumbuhan pengganggu yang merugikan sesama. Sebenarnya aku juga bisa berguna bagi sesama. Perlu sebuah proses perubahan untuk menjadikan aku bermanfaat. Berubah busuk dan menjadi kompos. Itu yang lebih berguna.

CRUD - Delete - Edit - Update

Standard
Catatanku untuk pelajaran Web Dinamyc hari Jumat, 1 November 2013

Download CI lalu rename (latihan-ppdb) dan letakkan bootstrap didalamnya 

1. Buat layout Web PPDB di http://www.layoutit.com/build, setelah itu kita download (fixed).
Buat layout seperti di bawah ini.


2. Jika sudah di download, simpan pada folder views. lalu edit namanya menjadi lat-ppdb.php

3. Sekarang kita buat databasenya 
nama database : dbppdb2014
nama table : tb_peserta



4. Kita buat file php dengan nama admin_ppdb.php dan simpan pada bootstrap ->application-> controller
Isikan scripnya sebagai berikut
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Admin_lat_ppdb extends CI_Controller {

public function lat_ppdb ()
{
         
//menyiapkan data yang akan dikirim
$data['nama']="One Khusnawati Yuanda";
$data['alamat']="Moyudan, Sleman, Yogyakarta";

//mengambil view dan menyertakan data
$this->load->view ('lat_ppdb',$data);
}
}
?>



5. Setelah itu pada file lat_ppdb.php isikan seperti ini
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>PPDB</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="">
  <meta name="author" content="">
 
<link href="<?php echo base_url();?>bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">

  <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
  <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
  <![endif]-->

  <!-- Fav and touch icons -->
  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="img/apple-touch-icon-144-precomposed.png">
  <link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/apple-touch-icon-114-precomposed.png">
  <link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/apple-touch-icon-72-precomposed.png">
  <link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon-57-precomposed.png">
  <link rel="shortcut icon" href="img/favicon.png">

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
</head>

<body>

<div class="container">
<div class="row">
<div class="span12">
<div class="page-header">
<h1>
Daftar Sementara Peserta PPDB <small>PPDB 2014</small>
</h1>
<a href="<?php echo base_url();?>index.php/admin_ppdb/pes_baru/" class="btn btn-primary">Peserta Baru</a>
</div>
<table class="table table-striped table-hover">
<thead>
<tr>
<th>
#
</th>
<th>
Id
</th>
<th>
No. Daftar
</th>
<th>
Tgl. Daftar
</th>
<th>
Nama
</th>
<th>
Tempat Lahir
</th>
<th>
Tanggal Lahir
</th>
<th>
Jenis Kelamin
</th>
<th>
Aksi
</th>
</tr>
</thead>

</table>
</div>
</div>
</div>
</body>
</html>



6. Dan tampilkan

Gambar diatas baru tampilan cssnya saja, sekarang kita buat untuk bisa connect dengan database



Friday, 1 November 2013

Cintamu Setia

Standard
Kau senandungkan lagu indah untukku
Hibur aku dalam raut wajah canda tawamu
Tak tampak kesedihan di raut wajahmu
Hilang sudah rasa lelah, saat kau menatapku
Tak ada benci, semakin tulus kau mencintaiku

Dekap aku dalam pelukmu saat dingin ini menyusup raga
Kau gendong aku dalam kehangatan kasih sayang yang mendalam
Rasa cinta yang begitu mendalam yang kurasakan
Kasih sayang yang begitu tulus dalam kehangatan cinta

Tibalah saatnya ku beranjak dewasa
Kau tetap mencintaiku
Inginkanku selalu berada disampingmu
Merawatmu yang kini telah tua renta
Merindukanku saat ku pergi jauh darimu

Di bola matamu, masih terlukis indah cinta yang begitu dalam kepadaku
Kau duduk diteras rumah, menungguku pulang dari mencari uang
Berharap masih dapat bertemu denganku
Kau tatap langit dan berdoa untuk keselamatanku
Agar kita masih dapat bertemu