<?php
	include("vars.php");
	include("db.php");
	include("operator.php");
	//
	$result = mysql_query("SELECT * FROM page_statics WHERE event_date = '$event_date'",$db);
	if($myrow = mysql_fetch_array($result))
	{
		$today_visits = $myrow['today_visits'] + 1;
		mysql_query("UPDATE page_statics SET today_visits = '$today_visits'");
	}
	else
	{
		mysql_query("UPDATE page_statics SET event_date = '$event_date', today_visits = '0'");
	}
	//
	$result = mysql_query("SELECT * FROM page_statics",$db);
	if($myrow = mysql_fetch_array($result))
	{
		$all_visits = $myrow['all_visits'] + 1;
		mysql_query("UPDATE page_statics SET all_visits = '$all_visits'");
	}
	//
	$result = mysql_query("SELECT * FROM holiday WHERE event_date = '$event_date_fix'",$db);
	if($myrow = mysql_fetch_array($result))
	{
		include("happy_text.php");

		$msg = "gilocavT, dRes aris ".$myrow['holiday_name'].", aseve <a href='javascript:holiday(\"".$hol_s.$myrow['holiday_name'].$hol_e."\");' class='link_geo4' title='gaugzavne es sms Setyobineba - ".$hol_s.$myrow['holiday_name'].$hol_e."'>miuloce <font face='Tahoma,Arial,Verdana' size='1'>SMS</font>-iT</a> es dRe Sens megobars.";

	}
	else
	{
		$msg = "dRes ar aris dafiqsirebuli <font face='Tahoma,Arial,Verdana' size='1'>SMS</font> portalSi raime dResaswauli.";
		//$msg = "";
	}
?>
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title></title>
<link href="../js_css/iframe.css" rel="stylesheet">
</head>

<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" bgcolor="#1AB9F1">
<script language="javascript" src="../js_css/javascript.js"></script>
<table border="0" width="297" id="table1" cellspacing="0" cellpadding="0">
	<tr>
		<td height="19" colspan="2" width="297">
		<img border="0" src="../img/title/home.jpg" width="196" height="19"></td>
	</tr>
	<tr>
		<td width="10">&nbsp;</td>
		<td width="287" class="geo">&nbsp;</td>
	</tr>
	<tr>
		<td width="10">&nbsp;</td>
		<td width="287" class="geo"><font face='Tahoma,Arial,Verdana' size='1'>SMS</font> portali, Tqven gaZlevT saSualebas gaugzavnoT Tqvens megobars ufaso <font face='Tahoma,Arial,Verdana' size='1'>SMS</font>-i an eleqtronuli fosta.<br>aseve Tqven SegiZliaT gaugzavnoT mobilurze misaloci <font face='Tahoma,Arial,Verdana' size='1'>SMS</font>-i, gamogvigzavnoT Tqvens mier mofiqrebuli saintereso <font face='Tahoma,Arial,Verdana' size='1'>SMS</font>-i, SeqmnaT Tqveni piradi nomrebis wignaki, naxoT saintereso linkebi da mravali sxva.&nbsp;<a href="javascript:open_popup('300','250','cesebi.php');" class="link_geo4">gaecaniT wesebs</a>
		<br><a href="../js_css/bpg_glaho_mix.ttf" title="Download geo font and copy the font to C:\WINDOWS\Fonts [234Kb]" class="link_geo4"><img src="../img/design/font_v4.gif" border="0" width="16" height="16" vspace="1" hspace="0"></a><br><!--<a href="../js_css/bpg_glaho_mix.ttf" title="Copy the font to C:\WINDOWS\Fonts [234Kb]" class="link_geo4">qarTuli fonti</a>--></td>
	</tr>
	<tr>
		<td width="10">&nbsp;</td>
		<td width="287" class="geo"><?=$msg?>&nbsp;</td>
	</tr>
	<tr>
		<td width="10">&nbsp;</td>
		<td width="287" class="geo"><br><font face='Tahoma,Arial,Verdana' size='1'>SMS</font>-ebis gagzavna SegiZliaT am <font face='Tahoma,Arial,Verdana' size='1'>GSM</font> operatorebze:
		<br><br>
		<?php
			for($i=0;$i<count($sms_operator);$i++)
			{
				$inum = $i + 1;
				echo('<font face=\'Tahoma,Arial,Verdana\' style=\'color:#FFFFFF;font-family:Verdana,Tahoma,Arial;font-size:7pt;\'>'.$inum.'. '.$sms_operator[$i].'</font><br>'."\n");
			}
		?>
		</td>
	</tr>
	<tr>
		<td width="10">&nbsp;</td>
		<td width="287" class="geo">
		<br>
		<!-- TOP.GE COUNTER CODE -->
		<script language="JavaScript" src="http://counter.top.ge/cgi-bin/cod?100+6103"></script>
		<noscript>
		<a target="_top" href="http://counter.top.ge/cgi-bin/showtop?6103">
		<img src="http://counter.top.ge/cgi-bin/count?ID:6103+JS:false" border="0" alt="TOP.GE"></a>
		</noscript>
		<!-- / END OF COUNTER CODE <div style="display:none1;"> -->
		&nbsp;
		<!--InternetGe Counter Start--><SCRIPT language="javascript"><!--
		js_ver="1.0";d=document;d.cookie="b=b";c=0;if(d.cookie)c=1;n = navigator;p=escape(window.location.href);r=escape(d.referrer);rf=escape(parent.document.referrer);rn=Math.random();
		if(self!=top){fst=1;}else{fst=0;}//--></SCRIPT>
		<SCRIPT language="javascript1.1"><!--
		js_ver="1.1";j=(n.javaEnabled())?1:0;
		//--></SCRIPT>
		<SCRIPT language="javascript1.2">
		<!--
		js_ver="1.2";s=screen;w=s.width;h=s.height;col=s.colorDepth?s.colorDepth:s.pixelDepth;
		//--></SCRIPT>
		<SCRIPT language="javascript1.3">js_ver="1.3"</SCRIPT>
		<SCRIPT language="javascript">
		<!--
		counter_str="page="+p+"&referer="+r+"&rf="+rf+"&fst="+fst+"&cookie="+c+"&java="+j+"&color="+col+"&s_w="+w+"&s_h="+h+"&js_ver="+js_ver+"&rnd="+rn;counter_str+="&counter_id=603&counter_type=1&s=bf6f9a8d86f09ec774091c2fbe9b81e4&img=9";d.write("<a href='http://top.internet.ge/?site=603' target='_blank'><img src='http://counter.internet.ge/?"+counter_str+"' border='0' widht='88' height='31' alt='TOP.Internet.ge'></a>");//--></SCRIPT>
		<NOSCRIPT><a href="http://top.internet.ge/?site=603" target="_blank"><img src='http://counter.internet.ge/?counter_id=603&counter_type=1&img=9&s=bf6f9a8d86f09ec774091c2fbe9b81e4' border='0' width='88' height='31' alt='TOP.Internet.ge'></a></NOSCRIPT>
		<!--InternetGe Counter End </div> -->&nbsp;
		<a href="../rss.php" target="_blank"><img src='../img/icons/rss.jpg' border='0' width='33' height='33' alt='RSS'></a>
		<br>
		</td>
	</tr>
</table>
</body>

</html>
