[ Index ] |
PHP Cross Reference of phpwcms V1.5.0 _r431 (28.01.12) |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 4 a simple way to handle tracing pixel of VG Wort 5 6 1) define the tracking code 7 Fill in the unique text ID in article keyword like 8 VGW:e2531725f43b35656065 9 2) put the replacement tag {VGWort} 10 inside your template source code 11 12 */ 13 14 if(is_array($content['all_keywords']) && count($content['all_keywords'])) { 15 foreach($content['all_keywords'] as $vgwort) { 16 if(strpos($vgwort, 'VGW:') === 0) { 17 $vgwort = str_replace('VGW:', '', $vgwort); 18 $vgwort = '<img src="http://vg00.met.vgwort.de/na/'.$vgwort.'?timestamp='.time().'" width="0" height="0" alt="" />'; 19 $content['all'] = str_replace('{VGWort}', $vgwort, $content['all']); 20 break; 21 } 22 } 23 } 24 $content['all'] = str_replace('{VGWort}', '', $content['all']); 25 26 27 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Jan 29 16:31:14 2012 | Cross-referenced by PHPXref 0.7.1 |