This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function floatvalue($val){ | |
$val = str_replace(",",".",$val); | |
$val = preg_replace('/\.(?=.*\.)/', '', $val); | |
return floatval($val); | |
} | |
?> | |
<!DOCTYPE html> | |
<html> | |
<head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE `member` SET `mpasswd` = MD5('bejo'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This is needed for cookie based authentication to encrypt password in | |
* cookie. Needs to be 32 chars long. | |
*/ | |
$cfg['blowfish_secret'] = 'qtdRoGmbc9{8IZr323xYcSN]0s)r$9b_JUnb{~Xz'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$main_menus = [ | |
'home' => [ | |
'text' => __('Home'), | |
'url' => 'index.php' | |
], | |
'login' => [ | |
'text' => __('Login Admin'), | |
'url' => 'index.php?p=login' | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'visitor' => [ | |
'text' => __('Visitor Counter'), | |
'url' => 'index.php?p=visitor' | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<6>Server version name: Apache Tomcat/9.0.24 (Ubuntu) | |
<6>Server built: Aug 22 2019 11:55:14 UTC | |
<6>Server version number: 9.0.24.0 | |
<6>OS Name: Linux | |
<6>OS Version: 5.0.0-13-generic | |
<6>Architecture: amd64 | |
<6>Java Home: /usr/lib/jvm/java-8-openjdk-amd64/jre | |
<6>JVM Version: 1.8.0_252-8u252-b09-1~19.10-b09 | |
<6>JVM Vendor: Private Build | |
<6>CATALINA_BASE: /home/dhis/tomcat-dhis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* Visitor Counter | |
* Copyright (C) 2010 Arie Nugraha (dicarve@yahoo.com) | |
* Modified By Eddy Subratha (eddy.subratha@gmail.com) | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation; either version 2 of the License, or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mysql -u root | |
CREATE USER 'server'@'localhost' IDENTIFIED BY 'server'; | |
GRANT ALL PRIVILEGES ON *.* TO 'server'@'localhost' WITH GRANT OPTION; | |
EXIT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="../plugin/tinymce/tinymce.min.js"></script> | |
<script type="text/javascript" src="js/tinymce_config.js"></script> | |
<?php | |
if(!defined("INDEX")) header('location: ../index.php'); | |
$show = isset($_GET['show']) ? $_GET['show'] : ""; | |
$link = "?content=artikel"; | |
switch($show){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
?> | |
<nav class="navbar navbar-inverse navbar-submenu"> | |
<div class="container-fluid"> | |
<!-- Brand and toggle get grouped for better mobile display --> | |
<div class="navbar-header"> | |
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#module-submenu" aria-expanded="false"> | |
<span class="sr-only">Toggle navigation</span> | |
<span class="icon-bar"></span> |
NewerOlder