";
$news=$db->sqllistrow("select * from video_info where category_code='$category_code' and unique_code='$video_code' and active='1'");
foreach($news as $key=>$deger){
$baslik=$deger[video_name];
$metin=$deger[video_content];
echo "
";
$tarih=$db->sql("select from_unixtime($deger[unique_code]) from video_info where unique_code='$deger[unique_code]'");
echo "
$baslik
";
echo "
";
$vidt=$db->sqllistrow("select * from video_vid where video_code='$deger[unique_code]' and active='1' order by id asc");
$i=0;
foreach($vidt as $key=>$value){
$baslik=$value[vid_name];
if($i==0){
echo "
";
}
echo "
";
$pcnt=$db->sqllistrow("select * from video_pic where vid_code='$value[unique_code]' and active='1'");
foreach($pcnt as $key=>$vals){
echo "
$baslik
";
}
echo "
";
$i=$i+1;
if($i==3){
echo "
";
$i=0;
}
}
echo "
";
echo "$metin";
echo "
";
}
/**
$mem=$db->sqllistrow("select * from member_info where id='$deger[member]'");
foreach($mem as $key=>$valmem){
if($member==$deger[member]){
//
**/
if($member>0){
echo "
";
$liste=$db->sqllistrow("select * from video_info where category_code='$category_code' and active='1' order by id desc");
$i=0;
foreach($liste as $key=>$deger){
if($i==0){
echo "
";
}
echo "
";
$baslik = StrToBuyuk($deger[video_name]);
$tarih=$db->sql("select from_unixtime($deger[unique_code]) from video_info where unique_code='$deger[unique_code]'");
echo "
";
$cat=$db->sqllistrow("select * from video_main where active='1'");
$i=0;
foreach($cat as $key=>$value){
$cats=StrToBuyuk($value[main_name]);
if($i==0){
echo "
";
}
echo "
";
$news=$db->sqllistrow("select * from video_info where category_code='$value[unique_code]' and active='1'");
foreach($news as $key=>$deger){
$cms = mysql_query("select * from video_info where category_code='$value[unique_code]' and active='1'");
$cnum = mysql_num_rows($cms);
$cat=$db->sql("select main_name from video_main where unique_code='$deger[category_code]'");
$baslik = StrToBuyuk($deger[video_name]);
echo "
";
if($category_code>0){
$content=$db->sqllistrow("select * from video_info where category_code='$category_code' and active='1'");
}else{
$content=$db->sqllistrow("select * from video_info where active='1'");
}
$i=0;
foreach($content as $key=>$deger){
$cms = mysql_query("select * from video_vid where video_code='$deger[unique_code]' and active='1'");
$cnum = mysql_num_rows($cms);
$cat=$db->sql("select main_name from video_main where unique_code='$deger[category_code]'");
$baslik=$deger[video_name];
if($i==0){
echo "
";
}
echo "
";
$video=$db->sqllistrow("select * from video_vid where video_code='$deger[unique_code]' and active='1' order by id desc limit 0,1");
foreach($video as $key=>$value){
$pname=$value[vid_name];
$pcnt=$db->sqllistrow("select * from video_pic where vid_code='$value[unique_code]' and active='1'");
foreach($pcnt as $key=>$vals){
echo "
";
$liste=$db->sqllistrow("select * from video_info where category_code='$category_code' and active='1' order by id asc");
foreach($liste as $key=>$deger){
$cmsg = mysql_query("select * from video_vid where video_code='$deger[unique_code]' and active='1'");
$cnums = mysql_num_rows($cmsg);
$baslik=$deger[video_name];
$tarih=$db->sql("select from_unixtime($deger[unique_code]) from video_info where unique_code='$deger[unique_code]'");
echo "
";
$cat=$db->sqllistrow("select * from video_main where active='1' order by id asc");
$i=0;
foreach($cat as $key=>$value){
if($i==0){
echo "
";
}
echo "
";
$cats = StrToBuyuk($value[main_name]);
$news=$db->sqllistrow("select * from video_info where category_code='$value[unique_code]' and active='1' order by id desc limit 0,1");
foreach($news as $key=>$deger){
$cms = mysql_query("select * from video_info where category_code='$value[unique_code]' and active='1'");
$catnum = mysql_num_rows($cms);
echo "
";
$cat=$db->sqllistrow("select * from video_main where active='1' order by id asc");
$i=0;
foreach($cat as $key=>$value){
if($i==0){
echo "
";
}
echo "
";
$cats = StrToBuyuk($value[main_name]);
$news=$db->sqllistrow("select * from video_info where category_code='$value[unique_code]' and active='1' order by id desc limit 0,1");
foreach($news as $key=>$deger){
$cms = mysql_query("select * from video_info where category_code='$value[unique_code]' and active='1'");
$catnum = mysql_num_rows($cms);
echo "
";
$news=$db->sqllistrow("select * from video_info where category_code='$category_code' and unique_code='$video_code' and active='1'");
foreach($news as $key=>$deger){
$baslik=$deger[video_name];
$metin=$deger[video_content];
echo "
";
$tarih=$db->sql("select from_unixtime($deger[unique_code]) from video_info where unique_code='$deger[unique_code]'");
echo "
$baslik
";
echo "
";
echo "
";
echo "$metin";
echo "
";
$vidt=$db->sqllistrow("select * from video_vid where member='$member' order by id desc");
$i=0;
foreach($vidt as $key=>$value){
$baslik=$value[vid_name];
if($i==0){
echo "
";
$cat=$db->sqllistrow("select * from video_main where active='1' order by id asc");
$i=0;
foreach($cat as $key=>$value){
if($i==0){
echo "
";
}
echo "
";
$cats = StrToBuyuk($value[main_name]);
$news=$db->sqllistrow("select * from video_info where category_code='$value[unique_code]' and active='1' order by id desc limit 0,1");
foreach($news as $key=>$deger){
$cms = mysql_query("select * from video_info where category_code='$value[unique_code]' and active='1'");
$catnum = mysql_num_rows($cms);
echo "