예제 #1
0
    echo $recommendwidget_button;
    ?>
</a></div>
<?php 
} else {
    ?>
<script type="IN/RecommendProduct" data-company="<?php 
    echo $recommendwidget_companyid;
    ?>
" data-product="<?php 
    echo $recommendwidget_productid;
    ?>
" data-counter="top"></script>
<div><?php 
    echo $recommendwidget_text;
    ?>
<br/><a target="_blank" class="btn-ternary" href="<?php 
    echo scrubClicktracker($recommendwidget_prepend);
    ?>
http://www.linkedin.com/company/<?php 
    echo $recommendwidget_companyid;
    ?>
/<?php 
    echo $recommendwidget_productid;
    ?>
/product" rel="external"><?php 
    echo $recommendwidget_button;
    ?>
</a></div>
<?php 
}
예제 #2
0
		if (imgDetect == 0) {	
	  		var oldText = $(this).text(); // ie8 fix
		}
		$(this).attr('href', '<?php 
    echo scrubClicktracker($global_clicktracker);
    ?>
' + this.href);
		if (imgDetect == 0) {
			$(this).text(oldText); // ie8 fix
		}
	  });
   });
   $(function(){
      $('.panel form').each(function() {
         $(this).attr('action', '<?php 
    echo scrubClicktracker($global_clicktracker);
    ?>
' + this.action);
      });
   });
<?php 
}
// user ids to clicktracked hyperlinks
?>
   $(function(){
      var user = getParameterByName("u");
      if (user != "") {
         $('#content a, a.btn-action').each(function() {
            if ($(this).attr('href').toLowerCase().indexOf("ad.doubleclick.net/clk") >= 0) {
               var values = $(this).attr('href').split("?");
               for (i=0;i<values.length;i++) {