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 | |
session_start(); | |
$indikator = $_SESSION['indikator']; | |
$namauser = $_SESSION['username']; | |
$usernim = $_SESSION['nim']; | |
include 'config.php'; |
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
<div id="konten-mahasiswa"> | |
<?php include "config.php"; ?> | |
<div class="row-fluid"> | |
<div class="span12"> | |
<img class="img-circle" data-src="holder.js/140x140" alt="140x140" style="width: 140px; height: 140px;" src="images/kuesioner-logo.png"> | |
<div class="caption"> | |
<h3>Isi Voting Kepala Sekolah</h3> | |
<p>Silahkan mengisi voting yang telah kami sediakan. Voting ini dapat Anda gunakan untuk memilih kepala sekolah.</p> |
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 | |
session_start(); | |
if (isset($_SESSION['level'])) | |
{ | |
if ($_SESSION['level'] == "admin") | |
{ | |
} | |
else if ($_SESSION['level'] == "user") |
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
import groovy.swing.SwingBuilder | |
task adbConnect(type: Exec) { | |
doFirst { | |
new SwingBuilder().edt { | |
dialog(modal: true, | |
title: 'Enter password', | |
alwaysOnTop: true, | |
resizable: false, | |
locationRelativeTo: null, |
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
<body> | |
<header> | |
<h1>Header HTML5</h1> | |
</header> | |
<nav> | |
<a href="contoh.html">Contoh Navigasi 1</a> | |
<a href="contoh.html">Contoh Navigasi 2</a> | |
<a href="contoh.html">Contoh Navigasi 3</a> | |
</nav> | |
<section> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Chart Kuesioner</title> | |
<!-- Meng-embed Google API --> | |
<script type="text/javascript" src="https://www.google.com/jsapi"></script> | |
<!-- Mengembed Jquery --> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
// Meload paket API dari Google Chart |
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 | |
$host="localhost"; | |
$user="root"; | |
$password=""; | |
$koneksi=mysql_connect($host,$user,$password) or die("Gagal Koneksi Database"); | |
mysql_select_db("kuesioner"); | |
// write your SQL query here (you may use parameters from $_GET or $_POST if you need them) | |
$query = mysql_query('SELECT * FROM hasil'); |
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 | |
//memberi pengalamatan khusus untuk json | |
header('Content-type: application/json'); | |
//memanggil database | |
$host="localhost"; | |
$user="nama user"; | |
$password="password db"; | |
$koneksi=mysql_connect($host,$user,$password) or die("Gagal Koneksi Bro !"); | |
mysql_select_db("nama db"); |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>List Cewek</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
<script type="text/javascript" charset="utf-8"> | |
$(document).ready(function(){ | |
$.ajax({ | |
url: 'http://namadomain-anda.com/parsing.php', |
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
Parsing JSON dengan Jquery | |
Angelina Mahmudah | |
Badriah Lavigne | |
Siti Multikultur | |
Gonjreng Fitriyah |
OlderNewer