loading...

Sabtu, 04 Juni 2016

Kumpulan Source Code Gratis 2017 Web berbasis PHP MYSQL CODEIGNITER SISFO PUSKESMAS

Source Code PHP Mysql Codeigniter SISFO Puskesma, apakah kalian sedang mencari refresni aplikasi puskesmas untuk SKRIPSI ? Semoga Source Code dari berga-template ini bisa membantu kepada kalian yang sedang membutuhkannya.



Source Code ini dibuat dengan CGI (Code Igniter). jika anda masih terbiasa dengan prosedural munkin akan merasakan beda yang sangat banyak. Mungking sobat sangat tertarik untuk melihat tutorial apa itu codeigniter. Silahkan baca juga Tutorial lengkap dari Pemrograman Codeigniter VERSI bahasa indonesia

Dari aplikasi ini adalah peringatan yang memang untuk system persediaan stok obat di puskesma, jika stok sudah sediti maka ada peringatan, agar stok lebih mudah di sekolah melalui Komputer tentunya ada proses pengelolaan stok

Inilah Tampilan Web SISFO Puskesmas 

Tampilan Login Page, masukan usernam admin dan password admin


Ketika sudah berhasil Login maka akan tampi seperti gambar di bawah ini .


Kumpulan Source Code Gratis 2017 Web berbasis PHP MYSQL CODEIGNITER SISFO PUSKESMAS


Kumpulan Source Code Gratis 2017 Web berbasis PHP MYSQL CODEIGNITER SISFO PUSKESMAS

SILAHKAN SEDOT SOURCE CODE NYA DIBAWAH INI


Source Code Script AGC Images Wallpaper Gratis 2017 / Auto Generate Kontent Images grabber Script

Ocim AGC Images adalah software web. Fungsinya adalah untuk membangun sebuah Auto berbasis gambar Menghasilkan situs konten. Ocim AGC Gambar tidak plugin WordPress, melainkan 'seluruh web', seperti WordPress Installer.

Source Code Script AGC Images Wallpaper Gratis 2017 / Auto Generate Kontent Images grabber Script


Cara menginstalnya seperti membangun sebuah website menggunakan WordPress CMS, yang cukup untuk hosting file yang diupload dan unzip, maka Anda punya situs Ocim AGC Images. Selanjutnya, Ocim AGC Images algoritma akan mencari dan menampilkan gambar sesuai dengan kata kunci yang telah ditetapkan.

Ocim AGC Images situs akan menyimpan gambar dalam database yang telah diperoleh. Oleh karena itu, pastikan Anda memiliki cukup ruang jika Anda ingin menggunakan Ocim AGC Images.

Kebutuhan:

  • PHP 5.3 ke atas (disarankan hosting yang HostGator, Hawkhost atau VPS)
  • MySQL 5.x
  • Rewrite mod
  • keriting
  • GD Library
  • Minimum 50 Mb ruang untuk media penyimpanan hosting gambar (Jika sudah banyak gambar datang).

Fitur Umum:

  • Auto Search gambar bing.com
  • Tema dengan Bootstrap
  • panel admin
  • Pengaturan profil


Kamis, 02 Juni 2016

Script Plugin AGC StupidPie Gratis Untuk Platflom Website Wordpress Versi 2.0

Auto Generated Content StupidPie gratis di platflom Wordpress kini sangat marak yang telah digunakan oleh Pihak Publisher  Mizon, Citika, Adsenizer, CB (Click bank) Etc, Plug in ini sangat mudah untuk membut Blog Automatic dengan Script buatan Dojo bernama stupidPie Gratis di Wordpress.

Pada dasarnya mebuat blog AGC sebenernya bisa saja tanpa harus menggunakan Plug ini, membuat blog Automatic secara gratis butuh keterampilan akan bahasa pemrograman, terutama PHP dan HTML, selain itu, Juga butuh waktu yang sangat cukup banyak untuk di develop dan mengembangkan blog AGC tipe ini bekerja sesuai harapan


AGC Stupid PIe Gratis untuk Di wordpress versi 2.0

Kelebihan dari menggunakan Plugin AGC, contohnya plugin AGC stupied PIE (saya sengaja tidak sensor nama pluginnya ) kemudahan dalam impmentasi serta adanya support dari pembuatnya. jika kamu membuat Web AGC dengan memanfaatkan Plugin berbayar ini, maka ketika terjadi error, kamu cukup post ke groupnya dan otomatis akan dibantu baik dari Blogger lain maupupn developer sendiri


Membuat BLOG AGC Wordpress sendiri dengan Penyediaan SCRIPT Source Code Gratis di Wordpress

Berpatokan bahawa ilmu itu seharunya tidak untuk dijual, tetapi dibagikan secara sukarela. kabar bainya, ane akan membagikan ke kalian cara membuat Blog AGC secara Free atau gratis siap pakai dan modifikasi sendiri tanpa harus beli ke saya. mari perhatikan jauh detalnya dari Auto GC Stupid PIE di Wordpress Secara Gratis Versi 2.0


Ini salah satu Gambar Trafik yang menggunakan AGC 

Script Plugin AGC StupidPie Gratis Untuk Platflom Wordpress Versi 2.0


RESIKO DARI BLOG AGAC WORDPRESS SENDIRI 

  • Mungkin agak ribet buat pemula / newbi yang belom memahami cara kerjanya AGC
  • Jika terjadi error, maka harus bisa perbaiki sendiri
  • Tetap mengandung resiko blog AGC pada umumnya yaitu di suspend hosting terutama shared hostig, ter-index mesin pencari G00gle, BING, MSN Etc

Keuntungan Membuat Blog AGC Wordpress  di vesi 2.0

  • Hanya bayar VPS dan domain
  • Tak perlu beli Plugin lainnya
  • Berkesempatan menjadi jutawan mendadak (Wow.Amazing)

Tutorial Caram membuat Blog AGC Content CMS Wordpress Gratis Versi 2.0

Siapkan bahan berikut sperti PLUGN STT 2 bisa kamu dapatkan Secara gratis 


Setelah sudah mendownloadnya, login ke dashboard blog WP-Kamu kemudian klik Plugins --> Add New -> Upload Plugin -> Browse ke Folder tempat kamu menyimpan plugin tersebut

Masih di dashboard blog WP kamu, klik pada Apperance --> Editor --> Cari Search.php 

Masukan code berikut tepat dibawah ini :

<diva class="entry-content"> pada file search.php

Script Plugin AGC StupidPie Gratis Untuk Platflom Wordpress Versi 2.0
Agar Title AGC lebih SEO Friendly, maka ganti <h1 class="page-title"><?php_e(nothing Found','nama_template_kamu' ); ?></h1>

dengan

Script Plugin AGC StupidPie Gratis Untuk Platflom Wordpress Versi 2.0
Pada dashboard Wordpress, Klik Setting -> SEO SearchTerms 2 Atur settingan Plugin ini agar seperti gambar berikut :

Script Plugin AGC StupidPie Gratis Untuk Platflom Wordpress Versi 2.0

Selanjutnya jangan lupa mengaktifkan SEO SearchTerms 2

Caranya, klik Apperance --> widget --> klik Recent Search Terms -> Add Widget Setting agar widget mengarah ke Search, contoh setting seperti gambar dibawah :

Script Plugin AGC StupidPie Gratis Untuk Platflom Wordpress Versi 2.0
Buat artikel freshh di Web Blog kamu biar terindex Google minimalnya 20 index. blog baru mapu blog berumur lama, wajib fresh konten agar semakin banyak kata kunci terjaring di Blog wordpress kamu sehingga AGC kamu bisa bekerja powerfull.

Kamu bisa melakukan Try apakah Blog AGC nya sudah bisa bekerja dengan baik dengan cara mengetikan Kata kunci 'Keyword' di kotak earch, dan lihat hasilnya. Jika halaman search memunculkan konten yang tidak pernah kamu tulis sebelumnya, maka SELAMAT ! kamu telah berhasil membuat blog AGC secara Free di Web berbasis Wordpress.

Semoga Artikel yang Berga buat Sangat bermanfaat jangan lupa SHARE Ke teman-teman BLOGGER yang membutuhkan Script / Plugin ini 

PENCARIAN POPULER :

Cara membuat blog AGC wordpress, Script AGC wordpress gratis, AGC gratis StupidPIE, pengertian dari AGK, Script AGK gratis

Source Code Download FreePHP: Simple Web-Based Inventory & POS System (UPDATED: 2016 FIXED)

AC POS System is a web-based point of sale system online build in PHP language. Using MySQL as the data storage back-end and has a friendly UI.

Source Code Download FreePHP: Simple Web-Based Inventory & POS System (UPDATED: 2016 FIXED)

features:

  • Very easy to use and friendly UI
  • A centralized database for top management
  • Massa Imports features / Export
  • Store-wise details of the transaction
  • Status and availability of supplies
  • Individual user accounts for


- Added LOST Goto phpMyAdmin database name, and then make the database name as "acpos", then import the sql file attached.

- Fixed a bug in the PHP module
- Improve the fastest database connection

If you find a bug or ERROR or something missing. Please report comment here



Rabu, 01 Juni 2016

Porto v2.5.7 Responsive WordPress + WooCommerce Theme Full Download 7 Source Code

FREE DOWNLOAD PORTO | Responsive WordPress + WOOCOMMERCE THEME


Porto v2.5.7 Responsive WordPress + WooCommerce theme is Porto v2.5.7 + Woocommerce Responsive WordPress Theme is highly customizable, easy to use and fully responsive. Suitable for any type of business, portfolio, blog and e-commerce sites. Great as a starting point for your custom projects. Porto including 10 sites layout and skin and has a large variety suitable for any purpose.


Porto v2.5.7 Responsive WordPress + WooCommerce Theme Full Download 7 Source Code


Preparing and Starting your Premium WordPress Themes

Once you download your Premium WordPress® scene, you have to upload it to your hosting account, parse it, after activating it.

Set Up Your Premium WordPress Theme

Upload a ZIP file that contains your theme to the / wordpress-content / style. To learn more, see Upload file intended for your website (FTP) .Porto v2.5.7 WooCommerce Responsive WordPress Theme

Parse the ZIP file you just delivered. To learn more, see the archived file and sites.Porto v2.5.7 WooCommerce Responsive WordPress Theme

To Enable Premium WordPress Themes

Login to your WordPress user interface (http://example.com/wordpress-admin, where coolexample.com is the title of the domain).

On the Appearance menu, select Styles.

Available in the Styles section, under the Premium WordPress theme, click Activate.Porto v2.5.7 WooCommerce Responsive WordPress Theme

The new theme you show when you go to your site.Porto v2.5.7 WooCommerce Responsive WordPress Theme

For more help, see this Porto v2.5.7 Responsive WordPress Woo Commerce WordPress Theme Lesson


Free Download EasyWeb V2.0.1 WP Theme For Hosting SEO and Web Design Agencies 2017

Free Download EasyWeb V2.0.1 WP Theme For Hosting SEO and Web Design Agencies 2017

EasyWeb v1.0.1 - WP Theme For Hosting, SEO, and Web-design Agency


EasyWeb v1.0.1 nulled, download EasyWeb v1.0.1, EasyWeb WordPress Themes Free Download, EasyWeb 1.0.1 nulled, EasyWeb WordPress Theme v1.0.1, EasyWeb latest version free download, EasyWeb v1.0.1, EasyWeb WordPress Theme nulled

Easyweb is a special theme in the field of hosting, SEO and web design are entirely practical, including the content is quite real and you will be able to implement your website in a few minutes. It comes with advanced options theme, live customizer, visual page builder and a host of special features and seo.


Installing and Activating Your Premium WordPress Themes


Once you download your WordPress® Scene Premium, you need to upload it to your hosting account, parse, and then activate it.

Install your Premium WordPress Themes


Upload a ZIP file that contains your theme to the / wp-content / themes. For more information, see Upload files to your website (FTP).

Parse the ZIP file that you just uploaded. For more information, see the archived files and directories.
To Enable Premium WordPress Themes

Login to your WordPress control panel (http://example.com/wp-admin, codex where example.com is your domain name).

From the Appearance menu, select Themes.
Available at the scene, under the Premium WordPress theme, click Enable.
Your new theme displays as soon as you visit your site.

Guess Brand Logo Quiz Game Source Code for Android is a complete here

Guess Brand Logo Quiz Game Source Code for Android - ThemeBowl Buy Guess Brand Logo Quiz Game Source Code for Android with Google playing in app purchases and advertising network of Themebowl and publish on play google, amazon etc ... Mobile Apps are booming like anything , Google play store presented with many applications / games.Like to publish your first android game / app? No / little knowledge of coding? Then you are on the right place.For those who want to release your first game in the Google Play store here is the source code for the game the most popular trivia games category / word game.Wanna make? Here is the source code for android.

Guess The Brand Logo Quiz Game Source Code for Android


Guess Brand Logo Quiz Game Source Code for Android - ThemeBowl


Guess Brand Logo Quiz Game Source Code for Android - ThemeBowl Buy Guess Brand Logo Quiz Game Source Code for Android with Google playing in app purchases and advertising network of Themebowl and publish on play google, amazon etc ... Mobile Apps are booming like anything , Google play store presented with many applications / games.Like to publish your first android game / app? No / little knowledge of coding? Then you are on the right place.For those who want to release your first game in the Google Play store here is the source code for the game the most popular trivia games category / word game.Wanna make? Here is the source code for android.

Plugin Installation manual


There are some cases when manually installing WordPress Plugin accordingly.

If you want to control the placement and the process of installing WordPress Plugin.
If your server does not allow automatic installation of WordPress Plugin.
Wordpress Plugin is not in the directory WordPress Plugins.
Installing WordPress Plugin manually requires FTP familiarity and awareness that you may put your site at risk if you install WordPress Plugin not compatible with the current version or from an unreliable source.


To install WordPress Plugin manual:


Download WordPress Plugin to your desktop.

If the download as a zip archive, extract the Plugins folder to your desktop.

Read through the "readme" file thoroughly to make sure you follow the installation instructions.

With FTP program, upload the plugin folder to your wp-content / plugins folder in your WordPress directory online.

Go to the Plugins screen and find new Plugin uploaded in the list.


Guess Brand Logo Quiz Game Source Code for Android - ThemeBowl Buy Guess Brand Logo Quiz Game Source Code for Android with Google playing in app purchases and advertising network of Themebowl and publish on play google, amazon etc ... Mobile Apps are booming like anything , Google play store presented with many applications / games.Like to publish your first android game / app? No / little knowledge of coding? Then you are on the right place.For those who want to release your first game in the Google Play store here is the source code for the game the most popular trivia games category / word game.Wanna make? Here is the source code for android.

Selasa, 31 Mei 2016

CARA GAMPANG MUDAH MEMBUAT WEB CMS SENDIRI TANPA NGODING 100% RUNNING WORK

Bermain-main dengan CMS open source seperti Joomla atau WordPress adalah menarik, tapi itu belum puas jika tidak membuat CMS sendiri. Dengan bantuan Dreamweaver CS3, TinyMCE dan Ajax File Manager.

Cover-CMS-PHP-Blog Siapapun tidak mengetik bahasa pemrograman web dapat membuat CMS sendiri yang dapat digunakan untuk membangun situs berbasis PHP.

PTUNJUKNYA DISINI


Buku ini memberikan pembahasan tentang dasar-dasar membuat dan menghubungkan dengan websiter CMS berbasis PHP, tanpa harus mengetikkan kode-apa candi. Buku ini dilengkapi dengan CD yang berisi: Software Appserv untuk membangun localhost, software untuk membuat bentuk TinyMCE WYSIWYG, Software Ajax File Manager untuk mengelola file secara online, PHP Plugin Halaman Detil Untuk Dreamweaver CS3 dan beberapa tema website.

Studi dalam buku ini bukan untuk pemula, tetapi dengan menumpuk Su Rahman sedemikian rupa sehingga orang awam dapat berlatih-book. Pembahasan dalam buku ini mencakup:

  • Penggunaan TinyMCE dan Ajax File Manager
  • localhost instalasi
  • Membuat MySQL Database
  • Menghubungkan database Dengan PHP Situs Web
  • Membuat PHP CMS Dan Menghubungkan Dengan halaman Web
  • Upload CMS dan Situs Ke Hosting
  • Membuat Data Base Hosting Mysql dalam
  • Mengeport Data Base Mysql Dari Localhost Ke Hosting

Dan banyak lagi pengetahuan yang dapat digunakan sebagai acuan dalam mengembangkan kemampuan mengembangkan situs.

Minggu, 29 Mei 2016

18 Model Playboy Terseksi Sebelum Dan Setelah Makeup


Berbagi 10, Model Playboy Terseksi Sebelum Dan Setelah Makeup - Majalah Playboy terkenal akan model-modelnya yang begitu cantik dan menggoda. Tidak hanya itu, para model Playboy juga terlihat seksi dengan hasil-hasil photoshotnya. 

Lihat juga: 10 Wanita yang Memiliki Dada Terindah Sepanjang Sejarah

Tapi dalam Artikel ini, kita akan melihat beberapa perbedaan yang mencolok dari para model-model

Sabtu, 28 Mei 2016

Langkah - Langkah Membuat Web CMS Sendiri berupa Source Codenya Gratis

Pemahaman dari Content Management System (CMS)

Content Management System (CMS), adalah sistem yang digunakan untuk mengelola dan memfasilitasi proses menciptakan, update, dan konten penerbitan bersama-sama (manajemen konten kolaboratif).

Konten mengacu pada informasi dalam bentuk teks, grafik, gambar serta dalam format lain yang perlu dikelola dengan tujuan memfasilitasi proses pembuatan,

pembaharuan, distribusi, pencarian, analisis, dan meningkatkan fleksibilitas untuk diubah menjadi bentuk lain. Terminologi CMS sendiri cukup luas, yang meliputi software aplikasi, database, arsip, workflow, dan alat-alat lainnya yang dapat dikelola sebagai bagian dari mekanisme jaringan perusahaan dan informasi global.

Berikut ini akan membahas bagaimana membuat aplikasi CMS untuk menampilkan koleksi artikel.
Aplikasi ini memungkinkan pengguna untuk mengirim artikel jika dia sudah terdaftar sebagai
anggota dalam penerapannya.

Membuat Database
Untuk tujuan ini, database yang diperlukan dengan struktur sebagai berikut:
Nama database: cms

Berikutnya membuat tabel dalam cms database dengan perintah SQL sebagai berikut:

Langkah - Langkah Membuat Web CMS Sendiri berupa Source Codenya

Perintah ini untuk membuat username 'admin' dan passwordnya juga 'admin'.

Langkah - Langkah Membuat Web CMS Sendiri berupa Source Codenya

MEMBUAT Tata Letak
Untuk review mempermudah MEMBUAT tata letak Dari Aplikasi, silakan mengunduh tata letak template yang di
http://rosihanari.net/php.php. (Tata letak nya pun hasil temuan unduhan Dari situs berbaring, maklum si empunya

gak bisa desain web, coz ... gak Punya jiwa seni). Oya, Jangan Menghapus folder gaya, KARENA SEMUA desain tata letak diatur Oleh CSS Yang ADA folder hearts tersebut. Selanjutnya, berkas buat header.php Dan footer.php Dari tata letak berkas tersebut. Caranya Adalah DENGAN Membuka File index.htm Dari berkas Yang diunduh Tadi DENGAN notepad ATAU editor teks lain. Untuk review MEMBUAT berkas header.php Caranya DENGAN kode mengcopy html index.htm Mulai dari pagar differences Sampai PADA <div id = "column2">. Selanjutnya sisipkan kan Ke Halaman baru Dari editor teks Lalu Simpan DENGAN Nama File header.php. Lalu sesuaikan naskah header.php tersebut skrip DENGAN Di Bawah Penyanyi. (Perhatikan Teks Yang berwarna merah)


header.php

 <? session_start(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>template: home</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-
1" />
<!-- **** Layout Stylesheet **** -->
<link rel="stylesheet" type="text/css" href="style/style104_left.css"
/>
<!-- **** Colour Scheme Stylesheet **** -->
<link rel="stylesheet" type="text/css" href="style/colour2.css" />
</head>
<body>
<div id="main">
<div id="links"><!-- **** INSERT LINKS HERE **** -->
<!—Silakan menambahkan links sendiri -->
<b>::</b> <a href="http://"><b>links</b></a> <b>::</b> <a
href=""><b>links</b></a>
<b>::</b> <a href=""><b>links</b></a>
</div>
<div id="logo"><h1>your company name</h1></div>
<div id="content">
<div id="column1">
<div id="menu">
<h1>menu navigasi</h1>
<ul>
<li><a href="index.php">home</a></li>
<!—- link untuk registrasi user -->
<li><a href="register.php">register</a></li>
<!—- link untuk melihat arsip artikel -->
<li><a href="articles.php">arsip artikel</a></li>
<!—- link untuk login maupun logout -->
<!—- apabila user belum login, link login akan muncul -->
<!-- sedangkan bila sudah login, link logout muncul -->
<li><?
if (isset($_SESSION['idUser'])) $status = "<a
href=logout.php>logout</a>";
else $status = "<a href=login.php>login</a>";
echo $status;
?></li>
</ul>
</div>
<div class="sidebaritem">
<h1>artikel terbaru</h1>
<!-- **** INSERT NEWS ITEMS HERE **** -->
<!-- menampilkan 3 judul artikel terbaru -->
<?
include "dbconnect.php";
$query = "SELECT * FROM artikel WHERE status = 1 ORDER BY
idArtikel DESC LIMIT 0, 3";
$hasil = mysql_query($query);
while ($data3 = mysql_fetch_array($hasil))
{
echo "<p><a
href=view.php?idArtikel=".$data3['idArtikel'].">".$data3['judul']."</a>
</p>";
}
?>
</div>
<!-- menampilkan panel user apabila telah login -->
<!-- dan menyembunyikan panel user bila user belum login -->
<?
if (isset($_SESSION['idUser']))
{
if ($_SESSION['username'] == "admin") $adminpanel = "<li><a
href=\"adminPanel.php\">admin panel</a></li>";
else $adminpanel = "";
$userpanel = "<div id=\"addlinks\">
<h1>member menu</h1>
<ul>
<li><a href=\"submitArticle.php\">kirim
artikel</a></li>
<li><a href=\"editProfile.php\">edit
profile</a></li>".$adminpanel."
</ul>
</div>";
}
else $userpanel = "";
echo $userpanel;
?>
<div class="sidebaritem">
<h1>information</h1>
<!-- silakan isi informasi di sini -->
<p>
Informasi Anda<br>
</p>
</div>
</div>
<div id="column2">

Sedangkan untuk file footer.php, caranya dengan mengcopy tag dari index.htm mulai dari
</div> (setelah akhir dari content… ) sampai dengan tag terakhir. Jangan lupa ubah sendiri
tentang copyright nya.

footer.php

</div>
</div>
<div id="footer">
copyright © 2007 web admin | <a href="mailto:admin@admin.com">admin@admin.com</a> | <a
href="http://validator.w3.org/check?uri=referer">XHTML 1.1</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
</div>
</div>
</body>
</html>


Membuat File Koneksi ke Database (MySQL)

dbconnect.php

Langkah - Langkah Membuat Web CMS Sendiri berupa Source Codenya


Membuat File Index

Untuk keperluan file home, silakan buat file index.php dengan isi sebarang. Berikut ini contohnya.
index.php

Langkah - Langkah Membuat Web CMS Sendiri berupa Source Codenya

Membuat File Registrasi User

Berikut ini file untuk registrasi user. Terdapat 4 isian, yaitu username yang diinginkan, nama
lengkap, password serta konfirmasi password.

register.php

<?
include "header.php";
?>
<h1>user registration</h1>
<form action="regSubmit.php" method="post">
<div class="row">
<span class="formlabel">username</span>
<span class="forminput"><input type="text" name="username"
/></span>
</div>
<div class="row">
<span class="formlabel">nama lengkap</span>
<span class="forminput"><input type="text" name="fullname"
/></span>
</div>
<div class="row">
<span class="formlabel">password</span>
<span class="forminput"><input type="password" name="password1"
/></span>
</div>
<div class="row">
<span class="formlabel">ulangi password</span>
<span class="forminput"><input type="password" name="password2"
/></span></div>
<div class="row">
<span class="formlabel"></span>
<span class="forminput"><input type="submit" value="submit"
class="submit" /></span>
</div>
</form>
<?
include "footer.php";
?>

berikut ini file regSubmit.php untuk mengolah proses registrasi user.

regSubmit.php

 <?
include "dbconnect.php";
include "header.php";
echo "<h1>status registrasi</h1>";
$username = $_POST['username'];
$fullname = $_POST['fullname'];
$password1 = md5($_POST['password1']);
$password2 = md5($_POST['password2']);
// cek konfirmasi password
if ($password1 == $password2)
{
// cek apakah username sudah ada
$query = "SELECT * FROM user WHERE username = '$username'";
$hasil = mysql_query($query);
$data = mysql_num_rows($hasil);
// bila user name belum ada, maka user akan diregister
if ($data == 0)
{
$query = "INSERT INTO user(username, fullname, password)
VALUES('$username', '$fullname', '$password1')";
$hasil = mysql_query($query);
echo "Selamat bergabung dengan kami
<b>".$fullname."</b><br>Silakan Anda login terlebih dahulu";
}
else echo "Nama username tersebut sudah ada.";
}
else echo "Password tidak sama";
include "footer.php";
?>

Membuat File Login

Untuk form loginnya, dapat dilihat pada script berikut ini

login.php

Langkah - Langkah Membuat Web CMS Sendiri berupa Source Codenya

Sedangkan proses loginnya diatur oleh script loginSubmit.php

loginSubmit.php

<?
session_start();
include "dbconnect.php";
$username = $_POST['username'];
$password = md5($_POST['password']);
$query = "SELECT * FROM user WHERE username = '$username'";
$hasil = mysql_query($query);
$data = mysql_fetch_array($hasil);
// cek password dari database dengan yang dimasukkan ketika login
// bila sama, maka login sukses dan muncul panel user
if ($data['password'] == $password)
{
$_SESSION['idUser'] = $data['idUser'];$_SESSION['username'] = $data['username'];
// bila username = admin, maka akan muncul panel admin
if ($_SESSION['username'] == "admin") $adminpanel = "<li><a
href=\"adminPanel.php\">admin panel</a></li>";
else $adminpanel = "";
$status = "<a href=logout.php>logout</a>";
$userpanel = "<div id=\"addlinks\">
<h1>member menu</h1>
<ul>
<li><a href=\"submitArticle.php\">kirim
artikel</a></li>
<li><a href=\"editProfile.php\">edit
profile</a></li>".$adminpanel."
</ul>
</div>";
include "header.php";
echo "<h1>status login</h1>";
echo "<p>Selamat datang <b>".$data['fullname']."</b>.</p> <p>Anda
berhak untuk mengirim artikel.</p>";
}
else
{
$status = "<a href=login.php>login</a>";
$userpanel = "";
include "header.php";
echo "<h1>status login</h1>";
echo "<p>Password salah atau username tidak terdaftar</p>";
}
include "footer.php";
?>


Membuat File Logout

Untuk keperluan logout, berikut ini adalah scriptnya
logout.php

Langkah - Langkah Membuat Web CMS Sendiri berupa Source Codenya