'01', 'february' => '02', 'march' => '03', 'april' => '04', 'may' => '05', 'june' => '06', 'july' => '07', 'august' => '08', 'september' => '09', 'october' => '10', 'november' => '11', 'december' => '12'); if (substr($name, -5) === '.html') $name = substr($name,0,-5); if (substr($name, -4) === '.htm') $name = substr($name,0,-4); if (preg_match('/^(.*)\-\-([0-9]+) ([A-Z][a-z]+) ([0-9]+) at ([0-9]+)h([0-9]+)$/', $name, $matches)) { $name = trim($matches[1]).'--'.$matches[4].'-'.$monthTable[strtolower($matches[3])].'-'.$matches[2]; } $name = str_replace(' ','-',$name); $name = preg_replace('/[^A-Za-z0-9-]+/', '', $name); return $name; } if ($_REQUEST['name']) { $replay =& $REPLAYS[$_REQUEST['name']]; if (!$replay) { $replay['id'] = $_REQUEST['name']; } ?> Viewing Pokemon replay: <?php echo htmlentities($_REQUEST['name']); ?>
Speed:
Color scheme:
Music:
THIS REPLAY IS PRIVATE - make sure you have the owner\'s permission to share
'; ?>
[Original replay | Convert again] [Upload your own replay] [Report bugs to the Smogon thread]
changed
'; if ($_POST['highlight']) $replay['highlight'] = true; else unset($replay['highlight']); if ($_POST['notes']) $replay['notes'] = $_POST['notes']; else unset($replay['notes']); if ($_POST['link']) $replay['link'] = $_POST['link']; else unset($replay['link']); persist_save('REPLAYS'); } ?>
id="highlight" />
notes
link

404 Not Found