Welcome to Geeklog, Anonymous Saturday, November 30 2024 @ 05:46 am EST

Geeklog Forums

Cell DB block function


Status: offline

Tane

Forum User
Newbie
Registered: 12/17/01
Posts: 7
/**
* CellDB Block Function
* Author: Tane Piper (tane.piper@gmail.com)

* This phpblock has been developed for Geeklog, for
* use with Celltrack for Microsoft Smartphones
* http://celltrack.spv-developers.com
*
* This function comes as is, and is free to use in any way you like
* If you have any questions regarding the CellDB service, please contact
* the authors, as I am not associated.
*/
function phpblock_CW_mylocations ()
{
global $_USER;

$retval = '';

$url = 'http://celltrack.spv-developers.com/backend/phonetrack.php';
$params = '?u=' . $_USER['username'];
$data = file_get_contents($url . $params);
$TrackTable = unserialize($data);

$retval .= '';
$retval .= 'Date / Time';
$retval .= 'Cell LAC-ID';
$retval .= 'Location Name';

for($i=0;$i if($TrackTable[$i]["Time"] == "")
break;

$retval .= '';
$retval .= '' .$TrackTable[$i]["Time"]. '';
$retval .= '' .$TrackTable[$i]["Cell"]. '';
$retval .= '' .$TrackTable[$i]["Name"]. '';
$retval .= '';

}
$retval .= '';

return $retval;

}
 Quote

All times are EST. The time is now 05:46 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content