Search found 3 matches

by usa
Thu 28. Oct 2004, 10:39
Forum: phpwcms Bug Reports
Topic: bug in {SUMMARY} (front.funct.inc.php)
Replies: 3
Views: 3116

bug in {SUMMARY} (front.funct.inc.php)


function render_cnt_template($text='', $tag='', $value='') {
// render content part by replacing placeholder tags by value
if(strval($value)) {
$text = preg_replace('/\['.$tag.'\](.*?)\[\/'.$tag.'\]/is', '$1', $text);
$text = str_replace('{'.$tag.'}', $value, $text);
} else {
2153: $text ...
by usa
Fri 22. Oct 2004, 12:33
Forum: phpwcms Bug Reports
Topic: bug in [ID integer]string[/ID] (front.funct.inc.php)
Replies: 0
Views: 2037

bug in [ID integer]string[/ID] (front.funct.inc.php)

error with string is a HTML text (img, div...)


1853: $article_link = '<a href="index.php?id='.$article_cid.','.$article_id.
',0,0,1,0" title="'.$article_title.'">'.$link_text.'</a>';


add html_entity_decode()


1853: $article_link = '<a href="index.php?id='.$article_cid.','.$article_id.
',0 ...
by usa
Tue 17. Aug 2004, 11:58
Forum: phpwcms Support English
Topic: Page redirection according to IP
Replies: 2
Views: 1111

Yes is possible!

Requirements:

None (only the 'GeoIP.dat' file is needed). To download a free GeoIP Standard Country
database, go to
http://maxmind.com/download/geoip/database/

Install

Just place the 'geoip.inc' file somewhere according to the 'include_path' directive of
your 'php.ini' file ...