vShare uses Smarty, so direct PHP invocation does not work within the scripts. It will be better to use web-based code that your ad script gives you (such as iFrames or Javascript) and not direct PHP invocation.