<?php
//$GetMb_id
//$GetMb_page
$sourceFile = './PPQSQL/Home/'.(int)$GetMb_id.'.txt';
$MYSQLVODS = is_file($sourceFile) ? @json_decode(@file_get_contents($sourceFile), true) : array();
if (!is_array($MYSQLVODS)) $MYSQLVODS = array();
//$MYSQLVODS=PAGE($MYSQLVODS,$GetMb_page,'5');
$count=count($MYSQLVODS)-1;
$tpl->assign('VideoTypePPQSQL', $MYSQLVODS);
$tpl->assign('VideoTypePage', $GetMb_page);
$tpl->assign('VideoTypeId', $GetMb_page);

$VideoType=isset($vodtype[$GetMb_id]) && is_array($vodtype[$GetMb_id]) ? $vodtype[$GetMb_id] : array('id' => (int)$GetMb_id, 'name' => '分类不存在');
$VideoTypeId=$VideoType['id'];
$VideoTypeName=$VideoType['name'];
$tpl->assign('VideoTypeId', $VideoTypeId);
$tpl->assign('VideoTypeName', $VideoTypeName);

$tpl->show($this_WebMoban.'/html/'.$GetMb_tmp);
?>
