Dejo el codigo y espero que puedan ayudarme, gracias por contestar:
Código PHP :
<?php
require_once 'Class.ZendTube.php';
include('curl.php');
include('youtube.php');
include('../conect.php');
$ZendTube = new ZendTube;
$ZendTube->ZendTubeConectar();
$MisVideo = $ZendTube->ListarVideos();
$tube = new youtube();
// Only required for restricted videos
$tube->username = "user";
$tube->password = "pass";
$numero = 0;
foreach($MisVideo as $clave => $valor){
//foreach(
$idus = substr($valor['Tags'][0],1);
//as $k) {
$vquery = "SELECT * FROM usuarios WHERE id='$idus'";
$vresult = mysql_query($vquery);
$vrow = mysql_fetch_array($vresult);
$vimage = "../thumb.php?foto=http://i.ytimg.com/vi/".$valor['Id']."/3.jpg";
$titulov = $valor['Titulo'];
$userv = $vrow['nick'];
$vd = '<div class="vid">
<a href="../videos" target="_top"><img src="'.$vimage.'" class="img"/><br>
<font size="2"><b>'.$titulov.'</b></font><br></a>
<a href="../usuario.php?nick='.$userv.'" target="_top"><font size="1"><b>Usuario: '.$userv.'</b></font></a>
</div>'.$vd;
if($numero > 10){
break;
}else {
$numero = $numero + 1;
}
//}
}
?>
<html>
<head>
<title>::::¡Mis Mamadas!::::</title>
<style type="text/css">
body{
Background: transparent;
color: #FFFFFF;
font-family:Arial, Helvetica, sans-serif;
}
.vid{
color: #0000FF;
font-family: Arial, Helvetica, sans-serif;
padding: 5px 10px 5px 10px;
margin:2px;
float:left;
width:150px;
text-align:center;
}
.img{
border:3px solid #FFCC00;
}
</style>
</head>
<body>
<?php echo $vd; ?>
</body>
</html>