0) { for ($i=1;$i<10;$i++){ if ($types[$temp_mobile]['num'.$i] == $override_template) { if ($types[$temp_mobile]['alpha'.$i] != "") { $options = explode ("\r\n",$types[$temp_mobile]['alpha'.$i]); foreach ($options as $option){ $opt = explode (";;;",$option); if (strpos($opt[0],"^^^")!== false || strpos($opt[0],"~~~")!== false){ $site['replaces'][$opt[0]]= $opt[1]; } else { $site[$opt[0]]= $opt[1]; } } } } } } if ($override_template > 0) { get_template($override_template,true); } session_start(); switch ($_GET['act']){ case "showitem": case "item": case "": show_item(); die(); break; default: $out = assess_action($url_id); } ?>