Jumat, 19 Juli 2013

PHP Indonesia - Facebook: gan mau tan ya saya mau hapus scrip bagian ini ...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/
gan mau tan ya saya mau hapus scrip bagian ini ...
Jul 10th 2013, 14:04, by Gondo Malaikat

Gondo Malaikat 2:04pm Jul 10
gan mau tan ya saya mau hapus scrip bagian ini Kg: <select name="kg" size=1>
<option value="1kg"> 1kg </option>
<option value="2kg"> 2kg </option>
<option value="3kg"> 3kg </option></select> kalu scrip ini saya hapus perkaliannya gk bsa jalan,,, gmna cranya klo scrip ini saya hapus maka per kaliaannya bisa tetp bejalan ini scrip komplitnya <html>
<head>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="container">
<div id="header">
<br>
<marquee behavior="alternate" style="font-family: impact;font-size:30px;color:#000000;" align="top" direction="right">
<h1 align="center"></h1
></marquee>
</div>
<div id="leftbar">
<div class="menu">
<ul>
<a href="index.php"><img src="image/5.png" height="80" width="100"></a>
<a href="tips.php"><img src="image/1.png" height="80" width="100"></a>
<a href="ikan_order.php"><img src="image/2.png" height="60" width="100"></a>
<a href="order_benih.php"><img src="image/3.png" height="60" width="100"></a>
<a href="HARGA_IKAN.php"><img src="image/7.jpg" height="60" width="100"></a>
<a href="HARGA_BENIH.php"><img src="image/6.jpg" height="60" width="100"></a><br>
<a href="kontak.php"><img src="image/4.png" height="60" width="100"></a>
</ul>
</div>
</div>
<div id="contain">
<script>
function cek()
{
var huruf=/^[A-Za-z]{1,}$/;
var angka=/^[0-9]{1,}$/;

var nama=document.forms["dform"]["nama"].value;
var no_hp=document.forms["dform"]["no_hp"].value;
if (nama==null || nama=="" )
{
alert(" Nama Tidak Boleh kosong");
return false;
}
else if (no_hp==null || no_hp=="" )
{
alert(" no_hp Tidak Boleh kosong");
return false;
}
else if(!huruf.test(nama))
{
alert(" Nama Harus Huruf");
return false;
}
else if(!angka.test(no_hp))
{
alert(" no_telp Harus Angka");
return false;
}
else
{
return true;
}
}
</script>
<script language="JavaScript">
function totalbayar()
{
var nama=(document.dform.nama.value);
var benih=(document.dform.benih.value);
var kg=(document.dform.kg.value);
var jml_kg=parseFloat(document.dform.ijml_kg.value);

var harga=0.0;
var total=0.0;
var diskon=0.0;
var totbay=0.0;

if ((benih =="nila")&& (kg=="1kg"))
{ harga=70000;} else if
((benih =="nila")&& (kg=="2kg"))
{ harga=40000;} else
if ((benih =="nila")&& (kg=="3kg"))
{ harga=100000;} else

if ((benih =="gurame")&& (kg=="1kg"))
{ harga=80000;} else
if ((benih =="gurame")&& (kg=="2kg"))
{ harga=50000;} else
if ((benih =="gurame")&& (kg=="3kg"))
{ harga=20000;} else

if ((benih =="mas")&& (kg=="1kg"))
{ harga=90000;} else
if ((benih =="mas")&& (kg=="2kg"))
{ harga=60000;} else
{ harga=30000;}

total=harga* jml_kg;

if (document.dform.ya.checked==true)
{ diskon =0.10*total;} else
{ diskon =0.0; }

totbay=total;

document.dform.oharga.value=eval(harga);
document.dform.total.value=eval(total);
document.dform.odiskon.value=eval(diskon);
document.dform.ototbay.value=eval(totbay);

}
</script>
<font face ="candara">
<form name ="dform" action="savebenih.php" onsubmit="return cek()" method="post">
<table border ="1" align ="center" width ="70%" cellpadding="0" cellspacing="0">
<tr> <td width="100%" colspan="2">
<h2 align ="center"> Pemesan </h2> </td> </tr>
<tr> <td width ="50%"> <pre>
Nama : <input type="text" size="20" name="nama">
Alamat : <input type="text" size="20" name="alamat">
No tlp : <input type="text" size="20" name="no_hp">

Nama Benih : <select name="benih" size=1>
<option>Pilih</option>
<option value="nila"> nilai </option>
<option value="gurame"> gurame </option>
<option value="mas"> mas </option></select>

Kg: <select name="kg" size=1>
<option value="1kg"> 1kg </option>
<option value="2kg"> 2kg </option>
<option value="3kg"> 3kg </option></select>

Jumlah : <input type="text" size="20" name="ijml_kg",ijml_kw,ijml_ton">
<input type="hidden" name="ya"></td> </pre>

<td width ="50%"> <pre>
Harga /KG:<input type="text" size="20" name="oharga">
Total :<input type="text" size="20" name="total">
</td>
</tr> <tr>
<td colspan="2"><center>
<input type="button" value="hitung" onClick="totalbayar()">
<input type="reset" value="reset">
<input name="simpan" type="submit" id="simpan" value="kirim"/>
</center>
</td></tr>
</table>
</form>
</div>
</body>
</html><div id="footer">
<p align="center">BBI Balai Benih Ikan</p>
</div>

Veetoe Adewinata 2:10pm Jul 10
Mbok nulisnya di Pastebin aja gan -___-

Gondo Malaikat 2:20pm Jul 10
mohon bntuannya

Wisnu Adi Screamo 2:42pm Jul 10
Mungkin kesalahan terdapat di script ini : var jml_kg=parseFloat (document.dform.ijml_kg.valu

Gondo Malaikat 2:45pm Jul 10
solusinya gan

Wisnu Adi Screamo 2:49pm Jul 10
Ganti kodenya jadi : var jml_kg=parseFloat (document.dform.ijml_kg.value);

Wisnu Adi Screamo 2:52pm Jul 10
Atau, bsok saya coba script punya mas ini di komp saya. kalau sudah bisa saya beri scriptnya

Gondo Malaikat 2:53pm Jul 10
ok gnn saya tunggu

Wisnu Adi Screamo 2:58pm Jul 10
Itu <select name="kg">nya mau di hapus?

Gondo Malaikat 3:02pm Jul 10
iya gn kalu itu saya hapus perkaliannya gk bisajalan gn,, pertanyaan nya <select name="kg"> saya hapus hasil perkaliannya biar tetap berjalan

Wisnu Adi Screamo 3:04pm Jul 10
Ok, akan saya usahakan. besok mungkin jam 09:30 - 10:30 selesai.

Gondo Malaikat 3:05pm Jul 10
ok gn think you a tunggu besok gann

Ahmad Teguh Satria 3:06pm Jul 10
itu prasaan ga bisa dibandingin deh, $a == "kg"

Ahmad Teguh Satria 3:07pm Jul 10
prasaan pake fungsi str apa gitu yg buat bandingin, ga bisa samadengan 2 kali, prasaan sih...

Wisnu Adi Screamo 3:07pm Jul 10
@gondo : ya

Al Ghurahy 4:14pm Jul 10
Kg: <select name="kg" size=1>
<option value="1kg"> 1kg </option>
<option value="2kg"> 2kg </option>
<option value="3kg"> 3kg </option></select>

yg diatas ini mau dihapus?

kl gitu ini juga harus dihapus:

var kg=(document.dform.kg.value);

karena ngelink ke element select nya, trus semua IF yg pake variable kg == "1kg" atau 2kg 3kg itu juga dihapus.

kg uda kaga boleh dipake.

Wisnu Adi Screamo 3:20am Jul 11
Script berikut udah bisa untuk aritmatikanya, tinggal di tambahin acuan buat harga.
Misal harga nila persatuannya berapa, gitu....
ini kodenya :

<head>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="container">
<div id="header">
<br>
<marquee behavior="alternate" style="font-family: impact;font-size:30px;color:#000000;" align="top" direction="right">
<h1 align="center"></h1
></marquee>
</div>
<div id="leftbar">
<div class="menu">
<ul>
<a href="index.php"><img src="image/5.png" height="80" width="100"></a>
<a href="tips.php"><img src="image/1.png" height="80" width="100"></a>
<a href="ikan_order.php"><img src="image/2.png" height="60" width="100"></a>
<a href="order_benih.php"><img src="image/3.png" height="60" width="100"></a>
<a href="HARGA_IKAN.php"><img src="image/7.jpg" height="60" width="100"></a>
<a href="HARGA_BENIH.php"><img src="image/6.jpg" height="60" width="100"></a><br>
<a href="kontak.php"><img src="image/4.png" height="60" width="100"></a>
</ul>
</div>
</div>
<div id="contain">
<script>
function cek()
{
var huruf=/^[A-Za-z]{1,}$/;
var angka=/^[0-9]{1,}$/;

var nama=document.forms["dform"]["nama"].value;
var no_hp=document.forms["dform"]["no_hp"].value;
if (nama==null || nama=="" )
{
alert(" Nama Tidak Boleh kosong");
return false;
}
else if (no_hp==null || no_hp=="" )
{
alert(" no_hp Tidak Boleh kosong");
return false;
}
else if(!huruf.test(nama))
{
alert(" Nama Harus Huruf");
return false;
}
else if(!angka.test(no_hp))
{
alert(" no_telp Harus Angka");
return false;
}
else
{
return true;
}
}
</script>
<script language="JavaScript">
function totalbayar()
{
var nama=(document.dform.nama.value);
var benih=(document.dform.benih.value);
var jml_kg=parseFloat(document.dform.ijml_kg.value);

var harga=0.0;
var total=0.0;
var diskon=0.0;
var totbay=0.0;

total=harga *ya;

if (document.dform.ya.checked==true)
{ diskon =0.10*total;} else
{ diskon =0.0; }

totbay=total;

document.dform.oharga.value=eval(harga);
document.dform.total.value=eval(total);
document.dform.odiskon.value=eval(diskon);
document.dform.ototbay.value=eval(totbay);

}
</script>
<font face ="candara">
<form name ="dform" action="savebenih.php" onsubmit="return cek()" method="post">
<table border ="1" align ="center" width ="70%" cellpadding="0" cellspacing="0">
<tr> <td width="100%" colspan="2">
<h2 align ="center"> Pemesan </h2> </td> </tr>
<tr> <td width ="50%"> <pre>
Nama : <input type="text" size="20" name="nama">
Alamat : <input type="text" size="20" name="alamat">
No tlp : <input type="text" size="20" name="no_hp">

Nama Benih : <select name="benih" size=1>
<option>Pilih</option>
<option value="nila"> nilai </option>
<option value="gurame"> gurame </option>
<option value="mas"> mas </option></select>

Jumlah : <input type="text" size="20" name="ijml_kg">
<input type="hidden" name="ya"></td> </pre>

<td width ="50%"> <pre>
Harga /KG:<input type="text" size="20" name="oharga">
Total :<input type="text" size="20" name="total">
</td>
</tr> <tr>
<td colspan="2"><center>
<input type="button" value="hitung" onClick="totalbayar()">
<input type="reset" value="reset">
<input name="simpan" type="submit" id="simpan" value="kirim"/>
</center>
</td></tr>
</table>
</form>
</div>
</body>
</html><div id="footer">
<p align="center">BBI Balai Benih Ikan</p>
</div>

Wisnu Adi Screamo 3:24am Jul 11
Fixed dari kode di atas, tapi harga masih kayak per kilo, tinggal di edit harga dan di tambahkan sedikit script :

<head>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="container">
<div id="header">
<br>
<marquee behavior="alternate" style="font-family: impact;font-size:30px;color:#000000;" align="top" direction="right">
<h1 align="center"></h1
></marquee>
</div>
<div id="leftbar">
<div class="menu">
<ul>
<a href="index.php"><img src="image/5.png" height="80" width="100"></a>
<a href="tips.php"><img src="image/1.png" height="80" width="100"></a>
<a href="ikan_order.php"><img src="image/2.png" height="60" width="100"></a>
<a href="order_benih.php"><img src="image/3.png" height="60" width="100"></a>
<a href="HARGA_IKAN.php"><img src="image/7.jpg" height="60" width="100"></a>
<a href="HARGA_BENIH.php"><img src="image/6.jpg" height="60" width="100"></a><br>
<a href="kontak.php"><img src="image/4.png" height="60" width="100"></a>
</ul>
</div>
</div>
<div id="contain">
<script>
function cek()
{
var huruf=/^[A-Za-z]{1,}$/;
var angka=/^[0-9]{1,}$/;

var nama=document.forms["dform"]["nama"].value;
var no_hp=document.forms["dform"]["no_hp"].value;
if (nama==null || nama=="" )
{
alert(" Nama Tidak Boleh kosong");
return false;
}
else if (no_hp==null || no_hp=="" )
{
alert(" no_hp Tidak Boleh kosong");
return false;
}
else if(!huruf.test(nama))
{
alert(" Nama Harus Huruf");
return false;
}
else if(!angka.test(no_hp))
{
alert(" no_telp Harus Angka");
return false;
}
else
{
return true;
}
}
</script>
<script language="JavaScript">
function totalbayar()
{
var nama=(document.dform.nama.value);
var benih=(document.dform.benih.value);
var jml_kg=parseFloat(document.dform.ijml_kg.value);

var harga=0.0;
var total=0.0;
var diskon=0.0;
var totbay=0.0;

total=harga *jml_kg;

if (document.dform.ya.checked==true)
{ diskon =0.10*total;} else
{ diskon =0.0; }

if ((benih =="nila")&& (jml_kg=="1"))
{ harga=70000;} else if
((benih =="nila")&& (jml_kg=="2"))
{ harga=40000;} else
if ((benih =="nila")&& (jml_kg=="3"))
{ harga=100000;} else

if ((benih =="gurame")&& (jml_kg=="1"))
{ harga=80000;} else
if ((benih =="gurame")&& (jml_kg=="2"))
{ harga=50000;} else
if ((benih =="gurame")&& (jml_kg=="3"))
{ harga=20000;} else

if ((benih =="mas")&& (jml_kg=="1"))
{ harga=90000;} else
if ((benih =="mas")&& (jml_kg=="2"))
{ harga=60000;} else
{ harga=30000;}

totbay=total;

document.dform.oharga.value=eval(harga);
document.dform.total.value=eval(total);
document.dform.odiskon.value=eval(diskon);
document.dform.ototbay.value=eval(totbay);

}
</script>
<font face ="candara">
<form name ="dform" action="savebenih.php" onsubmit="return cek()" method="post">
<table border ="1" align ="center" width ="70%" cellpadding="0" cellspacing="0">
<tr> <td width="100%" colspan="2">
<h2 align ="center"> Pemesan </h2> </td> </tr>
<tr> <td width ="50%"> <pre>
Nama : <input type="text" size="20" name="nama">
Alamat : <input type="text" size="20" name="alamat">
No tlp : <input type="text" size="20" name="no_hp">

Nama Benih : <select name="benih" size=1>
<option>Pilih</option>
<option value="nila"> nilai </option>
<option value="gurame"> gurame </option>
<option value="mas"> mas </option></select>

Jumlah : <input type="text" size="20" name="ijml_kg">
<input type="hidden" name="ya"></td> </pre>

<td width ="50%"> <pre>
Harga /KG:<input type="text" size="20" name="oharga">
Total :<input type="text" size="20" name="total">
</td>
</tr> <tr>
<td colspan="2"><center>
<input type="button" value="hitung" onClick="totalbayar()">
<input type="reset" value="reset">
<input name="simpan" type="submit" id="simpan" value="kirim"/>
</center>
</td></tr>
</table>
</form>
</div>
</body>
</html><div id="footer">
<p align="center">BBI Balai Benih Ikan</p>
</div>

Gondo Malaikat 4:53am Jul 11
ok gn saya coba dulu

Gondo Malaikat 5:00am Jul 11
gn kenapa totalnya gk bisa muncul gan

Wisnu Adi Screamo 7:30am Jul 11
tadi saya coba bisa

Gondo Malaikat 7:31am Jul 11
saya coba gak bsa tu gan,,hasil nya 0 tuh

Gondo Malaikat 7:34am Jul 11
saya coba gak bsa tu gan,,hasil nya 0 tuh

Wisnu Adi Screamo 7:57am Jul 11
itu 0 karena belum di set harganya, silahkan tambahkan coding untuk harganya.

Gondo Malaikat 7:58am Jul 11
ooo tk coba dulu gan

Gondo Malaikat 8:01am Jul 11
hrga yg ada di scrip itu di rubah ya gan

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: [ASK] selamat sore mastah2, ane mau tanya kalo car...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/
[ASK] selamat sore mastah2, ane mau tanya kalo car...
Jul 19th 2013, 10:42, by Rizaldi Maulidia

Rizaldi Maulidia 10:42am Jul 19
[ASK]
selamat sore mastah2, ane mau tanya kalo cara buat upload gambar kaya facebook pas ganti sampul gimana?, jadi ketika upload selesai gambarnya tuh bisa digeser-geser.... lalu disimpan....

ane mau cari digoogle tapi ga tau keywordnya apa...
mohon bantuannya kalo ada yg tau...

Pengaturan Privasi 10:46am Jul 19
mungkin anda harus tau cara "crop" gambar tapi area "crop" yang diam, dan object yang menyesesuikan.

Rizaldi Maulidia 10:48am Jul 19
oh... jadi saya harus mempalajari dulu teknik meng-crop gambar? begitu bukan mas...

Pengaturan Privasi 10:50am Jul 19
menurutku begitu..

Zee Shake Everyday 10:50am Jul 19
setau aku,, teknik yg digunakan adalah CSS positioning dimana gambarnya terletak didalam DIV,, tapi aku juga sedang nyoba teknik ini dan blum dapet rumus pastinya,,
mungkin mastah lain dpt membantu??

Thedoors Flats 10:50am Jul 19
coba aja cari gan di google dgn keyword php upload and crop image . :)

Pengaturan Privasi 10:53am Jul 19
Zee Shake Everyday :: tadinya saya juga berfikir begitu,, tapi setelah ane cek ke cover ane,, ane mendapatkan hasil ini

Gambar asli
https://m.ak.fbcdn.net/sphotos-a.ak/hphotos-ak-frc3/1045099_489261891156795_1753957465_n.jpg

Gambar Cover
https://m.ak.fbcdn.net/sphotos-a.ak/hphotos-ak-frc3/c0.221.851.315/p851x315/1039732_489261891156795_1753957465_o.jpg

Mas Kodook 10:59am Jul 19
mungkin pakai sejenis drag and drop gambar via jquery

Rizaldi Maulidia 12:45am Jul 20
makasih semuanya udah bantu..ane mau ke tkp dulu... sekali lagi makasih atas saran2 nya.. :D

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: Mastah... Ada yg tau cara berapa byte akses data p...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/
Mastah... Ada yg tau cara berapa byte akses data p...
Jul 20th 2013, 00:07, by Karebet Connec

Karebet Connec 12:07am Jul 20
Mastah...
Ada yg tau cara berapa byte akses data per page...
Misalnya google.com ,,,,,, halaman awalnya di akses (300Kb)brapa byte gitu,,,
Pakai software,,, atau CLI???klo CLI,,,,caranya,,,? :D
Thanks

Suton Tamimy 12:16am Jul 20
developer mode nya google chrome, di bagian network

Karebet Connec 12:18am Jul 20
Oke thanks Mastah,,,,,,, (y)

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: sorry out of the box nih ane lagi develop theme wo...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/
sorry out of the box nih ane lagi develop theme wo...
Jul 20th 2013, 00:22, by Yunan Prasetyo

Yunan Prasetyo 12:22am Jul 20
sorry out of the box nih
ane lagi develop theme wordpress dari bener2 desain ampe bisa digunain nih ada yang tau ga cara adding jquery pada theme yang kita buat sendiri ....? agak bingung nih addingnye gimana ?

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: why my website error like this : "Service Temporar...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/
why my website error like this : "Service Temporar...
Jul 20th 2013, 01:03, by Nurul Hidayat

Nurul Hidayat 1:03am Jul 20
why my website error like this :
"Service Temporarily Unavailable

The server closed the connection without sending any data.

The server is temporarily unable to service your request due to maintenance downtime or capacity problems.

Due to heavy load on the server, connections may be temporarily blocked from locations that fetch an unusually high number of pages.

We apologize for the inconvenience."

Fandri Lekiawan Samudra 1:04am Jul 20
i'm reading -_-

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: [TANYA] Dear All, Saya berhasil mengimplementasi...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/
[TANYA] Dear All, Saya berhasil mengimplementasi...
Jul 20th 2013, 00:29, by Rizky Ardiansyah

Rizky Ardiansyah 12:29am Jul 20
[TANYA]

Dear All,

Saya berhasil mengimplementasikan sebuah program jQuery pada localhost. Namun, ia tidak berjalan pada 'view Codeigniter'. Kenapa ya?
Berikut program saya:

<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
</head>
<body>
<select>
<option id="tes"></option>
<option id="tes1"></option>
</select>
<script>
var d = new Date();
var curr_date = d.getDate();
var curr_month = d.getMonth() + 1; //Months are zero based
var curr_year = d.getFullYear();

var date = curr_date + "-" + curr_month + "-" + curr_year;
if(curr_month>6){
var date1 = curr_date + "-" + (curr_month-6) + "-" + curr_year;
}
else var date1 = curr_date + "-" + (12+(curr_month-6)) + "-" + (curr_year-1);

document.getElementById("tes").innerHTML=date;
document.getElementById("tes1").innerHTML=date1;
</script>
</body>
</html>

*saya pake CI 1.7

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: mas-mas php... mau tanya ni bagaimana cara membuat...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/
mas-mas php... mau tanya ni bagaimana cara membuat...
Jul 20th 2013, 00:38, by Hasan Shandye

Hasan Shandye 12:38am Jul 20
mas-mas php... mau tanya ni
bagaimana cara membuat agar perhitungan web kita di kunjungi orang.
skali di kunjungi ada pemberian tahuan 1 kali dikunjungi
terima kasih

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions