Changeset 25 for trunk/client/modules/Elezioni/funzioni.php
- Timestamp:
- Mar 5, 2010, 11:53:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/funzioni.php
r17 r25 208 208 209 209 for ($i=0;$i<20;$i++) { 210 $link = preg_replace(" .*<link>","",$items[$i]);211 $link = preg_replace("</link>.* ","",$link);212 $title2 = preg_replace(" .*<title>","",$items[$i]);213 $title2 = preg_replace(" </title>.*","",$title2);210 $link = preg_replace("/.*<link>/","",$items[$i]); 211 $link = preg_replace("</link>.*/","",$link); 212 $title2 = preg_replace("/.*<title>/","",$items[$i]); 213 $title2 = preg_replace("/</title>.*/","",$title2); 214 214 $title2 = stripslashes($title2); 215 $descr = preg_replace(" .*<description>","",$items[$i]);216 $descr = preg_replace(" </description>.*","",$descr );215 $descr = preg_replace("/.*<description>/","",$items[$i]); 216 $descr = preg_replace("/</description>.*/","",$descr ); 217 217 $descr = stripslashes($descr ); 218 218
Note:
See TracChangeset
for help on using the changeset viewer.