$getTime= explode(' ', microtime()); $StartTime = $getTime[1] + $getTime[0]; $id = $_GET["id"]; $html_dir = "/home/coronel/public_html"; $title="Видео"; $description="Видео social dances - coronel.ru"; $keywords = "Видео, Social Dance, социальные танцы, Юг России, Ростов-на-Дону, Краснодар, сальса, танго, меренге, бачата, реггетон, Третий Фронт"; $div="video"; $subdiv="show"; $types=array("our" => "Наше", "pro" => "Pro", "mv" => "Клипы"); //$subdiv=$_GET["subdiv"]; //?? $link = @mysql_pconnect ("localhost", "coronel_user", "coronet"); @mysql_select_db ("coronel_main"); $query="select * from videos where id='$id'"; $result=mysql_query($query); $row = mysql_fetch_array($result); if (!$row["id"]) { $title .= " >> Ошибка"; } else { $vid=$row["id"]; $vname=$row["name"]; $vfname=$row["fname"]; $vwidth=$row["width"]; $vheight=$row["height"]; $owner=$row["owner"]; $vyear = @date("Y",$row["date"]); $vtype=$types[$row["type"]]; if ($vtype) $title .= " >> ".$vtype; $title .= " >> ".$vname; $subdiv=$row["type"]; $extension=$row["ext"]; } include($html_dir."/header.php"); @mysql_pconnect ("localhost", $dblogin, $dbpass); @mysql_select_db ("coronel_main"); $query="select * from videos where id='$id'"; $result=mysql_query($query); $row = mysql_fetch_array($result); if (!$vid) { ?> Нет такого видео... require($html_dir."/footer.php"); exit; } ?>
Get the Flash Player to see this player.
Для корректного просмотра необходим Flash Player версии 9.0.115.0 или выше } ?>
} else if ($row3["id"]) { ?>( Комментарий был удалён ) } ?>
$level
"; $result2 = mysql_query($query2); $row2 = mysql_fetch_array($result2); if ($row2["id"]) { $notajump=1; $oldthread[$level]=$thread; $level++; $timestamp=$row2["time"]; $oldtimestamp[$level]=$timestamp; $thread = $row2["id"]; $oldreplyto[$level]=$thread; $query3="select * from vidcomments where replyto='$thread' order by time limit 0,1"; $result3 = @mysql_query($query3); $row3 = @mysql_fetch_array($result3); ?> $c_width=2*($level-1); if ($row2["deleted"] != 1) { ?>
} else if ($row3["id"]) { ?>
$getTime= explode(' ', microtime()); print ""; include($html_dir."/footer.php"); ?>