|
|
 |
Free webtools
CALENDER :
<embed src='http://www.crazyprofile.com/clocks/swf/Jessica_Alba02.swf' quality='high' bgcolor='#ffffff' width='320' height='240' name='te1' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'/></embed><br><div><a href='http://www.crazyprofile.com/clocks/clocks.asp' target='_blank'><font face='verdana' size=1>Created by Crazyprofile.com</font></a></div>
|
NOISE DI MOUSE
letakkan di body
<SCRIPT language=JavaScript>
<!--
/*
Dancing Stars cursor (Submitted by J4mbi H4ck3r)
Modified and permission granted to Dynamic Drive to feature script in ...
|
ANTI KLIK KANAN :
<script language=javascript>{ }
message="Copyright - ilmuwebsite.com Team 2007";
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</SCRIPT> |
make page
Make database :
<?php
$dbhost = 'localhost';
$dbusername = 'user_kamu';
$dbpasswd = 'pass_kamu';
$database_name = 'database_kamu';
#under here, don't touch!
@$connection = mysql_pconnect("$dbhost","$dbusername","$dbpasswd") or die
("MySql Putus tidak bisa connect ke server");
@$db = mysql_select_db("$database_name", $connection) or die("Database tidak ditemukan");
?>
and then you make script main page save at php :
<?php
include 'db.php';
$table = content;
$hal = $_GET[hal];
if(!isset($_GET['hal'])){
$page = 1;
} else {
$page = $_GET['hal'];
}
$max_results = 5;
$from = (($page * $max_results) - $max_results);
$sql = mysql_query("SELECT * FROM $table ORDER BY id DESC LIMIT $from, $max_results ");
while($row = mysql_fetch_array($sql)){
?>
<?php echo $row[2] ?><br>
<?php echo $row[3] ?></a><br />
<?php echo $row[1] ?> | Halaman Ini dibaca <?php echo $row[6] ?> kali<br />
<?php
echo $row[4];
?>
<hr>
<?php
}
$total_results = mysql_result(mysql_query("SELECT COUNT(*) as Num FROM $table"),0);
$total_pages = ceil($total_results / $max_results);
echo "<center>Select a Page<br />";
if($hal > 1){
$prev = ($page - 1);
echo "<a href=$_SERVER[PHP_SELF]?hal=$prev> <-Previous </a> ";
}
for($i = 1; $i <= $total_pages; $i++){
if(($hal) == $i){
echo "$i ";
} else {
echo "<a href=$_SERVER[PHP_SELF]?hal=$i>$i</a> ";
}
}
// Build Next Link
if($hal < $total_pages){
$next = ($page + 1);
echo "<a href=$_SERVER[PHP_SELF]?hal=$next>Next-></a>";
}
echo "</center>";
?> |
|
|
 |
|
|
|
|