GetDBFieldCount("question_ip","ip='".GetUserIp()."' AND question_id='".$q_id."'")) { $SQL->Query("UPDATE question_answer SET votes=votes+1 WHERE id='$VOTE'"); $SQL->Query("INSERT INTO question_ip (ip,question_id,answer_id) VALUES ('".GetUserIp()."','$q_id','$VOTE')"); } } $reg_for_news_msg=''; $email=trim(strtolower($_POST["news_to_email"])); if(isset($_POST["reg_for_news"]) && $email) { if(!preg_match("/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/",$email)) $reg_for_news_msg=$LANG_ARRAY["LNG_EL_FOSTA_ARASWORIA"]; else if($SQL->GetDBFieldCount("news_to_email","email='$email'")) $reg_for_news_msg=$LANG_ARRAY["LNG_EL_FOSTA_UKVE_DAREGISTRIREBULIA"]; else { $SQL->Query("INSERT INTO news_to_email (email) VALUES ('$email')"); $reg_for_news_msg=$LANG_ARRAY["LNG_TQVEN_MIIGEBT_SIAXLEEBS_EL_FOSTAZE"].' : '.$email.''.mysqli_error(); } } ?> <? echo strip_tags($WEBSITE_TITLE);?> style="background-color:#FFF">
lang_geo) $langArray[] = $conf->lang_geo; if($conf->lang_eng) $langArray[] = $conf->lang_eng; if($conf->lang_rus) $langArray[] = $conf->lang_rus; if(count($langArray)>0) { ?>
lang_geo) {?>">ქართული | lang_eng) {?>">English | lang_rus) {?>">Rусский
" method="get" enctype="application/x-www-form-urlencoded" name="searchForm" id="searchForm"> ') this.value='';" onblur="if(this.value=='') this.value='';"/>
Query("SELECT * FROM videogallery WHERE is_main='1' ORDER BY id DESC"); if($SQL->RowCount()) { ?>
FetchAssoc()) { ?> ';">
 
ShowImg(null,160,120);?>
" name="question" method="post" action="" style="margin:0px; padding:0px"> Query("SELECT * FROM question_answer WHERE quest_id='$data[id]' ORDER BY id ASC"); while($data2=$SQL->FetchAssoc()) $votes_sum+=intval($data2["votes"]); $SQL->Query("SELECT * FROM question_answer WHERE quest_id='$data[id]' ORDER BY id ASC"); while($data2=$SQL->FetchAssoc()) { if(!intval($data2["votes"])) $percent=0; else $percent=intval((intval($data2["votes"])*100)/$votes_sum); ?>
Query("SELECT * FROM question_answer WHERE quest_id='$data[id]' ORDER BY id ASC"); while($data2=$SQL->FetchAssoc()) $votes_sum+=intval($data2["votes"]); $SQL->Query("SELECT * FROM question_answer WHERE quest_id='$data[id]' ORDER BY id ASC"); while($data2=$SQL->FetchAssoc()) { if(!intval($data2["votes"])) $percent=0; else $percent=intval((intval($data2["votes"])*100)/$votes_sum); ?>
[%] ()
 
facebook) { ?>
©