LAMPIRAN. Index.php. <?php. unset($_session["status"]); //session_destroy(); //session_destroy();

Similar documents
Building beautiful websites with Bootstrap: A case study. by Michael Kennedy michaelckennedy.net

CSS (Cascading Style Sheets)

LAMPIRAN-LAMPIRAN A. Source Code 1) Sample Controller pada HomeController.php

Bootstrap 1/20

Enhancing Koha s Public Reports Feature

26 $host = "localhost" ; 27 $user = "marcolg" ; 28 $password = "" ; 52 $connessione = new mysqli ($host, $user, $password );

Project Part 2 (of 2) - Movie Poster And Actor! - Lookup

Lampiran Source Code:

Dingle Coderdojo 6. Project Part 2 (of 2) - Movie Poster And Actor! - Lookup. Week 6

Description: This feature will enable user to send messages from website to phone number.

A designers guide to creating & editing templates in EzPz

Making a live edit contact list with Coldbox REST & Vue.js

Mobile Design for the Future That is Here Already. Rick Ells UW Information Technology University of Washington

Create First Web Page With Bootstrap

Working Bootstrap Contact form with PHP and AJAX

TUTORIAL CRUD CODEIGNITER

LAMPIRAN Kode Program

Using Visual Studio 2017

CSS (Cascading Style Sheets): An Overview


Bootstrap Carousel Tutorial

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

Session 5. Web Page Generation. Reading & Reference

CSS often uses hyphens in CSS property names but JavaScript uses camel case, e.g. color: blue; p { <!DOCTYPE html> <meta charset="utf-8" /> <head>

Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar

Адаптивный дизайн веб-страниц с использованием сеточных технологий

GIMP WEB 2.0 MENUS. Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar.

This project will use an API from to retrieve a list of movie posters to display on screen.

Bootstrap Carousel. jquery Image Sliders

JavaScript Performance

Wireframe :: tistory wireframe tistory.

home.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/

Checkout Customization

JavaScript (5A) JavaScript

Date Picker Haim Michael

File: C:\xampp\htdocs\mogul\HTML\bootstrap.html 11-Sep-15, 9:56:49 9 AM

L A M P I R A N. Universitas Sumatera Utara

<html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8">

Chapter6: Bootstrap 3. Asst.Prof.Dr. Supakit Nootyaskool Information Technology, KMITL

Module Contact: Dr Graeme Richards, CMP. Copyright of the University of East Anglia Version 1

LAMPIRAN PROGRAM. <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <!

Task 1: JavaScript Video Event Handlers

An Introduction To HTML5

Introduction to ARIA and HTML5. Jared Smith & Jonathan Whiting webaim.org

Website Development with HTML5, CSS and Bootstrap

Static Webpage Development

Responsive Web Design (RWD)

Using htmlarea & a Database to Maintain Content on a Website

Enter Grade Report. No Place Like Gilbert Duenas. California State University San Marcos. Johnny Koons. CS 441 Software Engineering

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL

PROJECT ON EMPLOYEE DATABASE AND PAYROLL MANAGEMENT SYSTEM

Multimedia im Netz Online Multimedia Winter semester 2015/16. Tutorial 03 Minor Subject

Lampiran. Lampiran 1 : Database

,.., «..»

Last class we looked at HTML5.

Database Connectivity using PHP Some Points to Remember:

Lab 7 Introduction to MySQL

Front-End UI: Bootstrap

Introduction to HTML5

WEB DESIGNING COURSE SYLLABUS

WEB/DEVICE DEVELOPMENT CLIENT SIDE MIS/CIT 310

Spring Data JPA, Spring Boot, Oracle, AngulerJS 적용게시판실습 게시판리스트보기.

Vebra Search Integration Guide

Implementing a chat button on TECHNICAL PAPER

Form Processing in PHP

Web development using PHP & MySQL with HTML5, CSS, JavaScript

Discovery Service Infrastructure for Test- bädden

If Only. More SQL and PHP

src1-malan/ajax/ajax1.html ajax1.html Gets stock quote from quote1.php via Ajax, displaying result with alert().

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

PRÍLOHY PRÍLOHY. Príloha 1 Náhľady vybraných podstránok webovej stránky

Corinne Dmitruk James Saporito. Term Project documentation. The home page ViewBag.Title = "WelpHome"; }

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Django AdminLTE 2 Documentation

Programmazione Web a.a. 2017/2018 HTML5

А «- - «Exellent»» 50, 18, «Exellent»., , -., -. -,, html -. - «Exellent»,.

Mobile Web Development

web-sockets-homework Directions

By the end of this section of the practical, the students should be able to:

Paythru Remote Fields

Advantages: simple, quick to get started, perfect for simple forms, don t need to know how form model objects work

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3

Lecture 6: Web Security CS /17/2017

django-sekizai Documentation

<link rel="stylesheet" href="

NukaCode - Front End - Bootstrap Documentation

APPENDIX. dbskripsi.sql CREATE DATABASE drop database if exists dbskripsi; create database dbskripsi; use dbskripsi;

Using CSS for page layout

CPET 499/ITC 250 Web Systems

Web Publishing Intermediate 2

How to use PHP with a MySQL database

APACHE SLING & FRIENDS TECH MEETUP BERLIN, SEPTEMBER Hypermedia API Tools for Sling (HApi) Andrei Dulvac, Adobe

Web Development & Design Foundations with HTML5

Introduction to HTML & CSS. Instructor: Beck Johnson Week 5

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week

LAMPIRAN. <meta name="description" content="creative - Bootstrap 3 Responsive Admin Template">

5 Snowdonia. 94 Web Applications with C#.ASP

Transcription:

LAMPIRAN Index.php unset($_session["status"]); //session_destroy(); //session_destroy();?> <!DOCTYPE html> <html class=" js no-touch boxshadow textshadow cssanimations cssgradients csstransforms csstransforms3d csstransitions generatedcontent" style="" xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>bimbingan Skripsi Online</title> <script src="login/files/jquery-1.js"></script> <script src="login/files/bootstrap.js"></script> <script src="login/files/respond.js"></script> <script src="login/files/jquery.js"></script> <script src="login/files/placeholders.js"></script> <script src="login/files/waypoints.js"></script> <script src="login/files/jquery_002.js"></script> <script type="text/javascript"> $(function () { $("input").icheck({ checkboxclass: 'icheckbox_square-blue', increasearea: '20%' // optional $(".dark input").icheck({ checkboxclass: 'icheckbox_polaris', increasearea: '20%' // optional $(".form-control").focus(function () { $(this).closest(".textbox-wrap").addclass("focused"); ).blur(function () { $(this).closest(".textbox-wrap").removeclass("focused"); //On Scroll Animations if ($(window).width() >= 968 &&!Modernizr.touch && Modernizr.cssanimations) { //End On Scroll Animations $(".main-nav a[href]").click(function () { var scrollelm = $(this).attr("href");

$("html,body").animate({ scrolltop: $(scrollelm).offset().top, 500); $(".main-nav a[href]").removeclass("active"); $(this).addclass("active"); if ($(window).width() > 1000 &&!Modernizr.touch) { var options = { $menu: ".main-nav", menuselector: 'a', panelselector: 'section', namespace: '.panelsnap', onsnapstart: function () {, onsnapfinish: function ($target) { $target.find('input:first').focus();, directionthreshold: 50, slidespeed: 200 ; $('body').panelsnap(options); $(".colorbg a[href]").click(function () { var scrollelm = $(this).attr("href"); $("html,body").animate({ scrolltop: $(scrollelm).offset().top, 500); return false; </script> </body></html> View_admin.php session_start(); if (!isset($_session["status"]) and!isset($_session["nama"]) ) { header("location: index.php"); $servername = "localhost"; $username = "root"; $password = "root";

$dbname = "dbskripsi"; mysql_connect($servername,$username,$password); mysql_select_db($dbname); //jumlah mahasiswa $sql = "select count(nama) as total from tbl_mahasiswa"; $query = mysql_query($sql)or die ("Database tidak terkoneksi"); $query5 = mysql_query($sql3); $query6 = mysql_query($sql3); $query7 = mysql_query($sql3); $query8 = mysql_query($sql3); </select> <textarea class="form-control" name="mahasiswa_to2" id="mahasiswa_to2" rows="1" placeholder="mahasiswa" disabled></textarea> </body> <script src="assets/jquery/jquery.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/datatables/datatables.min.js"></script> <script src="assets/datatables/datatables.min.js"></script> <script src="custom/js/theme.js"></script> <script> </script> </html> View_dosen.php include "php_action/koneksidb.php"; if (!isset($_session["status"]) and!isset($_session["nama"]) ) { header("location: index.php"); $sql = "select nama,email from tbl_mahasiswa"; $query = mysql_query($sql); $query2 = mysql_query($sql);?> <!DOCTYPE html> <html lang="en">

<head> <meta charset="utf-8"> <title>bimbingan Skripsi Online</title> <link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/datatables/datatables.min"> <link rel="stylesheet" href="assets/fontawesome/css/fontawesome.min.css"> <link rel="stylesheet" href="assets/bootstrap/css/theme.css"> <link rel="stylesheet" href="assets/bootstrap/css/theme-helper.css"> </head> <body> <div class="container-fluid" id="wrapper"> <div id="sidebar"> <div id="sidebar-wrapper"> <div class="sidebartitle"><h2>bimbingan</h2><span>skripsionline</span> <ul class="sidebar-nav"> <li class="sidebar-close"><a href="#"><i class="fa fa-fw fa-close"></i></a></li> <li class="active"><a href="#"><i class="fa fa-fw fa-home"></i><span class="nav-label">h O M E</span></a></li> <li><a href="#"><i class="fa fa-fw faenvelope"></i><span class="nav-label">l O G - P E S A N</span></a></li> <li><a data-toggle="modal" href="#ubahpassword" ><i class="fa fa-fw fa-newspaper-o"></i><span class="nav-label" data-toggle="modal">p A S S W O R D</span></a></li> </ul> <div class="sidebar-footer"> <a href="php_action/logout.php"><button class="btn btn-default btn-block"><i class="fa fafw fa-power-off" ></i>< <div class="panel-footer"> <span class="panel-footer-text text-grey text-size-12"><i class <div class="removemessages3"> <button class="btn btnprimary pull pull-right" data-toggle="modal" data-target="#addtimelinelog" id="addtimelinelogmodal"> <span class="glyphicon glyphicon-plus-sign"></span> Add Timeline </button> <span class="panel-title pull-left text-black"><i class="fa fa-fw fa-graduation-cap"></i> Timeline Bimbingan Skripsi Online</span> <br/><br/> <div class="panel-body table-responsive table-full"> <table width="100%" class="table table-stripped table-hover table-bordered" id="timelinetabledosen"> <thead>

<!-- addtimelinelog modal --> <div class="modal fade" tabindex="-1" role="dialog" id="addtimelinelog"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="close"><span ariahidden="true"> </span></button> <h4 class="modal-title"><span class="glyphicon glyphicon-plus-sign"></span> Add Timeline</h4> <div class="modal-body"> <div class="keterangan"> <form class="form-horizontal" action="php_action/create_timeline.php" method="post" id="createtimelinelogform"> <button type="submit" class="btn btnprimary">save </button> </form> <!-- /.modal-content --> <!-- /.modal-dialog --> <!-- /.modal --> <!-- /addtimelinelog modal --> <!-- remove timeline modal --> <div class="modal fade" tabindex="-1" role="dialog" id="removetimelinemodal"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" datadismiss="modal" aria-label="close"><span ariahidden="true"> </span></button> <h4 class="modal-title"><span class="glyphicon glyphicon-trash"></span> Remove Dosen</h4> <div class="modal-body"> <p>do you really want to remove?</p> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">close</button> <button type="button" class="btn btn-primary" id="removetimelinebtn">save changes</button> </div

<div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">close</button> <button type="submit" class="btn btn-primary">save </button> </form> <!-- /.modal-content --> <!-- /.modal-dialog --> <!-- /.modal --> <!-- /addstudentlog modal --> <!-- ubahpass modal --> <div class="modal fade " tabindex="-1" role="dialog" </body> <script src="assets/jquery/jquery.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/datatables/datatables.min.js"></script> <script src="assets/datatables/datatables.min.js"></script> <script src="custom/js/theme.js"></script> <script> </html> Create_dosen.php include "koneksidb.php"; //if form is submitted if($_post) { $validator = array('success' => false, 'messages' => array()); $nama = $_POST['nama2']; $nip = $_POST['nip']; $email = $_POST['emaildosen']; $hp = $_POST['hp']; $status = $_POST['status2']; $sql = "INSERT INTO tbl_dosen (nama, nip,email,hp,status) VALUES ('$nama', '$nip','$email', '$hp', '$status')"; $query = mysql_query($sql);

if($query === TRUE) { $sql2 = "INSERT INTO tbl_user_login (username, password,status) VALUES ('$email', '12345','dosen')"; $query2 = mysql_query($sql2); $validator['success'] = true; $validator['messages'] = "Successfully Added"; //echo "sukses"; else { //echo "gagal"; $validator['success'] = true; $validator['messages'] = "Error while adding the member information"; // close the database connection?> echo json_encode($validator); Create_student.php include "koneksidb.php"; //if form is submitted if($_post) { $validator = array('success' => false, 'messages' => array()); $nama = $_POST['nama']; $nim = $_POST['nim']; $email = $_POST['emailstudent']; $jurusan = $_POST['jurusan']; $judul = $_POST['judul']; $dosenpb = $_POST['dosen_pb']; $dosenpu1 = $_POST['dosen_pu1']; $dosenpu2 = $_POST['dosen_pu2']; $status = $_POST['status']; $sql = "INSERT INTO tbl_mahasiswa (nama, nim,email, jurusan, judul_skripsi,dosen_pembimbing,dosen_penguji1,dosen_penguji2,status) VALUES ('$nama', '$nim','$email','$jurusan', '$judul','$dosenpb','$dosenpu1','$dosenpu2','$status')"; $query = mysql_query($sql);

if($query === TRUE) { $sql2 = "INSERT INTO tbl_user_login (username, password,status) VALUES ('$email', '12345','mahasiswa')"; $query2 = mysql_query($sql2); $validator['success'] = true; $validator['messages'] = "Successfully Added"; //echo "sukses"; else { //echo "gagal"; $validator['success'] = false; $validator['messages'] = "Error while adding the member information"; // close the database connection echo json_encode($validator);