" . $structure[$column][0] . ","; } } # get rid of the last , $query = substr($query,0,-1); $query .= "\n)"; # submit it to the database $res = Sql_Query($query); } ?>wd = 'Fwd'; # short version of forward for email subject ?>" => "none", "import2" => "none", "import3" => "none", "import4" => "none", "import" => "none", "export" => "none", "massunconfirm" => "none", ), "message" => array ( "message" => "owner", "messages" => "owner", "processqueue" => "none", "send" => "owner", "preparesend" => "none", "sendprepared" => "all", "template" => "none", "templates" => "none" ), "clickstats" => array ( 'statsmgt' => 'owner', 'mclicks' => 'owner', 'uclicks' => 'owner', 'userclicks' => 'owner', 'mviews' => 'owner', 'statsoverview' => 'owner', ), "admin" => array ( "admins" => "none", "admin" => "owner" ) ); $access_levels = array ( 0 => "none", 1 => "all", 2 => "view", # 3 => "edit", 4 => "owner" ); ?>es; } ?> n phplist_shutdown() { # output( "Script status: ".connection_status(),0); # with PHP 4.2.1 buggy. http://bugs.php.net/bug.php?id=17774 $status = connection_status(); if ($GLOBALS["mail_error_count"]) { $message = "Some errors occurred in the PHPlist Mailinglist System\n" . "URL: {$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}\n" . "Error message(s):\n\n" . $GLOBALS["mail_error"]; $message .= "\n==== debugging information\n\nSERVER Vars\n"; if (is_array($_SERVER)) while (list ($key, $val) = each($_SERVER)) if ($key != "password") $message .= $key . "=" . $val . "\n"; sendMail(getConfig("report_address"), $GLOBALS["installation_name"] . " Mail list error", $message, ""); } # print "Phplist shutdown $status"; # exit; } register_shutdown_function("phplist_shutdown"); ?>if unknown. * @access private * @return string */ function ServerHostname() { if ($this->Hostname != "") $result = $this->Hostname; elseif ($this->ServerVar('SERVER_NAME') != "") $result = $this->ServerVar('SERVER_NAME'); else $result = "localhost.localdomain"; return $result; } /** * Returns a message in the appropriate language. * @access private * @return string */ function Lang($key) { if(count($this->language) < 1) $this->SetLanguage("en"); // set the default language if(isset($this->language[$key])) return $this->language[$key]; else return "Language string failed to load: " . $key; } /** * Returns true if an error occurred. * @return bool */ function IsError() { return ($this->error_count > 0); } /** * Changes every end of line from CR or LF to CRLF. * @access private * @return string */ function FixEOL($str) { $str = str_replace("\r\n", "\n", $str); $str = str_replace("\r", "\n", $str); $str = str_replace("\n", $this->LE, $str); return $str; } /** * Adds a custom header. * @return void */ function AddCustomHeader($custom_header) { $this->CustomHeader[] = explode(":", $custom_header, 2); } } ?>LOBALS['rssfrequencies']))) { return $freq; } return ''; } class timer { var $start; function timer() { $now = gettimeofday(); $this->start = $now["sec"] * 1000000 + $now["usec"]; } function elapsed($seconds = 0) { $now = gettimeofday(); $end = $now["sec"] * 1000000 + $now["usec"]; $elapsed = $end - $this->start; if ($seconds) { return $elapsed / 1000000; } else { return $elapsed; } } } ?>
![]() | ||||
![]() |
![]() |
Subscribe to the jeffcaylor.com email list here. Unsubscribe from our Newsletters powered by phplist v 2.10.4, © tincan ltd | ![]() | ![]() |
![]() | ||||
".$GLOBALS["PoweredBy"].'
'; $res .= $data["footer"]; return $res; } ?>