• Tidak ada hasil yang ditemukan

Sistem Informasi Pendaftaran Siswa Baru Berbasis Web dengan Menggunakan PHP dan MySQL pada SMA Swasta Prayatna Medan

N/A
N/A
Protected

Academic year: 2019

Membagikan "Sistem Informasi Pendaftaran Siswa Baru Berbasis Web dengan Menggunakan PHP dan MySQL pada SMA Swasta Prayatna Medan"

Copied!
27
0
0

Teks penuh

(1)

LISTING PROGRAM

Index.php

<?php session_start();

// if session is not set redirect the user

if(empty($_SESSION['u_name']))

header("Location:../Logindonk.html");

//if logout then destroy the session and redirect the user

if(isset($_GET['logout']))

{

session_destroy();

header("Location:../index.html");

}

echo "<h1><font color='#003399'> Selamat datang " .

$_SESSION['u_name'] . "</font></h1>";

echo "<div align='center'>You Are inside secured Page</a>";

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>

<head>

<title>Awesome Bubble Navigation with jQuery</title>

<meta http-equiv="Content-Type" content="text/html;

(2)

<meta name="description" content="Awesome Bubble Navigation with

jQuery" />

<meta name="keywords" content="jquery, circular menu,

navigation, round, bubble"/>

<link rel="stylesheet" href="css/style.css" type="text/css"

media="screen"/>

<style>

*{

margin:0;

padding:0;

}

body{

font-family:Arial;

background:#fff url(images/bg.png) no-repeat top

left;

}

.title{

width:548px;

height:119px;

position:absolute;

top:400px;

left:150px;

background:transparent url(title.png) no-repeat

top left;

}

a.back{

background:transparent url(back.png) no-repeat

top left;

position:fixed;

width:150px;

height:27px;

(3)

bottom:0px;

left:0px;

}

#content{

margin:0 auto;

}

</style>

</head>

<body>

<div id="content">

<a class="back"

href="http://tympanus.net/codrops/2010/04/29/awesome-bubble-navigation-with-jquery"></a>

<div class="title"></div>

<div class="navigation" id="nav">

<div class="item user">

<img src="images/bg_user.png" alt="" width="199" height="199"

class="circle"/>

<a href="#" class="icon"></a>

<h2>User</h2>

<ul>

<li><a href="#">Profile</a></li>

<li><a href="#">Properties</a></li>

<li><a href="#">Privacy</a></li>

</ul>

</div>

<div class="item home">

<img src="images/bg_home.png" alt="" width="199" height="199"

class="circle"/>

(4)

<h2>Home</h2>

<ul>

<li><a href="#">Portfolio</a></li>

<li><a href="#">Services</a></li>

<li><a href="#">Contact</a></li>

</ul>

</div>

<div class="item shop">

<img src="images/bg_shop.png" alt="" width="199" height="199"

class="circle"/>

<a href="#" class="icon"></a>

<h2>Shop</h2>

<ul>

<li><a href="#">Catalogue</a></li>

<li><a href="#">Orders</a></li>

<li><a href="#">Offers</a></li>

</ul>

</div>

<div class="item camera">

<img src="images/bg_camera.png" alt="" width="199" height="199"

class="circle"/>

<a href="#" class="icon"></a>

<h2>Photos</h2>

<ul>

<li><a href="#">Gallery</a></li>

<li><a href="#">Prints</a></li>

<li><a href="#">Submit</a></li>

</ul>

</div>

<div class="item fav">

<img src="images/bg_fav.png" alt="" width="199" height="199"

(5)

<a href="#" class="icon"></a>

<h2>Love</h2>

<ul>

<li><a href="#">Social</a></li>

<li><a href="#">Support</a></li>

<li><a href="#">Comments</a></li>

<li><a href="index.php?logout">Logout</a></li>

</ul>

</div>

</div>

</div>

<!-- The JavaScript -->

<script type="text/javascript" src="fjquery.min.js"></script>

<script type="text/javascript"

src="jquery.easing.1.3.js"></script>

<script type="text/javascript">

$(function() {

$('#nav > div').hover(

function () {

var $this = $(this);

$this.find('img').stop().animate({

'width' :'199px',

'height' :'199px',

'top' :'-25px',

'left' :'-25px',

<td><?php echo $a[provinsi]?></td> </tr>

<tr>

<td id="attribute">Kota</td> <td>:</td>

(6)

</tr> <tr>

<td id="attribute">Alamat</td> <td>:</td>

<td><?php echo $a[alamat]?></td> </tr>

<tr>

<td id="attribute">Kode pos</td> <td>:

</td>

<td><?php echo $a[kodepos]?></td> </tr>

<tr>

<td id="attribute">No. Telepon</td> <td>:</td>

<td><?php echo $a[telp]?></td> </tr>

<tr>

<td id="attribute">Tanggal Daftar</td> <td>:</td>

<td><?php echo $a[tglDaftar]?></td> </tr>

</table> <?php

} </div

<?php

Sm

Fasilitas.php

(7)

include "lib/header.php"; include "lib/sidebar.php"; ?>

<div id="content_wrapper">

<div id="content_title">Selamat Datang Di Website SMA Prayatna</div>

<div id="content">

<?php

echo"<h2 id='judul_header'>Daftar Fasilitas sekolah yang tersedia</h2>

<br> ";

$w=mysql_query("select * from fasilitas"); $no=1;

while($a=mysql_fetch_array($w)) echo "

<table id='listtab' width='568' border='0'> <tr>

<td width='48'>$no</td>

<td width='141'>ID Fasilitas</td> <td width='9'>:</td>

<td width='156'>$a[id_fasilitas]</td>

<td width='192' rowspan='5'><img width='200' src='../admin/modul/$a[pathGbr]'></td>

</tr> <tr>

<td>&nbsp;</td>

<td>Nama Fasilitas</td> <td>:</td>

<td>$a[nama]</td> </tr>

(8)

<td>&nbsp;</td> <td>Jumlah</td> <td>:</td>

<td>$a[jumlah]</td> </tr>

<tr>

<td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr>

<tr>

Formulir.php

<?php

include "lib/header.php"; include "lib/sidebar.php"; ?>

<div id="content_wrapper">

<div id="content_title">Selamat Datang Di Website SMA Prayatna</div>

<div id="content">

<div id="mainContent">

(9)

<form id="signupform" name="signupform"

enctype="multipart/form-data" target="_self" autocomplete="off" action="proses_formulir.php" method="post">

<table id="formDaftar">

<tr>

<td>Nomor Pendaftaran </td>

<td><input type="text" value="" class="text" id="nis" name="nis" size="30" maxlength="50" /></td>

<td class="status"></td> </tr>

<tr>

<td>Nama Lengkap</td>

<td><input type="text" value="" class="text" id="nama" name="nama" size="30" maxlength="50" /></td>

<td class="status"></td>

<tr>

<td>Tanggal lahir </td> <td>

<select name="tglLahir">

Shoutbox.php

<?php

include "lib/header.php";

include "lib/sidebar.php";

include "lib/conn.php"

(10)

<script type="text/javascript">

<!--

function addsmiley(code) {

var pretext =

document.forms['shoutbox_form'].shoutbox_message.value;

this.code = code;

document.forms['shoutbox_form'].shoutbox_message.value =

pretext + code;

}

//-->

</script>

<link href="css/styleShoutbox.css" rel="stylesheet"

type="text/css" />

<script type="text/javascript"

src="lib/jquery-1.4.4.js"></script>

<script type="text/javascript">

$(document).ready(function() {

$("#smiley_box").hide("slow");

$(".sembunyi").click(function(){

$("#smiley_box").fadeOut("slow");

});

$(".tampil").click(function(){

$("#smiley_box").fadeIn("slow");

});

});

(11)

<div id="content_wrapper">

<div id="content_title">Selamat Datang Di Website

Pembelajaran Online</div>

<div id="content">

<div id="shoutbox">

<div id="headShout"><h3>Shoutbox, Message your

Friend...</h3></div>

<div id="midShout">

<?php

if ($_POST['shoutbox_submit']) {

$name = $_POST['shoutbox_name'];

$ip = $_POST['shoutbox_ip'];

$message = $_POST['shoutbox_message'];

$mlen = strlen($message);

$date = date("F jS Y");

$user = $_SESSION['u_name'];

if ($message == "") {

echo "<font color=#000000><strong id=warning>Peringatan:

Tidak ada pesan yang anda kirim.</strong></font>";

}

else if ($mlen > $max_length) {

echo "<strong>Peringatan: pesan terlalu

panjang.</strong>";

}

else {

mysql_query("INSERT INTO bukutamu(name,ip,message,date)

VALUES('$user','$ip','$message','$date')");

(12)

}

}

$query = "SELECT * FROM bukutamu ORDER BY id DESC LIMIT

$dmessage";

$result = mysql_query($query);

echo "<div class=\"shout_container\">";

echo "<div class=\"shout_header\">";

echo "</div>";

echo "<div class=\"shout_wraper\">\n";

?>

<form id="shoutbox_form" action="<?php echo

$_SERVER['PHP_SELF']; ?>" method="post">

<strong>Nama:</strong><br/>

<input name="shoutbox_name" type="text" value="<?php echo

$_SESSION['u_name']; ?>" disabled class="shoutinput" size="25"

maxlength="35">

<br/>

<strong>Isi Pesan Anda:</strong><br/>

<textarea name="shoutbox_message" cols="90" rows="4"

class="shouttextarea" id="shoutbox_message"></textarea>

<br/>

<input name="shoutbox_submit" type="submit" class="shoutinput"

value="kirim">

<input type="hidden" name="shoutbox_ip" value="<?php echo

$_SERVER['REMOTE_ADDR']; ?>">

</form>

(13)

<button class="sembunyi">Sembunyikan</button>

<br /><br />

<div style="">

<div id="smiley_box">

<img class="smileys" src="smileys/smile.gif" alt=":)"

onclick="addsmiley(':)')"/>

<img class="smileys" src="smileys/laugh.gif" alt=":D"

onclick="addsmiley(':D')"/>

<img class="smileys" src="smileys/wink.gif" alt=";)"

onclick="addsmiley(';)')"/>

<img class="smileys" src="smileys/sad.gif" alt=":("

onclick="addsmiley(':(')"/>

<img class="smileys" src="smileys/shocked.gif" alt=":O"

onclick="addsmiley(':O')"/>

<img class="smileys" src="smileys/tongue.gif" alt=":P"

onclick="addsmiley(':P')"/>

<img class="smileys" src="smileys/sick.gif" alt=":S"

onclick="addsmiley(':x')"/>

<img class="smileys" src="smileys/roll.gif" alt=":roll:"

onclick="addsmiley(':roll:')"/>

<img class="smileys" src="smileys/cry.gif" alt=";("

onclick="addsmiley(';(')"/>

<img class="smileys" src="smileys/thumbup.gif" alt=":@"

onclick="addsmiley(':thumbup')"/>

<img class="smileys" src="smileys/fuck2.gif" alt=":@"

onclick="addsmiley(':fuck2')"/>

<img class="smileys" src="smileys/hammer.gif" alt=":@"

onclick="addsmiley(':hammer')"/>

<img class="smileys" src="smileys/alay.gif" alt=":@"

onclick="addsmiley(':alay')"/>

<img class="smileys" src="smileys/berduka.gif" alt=":@"

(14)

<img class="smileys" src="smileys/bingung.gif" alt=":@"

onclick="addsmiley(':bingung')"/>

<img class="smileys" src="smileys/capede.gif" alt=":@"

onclick="addsmiley(':capede')"/>

<img class="smileys" src="smileys/cendol.gif" alt=":@"

onclick="addsmiley(':cendol')"/>

<img class="smileys" src="smileys/cendolbig.gif" alt=":@"

onclick="addsmiley(':cendolbig')"/>

<img class="smileys" src="smileys/hope.gif" alt=":@"

onclick="addsmiley(':hope')"/>

<img class="smileys" src="smileys/iloveindonesia.gif" alt=":@"

onclick="addsmiley(':iloveindonesia')"/>

<img class="smileys" src="smileys/jrb.gif" alt=":@"

onclick="addsmiley(':jrb')"/>

<img class="smileys" src="smileys/kiss.gif" alt=":@"

onclick="addsmiley(':kiss')"/>

<img class="smileys" src="smileys/maho.gif" alt=":@"

onclick="addsmiley(':maho')"/>

<img class="smileys" src="smileys/malu2.gif" alt=":@"

onclick="addsmiley(':malu2')"/>

<img class="smileys" src="smileys/marah.gif" alt=":@"

onclick="addsmiley(':marah')"/>

<img class="smileys" src="smileys/mewek.gif" alt=":@"

onclick="addsmiley(':mewek')"/>

<img class="smileys" src="smileys/najis.gif" alt=":@"

onclick="addsmiley(':najis')"/>

<img class="smileys" src="smileys/nerd.gif" alt=":@"

onclick="addsmiley(':nerd')"/>

<img class="smileys" src="smileys/shakehand2.gif" alt=":@"

onclick="addsmiley(':shakehand2')"/>

<img class="smileys" src="smileys/siul.gif" alt=":@"

(15)

<img class="smileys" src="smileys/sungkem.gif" alt=":@"

onclick="addsmiley(':sungkem')"/>

<img class="smileys" src="smileys/supermaho.gif" alt=":@"

onclick="addsmiley(':supermaho')"/>

<img class="smileys" src="smileys/takut.gif" alt=":@"

onclick="addsmiley(':takut')"/>

<img class="smileys" src="smileys/tkp.gif" alt=":@"

onclick="addsmiley(':tkp')"/

</div>

</div>

<?php

echo "<div class=\"shoutbox\">\n";

echo "<ul id=shout>\n";

$warna_bg = 1;

while($r=mysql_fetch_array($result)) {

//Strips unwanted HTML from nickname

$name = $r['name'];

$name = strip_tags($name);

//Strips unwanted HTML from message

$message = $r['message'];

$message = strip_tags($message);

// Transform text to smileys =)

$message = str_replace("=(","<img src=\"smileys/sad.gif\"

alt=\"=(\"/>", $message);

$message = str_replace(":(","<img src=\"smileys/sad.gif\"

alt=\":(\"/>", $message);

$message = str_replace(";(","<img src=\"smileys/cry.gif\"

(16)

$message = str_replace(":@","<img src=\"smileys/mad.gif\"

alt=\":@\"/>", $message);

$message = ereg_replace(":)","<img

src=\"smileys/smile.gif\" alt=\":)\"/>", $message);

$message = ereg_replace("=)","<img

src=\"smileys/smile.gif\" alt=\"=)\"/>", $message);

$message = ereg_replace(":D","<img

src=\"smileys/laugh.gif\" alt=\":D\"/>", $message);

$message = ereg_replace(":d","<img

src=\"smileys/laugh.gif\" alt=\":d\"/>", $message);

$message = ereg_replace(":p","<img

src=\"smileys/tongue.gif\" alt=\":p\"/>", $message);

$message = ereg_replace(":P","<img

src=\"smileys/tongue.gif\" alt=\":P\"/>", $message);

$message = ereg_replace(":O","<img

src=\"smileys/shocked.gif\" alt=\":O\"/>", $message);

$message = ereg_replace(":o","<img

src=\"smileys/shocked.gif\" alt=\":o\"/>", $message);

$message = ereg_replace(";)","<img

src=\"smileys/wink.gif\" alt=\";)\"/>", $message);

$message = ereg_replace(":x","<img

src=\"smileys/sick.gif\" alt=\":S\"/>", $message);

$message = ereg_replace(":roll:","<img

src=\"smileys/roll.gif\" alt=\":roll:\"/>", $message);

$message = ereg_replace(":~","<img

src=\"smileys/fuck2.gif\" alt=\":~\"/>", $message);

$message = ereg_replace(":thumbup","<img

src=\"smileys/thumbup.gif\" alt=\":thumbup\"/>", $message);

$message = ereg_replace(":hammer","<img

src=\"smileys/hammer.gif\" alt=\":hammer\"/>", $message);

$message = ereg_replace(":berduka","<img

(17)

$message = ereg_replace(":bingung","<img

src=\"smileys/bingung.gif\" alt=\":bingung\"/>", $message);

$message = ereg_replace(":capede","<img

src=\"smileys/capede.gif\" alt=\":capede\"/>", $message);

$message = ereg_replace(":cendol","<img

src=\"smileys/cendol.gif\" alt=\":cendol\"/>", $message);

$message = ereg_replace(":cendolbig","<img

src=\"smileys/cendolbig.gif\" alt=\":cendolbig\"/>", $message);

$message = ereg_replace(":hope","<img

src=\"smileys/hope.gif\" alt=\":hope\"/>", $message);

$message = ereg_replace(":iloveindonesia","<img

src=\"smileys/iloveindonesia.gif\" alt=\":iloveindonesia\"/>",

$message);

$message = ereg_replace(":jrb","<img

src=\"smileys/jrb.gif\" alt=\":jrb\"/>", $message);

$message = ereg_replace(":kiss","<img

src=\"smileys/kiss.gif\" alt=\":kiss\"/>", $message);

$message = ereg_replace(":maho","<img

src=\"smileys/maho.gif\" alt=\":maho\"/>", $message);

$message = ereg_replace(":alay","<img

src=\"smileys/alay.gif\" alt=\":alay\"/>", $message);

$message = ereg_replace(":malu2","<img

src=\"smileys/malu2.gif\" alt=\":malu2\"/>", $message);

$message = ereg_replace(":marah","<img

src=\"smileys/marah.gif\" alt=\":marah\"/>", $message);

$message = ereg_replace(":mewek","<img

src=\"smileys/mewek.gif\" alt=\":mewek\"/>", $message);

$message = ereg_replace(":najis","<img

src=\"smileys/najis.gif\" alt=\":najis\"/>", $message);

$message = ereg_replace(":nerd","<img

(18)

$message = ereg_replace(":shakehand2","<img

src=\"smileys/shakehand2.gif\" alt=\"shakehand2\"/>", $message);

$message = ereg_replace(":siul","<img

src=\"smileys/siul.gif\" alt=\":siul\"/>", $message);

$message = ereg_replace(":sungkem","<img

src=\"smileys/sungkem.gif\" alt=\":sungkem\"/>", $message);

$message = ereg_replace(":supermaho","<img

src=\"smileys/supermaho.gif\" alt=\":supermaho\"/>", $message);

$message = ereg_replace(":takut","<img

src=\"smileys/takut.gif\" alt=\":takut\"/>", $message);

$message = ereg_replace(":tkp","<img

src=\"smileys/tkp.gif\" alt=\":tkp\"/>", $message);

if ($warna_bg == 1){

echo "<li class=\"shouter_name1\"title=\"Shouted on

$r[date]\" style=\"cursor:

pointer\"><strong>$name:</strong></li>\n";

echo "<li class=\"shouter_message1\">$message</li>\n";

echo "<li class=\"shout_time1\">$r[date] <span

class=\"sum\">#</li>\n";

$warna_bg = 0;

}

else {

echo "<li class=\"shouter_name2\" title=\"Shouted on

$r[date]\" style=\"cursor: pointer\"><strong>$name</strong>:

</li>\n";

echo "<li class=\"shouter_message2\">$message</li>\n";

echo "<li class=\"shout_time2\">$r[date] <span

class=\"sum\">#</li>\n";

$warna_bg = 1;

(19)

echo "</ul>\n";

echo "</div>\n";

?></div>

</div>

</div>

<div id="footShout"></div>

</div>

</div>

<?php

include "lib/footer.php";

?>

Download.php

<?php

//koneksi database

mysql_connect('localhost','root',''); mysql_select_db('learning');

// membaca id file dari link $id = $_GET['id'];

// membaca informasi file dari tabel berdasarkan id nya $query = "SELECT * FROM modul WHERE id = '$id'";

(20)

// header yang menunjukkan nama file yang akan didownload header("Content-Disposition: attachment;

filename=".$data['nama']);

// header yang menunjukkan ukuran file yang akan didownload header("Content-length: ".$data['size']);

// header yang menunjukkan jenis file yang akan didownload header("Content-type: ".$data['type']);

// proses membaca isi file yang akan didownload dari folder 'data'

$fp = fopen("../admin/moduledir/".$data['nama'], 'r'); $content = fread($fp,

filesize('../admin/moduledir/'.$data['nama'])); fclose($fp);

// menampilkan isi file yang akan didownload echo $content;

exit; ?>

Proses Daftar Murid.php

<!--<!DOCTYPE html>

<html>

<head>

<!--<meta http-equiv="Content-Type" content="text/html;

charset=utf-8" />

(21)

<link href="css/contentStyle.css" rel="stylesheet"

type="text/css" />

</head>

<body>

<div id="sidebar">

<div id="logo">

</div>

<div id="sideMenu">

<div id="sideHead">

Menu

</div>

<div id="sideWrapper">

<ul class="sideItem">

<a href="index.html"><li>Home</li></a>

<li>Profil</li>

<li>About</li>

<li>Contact Us</li>

<li>Logout</li>

</ul>

</div>

</div>

</div>

<div id="wrapper">

<div id="header">

<center>

(22)

</center>

</div>

<div id="container">

<div id="content">

<div id="headContent">

Formulir Pendaftaran Anggota

</div>

<div id="mainContent">

-->

<?php

//script 12.4 - add_entry.php

/*this script a blog entry the database*/

//handle the form

//if($_SERVER['REQUEST_METHOD']=='POST'){

//connect and select:

$dbc=mysql_connect('localhost', 'root', '');

mysql_select_db('db_prayatna', $dbc);

#penanganan upload gambar

(23)

$nama_file = $_FILES['userfile']['name'];

$ukuran_file = $_FILES['userfile']['size'];

$tipe_file = $_FILES['userfile']['type'];

$file_error = $_FILES['userfile']['error'];

if ($file_error > 0)

{

echo 'Error: ';

switch ($file_error)

{

case 1: echo 'ukuran file melebihi

upload_max_filesize di php.ini'; break;

case 2: echo 'ukuran file melebihi

max_file_size di php.ini'; break;

case 3: echo 'Hanya Sebagian file yang

terupload'; break;

case 4: echo 'Tidak ada file yang

terupload'; break;

}

exit;

//validate the form data:

$problem = FALSE;

if(!empty($_POST['nama']) && !empty($_POST['username']) &&

(24)

&& !empty($_POST['email']) && !empty($_POST['homebase']) &&

!empty($_POST['tglLahir']) && !empty($_POST['blnLahir']) &&

!empty($_POST['thnLahir']) && !empty($_POST['jk']) &&

!empty($_POST['prov']) && !empty($_POST['kota']) &&

!empty($_POST['jalan']) && !empty($_POST['kodepos']) &&

!empty($_POST['notelp']))

{

$nama =

mysql_real_escape_string(trim(strip_tags($_POST['nama'])),

$dbc);

$username =

mysql_real_escape_string(trim(strip_tags($_POST['username'])),

$dbc);

$passwd =

mysql_real_escape_string(trim(strip_tags($_POST['passwd'])),

$dbc);

$passwd2 =

mysql_real_escape_string(trim(strip_tags($_POST['passwd2'])),

$dbc);

$email =

mysql_real_escape_string(trim(strip_tags($_POST['email'])),

$dbc);

$homebase =

mysql_real_escape_string(trim(strip_tags($_POST['homebase'])),

$dbc);

$tglLahir =

mysql_real_escape_string(trim(strip_tags($_POST['tglLahir'])),

$dbc);

$blnLahir =

mysql_real_escape_string(trim(strip_tags($_POST['blnLahir'])),

(25)

$thnLahir =

mysql_real_escape_string(trim(strip_tags($_POST['thnLahir'])),

$dbc);

$jk =

mysql_real_escape_string(trim(strip_tags($_POST['jk'])), $dbc);

$prov =

mysql_real_escape_string(trim(strip_tags($_POST['prov'])),

$dbc);

$kota =

mysql_real_escape_string(trim(strip_tags($_POST['kota'])),

$dbc);

$jalan =

mysql_real_escape_string(trim(strip_tags($_POST['jalan'])),

$dbc);

$kodepos =

mysql_real_escape_string(trim(strip_tags($_POST['kodepos'])),

$dbc);

$notelp =

mysql_real_escape_string(trim(strip_tags($_POST['notelp'])),

$dbc);

$passwd = $_POST['password'];

//echo $passwd;

//Ubah String bulan menjadi angka

if ($blnLahir == "Januari")

$blnAngka = "01";

else if ($blnLahir == "Februari")

$blnAngka = "02";

(26)

$blnAngka = "03";

else if ($blnLahir == "April")

$blnAngka = "04";

else if ($blnLahir == "Mei")

$blnAngka = "05";

else if ($blnLahir == "Juni")

$blnAngka = "06";

else if ($blnLahir == "Juli")

$blnAngka = "07";

else if ($blnLahir == "Agustus")

$blnAngka = "08";

else if ($blnLahir == "September")

$blnAngka = "09";

else if ($blnLahir == "Oktober")

$blnAngka = "10";

else if ($blnLahir == "November")

$blnAngka = "11";

else if ($blnLahir == "Desember")

$blnAngka = "12";

//gabungkan string tanggalLahir

$tanggalLahir = $tglLahir . "/" . $blnAngka . "/" .

$thnLahir;

//echo "Password anda adalah " + $passwd;

//echo $passwd2;

$passwd = md5($passwd);

} else{

print '<p>Data Belum lengkap, silahkan di <a

(27)

$problem=TRUE;

}

Referensi

Dokumen terkait

Permasalah yang dikaji dalam peneitian ini adalah bagaimana menerapkan model pembelajaran PAKEM dengan pendekatan tematik sains SD, dan bagaimana respon siswa terhadap model

PIfiGfiM PENGHfiRGfifiN Nomor: 2338/UN34.l 5/PP/201 3. diherikon

Rencana Kerja REVISI ini sedang dilaksanakan pada tahun berjalan dan merupakan penjabaran rincian mengenai program, sasaran dan capaian sesuai prioritas yang disusun

Salah satu solusi untuk mengatasi permasalahan tersebut adalah pemenuhan baku industri perkayuan terutama untuk industri papan serat dari bahan baku daur ulang.. Papan

SKPD Kantor Camat Kubu Tahun 2018 sesuai dengan Rencana. Strategis Perubahan (RENSTRA-P) 2014-2019 sebagai

The test results kalimuru wood machining properties including good quality (class II) and the average size of the wood adhesive kalimuru penetration at 23, 67 µm. It can be

rahmat dan karuniaNYA, sehingga skripsi ini yang berjudul PENGARUH KOMPENSASI, KEPEMIMPINAN, DAN LINGKUNGAN KERJA TERHADAP KINERJA KARYAWAN DI CV FAIRUZ GROUP

Mempraktikkan berbagai kombinasi gerak dasar melalui permainan dan nilai-nilai yang terkandung di dalamnya Kompetensi Dasar Indikator Materi Pokok Diri sendiri Keluarga