From 6bbb4a7123baadb325e389384508ee4557a860bc Mon Sep 17 00:00:00 2001
From: Venny Larasati <venny_la@yahoo.com>
Date: Mon, 4 Apr 2016 16:14:32 +0700
Subject: [PATCH] edit actve menu on sidebar

---
 P3/aside.php               | 4 ++--
 P3/form_perilaku_kerja.php | 3 ++-
 P3/list_perilaku_kerja.php | 3 ++-
 P3/perilaku_kerja.php      | 3 ++-
 4 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/P3/aside.php b/P3/aside.php
index a8d8046..1aa6251 100644
--- a/P3/aside.php
+++ b/P3/aside.php
@@ -213,7 +213,7 @@
               </li>
 
               <li>
-               <li>
+               <li <?php if ($current_page=="Perilaku Kerja") echo "class= \"active\""?>>
                 <a href class="auto">
                   <span class="pull-right text-muted">
                     <i class="text8 icon-bdg_arrow3 text"></i>
@@ -228,7 +228,7 @@
                       <span>Penilaian Perilaku Kerja</span>
                     </a>
                   </li>
-                  <li>
+                  <li >
                     <a href="list_perilaku_kerja.php">
                       <span>Isi Penilaian Perilaku Kerja</span>
                     </a>
diff --git a/P3/form_perilaku_kerja.php b/P3/form_perilaku_kerja.php
index e85c426..25f7467 100644
--- a/P3/form_perilaku_kerja.php
+++ b/P3/form_perilaku_kerja.php
@@ -17,10 +17,11 @@
 </head>
 <body>
 <div class="app app-header-fixed ">
-
+  <?php $current_page = "Perilaku Kerja" ; ?>
   <?php require_once 'header.php' ?>
   <?php require_once 'aside.php' ?>
 
+
 <!-- content -->
 <div id="content" class="app-content" role="main">
 
diff --git a/P3/list_perilaku_kerja.php b/P3/list_perilaku_kerja.php
index ef4cb07..7137f82 100644
--- a/P3/list_perilaku_kerja.php
+++ b/P3/list_perilaku_kerja.php
@@ -17,10 +17,11 @@
 </head>
 <body>
 <div class="app app-header-fixed ">
-
+  <?php $current_page = "Perilaku Kerja" ; ?>
   <?php require_once 'header.php' ?>
   <?php require_once 'aside.php' ?>
 
+
 <!-- content -->
 <div id="content" class="app-content" role="main">
 
diff --git a/P3/perilaku_kerja.php b/P3/perilaku_kerja.php
index c4f0a88..4777d0e 100644
--- a/P3/perilaku_kerja.php
+++ b/P3/perilaku_kerja.php
@@ -18,10 +18,11 @@
 </head>
 <body>
 <div class="app app-header-fixed ">
-
+  <?php $current_page = "Perilaku Kerja" ; ?>
   <?php require_once 'header.php' ?>
   <?php require_once 'aside.php' ?>
 
+
 <!-- content -->
 <div id="content" class="app-content" role="main">
 
-- 
GitLab