$html_dir = "/home/coronel/public_html";
$title="Видео >> Pro";
$description="Видео social dances - coronel.ru";
$keywords = "видео, сальса, меренге, меренга, бачата, танго, руэда, реггетон, реггитон, Ростов, Rostov-on-Don, Rostov, Ростов-на-Дону, Третий Фронт, танцы, латинские танцы, фотографии, форум, красивые девушки, photos, юмор, humor, open-air, клубы, Люди, Камелот, МакКой, Третий Фронт, школа танцев, latin dance, Третий Фронт, фестиваль, юмор, общение, мнения, жизнь, social, social dances, salsa, merengue, bachata, rueda, tango, reggaeton, Coronel, Inetman, Инетмен, Инетман, Полковник, Coronel, Genc, Марина, Ванюшины, Наташа Ванюшина, Марина Ванюшина, Геннадий Ванюшин, Гена Ванюшин, Славик Гавриков, Дима Аминов, Владимир Полканов, Иван Корольков, Boogaloo, Бугалу, BaileVida, сальсеро, сальсера, Маша Калинина, Тимбер, сальсо, латино, латина, сальсерос, танцы, Россия, Russia";
$div="video";
$subdiv="pro";
$perrow = "4";
if (!$_GET["y"])
{
$year=date("Y");
}
else $year=$_GET["y"];
include($html_dir."/header.php");
@mysql_pconnect ("localhost", $dblogin, $dbpass);
@mysql_select_db ("coronel_main");
?>
Pro Видео
В данном разделе представлены фрагменты видеоработ профессиональных операторов: вырезки из фильмов, телепередач и тому подобное.
год
$colcount++; } else { $query = "(select * from videos where type='pro' and name !='' and date > ".mktime(-1,0,0,1,1,$year)." and date < ".mktime(0,0,1,1,1,$year+1)." and na != 1 and folder is NULL) union (select id, name, 'empty' as name_en, 'folder' as fname, date, 'folder' as dull1, 'folder' as dull2, 'folder' as dull3, 'folder' as dull4, 'folder' as dull5, 'folder' as dull6, 'folder' as dull7, 'folder' as dull8, 'folder' as dull9, 'folder' as dull10, 'folder' as dull11 from vidfolders where type='pro' and date > ".mktime(-1,0,0,1,1,$year)." and date < ".mktime(0,0,1,1,1,$year+1).") order by date"; } $result = mysql_query($query) or print mysql_error(); while ($row = mysql_fetch_array($result)) { if ($colcount == $perrow) { $colcount=0; ?> | |
0) print "width=\"".$size_img[0]."\""; if ($size_img[1] > 0) print "height=\"".$size_img[1]."\""; ?> border=0 src="/video/pics/imgtn.jpg" alt=" - 0 Мб" title=" - 0 Мб" /> //Show number of comments $query3="select count(*) as num from vidcomments where vid='".$row["id"]."' and deleted != 1"; $result3 = mysql_query($query3); $row3 = mysql_fetch_array($result3); if ($row3["num"] > 0) { ?> Комментарии () } } else { $fquery="select count(*) as num from videos where folder=".$row["id"]; $fres=@mysql_query($fquery); $folcount=@mysql_fetch_array($fres); if ($folcount["num"] > 0) { ?> | ( ролик $vdnum_str=number_format($folcount["num"]); $end_num = substr($vdnum_str, -1); $end_num2 = substr($vdnum_str, -2, 1); if ($end_num2 != "1" and ($end_num == "1")) { ?> } else if ($end_num2 != "1" and ($end_num == "2" or $end_num == "3" or $end_num == "4")) { ?>а } else { ?>ов } ?>) } } ?> |
}
?>