<?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="description" content="Georgian SMS Portal, SMS site, send free sms, Tbilisi, Georgia">'."\n";
	//$meta_tag .= '<meta name="keywords" content="send+sms, free, отправить sms бесплатно, send free sms in Georgia, Tbilisi">'."\n";
	//$meta_tag .= '<meta name="author" content="geo group">'."\n";
	// 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="description" content="send SMS in World Azerbaijan - Azercell (+994-50) USA - America OnLine AT&T Wireless Canada - Bell Mobility Czech - EuroTel (+420) Czech - Paegas Estonia - EMT Estonia - RLE Estonia - QGSM Mobil Telephone Latvia - Baltcom GSM Tele 2 LMT Lithuania - Omnitel Lithuania - Bite Poland - Plus GSM Moscow - Beeline Ekaterinburg - Beeline MCC Samara - Smarts Samara - Megafon Vladivostok - NTC Kuban GSM Russia Ufa - BM Telecom Beeline-Unicell Ukraine - Golden Telecom KyivStar Ace&Base Georgia Tbilisi Geocell Lai Lai SMS MMS Free SMS Email e-mail numbers book Geocell GSM Republic of Georgia" />'."\n";
	$meta_tag .= '<meta name="keywords" content="send SMS in World Azerbaijan - Azercell (+994-50) USA - America OnLine AT&T Wireless Canada - Bell Mobility Czech - EuroTel (+420) Czech - Paegas Estonia - EMT Estonia - RLE Estonia - QGSM Mobil Telephone Latvia - Baltcom GSM Tele 2 LMT Lithuania - Omnitel Lithuania - Bite Poland - Plus GSM Moscow - Beeline Ekaterinburg - Beeline MCC Samara - Smarts Samara - Megafon Vladivostok - NTC Kuban GSM Russia Ufa - BM Telecom Beeline-Unicell Ukraine - Golden Telecom KyivStar Ace&Base Georgia Tbilisi Geocell Lai Lai SMS MMS Free SMS Email e-mail numbers book Geocell GSM Republic of Georgia" />'."\n";
	$meta_tag .= '<meta http-equiv="keywords" content="send SMS in World Azerbaijan - Azercell (+994-50) USA - America OnLine AT&T Wireless Canada - Bell Mobility Czech - EuroTel (+420) Czech - Paegas Estonia - EMT Estonia - RLE Estonia - QGSM Mobil Telephone Latvia - Baltcom GSM Tele 2 LMT Lithuania - Omnitel Lithuania - Bite Poland - Plus GSM Moscow - Beeline Ekaterinburg - Beeline MCC Samara - Smarts Samara - Megafon Vladivostok - NTC Kuban GSM Russia Ufa - BM Telecom Beeline-Unicell Ukraine - Golden Telecom KyivStar Ace&Base Georgia Tbilisi Geocell Lai Lai SMS MMS Free SMS Email e-mail numbers book Geocell GSM Republic of Georgia" />'."\n";
	$meta_tag .= '<meta name="DC.Title" content="georgiansms.com; send SMS in World Azerbaijan - Azercell (+994-50) USA - America OnLine AT&T Wireless Canada - Bell Mobility Czech - EuroTel (+420) Czech - Paegas Estonia - EMT Estonia - RLE Estonia - QGSM Mobil Telephone Latvia - Baltcom GSM Tele 2 LMT Lithuania - Omnitel Lithuania - Bite Poland - Plus GSM Moscow - Beeline Ekaterinburg - Beeline MCC Samara - Smarts Samara - Megafon Vladivostok - NTC Kuban GSM Russia Ufa - BM Telecom Beeline-Unicell Ukraine - Golden Telecom KyivStar Ace&Base Georgia Tbilisi Geocell Lai Lai SMS MMS Free SMS Email e-mail numbers book Geocell GSM Republic of Georgia" />'."\n";
	$meta_tag .= '<meta name="DC.Subject" content="send SMS in World;" />'."\n";
	$meta_tag .= '<meta name="DC.Description" content="send SMS in World Azerbaijan - Azercell (+994-50) USA - America OnLine AT&T Wireless Canada - Bell Mobility Czech - EuroTel (+420) Czech - Paegas Estonia - EMT Estonia - RLE Estonia - QGSM Mobil Telephone Latvia - Baltcom GSM Tele 2 LMT Lithuania - Omnitel Lithuania - Bite Poland - Plus GSM Moscow - Beeline Ekaterinburg - Beeline MCC Samara - Smarts Samara - Megafon Vladivostok - NTC Kuban GSM Russia Ufa - BM Telecom Beeline-Unicell Ukraine - Golden Telecom KyivStar Ace&Base Georgia Tbilisi Geocell Lai Lai SMS MMS Free SMS Email e-mail numbers book Geocell GSM Republic of Georgia" />'."\n";
	$meta_tag .= '<meta name="copyright" content="Georgiansms.com" />'."\n";
	$meta_tag .= '<meta name="distribution" content="Global" />'."\n";
	$meta_tag .= '<meta name="rating" content="General" />'."\n";
	$meta_tag .= '<meta name="expires" content="Never" />'."\n";
	$meta_tag .= '<meta name="robots" content="Index, Follow" />'."\n";
	//$meta_tag .= '<meta name="revisit-after" content="10 Days" />'."\n";
	$meta_tag .= '<meta name="author" content="georgiansms.com">'."\n";
	//$meta_tag .= '<link rel="shortcut icon" href="js_css/favicon.ico">'."\n";
	//
	$page_counter = 10; // Admin Zone
	//
	$max_add_sms = 21; // 20
	$max_sms_rn = 31; // 30
	$max_sms_ry = 101; // 101
	$max_email = 26; // 25
	$user_book_count = 41; // 40
	$max_reg = 16; // 15
	$cur_page_max = 10; // 10
	//$send_time = date(H.":".i.".".s,strtotime ("+0 hour"));
	// reklama
	include("reklama.php");
	// calendar massiv
	include("calendar_massiv.php");
	// link
	$msite_url = "http://www.georgiansms.com/";
	//
	$sfile_url = "send_config.php";
	$email_from_var = "send@sms.com";
	// comming soon this email
	// $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, jamrTelobas da yvelafers saukeTesos.";
	//
	$bd_s = "gilocav ";
	$bd_text = "dabadebis dRes";
	$bd_e = ", gisurveb yvelafers saukeTesos, jamrTelobas, 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'];
		$status = $HTTP_GET_VARS['status'];
		$cur_id = $HTTP_GET_VARS['cur_id'];
		$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'];
		//
		$t1 = $HTTP_GET_VARS['t1'];
		$t2 = $HTTP_GET_VARS['t2'];
		$t3 = $HTTP_GET_VARS['t3'];
		$t4 = $HTTP_GET_VARS['t4'];
		$t5 = $HTTP_GET_VARS['t5'];
		$t6 = $HTTP_GET_VARS['t6'];
		$t7 = $HTTP_GET_VARS['t7'];
		$t8 = $HTTP_GET_VARS['t8'];
		$t9 = $HTTP_GET_VARS['t9'];
		$t10 = $HTTP_GET_VARS['t10'];
		$t11 = $HTTP_GET_VARS['t11'];
		$t12 = $HTTP_GET_VARS['t12'];
		$t13 = $HTTP_GET_VARS['t13'];
		$t14 = $HTTP_GET_VARS['t14'];
		$t15 = $HTTP_GET_VARS['t15'];
		$t16 = $HTTP_GET_VARS['t16'];
		$t17 = $HTTP_GET_VARS['t17'];
		$t18 = $HTTP_GET_VARS['t18'];
		$t19 = $HTTP_GET_VARS['t19'];
		$t20 = $HTTP_GET_VARS['t20'];
		$t21 = $HTTP_GET_VARS['t21'];
		$i1 = $HTTP_GET_VARS['i1'];
		$i2 = $HTTP_GET_VARS['i2'];
		*/
	}
	if($_SERVER['REQUEST_METHOD'] == "POST")
	{
		$u_secure = $HTTP_POST_VARS['u_secure'];
		$u_event = $HTTP_POST_VARS['u_event'];
		$status = $HTTP_POST_VARS['status'];
		$cur_id = $HTTP_POST_VARS['cur_id'];
		//
		$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_eng = $HTTP_POST_VARS['sms_eng'];
		$sms_geo_result = $HTTP_POST_VARS['sms_geo_result'];
		$sms_eng_result = $HTTP_POST_VARS['sms_eng_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'];
		$sms_user = $HTTP_POST_VARS['sms_user'];
		//
		$t1 = $HTTP_POST_VARS['t1'];
		$t2 = $HTTP_POST_VARS['t2'];
		$t3 = $HTTP_POST_VARS['t3'];
		$t4 = $HTTP_POST_VARS['t4'];
		$t5 = $HTTP_POST_VARS['t5'];
		$t6 = $HTTP_POST_VARS['t6'];
		$t7 = $HTTP_POST_VARS['t7'];
		$t8 = $HTTP_POST_VARS['t8'];
		$t9 = $HTTP_POST_VARS['t9'];
		$t10 = $HTTP_POST_VARS['t10'];
		$t11 = $HTTP_POST_VARS['t11'];
		$t12 = $HTTP_POST_VARS['t12'];
		$t13 = $HTTP_POST_VARS['t13'];
		$t14 = $HTTP_POST_VARS['t14'];
		$t15 = $HTTP_POST_VARS['t15'];
		$t16 = $HTTP_POST_VARS['t16'];
		$t17 = $HTTP_POST_VARS['t17'];
		$t18 = $HTTP_POST_VARS['t18'];
		$t19 = $HTTP_POST_VARS['t19'];
		$t20 = $HTTP_POST_VARS['t20'];
		$t21 = $HTTP_POST_VARS['t21'];
	}

?>