$(document).ready(function(){checkPowerBy();});function checkPowerBy(){var direct=$("html").attr("dir");var today=new Date();var year=today.getYear();if(year<1000){year+=1900;}
if(direct=='ltr'){var cp_text='<a href="https://opencartfarsi.com">OpenCartFarsi</a> &copy; 2009-'+year+' . All Rights Reserved.';var ver_text='Version 3.0.3.7';}else{var cp_text='تمامی حقوق برای <a target="_blank" href="https://opencartfarsi.com" title="OpenCartFarsi.Com">اپن کارت فارسی دات کام</a> محفوظ است. &copy; 2009-'+year;var ver_text='نسخه 3.0.3.7';}
var footer_text=document.getElementsByTagName("footer");var site_copy=footer_text[0].innerHTML;site_copy=site_copy.replace(ver_text,'');if(!site_copy.includes('opencartfarsi.com')){var str=document.getElementById("footer").innerHTML;var full_cop=cp_text+'<br />';var res=str.replace(site_copy,full_cop)
document.getElementById("footer").innerHTML=res;}}