<?php include ("setup.php"); ?>

<table width="550" cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="3" align="left" valign="top">
<br>
<font face="Arial" size="3" color="#333333"><b>
V&iacute;deos
</b>
 / 
<?php

$sql = "select * from videos where nome_arquivo = '$video'";
$result = mysql_query ($sql);
while ( $valor = mysql_fetch_array($result) )
     {
echo''.$valor["titulo"].'';
     }

?>
</font>
<br>
</td>
</tr>
<tr>
<td valign="top" align="left">

<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="WindowsMediaPlayer1">
<param name="URL" ref="1" value="galeria/video/<?php echo''.$video.''; ?>">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="defaultFrame" value>
<param name="playCount" value="1">
<param name="autoStart" value="1">
<param name="currentMarker" value="1">
<param name="invokeURLs" value="1">
<param name="baseURL" value>
<param name="volume" value="50">
<param name="mute" value="0">
<param name="uiMode" value="full">
<param name="stretchToFit" value="0">
<param name="windowlessVideo" value="0">
<param name="enabled" value="-1">
<param name="enableContextMenu" value="-1">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value="">
<param name="enableErrorDialogs" value="0">
<param name="_cx" value="7280">
<param name="_cy" value="8000">
</object>


</td>
<td width="10">
</td>
<td  align="left" valign="top">

<?php

include ("setup.php");

$sql = "select * from videos order by ordem  DESC";
$result = mysql_query ($sql);
while ( $valor = mysql_fetch_array($result) )
     {
        if($result == TRUE)
        {

echo'
<table border="0" cellpadding="2" cellspacing="0">
<td valign="top" align="left">

<a href="wpg.php?mod=INT&md=VIDEOS&video='.$valor["nome_arquivo"].'">
<img src="images/'.$valor["imagem"].'" border="0" width="100" height="70">
</a>

</td>
<td valign="top" align="left">

<a href="wpg.php?mod=INT&md=VIDEOS&video='.$valor["nome_arquivo"].'">
<font face=Arial size=3><b>
'.$valor["titulo"].'
</b></font>
</a>
<br>

<font face=Arial size=2>
Tamanho: '.$valor["tamanho"].'
</font>
<br>

<font face=Arial size=2>
Dura&ccedil;&atilde;o: '.$valor["duracao"].'
</font>
<br>

<font face=Arial size=2>
Formato: '.$valor["formato"].'
</font>

</td>
</tr>
</table>
<br>';

         }
     }//end while

?>

</td>
</tr>
</table>


