Ok, it seems to me that you do not understand how the Smarty system is being used in vShare. If you are trying to get video data from the player.inc file, you will have to make your own queries as the player.inc file is being included from the encoded php scripts. If you are trying to execute your query from the template files (in the templates directory), you can get all of the video information from Smarty as the video information is sent to the templates through Smarty. So, from the view_video.tpl file, you can get information regarding the video by using:
So, if you wanted to get the title, you would use:Code:{$video_info.(DB Column)}
Etc. Does that make sense to you?Code:{$video_info.title}




Reply With Quote
Bookmarks