An error occurred

This domain is not configured. Sorry for the inconvenience.

'; exit(); } } // end database_content function. function UpdateTable($fields, $table, $where, $additional) { $values_set = ''; foreach ($fields as $key => $value) { $values_set .= "$key = '$value',"; } $values_set = substr($values_set, 0, -1); $query = "UPDATE $table SET $values_set"; if ($additional != '') { $query .= ", $additional"; } $query .= " WHERE $where"; $result = mysql_query($query) or die('Query failed: ' . mysql_error()); } function process_post_field($name) { if (!empty($_POST[$name])) { $fields = addslashes($_POST[$name]); } else { $fields = FALSE; } return $fields; } function redirect_url($loc) { // Start defining the URL. $url = 'http://' . $_SERVER['HTTP_HOST']; // Check for a trailing slash. if ((substr($url, -1) == '/') OR (substr($url, -1) == '\\')) { $url = substr($url, 0, -1); // Chop off the slash. } // Add the page. $url .= '/' . $loc; ob_end_clean(); // Delete the buffer. header("Location: $url"); exit(); } function ShowFromDate($year_interval, $YearIntervalType, $db_post, $name_prefix, $db_day, $db_month, $db_year) { //DAY $output = "\n"; //MONTH $output .= "\n"; //YEAR if (isset($_POST[$name_prefix.'year'])) { $year = $_POST[$name_prefix.'year']; } $output .= " / \n"; } If($YearIntervalType == "Future") { $i=$CurrYear+$year_interval; while ($CurrYear < $i) { if ($year == $CurrYear) $output .= "