< ? session_start(); include("config.inc.php"); include(INCLUDE_PATH."connection.php"); include(INCLUDE_PATH."cls_userlog.php"); include(INCLUDE_PATH."cls_visitor.php"); // if($_SESSION['session_user_id'] != "") // { //$tempobj = new userlog($_SESSION['session_user_id']); //$tempobj->settimeout(date('y-m-d h:i:s')); //$tempobj->update(); // } if($_SESSION['visitor'] =="") { $objvisitor = new visitor(); //$objvisitor->save(); $_SESSION['visitor'] = date('d-m-y'); } include("template_index.html"); exit; ? >