diff --git a/EditShow.php b/EditShow.php new file mode 100644 index 0000000..804bf47 --- /dev/null +++ b/EditShow.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/ajax_addcomment.php b/ajax_addcomment.php new file mode 100644 index 0000000..4555561 --- /dev/null +++ b/ajax_addcomment.php @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/ajax_loadcomment.php b/ajax_loadcomment.php new file mode 100644 index 0000000..897bcdd --- /dev/null +++ b/ajax_loadcomment.php @@ -0,0 +1,23 @@ + $row['id_komentar'], + 'nama' => $row['nama'], + 'email' => $row['email'], + 'waktu' => $row['waktu'], + 'konten' => $row['konten'], + ); + } + echo json_encode($json); +} +?> \ No newline at end of file diff --git a/deletepost.php b/deletepost.php new file mode 100644 index 0000000..e8c0486 --- /dev/null +++ b/deletepost.php @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/includes/database.php b/includes/database.php new file mode 100644 index 0000000..3237008 --- /dev/null +++ b/includes/database.php @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/includes/utama.js b/includes/utama.js new file mode 100644 index 0000000..5dbb285 --- /dev/null +++ b/includes/utama.js @@ -0,0 +1,78 @@ +(function() { + var onDomReadyIdentifier = 'onDomReady'; + var isBound = false; + var readyList = []; + if (window[onDomReadyIdentifier] && typeof window[onDomReadyIdentifier] == 'function') { + return; + } + var whenReady = function() { +// Make sure body exists, at least, in case IE gets a little overzealous. +// This is taked directly from jQuery's implementation. +if (!document.body) { + return setTimeout(whenReady, 13); +} +for (var i=0; i + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Simple Blog + + + + + +
+ + + +
+
+ +
+
+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..7def37a --- /dev/null +++ b/index.php @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Simple Blog + + + + + +
+ + + +
+
+ +
+
+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/new_post.php b/new_post.php new file mode 100644 index 0000000..f5c8b16 --- /dev/null +++ b/new_post.php @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Simple Blog | Tambah Post + + + + + +
+ + + +
+ + +

-

+ +
+
+

Tambah Post

+ +
+
+ + + + + + +
+ + "> + + +
+
+
+
+ +
+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/new_post_action.php b/new_post_action.php new file mode 100644 index 0000000..7a94030 --- /dev/null +++ b/new_post_action.php @@ -0,0 +1,49 @@ + + + + + + + diff --git a/post.html b/post.old.php similarity index 69% rename from post.html rename to post.old.php index c0b6f9e..b11d57d 100644 --- a/post.html +++ b/post.old.php @@ -38,30 +38,52 @@
- + +
- -

Apa itu Simple Blog?

+ +

+

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Blanditiis aliquam minus consequuntur amet nulla eius, neque beatae, nostrum possimus, officiis eaque consectetur. Sequi sunt maiores dolore, illum quidem eos explicabo! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Magnam consequuntur consequatur molestiae saepe sed, incidunt sunt inventore minima voluptatum adipisci hic, est ipsa iste. Nobis, aperiam provident quae. Reprehenderit, iste.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Asperiores animi tenetur nam delectus eveniet iste non culpa laborum provident minima numquam excepturi rem commodi, officia accusamus eos voluptates obcaecati. Possimus?

+
- +

Komentar

@@ -80,25 +102,24 @@

Komentar

    +
  • -

    Jems

    -
    2 menit lalu
    +

    +
    -

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Perferendis repudiandae quae natus quos alias eos repellendus a obcaecati cupiditate similique quibusdam, atque omnis illum, minus ex dolorem facilis tempora deserunt! …

    +
  • -
  • -
    -

    Kave

    -
    1 jam lalu
    -
    -

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Perferendis repudiandae quae natus quos alias eos repellendus a obcaecati cupiditate similique quibusdam, atque omnis illum, minus ex dolorem facilis tempora deserunt! …

    -
  • +
- +
@@ -122,6 +143,7 @@

Kave

+ diff --git a/post.php b/post.php new file mode 100644 index 0000000..41f560d --- /dev/null +++ b/post.php @@ -0,0 +1,261 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Simple Blog | Apa itu Simple Blog? + + + + +
+ + + +
+ + +
+
+ +

+

+
+
+ + +
+
+
+ + +
+ +

Komentar

+ +
+ + + + + + + +
+ + + + + +
+ +
    + +
  • +
    +

    +
    +
    + +
  • + + +
+
+
+ +
+ + + +
+ + + + + + + + + \ No newline at end of file