PageRenderTime 796ms queryTime 93ms sortTime 320ms getByIdsTime 59ms findMatchingLines 65ms

100+ results results for 'php header' (796 ms)

Not the results you expected?
trackback.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 372 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PHP Class to handle TrackBacks (send/ping, receive, retreive, detect, seed, etc...)
                    
4 * 
                    
4 * 
                    
5 * <code><?php
                    
6 * include('trackback_cls.php');
                    
11 * 
                    
12 * @version $Id: trackback_cls.php,v 1.2 2004/12/11 18:54:32 Ran Exp $
                    
13 * @copyright Copyright (c) 2004 Ran Aroussi (http://www.blogish.org)
                    
14 * @author Ran Aroussi <ran@blogish.org> 
                    
15 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
                    
16 * 
                    
137     * 
                    
138     * <code><?php
                    
139     * // 1
                    
                
index.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 428 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
25
                    
26require('../../config.php');
                    
27require_once($CFG->libdir . '/completionlib.php');
                    
66
                    
67$url = new moodle_url('/report/progress/index.php', array('course'=>$id));
                    
68if ($sort !== '') {
                    
92// nothing to display (no users or no activities)
                    
93$reportsurl = $CFG->wwwroot.'/course/report.php?id='.$course->id;
                    
94$completion = new completion_info($course);
                    
134    $shortname = format_string($course->shortname, true, array('context' => $context));
                    
135    header('Content-Disposition: attachment; filename=progress.'.
                    
136        preg_replace('/[^a-z0-9-]/','_',textlib::strtolower(strip_tags($shortname))).'.csv');
                    
138    if ($excel) {
                    
139        header('Content-Type: text/csv; charset=UTF-16LE');
                    
140        print chr(0xFF).chr(0xFE);
                    
                
fckeditor.css https://gitlab.com/ptisky/API_prestashop | CSS | 536 lines
                    
158#fileName{overflow:hidden;}

                    
159#header

                    
160{

                    
167	height:59px;

                    
168	background-image: url(../images/header.jpg);

                    
169	background-repeat: no-repeat;

                    
205}

                    
206#actionHeader

                    
207{

                    
289span.fileExcel{background-image:url(../images/small_icon/fileExcel.png);}

                    
290span.filePhp{background-image:url(../images/small_icon/filePhp.png);}

                    
291span.fileMusic{background-image:url(../images/small_icon/fileMusic.png);}

                    
328dt.fileExcel{background-image:url(../images/big_icon/fileExcel.png);}

                    
329dt.filePhp{background-image:url(../images/big_icon/filePhp.png);}

                    
330dt.fileMusic{background-image:url(../images/big_icon/fileMusic.png);}

                    
                
CheckOut.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 319 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Created by PhpStorm.
                    
4 * User: THANH
                    
23            else {
                    
24                header('Location:'.APP_DOMAIN);
                    
25            }
                    
27        else {
                    
28            header('Location:'.APP_DOMAIN);
                    
29        }
                    
45                    if(G::$Authorized->CheckLogin($username, $password)){
                    
46                        header('Location:'.'/CheckOut/Main');
                    
47                    }
                    
72                        G::$Authorized->CheckLogin($User['email'], $User['password']);
                    
73                        header('Location:'.'/CheckOut/Main');
                    
74                    }
                    
                
Ods.php https://gitlab.com/rsilveira1987/Expresso | PHP | 400 lines
                    
1<?php
                    
2/**
                    
141        // add header (disabled at the moment)
                    
142        if (isset($this->_config->header) && $this->_config->header) {
                    
143            $this->_addHead($this->_activeTable);
                    
240        
                    
241        // add header (replace placeholders)
                    
242        if (isset($this->_config->headers)) {
                    
260            
                    
261            foreach($this->_config->headers->header as $headerCell) {
                    
262                // replace data
                    
262                // replace data
                    
263                $value = preg_replace($patterns, $replacements, $headerCell);
                    
264                $cell = $row->appendCell($value, OpenDocument_SpreadSheet_Cell::TYPE_STRING);
                    
274        foreach($this->_config->columns->column as $field) {
                    
275            $headerValue = ($field->header) ? $i18n->translate($field->header) : $field->identifier;
                    
276            $cell = $row->appendCell($headerValue, OpenDocument_SpreadSheet_Cell::TYPE_STRING);
                    
                
modules-defaults.php https://gitlab.com/Magi1053/Extra | PHP | 250 lines
                    
1<?php
                    
2// Prevent file from being loaded directly
                    
14			// Posts
                    
15		'et_pb_posts-header_font_size'                            => '16px',
                    
16		'et_pb_posts-header_font_style'                           => 'uppercase',
                    
16		'et_pb_posts-header_font_style'                           => 'uppercase',
                    
17		'et_pb_posts-header_text_color'                           => '',
                    
18		'et_pb_posts-header_line_height'                          => '1',
                    
18		'et_pb_posts-header_line_height'                          => '1',
                    
19		'et_pb_posts-header_letter_spacing'                       => '1.2px',
                    
20
                    
20
                    
21		'et_pb_posts-subheader_font_size'                         => '14px',
                    
22		'et_pb_posts-subheader_font_style'                        => '',
                    
22		'et_pb_posts-subheader_font_style'                        => '',
                    
23		'et_pb_posts-subheader_text_color'                        => '',
                    
24		'et_pb_posts-subheader_line_height'                       => '1em',
                    
                
Curl.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 576 lines
                    
83     */
                    
84    protected $_responseHeaders = array();
                    
85
                    
166     */
                    
167    public function setHeaders($headers)
                    
168    {
                    
168    {
                    
169        $this->_headers = $headers;
                    
170
                    
206        //$val= base64_encode( "$login:$pass" );
                    
207        //$this->addHeader( "Authorization", "Basic $val" );
                    
208    }
                    
405        $this->curlOption(CURLOPT_FOLLOWLOCATION, 1);
                    
406        $this->curlOption(CURLOPT_HEADERFUNCTION, array($this,'parseHeaders'));
                    
407
                    
                
template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
                    
12Loc::loadMessages(__FILE__);
                    
13?><div class="container-fluid"><?php
                    
14if (!empty($arResult['ERRORS']['FATAL']))
                    
117		$paymentChangeData = array();
                    
118		$orderHeaderStatus = null;
                    
119
                    
124				<div class="col">
                    
125					<div class="personal-order-item-header">
                    
126						<h2 class="personal-order-item-title">
                    
292	{
                    
293		$orderHeaderStatus = null;
                    
294
                    
299				<div class="col">
                    
300					<div class="personal-order-item-header">
                    
301						<h2 class="personal-order-item-title">
                    
                
length_class.php https://bitbucket.org/elena_dyavolova/omf.git | PHP | 412 lines
                    
1<?php
                    
2class ControllerLocalisationLengthClass extends Controller {
                    
259		$this->children = array(
                    
260			'common/header',
                    
261			'common/footer'
                    
356		$this->children = array(
                    
357			'common/header',
                    
358			'common/footer'
                    
                
Client.php https://bitbucket.org/cryofrost/portal.git | PHP | 489 lines
                    
1<?php
                    
2
                    
16use Symfony\Component\DomCrawler\Form;
                    
17use Symfony\Component\Process\PhpProcess;
                    
18use Symfony\Component\BrowserKit\Request;
                    
226
                    
227        return $this->request($form->getMethod(), $form->getUri(), $form->getPhpValues(), $form->getPhpFiles());
                    
228    }
                    
236     * @param array   $files         The files
                    
237     * @param array   $server        The server parameters (HTTP headers are referenced with a HTTP_ prefix as PHP does)
                    
238     * @param string  $content       The raw body data
                    
252        }
                    
253        $server['HTTP_HOST'] = parse_url($uri, PHP_URL_HOST);
                    
254        $server['HTTPS'] = 'https' == parse_url($uri, PHP_URL_SCHEME);
                    
273
                    
274        $this->redirect = $response->getHeader('Location');
                    
275
                    
                
CurrentEmployer.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 394 lines
                    
1<?php
                    
2/*
                    
204
                    
205    $select = $this->_columnHeaders = [];
                    
206
                    
214            $select[] = "{$field['dbAlias']} as {$tableName}_{$fieldName}";
                    
215            $this->_columnHeaders["{$tableName}_{$fieldName}"]['type'] = CRM_Utils_Array::value('type', $field);
                    
216            $this->_columnHeaders["{$tableName}_{$fieldName}"]['title'] = CRM_Utils_Array::value('title', $field);
                    
                
otb.c https://bitbucket.org/ardalanaz/dava.framework.git | C | 387 lines
                    
25%                                                                             %
                    
26%    http://www.imagemagick.org/script/license.php                            %
                    
27%                                                                             %
                    
157  if ((image->columns == 0) || (image->rows == 0))
                    
158    ThrowReaderException(CorruptImageError,"ImproperImageHeader");
                    
159  depth=(unsigned char) ReadBlobByte(image);
                    
                
sysvmsg.c https://bitbucket.org/luobailiang/php-src.git | C | 477 lines
                    
9  | available through the world-wide-web at the following url:           |
                    
10  | http://www.php.net/license/3_01.txt                                  |
                    
11  | If you did not receive a copy of the PHP license and are unable to   |
                    
12  | obtain it through the world-wide-web, please send a note to          |
                    
13  | license@php.net so we can mail you a copy immediately.               |
                    
14  +----------------------------------------------------------------------+
                    
90const zend_function_entry sysvmsg_functions[] = {
                    
91	PHP_FE(msg_get_queue,				arginfo_msg_get_queue)
                    
92	PHP_FE(msg_send,					arginfo_msg_send)
                    
145{
                    
146	php_info_print_table_start();
                    
147	php_info_print_table_row(2, "sysvmsg support", "enabled");
                    
342
                    
343	messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf));
                    
344
                    
                
Part.php https://bitbucket.org/baruffaldi/cms-php-bfcms.git | PHP | 486 lines
                    
129            if (is_array($params['headers'])) {
                    
130                $this->_headers = $params['headers'];
                    
131            } else {
                    
357            case 'array':
                    
358                $header = (array)$header;
                    
359            default:
                    
368     *
                    
369     * If the header occurs more than once, only the value from the first header
                    
370     * is returned.
                    
374     *
                    
375     * @param  string $name       name of header, like in getHeader()
                    
376     * @param  string $wantedPart the wanted part, default is first, if null an array with all parts is returned
                    
381    public function getHeaderField($name, $wantedPart = 0, $firstName = 0) {
                    
382    	return Zend_Mime_Decode::splitHeaderField(current($this->getHeader($name, 'array')), $wantedPart, $firstName);
                    
383    }
                    
                
CombinationChart.html https://bitbucket.org/royrutto/climatepal.git | HTML | 266 lines
                    
11  <tr> 
                    
12    <td><h2 class="pageHeader">FusionCharts PHP Class API &gt; Creating Combination Chart </h2></td>
                    
13  </tr>
                    
115  <tr>
                    
116    <td valign="top" class="codeBlock"><p>&lt;?php</p>
                    
117      <p> <span class="codeComment">&nbsp;&nbsp; # Include FusionCharts PHP Class</span><br />
                    
117      <p> <span class="codeComment">&nbsp;&nbsp; # Include FusionCharts PHP Class</span><br />
                    
118      &nbsp;&nbsp; include('../Class/FusionCharts_Gen.php');</p>
                    
119      <p> <span class="codeComment">&nbsp;&nbsp; # Create Column 3D + Line Dual Y-Axis Combination Chart </span><br />
                    
159   &nbsp;&nbsp; &lt;head&gt;<br />
                    
160   &nbsp;&nbsp; &nbsp;&nbsp; &lt;title&gt;First Chart Using FusionCharts PHP Class&lt;/title&gt;<br />
                    
161   &nbsp;&nbsp; &nbsp;&nbsp; &lt;script language='javascript' src='../FusionCharts/FusionCharts.js'&gt;&lt;/script&gt;<br />
                    
163   &nbsp;&nbsp; &lt;body&gt;</p>
                    
164      <p>&nbsp;&nbsp; &nbsp;&nbsp; &lt;?php<br />
                    
165        <span class="codeComment">&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; # Render Chart</span><br />
                    
                
DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
                    
1/*
                    
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
                    
3 *
                    
16 * specific language governing permissions and limitations under the
                    
17 * License.  When distributing the software, include this License Header
                    
18 * Notice in each file and include the License file at
                    
22 * accompanied this code. If applicable, add the following below the
                    
23 * License Header, with the fields enclosed by brackets [] replaced by
                    
24 * your own identifying information:
                    
41 */
                    
42package org.netbeans.modules.php.project.connections.sync.diff;
                    
43
                    
61import org.netbeans.api.diff.StreamSource;
                    
62import org.netbeans.modules.php.api.util.StringUtils;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
                
MaildirTest.php https://github.com/MontmereLimited/zf2.git | PHP | 444 lines
                    
1<?php
                    
2/**
                    
36 */
                    
37class MaildirTest extends \PHPUnit_Framework_TestCase
                    
38{
                    
206
                    
207    public function testFetchHeader()
                    
208    {
                    
219
                    
220        $content = $mail->getHeader(3, 1)->getContent();
                    
221        $this->assertEquals('Fair river! in thy bright, clear flow', trim($content));
                    
223*/
                    
224    public function testFetchMessageHeader()
                    
225    {
                    
                
editUserGroup.php https://bitbucket.org/jasonrogena/fulcrum-dqs.git | PHP | 353 lines
                    
1<?php include "../phpScripts/accessConfirmation.php";?>
                    
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                    
123<?php
                    
124include '../phpScripts/dbConnect.php';
                    
125dbConnect($_COOKIE['developerUsername'], $_COOKIE['developerPassword']);
                    
131    {
                    
132        header("location:userGroups.php");
                    
133    }
                    
193    {
                    
194        echo "<meta http-equiv=\"refresh\" content=\"0;URL=../phpScripts/updateUserGroup.php\" />";
                    
195    }
                    
212    $devUsername=$_COOKIE['developerUsername'];
                    
213    echo "<a class=\"links\" href=\"editDeveloperProfile.php\"><p>$devUsername</p></a>";
                    
214?></div>
                    
214?></div>
                    
215<div><a href="../phpScripts/logout.php" class="links">logout</a></div>
                    
216</td></tr>
                    
                
header.tmpl.php https://github.com/harriswong/ATutor.git | PHP | 237 lines
                    
56	<?php if ($system_courses[$_SESSION['course_id']]['rss']): ?>
                    
57	<link rel="alternate" type="application/rss+xml" title="<?php echo SITE_NAME; ?> - RSS 2.0" href="<?php echo $this->base_path; ?>get_rss.php?<?php echo $_SESSION['course_id']; ?>-2" />
                    
58	<link rel="alternate" type="application/rss+xml" title="<?php echo SITE_NAME; ?> - RSS 1.0" href="<?php echo $this->base_path; ?>get_rss.php?<?php echo $_SESSION['course_id']; ?>-1" />
                    
102		<a href="<?php echo $this->base_path; ?>browse.php"><?php echo _AT('browse_courses'); ?></a> | 
                    
103		<a href="<?php echo $this->base_path; ?>login.php?course=<?php echo $_SESSION['course_id']; ?>"><?php echo _AT('login'); ?></a> | 
                    
104		<a href="<?php echo $this->base_path; ?>search.php"><?php echo _AT('search'); ?></a> | 
                    
147	<?php if (($_SESSION['course_id'] > 0) && ($_SESSION['enroll'] == AT_ENROLL_NO)) : ?>
                    
148		- <small><a href="<?php echo $this->base_path; ?>enroll.php?course=<?php echo $_SESSION['course_id']; ?>"><?php echo _AT('enroll_me'); ?></a></small>
                    
149	<?php endif; ?></h1>
                    
160				<?php else: ?>
                    
161					<li><a href="<?php echo $page['url']; ?>" <?php echo $accesskey_text; ?> title="<?php echo $page['title'] . $accesskey_title; ?>"><?php echo $page['title']; ?></a></li>
                    
162				<?php endif; ?>
                    
225			if ($this->sequence_links['next']): ?>
                    
226				<a href="<?php echo $this->sequence_links['next']['url']; ?>" title="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." accesskey="."><img src="<?php echo $this->img; ?>next.gif" border="0" alt="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." class="img-size-ascdesc" /></a>
                    
227			<?php endif; ?>
                    
                
packet.cpp https://gitlab.com/iranjith4/hhvm | C++ | 432 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com)     |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
                
twitter-timeline.php https://gitlab.com/hunt9310/ras | PHP | 470 lines
                    
336				<?php esc_html_e( 'Widget Type:', 'jetpack' ); ?>
                    
337				<?php echo $this->get_docs_link( '#widget-type' ); ?>
                    
338			</label>
                    
359				<?php esc_html_e( 'Widget ID:', 'jetpack' ); ?>
                    
360				<?php echo $this->get_docs_link( '#widget-id' ); ?>
                    
361			</label>
                    
379		<p>
                    
380			<label for="<?php echo $this->get_field_id( 'chrome-noheader' ); ?>">
                    
381				<?php esc_html_e( 'Layout Options:', 'jetpack' ); ?>
                    
384			<input
                    
385				type="checkbox"<?php checked( in_array( 'noheader', $instance['chrome'] ) ); ?>
                    
386				id="<?php echo $this->get_field_id( 'chrome-noheader' ); ?>"
                    
389			/>
                    
390			<label for="<?php echo $this->get_field_id( 'chrome-noheader' ); ?>">
                    
391				<?php esc_html_e( 'No Header', 'jetpack' ); ?>
                    
                
MaildirFolderTest.php https://github.com/mfairchild365/zf2.git | PHP | 444 lines
                    
1<?php
                    
2/**
                    
36 */
                    
37class MaildirFolderTest extends \PHPUnit_Framework_TestCase
                    
38{
                    
203        try {
                    
204            // explicit call of __toString() needed for PHP < 5.2
                    
205            $this->assertEquals($mail->getFolders()->subfolder->__toString(), 'subfolder');
                    
235
                    
236            // explicit call of __toString() needed for PHP < 5.2
                    
237            $found_folders[$folder->__toString()] = $localName;
                    
257
                    
258            // explicit call of __toString() needed for PHP < 5.2
                    
259            $found_folders[$folder->__toString()] = $localName;
                    
277
                    
278            // explicit call of __toString() needed for PHP < 5.2
                    
279            $found_folders[$folder->__toString()] = $localName;
                    
                
Twig.php https://gitlab.com/3dplex/3d-plex-main-site | PHP | 420 lines
                    
1<?php
                    
2<<<<<<< HEAD
                    
249
                    
250        // override the twig header vars for local resolution
                    
251        $this->grav->fireEvent('onTwigPageVariables', new Event(['page' => $item]));
                    
255        $twig_vars['media'] = $item->media();
                    
256        $twig_vars['header'] = $item->header();
                    
257
                    
259        $modular_twig = $item->modularTwig();
                    
260        $process_twig = isset($item->header()->process['twig']) ? $item->header()->process['twig'] : false;
                    
261
                    
295    {
                    
296        // override the twig header vars for local resolution
                    
297        $this->grav->fireEvent('onTwigTemplateVariables');
                    
358        $twig_vars['page'] = $page;
                    
359        $twig_vars['header'] = $page->header();
                    
360        $twig_vars['media'] = $page->media();
                    
                
ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
                    
1<?php
                    
2
                    
36
                    
37require_once 'CRM/Core/Form.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
39require_once 'CRM/Contribute/PseudoConstant.php';
                    
40
                    
115        // set up tabs
                    
116        require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php';
                    
117        CRM_Contribute_Form_ContributionPage_TabHeader::build( $this );
                    
224            //set defaults for pledgeBlock values.
                    
225            require_once 'CRM/Pledge/BAO/PledgeBlock.php';
                    
226            $pledgeBlockParams = array( 'entity_id'    => $this->_id,
                    
237            }
                    
238            require_once 'CRM/Core/BAO/CustomOption.php';
                    
239            if ( CRM_Utils_Array::value( 'pledge_frequency_unit', $pledgeBlockDefaults ) ) {
                    
                
CakeRoute.php https://github.com/gustavor/lore.git | PHP | 506 lines
                    
10 *
                    
11 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
12 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
17 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
18 * @link          http://cakephp.org CakePHP(tm) Project
                    
19 * @package       Cake.Routing.Route
                    
69/**
                    
70 * HTTP header shortcut map.  Used for evaluating header-based route expressions.
                    
71 *
                    
183				if (isset($this->_headerMap[$header[1]])) {
                    
184					$header = $this->_headerMap[$header[1]];
                    
185				} else {
                    
185				} else {
                    
186					$header = 'http_' . $header[1];
                    
187				}
                    
                
tbl_structure.php https://gitlab.com/ctheilman92/Aging-In-Place | PHP | 469 lines
                    
12 */
                    
13require_once 'libraries/common.inc.php';
                    
14require_once 'libraries/mysql_charsets.lib.php';
                    
18 */
                    
19require_once 'libraries/structure.lib.php';
                    
20require_once 'libraries/index.lib.php';
                    
22$response = PMA_Response::getInstance();
                    
23$header   = $response->getHeader();
                    
24$scripts  = $header->getScripts();
                    
110            // handle confirmation of deleting multiple fields/columns
                    
111            $action = 'tbl_structure.php';
                    
112            include 'libraries/mult_submits.inc.php';
                    
137require_once 'libraries/tbl_common.inc.php';
                    
138$url_query .= '&amp;goto=tbl_structure.php&amp;back=tbl_structure.php';
                    
139$url_params['goto'] = 'tbl_structure.php';
                    
                
lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
                    
1<?php
                    
2
                    
141        'sender_email' => 'Avsändarens e-postadress',
                    
142        'php_mail' => 'PHP mail',
                    
143        'smtp' => 'SMTP',
                    
165        'mandrill_secret_comment' => 'Ange din API-nyckel.',
                    
166        'drivers_hint_header' => 'Drivrutiner är inte installerade',
                    
167        'drivers_hint_content' => 'Den här e-postmetoden kräver att tillägget ":plugin" är installerat innan du kan skicka e-post.'
                    
                
Route.php https://bitbucket.org/nblaudez/maerdo.git | PHP | 413 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Route.php 23486 2010-12-10 04:05:30Z mjh_ca $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Controller/Router/Route/Interface.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Controller/Router/Route/Module.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Controller/Dispatcher/Interface.php';
                    
36
                    
39 */
                    
40require_once 'Zend/Controller/Request/Abstract.php';
                    
41
                    
                
index.html https://github.com/sethladd/alohaonrails-site.git | HTML | 213 lines
                    
13<link rel="alternate" type="application/atom+xml" title="Aloha On Rails - Hawaii Ruby on Rails Conference - Waikiki - Oct 5-6 2009 Atom Feed" href="http://www.alohaonrails.com/feed/atom/" />
                    
14<link rel="pingback" href="http://www.alohaonrails.com/xmlrpc.php" />
                    
15<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.alohaonrails.com/xmlrpc.php?rsd" />
                    
21<body>
                    
22<div id="header">
                    
23	<div class="container_16">
                    
112
                    
113<form action="http://www.alohaonrails.com/wp-comments-post.php" method="post" id="commentform">
                    
114
                    
169	<ul class='xoxo blogroll'>
                    
170<li><a href="http://www.facebook.com/home.php#/event.php?eid=83813944777" title="Facebook Event for Aloha on Rails">Facebook Event</a></li>
                    
171<li><a href="http://events.linkedin.com/Aloha-Rails-Hawaii-Ruby-Rails-Conference/pub/65989" title="LinkedIn event page">LinkedIn Event</a></li>
                    
180<div><script type="text/javascript">var addthis_pub="sethladd";</script>
                    
181<a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script></div>
                    
182<!-- AddThis Button END -->
                    
                
Route.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 413 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Route.php 23485 2010-12-10 04:03:18Z mjh_ca $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Controller/Router/Route/Interface.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Controller/Router/Route/Module.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Controller/Dispatcher/Interface.php';
                    
36
                    
39 */
                    
40require_once 'Zend/Controller/Request/Abstract.php';
                    
41
                    
                
auth_tkt.py https://bitbucket.org/eaviles/gobierno.git | Python | 380 lines
                    
1# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
                    
2# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
                    
3##########################################################################
                    
60    generates a Cookie object, the str() of which is the complete
                    
61    cookie header to be sent.
                    
62
                    
297            logout_user()
                    
298        def cookie_setting_start_response(status, headers, exc_info=None):
                    
299            headers.extend(set_cookies)
                    
299            headers.extend(set_cookies)
                    
300            return start_response(status, headers, exc_info)
                    
301        return self.app(environ, cookie_setting_start_response)
                    
                
WebformSettingsForm.php https://gitlab.com/guillaumev/alkarama | PHP | 334 lines
                    
1<?php
                    
2
                    
91      '#type' => 'checkbox',
                    
92      '#title' => t('Use Reply-To header'),
                    
93      '#default_value' => $config->get('email.replyto'),
                    
93      '#default_value' => $config->get('email.replyto'),
                    
94      '#description' => t('Sends all e-mail from the domain of the default address above and sets the "Reply-To" header to the actual sender. Helps prevent e-mail from being flagged as spam.'),
                    
95    );
                    
                
PersistentTokenBasedRememberMeServicesTest.php https://github.com/jdewit/symfony.git | PHP | 329 lines
                    
1<?php
                    
2
                    
20use Symfony\Component\HttpFoundation\Response;
                    
21use Symfony\Component\HttpFoundation\ResponseHeaderBag;
                    
22use Symfony\Component\Security\Http\RememberMe\PersistentTokenBasedRememberMeServices;
                    
26
                    
27class PersistentTokenBasedRememberMeServicesTest extends \PHPUnit_Framework_TestCase
                    
28{
                    
284
                    
285        $cookies = $response->headers->getCookies();
                    
286        $this->assertCount(0, $cookies);
                    
289
                    
290        $cookies = $response->headers->getCookies(ResponseHeaderBag::COOKIES_ARRAY);
                    
291        $cookie  = $cookies['myfoodomain.foo']['/foo/path']['foo'];
                    
                
ZMO.php https://github.com/ThiloWitt/core.git | PHP | 548 lines
                    
1<?php
                    
2/**
                    
18 * It can read MO files and use them for translating strings.
                    
19 * The files are passed to gettext_reader as a Stream (see streams.php)
                    
20 *
                    
82    /**
                    
83     * Cache header field for plural forms.
                    
84     *
                    
86     */
                    
87    private $pluralheader = null;
                    
88
                    
148        if ($magic == -1794895138 || $magic == 2500072158) {
                    
149            // (int)0x950412de; PHP 5.2 wont convert this properly
                    
150            $this->byteorder = 0;
                    
151        } elseif ($magic == -569244523 || $magic == 3725722773) {
                    
152            // (int)0xde120495; PHP 5.2 wont convert this properly
                    
153            $this->byteorder = 1;
                    
                
schedules_custom.php https://github.com/freedenizen/mythweb.git | PHP | 240 lines
                    
18// Print the page header
                    
19    require 'modules/_shared/tmpl/'.tmpl.'/header.php';
                    
20
                    
62<?php       } ?>
                    
63                <li><input type="radio" class="radio" name="record" value="<?php echo rectype_always ?>" id="record_always"<?php
                    
64                        if ($schedule->type == rectype_always) echo ' CHECKED' ?> />
                    
85                    <label for="searchtype_title"><?php echo t('Title Search') ?></label></li>
                    
86                <li><input type="radio" class="radio" name="searchtype" value="<?php echo searchtype_keyword ?>" id="searchtype_keyword"<?php
                    
87                        if ($schedule->search == searchtype_keyword) echo ' CHECKED'
                    
89                    <label for="searchtype_keyword"><?php echo t('Keyword Search') ?></label></li>
                    
90                <li><input type="radio" class="radio" name="searchtype" value="<?php echo searchtype_people ?>" id="searchtype_people"<?php
                    
91                        if ($schedule->search == searchtype_people) echo ' CHECKED'
                    
93                    <label for="searchtype_people"><?php echo t('People Search') ?></label></li>
                    
94                <li><input type="radio" class="radio" name="searchtype" value="<?php echo searchtype_power ?>" id="searchtype_power"<?php
                    
95                        if ($schedule->search == searchtype_power) echo ' CHECKED'
                    
                
CookieJar.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 441 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage CookieJar
                    
18 * @version    $Id: CookieJar.php 24856 2012-06-01 01:10:47Z adamlundrigan $
                    
19 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
25 */
                    
26require_once "Zend/Uri.php";
                    
27/**
                    
29 */
                    
30require_once "Zend/Http/Cookie.php";
                    
31/**
                    
33 */
                    
34require_once "Zend/Http/Response.php";
                    
35
                    
46 * can be returned either in their native form (as Zend_Http_Cookie objects) or as strings -
                    
47 * the later is suitable for sending as the value of the "Cookie" header in an HTTP request.
                    
48 * You can also choose, when returning more than one cookie, whether to get an array of strings
                    
                
configure.php https://github.com/jmarc06/yacs.git | PHP | 313 lines
                    
24 *
                    
25 * Configuration information is saved into [code]parameters/collections.include.php[/code].
                    
26 * If YACS is prevented to write to the file, it displays parameters to allow for a manual update.
                    
27 *
                    
28 * The file [code]parameters/collections.include.php.bak[/code] can be used to restore
                    
29 * the active configuration before the last change.
                    
58if(!Surfer::is_logged())
                    
59	Safe::redirect($context['url_to_home'].$context['url_to_root'].'users/login.php?url='.urlencode('collections/configure.php'));
                    
60
                    
62elseif(!Surfer::is_associate()) {
                    
63	Safe::header('Status: 401 Unauthorized', TRUE, 401);
                    
64	Logger::error(i18n::s('You are not allowed to perform this operation.'));
                    
247	Safe::unlink($context['path_to_root'].'parameters/collections.include.php.bak');
                    
248	Safe::rename($context['path_to_root'].'parameters/collections.include.php', $context['path_to_root'].'parameters/collections.include.php.bak');
                    
249
                    
                
bp-loader.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 487 lines
                    
1<?php
                    
2/**
                    
42	 *
                    
43	 * Most of them have reference functions located in bp-core-functions.php.
                    
44	 * The ones that don't can be accessed via their respective WordPress API's.
                    
171	/**
                    
172	 * @var bool Are status headers already sent?
                    
173	 */
                    
260		// Place your custom code (actions/filters) in a file called
                    
261		// '/plugins/bp-custom.php' and it will be loaded before anything else.
                    
262		if ( file_exists( WP_PLUGIN_DIR . '/bp-custom.php' ) )
                    
262		if ( file_exists( WP_PLUGIN_DIR . '/bp-custom.php' ) )
                    
263			require( WP_PLUGIN_DIR . '/bp-custom.php' );
                    
264
                    
354		// Load the WP abstraction file so BuddyPress can run on all WordPress setups.
                    
355		require( BP_PLUGIN_DIR . '/bp-core/bp-core-wpabstraction.php' );
                    
356
                    
                
%%24^248^248C46CA%%DetailView.tpl.php https://github.com/joshbhamilton/sugar.git | PHP | 236 lines
                    
2         compiled from include/DetailView/DetailView.tpl */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('function', 'counter', 'include/DetailView/DetailView.tpl', 47, false),array('function', 'sugar_evalcolumn', 'include/DetailView/DetailView.tpl', 127, false),array('function', 'sugar_field', 'include/DetailView/DetailView.tpl', 132, false),array('modifier', 'count', 'include/DetailView/DetailView.tpl', 83, false),)), $this); ?>
                    
73    <?php endif; ?>
                    
74    <div <?php if ($this->_tpl_vars['useTabs']): ?>class="yui-content"<?php endif; ?>>
                    
75<?php echo smarty_function_counter(array('name' => 'panelCount','print' => false,'start' => 0,'assign' => 'panelCount'), $this);?>
                    
86<?php if (! is_array ( $this->_tpl_vars['panel'] )): ?>
                    
87    {sugar_include type='php' file='<?php echo $this->_tpl_vars['panel']; ?>
                    
88'}
                    
135				<?php elseif (isset ( $this->_tpl_vars['colData']['field']['label'] )): ?>
                    
136				   {capture name="label" assign="label"}{sugar_translate label='<?php echo $this->_tpl_vars['colData']['field']['label']; ?>
                    
137' module='<?php echo $this->_tpl_vars['module']; ?>
                    
166%' <?php if ($this->_tpl_vars['colData']['colspan']): ?>colspan='<?php echo $this->_tpl_vars['colData']['colspan']; ?>
                    
167'<?php endif; ?> <?php if (isset ( $this->_tpl_vars['fields'][$this->_tpl_vars['colData']['field']['name']]['type'] ) && $this->_tpl_vars['fields'][$this->_tpl_vars['colData']['field']['name']]['type'] == 'phone'): ?>class="phone"<?php endif; ?>>
                    
168			    <?php if (! empty ( $this->_tpl_vars['colData']['field']['name'] )): ?>
                    
                
Autoload_8php_source.html https://github.com/Jasig/phpCAS.git | HTML | 58 lines
                    
7<meta name="viewport" content="width=device-width, initial-scale=1"/>
                    
8<title>phpCAS: CAS/Autoload.php Source File</title>
                    
9<link href="tabs.css" rel="stylesheet" type="text/css"/>
                    
20  <td id="projectalign" style="padding-left: 0.5em;">
                    
21   <div id="projectname">phpCAS
                    
22   &#160;<span id="projectnumber">version 1.4.0</span>
                    
28</div>
                    
29<!-- end header part -->
                    
30<!-- Generated by Doxygen 1.8.13 -->
                    
34$(function() {
                    
35  initMenu('',false,false,'search.php','Search');
                    
36});
                    
48<div class="contents">
                    
49<a href="Autoload_8php.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;&lt;?php</div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="Autoload_8php.html#a6a42c65b5bfb8da33363e35d0b6297df">   24</a></span>&#160;<span class="keyword">function</span> <a class="code" href="Autoload_8php.html#a6a42c65b5bfb8da33363e35d0b6297df">CAS_autoload</a>($class)</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;{</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    <span class="comment">// Static to hold the Include Path to CAS</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <span class="keyword">static</span> $include_path;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <span class="comment">// Check only for CAS classes</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <span class="keywordflow">if</span> (substr($class, 0, 4) !== <span class="stringliteral">&#39;CAS_&#39;</span> &amp;&amp; substr($class, 0, 7) !== <span class="stringliteral">&#39;PhpCas\\&#39;</span>) {</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    }</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <span class="comment">// Setup the include path if it&#39;s not already set from a previous call</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <span class="keywordflow">if</span> (empty($include_path)) {</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        $include_path = array(dirname(__DIR__));</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    }</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="comment">// Declare local variable to store the expected full path to the file</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <span class="keywordflow">foreach</span> ($include_path as $path) {</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        $class_path = str_replace(<span class="charliteral">&#39;_&#39;</span>, DIRECTORY_SEPARATOR, $class);</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <span class="comment">// PhpCas namespace mapping</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        <span class="keywordflow">if</span> (substr($class_path, 0, 7) === <span class="stringliteral">&#39;PhpCas\\&#39;</span>) {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;            $class_path = <span class="stringliteral">&#39;CAS&#39;</span> . DIRECTORY_SEPARATOR . substr($class_path, 7);</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        }</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        $file_path = $path . DIRECTORY_SEPARATOR . $class_path . <span class="stringliteral">&#39;.php&#39;</span>;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        $fp = @fopen($file_path, <span class="charliteral">&#39;r&#39;</span>, <span class="keyword">true</span>);</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        <span class="keywordflow">if</span> ($fp) {</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;            fclose($fp);</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;            include $file_path;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;            <span class="keywordflow">if</span> (!class_exists($class, <span class="keyword">false</span>) &amp;&amp; !interface_exists($class, <span class="keyword">false</span>)) {</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;                die(</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;                    <span class="keyword">new</span> Exception(</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;                        <span class="stringliteral">&#39;Class &#39;</span> . $class . <span class="stringliteral">&#39; was not present in &#39;</span> .</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;                        $file_path .</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;                        <span class="stringliteral">&#39; [CAS_autoload]&#39;</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;                    )</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;                );</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;            }</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        }</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    }</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    $e = <span class="keyword">new</span> Exception(</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        <span class="stringliteral">&#39;Class &#39;</span> . $class . <span class="stringliteral">&#39; could not be loaded from &#39;</span> .</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        $file_path . <span class="stringliteral">&#39;, file does not exist (Path=&quot;&#39;</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        . implode(<span class="charliteral">&#39;:&#39;</span>, $include_path) .<span class="stringliteral">&#39;&quot;) [CAS_autoload]&#39;</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    );</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    $trace = $e-&gt;getTrace();</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="keywordflow">if</span> (isset($trace[2]) &amp;&amp; isset($trace[2][<span class="stringliteral">&#39;function&#39;</span>])</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        &amp;&amp; in_array($trace[2][<span class="stringliteral">&#39;function&#39;</span>], array(<span class="stringliteral">&#39;class_exists&#39;</span>, <span class="stringliteral">&#39;interface_exists&#39;</span>))</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    ) {</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    }</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keywordflow">if</span> (isset($trace[1]) &amp;&amp; isset($trace[1][<span class="stringliteral">&#39;function&#39;</span>])</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        &amp;&amp; in_array($trace[1][<span class="stringliteral">&#39;function&#39;</span>], array(<span class="stringliteral">&#39;class_exists&#39;</span>, <span class="stringliteral">&#39;interface_exists&#39;</span>))</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    ) {</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    }</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    die ((<span class="keywordtype">string</span>) $e);</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;}</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="comment">// Set up autoload if not already configured by composer.</span></div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="keywordflow">if</span> (!class_exists(<span class="stringliteral">&#39;CAS_Client&#39;</span>))</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;{</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    trigger_error(<span class="stringliteral">&#39;phpCAS autoloader is deprecated. Install phpCAS using composer instead.&#39;</span>, E_USER_DEPRECATED);</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    spl_autoload_register(<span class="stringliteral">&#39;CAS_autoload&#39;</span>);</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="keywordflow">if</span> (function_exists(<span class="stringliteral">&#39;__autoload&#39;</span>)</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        &amp;&amp; !in_array(<span class="stringliteral">&#39;__autoload&#39;</span>, spl_autoload_functions())</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    ) {</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        <span class="comment">// __autoload() was being used, but now would be ignored, add</span></div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        <span class="comment">// it to the autoload stack</span></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        spl_autoload_register(<span class="stringliteral">&#39;__autoload&#39;</span>);</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    }</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;}</div><div class="ttc" id="Autoload_8php_html_a6a42c65b5bfb8da33363e35d0b6297df"><div class="ttname"><a href="Autoload_8php.html#a6a42c65b5bfb8da33363e35d0b6297df">CAS_autoload</a></div><div class="ttdeci">CAS_autoload($class)</div><div class="ttdef"><b>Definition:</b> <a href="Autoload_8php_source.html#l00024">Autoload.php:24</a></div></div>
                    
50</div><!-- fragment --></div><!-- contents -->
                    
                
view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
                    
1<?php
                    
2/**
                    
143			$app->enqueueMessage(JText::_('JERROR_ALERTNOAUTHOR'), 'error');
                    
144			$app->setHeader('status', 403, true);
                    
145
                    
                
index.html https://github.com/jlongster/mozilla.com.git | HTML | 261 lines
                    
4    $body_id    = 'firefox-relnotes';
                    
5    $extra_headers = <<<EXTRA_HEADERS
                    
6	<link rel="stylesheet" type="text/css" href="{$config['static_prefix']}/style/covehead/mozilla-expanders.css" media="screen" />
                    
10EXTRA_HEADERS;
                    
11    @include_once "{$config['file_root']}/{$lang}/includes/header.inc.php";
                    
12?>
                    
27  <div id="whatsnew" class="expander expander-odd">
                    
28    <h3 class="expander-header">What’s New in Firefox&nbsp;3.6.13 Beta</h3>
                    
29    <div class="expander-content">
                    
71  <div id="uninstall" class="expander expander-odd">
                    
72      <h3 class="expander-header">Uninstalling</h3>
                    
73      <div class="expander-content">
                    
92  <div id="extensions" class="expander">
                    
93    <h3 class="expander-header">Extensions and Themes</h3>
                    
94    <div class="expander-content">
                    
                
index.html https://github.com/jlongster/mozilla.com.git | HTML | 261 lines
                    
4    $body_id    = 'firefox-relnotes';
                    
5    $extra_headers = <<<EXTRA_HEADERS
                    
6	<link rel="stylesheet" type="text/css" href="{$config['static_prefix']}/style/covehead/mozilla-expanders.css" media="screen" />
                    
10EXTRA_HEADERS;
                    
11    @include_once "{$config['file_root']}/{$lang}/includes/header.inc.php";
                    
12?>
                    
27  <div id="whatsnew" class="expander expander-odd">
                    
28    <h3 class="expander-header">What’s New in Firefox&nbsp;3.6.11 Beta</h3>
                    
29    <div class="expander-content">
                    
71  <div id="uninstall" class="expander expander-odd">
                    
72      <h3 class="expander-header">Uninstalling</h3>
                    
73      <div class="expander-content">
                    
92  <div id="extensions" class="expander">
                    
93    <h3 class="expander-header">Extensions and Themes</h3>
                    
94    <div class="expander-content">
                    
                
lang.php https://gitlab.com/michield/dokuwiki | PHP | 188 lines
                    
1<?php
                    
2/**
                    
22$lang['_configuration_manager'] = 'Beállító Központ';
                    
23$lang['_header_dokuwiki']      = 'DokuWiki beállítások';
                    
24$lang['_header_plugin']        = 'Bővítmények beállításai';
                    
24$lang['_header_plugin']        = 'Bővítmények beállításai';
                    
25$lang['_header_template']      = 'Sablon beállítások';
                    
26$lang['_header_undefined']     = 'Nem definiált értékek';
                    
56$lang['htmlok']                = 'Beágyazott HTML engedélyezése';
                    
57$lang['phpok']                 = 'Beágyazott PHP engedélyezése';
                    
58$lang['dformat']               = 'Dátum formázás (lásd a PHP <a href="http://www.php.net/strftime">strftime</a> függvényt)';
                    
102$lang['locktime']              = 'Oldal-zárolás maximális időtartama (másodperc)';
                    
103$lang['fetchsize']             = 'Maximális méret (bájtban), amit a fetch.php letölthet kívülről';
                    
104$lang['notify']                = 'Az oldal-változásokat erre az e-mail címre küldje';
                    
117$lang['sitemap']               = 'Hány naponként generáljunk Google sitemap-ot?';
                    
118$lang['broken_iua']            = 'Az ignore_user_abort függvény hibát dob a rendszereden? Ez nem működő keresési indexet eredményezhet. Az IIS+PHP/CGI összeállításról tudjuk, hogy hibát dob. Lásd a <a href="http://bugs.splitbrain.org/?do=details&amp;task_id=852">Bug 852</a> oldalt a további infóért.';
                    
119$lang['xsendfile']             = 'Használjuk az X-Sendfile fejlécet, hogy a webszerver statikus állományokat tudjon küldeni? A webszervernek is támogatnia kell ezt a funkciót.';
                    
                
acpiphp_ibm.c https://gitlab.com/karrei/imx6-kernel | C | 487 lines
                    
27
                    
28#define pr_fmt(fmt) "acpiphp_ibm: " fmt
                    
29
                    
39
                    
40#include "acpiphp.h"
                    
41#include "../pci.h"
                    
67		u8   len;
                    
68	} header;
                    
69	struct {
                    
104		u32 lvl, void *context, void **rv);
                    
105static int __init ibm_acpiphp_init(void);
                    
106static void __exit ibm_acpiphp_exit(void);
                    
117};
                    
118static struct acpiphp_attention_info ibm_attention_info =
                    
119{
                    
                
index.php https://gitlab.com/Nilufarjahan/LabExam8 | PHP | 455 lines
                    
135            <li>
                    
136                <a href="../Birthday/create.php">
                    
137                    <span class="title">Add New</span>
                    
140            <li>
                    
141                <a href="../Birthday/index.php">
                    
142                    <span class="title">View List</span>
                    
248            <li>
                    
249                <a href="../SummaryOfOrganization/index.php">
                    
250                    <span class="title">View List</span>
                    
328                                <td><?php echo $oneData->birthday?></td>
                    
329                                <?php  echo "<td> <a href=\"edits.php?id=$oneData->id\"class=\"btn btn-info\" role=\"button\">Edit</a>  ";?>
                    
330                                <?php  echo " <a href=\"delete.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Delete</a> ";?>
                    
331                            
                    
332                                <?php  echo " <a href=\"trash.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Trash</a> </td> ";?>
                    
333                            </tr>
                    
                
hostkreskoweczki.py https://gitlab.com/Ghoz/iptvplayer-for-e2 | Python | 318 lines
                    
56        self.HEADER = {'User-Agent': 'Mozilla/5.0', 'Accept': 'text/html'}
                    
57        self.AJAX_HEADER = dict(self.HEADER)
                    
58        self.AJAX_HEADER.update( {'X-Requested-With': 'XMLHttpRequest'} )
                    
60        self.MAIN_URL      = 'http://www.kreskoweczki.pl/'
                    
61        self.SEARCH_URL    = self.MAIN_URL + 'search.php?keywords='
                    
62        self.DEFAULT_ICON  = "http://www.kreskoweczki.pl/uploads/custom-logo.png"
                    
156        
                    
157        HEADER = dict(self.HEADER)
                    
158        HEADER['Referer'] = cItem['url']
                    
159        post_data = {'vid' : vid}
                    
160        sts, data = self.cm.getPage('http://www.kreskoweczki.pl/fullscreen/', {'header': HEADER}, post_data)
                    
161        if not sts: return []
                    
179            
                    
180        videoData = self.cm.ph.getSearchGroups(videoUrl, "/embed/proxy[^.]+?.php")
                    
181        if '' != videoData:
                    
                
index.php https://github.com/rsinger/Jangle.git | PHP | 384 lines
                    
1<?php
                    
2
                    
2
                    
3require 'lib/jangle.php';
                    
4require 'lib/spyc.php5';
                    
4require 'lib/spyc.php5';
                    
5require 'lib/models.php';
                    
6
                    
50if(getenv('HTTP_ACCEPT') == "application/json") {
                    
51    header("Content-type: application/json");
                    
52} elseif (getenv('HTTP_ACCEPT') == "text/json") {
                    
52} elseif (getenv('HTTP_ACCEPT') == "text/json") {
                    
53    header("Content-type: text/json");
                    
54} else {
                    
54} else {
                    
55    header("Content-type: text/plain");
                    
56}
                    
                
internal-link-aliases.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 374 lines
                    
1<?php
                    
2
                    
34		if (suwp::permalink_mode() != SUWP_PRETTY_PERMALINKS)
                    
35			$this->print_message('error', sprintf(__('Link Mask Generator won&#8217;t work with default or &#8220;pathinfo&#8221; permalinks. Please change your <a href="%s">permalink structure</a> to enable this module&#8217;s functionality.', 'seo-ultimate'), 'options-permalink.php'));
                    
36		
                    
86		if ($num_aliases > 0) {
                    
87			$this->admin_subheader(__('Edit Existing Aliases', 'seo-ultimate'));
                    
88			$this->aliases_form(0, $aliases);
                    
90		
                    
91		$this->admin_subheader(__('Add a New Alias', 'seo-ultimate'));
                    
92		$this->aliases_form($num_aliases, array(array()), false);
                    
96		
                    
97		//Set headers
                    
98		$headers = array(
                    
181			$headers = array(__('URL', 'seo-ultimate'), '', __('Mask URL', 'seo-ultimate'));
                    
182			foreach ($headers as $header) $html .= "<th>$header</th>\n";
                    
183			$html .= "</thead>\n<tbody>";
                    
                
configure.php https://github.com/agnesrambaud/yacs.git | PHP | 313 lines
                    
24 *
                    
25 * Configuration information is saved into [code]parameters/collections.include.php[/code].
                    
26 * If YACS is prevented to write to the file, it displays parameters to allow for a manual update.
                    
27 *
                    
28 * The file [code]parameters/collections.include.php.bak[/code] can be used to restore
                    
29 * the active configuration before the last change.
                    
58if(!Surfer::is_logged())
                    
59	Safe::redirect($context['url_to_home'].$context['url_to_root'].'users/login.php?url='.urlencode('collections/configure.php'));
                    
60
                    
62elseif(!Surfer::is_associate()) {
                    
63	Safe::header('Status: 401 Forbidden', TRUE, 401);
                    
64	Logger::error(i18n::s('You are not allowed to perform this operation.'));
                    
247	Safe::unlink($context['path_to_root'].'parameters/collections.include.php.bak');
                    
248	Safe::rename($context['path_to_root'].'parameters/collections.include.php', $context['path_to_root'].'parameters/collections.include.php.bak');
                    
249
                    
                
ee374469f3039f2afc01916b1c6255a7d0864358.file.view-registration.tpl.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 260 lines
                    
148</option>
                    
149              <option value="DN" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='DN'){?> selected <?php }?>><?php echo @LBL_DANISH;?>
                    
150</option>
                    
150</option>
                    
151              <option value="FI" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='FI'){?> selected <?php }?>><?php echo @LBL_FINISH;?>
                    
152</option>
                    
156</option>
                    
157              <option value="EE" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='EE'){?> selected <?php }?>><?php echo @LBL_ESTONIAN;?>
                    
158</option>
                    
164</option>
                    
165              <option value="PO" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='PO'){?> selected <?php }?>><?php echo @LBL_POLISH;?>
                    
166</option>
                    
168</option>
                    
169              <option value="ES" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='ES'){?> selected <?php }?>><?php echo @LBL_SPANISH;?>
                    
170</option>
                    
                
sitemailer_.php https://gitlab.com/nvtdn2006/azora | PHP | 384 lines
                    
36	
                    
37	private function setheaders() {
                    
38	  /*$BccList = array('nakarinb@bluecube.com.sg','bobby.tan@bluecube.com.sg');*/
                    
38	  /*$BccList = array('nakarinb@bluecube.com.sg','bobby.tan@bluecube.com.sg');*/
                    
39		$this->headers = "To: " . $this->toMail . "\r\n";	
                    
40		$this->headers .= "From: " . $this->fromMail . "\r\n";
                    
52		$this->headers .= "MIME-Version: 1.0\r\n";		
                    
53		//$this->headers .= "Content-Type: multipart/mixed; boundary=\"PHP-mixed-" . $this->randomHash . "\"\r\n";
                    
54		$this->headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
                    
189		/*$this->msgBody = $htmlCT . $this->msgBody;
                    
190		$this->msgBody .= "--PHP-alt-" . $this->randomHash . "\r\n";*/
                    
191		$this->msgBody = wordwrap($this->msgBody, $this->wordwrap);
                    
365	private function sendReminderforcancelledredemptionToUser($property) {
                    
366		/*$htmlCT = "--PHP-alt-" . $this->randomHash . "\r\n";
                    
367		$htmlCT .= 'Content-Type: text/html; charset="iso-8859-1"' . "\r\n";
                    
                
index.php https://github.com/shamilcm/wireus.git | PHP | 291 lines
                    
8        if($_SESSION['authuser']!=1)
                    
9                header("Location:../index.php");
                    
10      ?>  
                    
27           });
                    
28 $(".globalheader").hover(function(){
                    
29         },
                    
45<?php
                    
46   include('../lib/header.php');
                    
47    getheader();
                    
55              <?php
                    
56                        include('../lib/connectionfile.php');
                    
57                        $gid=$_GET['id'];
                    
104			     <div id="pagehead">
                    
105			        <?php
                    
106                                echo "<div id=\"pagetitle\">"; 
                    
                
EditView.php https://github.com/lukio/sugarcrm_dev.git | PHP | 349 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
45
                    
46require_once('modules/Campaigns/utils.php');
                    
47
                    
97if($has_campaign || $inboundEmail) {
                    
98    insert_popup_header($theme);
                    
99}
                    
106}else{
                    
107	$params[] = "<a href='index.php?module={$focus->module_dir}&action=DetailView&record={$focus->id}'>{$focus->name}</a>";
                    
108	$params[] = $GLOBALS['app_strings']['LBL_EDIT_BUTTON_LABEL'];
                    
166//Assign qsd script
                    
167require_once('include/QuickSearchDefaults.php');
                    
168$qsd = new QuickSearchDefaults();
                    
172$xtpl->assign("CANCEL_SCRIPT", $cancel_script);
                    
173$xtpl->assign("PRINT_URL", "index.php?".$GLOBALS['request_string']);
                    
174$xtpl->assign("JAVASCRIPT", get_set_focus_js() . $quicksearch_js);
                    
                
sbhnddma.h https://github.com/netarchy/infuse4g-sources.git | C Header | 343 lines
                    
9 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
10 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
11 * following added to such license:
                    
115#define	RC_FM		((uint32)1 << 8)	/* direct fifo receive (pio) mode */
                    
116#define	RC_SH		((uint32)1 << 9)	/* separate rx header descriptor enable */
                    
117#define	RC_OC		((uint32)1 << 10)	/* overflow continue */
                    
262#define	D64_RC_FM		0x00000100	/* direct fifo receive (pio) mode */
                    
263#define	D64_RC_SH		0x00000200	/* separate rx header descriptor enable */
                    
264#define	D64_RC_OC		0x00000400	/* overflow continue */
                    
                
Configuration.php https://github.com/sellingsource/symfony.git | PHP | 362 lines
                    
1<?php
                    
2
                    
49                ->scalarNode('charset')->end()
                    
50                ->scalarNode('trust_proxy_headers')->defaultFalse()->end()
                    
51                ->scalarNode('secret')->isRequired()->end()
                    
                
cpanel.php https://github.com/andrewgs/practice-book.ru.git | PHP | 320 lines
                    
47	<div id="container" class="main-wrap">
                    
48		<?php $this->load->view('company_interface/header'); ?>
                    
49		<div id="main">
                    
53						<div class="box">
                    
54							<div class="box-header w600">
                    
55								<h2>Данные о компании</h2>
                    
141												<td class="col-price-company"><?=$units[$i]['cu_price'];?></td>
                    
142												<td class=""><strong><?=$units[$i]['cu_priceunit'];?><?php if($units[$i]['cu_unitscode']):?>/<?=$units[$i]['cu_unitscode'];?><?php endif;?></strong></td>
                    
143											</tr>
                    
184									<?php endif; ?>
                    
185									<?php if($representative[$i]['uicq']): ?>
                    
186										<div class="federal-skype-icq">
                    
298		<div class="clear"></div>
                    
299		<?php $this->load->view('company_interface/footer'); ?>
                    
300	</div> <!-- end of #container -->
                    
                
facebook.php https://github.com/copongcopong/CakePHP-Facebook-Plugin.git | PHP | 425 lines
                    
1<?php
                    
2/**
                    
20    */
                    
21  var $__fbShareScript = 'http://static.ak.fbcdn.net/connect.php/js/FB.Share';
                    
22  
                    
51    * HTML XMLNS tag (required)
                    
52    * @return string of html header
                    
53    * @access public
                    
176    else {
                    
177      $retval = $this->Html->link($options['label'], 'http://www.facebook.com/sharer.php', array('share_url' => $url, 'type' => $options['type'], 'name' => $options['anchor']));
                    
178      $retval .= $this->Html->script($this->__fbShareScript);
                    
218  	* - stream : 1 turns stream on, 0 turns stream off (default false)
                    
219    * - header : 1 turns header on, 0 turns logobar off (default false)
                    
220    * - width : width of the box (default 300)
                    
228  			'stream' => 'false',
                    
229  			'header' => 'false',
                    
230  			'width' => '300',
                    
                
index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
                    
25$debug_page = false;
                    
26include_once('debug/header.php');
                    
27
                    
145                            <tr>
                    
146                              <td nowrap><a href="../index.php" class="off">Home</a></td>
                    
147                              <td width="30" valign="middle" nowrap><div align="center"><img src="../../images/Dot.gif" width="10" height="10"></div></td>	
                    
177				  ?>
                    
178				  <div align="right" class="FieldNumberDisabled"><strong><?= $language['label']['welcome']; ?> <a href="../../Administration/user_information.php" class="FieldNumberDisabled" <?php help('', 'Edit your user information', 'default'); ?>><?= ucwords(strtolower($_SESSION['fullname'])); ?></a></strong>&nbsp;&nbsp;<a href="../../logout.php" class="FieldNumberDisabled" <?php help('', 'Selecting [logout] will Log you out of the '.$default[title1].' and stop automatic cookie login', 'default'); ?>>[logout]</a>&nbsp;</div>
                    
179				  <?php
                    
310              <tr>
                    
311                <td width="50%" nowrap><!-- InstanceBeginEditable name="copyright" --><?php include('../include/copyright.php'); ?><!-- InstanceBeginEditable --></td>
                    
312                <td width="50%"><div id="noPrint" align="right"><!-- InstanceBeginEditable name="version" --><!-- InstanceEndEditable --></div></td>
                    
336 */
                    
337include_once('debug/footer.php');
                    
338/**
                    
                
MailScanner.php https://github.com/m-fuji-0616/vtigercrm-5.1.x-ja.git | PHP | 412 lines
                    
1<?php
                    
2/*********************************************************************************
                    
11
                    
12require_once('modules/Settings/MailScanner/core/MailBox.php');
                    
13require_once('modules/Settings/MailScanner/core/MailAttachmentMIME.php');
                    
102			foreach($mailsearch as $messageid) {
                    
103				// Fetch only header part first, based on account lookup fetch the body.
                    
104				$mailrecord = $mailbox->getMessage($messageid, false);
                    
321	function GetAccountRecord($email) {
                    
322		require_once('modules/Accounts/Accounts.php');
                    
323		$accountid = $this->LookupAccount($email);
                    
343	function GetContactRecord($email) {
                    
344		require_once('modules/Contacts/Contacts.php');
                    
345		$contactid = $this->LookupContact($email);
                    
380	function GetTicketRecord($subjectOrId, $fromemail=false) {
                    
381		require_once('modules/HelpDesk/HelpDesk.php');
                    
382		$ticketid = $this->LookupTicket($subjectOrId);
                    
                
tbl_replace.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 414 lines
                    
69    $GLOBALS['js_include'][] = 'tbl_change.js';
                    
70    require_once './libraries/header.inc.php';
                    
71    require './tbl_change.php';
                    
78    //$GLOBALS['goto'] = 'tbl_change.php';
                    
79    $goto_include = 'tbl_change.php';
                    
80
                    
110    }
                    
111    if ($GLOBALS['goto'] == 'db_sql.php' && strlen($GLOBALS['table'])) {
                    
112        $GLOBALS['table'] = '';
                    
322    $active_page = $goto_include;
                    
323    require_once './libraries/header.inc.php';
                    
324    require './' . PMA_securePath($goto_include);
                    
410$active_page = $goto_include;
                    
411require_once './libraries/header.inc.php';
                    
412require './' . PMA_securePath($goto_include);
                    
                
lang.php https://github.com/frbayart/dokuwiki-wordpress-phpBB.git | PHP | 186 lines
                    
1<?php
                    
2/**
                    
19$lang['_configuration_manager'] = 'Gestor de Parâmetros de Configuração';
                    
20$lang['_header_dokuwiki']      = 'Parâmetros DokuWiki';
                    
21$lang['_header_plugin']        = 'Parâmetros dos Plugins';
                    
21$lang['_header_plugin']        = 'Parâmetros dos Plugins';
                    
22$lang['_header_template']      = 'Parâmetros das Templates';
                    
23$lang['_header_undefined']     = 'Parâmetros não definidos';
                    
53$lang['htmlok']                = 'Permitir embeber HTML';
                    
54$lang['phpok']                 = 'Permitir embeber PHP';
                    
55$lang['dformat']               = 'Formato de Data (ver função PHP\'s <a href="http://www.php.net/strftime">strftime</a>)';
                    
101$lang['locktime']              = 'Idade máxima para locks (seg.)';
                    
102$lang['fetchsize']             = 'Tamanho máximo (bytes) que o fetch.php pode transferir do exterior';
                    
103$lang['notify']                = 'Enviar notificações de mudanças para este endereço de email';
                    
115$lang['sitemap']               = 'Gerar Sitemap Google (dias)';
                    
116$lang['broken_iua']            = 'A função "ignore_user_abort" não está a funcionar no seu sistema? Isso pode causar um índice de busca defeituoso. Sistemas com IIS+PHP/CGI são conhecidos por possuírem este problema. Veja o <a href="http://bugs.splitbrain.org/?do=details&amp;task_id=852">bug 852</a> para mais informações.';
                    
117$lang['xsendfile']             = 'Usar o cabeçalho "X-Sendfile" para permitir o servidor de internet encaminhar ficheiros estáticos? O seu servidor de internet precisa ter suporte a isso.';
                    
                
faq-content.html https://github.com/jlongster/mozilla.com.git | HTML | 201 lines
                    
1<?php
                    
2    // please translate the variable below
                    
31<div id="about-firefox" class="expander expander-odd expander-first">
                    
32  <h3 class="expander-header">Sobre o Firefox</h3>
                    
33  <div class="expander-content">
                    
60<div id="security" class="expander">
                    
61  <h3 class="expander-header">Segurança</h3>
                    
62  <div class="expander-content">
                    
76<div id="downloading" class="expander expander-odd">
                    
77  <h3 class="expander-header">Transferir &amp; Dispositivos</h3>
                    
78  <div class="expander-content">
                    
101<div id="using" class="expander">
                    
102  <h3 class="expander-header">Usar o Firefox</h3>
                    
103  <div class="expander-content">
                    
131<div id="features" class="expander expander-odd">
                    
132  <h3 class="expander-header">Funcionalidades</h3>
                    
133  <div class="expander-content">
                    
                
zone.php https://bitbucket.org/sandeepbhaskar/inspiredliving.git | PHP | 441 lines
                    
1<?php 
                    
2class ControllerLocalisationZone extends Controller {
                    
259		$this->children = array(
                    
260			'common/header',
                    
261			'common/footer'
                    
370		$this->children = array(
                    
371			'common/header',
                    
372			'common/footer'
                    
                
ExceptionTrapTest.php https://github.com/cakephp/cakephp.git | PHP | 414 lines
                    
1<?php
                    
2declare(strict_types=1);
                    
4/**
                    
5 * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
                    
6 * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
                    
12 * @copyright     Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
                    
13 * @link          https://cakephp.org CakePHP Project
                    
14 * @since         4.4.0
                    
14 * @since         4.4.0
                    
15 * @license       https://opensource.org/licenses/mit-license.php MIT License
                    
16 */
                    
199     *
                    
200     * Run in a separate process because HTML output writes headers.
                    
201     *
                    
355     *
                    
356     * Run in a separate process because HTML output writes headers.
                    
357     *
                    
                
index.html https://github.com/agiliq/agiliq.git | HTML | 159 lines
                    
13<link rel="alternate" type="application/rss+xml" title="Software Business Tips RSS Feed" href="../feed/index.html" />
                    
14<link rel="pingback" href="../xmlrpc.php" />
                    
15<link rel="EditURI" type="application/rsd+xml" title="RSD" href="../xmlrpc.php?rsd" />
                    
32</ul>
                    
33	<div id="header">
                    
34	</div>
                    
34	</div>
                    
35</div><h2 id="pageintro">How-to to run a software consulting business</h2><div id="pageheader"><h2 id="siteintro">We love designing and developing websites, but what really drives us is solving problems and cultivating strong relationships with our clients</h2><div id="featuredwrap"><img src="../wp-content/themes/Archive/thesis_182/custom/images/ftred.png" width="111" height="111" alt="featured" class="featured_heading" /><div class="fpost"><div class="fimg"></div><div class="f_content"><h2><a href="../setup-legal-structure-and-banking/index.html">Setup legal structure and banking</a></h2><p>&nbsp; What legal structure you will setup depends on various factors depending on your place of residence and business. I can&#8217;t give you advise (We are a Indian Private Limited... &raquo;</p></div><div class="clear"></div></div></div></div>	<div id="content_box">
                    
36		<div id="content" class="hfeed">
                    
72					</div>
                    
73					<form action="http://agiliq.com/softwareconsulting/wp-comments-post.php" method="post" id="commentform">
                    
74						<p><input class="text_input" type="text" name="author" id="author" value="" tabindex="1" aria-required="true" /><label for="author">Name <span class="required" title="Required">*</span></label></p>
                    
                
Route.php https://github.com/Spavacz/NPG.git | PHP | 410 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Route.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Controller/Router/Route/Interface.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Controller/Router/Route/Module.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Controller/Dispatcher/Interface.php';
                    
36
                    
39 */
                    
40require_once 'Zend/Controller/Request/Abstract.php';
                    
41
                    
                
CachePdo.html https://github.com/TimBroddin/MegaCache.git | HTML | 367 lines
                    
31		<p class="notes">
                    
32			Located in <a class="field" href="_adapters---CachePdo.php.html">/adapters/CachePdo.php</a> (line <span class="field">20</span>)
                    
33		</p>
                    
139	
                    
140	<!-- ========== Info from phpDoc block ========= -->
                    
141<p class="short-description">__construct function.</p>
                    
171	
                    
172	<div class="method-header">
                    
173		<span class="method-title">Destructor __destruct</span> (line <span class="line-number">134</span>)
                    
195	
                    
196	<div class="method-header">
                    
197		<span class="method-title">clearTimedOut</span> (line <span class="line-number">123</span>)
                    
363	<p class="notes" id="credit">
                    
364		Documentation generated on Sat, 30 Oct 2010 10:42:46 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
                    
365	</p>
                    
                
de_DE.php https://github.com/tdf/cms-code.git | PHP | 194 lines
                    
1<?php
                    
2global $lang;
                    
34$lang['de_DE']['DownloadSimplePage.ss']['DownloadNeededFiles'] = 'Laden Sie folgende Dateien herunter und installieren Sie diese in der angegebenen Reihenfolge:';
                    
35$lang['de_DE']['DownloadSimplePage.ss']['DownloadsDevelopersHeader'] = 'Entwickler';
                    
36/* %s will be replaced with OS/arch, version, language */
                    
36/* %s will be replaced with OS/arch, version, language */
                    
37$lang['de_DE']['DownloadSimplePage.ss']['DownloadsHeader']= 'Ausgewählt: LibreOffice <b>%s</b>';
                    
38$lang['de_DE']['DownloadSimplePage.ss']['NotWanted']      = 'Nicht die gewünschte Version?';
                    
52$lang['de_DE']['DownloadSimplePage.ss']['DownloadsInstallTypeLanguagepack'] = 'Übersetzte Benutzeroberfläche';
                    
53$lang['de_DE']['DownloadSimplePage.ss']['DownloadsIsoHeader'] = '%s-Image';
                    
54$lang['de_DE']['DownloadSimplePage.ss']['DownloadsIsoText'] = 'Laden Sie eine ISO-Datei herunter, um ein Installationsmedium zu erstellen.';
                    
54$lang['de_DE']['DownloadSimplePage.ss']['DownloadsIsoText'] = 'Laden Sie eine ISO-Datei herunter, um ein Installationsmedium zu erstellen.';
                    
55$lang['de_DE']['DownloadSimplePage.ss']['DownloadsAppStoreHeader'] = '%s-Installation';
                    
56$lang['de_DE']['DownloadSimplePage.ss']['DownloadsAppStoreText'] = 'LibreOffice %s über das Intel AppUp-Center installieren.';
                    
56$lang['de_DE']['DownloadSimplePage.ss']['DownloadsAppStoreText'] = 'LibreOffice %s über das Intel AppUp-Center installieren.';
                    
57$lang['de_DE']['DownloadSimplePage.ss']['DownloadsPackagesHeader'] = 'Pakete';
                    
58$lang['de_DE']['DownloadSimplePage.ss']['DownloadsPortableHeader'] = 'PortableApps';
                    
                
http.php https://gitlab.com/Gashler/dp | PHP | 519 lines
                    
123 *
                    
124 * All of the headers in $res['headers'] are with the name as the key and the
                    
125 * value as the value. So to get the User-Agent, you would do the following.
                    
222function wp_remote_retrieve_headers(&$response) {
                    
223	if ( is_wp_error($response) || ! isset($response['headers']) || ! is_array($response['headers']))
                    
224		return array();
                    
235 * @param string $header Header name to retrieve value from.
                    
236 * @return string The header value. Empty string on if incorrect parameter given, or if the header doesn't exist.
                    
237 */
                    
238function wp_remote_retrieve_header(&$response, $header) {
                    
239	if ( is_wp_error($response) || ! isset($response['headers']) || ! is_array($response['headers']))
                    
240		return '';
                    
242	if ( array_key_exists($header, $response['headers']) )
                    
243		return $response['headers'][$header];
                    
244
                    
                
ApiGenOptionsPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 336 lines
                    
1/*
                    
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
                    
3 *
                    
16 * specific language governing permissions and limitations under the
                    
17 * License.  When distributing the software, include this License Header
                    
18 * Notice in each file and include the License file at
                    
22 * accompanied this code. If applicable, add the following below the
                    
23 * License Header, with the fields enclosed by brackets [] replaced by
                    
24 * your own identifying information:
                    
41 */
                    
42package org.netbeans.modules.php.apigen.ui.options;
                    
43
                    
78@NbBundle.Messages("ApiGenOptionsPanel.keywords.documentation=documentation")
                    
79@OptionsPanelController.Keywords(keywords={"php", "apigen", "phpdoc", "phpdocumentor", "#ApiGenOptionsPanel.keywords.documentation"},
                    
80        location=UiUtils.OPTIONS_PATH, tabTitle= "#LBL_PHPGenOptionsName")
                    
                
http-messages.rst https://gitlab.com/x33n/respond | ReStructuredText | 483 lines
                    
53
                    
54See :ref:`headers` for information on how the headers of a request and response
                    
55can be accessed and modified.
                    
184
                    
185.. code-block:: php
                    
186
                    
243This method returns a ``GuzzleHttp\Query`` object. A Query object can be
                    
244accessed like a PHP array, iterated in a foreach statement like a PHP array,
                    
245and cast to a string.
                    
280convert the complex structure into a string. Query objects will use
                    
281`PHP style query strings <http://www.php.net/http_build_query>`_ when complex
                    
282query string parameters are converted to a string. You can customize how
                    
319
                    
320    The Host header can also be changed by modifying the Host header of a
                    
321    request directly, but modifying the Host header directly could result in
                    
                
module.audio-video.flv.php https://github.com/robertleeplummerjr/bluebox.git | PHP | 505 lines
                    
53		$ThisFileInfo['fileformat'] = 'flv';
                    
54		$ThisFileInfo['flv']['header']['signature'] =                           substr($FLVheader, 0, 3);
                    
55		$ThisFileInfo['flv']['header']['version']   = getid3_lib::BigEndian2Int(substr($FLVheader, 3, 1));
                    
55		$ThisFileInfo['flv']['header']['version']   = getid3_lib::BigEndian2Int(substr($FLVheader, 3, 1));
                    
56		$TypeFlags                                  = getid3_lib::BigEndian2Int(substr($FLVheader, 4, 1));
                    
57
                    
83			$TagType           = getid3_lib::BigEndian2Int(substr($ThisTagHeader,  4, 1));
                    
84			$DataLength        = getid3_lib::BigEndian2Int(substr($ThisTagHeader,  5, 3));
                    
85			$Timestamp         = getid3_lib::BigEndian2Int(substr($ThisTagHeader,  8, 3));
                    
85			$Timestamp         = getid3_lib::BigEndian2Int(substr($ThisTagHeader,  8, 3));
                    
86			$LastHeaderByte    = getid3_lib::BigEndian2Int(substr($ThisTagHeader, 15, 1));
                    
87			$NextOffset = ftell($fd) - 1 + $DataLength;
                    
135									$PictureSizeEnc['x'] = getid3_lib::BigEndian2Int(substr($FLVvideoHeader, 4, 3));
                    
136									$PictureSizeEnc['y'] = getid3_lib::BigEndian2Int(substr($FLVvideoHeader, 6, 3));
                    
137									$PictureSizeEnc['x'] >>= 7;
                    
                
mod.rss.php https://bitbucket.org/mbaily/tremain.git | PHP | 519 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
79		
                    
80		$request 		= ee()->input->request_headers(TRUE);
                    
81		$start_on 		= '';
                    
104
                    
105		//  Check for the 'If-Modified-Since' Header
                    
106		if (ee()->config->item('send_headers') == 'y' 
                    
113			//  If new content *and* 'feed' or 'diffe', create start on time.
                    
114			//  Otherwise, we send back a Not Modified header
                    
115			if ($last_update <= $modify_tstamp)
                    
116			{
                    
117				@header("HTTP/1.0 304 Not Modified");
                    
118				@header('HTTP/1.1 304 Not Modified');
                    
517
                    
518/* End of file mod.rss.php */
                    
519/* Location: ./system/expressionengine/modules/rss/mod.rss.php */
                    
                
dhd.h https://bitbucket.org/GT-P6200/samsung-kernel-p6200.git | C Header | 451 lines
                    
1/*
                    
2 * Header file describing the internal (inter-module) DHD interfaces.
                    
3 *
                    
11 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
12 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
13 * following added to such license:
                    
117	enum dhd_bus_state busstate;
                    
118	uint hdrlen;		/* Total DHD header length (proto + bus) */
                    
119	uint maxctl;		/* Max size rxctl request from proto to bus */
                    
143
                    
144	ulong rx_readahead_cnt;	/* Number of packets where header read-ahead was used. */
                    
145	ulong tx_realloc;	/* Number of tx packets we had to realloc for headroom */
                    
259 * Returned structure should have bus and prot pointers filled in.
                    
260 * bus_hdrlen specifies required headroom for bus module header.
                    
261 */
                    
                
Setup.php https://bitbucket.org/blackriver/openx.git | PHP | 416 lines
                    
1<?php
                    
2
                    
27
                    
28require_once LIB_PATH . '/Plugin/Component.php';
                    
29require_once LIB_PATH . '/Plugin/ComponentGroupManager.php';
                    
29require_once LIB_PATH . '/Plugin/ComponentGroupManager.php';
                    
30require_once LIB_PATH . '/Util/CodeMunger.php';
                    
31require_once MAX_PATH . '/lib/OA/Algorithm/Dependency/Ordered.php';
                    
31require_once MAX_PATH . '/lib/OA/Algorithm/Dependency/Ordered.php';
                    
32require_once MAX_PATH . '/lib/OA/Algorithm/Dependency/Source/HoA.php';
                    
33
                    
36 */
                    
37define('OX_BUCKETS_COMPILED_FILE', MAX_PATH.'/var/cache/' . OX_getHostName() . '_mergedDeliveryFunctions.php');
                    
38
                    
76     */
                    
77    public $header = "<?php\n\n{TEMPLATE}\n\n?>";
                    
78
                    
                
index.php https://github.com/hregis/dolibarr.git | PHP | 427 lines
                    
1<?php
                    
2/* Copyright (C) 2001-2006	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
                    
22/**
                    
23 *	 \file	   htdocs/fourn/commande/index.php
                    
24 *	 \ingroup	commande fournisseur
                    
27
                    
28require '../../main.inc.php';
                    
29require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
                    
29require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
                    
30require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
                    
31require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
                    
52
                    
53llxHeader('', $langs->trans("SuppliersOrdersArea"));
                    
54
                    
104
                    
105	include DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/theme_vars.inc.php';
                    
106
                    
                
langimport.php https://github.com/dhamma-dev/SEA.git | PHP | 387 lines
                    
33require_once($CFG->libdir.'/filelib.php');
                    
34require_once($CFG->libdir.'/componentlib.class.php');
                    
35
                    
35
                    
36$thisversion = '2.0'; // TODO this information should be taken from version.php or similar source
                    
37
                    
40if (!empty($CFG->skiplangupgrade)) {
                    
41    echo $OUTPUT->header();
                    
42    echo $OUTPUT->box(get_string('langimportdisabled', 'admin'));
                    
116        echo $OUTPUT->confirm(get_string('uninstallconfirm', 'admin', $uninstalllang),
                    
117                     'langimport.php?mode='.DELETION_OF_SELECTED_LANG.'&uninstalllang='.$uninstalllang.'&confirm=1',
                    
118                     'langimport.php');
                    
162
                    
163        if (file_exists($dest1.'/langconfig.php') || file_exists($dest2.'/langconfig.php')){
                    
164            $updateablelangs[] = $clang;
                    
                
ListController.php https://gitlab.com/gideonmarked/atls-express | PHP | 486 lines
                    
1<?php namespace Backend\Behaviors;
                    
2
                    
167
                    
168        $widget->bindEvent('list.overrideHeaderValue', function ($column, $value) use ($definition) {
                    
169            return $this->controller->listOverrideHeaderValue($column->columnName, $definition);
                    
181            $toolbarWidget->bindToController();
                    
182            $toolbarWidget->cssClasses[] = 'list-header';
                    
183
                    
345
                    
346        return implode(PHP_EOL, $collection);
                    
347    }
                    
461    /**
                    
462     * Replace the entire table header contents (<th>...</th>) with custom HTML
                    
463     * @param  string $columnName The column name to override
                    
466     */
                    
467    public function listOverrideHeaderValue($columnName, $definition = null)
                    
468    {
                    
                
general.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 225 lines
                    
124        <i class="icon-hand-right"></i>
                    
125        <span class="kopa-section-title"><?php _e('Header Headline', kopa_get_domain()); ?></span>
                    
126    </div><!--kopa-box-head-->
                    
129        <div class="kopa-element-box kopa-theme-options">
                    
130            <span class="kopa-component-title"><?php _e('Header headline:', kopa_get_domain()); ?></span>            
                    
131            <?php
                    
139                ?>
                    
140                <label  for="<?php echo $kopa_header_headline_status_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_header_headline_status_id; ?>" name="<?php echo $kopa_header_headline_name; ?>" <?php echo ($value == get_option($kopa_header_headline_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
141                <?php
                    
158                foreach ( $kopa_headline_categories as $kopa_headline_category ) { ?>
                    
159                    <option value="<?php echo $kopa_headline_category->term_id; ?>" <?php selected( $kopa_headline_category->term_id, $kopa_current_headline_category_id ); ?>><?php echo $kopa_headline_category->name; ?></option>
                    
160                <?php } // endforeach ?>
                    
190                ?>
                    
191                <label  for="<?php echo $kopa_breadcrumb_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_breadcrumb_id; ?>" name="<?php echo $kopa_breadcrumb_status_name; ?>" <?php echo ($value == get_option($kopa_breadcrumb_status_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
192                <?php
                    
                
common.php https://bitbucket.org/astawiarski/openemr.git | PHP | 397 lines
                    
42
                    
43<link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
                    
44
                    
55<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/dynarch_calendar.js"></script>
                    
56<?php include_once("{$GLOBALS['srcdir']}/dynarch_calendar_en.inc.php"); ?>
                    
57<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/dynarch_calendar_setup.js"></script>
                    
57<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/dynarch_calendar_setup.js"></script>
                    
58<?php include_once("{$GLOBALS['srcdir']}/ajax/facility_ajax_jav.inc.php"); ?>
                    
59<script language="JavaScript">
                    
157  <?php if ($GLOBALS['concurrent_layout']) { ?>
                    
158      <a href="<?php echo "$rootdir/patient_file/encounter/encounter_top.php"; ?>"
                    
159        class="css_button link_submit" onClick="top.restoreSession()"><span><?php xl('Cancel','e'); ?></span></a>
                    
220?>
                    
221       <option value="<?php echo $iter['id']; ?>" <?php if ($def_facility == $iter['id']) echo "selected";?>><?php echo $iter['name']; ?></option>
                    
222<?php
                    
                
options.php https://gitlab.com/billyprice1/website | PHP | 415 lines
                    
1<?php
                    
2require_once(dirname(__FILE__) . '/admin_options/AdminPageFactory.php');
                    
99			'posts' => __('Your latest posts', TEMPLATENAME),
                    
100			'page' => sprintf(__('A %sstatic page%s (select bellow)', TEMPLATENAME), '<a href="edit.php?post_type=page">', '</a>'),
                    
101		),
                    
134		'options' => array('disable' => __('Disable', TEMPLATENAME)) + $_theme_sliders_list,
                    
135		'desc' => __('Slider to be Displayed in Header.', TEMPLATENAME),
                    
136		'onchange' => 'this.form.submit();',
                    
                
FAQ.htm https://gitlab.com/x33n/ProjectPier-Core | HTML | 341 lines
                    
134<div class="doc-source">
                    
135<pre><code>function Header()
                    
136{
                    
181<br>
                    
182<b>Warning:</b> Cannot modify header information - headers already sent by (output started at script.php:X)<br>
                    
183<br>
                    
232<div class="doc-source">
                    
233<pre><code>require('fpdf.php');
                    
234
                    
272<p><b>15.</b> <span class='question'>How can I send the PDF by email?</span></p>
                    
273As any other file, but an easy way is to use <a href="http://phpmailer.codeworxtech.com">PHPMailer</a> and
                    
274its in-memory attachment:
                    
310<br>
                    
311<a href="http://www.setasign.de/products/pdf-php-solutions/fpdi/" target="_blank">http://www.setasign.de/products/pdf-php-solutions/fpdi/</a><br>
                    
312<br>
                    
                
HttpClient.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 352 lines
                    
1<?php
                    
2/**
                    
126        if ($key != null && !function_exists('openssl_pkey_get_private')) {
                    
127            require_once 'Zend/Gdata/App/InvalidArgumentException.php';
                    
128            throw new Zend_Gdata_App_InvalidArgumentException(
                    
129                    'You cannot enable secure AuthSub if the openssl module ' .
                    
130                    'is not enabled in your PHP installation.');
                    
131        }
                    
198     * @param string $url The URL
                    
199     * @param array $headers An associate array of headers to be
                    
200     *                       sent with the request or null
                    
206     */
                    
207    public function filterHttpRequest($method, $url, $headers = array(), $body = null, $contentType = null) {
                    
208        if ($this->getAuthSubToken() != null) {
                    
239        }
                    
240        return array('method' => $method, 'url' => $url, 'body' => $body, 'headers' => $headers, 'contentType' => $contentType);
                    
241    }
                    
                
authentication_documentation.html https://github.com/cgajardo/repositorium.git | HTML | 355 lines
                    
58                rather than receiving content, you will instead get a 401
                    
59                header.
                    
60                We can illustrate this with this test...
                    
62class AuthenticationTest extends WebTestCase {<strong>
                    
63    function test401Header() {
                    
64        $this-&gt;get('http://www.lastcraft.com/protected/');
                    
64        $this-&gt;get('http://www.lastcraft.com/protected/');
                    
65        $this-&gt;showHeaders();
                    
66    }</strong>
                    
68</pre>
                    
69                This allows us to see the challenge header...
                    
70                <div class="demo">
                    
74Date: Sat, 18 Sep 2004 19:25:18 GMT
                    
75Server: Apache/1.3.29 (Unix) PHP/4.3.4
                    
76WWW-Authenticate: Basic realm="SimpleTest basic authentication"
                    
                
update.php https://bitbucket.org/sephora99/kmirock.git | PHP | 420 lines
                    
27	include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version
                    
28	$php_version = phpversion();
                    
29
                    
61		'version'           => $wp_version,
                    
62		'php'               => $php_version,
                    
63		'locale'            => $locale,
                    
75		'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url( '/' ),
                    
76		'headers' => array(
                    
77			'wp_install' => $wp_install,
                    
146	// Check for updated every 60 minutes if hitting update pages; else, check every 12 hours.
                    
147	$timeout = in_array( current_filter(), array( 'load-plugins.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200;
                    
148	$time_not_changed = isset( $current->last_checked ) && $timeout > ( time() - $current->last_checked );
                    
225	// Check for updated every 60 minutes if hitting update pages; else, check every 12 hours.
                    
226	$timeout = in_array( current_filter(), array( 'load-themes.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200;
                    
227	$time_not_changed = isset( $last_update->last_checked ) && $timeout > ( time( ) - $last_update->last_checked );
                    
                
Workbook.php https://bitbucket.org/crowdguru/phpexcel.git | PHP | 451 lines
                    
135	 */
                    
136	private function _writeBookViews(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null)
                    
137	{
                    
165	 */
                    
166	private function _writeWorkbookProtection(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null)
                    
167	{
                    
211	 */
                    
212	private function _writeSheets(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null)
                    
213	{
                    
264	 */
                    
265	private function _writeDefinedNames(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null)
                    
266	{
                    
298	 */
                    
299	private function _writeNamedRanges(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel)
                    
300	{
                    
                
editable.html https://bitbucket.org/mkirby91/tritontime.git | HTML | 232 lines
                    
19					"bServerSide": true,
                    
20					"sAjaxSource": "scripts/server_processing.php",
                    
21					"fnDrawCallback": function () {
                    
21					"fnDrawCallback": function () {
                    
22						$('#example tbody td').editable( '../examples_support/editable_ajax.php', {
                    
23							"callback": function( sValue, y ) {
                    
79		"bServerSide": true,
                    
80		"sAjaxSource": "scripts/server_processing.php",
                    
81		"fnDrawCallback": function () {
                    
111					<li><a href="../basic_init/hidden_columns.html">Hidden columns</a></li>
                    
112					<li><a href="../basic_init/complex_header.html">Complex headers - grouping with colspan</a></li>
                    
113					<li><a href="../basic_init/dom.html">DOM positioning</a></li>
                    
138					<li><a href="../advanced_init/length_menu.html">Defining length menu options</a></li>
                    
139					<li><a href="../advanced_init/complex_header.html">Complex headers and hidden columns</a></li>
                    
140					<li><a href="../advanced_init/dom_toolbar.html">Custom toolbar (element) around table</a></li>
                    
                
Page.php https://github.com/kervin/kyzstudio.git | PHP | 402 lines
                    
271            if (!headers_sent()) {
                    
272                foreach ($headers as $key=>$headerCouple) {
                    
273                    $name = $headerCouple[0];
                    
313        $storedHeaders = array();
                    
314        $headersList = headers_list();
                    
315        foreach($this->_specificOptions['memorize_headers'] as $key=>$headerName) {
                    
315        foreach($this->_specificOptions['memorize_headers'] as $key=>$headerName) {
                    
316            foreach ($headersList as $headerSent) {
                    
317                $tmp = explode(':', $headerSent);
                    
318                $headerSentName = trim(array_shift($tmp));
                    
319                if (strtolower($headerName) == strtolower($headerSentName)) {
                    
320                    $headerSentValue = trim(implode(':', $tmp));
                    
320                    $headerSentValue = trim(implode(':', $tmp));
                    
321                    $storedHeaders[] = array($headerSentName, $headerSentValue);
                    
322                }
                    
                
mailz.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 374 lines
                    
64elseif (zing_mailz_mode()=='remote') require_once(dirname(__FILE__) . '/includes/misc2.php');
                    
65elseif (zing_mailz_mode()=='local') require_once(dirname(__FILE__) . '/includes/misc1.php');
                    
66require_once(dirname(__FILE__) . '/includes/index.php');
                    
75
                    
76	if (phpversion() < '5')	$warnings[]="You are running PHP version ".phpversion().". You require PHP version 5.2 or higher for this plugin, with version 5.3 recommended.";
                    
77	if (!function_exists('curl_init')) $warnings[]="You need to have cURL installed. Contact your hosting provider to do so.";
                    
226		$buffer=str_replace('<a href="./?zlistpage=logout">logout</a>','',$buffer);
                    
227		$buffer=str_replace('./?','admin.php?'.'page=mailz_cp&zlist=index&',$buffer);
                    
228		if (isset($_GET['zlistpage'])) $buffer=str_replace('<form method=post >','<form method=post action="'.$admin.'admin.php?page=mailz_cp&zlist=index&zlistpage='.$_GET['zlistpage'].'">',$buffer);
                    
233		if (isset($_GET['zlistpage'])) $buffer=str_replace('<form method="post" action="">','<form method=post action="'.$admin.'admin.php?page=mailz_cp&zlist=index&zlistpage='.$_GET['zlistpage'].'">',$buffer);
                    
234		$buffer=str_replace(ZING_PHPLIST_URL.'/?',$admin.'admin.php?page=mailz_cp&zlist=index&',$buffer);
                    
235		$buffer=str_replace('./FCKeditor',ZING_PHPLIST_URL.'/admin/FCKeditor',$buffer);
                    
319	if (isset($_REQUEST['page']) && (strstr($_REQUEST['page'],'mailz_') || strstr($_REQUEST['page'],'mailz-'))) {
                    
320		echo '<link rel="stylesheet" type="text/css" href="' . ZING_MAILZ_URL . 'lists/admin/styles/phplist.css" media="screen" />';
                    
321		echo '<link rel="stylesheet" type="text/css" href="' . ZING_MAILZ_URL . 'zing.css" media="screen" />';
                    
                
user-moderation-admin.php https://gitlab.com/Gashler/sg | PHP | 432 lines
                    
180		?>
                    
181		<input name="<?php echo $this->options_key; ?>[type]" type="radio" id="<?php echo $this->options_key; ?>_type_none" value="none"<?php checked( $this->get_option( 'type' ), 'none' ); ?> />
                    
182		<label for="<?php echo $this->options_key; ?>_type_none"><?php _e( 'None', 'theme-my-login' ); ?></label>
                    
184
                    
185		<input name="<?php echo $this->options_key; ?>[type]" type="radio" id="<?php echo $this->options_key; ?>_type_email" value="email" <?php checked( $this->get_option( 'type' ), 'email' ); ?> />
                    
186		<label for="<?php echo $this->options_key; ?>_type_email"><?php _e( 'E-mail Confirmation', 'theme-my-login' ); ?></label>
                    
186		<label for="<?php echo $this->options_key; ?>_type_email"><?php _e( 'E-mail Confirmation', 'theme-my-login' ); ?></label>
                    
187		<p class="description"><?php _e( 'Check this option to require new users to confirm their e-mail address before they may log in.', 'theme-my-login' ); ?></p>
                    
188
                    
188
                    
189		<input name="<?php echo $this->options_key; ?>[type]" type="radio" id="<?php echo $this->options_key; ?>_type_admin" value="admin" <?php checked( $this->get_option( 'type' ), 'admin' ); ?> />
                    
190		<label for="<?php echo $this->options_key; ?>_type_admin"><?php _e( 'Admin Approval', 'theme-my-login' ); ?></label>
                    
265	 *
                    
266	 * Callback for "admin_notices" hook in file admin-header.php
                    
267	 *
                    
                
class-wp-customize-setting.php https://gitlab.com/Gashler/dp | PHP | 439 lines
                    
1<?php
                    
2/**
                    
398 */
                    
399final class WP_Customize_Header_Image_Setting extends WP_Customize_Setting {
                    
400	public $id = 'header_image_data';
                    
407	public function update( $value ) {
                    
408		global $custom_image_header;
                    
409
                    
410		// If the value doesn't exist (removed or random),
                    
411		// use the header_image value.
                    
412		if ( ! $value )
                    
415		if ( is_array( $value ) && isset( $value['choice'] ) )
                    
416			$custom_image_header->set_header_image( $value['choice'] );
                    
417		else
                    
417		else
                    
418			$custom_image_header->set_header_image( $value );
                    
419	}
                    
                
2012-01-202.html https://gitlab.com/bernagg/TI | HTML | 359 lines
                    
38<div id="height-all">
                    
39	<!-- header -->
                    
40	<div id="header-bar">
                    
44			<tr><td width="100%"></td><td>
                    
45			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FYoutubeMP3tv%2F220993711269458&amp;width=270&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=false&amp;height=62&amp;layout=button_count" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:270px; height:21px;" allowTransparency="true"></iframe>
                    
46			<!-- <iframe src="http://www.facebook.com/plugins/like.php?app_id=147297765356025&amp;href=http%3A%2F%2Fyoutubemp3.tv%2F&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe> -->
                    
81
                    
82	<div id="header">
                    
83	<div class="wrap">
                    
84		<a href="http://youtubemp3.tv" class="logo"><img src="http://youtubemp3.tv/images1/YoutubeMP3-logo.png" alt="" /></a>
                    
85		<div id="header_search">
                    
86			<form action="http://youtubemp3.tv" method="get">
                    
104	</div>
                    
105	<!-- /header -->
                    
106	<!-- autocomplete -->
                    
                
index.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 336 lines
                    
1<?php
                    
2
                    
15
                    
16require_once('../../../config.php');
                    
17require_once($CFG->libdir.'/adminlib.php');
                    
85
                    
86echo $OUTPUT->header();
                    
87
                    
87
                    
88// Print headers and things
                    
89echo $OUTPUT->box(get_string('spamcleanerintro', 'tool_spamcleaner'));
                    
96
                    
97<form method="post" action="index.php">
                    
98  <div>
                    
98  <div>
                    
99    <label class="accesshide" for="keyword_el"><?php print_string('spamkeyword', 'tool_spamcleaner') ?></label>
                    
100    <input type="text" name="keyword" id="keyword_el" value="<?php p($keyword) ?>" />
                    
                
Book4Time.Resource.html https://bitbucket.org/jcjordan/jcjordan.bitbucket.org.git | HTML | 291 lines
                    
5<meta charset="utf-8">
                    
6<title>phpDocumentor » \Book4Time\Resource</title>
                    
7<meta name="author" content="Mike van Riel">
                    
17<div class="navbar-inner"><div class="container">
                    
18<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">phpDocumentor</a><div class="nav-collapse"><ul class="nav">
                    
19<li class="dropdown">
                    
55<ul class="side-nav nav nav-list">
                    
56<li class="nav-header">
                    
57<i class="icon-custom icon-method"></i> Methods
                    
66</li>
                    
67<li class="nav-header">
                    
68<i class="icon-custom icon-property"></i> Properties
                    
286            Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
                    
287            Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a12</a> and<br>
                    
288            generated on 2013-02-20T11:27:38-06:00.<br></footer></div>
                    
                
about.php https://gitlab.com/relacilia/cakra | PHP | 243 lines
                    
36
                    
37include( ABSPATH . 'wp-admin/admin-header.php' );
                    
38?>
                    
46			<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
                    
47			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
48			<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
                    
78					<p><?php _e( 'Our newest default theme, Twenty Sixteen, is a modern take on a classic blog design.' ); ?></p>
                    
79					<p><?php _e( 'Twenty Sixteen was built to look great on any device. A fluid grid design, flexible header, fun color schemes, and more, will make your content shine.' ); ?></p>
                    
80					<div class="horizontal-image">
                    
199				<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
                    
200					<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
                    
201						<?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
                    
203				<?php endif; ?>
                    
204				<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
                    
205			</div>
                    
                
PhpFormBuilder.php https://gitlab.com/em645jn/brochure | PHP | 539 lines
                    
1<?php
                    
2
                    
4
                    
5class PhpFormBuilder {
                    
6
                    
371						}
                    
372						$label_html = '<div class="checkbox_header">' . $val['label'] . '</div>';
                    
373						break;
                    
                
class-page-title.php https://gitlab.com/campus-academy/krowkaramel | PHP | 530 lines
                    
95	 */
                    
96	protected function _register_controls() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
                    
97		$this->register_controls();
                    
120			[
                    
121				'label' => __( 'Title', 'header-footer-elementor' ),
                    
122			]
                    
261					'center'  => [
                    
262						'title' => __( 'Center', 'header-footer-elementor' ),
                    
263						'icon'  => 'eicon-text-align-center',
                    
440			<?php } ?>
                    
441			<<?php echo $heading_size_tag; ?> class="elementor-heading-title elementor-size-<?php echo $settings['size']; ?>">
                    
442				<?php if ( '' !== $settings['new_page_title_select_icon']['value'] ) { ?>
                    
465		</div>
                    
466		<?php
                    
467
                    
                
Route.php https://github.com/FbN/Zend-Framework-Namespaced-.git | PHP | 419 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Route.php 23421 2010-11-21 10:03:53Z wilmoore $
                    
20 */
                    
30 */
                    
31require_once 'Zend/Controller/Router/Route/Interface.php';
                    
32
                    
35 */
                    
36require_once 'Zend/Controller/Router/Route/Module.php';
                    
37
                    
40 */
                    
41require_once 'Zend/Controller/Dispatcher/Interface.php';
                    
42
                    
45 */
                    
46require_once 'Zend/Controller/Request/Abstract.php';
                    
47
                    
                
fields.inc.php https://github.com/gunf/novo-isaak.local.git | PHP | 465 lines
                    
1<?php
                    
2
                    
115				case 'content':
                    
116					$output .= '$j("#sectionContentHeader, #sectionContentBody").hide();'; // For 1.0.0
                    
117					$output .= '$j("#ta").parent("div").parent("div").hide().prev("div").hide();'."\n"; // For 1.0.1
                    
240                    $output .= '$j("#content_body").appendTo("#tab'.$newtab.'");'. "\n";
                    
241                    $output .= '$j("#content_header").hide();' . "\n";
                    
242				break;	
                    
                
massmessage.php https://github.com/TravianWar/Travianx.git | PHP | 327 lines
                    
1<?php
                    
2
                    
69	mysql_query($sql);
                    
70	if (($users_count - $_GET['from']) > $max_per_pass) echo header("Location: massmessage.php?send=true&from=",$_GET['from'] + $max_per_pass); else $done = true;
                    
71}
                    
163<head>
                    
164	<title><?php echo SERVER_NAME ?></title>
                    
165    <link REL="shortcut icon" HREF="favicon.ico"/>
                    
214	</div>
                    
215<?php include("Templates/header.tpl"); ?>
                    
216<div id="mid">
                    
239			    <tr>	
                    
240			      <td colspan="2" style="font-size: 10pt; text-align:center;"><?php echo MASS; ?>			        <br>
                    
241			<textarea class="fm" name="message" cols="60" rows="23"></textarea></td>    
                    
243			    <tr>	
                    
244			      <td colspan="2"  style="text-align:center;"><?php echo MASS_REQUIRED; ?><td>    
                    
245			    </tr>
                    
                
BinaryDelta.cs https://github.com/jfcantin/monodevelop.git | C# | 377 lines
                    
7accompanies this distribution, is reproduced below, and is
                    
8available at http://www.eclipse.org/org/documents/edl-v10.php
                    
9
                    
65		/// <remarks>Length of the base object in the delta stream.</remarks>
                    
66		/// <param name="delta">the delta stream, or at least the header of it.</param>
                    
67		/// <returns>the base object's size.</returns>
                    
85		/// <remarks>Length of the resulting object in the delta stream.</remarks>
                    
86		/// <param name="delta">the delta stream, or at least the header of it.</param>
                    
87		/// <returns>the resulting object's size.</returns>
                    
274		/// <param name="delta">the delta instruction sequence to format.</param>
                    
275		/// <param name="includeHeader">
                    
276		/// true if the header (base size and result size) should be
                    
279		/// <returns>the formatted delta.</returns>
                    
280		public static string Format(byte[] delta, bool includeHeader)
                    
281		{
                    
                
rulemailcollector.class.php https://gitlab.com/OnBlox/OnBlox-Template | PHP | 333 lines
                    
1<?php
                    
2/*
                    
92
                    
93      $criterias['subject']['name']                   = __('Subject email header');
                    
94      $criterias['subject']['field']                  = 'subject';
                    
101
                    
102      $criterias['from']['name']                      = __('From email header');
                    
103      $criterias['from']['table']                     = '';
                    
105
                    
106      $criterias['to']['name']                        = __('To email header');
                    
107      $criterias['to']['table']                       = '';
                    
109
                    
110      $criterias['in_reply_to']['name']               = __('In-Reply-To email header');
                    
111      $criterias['in_reply_to']['table']              = '';
                    
113
                    
114      $criterias['x-priority']['name']                = __('X-Priority email header');
                    
115      $criterias['x-priority']['table']               = '';
                    
                
view.php https://github.com/kpike/moodle.git | PHP | 357 lines
                    
1<?php
                    
2
                    
25
                    
26require_once("../config.php");
                    
27require_once($CFG->dirroot.'/user/profile/lib.php');
                    
27require_once($CFG->dirroot.'/user/profile/lib.php');
                    
28require_once($CFG->dirroot.'/tag/lib.php');
                    
29require_once($CFG->libdir . '/filelib.php');
                    
38
                    
39if ($courseid == SITEID) {   // Since Moodle 2.0 all site-level profiles are shown by profile.php
                    
40    redirect($CFG->wwwroot.'/user/profile.php?id='.$id);  // Immediate redirect
                    
42
                    
43$PAGE->set_url('/user/view.php', array('id'=>$id,'course'=>$courseid));
                    
44
                    
99    if (!is_enrolled($coursecontext) and !is_viewing($coursecontext)) { // Need to have full access to a course to see the rest of own info
                    
100        echo $OUTPUT->header();
                    
101        echo $OUTPUT->heading(get_string('notenrolled', '', $fullname));
                    
                
RestServer.php https://github.com/mx504/Provisioner.git | PHP | 537 lines
                    
1<?php
                    
2////////////////////////////////////////////////////////////////////////////////
                    
99		if ($ask) {
                    
100			header("WWW-Authenticate: Basic realm=\"$this->realm\"");
                    
101		}
                    
356		if (isset($_REQUEST['format']) || isset($_SERVER['HTTP_FORMAT'])) {
                    
357			// give GET/POST precedence over HTTP request headers
                    
358			$override = isset($_SERVER['HTTP_FORMAT']) ? $_SERVER['HTTP_FORMAT'] : '';
                    
382	{
                    
383		$data = file_get_contents('php://input');
                    
384		if ($this->format == RestFormat::AMF) {
                    
384		if ($this->format == RestFormat::AMF) {
                    
385			require_once 'Zend/Amf/Parse/InputStream.php';
                    
386			require_once 'Zend/Amf/Parse/Amf3/Deserializer.php';
                    
399	{
                    
400		header("Cache-Control: no-cache, must-revalidate");
                    
401		header("Expires: 0");
                    
                
composeEmailTemplate.js https://github.com/joshbhamilton/sugarcrm_dev.git | JavaScript | 246 lines
                    
37'<div id="composeOverFrame{idx}" style="height:100%;width:100%">' +
                    
38'	<form id="emailCompose{idx}" name="ComposeEditView{idx}" action="index.php" method="POST">' +
                    
39'		<input type="hidden" id="email_id{idx}" name="email_id" value="">' +
                    
60'		<input type="hidden" id="templateAttachmentsRemove{idx}" name="templateAttachmentsRemove">' +
                    
61'		<table id="composeHeaderTable{idx}" cellpadding="0" cellspacing="0" border="0" width="100%" class="list">' +
                    
62'			<tr>' +
                    
63'				<th><table cellpadding="0" cellspacing="0" border="0"><tbody><tr ><td style="padding: 0px !important;margin:0px; !important" >' +
                    
64'					<button type="button" class="button" onclick="SUGAR.email2.composeLayout.sendEmail({idx}, false);"><img src="index.php?entryPoint=getImage&themeName='+SUGAR.themes.theme_name+'&imageName=icon_email_send.gif" align="absmiddle" border="0"> {app_strings.LBL_EMAIL_SEND}</button>' +
                    
65'					<button type="button" class="button" onclick="SUGAR.email2.composeLayout.saveDraft({idx}, false);"><img src="index.php?entryPoint=getImage&themeName='+SUGAR.themes.theme_name+'&imageName=icon_email_save.gif" align="absmiddle" border="0"> {app_strings.LBL_EMAIL_SAVE_DRAFT}</button>' +
                    
65'					<button type="button" class="button" onclick="SUGAR.email2.composeLayout.saveDraft({idx}, false);"><img src="index.php?entryPoint=getImage&themeName='+SUGAR.themes.theme_name+'&imageName=icon_email_save.gif" align="absmiddle" border="0"> {app_strings.LBL_EMAIL_SAVE_DRAFT}</button>' +
                    
66'					<button type="button" class="button" onclick="SUGAR.email2.composeLayout.showAttachmentPanel({idx}, false);"><img src="index.php?entryPoint=getImage&themeName='+SUGAR.themes.theme_name+'&imageName=icon_email_attach.gif" align="absmiddle" border="0"> {app_strings.LBL_EMAIL_ATTACHMENT}</button>' +
                    
67'					<button type="button" class="button" onclick="SUGAR.email2.composeLayout.showOptionsPanel({idx}, false);"><img src="index.php?entryPoint=getImage&themeName='+SUGAR.themes.theme_name+'&imageName=icon_email_options.gif" align="absmiddle" border="0"> {app_strings.LBL_EMAIL_OPTIONS}</button>' +
                    
69'&nbsp;</td><td style="padding: 0px !important;margin:0px; !important"><input id="data_parent_id{idx}" name="data_parent_id{idx}" type="hidden" value="">' +
                    
70'<input class="sqsEnabled" id="data_parent_name{idx}" name="data_parent_name{idx}" type="text" value="">&nbsp;<button type="button" class="button" onclick="SUGAR.email2.composeLayout.callopenpopupForEmail2({idx});"><img src="index.php?entryPoint=getImage&themeName=default&imageName=id-ff-select.png" align="absmiddle" border="0"></button>' +
                    
71'			</td></tr></tbody></table></th>'     +
                    
                
sample.html https://bitbucket.org/pombredanne/spip-zone-treemap.git | HTML | 306 lines
                    
19<div id="rap">
                    
20<h1 id="header"><a href="#" title="WP CSS Styles">WP CSS Styles</a></h1>
                    
21
                    
25<div class="post">
                    
26	 <h3 class="storytitle" id="post-29"><a href="sample.php?c=1#comments" rel="bookmark" title="Permanent Link: WordPress 1.0.1 Released">WordPress 1.0.1 Released</a></h3>
                    
27	<div class="meta">Filed under: <ul class="post-categories">
                    
40		 
                    
41		<a href="sample.php?c=1#comments">Comments (2)</a> 
                    
42	</div>
                    
49<div class="post">
                    
50	 <h3 class="storytitle" id="post-28"><a href="sample.php?c=1#comments" rel="bookmark" title="Permanent Link: Woman Accidentally Deletes Internet">Woman Accidentally Deletes Internet</a></h3>
                    
51	<div class="meta">Filed under: <ul class="post-categories">
                    
76		 
                    
77		<a href="sample.php?c=1#comments">Comments (2)</a> 
                    
78	</div>
                    
                
ChartWrapper.html https://gitlab.com/kevinkhill/lavacharts-api | HTML | 342 lines
                    
42        <div class="container-fluid">
                    
43            <div class="navbar-header">
                    
44                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-elements">
                    
78                
                    
79    <div class="page-header">
                    
80        <h1>ChartWrapper</h1>
                    
83    <p>    class
                    
84    <strong>ChartWrapper</strong>        extends <a href="../../../Khill/Lavacharts/Dashboards/Wrapper.html"><abbr title="Khill\Lavacharts\Dashboards\Wrapper">Wrapper</abbr></a>        (<a href="https://github.com/khill/lavacharts/blob/master/src/Dashboards/ChartWrapper.php">View source</a>)
                    
85</p>
                    
                
Dashlet.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 378 lines
                    
37
                    
38require_once('include/Sugar_Smarty.php');
                    
39require_once('include/utils/layout_utils.php');
                    
122                                . $this->id . '\'); return false;">'
                    
123                                . SugarThemeRegistry::current()->getImage('dashlet-header-refresh','border="0" align="absmiddle" title="' . translate('LBL_DASHLET_REFRESH', 'Home') . '" alt="' . translate('LBL_DASHLET_REFRESH', 'Home') . '"')
                    
124                                . '</a>';
                    
176        if(empty($sugar_config['lock_homepage']) || $sugar_config['lock_homepage'] == false) $str .= 'onmouseover="this.style.cursor = \'move\';" ';
                    
177        $str .= 'id="dashlet_header_' . $this->id . '" class="hd"><div class="tl"></div><div class="hd-center">' . get_form_header($this->title, $title, false) . '</div><div class="tr"></div></div><div class="bd"><div class="ml"></div><div class="bd-center">';
                    
178        
                    
284            // load current language strings for current language, else default to english
                    
285            if(is_file($dashletDirectory . $dashletClassname . '/' . $dashletClassname . '.' . $current_language . '.lang.php')
                    
286                    || is_file('custom/' . $dashletDirectory . $dashletClassname . '/' . $dashletClassname . '.' . $current_language . '.lang.php') ) {
                    
298                if(is_file('custom/' . $dashletDirectory . $dashletClassname . '/' . $dashletClassname . '.en_us.lang.php')) {
                    
299                    require('custom/' . $dashletDirectory . $dashletClassname . '/' . $dashletClassname . '.en_us.lang.php');
                    
300                }
                    
                
AdWordsUser.php https://github.com/markvince/CakePHP-GAStats-Plugin.git | PHP | 410 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * PHP version 5
                    
7 *
                    
29 */
                    
30require_once dirname(__FILE__) . '/../../Common/Lib/AdsUser.php';
                    
31require_once dirname(__FILE__) . '/../../Common/Util/ApiPropertiesUtils.php';
                    
31require_once dirname(__FILE__) . '/../../Common/Util/ApiPropertiesUtils.php';
                    
32require_once 'AdWordsSoapClientFactory.php';
                    
33require_once 'AdWordsConstants.php';
                    
48  /**
                    
49   * The name of the SOAP header that represents the user agent making API
                    
50   * calls.
                    
52   */
                    
53  const USER_AGENT_HEADER_NAME = 'userAgent';
                    
54
                    
                
settings.php https://github.com/MikeLockz/lockwitz.git | PHP | 277 lines
                    
80				<td>
                    
81					<label><input name="registration" type="radio" id="registration1" value="none"<?php checked( $reg, 'none') ?> /> <?php _e( 'Registration is disabled.' ); ?></label><br />
                    
82					<label><input name="registration" type="radio" id="registration2" value="user"<?php checked( $reg, 'user') ?> /> <?php _e( 'User accounts may be registered.' ); ?></label><br />
                    
82					<label><input name="registration" type="radio" id="registration2" value="user"<?php checked( $reg, 'user') ?> /> <?php _e( 'User accounts may be registered.' ); ?></label><br />
                    
83					<label><input name="registration" type="radio" id="registration3" value="blog"<?php checked( $reg, 'blog') ?> /> <?php _e( 'Logged in users may register new sites.' ); ?></label><br />
                    
84					<label><input name="registration" type="radio" id="registration4" value="all"<?php checked( $reg, 'all') ?> /> <?php _e( 'Both sites and user accounts can be registered.' ); ?></label><br />
                    
97				<td>
                    
98					<label><input name="registrationnotification" type="checkbox" id="registrationnotification" value="yes"<?php checked( get_site_option( 'registrationnotification' ), 'yes' ) ?> /> <?php _e( 'Send the network admin an email notification every time someone registers a site or user account.' ) ?></label>
                    
99				</td>
                    
219				<td>
                    
220				<label><input type="checkbox" id="upload_space_check_disabled" name="upload_space_check_disabled" value="0"<?php checked( get_site_option( 'upload_space_check_disabled' ), 0 ) ?>/> <?php printf( __( 'Limit total size of files uploaded to %s MB' ), '</label><label><input name="blog_upload_space" type="text" id="blog_upload_space" value="' . esc_attr( get_site_option('blog_upload_space', 10) ) . '" size="3" />' ); ?></label><br />
                    
221				</td>
                    
276
                    
277<?php include( '../admin-footer.php' ); ?>
                    
278
                    
                
shp.php https://bitbucket.org/pavolve/masterskayaludmila.git | PHP | 426 lines
                    
33    set_include_path(get_include_path() . PATH_SEPARATOR . getcwd() . '/libraries/bfShapeFiles/');
                    
34    include_once './libraries/bfShapeFiles/ShapeFile.lib.php';
                    
35
                    
96            if ($this->_isDbaseLoaded() && $this->_openDBFFile()) {
                    
97                $this->DBFHeader = $this->_loadDBFHeader();
                    
98            }
                    
132            $this->DBFFile = $DBFFile;
                    
133            $this->_loadHeaders();
                    
134
                    
159
                    
160        function _loadHeaders()
                    
161        {
                    
345    // If .dbf file is loaded, the number of extra data columns
                    
346    $num_data_cols = isset($shp->DBFHeader) ? count($shp->DBFHeader) : 0;
                    
347
                    
                
Auth_OpenID_PAPE_Request.html https://github.com/yupe/xomaprojects.git | HTML | 373 lines
                    
27		<p class="notes">
                    
28			Located in <a class="field" href="_Auth---OpenID---PAPE.php.html">/Auth/OpenID/PAPE.php</a> (line <span class="field">35</span>)
                    
29		</p>
                    
156
                    
157	<div class="var-header">
                    
158		<span class="var-title">
                    
223	
                    
224	<div class="method-header">
                    
225		<span class="method-title">addPolicyURI</span> (line <span class="line-number">60</span>)
                    
254	
                    
255	<!-- ========== Info from phpDoc block ========= -->
                    
256<p class="short-description">Instantiate a Request object from the arguments in a checkid_*</p>
                    
369	<p class="notes" id="credit">
                    
370		Documentation generated on Tue, 21 Apr 2009 11:31:32 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.2</a>
                    
371	</p>
                    
                
 

Source

Language