Add Recent global posts widget to other multisite blog via theme editor

Hi, i use theme files to place some ads to users blogs on my multisite in sidebar.
i place ads in theme files and its appears in sidebar, uses cant remove it.
User have option to add recent global post widget to their blogs but i want to place it on all blog,

i add that using this
<div class="widget-sidebar frontier-widget" >
Your ad code here
</div>

Could you help me how to add recent global posts widget here.
if i insert [do_widget "recent global posts" ] like its on main site and works on subdomains/blog it doesent

Please help me, thanks