Blogroll

Senin, 21 Januari 2013

ahtml><title>Membuat program kalkulator sederhana menggunakan textbox </title><SCRIPT LANGUAGE="JavaScript">function tambah(){m=eval(form.m.value)n=eval(form.n.value)q=m+nform.hasil.value =q}function kurang(){m=eval(form.m.value)n=eval(form.n.value)q=m-nform.hasil.value=q}function kali(){m=eval(form.m.value)n=eval(form.n.value)q=m*nform.hasil.value=q}function bagi(){m=eval(form.m.value)n=eval(form.n.value)q=m/nform.hasil.value =q}function kosong(){form.a.focus()form.a.value=""form.b.value=""form.hasil.value=""}</SCRIPT><body...

admin.php

Posted by Unknown On 20.42 No comments
<?phpinclude "koneksi.php";$user=$_POST["txtuser"];$pass=$_POST["txtpass"];$login  = mysql_query("select * from admin where user='$user' and pass='$pass'");$ketemu = mysql_num_rows($login);$r      = mysql_fetch_array($login);// jika login berhasil diarahkan ke halaman administratorif (($user==$r['user'])and($pass==$r['pass'])) {  session_start();    $_SESSION[user]     = $r[user];  $_SESSION[pass]     = $r[pass];  header("location:adminbarang.php");}else{  ...
<?php session_start();if (empty($_SESSION[user]) AND empty($_SESSION[pass])){      echo "<center>Untuk mengakses halaman ini, Silahkan klik link berikut<br>";  echo "<a href='loginadmin.php'><b>LOGIN</b></a></center>";}else{ ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"...

KESENJANGAN SOSIAL

Posted by Unknown On 20.39 1 comment
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false EN-US X-NONE X-NONE ...

Site search

    Blogger news

    Blogroll

    About