Location: PHPKode > projects > Esvon Personals > esvon-personals/inc/blocks/Ad_Row/block-User_Online.php
<?php

// --------------------------------------------------------------------------
//
// Esvon Classifieds v.4.0
// Copyright(C), Esvon LTD, 2001-2010, All Rights Reserved.
// E-mail: hide@address.com
//
// All forms of reproduction, including, but not limited to, internet posting, 
// printing, e-mailing, faxing and recording are strictly prohibited.
// One license required per site running Esvon Classifieds. 
// To obtain a license for using Esvon Classifieds, please register at
// http://www.esvon.com/pg/products/p_classifieds/
//
// --------------------------------------------------------------------------

function block_Ad_Row_User_Online(&$tpl){
  
  global $A_UID,$a_Ad;
  static $A_ONLINE;
  
  if(!isset($A_ONLINE)) $A_ONLINE = IsUserOnline(array_keys($A_UID));
  
  $cell_id = $A_ONLINE[$a_Ad['userid']] ? 'yes' : 'no';
  $tpl->AddCell('b_User_Online','',$cell_id);

}

?>
Return current item: Esvon Personals