From bc6965f33670ece74baf13db20bdb06d6818fb66 Mon Sep 17 00:00:00 2001 From: Danang Probo Sayekti Date: Thu, 2 Jan 2014 22:19:49 +0700 Subject: [PATCH] Revert "Forgot the search page (post class)" This reverts commit 4149ca4c2c276c2c860a6e3952f520b96a231c5c. --- system/includes/functions.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index e92ec29..864126e 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -392,18 +392,6 @@ function get_keyword($keyword){ $arr = explode('', $content); $post->title = str_replace('

','',$arr[0]); $post->body = $arr[1]; - - // Get first and last post - if ($index == 0) { - $post->cls = 'item first'; - } - elseif ($index == count($posts) - 1) { - $post->cls = 'item last'; - } - else { - $post->cls = 'item'; - } - $tmp[] = $post; }