sixth sense
Active Member
Имам проблем с тази система .. -> [url]http://web-tourist.net/forum/viewtopic.php?t=83133[/URL]
реших да сменя плеяра на JW Player (че дефаулт е windows media и не излизаше в firefoxa)
и промених view.php от :
на това :
и вижте сега как ми дава плеяра -> [url]http://web-tourist.net/userfiles/842.jpg [/URL] :?
някой знае ли как трябва да стане кода?
реших да сменя плеяра на JW Player (че дефаулт е windows media и не излизаше в firefoxa)
и промених view.php от :
Код:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Video - Безплатни онлайн филми</title>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251" />
<link rel="stylesheet" href="images/CoolWater.css" type="text/css" />
<link href="images/iconn.png" rel="shortcut icon" />
</head>
<body>
<div id="wrap">
<div id="header">
<h1 id="logo-text"><a href="index.php">Video</a></h1>
<p id="slogan">Безплатни онлайн филми</p>
<div id="header-links">
<p> </p>
</div>
</div>
<div id="menu">
<ul>
<li id="current"><a href="index.php">Начало</a></li>
<li><a href="video.php">Каталог</a></li>
</ul>
</div>
<div id="content-wrap">
<div id="main"> <a name="TemplateInfo"></a>
<h2><a href="index.html">Филм</a></h2>
<center>
<?php
include_once "config.php";
$gid=$_GET['id'];
$query = "SELECT * FROM clips where id='$gid'";
$result = mysql_query($query);
while($r=mysql_fetch_array($result))
{
$url=$r[url];
$ime=$r['ime'];
echo "<center>";
echo "<b>Вие гледате:</b> <b><font color='red'>$ime</b></font><br>";
echo "<object width='425' height='350'>";
echo "
<style type='text/css'>
.ws6 {font-size: 8px;}
.ws7 {font-size: 9.3px;}
.ws8 {font-size: 11px;}
.ws9 {font-size: 12px;}
.ws10 {font-size: 13px;}
.ws11 {font-size: 15px;}
.ws12 {font-size: 16px;}
.ws14 {font-size: 19px;}
.ws16 {font-size: 21px;}
.ws18 {font-size: 24px;}
.ws20 {font-size: 27px;}
.ws22 {font-size: 29px;}
.ws24 {font-size: 32px;}
.ws26 {font-size: 35px;}
.ws28 {font-size: 37px;}
.ws36 {font-size: 48px;}
.ws48 {font-size: 64px;}
.ws72 {font-size: 96px;}
.wpmd {font-size: 13px;font-family: 'Arial';font-style: normal;font-weight: normal;text-decoration: none;}
</style>
<embed src='$url' width=500 height=380 autostart=true>
";
echo "</embed></object>";
echo "</center>";
}
?>
</center>
<h2><a href="tv.html">Реклама</a></h2>
<p>
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-0563781576783970";
/* 468x60, създаден 09-3-21 */
google_ad_slot = "9649070222";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</p>
<br />
</div>
<div id="sidebar">
<h2>Статистика</h2>
<?php
$conn = mysql_connect("localhost", "video", "pass");
mysql_select_db("video", $conn);
$sql = mysql_query("SELECT count(*) as broi from clips");
$pesni = mysql_fetch_array($sql);
echo " Филми: <b>$pesni[broi]</b> ";
?>
<h2>Приятели</h2>
<ul class="sidemenu">
<li><a href="http://www.lupi4ka.com/">Lupi4ka.com</a></li>
</ul>
</div>
</div>
<div id="footer">
<p>© 2009 <strong>Video</strong> |
Design by: <a href="http://www.styleshout.com/">styleshout</a> </p>
</div>
</div>
</body>
</html>
Код:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Video - Безплатни онлайн филми</title>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251" />
<link rel="stylesheet" href="images/CoolWater.css" type="text/css" />
<link href="images/iconn.png" rel="shortcut icon" />
</head>
<body>
<div id="wrap">
<div id="header">
<h1 id="logo-text"><a href="index.php">Video</a></h1>
<p id="slogan">Безплатни онлайн филми</p>
<div id="header-links">
<p> </p>
</div>
</div>
<div id="menu">
<ul>
<li id="current"><a href="index.php">Начало</a></li>
<li><a href="video.php">Каталог</a></li>
</ul>
</div>
<div id="content-wrap">
<div id="main"> <a name="TemplateInfo"></a>
<h2><a href="index.html">Филм</a></h2>
<center>
<?php
include_once "config.php";
$gid=$_GET['id'];
$query = "SELECT * FROM clips where id='$gid'";
$result = mysql_query($query);
while($r=mysql_fetch_array($result))
{
$url=$r[url];
$ime=$r['ime'];
echo "<center>";
echo "<b>Вие гледате:</b> <b><font color='red'>$ime</b></font><br>";
echo "<object width='425' height='350'>";
echo '<style type="text/css">
body { background-color: #fff; padding: 0 20px; color:#000; font: 13px/18px Arial, sans-serif; }
a { color: #360; }
h3 { padding-top: 20px; }
ol { margin:5px 0 15px 16px; padding:0; list-style-type:square; }
</style>';
echo '<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="500" height="380">
<param name="movie" value="player-viral.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="file=$url" />
<embed
type="application/x-shockwave-flash"
id="player2"
name="player2"
src="player-viral.swf"
width="500"
height="380"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=$url"
/>
</object>';
echo "</embed></object>";
echo "</center>";
}
?>
</center>
<h2><a href="tv.html">Реклама</a></h2>
<p>
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-0563781576783970";
/* 468x60, създаден 09-3-21 */
google_ad_slot = "9649070222";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</p>
<br />
</div>
<div id="sidebar">
<h2>Статистика</h2>
<?php
$conn = mysql_connect("localhost", "video", "pass");
mysql_select_db("video", $conn);
$sql = mysql_query("SELECT count(*) as broi from clips");
$pesni = mysql_fetch_array($sql);
echo " Филми: <b>$pesni[broi]</b> ";
?>
<h2>Приятели</h2>
<ul class="sidemenu">
<li><a href="http://www.lupi4ka.com/">Lupi4ka.com</a></li>
</ul>
</div>
</div>
<div id="footer">
<p>© 2009 <strong>Video</strong> |
Design by: <a href="http://www.styleshout.com/">styleshout</a> </p>
</div>
</div>
</body>
</html>
някой знае ли как трябва да стане кода?