header("Content-type: text/html");
echo "<!DOCTYPE html><html><body>\r\n";
- echo (($_GET['msie'] == 1) ? '<div>' : '<section>');
+ echo "<section>";
- $no_auto_update = get_pconfig($profile_uid, "system", "no_auto_update");
- if ($no_auto_update <= 0) {
+ if (!get_pconfig($profile_uid, "system", "no_auto_update") OR ($_GET['force'] == 1))
$text = network_content($a,$profile_uid);
- if ($no_auto_update < 0)
- set_pconfig($profile_uid, "system", "no_auto_update", 1);
- } else
+ else
$text = "";
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
echo str_replace("\t",' ',$text);
- echo (($_GET['msie'] == 1) ? '</div>' : '</section>');
+ echo "</section>";
echo "</body></html>\r\n";
killme();