GDownloadUrl("generatexml.php", function(data) { var xml = GXml.parse(data); var markers xml.documentElement.getElementsByTagName("marker"); for (var i = 0; i < markers.length; i++) {
=
76
var nama = markers[i].getAttribute("nama"); var markers[i].getAttribute("alamat");
alamat
=
var tipe = markers[i].getAttribute("jenis"); var point GLatLng(parseFloat(markers[i].getAttribute("lat")),
=
new
parseFloat(markers[i].getAttribute("lng"))); var marker = createMarker(point, nama, alamat, tipe); map.addOverlay(marker); } }); } } function createMarker(point, nama, alamat, jenis) { var
marker
=
new
GMarker(point,
customIcons[tipe]); var html = "" + nama + " " + alamat; GEvent.addListener(marker, 'click', function() { marker.openInfoWindowHtml(html); });
"; }else{ ?>
include("koneksi.php"); //koneks ke server/host MySql $link = mysql_connect($dbserver, $dbuser, $dbpass) or die ("Could not connect to mysql because ".mysql_error()); // pilih database mysql_select_db($dbname) or die ("could not select database because ".mysql_error());
// cek kesamaan username $check = "select member_id from member where username = '".$_POST['username']."';"; $qry = mysql_query($check) or die ("Could not match data because ".mysql_error()); $num_rows = mysql_num_rows($qry); if ($num_rows !=0) { echo "
Maaf, Username
86
'".$_POST['username']."' sudah ada.
"; echo href=javascript:self.history.back();>Kembali ke form registrasi."; }
$_SESSION['loggedin']; $query = mysql_query("SELECT * FROM member WHERE username = '$user'") or die (mysql_error()); $display = mysql_fetch_array($query); echo
$user = $row['username']; $q = mysql_query("SELECT * FROM member WHERE username = '$user'") or die (mysql_error()); $dis = mysql_fetch_array($q); $username = $_SESSION['loggedin'];
$_SESSION['loggedin']; $query = mysql_query("SELECT * FROM member WHERE username = '$user'") or die (mysql_error()); $display = mysql_fetch_array($query); echo
$query2 = mysql_query("SELECT COUNT(*) FROM berita") or die(mysql_error()); $prodk = mysql_fetch_array($query2); ?> , ,
] } ] } var myLine = new Chart(document.getElementById("canvas").getContext("2d")).Line(line ChartData);
128
Profil
=
$_SESSION['loggedin']; $query = mysql_query("SELECT * FROM member WHERE username = '$user'") or die (mysql_error()); $display = mysql_fetch_array($query); echo "Login sebagai admin - $display[nama_lengkap]"; ?>
Info
face
USER
:
="Agency
FB"
echo
$usr['COUNT(*)']; ?>
PRODUK
:
echo
$prodk['COUNT(*)']; ?>
JUMLAH ORDER :
129
$ordr['COUNT(*)']; ?>
USER
ONLINE
:
echo
$logg['COUNT(*)']; ?>
Daftar member Saint De Valo <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Type" content="text/html; charset=utf8" /> <meta name="title" content="Web site" /> <meta name="description" content="Site description here" /> <meta name="keywords" content="keywords here" /> <meta name="language" content="en" /> <meta name="subject" content="Site subject here" /> <meta name="robots" content="All" /> <meta name="copyright" content="Your company" />
$_SESSION['loggedin']; $query = mysql_query("SELECT * FROM member WHERE username = '$user'") or die (mysql_error()); $display = mysql_fetch_array($query); echo "Login sebagai admin - $display[nama_lengkap]"; ?>
$_SESSION['loggedin']; $query = mysql_query("SELECT * FROM member WHERE username = '$user'") or die (mysql_error()); $display = mysql_fetch_array($query); echo "Login sebagai
143
admin - $display[nama_lengkap]"; ?>
Order Member Saint De Valo <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Type" content="text/html; charset=utf8" />
$query = mysql_query("SELECT COUNT(*), id, username, nama_lengkap, status FROM orderlist GROUP BY nama_lengkap ORDER BY id DESC") or die (mysql_error());
147
while($list = mysql_fetch_array($query)){
?>
width="20%">
echo
$list['status'] ; ?>
href="orderan$list['username'];?>">
148
echo $list['id'];?>">
Profil
=
$_SESSION['loggedin']; $query = mysql_query("SELECT * FROM member WHERE username = '$user'") or die (mysql_error()); $display = mysql_fetch_array($query); echo "Login sebagai
149
admin - $display[nama_lengkap]"; ?>
Tambah Produk Saint De Valo <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Type" content="text/html; charset=utf8" /> <meta name="title" content="Web site" /> <meta name="description" content="Site description here" />
$_SESSION['loggedin']; $query = mysql_query("SELECT * FROM member WHERE username = '$user'") or die (mysql_error()); $display = mysql_fetch_array($query); echo "Login sebagai ngadimin - $display[nama_lengkap]"; ?>