Tampilkan postingan dengan label desain web. Tampilkan semua postingan
Tampilkan postingan dengan label desain web. Tampilkan semua postingan

Senin, 24 November 2014

Cara Buat dan Pasang Icon atau Favicon di Address Bar

Pasang Icon atau Favicon di address bar sebenarnya adalah sebuah cara untuk menampilkan identitas blog dalam sebuah ruang kecil di ujung pojok sebelah kiri address bar. Boleh dikatakan bahwa hampir seluruh website atau blog menggunakan icon super mini ini untuk menandai blog atau web yang dikelola. Untuk membuatnya tidaklah sulit karena kita hanya perlu memasang satu deret pendek kode HTML yang kita letakkan di bagian template di antara tag (kode) dan tag (kode)
. Untuk membuat icon yang ingin ditampilkan di address bar sampeyan bisa membuatnya sendiri atau dengan cara mengunjungi situs yang melayani pembuatan icon untuk address bar ini.
Cara Membuat dan memasang icon di Address bar
favicon
Gambar di atas adalah contoh tampilan icon di address bar.
  1. Buat icon : Buatlah sebuah gambar berukuran 16px x 16px, atau 20px x 20px. Gambar bisa berupa gambar statis atau gambar animasi.
  2. Bila sampeyan tidak bisa membuatnya sendiri, silahkan buat di alamat di bawah ini :
    http://www.freefavicon.com
  3. Upload gambar (icon) yang sudah jadi di image hosting kemudian manfaatkan URL gambarnya seperti contoh di bawah ini :
    Untuk upload gambar sampeyan bisa datang di link di bawah ini :
    http://tinypic.com
  4. Pasang link icon yang sudah dibentuk sebagai kode HTML seperti contoh di atas di bawah kode
    Kode <head> terletak di bagian atas template. Apabila susah ditemukan gunakan Ctrl+F. Panduan penggunaan Ctrl+F bisa sampeyan baca
  5. Untuk masuk ke template di halaman Edit HTML harus login ke blogger terlebih dahulu dengan cara menuliskan User Name atau Email Address kemudian masukkan juga Password sampeyan.
  6. Lanjutkan KLIK Design (Rancangan), kemudian KLIK Edit HTML.
  7. Setelah kode diletakkan di bawah , KLIK SAVE Template (Simpan Template).
  8. Buka blog untuk melihat hasilnya.
Bentuk Kode setelah terpasang adalah seperti di bawah ini :

Senin, 22 April 2013

download keygen Adobe Master Collection CS5 dan cs6

langsung download cs5 cs6

Rabu, 06 Juli 2011

pengen buat hostpot ??

1. Pastikan sampeyan sudah konek internet via LAN atau modem, terserahlah yang penting koneksi internetnya gak menggunakan wireless. Kecuali kalo sampeyan punya 2 wireless.

2. Kalo yakin sudah konek, dan mau membaginya sama temen-temen silahken sobat aktifkan wireless-nya dulu.

3. Setelah itu buka control panel dan masuk ke network connections.

4. Kemudian klik kanan di wireless punya sampeyan, pilih properties kemudian pilih tab wireless network. Setelah itu centang kotak use windows to configure my wireless network setting.

5. Selanjutnya klik tombol add, pada kotak network name (SSID) isi terserah sampeyan, kalo punya saya saya isi dengan KatsukiDaito hotspot.

6. Centang pada kotak yang disampingnya ada tulisan connect even if this network is not broadcasting. Untuk network authentication pilih open, Data Encryption pilih WEP, dan hilangkan centang pada the key is provided for me automatically. Kemudian pada network key isi dengan password terserah anda, default isilah dengan angka 12345. Klik Oke.

7. Setelah selesai, pada koneksi internet sampeyan yang jalan (Entah LAN atau modem, pokoknya yang udah jalan lah) koneksinya mesti disharing Sekarang saya asumsikan sampeyan make LAN. Caranya klik kanan pada LAN yang telah tersambung internet tadi, pilih properties, kemudian pilih tab advanced kemudian centang pada kotak yang di sampingnya ada tulisan allow other network users to connect through this computers internet connection. Klik Oke dan restart PC/Laptop sampeyan.

8. Setelah direstart, sekarang konekkan lagi internetnya.

9. Kemudian buka available wireless networks, coba liat ada gak tulisan KatsukiDaito hotspot? Kalo ada coba konekkan, dan tunggu. Sekarang coba temen sampeyan jua menkonekkannya ke KatsukiDaito hotspot tersebut. Jangan lupa suruh temen sobat pake password 12345. Hehehehehe Kalo udah konek silahken cek…

1001 domain

Free Domain :

Quote:# yourname.tk
# yourname.shorturl.com
# yourname.2ya.com
# yourname.vze.com
# yourname.1sta.com
# yourname.24ex.com
# yourname.hitart.com
# yourname.bigbig.com
# yourname.2freedom.com
# yourname.2fortune.com
# yourname.2truth.com
# yourname.2savvy.com
# yourname.2tunes.com
# yourname.2fear.com
# yourname.2hell.com
# yourname.mirrorz.com
# yourname.echos.com
# yourname.ebored.com
# yourname.antiblog.com
# yourname.dealtap.com
# yourname.filetap.com
# yourname.funurl.com
# yourname.alturl.com
# yourname.hereweb.com


Free domain co :

Quote:# yourname.co.cc
# yourname.co.nr


Free domain ir :

Quote:# yourname.dom.ir
# yourname.2ir.ir
# yourname.coo.ir


Free domain net :

Quote:# yourname.ne1.net
# yourname.0vr.net


Free domain org :

Quote:# yourname.r8.org


Free domain tf :

Quote:# yourname.net.tf
# yourname.eu.tf
# yourname.us.tf
# yourname.int.tf
# yourname.ca.tf
# yourname.de.tf
# yourname.at.tf
# yourname.ch.tf
# yourname.edu.tf
# yourname.ru.tf
# yourname.pl.tf
# yourname.cs.tf
# yourname.bg.tf
# yourname.sg.tf


Free domain lv :

Quote:# yourname.de.lv
# yourname.at.lv
# yourname.ch.lv
# yourname.ar.at.lv
# yourname.co.at.lv


Free domain gg :

Quote:# yourname.at.gg
# yourname.ch.gg
# yourname.de.gg


Free domain tt :

Quote:# yourname.us.tt
# yourname.uk.tt
# yourname.ca.tt
# yourname.eu.tt
# yourname.es.tt
# yourname.fr.tt
# yourname.it.tt
# yourname.se.tt
# yourname.dk.tt
# yourname.be.tt
# yourname.de.tt
# yourname.at.tt
# yourname.au.tt
# yourname.co.uk.tt
# yourname.com.au.tt


Free domain de :

Quote:# yourname.4bundeskanzler.de
# yourname.cybermonn2000.de
# yourname.freesubs.de
# yourname.js4.de
# yourname.lz3.de
# yourname.mp3d.de
# yourname.rocken.de
# yourname.rockt.de
# yourname.rockz.de
# yourname.rulen.de
# yourname.rult.de
# yourname.rulz.de
# yourname.s3p.de
# yourname.sucken.de
# yourname.suckt.de
# yourname.suckz.de
# yourname.uk8.de


untuk info :

Quote:http://www.unonic.com
http://www.europnic.com
http://www.kurzurl.de
http://www.coo.ir
http://www.2ir.ir
http://www.joynic.com
http://www.ne1.net
http://www.co.nr
http://www.shortURL.com
http://www.co.cc
http://www.dot.tk

Rabu, 09 Februari 2011

kode PHP untuk Create Read Update Delete - from scratch

kode ini sebenarnya telah tersedia di http://www.killersites.com/forums/topic/2282/basic-php-system-vieweditdeleteadd-records/

di tulis ulang hanya sebagai pengingat dan siapa tahu ada yang membutuhkannya

kode ini di tulis benar-benar dari dasar, perlu diketahui perkembanan sekarang, aplikasi kebanyakan ditulis mengunakan framework (eg: codeigniter, cakePHP, kohana etc. ) untuk mempermudah pengkodean, karena tiap-tiap framework tersebut memiliki modul2 yang membantu mempercepat penyelesaian pekerjaan, kira-kira mottonya don’t reinvent the wheel.

namun biasanya untuk mempelajari framework butuh efort yang besar juga, apalagi tiap2 framework mempunyai kegunaan/target yang berbeda. selain itu banyak sekali framework yang tersedia sekarang in.

namun jika masih membutuhkan mengkode PHP from scratch, ini contoh CRUD nya

SQL

jalankan ini untuk membuat database, jalankan di MySQL (anda bisa gunakan PHPMyAdmin )

CREATE TABLE `players` (
`id` tinyint(4) NOT NULL auto_increment,
`firstname` varchar(32) NOT NULL,
`lastname` varchar(32) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `players`
--

INSERT INTO `players` VALUES(1, 'Bob', 'Baker');
INSERT INTO `players` VALUES(2, 'Tim', 'Thomas');
INSERT INTO `players` VALUES(3, 'Rachel', 'Roberts');
INSERT INTO `players` VALUES(4, 'Sam', 'Smith');

untuk melakukan koneksi de database tersebut, buat file berikut ini, namun pastikan username dan password untukMySQLnya telah anda sesuaikan dengan database anda, bersama nama databasenya, simpan codenya dengan nama connect-db.php

/*
CONNECT-DB.PHP
Allows PHP to connect to your database
*/

// Database Variables (edit with your own server information)
$server = 'localhost';
$user = 'root';
$pass = 'root';
$db = 'records';

// Connect to Database
$connection = mysql_connect($server, $user, $pass)
or die ("Could not connect to server ... \n" . mysql_error ());
mysql_select_db($db)
or die ("Could not connect to database ... \n" . mysql_error ());

?>

untuk membuat kode untuk melihat view dari datanya,gunakan kode berikut dan simpan dengan nama view.php

/*
VIEW.PHP
Displays all data from 'players' table
*/

// connect to the database
include('connect-db.php');

// get results from database
$result = mysql_query("SELECT * FROM players")
or die(mysql_error());

// display data in table
echo "";
echo "";

// loop through results of database query, displaying them in the table
while($row = mysql_fetch_array( $result )) {

// echo out the contents of each row into a table
echo "";
echo '';
echo '';
echo '';
echo '';
echo '';
echo "";
}

// close table>
echo "
ID First Name Last Name
' . $row['id'] . '' . $row['firstname'] . '' . $row['lastname'] . 'EditDelete
";
?>

Add a new record






sedangkan kode untuk membuat data baru adalaha berikut, simpan dengan nama new.php

/*
NEW.PHP
Allows user to create a new entry in the database
*/

// creates the new record form
// since this form is used multiple times in this file, I have made it a function that is easily reusable
function renderForm($first, $last, $error)
{
?>



New Record


// if there are any errors, display them
if ($error != '')
{
echo '
'.$error.'
';
}
?>



First Name: * " />

Last Name: * " />

* required







}

// connect to the database
include('connect-db.php');

// check if the form has been submitted. If it has, start to process the form and save it to the database
if (isset($_POST['submit']))
{
// get form data, making sure it is valid
$firstname = mysql_real_escape_string(htmlspecialchars($_POST['firstname']));
$lastname = mysql_real_escape_string(htmlspecialchars($_POST['lastname']));

// check to make sure both fields are entered
if ($firstname == '' || $lastname == '')
{
// generate error message
$error = 'ERROR: Please fill in all required fields!';

// if either field is blank, display the form again
renderForm($firstname, $lastname, $error);
}
else
{
// save the data to the database
mysql_query("INSERT players SET firstname='$firstname', lastname='$lastname'")
or die(mysql_error());

// once saved, redirect back to the view page
header("Location: view.php");
}
}
else
// if the form hasn't been submitted, display the form
{
renderForm('','','');
}
?>

berikut simpan dengan nama edit.php untuk melakukan pengeditan pada data yang telah ada

/*
EDIT.PHP
Allows user to edit specific entry in database
*/

// creates the edit record form
// since this form is used multiple times in this file, I have made it a function that is easily reusable
function renderForm($id, $firstname, $lastname, $error)
{
?>



Edit Record


// if there are any errors, display them
if ($error != '')
{
echo '
'.$error.'
';
}
?>


"/>

ID:


First Name: * "/>

Last Name: * "/>

* Required







}

// connect to the database
include('connect-db.php');

// check if the form has been submitted. If it has, process the form and save it to the database
if (isset($_POST['submit']))
{
// confirm that the 'id' value is a valid integer before getting the form data
if (is_numeric($_POST['id']))
{
// get form data, making sure it is valid
$id = $_POST['id'];
$firstname = mysql_real_escape_string(htmlspecialchars($_POST['firstname']));
$lastname = mysql_real_escape_string(htmlspecialchars($_POST['lastname']));

// check that firstname/lastname fields are both filled in
if ($firstname == '' || $lastname == '')
{
// generate error message
$error = 'ERROR: Please fill in all required fields!';

//error, display form
renderForm($id, $firstname, $lastname, $error);
}
else
{
// save the data to the database
mysql_query("UPDATE players SET firstname='$firstname', lastname='$lastname' WHERE id='$id'")
or die(mysql_error());

// once saved, redirect back to the view page
header("Location: view.php");
}
}
else
{
// if the 'id' isn't valid, display an error
echo 'Error!';
}
}
else
// if the form hasn't been submitted, get the data from the db and display the form
{

// get the 'id' value from the URL (if it exists), making sure that it is valid (checing that it is numeric/larger than 0)
if (isset($_GET['id']) && is_numeric($_GET['id']) && $_GET['id'] > 0)
{
// query db
$id = $_GET['id'];
$result = mysql_query("SELECT * FROM players WHERE id=$id")
or die(mysql_error());
$row = mysql_fetch_array($result);

// check that the 'id' matches up with a row in the databse
if($row)
{

// get data from db
$firstname = $row['firstname'];
$lastname = $row['lastname'];

// show form
renderForm($id, $firstname, $lastname, '');
}
else
// if no match, display result
{
echo "No results!";
}
}
else
// if the 'id' in the URL isn't valid, or if there is no 'id' value, display an error
{
echo 'Error!';
}
}
?>

dan yang terakhir, kode untuk menghapus dan simpan dengan nama delete.php

/*
DELETE.PHP
Deletes a specific entry from the 'players' table
*/

// connect to the database
include('connect-db.php');

// check if the 'id' variable is set in URL, and check that it is valid
if (isset($_GET['id']) && is_numeric($_GET['id']))
{
// get id value
$id = $_GET['id'];

// delete the entry
$result = mysql_query("DELETE FROM players WHERE id=$id")
or die(mysql_error());

// redirect back to the view page
header("Location: view.php");
}
else
// if id isn't set, or isn't valid, redirect back to view page
{
header("Location: view.php");
}

?>

selesai, happy coding

Senin, 31 Januari 2011

kode warna HTML



























































































































































































































































































































































































































































































































#FOF8FF
Aliceblue
#FAEBD7
Antiquewhite
#00FFFF
Aqua
#7FFFD4
Aquamarine
#F0FFFF
Azure
#F5F5DC
Beige
#FFE4C4
Bisque
#000000
Black
#FFEBCD
Blanchedalmond
#0000FF
Blue
#8A2BE2
Blueviolet
#A52A2A
Brown
#DEB887
Burlywood
#5F9EAD
Cadetblue
#7FFF00
Chartreuse
#D2691E
Chocolate
#FF7F50
Coral
#64950
Cornflowerblue
#FFF8DC
Cornsilk
#DC143C
Crimson
#00FFFF
Cyan
#00008B
Darkblue
#008B8B
Darkcyan
#B8860B
Darkgoldenrod
#A9A9A9
Darkgray
#006400
Darkgreen
#8B008B
Darkmagenta
#BDB76B
Darkkhaki
#556B2F
Darkolivegreen
#FF8C00
Darkorange
#9932CC
Darkorchid
#8B0000
Darkred
#E9967A
Darksalmon
#8FBC8B
Darkseagreen
#483D8B
Darkslateblue
#2F4F4F
Darkslategray
#00CED1
Darkturquoise
#9400D3
Darkviolet
#FF1493
Deeppink
#00BFFF
Deepskyblue
#696969
Dimgray
#1E90FF
Dodgerblue
#B22222
Firebrick
#FFFAF0
Floralwhite
#228B22
Forestgreen
#FF00FF
Fuchsia
#DCDCDC
Gainsboro
#F8F8FF
Ghostwhite
#FFD700
Gold
#DAA520
Goldenrod
#808080
Gray
#008000
Green
#ADFF2F
Greenyellow
#F0FFF0
Honeydew
#FF69B4
Hotpink
#CD5C5C
Indianred
#4B0082
Indigo
#FFFFF0
Ivory
#F0E68C
Khaki
#E6E6FA
Lavender
#FFF0F5
Lavenderblush
#7CFC00
Lawngreen
#FFFACD
Lemonchiffon
#ADE8E6
Lightblue
#F08080
Lightcoral
#E0FFFF
Lightcyan
#FAFAD2
Lightgoldenrodyellow
#90EE90
Lightgreen
#D3D3D3
Lightgray
#FFB6C1
Lightpink
#FFA072
Lightsalmon
#20B2AA
Lightseagreen
#87CEFA
Lightskyblue
#778899
Lightslategray
#B0C4DE
Lightsteelblue
#FFFFE0
Lightyellow
#00FF00
Lime
#32CD32
Limegreen
#FAF0E6
Linen
#FF00FF
Magenta
#800000
Maroon
#66CDAA
Mediumaquamarine
#0000CD
Mediumblue
#BA55D3
Mediumorchid
#9370DB
Mediumpurple
#3CB371
Mediumseagreen
#7B68EE
Mediumslateblue
#00FA9A
Mediumspringgreen
#48D1CC
Mediumturquoise
#C71585
Mediumvioletred
#191970
Midnightblue
#F5FFFA
Mintcream
#FFE4E1
Mistyrose
#FFE4E1
Moccasin
#FFDEAD
Navajowhite
#000080
Navy
#FDF5E6
Oldlace
#808000
Olive
#6B8E23
Olivedrab
#FFA500
Orange
#FF100%0
Orangered
#DA70D6
Orchid
#EEE8AA
Palegoldenrod
#98FB98
Palgreen
#AFEEEE
Paleturquoise
#DB7093
Palevioletred
#FFEFD5
Papayawhip
#FFDAB9
Peachpuff
#CD853F
Peru
#FFC0CB
Pink
#DDA0DD
Plum
#B0E0E6
Powderblue
#800080
Purple
#FF0000
Red
#BC8F8F
Rosybrown
#4169E1
Royalblue
#8B4513
Saddlebrown
#FA8072
Salmon
#F4A460
Sandybrown
#2E8B57
Seagreen
#FFF5EE
Seashell
#A0522D
Sienna
#C0C0C0
Silver
#87CEEB
Skyblue
#708090
Slategray
#FFFAFA
Snow
#00FF7F
Springgreen
#4682B4
Steelblue
#D2B48C
Tan
#008080
Teal
#D8BFD8
Thistle
#FF6347
Tomato
#40E0D0
Turquoise
#EE82EE
Violet
#F5DEB3
Wheat
#FFFFFF
White
#F5F5F5
Whitesmoke
#FFFF00
Yellow
#9ACD32
Yellowgreen



CAMEX 2010



HOME
Создай сайт! Create site!