30-04-2013, 09:49 AM
ماتم اضافته ايجاد موقع سارق الجهاز وذلك من خلال اخر تقرير 'ip_logs'
PHP كود :
var latlng = new google.maps.LatLng(<?php echo get_xy(); ?>); //Set the initial coordinates for the map
PHP كود :
function get_xy(){
$select = mysql_query("select `longitude`, `latitude` from ip_logs where `id`= (
SELECT max(id) FROM ip_logs
) ");
$row_users = mysql_fetch_assoc($select);
return $row_users['longitude'].','.$row_users['latitude'];
}


![[-]](https://delphi4arab.net/forum/D4A2020/collapse.png)
![[صورة: 20130504150427.jpg]](http://img4.imageshack.us/img4/8461/20130504150427.jpg)
![[صورة: 20130510185255.jpg]](http://img708.imageshack.us/img708/9039/20130510185255.jpg)
![[صورة: 20130510185442.jpg]](http://img542.imageshack.us/img542/9216/20130510185442.jpg)
![[صورة: 20130510185549.jpg]](http://img13.imageshack.us/img13/8356/20130510185549.jpg)
![[صورة: 20130511193947.jpg]](http://img856.imageshack.us/img856/8369/20130511193947.jpg)