LAMPIRAN Kode Program

Size: px
Start display at page:

Download "LAMPIRAN Kode Program"

Transcription

1 73 LAMPIRAN Kode Program 1. Index.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " <html xmlns=" <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>flood Prediction</title> <link href="library/css/style.css" rel="stylesheet"> <link href="library/css/bootstrap.min.css" rel="stylesheet"> <link href="library/css/justified.css" rel="stylesheet"> </head> <body class="twocolelslthdr"> <div id="container"> <div id="header"> <!-- end #header --></div> <div id="sidebar"> <ul class="nav nav-justified"> <li><a href="index.php">home</a></li> <li><a href="index.php?p=modul/home/air.php">data Tinggi Permukaan Air</a></li> <li><a href="index.php?p=modul/home/form_show.php">prediksi</a></li> <li><a href="modul/login/login.php">login</a></li> </ul> </div> <div id="maincontent"> if($_request['p']!="") include $_REQUEST['p']; include "modul/home/content.php"; </div> <!-- This clearing element should immediately follow the #maincontent div in order to force the #container div to contain all child floats --><br class="clearfloat" /> <div id="footer" align="center" style="color:#000000"> Elfandra Srg ( )<br /> Teknologi Informasi </div> <!-- end #footer --></div> <!-- end #container --></div> </body> </html>

2 74 2. form_show include "koneksi/koneksi.php"; $s=mysql_query("select * from parameter", $koneksi) or die (mysql_error); $r=mysql_fetch_array($s); <script language="javascript" src="library/js/cal2.js"></script> <script language="javascript" src="library/js/cal_conf2.js"></script> <script type="text/javascript" src="library/js/jquery min.js"></script> <script type="text/javascript"> $(document).ready(function() $().ajaxstart(function() $('#hasil_prediksi').hide(); ).ajaxstop(function() $('#hasil_prediksi').fadein('slow'); ); $('#myform').submit(function() $("#hasil_prediksi").html('<img src="image/ajax.gif">'); var thres = $("#thres").val(); var error1 = $("#error1").val(); var rate1 = $("#rate1").val(); var rate2 = $("#rate2").val(); var tanggal = $("#tanggal").val(); var tanggal1 = $("#tanggal1").val(); $.ajax( type: 'POST', url: $(this).attr('action'), data: 'thres='+thres+'&error1='+error1+'&rate1='+rate1+'&rate2='+rate2+'&tanggal='+tangga l+'&tanggal1='+tanggal1, success: function(data) $("#hasil_prediksi").html(''); alert('berhasil'); document.location.href='index.php?p=modul/home/testing/show.php'; ); ); ); </script> <h1>prediksi</h1> <form id="myform" method="post" action="index.php?p=modul/home/testing/show.php" name="sampleform">

3 75 <table width="399" border="0"> <td width="135" height="49">sensitive Threshold</td> <td width="5">:</td> <td width="214"><input type="text" name="thres" value=" echo $r['thres']; "></td> <td height="42">error Threshold</td> <td><input type="text" name="error1" value=" echo $r['error1']; "></td> <td height="43">learning Rate 1</td> <td><input type="text" name="rate1" value=" echo $r['rate1']; "></td> <td height="45">learning Rate 2</td> <td><input type="text" name="rate2" value=" echo $r['rate2']; "></td> <td height="45">dari Tanggal</td> <td><input type="text" name="tanggal"><small><a href="javascript:showcal('calendar1')">select Date</a></small></td> <td height="46">sampai Tanggal</td> <td><input type="text" name="tanggal1"><small><a href="javascript:showcal('calendar2')">select Date</a></small></td> <td height="45">input Hari</td> <td><input type="text" name="hari" size="5"/> Hari</td> <iframe width=174 height=189 name="gtoday:normal:agenda.js" id="gtoday:normal:agenda.js" src="ipopeng.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; top:-500px; left:-500px;"> </iframe> <td height="62" colspan="2"><input type="submit" name="testing" value="submit"></td>

4 76 </table> </form> <div id="loading" style="display:none" align="center"><img src="loader.gif" alt="loading" /></div> <div id="hasil_prediksi" style="display:none" align="center"></div> 3. show.php <script type="text/javascript" src="library/js/jquery.min.js"></script> <script>!window.jquery && document.write('<script src="library/js/jquery min.js"><\/script>'); </script> <script type="text/javascript" src="library/fancybox/jquery.mousewheel pack.js"></script> <script type="text/javascript" src="library/fancybox/jquery.fancybox pack.js"></script> <link rel="stylesheet" type="text/css" href="library/fancybox/jquery.fancybox css" media="screen" /> <script type="text/javascript"> $(document).ready(function() /* * Examples - various */ $("#various1").fancybox( 'titleposition' 'transitionin' 'transitionout' ); : 'inside', : 'none' $("#various2").fancybox(); $("#various3").fancybox( 'width' 'height' 'autoscale' 'transitionin' 'transitionout' 'type' ); $("#various4").fancybox( 'width' 'height' 'autoscale' 'transitionin' 'transitionout' 'type' ); : '85%', : '85%', : false, : 'iframe' : '80%', : '80%', : false, : 'iframe'

5 77 ); </script> set_time_limit(0); error_reporting(0); include "koneksi/koneksi.php"; $waktu_mulai = microtime(true); $thres=$_request['thres']; $error1=$_request['error1']; $rate1=$_request['rate1']; $rate2=$_request['rate2']; $tanggal=$_request['tanggal']; $tanggal1=$_request['tanggal1']; $hari=$_request['hari']; $t1 = explode("-", $tanggal); $dt1 = $t1[0].'-'.$t1[1].'-'.$t1[2]; $t2 = explode("-", $tanggal1); $dt2 = $t2[0].'-'.$t2[1].'-'.$t2[2]; $d = mysql_query("select min(tgl) as min_tanggal, adddate('$dt1', -1) as max_tanggal from air"); $d1 = mysql_fetch_array($d); $tr1 = explode('-', $d1["min_tanggal"]); $dr1 = $tr1[0].'-'.$tr1[1].'-'.$tr1[2]; $tr2 = explode('-', $d1["max_tanggal"]); $dr2 = $tr2[0].'-'.$tr2[1].'-'.$tr2[2]; $qi=mysql_query("select * from air where tgl<='$dt1'"); $po=mysql_num_rows($qi); $tu=mysql_query("select * from air where tgl>='$dt1' and tgl<='$dt2'"); $gt=mysql_num_rows($tu); $tr=$gt/$po; $_SESSION['reza']=$tr; if($tr >= 0.5) <script language="javascript"> <!-- alert('maaf, data tidak bisa ditampilkan. Data kurang dari 80%') window.location = "index.php?p=modul/home/testing/form_show.php";

6 78 --></script> <h1> Hasil Prediksi </h1> Sensitive Threshold : echo $thres; <br> Error Threshold : echo $error1; <br> Learning Rate 1 : echo $rate1; <br> Learning Rate 2 : echo $rate2; <br> Tanggal Testing : echo $dt1; sampai echo $dt2; <br> Jumlah Data Testing : $r1=mysql_query("select * from air where tgl>='$tanggal' and tgl<='$tanggal1'"); $t1=mysql_num_rows($r1); echo $t1; Data<br> Input hari : echo $hari; Hari<br> $yt=mysql_query("select sum(actual) as acttotal, sum(ramal) as actramal from ramal"); $rq=mysql_fetch_array($yt); $sumactual=$rq[acttotal]; $sumramal=$rq[actramal]; $ut=($sumactual/$sumramal); include "../koneksi.php"; error_reporting(0); $d=mysql_query("select max(ukuran) as max_air, min(ukuran) as min_air from air"); while($d1 = mysql_fetch_array($d)) $maxmal = $d1["max_air"]; $minmal = $d1["min_air"]; $midmal = ($minmal + $maxmal)/2; $t1 = explode("-", $tanggal); $dt1 = $t1[0].'-'.$t1[1].'-'.$t1[2]; $t2 = explode("-", $tanggal1); $dt2 = $t2[0].'-'.$t2[1].'-'.$t2[2]; $d = mysql_query("select min(tgl) as min_tanggal, adddate('$dt1', -1) as max_tanggal from air"); $d1 = mysql_fetch_array($d);

7 79 $tr1 = explode('-', $d1["min_tanggal"]); $dr1 = $tr1[0].'-'.$tr1[1].'-'.$tr1[2]; $tr2 = explode('-', $d1["max_tanggal"]); $dr2 = $tr2[0].'-'.$tr2[1].'-'.$tr2[2]; //************************* TRAINING********************************// $i=0; $q = mysql_query("select * from air where tgl>='".$d1["min_tanggal"]."' and tgl<='".$d1["max_tanggal"]."'"); $jml = mysql_num_rows($q); while($q1 = mysql_fetch_array($q)) $ukur[$i] = $q1["ukuran"]; ; $tgl[$i] = $q1["tgl"]; $i++; //normalisasi for($i=0; $i<count($ukur); $i++) $nilmal[$i] = ((0.8 * ($ukur[$i] - $minmal))/($maxmal - $minmal))+0.1; // Triangle Member Function for($i=0; $i<count($nilmal); $i++) if($nilmal[$i] < 0) $fuzzy[$i][0] = 0; if($nilmal[$i] >= 0 and $nilmal[$i] < 0.5) $fuzzy[$i][0] = ($nilmal[$i] - 0) / (0.5-0); if($nilmal[$i] >= 0.5 and $nilmal[$i] < 1) $fuzzy[$i][0] = (1 - $nilmal[$i]) / (1-0.5); $fuzzy[$i][0] = 0; $fuzzy[$i][1] = $nilmal[$i];

8 80 $i=0; $rnode=0; $W1[$rNode]= $fuzzy[$i][0]; $W2[$rNode]= $fuzzy[$i][1]; $k=0; $t=0; while($i<count($fuzzy) and $rnode < $jml ) $dis=0; for($j=0; $j<=$rnode; $j++) $dis += (abs($fuzzy[$i][0] - $W1[$j])/2); // Distance $Distance[$k][0] = $rnode; $Distance[$k][1] = $i; $Distance[$k][2] = $dis/array_sum($w1); $Distance[$k][3] = exp(-(pow($distance[$k][2], 2))); // get max(a1) from rule node (rnode) if($mxa1[$rnode][0] == '') $mxa1[$rnode][0] = $rnode; $mxa1[$rnode][1] = $Distance[$k][3]; if($mxa1[$rnode][1] < $Distance[$k][3]) $mxa1[$rnode][0] = $rnode; $mxa1[$rnode][1] = $Distance[$k][3]; if($mxa1[$rnode][1] > $thres) // get A2 and Err $A2 = $mxa1[$rnode][1] * $W2[$rNode]; $Err = abs($a2 - $fuzzy[$i][1]); // cek max (A2) from rule node (rnode) if($mxa2[$rnode][0] == '') $mxa2[$rnode][0] = $rnode; $mxa2[$rnode][1] = $A2; $mxa2[$rnode][2] = $Err; if($mxa2[$rnode][1] < $A2) $mxa2[$rnode][0] = $rnode;

9 81 $mxa2[$rnode][1] = $A2; $mxa2[$rnode][2] = $Err; if(($err < $error1) or ($rnode == $i)) $hasil[$i][0] = $rnode; $hasil[$i][1] = $i; $hasil[$i][2] = $fuzzy[$i][0]; $hasil[$i][3] = $fuzzy[$i][1]; $hasil[$i][4] = $A2; $hasil[$i][5] = $Err; $mxa1[$rnode][1]); $Dist = $fuzzy[$i][0] - $W1[$rNode]; $W1[$rNode] = $W1[$rNode] + ($rate1 * $Dist); $W2[$rNode] = $W2[$rNode] + ($rate2 * $Err * $i++; $rnode++; $W1[$rNode] = $fuzzy[$i][0]; $W2[$rNode] = $fuzzy[$i][1]; $rnode++; $W1[$rNode] = $fuzzy[$i][0]; $W2[$rNode] = $fuzzy[$i][1]; $k++;

A designers guide to creating & editing templates in EzPz

A designers guide to creating & editing templates in EzPz A designers guide to creating & editing templates in EzPz Introduction...2 Getting started...2 Actions...2 File Upload...3 Tokens...3 Menu...3 Head Tokens...4 CSS and JavaScript included files...4 Page

More information

Implementing a chat button on TECHNICAL PAPER

Implementing a chat button on TECHNICAL PAPER Implementing a chat button on TECHNICAL PAPER Contents 1 Adding a Live Guide chat button to your Facebook page... 3 1.1 Make the chat button code accessible from your web server... 3 1.2 Create a Facebook

More information

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

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

More information

Wireframe :: tistory wireframe tistory.

Wireframe :: tistory wireframe tistory. Page 1 of 45 Wireframe :: tistory wireframe tistory Daum Tistory GO Home Location Tags Media Guestbook Admin 'XHTML+CSS' 7 1 2009/09/20 [ ] XHTML CSS - 6 (2) 2 2009/07/23 [ ] XHTML CSS - 5 (6) 3 2009/07/17

More information

Introduction to HTML5

Introduction to HTML5 Introduction to HTML5 History of HTML 1991 HTML first published 1995 1997 1999 2000 HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 After HTML 4.01 was released, focus shifted to XHTML and its stricter standards.

More information

Date Picker Haim Michael

Date Picker Haim Michael Date Picker Introduction The date picker is one of the most popular jquery widgets in use. It is highly configurable and extremely easy to implement. Introduction Simple Date Picker

More information

Create a cool image gallery using CSS visibility and positioning property

Create a cool image gallery using CSS visibility and positioning property GRC 275 A8 Create a cool image gallery using CSS visibility and positioning property 1. Create a cool image gallery, having thumbnails which when moused over display larger images 2. Gallery must provide

More information

Web Publishing Intermediate 2

Web Publishing Intermediate 2 Web Publishing Intermediate 2 Building a Three Column Site with divs and float Jeff Pankin Information Services and Technology Table of Contents Course Objectives... 2 The CIG Web Site... 3 Using the Div

More information

Vebra Search Integration Guide

Vebra Search Integration Guide Guide Introduction... 2 Requirements... 2 How a Vebra search is added to your site... 2 Integration Guide... 3 HTML Wrappers... 4 Page HEAD Content... 4 CSS Styling... 4 BODY tag CSS... 5 DIV#s-container

More information

Title: Dec 11 3:40 PM (1 of 11)

Title: Dec 11 3:40 PM (1 of 11) ... basic iframe body {color: brown; font family: "Times New Roman"} this is a test of using iframe Here I have set up two iframes next to each

More information

Date Issued: Subject: Editing the HTML files in the C-more panel. Revision: Original

Date Issued: Subject: Editing the HTML files in the C-more panel. Revision: Original APPLICATION NOTE THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT.COM TECHNICAL SUPPORT These documents are provided by our technical support department to assist others. We do not guarantee that the data

More information

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

L A M P I R A N. Universitas Sumatera Utara L A M P I R A N LAMPIRAN 1. Listing Program Aplikasi e-election Berbasis SMS Gateway index.php

More information

Lab 4 CSS CISC1600, Spring 2012

Lab 4 CSS CISC1600, Spring 2012 Lab 4 CSS CISC1600, Spring 2012 Part 1 Introduction 1.1 Cascading Style Sheets or CSS files provide a way to control the look and feel of your web page that is more convenient, more flexible and more comprehensive

More information

Exporting a Confluence space as a Website

Exporting a Confluence space as a Website Exporting a Confluence space as a Website This how-to explains how to export a Confluence space using the AutoExport Plugin. How it works. What it does. The AutoExport Plugin for Confluence is a plugin

More information

HTML HTML5. DOM(Document Object Model) CSS CSS

HTML HTML5. DOM(Document Object Model) CSS CSS HTML HTML5 DOM(Document Object Model) CSS CSS HTML html img jpg png gif jpg png gif

More information

Let's take a look at what CSS looks like in Dreamweaver using the "Embedded" coding which is the styles are within the html code and not separate.

Let's take a look at what CSS looks like in Dreamweaver using the Embedded coding which is the styles are within the html code and not separate. Creating web pages using CSS and Dreamweaver CS3 Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation of a document written in a markup language. Its most common application

More information

I Can t Believe It s Not

I Can t Believe It s Not I Can t Believe It s Not Flash! @thomasfuchs Animating CSS properties Timer JavaScript sets CSS Reflow Rendering Paint Animating CSS properties Timer JavaScript sets CSS Reflow

More information

<?php $parts=array('','','tfrec','home'); include '/Webstuff/apacheSites/cms3/CMSpageCode.php';?>

<?php $parts=array('','','tfrec','home'); include '/Webstuff/apacheSites/cms3/CMSpageCode.php';?> index.php Printed: 4/26/10 4:29:08 PM Page 1 of 1 CMSpageCode.php Printed: 4/26/10 4:28:16 PM Page 1 of

More information

Using htmlarea & a Database to Maintain Content on a Website

Using htmlarea & a Database to Maintain Content on a Website Using htmlarea & a Database to Maintain Content on a Website by Peter Lavin December 30, 2003 Overview If you wish to develop a website that others can contribute to one option is to have text files sent

More information

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

Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009 Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009 NAME (Printed) NAME (Signed) E-mail Exam Rules Show all your work. Your grade will be based on the

More information

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

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

More information

Faculty Web Pages: Editing the Template Prepared by Tamara Fudge, June 2008

Faculty Web Pages: Editing the Template Prepared by Tamara Fudge, June 2008 Faculty Web Pages: Editing the Template Prepared by Tamara Fudge, June 2008 FacWeb 1 The following shows the contents of the FacWeb.txt document, with instructions for replacing certain items with your

More information

LAMPIRAN. a. Kode Program Untuk Halaman Cari Data Proyek

LAMPIRAN. a. Kode Program Untuk Halaman Cari Data Proyek LAMPIRAN 1. Kode Program a. Kode Program Untuk Halaman Cari Data Proyek

More information

Integrating the Quotation page with your site

Integrating the Quotation page with your site Integrating the with your site Introduction Until June 2014, for customers to obtain a quote for your service, it was necessary to redirect the customer to the Instant-Quote.co site. This is no longer

More information

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

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Instructions to use the laboratory computers (room B2): 1. If the computer is off, start it with Windows (all computers have a Linux-Windows

More information

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

home.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/ home.php 1/1 3: * home.php 5: * A simple home page for these login demos. 6: * David J. Malan 8: * Computer Science E-75 9: * Harvard Extension School 10: */ 11: // enable sessions 13: session_start();

More information

Design Project. i385f Special Topics in Information Architecture Instructor: Don Turnbull. Elias Tzoc

Design Project. i385f Special Topics in Information Architecture Instructor: Don Turnbull. Elias Tzoc Design Project Site: News from Latin America Design Project i385f Special Topics in Information Architecture Instructor: Don Turnbull Elias Tzoc April 3, 2007 Design Project - 1 I. Planning [ Upper case:

More information

blink.html 1/1 lectures/6/src/ form.html 1/1 lectures/6/src/

blink.html 1/1 lectures/6/src/ form.html 1/1 lectures/6/src/ blink.html 1/1 3: blink.html 5: David J. Malan Computer Science E-75 7: Harvard Extension School 8: 9: --> 11:

More information

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

Адаптивный дизайн веб-страниц с использованием сеточных технологий Адаптивный дизайн веб-страниц с использованием сеточных технологий ТНК 2018 Теоретический материал http://www.w3.org/tr/2015/wdcss-grid-1-20150917/#propdef-gridauto-columns 960 System (960.gs) Пример

More information

Discovery Service Infrastructure for Test- bädden

Discovery Service Infrastructure for Test- bädden Discovery Service Infrastructure for Test- bädden för EID 2.0 Implementation guidelines Version 0.70 2013-04-24 This document describes the discovery service infrastructure for testbädden for EID 2.0 and

More information

Bookmarks to the headings on this page:

Bookmarks to the headings on this page: Squiz Matrix User Manual Library The Squiz Matrix User Manual Library is a prime resource for all up-to-date manuals about Squiz's flagship CMS Easy Edit Suite Current for Version 4.8.1 Installation Guide

More information

Schenker AB. Interface documentation Map integration

Schenker AB. Interface documentation Map integration Schenker AB Interface documentation Map integration Index 1 General information... 1 1.1 Getting started...1 1.2 Authentication...1 2 Website Map... 2 2.1 Information...2 2.2 Methods...2 2.3 Parameters...2

More information

Phishing attempt 1. 2. 3. 4.

More information

django-sekizai Documentation

django-sekizai Documentation django-sekizai Documentation Release 0.6.1 Jonas Obrist September 23, 2016 Contents 1 About 3 2 Dependencies 5 3 Usage 7 3.1 Configuration............................................... 7 3.2 Template

More information

Deccansoft Software Services

Deccansoft Software Services Deccansoft Software Services (A Microsoft Learning Partner) HTML and CSS COURSE SYLLABUS Module 1: Web Programming Introduction In this module you will learn basic introduction to web development. Module

More information

5 Snowdonia. 94 Web Applications with C#.ASP

5 Snowdonia. 94 Web Applications with C#.ASP 94 Web Applications with C#.ASP 5 Snowdonia In this and the following three chapters we will explore the use of particular programming techniques, before combining these methods to create two substantial

More information

CP3343 Computer Science Project (Year) Technical Report Document. Mr Stephen Garner

CP3343 Computer Science Project (Year) Technical Report Document. Mr Stephen Garner CP3343 Computer Science Project (Year) Technical Report Document Mr Stephen Garner Colin Hopson 0482647 Wednesday 23 rd April 2008 i Contents 1 Introduction... 1 2 The Program Listing... 1 2.1 ASP.Net

More information

CS134 Web Site Design & Development. Quiz1

CS134 Web Site Design & Development. Quiz1 CS134 Web Site Design & Development Quiz1 Name: Score: Email: I Multiple Choice Questions (2 points each, total 20 points) 1. Which of the following is an example of an IP address? a. www.whitehouse.gov

More information

LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD CAMPUS AW BE BU MI SH ALLOWABLE MATERIALS

LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD CAMPUS AW BE BU MI SH ALLOWABLE MATERIALS LIBRARY USE LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD 2013 Student ID: Seat Number: Unit Code: CSE2WD Paper No: 1 Unit Name: Paper Name: Reading Time: Writing Time: Web Development Final 15 minutes

More information

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.: Internet publishing HTML (XHTML) language Petr Zámostný room: A-72a phone.: 4222 e-mail: petr.zamostny@vscht.cz Essential HTML components Element element example Start tag Element content End tag

More information

P - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus)

P - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus) P - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus) 10.1 Tujuan Mahasiswa mampu : Mengetahui dan Memahami Integrasi PHP dengan MySQL Mengetahui dan Memahami Relasi Dengan phpmyadmin Designer Mengetahui dan

More information

Wed 02 Nov :01:06 AM EST modpow.html

Wed 02 Nov :01:06 AM EST modpow.html Wed 02 Nov 2005 02:01:06 AM EST modpow.html

More information

CIS 228 (Fall 2011) Exam 2, 11/3/11

CIS 228 (Fall 2011) Exam 2, 11/3/11 CIS 228 (Fall 2011) Exam 2, 11/3/11 Name (sign) Name (print) email Question 1 2 3 4 5 6 7 8 TOTAL Score CIS 228, exam 2 1 11/03/11 Question 1 True or false: In CSS, property declarations in the same rule

More information

Hoster: openload.co - Free PLUGIN_DEFECT-Error: 08d a1830b60ab13ddec9a2ff6

Hoster: openload.co - Free PLUGIN_DEFECT-Error: 08d a1830b60ab13ddec9a2ff6 JDownloader - Bug #80273 Bug # 75914 (Closed): Hoster: openload.co - Free Hoster: openload.co - Free PLUGIN_DEFECT-Error: 08d9453425a1830b60ab13ddec9a2ff6 08/18/2016 02:13 AM - StatServ Status: Closed

More information

Style-Guidelines. Release 0.1

Style-Guidelines. Release 0.1 Style-Guidelines Release 0.1 Oct 31, 2017 Contents 1 Guidelines 3 i ii Author lxneng (Eric Lo) Version 1.0 Contents 1 2 Contents CHAPTER 1 Guidelines Python Code Style GuideLine PEP 8 : 4 : : 79,., =

More information

Copyright 2011 Sakun Sharma

Copyright 2011 Sakun Sharma Maintaining Sessions in JSP We need sessions for security purpose and multiuser support. Here we are going to use sessions for security in the following manner: 1. Restrict user to open admin panel. 2.

More information

Header. Report Section. Footer

Header. Report Section. Footer Scan&Solve Cheat Sheet for Modifying Report Format Scan&Solve uses template files to construct the web-ready reports when the [Report ] button is clicked in the View tab. These template files, located

More information

CPET 499/ITC 250 Web Systems. Topics

CPET 499/ITC 250 Web Systems. Topics CPET 499/ITC 250 Web Systems Lecture on HTML and XHTML, Web Browsers, and Web Servers References: * Fundamentals of Web Development, 2015 ed., by Randy Connolly and Richard Hoar, from Pearson *Chapter

More information

Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points)

Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points) CS-101 Fall 2008 Section 4 Practice Final v1.0m Name: Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points) XHTML/CSS Reference: Entities: Copyright

More information

How the Internet Works

How the Internet Works How the Internet Works The Internet is a network of millions of computers. Every computer on the Internet is connected to every other computer on the Internet through Internet Service Providers (ISPs).

More information

TRAINING GUIDE. Rebranding Lucity Web

TRAINING GUIDE. Rebranding Lucity Web TRAINING GUIDE Rebranding Lucity Web Rebranding Lucity Web Applications In this booklet, we ll show how to make the Lucity web applications your own by matching your agency s style. Table of Contents Web

More information

JSF - H:PANELGRID. JSF Tag. Rendered Output. Tag Attributes. The h:panel tag renders an HTML "table" element. Attribute & Description.

JSF - H:PANELGRID. JSF Tag. Rendered Output. Tag Attributes. The h:panel tag renders an HTML table element. Attribute & Description. http://www.tutorialspoint.com/jsf/jsf_panelgrid_tag.htm JSF - H:PANELGRID Copyright tutorialspoint.com The h:panel tag renders an HTML "table" element. JSF Tag

More information

map1.html 1/1 lectures/8/src/

map1.html 1/1 lectures/8/src/ map1.html 1/1 3: map1.html 5: Demonstrates a "hello, world" of maps. 7: Computer Science E-75 8: David J. Malan 9: 10: --> 1 13:

More information

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.

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. 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. Standard Navigation Bar Web 2.0 Navigation Bar Now the all-important question

More information

Using an ArcGIS Server.Net version 10

Using an ArcGIS Server.Net version 10 Using an ArcGIS Server.Net version 10 Created by Vince DiNoto Vince.dinoto@kctcs.edu Contents Concept... 2 Prerequisites... 2 Data... 2 Process... 3 Creating a Service... 3 Down Loading Shapefiles... 3

More information

Recall: Document Object Model (DOM)

Recall: Document Object Model (DOM) Page 1 Document Object Model (DOM) CSE 190 M (Web Programming), Spring 2007 University of Washington References: Forbes/Steele, Chipman (much of this content was stolen from them) Recall: Document Object

More information

Slide 1. Chapter 5. How to use the MVC pattern to organize your code. 2010, Mike Murach & Associates, Inc. Murach's PHP and MySQL, C5

Slide 1. Chapter 5. How to use the MVC pattern to organize your code. 2010, Mike Murach & Associates, Inc. Murach's PHP and MySQL, C5 Slide 1 Chapter 5 How to use the MVC pattern to organize your code and MySQL, C5 Slide 2 Objectives Applied 1. Use the MVC pattern to develop your web applications. 2. Create and use functions that do

More information

ajax1.html 1/2 lectures/7/src/ ajax1.html 2/2 lectures/7/src/

ajax1.html 1/2 lectures/7/src/ ajax1.html 2/2 lectures/7/src/ ajax1.html 1/2 3: ajax1.html 5: Gets stock quote from quote1.php via Ajax, displaying result with alert(). 6: 7: David J. Malan 8: Dan Armendariz 9: Computer Science E-75 10: Harvard Extension School 11:

More information

User's Guide Visual Profile Appendix L Version 7.5.2

User's Guide Visual Profile Appendix L Version 7.5.2 User's Guide Visual Profile Appendix L Version 7.5.2 MobilityGuard AB Appendix L Visual Profile v 7.4 Table of Contents 1 Introduction...3 2 Configuration...3 2.1 Select a theme to use...3 2.2 The theme

More information

Dreamweaver: Portfolio Site

Dreamweaver: Portfolio Site Dreamweaver: Portfolio Site Part 3 - Dreamweaver: Developing the Portfolio Site (L043) Create a new Site in Dreamweaver: Site > New Site (name the site something like: Portfolio, or Portfolio_c7) Go to

More information

c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc. c360 Solutions

c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc.   c360 Solutions c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc. www.c360.com c360 Solutions Contents Overview... 3 Web Connect Configuration... 4 Implementing Web Connect...

More information

XHTML & CSS CASCADING STYLE SHEETS

XHTML & CSS CASCADING STYLE SHEETS CASCADING STYLE SHEETS What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML XHTML is almost identical to HTML 4.01 XHTML is a stricter and cleaner version

More information

ANSWER KEY Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 2 April 2009

ANSWER KEY Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 2 April 2009 ANSWER KEY Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 2 April 2009 1. True or False: (a) T You can validate CSS files, in the same way you validate HTML files.

More information

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

Introduction to ARIA and HTML5. Jared Smith & Jonathan Whiting webaim.org Introduction to ARIA and HTML5 Jared Smith & Jonathan Whiting webaim.org ARIA ARIA Accessible Rich Internet Applications Specification developed by the PFWG of the W3C s WAI. Huh? W3C Candidate Recommendation

More information

What are all these divs? Some empty? No use of CSS Cascade (text-decoration) Duplicated properties (padding in navitem) Unreadable Messy

What are all these divs? Some empty? No use of CSS Cascade (text-decoration) Duplicated properties (padding in navitem) Unreadable Messy Site Redesign Building a site using semantic XHTML and CSS Analysis of existing markup Internal style sheet Poor names (not meaningful) Terribly poor CSS Style in with content Poor names Poor layout Messy

More information

Mobile Web Development

Mobile Web Development Mobile Web Development By Phil Huhn 2013-04-30 2013 Northern Software Group Agenda Web-site issues for mobile devices Responsive Design Media Queries Twitter Bootstrap As-is (themes) less variables.less

More information

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

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: You may create your button in GIMP. Mine is 122 pixels by 48 pixels. You can use whatever

More information

<tr><td>last Name </td><td><input type="text" name="shippingaddress-last-name"

<tr><td>last Name </td><td><input type=text name=shippingaddress-last-name // API Setup Parameters $gatewayurl = 'https://secure.payscout.com/api/v2/three-step'; $APIKey = '2F822Rw39fx762MaV7Yy86jXGTC7sCDy'; // If there is no POST data or a token-id, print the initial Customer

More information

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

Dingle Coderdojo 6. Project Part 2 (of 2) - Movie Poster And Actor! - Lookup. Week 6 Dingle Coderdojo 6 Week 6 Project Part 2 (of 2) - Movie Poster And Actor! - Lookup This is an extension of what you did the last time (the Movie Poster lookup from Week 5). Make sure you ve finished that

More information

HTML Overview. With an emphasis on XHTML

HTML Overview. With an emphasis on XHTML HTML Overview With an emphasis on XHTML What is HTML? Stands for HyperText Markup Language A client-side technology (i.e. runs on a user s computer) HTML has a specific set of tags that allow: the structure

More information

Web Publishing Basics I

Web Publishing Basics I Web Publishing Basics I Jeff Pankin Information Services and Technology Contents Course Objectives... 2 Creating a Web Page with HTML... 3 What is Dreamweaver?... 3 What is HTML?... 3 What are the basic

More information

Air Quality Health Index: Web Widget Use Document. Prepared by Alberta Environment and Sustainable Resource Development

Air Quality Health Index: Web Widget Use Document. Prepared by Alberta Environment and Sustainable Resource Development Prepared by Alberta Environment and Sustainable Resource Development March 2014 ESRD/ ISBN No. 978-1-4601-1689-0 (online version) Website: http://esrd.alberta.ca/air/programs-and-services/air-quality-health-index/aqhi-resources.aspx

More information

The starter app has a menu + 2 Views : Dashboard. About

The starter app has a menu + 2 Views : Dashboard. About Front End The starter app has a menu + 2 Views : Dashboard About All views will be based on structure laid down in Layout layout/main.hbs. Includes Semantic-UI CSS library View content will

More information

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts Web Development & Design Foundations with XHTML Chapter 2 Key Concepts Learning Outcomes In this chapter, you will learn about: XHTML syntax, tags, and document type definitions The anatomy of a web page

More information

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

Project Part 2 (of 2) - Movie Poster And Actor! - Lookup Getting Started 1. Go to http://quickdojo.com 2. Click this: Project Part 2 (of 2) - Movie Poster And Actor! - Lookup This is an extension of what you did the last time (the Movie Poster lookup from Week

More information

jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc.

jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc. jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com Agenda What is and Why jmaki? jmaki widgets Using jmaki widget - List widget What makes up

More information

CSS Positioning Using Expression Web Style Tools

CSS Positioning Using Expression Web Style Tools CHAPTER 7 CSS Positioning Using Expression Web Style Tools You can create a web page layout in two ways. The old style is to use a table and nest other tables inside. In the 1990s, that was the most effective

More information

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

HTML HTML. Chris Seddon CRS Enterprises Ltd 1 Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 Reference Sites W3C W3C w3schools DevGuru Aptana GotAPI Dog http://www.w3.org/ http://www.w3schools.com

More information

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>

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> 1 of 9 CS1116/CS5018 Web Development 2 Dr Derek Bridge School of Computer Science & Information Technology University College Cork Recap To find nodes: queryselector, queryselectorall To create new element

More information

Fetch terms and conditions apply. Fetch is only available for business banking purposes. The Kiwibank Fetch name, logos and related trademarks and

Fetch terms and conditions apply. Fetch is only available for business banking purposes. The Kiwibank Fetch name, logos and related trademarks and Fetch terms and conditions apply. Fetch is only available for business banking purposes. The Kiwibank This form submits a single amount to Fetch and then returns/displays

More information

Paper Phil Mason, Wood Street Consultants

Paper Phil Mason, Wood Street Consultants ABSTRACT Paper 1711-2018 My Top 10 ways to use SAS Stored Processes Phil Mason, Wood Street Consultants SAS Stored Processes are a powerful facility within SAS. Having recently written a book about SAS

More information

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application. Extra notes - Client-side Design and Development Dr Nick Hayward HTML - Basics A brief introduction to some of the basics of HTML. Contents Intro element add some metadata define a base address

More information

Unit Notes. ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript

Unit Notes. ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript Unit Notes ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript Copyright, 2013 by TAFE NSW - North Coast Institute Date last saved: 18 September 2013 by

More information

Advanced Web Programming C2. Basic Web Technologies

Advanced Web Programming C2. Basic Web Technologies Politehnica University of Timisoara Advanced Web Programming C2. Basic Web Technologies 2013 UPT-AC Assoc.Prof.Dr. Dan Pescaru HTML Originally developed by Tim Berners-Lee in 1990 at CERN (Conseil Européen

More information

Stamp Builder. Documentation. v1.0.0

Stamp  Builder. Documentation.   v1.0.0 Stamp Email Builder Documentation http://getemailbuilder.com v1.0.0 THANK YOU FOR PURCHASING OUR EMAIL EDITOR! This documentation covers all main features of the STAMP Self-hosted email editor. If you

More information

An Evaluation of Potential Technologies for a Web Based Development Environment for CS1 Students

An Evaluation of Potential Technologies for a Web Based Development Environment for CS1 Students An Evaluation of Potential Technologies for a Web Based Development Environment for CS1 Students Prepared for: David Janzen, Computer Science Professor Prepared by: Manuel Garcia, Computer Science Student

More information

Information and Communication Technology: TECHNOLOGY (EXTENDED MEANING) presented by: Rhiza S. Sadjad

Information and Communication Technology: TECHNOLOGY (EXTENDED MEANING) presented by: Rhiza S. Sadjad Information and Communication Technology: TECHNOLOGY (EXTENDED MEANING) presented by: Rhiza S. Sadjad rhiza@unhas.ac.id http://www.unhas.ac.id/rhiza/ Question: What is the ICT? 2 ICT = Information and

More information

change.html <html> <head><title>change maker</title></head> <body> <h1>change maker</h1> <p>author: Todd Whittaker</p> <script type="text/javascript"

change.html <html> <head><title>change maker</title></head> <body> <h1>change maker</h1> <p>author: Todd Whittaker</p> <script type=text/javascript ITEC 136 Business Programming Concepts Week 04, Part 01 Overview 1 Week 4 Overview Week 3 review Functional Decomposition Top-down design Bottom-up implementation Functions Global vs. Local variables (scope)

More information

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

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Chapter4: HTML Table and Script page, HTML5 new forms Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Objective To know HTML5 creating a new style form. To understand HTML table benefits

More information

Summary 4/5. (contains info about the html)

Summary 4/5. (contains info about the html) Summary Tag Info Version Attributes Comment 4/5

More information

Lecture 6: Web Security CS /17/2017

Lecture 6: Web Security CS /17/2017 Lecture 6: Web Security CS5431 03/17/2017 2015 Security Incidents Web Vulnerabilities by Year 2500 2000 1500 1000 500 0 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015

More information

JSP files for OBAAS1.1:

JSP files for OBAAS1.1: JSP files for OBAAS1.1: ----------------------- Apart from JSP files, there is also one stylesheet file named "style.css". You need to create jsp files in the WebContent folder of your project. Also create

More information

Part A Short Answer (50 marks)

Part A Short Answer (50 marks) Part A Short Answer (50 marks) NOTE: Answers for Part A should be no more than 3-4 sentences long. 1. (5 marks) What is the purpose of HTML? What is the purpose of a DTD? How do HTML and DTDs relate to

More information

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

src1-malan/ajax/ajax1.html ajax1.html Gets stock quote from quote1.php via Ajax, displaying result with alert(). src1-malan/ajax/ajaxhtml 1 1 1 1 1 2 2 2 2 2 2 2 2 30. 3 3 3 3 3 3 3 3 3 40. 4 4 4 4 4 4 4 4 ajaxhtml Gets stock quote from quotephp via Ajax, displaying result with alert(). Building Mobile Applications

More information