<?php

	$user_ip = $_SERVER['REMOTE_ADDR'];
	$event_date = date(Y."-".m."-".d,strtotime ("+0 hour"));
	$bd_f2 = date(m."-".d,strtotime ("+0 hour"));
	$bd_f3 = date(Y,strtotime ("+0 hour"));
	$event_date_fix = "0000-".date(m."-".d,strtotime ("+0 hour"));
	$cur_min_date = date("Y-m-d",strtotime ("-2 day"));
	//
	// Usa server - date("Y-m-d-H:i.s",strtotime ("+9 hour"))
	$cday = date(d,strtotime ("+0 hour"));
	$cmonth = date(m,strtotime ("+0 hour"));
	// sms text length
	$dline_count = 100;
	// meta tag
	//$meta_tag = '<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">'."\n";
	$meta_tag .= '<meta name="publisher" content="Internet">'."\n";
	$meta_tag .= '<meta name="Keywords" content="send sms, georgia, tbilisi, geocell, magti, mms">'."\n";
	$meta_tag .= '<meta name="author" content="geo group">'."\n";
	//
	$page_counter = 10; // Admin Zone
	//
	$max_add_sms = 11; // 10
	$max_sms = 81; // 80
	$max_email = 16; // 16
	$user_book_count = 41; // 40
	$max_reg = 6; // 5
	$cur_page_max = 10; // 10
	$send_time = date(H.":".i.".".s,strtotime ("+0 hour"));

	include("reklama.php");

	$msite_url = "http://www.georgiansms.com/";
	//
	$sfile_url = "send_config.php";
	$email_from_var = "www@georgiansms.com";
	//
	$active_code_link = "http://www.georgiansms.com/pages/active.php";
	//
	$font_s = "<font face='Trebuchet MS,Tahoma,Verdana' style='font-size:8pt;color:#880000;font-weight:bold;'>";
	$font_e = "</font>";
	//
	$font_s2 = "<font face='Trebuchet MS,Tahoma,Verdana' style='font-size:8pt;color:#FFFFFF;font-weight:bold;'>";
	$font_e2 = "</font>";
	//
	$font_s3 = "<font face='Trebuchet MS,Tahoma,Verdana' style='font-size:8pt;font-weight:bold;'>";
	$font_e3 = "</font>";
	//
	$font_s4 = "<font face='Trebuchet MS,Tahoma,Verdana' style='font-size:8pt;font-weight:normal;'>";
	$font_e4 = "</font>";
	//
	$hol_s = "gilocavT, dRes aris ";
	$hol_e = ". gisurvebT sixaruls, sikeTes, jamTelobas da yvelafers saukeTesos.";
	//
	$bd_s = "gilocav ";
	$bd_text = "dabadebis dRes";
	$bd_e = ", gisurveb yvelafers saukeTesos, jamTelobas, sixaruls da Seni saukeTeso survilebis asrulebas.";

	$random = rand(5,8888)*date('Ydms');
	$random .= $your_name;
	$random = md5($random);

	if($_SERVER['REQUEST_METHOD'] == "GET")
	{
		$u_secure = $HTTP_GET_VARS['u_secure'];
		$u_event = $HTTP_GET_VARS['u_event'];
		$user_id = $HTTP_GET_VARS['user_id'];
		$active_code = $HTTP_GET_VARS['active_code'];
		$cur_page = $HTTP_GET_VARS['cur_page'];
		$sms_type = $HTTP_GET_VARS['sms_type'];
		$type = $HTTP_GET_VARS['type'];
		$your_name = $HTTP_GET_VARS['your_name'];
		$info = $HTTP_GET_VARS['info'];
	}
	if($_SERVER['$REQUEST_METHOD'] == "POST")
	{
		$u_secure = $HTTP_POST_VARS['u_secure'];
		$u_event = $HTTP_POST_VARS['u_event'];
		//
		$your_subject = $HTTP_POST_VARS['your_subject'];
		$your_subject_result = $HTTP_POST_VARS['your_subject_result'];
		$email_to = $HTTP_POST_VARS['email_to'];
		$email_from = $HTTP_POST_VARS['email_from'];
		$email_text = $HTTP_POST_VARS['email_text'];
		$email_text_result = $HTTP_POST_VARS['email_text_result'];
		//
		$your_surname = $HTTP_POST_VARS['your_surname'];
		$your_email = $HTTP_POST_VARS['your_email'];
		$password1 = $HTTP_POST_VARS['password1'];
		$sex = $HTTP_POST_VARS['sex'];
		$bd_day = $HTTP_POST_VARS['bd_day'];
		$bd_month = $HTTP_POST_VARS['bd_month'];
		$bd_year = $HTTP_POST_VARS['bd_year'];
		//
		$your_name = $HTTP_POST_VARS['your_name'];
		$your_name_result = $HTTP_POST_VARS['your_name_result'];
		$mobile_number = $HTTP_POST_VARS['mobile_number'];
		$prefix = $HTTP_POST_VARS['prefix'];
		$sms_geo = $HTTP_POST_VARS['sms_geo'];
		$sms_geo_result = $HTTP_POST_VARS['sms_geo_result'];
		//
		$your_surname = $HTTP_POST_VARS['your_surname'];
		$your_email = $HTTP_POST_VARS['your_email'];
		$password1 = $HTTP_POST_VARS['password1'];
		$sex = $HTTP_POST_VARS['sex'];
		$bd_day = $HTTP_POST_VARS['bd_day'];
		$bd_month = $HTTP_POST_VARS['bd_month'];
		$bd_year = $HTTP_POST_VARS['bd_year'];
		$active_code = $HTTP_POST_VARS['active_code'];
		//
		$with_name = $HTTP_POST_VARS['with_name'];
		$with_email = $HTTP_POST_VARS['with_email'];
		$user_id = $HTTP_POST_VARS['user_id'];
		//
		$u_secure = $HTTP_POST_VARS['u_secure'];
		$u_event = $HTTP_POST_VARS['u_event'];
		//
		$sms_type = $HTTP_POST_VARS['sms_type'];
	}

?>