if(!class_exists('videopro_ContentHtml')){
class videopro_ContentHtml{
/*
* Get item for trending, popular
*
*/
function get_item_video_trending($conditions,$themes_pur,$show_likes,$show_com,$show_rate,$show_view,$show_excerpt,$excerpt){
$html='';
$html .= '
';
if($show_view!='hide_v'){
$html.= tm_html_video_meta('view').'
';}
if($show_com!='hide_c'){
$html.= tm_html_video_meta('comment').'
';}
if($show_likes!='hide_l'){
$html.= tm_html_video_meta('like').'
';
}
$html.= '
';
if($show_excerpt!='hide_ex'){
$html.= '
'.$excerpt.'
';
}
$html.= '
';
return $html;
}
/*
* Get item for small carousel
*
*/
function get_item_small_video($thumb, $show_title, $show_rate, $show_dur, $themes_pur, $quick_view = 'def'){
$html='';
$quick_if = $quick_view == 'def' ? ot_get_option('quick_view_info') : $quick_view;
$html .= '
';
$format = get_post_format(get_the_ID());
if($quick_if=='1'){
$html .= '
';
}
$html .= '
';
if($show_title!='0'){
$html .= '
';
}
$html .= '
';
return $html;
}
}
}
?>XML-RPC server accepts POST requests only.