Welcome to Geeklog Tuesday, September 25 2018 @ 01:00 am EDT

Geeklog Forums

Cell DB block function


Status: offline

Tane

Forum User
Newbie
Registered: 17/12/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;

}

All times are EDT. The time is now 01:00 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