/** * goodbye - Just prints a message and a close button. * * @param string The message. */ function goodbye($msg) { site_header(array('title' => _('Attachments'))); html_feedback_top($msg); echo '<p><p><center><form method="post"><input type="button" value="Close Window" onclick="window.close()"></form></center>'; site_footer(array()); exit; /*echo "<center>" . $msg . "</center><p>"; die ('<center><form method="post"><input type="button" value="Close Window" onclick="window.close()"></form></center>');*/ }
function exit_with_pretty_error($title, $header, $msg) { if ($title) { site_header($title, array("noindex")); } echo '<h2>' . $header . '</h2>'; echo '<p>' . $msg . '</p>'; site_footer(); exit; }
public function process(Codendi_Request $request) { switch ($request->get('action')) { case 'provide_datas': header('Content-type : text/csv'); echo file_get_contents($this->getCacheFolder() . 'data.csv'); break; case 'beacon': $this->processBoomerangDatas($request); break; default: require_once 'common/templating/TemplateRendererFactory.class.php'; $header_params = array('title' => 'Boomerang'); site_header($header_params); $renderer = TemplateRendererFactory::build()->getRenderer(BOOMERANG_BASE_DIR . '/../templates'); $presenter = new PerfDataPresenter(); $renderer->renderToPage('perf-data', $presenter); site_footer(null); break; } }
} if (preg_match("/^[A-Za-z]+:\\/\\//i", $return_to)) { $return_url = $return_to; } else { $return_url = $server_url . $return_to; } $redirect = $Language->getText('my_redirect', 'return_to', array($hp->purify($return_url, CODENDI_PURIFIER_CONVERT_HTML))); print ' <script language="JavaScript"> <!-- function return_to_url() { window.location="' . $hp->purify($return_url, CODENDI_PURIFIER_JS_QUOTE) . '"; } setTimeout("return_to_url()",1000); //--> </script> '; } else { $redirect = $Language->getText('my_redirect', 'default_txt'); } ?> <p><big><?php echo $redirect; ?> </big></p> <? ($pv == 2) ? $HTML->pv_footer(array()) : site_footer(array()); ?>
$announcements .= '</ul></div>'; $announcements .= '</div>'; } } } else { $announcements = ''; } $SIDEBAR = <<<SIDEBAR_DATA <p class='panel'><a href='/migration56' title='Upgrading to PHP 5.6' class='headline'>Upgrading to PHP 5.6</a></p> {$announcements} <p class='panel'><a href='/cal.php'>User Group Events</a></p> <p class='panel'><a href='/thanks.php'>Special Thanks</a></p> <p class='panel social-media'> <span class='headline'>Social media</span> <div class='body'> <ul> <li> <a href="https://twitter.com/official_php"> <i class="icon-twitter"></i> @official_php </a> </li> </ul> </div> </p> SIDEBAR_DATA; // Print the common footer. site_footer(array("atom" => "/feed.atom", 'elephpants' => true, 'sidebar' => $SIDEBAR));
echo gen_date($DBLANG); break; case 'graph': $path = "images/revcheck/info_revcheck_php_{$lang}.png"; if (is_readable($path)) { echo '<img src="' . $path . '" alt="info">'; echo gen_date($DBLANG); } else { echo "<p>Can't find graph.</p>"; } break; default: if ($lang == 'en') { echo '<img src="images/revcheck/info_revcheck_php_all_lang.png" alt="Info" class="chart">'; echo '<p>This is all what we can show for original manual. To get more tools, please select translation language.</p>'; echo gen_date($DBLANG); $sidebar = nav_languages(); site_footer($sidebar); } else { $intro_result = $dbhandle->query("SELECT intro FROM description WHERE lang = '{$lang}'"); $intro = $intro_result->fetchArray(); echo '<h2>Intro for language</h2>'; echo '<p>' . $intro[0] . '</p>'; echo '<p>Links to available tools are placed on the right sidebar.</p>'; } break; } if ($lang != 'en') { $sidebar = nav_tools($lang); site_footer($sidebar); }
echo " <table>\n"; foreach ($CONF_TEASER as $k => $a) { if (is_array($a) && count($a)) { echo " <tr>\n <td valign='top' style='white-space: nowrap'>" . $categories[$k] . ":</td>\n"; echo " <td valign='top'>\n"; echo ' <ul class="' . $k . '">' . "\n"; $count = 0; $a = preg_replace("'([A-Za-z0-9])([\\s\\:\\-\\,]*?)call for(.*?)\$'i", "\$1", $a); foreach ($a as $url => $title) { if ($count++ >= 4) { break; } echo ' <li><a href="' . $url . '">' . $title . '</a></li>' . "\n"; } echo " </ul>\n </td>\n </tr>\n"; } // if set } echo " </table>\n </div>\n\n<br />\n"; } /* Where the h*ll did all the news go? * See archives/2007.xml */ print_news($NEWS_ENTRIES, "frontpage"); ?> <p class="center"><a href="/archive/index.php">News Archive</a></p> <?php site_footer(array("atom" => "/feed.atom"));
} // If the two are more then 70% similar or $notfound is a substring // of $funcname, then the match is a very similar one if ($p >= 70 || strpos($functions[$file], $notfound) !== FALSE) { $maybe[$file] = '<b>' . $functions[$file] . '</b>'; } else { $maybe[$file] = $functions[$file]; } } unset($matches, $temp); } // Do not index page if presented as a search result if (count($maybe) > 0) { $head_options = array("noindex"); } else { $head_options = array(); } site_header("Manual Quick Reference", $head_options + array("current" => "help")); // Note: $notfound is defined (with htmlspecialchars) inside manual-lookup.php // Let's decode it for a nice search text box display. $notfound_dec = htmlspecialchars_decode($notfound); if ($snippet = is_known_snippet($notfound)) { echo "<h1>Related snippet found for '{$notfound}'</h1>"; echo "<p>{$snippet}</p>"; } // Left side content primary_content($notfound_dec); // Right side content (sidebar) $config = array("sidebar" => '<p class="panel">' . sidebar_content($notfound, $maybe)); site_footer($config);
/** * create_project * * Create a new project * * @param data */ function create_project($data, $do_not_exit = false) { srand((double) microtime() * 1000000); $random_num = rand(0, 1000000); // Make sure default project privacy status is defined. If not // then default to "public" if (!isset($GLOBALS['sys_is_project_public'])) { $GLOBALS['sys_is_project_public'] = 1; } if (isset($GLOBALS['sys_disable_subdomains']) && $GLOBALS['sys_disable_subdomains']) { $http_domain = $GLOBALS['sys_default_domain']; } else { $http_domain = $data['project']['form_unix_name'] . '.' . $GLOBALS['sys_default_domain']; } // make group entry $insert_data = array('group_name' => "'" . htmlspecialchars(mysql_real_escape_string($data['project']['form_full_name'])) . "'", 'is_public' => $GLOBALS['sys_is_project_public'], 'unix_group_name' => "'" . $data['project']['form_unix_name'] . "'", 'http_domain' => "'" . $http_domain . "'", 'status' => "'P'", 'unix_box' => "'shell1'", 'cvs_box' => "'cvs1'", 'license' => "'" . htmlspecialchars(mysql_real_escape_string($data['project']['form_license'])) . "'", 'license_other' => "'" . htmlspecialchars(mysql_real_escape_string($data['project']['form_license_other'])) . "'", 'short_description' => "'" . htmlspecialchars(mysql_real_escape_string($data['project']['form_short_description'])) . "'", 'register_time' => time(), 'rand_hash' => "'" . md5($random_num) . "'", 'built_from_template' => $data['project']['built_from_template'], 'type' => $data['project']['is_test'] ? 3 : 1, 'is_public' => $data['project']['is_public'] ? 1 : 0); $sql = 'INSERT INTO groups(' . implode(', ', array_keys($insert_data)) . ') VALUES (' . implode(', ', array_values($insert_data)) . ')'; $result = db_query($sql); if (!$result) { exit_error($GLOBALS['Language']->getText('global', 'error'), $GLOBALS['Language']->getText('register_confirmation', 'upd_fail', array($GLOBALS['sys_email_admin'], db_error()))); } else { $group_id = db_insertid($result); // insert descriptions $descfieldsinfos = getProjectsDescFieldsInfos(); for ($i = 0; $i < sizeof($descfieldsinfos); $i++) { if (isset($data['project']["form_" . $descfieldsinfos[$i]["group_desc_id"]]) && $data['project']["form_" . $descfieldsinfos[$i]["group_desc_id"]] != '') { $sql = "INSERT INTO group_desc_value (group_id, group_desc_id, value) VALUES ('" . $group_id . "','" . $descfieldsinfos[$i]["group_desc_id"] . "','" . db_escape_string(trim($data['project']["form_" . $descfieldsinfos[$i]["group_desc_id"]])) . "')"; $result = db_query($sql); if (!$result) { list($host, $port) = explode(':', $GLOBALS['sys_default_domain']); exit_error($GLOBALS['Language']->getText('global', 'error'), $GLOBALS['Language']->getText('register_confirmation', 'ins_desc_fail', array($host, db_error()))); } } } // insert trove categories if (isset($data['project']['trove'])) { foreach ($data['project']['trove'] as $root => $values) { foreach ($values as $value) { db_query("INSERT INTO trove_group_link (trove_cat_id,trove_cat_version," . "group_id,trove_cat_root) VALUES (" . $value . "," . time() . "," . $group_id . "," . $root . ")"); } } } // define a module $pm = ProjectManager::instance(); $result = db_query("INSERT INTO filemodule (group_id,module_name) VALUES ('{$group_id}','" . $pm->getProject($group_id)->getUnixName() . "')"); if (!$result) { list($host, $port) = explode(':', $GLOBALS['sys_default_domain']); exit_error($GLOBALS['Language']->getText('global', 'error'), $GLOBALS['Language']->getText('register_confirmation', 'ins_file_fail', array($host, db_error()))); } // make the current user a project admin as well as admin // on all Codendi services $result = db_query("INSERT INTO user_group (user_id,group_id,admin_flags,bug_flags,forum_flags,project_flags,patch_flags,support_flags,doc_flags,file_flags,wiki_flags,svn_flags,news_flags) VALUES (" . user_getid() . "," . $group_id . "," . "'A'," . "2," . "2," . "2," . "2," . "2," . "2," . "2," . "2," . "2," . "2)"); // news_flags if (!$result) { exit_error($GLOBALS['Language']->getText('global', 'error'), $GLOBALS['Language']->getText('register_confirmation', 'set_owner_fail', array($GLOBALS['sys_email_admin'], db_error()))); } // clear the user data to take into account this new group. $user = UserManager::instance()->getCurrentUser(); $user->clearGroupData(); /*//Add a couple of forums for this group and make the project creator // (current user) monitor these forums $fid = forum_create_forum($group_id,addslashes($GLOBALS['Language']->getText('register_confirmation','open_discussion')),1,1, addslashes($GLOBALS['Language']->getText('register_confirmation','general_discussion')), $need_feedback = false); if ($fid != -1) forum_add_monitor($fid, user_getid()); $fid = forum_create_forum($group_id,addslashes($GLOBALS['Language']->getText('global','help')),1,1, addslashes($GLOBALS['Language']->getText('register_confirmation','get_help')), $need_feedback = false); if ($fid != -1) forum_add_monitor($fid, user_getid()); $fid = forum_create_forum($group_id,addslashes($GLOBALS['Language']->getText('register_confirmation','developers')),0,1, addslashes($GLOBALS['Language']->getText('register_confirmation','proj_dev_discussion')), $need_feedback = false); if ($fid != -1) forum_add_monitor($fid, user_getid()); */ // Instanciate all services from the project template that are 'active' $pm = ProjectManager::instance(); $group = $pm->getProject($group_id); if (!$group || !is_object($group)) { exit_no_group(); } //set up the group_id $_REQUEST['group_id'] = $_GET['group_id'] = $group_id; $request =& HTTPRequest::instance(); $request->params['group_id'] = $_REQUEST['group_id']; $template_id = $group->getTemplate(); $template_group = $pm->getProject($template_id); if (!$template_group || !is_object($template_group) || $template_group->isError()) { exit_no_group(); } $system_template = $template_group->getStatus() == 's' || $template_group->getStatus() == 'S'; if (!$system_template) { $template_name = $template_group->getUnixName(); } $sql = "SELECT * FROM service WHERE group_id={$template_id} AND is_active=1"; $result = db_query($sql); while ($arr = db_fetch_array($result)) { if (isset($data['project']['services'][$arr['service_id']]['is_used'])) { $is_used = $data['project']['services'][$arr['service_id']]['is_used']; } else { $is_used = '0'; if ($arr['short_name'] == 'admin' || $arr['short_name'] == 'summary') { $is_used = '1'; } } $server_id = isset($data['project']['services'][$arr['service_id']]['server_id']) && $data['project']['services'][$arr['service_id']]['server_id'] ? $data['project']['services'][$arr['service_id']]['server_id'] : 'null'; if (!service_create_service($arr, $group_id, array('system' => $system_template, 'name' => $system_template ? '' : $template_name, 'id' => $template_id, 'is_used' => $is_used, 'server_id' => $server_id))) { exit_error($GLOBALS['Language']->getText('global', 'error'), $GLOBALS['Language']->getText('register_confirmation', 'cant_create_service') . '<br>' . db_error()); } } //Add the import of the message to requester from the parent project if defined $dar = $pm->getMessageToRequesterForAccessProject($template_id); if ($dar && !$dar->isError() && $dar->rowCount() == 1) { $row = $dar->getRow(); $result = $pm->setMessageToRequesterForAccessProject($group_id, $row['msg_to_requester']); } else { $result = $pm->setMessageToRequesterForAccessProject($group_id, 'member_request_delegation_msg_to_requester'); } if (!$result) { exit_error($GLOBALS['Language']->getText('global', 'error'), $GLOBALS['Language']->getText('register_confirmation', 'cant_copy_msg_to_requester')); } //Copy forums from template project $sql = "SELECT forum_name, is_public, description FROM forum_group_list WHERE group_id={$template_id} "; $result = db_query($sql); while ($arr = db_fetch_array($result)) { $fid = forum_create_forum($group_id, $arr['forum_name'], $arr['is_public'], 1, $arr['description'], $need_feedback = false); if ($fid != -1) { forum_add_monitor($fid, user_getid()); } } //copy cvs infos $sql = "SELECT cvs_tracker, cvs_watch_mode, cvs_preamble, cvs_is_private FROM groups WHERE group_id={$template_id} "; $result = db_query($sql); $arr = db_fetch_array($result); $query = "UPDATE groups \n SET cvs_tracker='" . $arr['cvs_tracker'] . "', \n cvs_watch_mode='" . $arr['cvs_watch_mode'] . "' , \n cvs_preamble='" . db_escape_string($arr['cvs_preamble']) . "',\n cvs_is_private = " . db_escape_int($arr['cvs_is_private']) . "\n WHERE group_id = '{$group_id}'"; $result = db_query($query); if (!$result) { exit_error($GLOBALS['Language']->getText('global', 'error'), $GLOBALS['Language']->getText('register_confirmation', 'cant_copy_cvs_infos')); } //copy svn infos $sql = "SELECT svn_tracker, svn_preamble, svn_mandatory_ref FROM groups WHERE group_id={$template_id} "; $result = db_query($sql); $arr = db_fetch_array($result); $query = "UPDATE groups SET svn_tracker='" . $arr['svn_tracker'] . "', svn_mandatory_ref='" . $arr['svn_mandatory_ref'] . "', svn_preamble='" . db_escape_string($arr['svn_preamble']) . "' " . "WHERE group_id = {$group_id}"; $result = db_query($query); if (!$result) { exit_error($GLOBALS['Language']->getText('global', 'error'), $GLOBALS['Language']->getText('register_confirmation', 'cant_copy_svn_infos')); } // Activate other system references not associated with any service $reference_manager =& ReferenceManager::instance(); $reference_manager->addSystemReferencesWithoutService($template_id, $group_id); // Create default document group $query = "INSERT INTO doc_groups(groupname,group_id,group_rank) " . "values (" . "'Documents'," . "'{$group_id}'," . "'10')"; $result = db_query($query); if (!$result) { exit_error($GLOBALS['Language']->getText('global', 'error'), $GLOBALS['Language']->getText('register_confirmation', 'cant_create_docgroup')); } //Copy ugroups $ugroup_mapping = array(); ugroup_copy_ugroups($template_id, $group_id, $ugroup_mapping); $sql_ugroup_mapping = ' ugroup_id '; if (is_array($ugroup_mapping) && count($ugroup_mapping)) { $sql_ugroup_mapping = ' CASE ugroup_id '; foreach ($ugroup_mapping as $key => $val) { $sql_ugroup_mapping .= ' WHEN ' . $key . ' THEN ' . $val; } $sql_ugroup_mapping .= ' ELSE ugroup_id END '; } //Copy packages from template project $sql = "SELECT package_id, name, status_id, rank, approve_license FROM frs_package WHERE group_id = {$template_id}"; if ($result = db_query($sql)) { while ($p_data = db_fetch_array($result)) { $template_package_id = $p_data['package_id']; $sql = sprintf("INSERT INTO frs_package(group_id, name, status_id, rank, approve_license) VALUES (%s, '%s', %s, %s, %s)", $group_id, db_escape_string($p_data['name']), $p_data['status_id'], $p_data['rank'], $p_data['approve_license']); $rid = db_query($sql); if ($rid) { $package_id = db_insertid($rid); $sql = "INSERT INTO permissions(permission_type, object_id, ugroup_id) \n SELECT permission_type, {$package_id}, {$sql_ugroup_mapping}\n FROM permissions\n WHERE permission_type = 'PACKAGE_READ'\n AND object_id = {$template_package_id}"; db_query($sql); } } } //Set up some mailing lists //will be done at some point. needs to communicate with geocrawler // TBD // Generic Trackers Creation $atf = new ArtifactTypeFactory($template_group); //$tracker_error = ""; // Add all trackers from template project (tracker templates) that need to be instanciated for new trackers. $res = $atf->getTrackerTemplatesForNewProjects(); $tracker_mapping = array(); $report_mapping = array(); while ($arr_template = db_fetch_array($res)) { $ath_temp = new ArtifactType($template_group, $arr_template['group_artifact_id']); $report_mapping_for_this_tracker = array(); $new_at_id = $atf->create($group_id, $template_id, $ath_temp->getID(), db_escape_string($ath_temp->getName()), db_escape_string($ath_temp->getDescription()), $ath_temp->getItemName(), $ugroup_mapping, $report_mapping_for_this_tracker); if (!$new_at_id) { $GLOBALS['Response']->addFeedback('error', $atf->getErrorMessage()); } else { $report_mapping = $report_mapping + $report_mapping_for_this_tracker; $tracker_mapping[$ath_temp->getID()] = $new_at_id; // Copy all the artifacts from the template tracker to the new tracker $ath_new = new ArtifactType($group, $new_at_id); // not now. perhaps one day //if (!$ath_new->copyArtifacts($ath_temp->getID()) ) { //$GLOBALS['Response']->addFeedback('info', $ath_new->getErrorMessage()); //} // Create corresponding reference $ref = new Reference(0, strtolower($ath_temp->getItemName()), $GLOBALS['Language']->getText('project_reference', 'reference_art_desc_key'), '/tracker/?func=detail&aid=$1&group_id=$group_id', 'P', 'tracker', ReferenceManager::REFERENCE_NATURE_ARTIFACT, '1', $group_id); $result = $reference_manager->createReference($ref, true); // Force reference creation because default trackers use reserved keywords } } // Clone wiki from the template $clone = new WikiCloner($template_id, $group_id); // check if the template project has a wiki initialised if ($clone->templateWikiExists() and $clone->newWikiIsUsed()) { //clone wiki. $clone->CloneWiki(); } //Create the summary page $lm = new WidgetLayoutManager(); $lm->createDefaultLayoutForProject($group_id, $template_id); //Create project specific references if template is not default site template if (!$system_template) { $reference_manager =& ReferenceManager::instance(); $reference_manager->addProjectReferences($template_id, $group_id); } // Raise an event for plugin configuration $em =& EventManager::instance(); $em->processEvent('register_project_creation', array('reportMapping' => $report_mapping, 'trackerMapping' => $tracker_mapping, 'ugroupsMapping' => $ugroup_mapping, 'group_id' => $group_id, 'template_id' => $template_id)); if (!$do_not_exit) { $content = ''; include $GLOBALS['Language']->getContent('project/complete'); site_header(array('title' => $GLOBALS['Language']->getText('register_confirmation', 'registration_complete'))); echo $content; site_footer(array()); exit(0); } else { return $group_id; } } }
</ul> <p> Further details about this release can be found in the <a href="/release_4_4_2.php">release announcement</a> and the full list of changes is available in the <a href="/ChangeLog-4.php#4.4.2">PHP 4 ChangeLog</a>. </p> <hr> <h1>PHP 5.1.2 Released</h1> <p> <span class="newsdate">[12-Jan-2006]</span> The PHP development team is proud to announce the release of <a href="/downloads.php">PHP 5.1.2</a>. This release combines small feature enhancements with a fair number of bug fixes and addresses three security issues. All PHP 5 users are encouraged to upgrade to this release. Some of the key changes of PHP 5.1.2 include: </p> <ul> <li>HTTP Response Splitting has been addressed in ext/session and in the header() function.</li> <li>Fixed format string vulnerability in ext/mysqli.</li> <li>Fixed possible cross-site scripting problems in certain error conditions.</li> <li>Hash & XMLWriter extensions added and enabled by default.</li> <li>Upgraded OCI8 extension.</li> <li>Over 85 various bug fixes.</li> </ul> <p> Further details about this release can be found in the <a href="/release_5_1_2.php">release announcement</a> and the full list of changes is available in the <a href="/ChangeLog-5.php#5.1.2">PHP 5 ChangeLog</a>. </p> <?php site_footer(array('elephpants' => true, 'sidebar' => $SIDEBAR_DATA));
$lang_input = "\n"; } ?> <h1>Search</h1> <form action="/search.php" method="post"> <p><?php echo $lang_input; ?> Search for: <input type="text" name="pattern" value="" size="30" /> in the <select name="show"> <?php if (empty($_FORM['show'])) { $_FORM['show'] = 'quickref'; } $searchoptions = array("quickref" => "function list", "all" => "all php.net sites", "local" => "this mirror only", "manual" => "online documentation [en]", "bugdb" => "bug database", "news_archive" => "Site News Archive", "changelogs" => "All Changelogs", "pear" => "just pear.php.net", "pecl" => "just pecl.php.net", "talks" => "just talks.php.net", "maillist" => "general mailing list", "devlist" => "developer mailing list", "phpdoc" => "documentation mailing list"); // Print out an <option> for all search options foreach ($searchoptions as $key => $value) { echo ' <option value="' . $key . '"' . ($key == $_FORM['show'] ? ' selected="selected"' : '') . '>' . $value . "</option>\n"; } ?> </select> <input type="submit" value=" Search " /> </p> </form> <?php } echo '<script type="text/javascript">loadSuggestCode();</script>'; site_footer(array("functionsjs")); }
} else { foreach ($source as $src) { if (!isset($src["filename"])) { continue; } printf('<a href="http://museum.php.net/php%d/%s">%s</a>' . "\n", $major, $src["filename"], $src["name"]); } foreach ($windows as $src) { printf('<a href="http://museum.php.net/%s/%s">%s</a>' . "\n", $major == 5 ? "php5" : "win32", $src["filename"], $src["name"]); } } echo " </li>\n"; echo " </ul>\n"; } $latest = max(array_keys($OLDRELEASES)); foreach ($OLDRELEASES as $major => $a) { echo '<a id="v' . $major . '"></a>'; if ($major != $latest) { echo "\n<hr>\n"; if ($major == 4) { echo '<p>Support for PHP 4 has been <b style="color: red;">discontinued</b> since 2007-12-31. Please consider upgrading to PHP 5.</p>' . "\n"; } } $i = 0; foreach ($a as $ver => $release) { $i++; mk_rel($major, $ver, $release["date"], isset($release["announcement"]) ? $release["announcement"] : false, $release["source"], isset($release["windows"]) ? $release["windows"] : array(), isset($release["museum"]) ? $release["museum"] : ($i < 3 ? false : true)); } } site_footer(array("sidebar" => $SIDEBAR_DATA));
// Print body of home page. print_view('homepage/sidebar.php', array('announcements' => $announcements)); print $content; $thanksTo = <<<THANKS <section id='thanks-to'> <h3>Thanks To</h3> <ul> <li><a target="_blank" href="http://www.easydns.com/?V=698570efeb62a6e2" title="DNS Hosting provided by easyDNS">easyDNS</a></li> <li><a target="_blank" href="http://www.directi.com/" title="Directi">Directi</a></li> <li><a target="_blank" href="http://promote.pair.com/direct.pl?php.net" title="pair Networks">pair Networks</a></li> <li><a target="_blank" href="http://www.servercentral.net/" title="Server Central">Server Central</a></li> <li><a target="_blank" href="http://www.hostedsolutions.com/" title="Hosted Solutions">Hosted Solutions</a></li> <li><a target="_blank" href="http://www.spry.com/" title="Spry VPS Hosting">Spry VPS Hosting</a></li> <li><a target="_blank" href="http://ez.no/" title="eZ Systems">eZ Systems</a> / <a href="http://www.hit.no/">HiT</a></li> <li><a target="_blank" href="http://www.osuosl.org" title="OSU Open Source Lab">OSU Open Source Lab</a></li> <li><a target="_blank" href="http://www.yahoo.com/" title="Yahoo! Inc.">Yahoo! Inc.</a></li> <li><a target="_blank" href="http://www.binarysec.com/" title="BinarySEC">BinarySEC</a></li> <li><a target="_blank" href="http://www.nexcess.net/" title="NEXCESS.NET">NEXCESS.NET</a></li> <li><a target="_blank" href="http://www.rackspace.com/" title="Rackspace">Rackspace</a></li> <li><a target="_blank" href="http://www.eukhost.com/" title="EUKhost">EUKhost</a></li> <li><a target="_blank" href="http://www.sohosted.nl/webhosting/" title="Sohosted">Sohosted</a></li> <li><a target="_blank" href="http://www.redpill-linpro.com" title="Redpill Linpro">Redpill Linpro</a></li> <li><a target="_blank" href="http://www.facebook.com" title="Facebook">Facebook</a></li> <li><a target="_blank" href="http://krystal.co.uk" title="Krystal.co.uk">Krystal.co.uk</a></li> <li><a target="_blank" href="http://servergrove.com/" title="ServerGrove">ServerGrove</a></li> </ul> </section> THANKS; // Print the common footer. site_footer(array("atom" => "/feed.atom", 'elephpants' => true, 'spanning-content' => $thanksTo));
} echo '<dt class="ug"><a href="' . $group["url"] . '">' . $group["name"] . "</a></dt><dd>{$details}</dd>"; } if (!$matches) { echo "<dt>Sorry</dt><dd>There are no known User Groups in {$COUNTRIES[$country]} at this time :(</dd>"; } echo "</dl>"; } $country = isset($_GET["cc"]) ? $_GET["cc"] : $COUNTRY; $country_alpha_2 = isset($COUNTRY_ALPHA_3_TO_2[$country]) ? $COUNTRY_ALPHA_3_TO_2[$country] : "NA"; $allcountries = array(); $matches = get_usergroups_in($country_alpha_2, $allcountries); if (isset($COUNTRIES[$country])) { print_cc_header($country); print_ug_matches($matches); } else { echo "<h1>Unknown country</h1>"; } uksort($allcountries, function ($first, $second) { global $COUNTRIES; return strnatcasecmp($COUNTRIES[$first], $COUNTRIES[$second]); }); $SIDEBAR_DATA = <<<EOF <p class="panel"><a href="http://php.ug/ug/promote">Register new UG</a></p> EOF; foreach ($allcountries as $country => $nada) { $SIDEBAR_DATA .= '<p class="panel"><a href="/ug.php?cc=' . $country . '">' . $COUNTRIES[$country] . '</a></p>'; } // Print the common footer. site_footer(array("atom" => "/feed.atom", "sidebar" => $SIDEBAR_DATA));
// SourceForge: Breaking Down the Barriers to Open Source Development // Copyright 1999-2000 (c) The SourceForge Crew // http://sourceforge.net // // $Id: contact.php,v 1.3 2001/01/13 18:32:01 child Exp $ require "pre.php"; // Initial db and session library, opens session site_header(array('title' => 'Contact Us')); ?> <P>You may contact any of the <A href="staff.php">staff</A> directly via email. <P> All <B>support questions</B> should be submitted through the <A HREF="/support/?func=addsupport&group_id=1">Support Manager</A>. <P> If you feel you are encountering a <B>bug</B> or unusual error of any kind, please <A HREF="/bugs/?func=addbug&group_id=1"><B>submit a bug</B></A>. <P>All press inquiries should be directed to: <UL><LI><A href="/sendmessage.php?toaddress=eureka_maillink_valinux.com">Eureka Endo</A> <BR>Press Relations Manager, VA Linux Systems <BR>408.542.5754</UL> <P>All complaints/bugs should be directed to: <UL><LI><A href="/bugs/?group_id=1">Our Bug Tracking System</A></UL> <P>If you're especially bored, you can visit our bug tracking system to see what other people have submitted, too. <?php site_footer(array());
<?php if (isset($GPG_KEYS[$branch])) { ?> <h3 id="gpg-<?php echo $branch; ?> " class="content-header">PHP <?php echo $branch; ?> </h3> <div class="content-box"> <pre> <?php echo $GPG_KEYS[$branch]; ?> </pre> </div> <?php } } ?> <p> <a href="gpg-keys.php"> A full list of GPG keys used for current and older releases is also available. </a> </p> <?php site_footer(array('sidebar' => $SIDEBAR_DATA));
if ($category["term"] == "cfp") { $frontpage[] = $entry; break; } if ($category["term"] == "conferences") { $frontpage[] = $entry; break; } } } $panels = '<p class="prepend"><a href="https://wiki.php.net/conferences">Want to see your conference appear here?</a></p>'; foreach ($frontpage as $entry) { $link = substr($entry["id"], 15); // Strip http://php.net/ $id = parse_url($entry["id"], PHP_URL_FRAGMENT); $date = date_format(date_create($entry["updated"]), 'Y-m-d'); $content .= '<div class="newsentry">'; $content .= '<h3 class="newstitle title"><a href="' . $MYSITE . $link . '" name="' . $id . '">' . $entry["title"] . '</a></h3>'; $content .= '<div class="newsimage">'; $content .= sprintf('<a href="%s"><img src="/images/news/%s"></a>', $entry["newsImage"]["link"], $entry["newsImage"]["content"]); $content .= '</div>'; $content .= '<div class="newscontent">'; $content .= $entry["content"]; $content .= '</div>'; $content .= '</div>'; $panels .= sprintf('<p class="panel"><a href="%s">%s</a></p>', $entry["newsImage"]["link"], $entry["title"]); } $content .= "</div>"; echo $content; site_footer(array("atom" => "/feed.atom", "elephpants" => true, "sidebar" => $panels));
<?php // $Id: 5_2_0.php,v 1.4 2007/01/16 16:04:05 bjori Exp $ $_SERVER['BASE_PAGE'] = 'releases/5_5_1.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; site_header("PHP 5.5.1 Release Announcement"); ?> <h1>PHP 5.5.1 Release Announcement</h1> <p> The PHP development team is proud to announce the immediate availability of PHP <a href="http://php.net/downloads.php#v5.5.1">5.5.1</a>. This release fixes several bugs. </p> <p>The PHP development team announces the immediate availability of PHP 5.5.1. About 20 bugs were fixed, including a security fix in the XML parser (Bug #65236). All users of PHP are encouraged to upgrade to this release.</p> <p>For source downloads of PHP 5.5.1 please visit our <a href="http://www.php.net/downloads.php">downloads page</a>, Windows binaries can be found on <a href="http://windows.php.net/download/">windows.php.net/download/</a>. The list of changes is recorded in the <a href="http://www.php.net/ChangeLog-5.php#5.5.1">ChangeLog</a>. </p> <?php site_footer();
<a href="/license/">see our licensing information page</a>. </p> '; site_header("ElePHPant", array("current" => "footer")); ?> <a name="copyright"></a> <h1>ElePHPant</h1> <p> The ElePHPant is the adorable, elephantine mascot of the PHP project. Occasionally, official stuffed toy elePHPants designed by <a href="http://www.elroubio.net">Vincent Pontier</a> are made available. You may have seen pictures of them (from <a href="https://www.flickr.com/groups/elephpants/">Flickr</a>) at the bottom of the php.net homepage. Beware of imitators. </p> <p> <img src="images/logos/elephpant-running-78x48.gif" alt=""> </p> <p> For more information on the PHP Group and the PHP project, please see <a href="http://php.net/">the PHP homepage</a>. </p> <?php // Print the common footer. site_footer(array('elephpants' => true));