host1tl adlı üyeden alıntı

{ intigral}
İkinci kod
{/intigral}


bu şekilde ekledim ama çalışmıyor malesef

<script></script>
<script>
{intigral}
$(window).load(function(){
var cogalt_fonk = (function(){
var cogaltsayi = 0;
var sablon = $('#anasablon').text();
return function(){
return sablon.replace(/{{ID}}/g, ++cogaltsayi);
}
})();
var araclar = $('#araclar')
$(document).on("click", 'button.cogalt', function(){
araclar.append(cogalt_fonk());
});
$(document).on('click', 'button.sil', function() {
$(this).parent().remove();
return false;
});
araclar.append(cogalt_fonk());
}); {/intigral}
</script>