PageRenderTime 223ms queryTime 40ms sortTime 12ms getByIdsTime 45ms findMatchingLines 61ms

100+ results results for 'php ob_start repo:stormeus/Kusaba-Z' (223 ms)

Not the results you expected?
index.php https://github.com/ECP-Black/ECP.git | PHP | 184 lines
                    
1<?php
                    
2function news($topicID = 0) {
                    
36			$tpl->assign('pic', (file_exists('templates/'.DESIGN.'/images/topics/'.$row['topicbild']))? 'templates/'.DESIGN.'/images/topics/'.$row['topicbild'] : 'images/topics/'.$row['topicbild']);
                    
37			ob_start();
                    
38			$tpl->display(DESIGN.'/tpl/news/news.html');
                    
90		$tpl->assign('news', $news);
                    
91		ob_start();
                    
92		$tpl->display(DESIGN.'/tpl/news/news_archiv.html');
                    
127			$tpl->assign('pic', (file_exists('templates/'.DESIGN.'/images/topics/'.$row['topicbild']))? 'templates/'.DESIGN.'/images/topics/'.$row['topicbild'] : 'images/topics/'.$row['topicbild']);
                    
128			ob_start();
                    
129			$tpl->display(DESIGN.'/tpl/news/news.html');
                    
                
ExportToGoogleLiveData.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 192 lines
                    
36        $pluginUrlDir = $plugin->getPluginDirUrl();
                    
37        $scriptLink = $pluginUrlDir . 'CFDBGoogleSSLiveData.php';
                    
38        $imageUrlDir = $pluginUrlDir . "help";
                    
122                        <a href="<?php echo $imageUrlDir ?>/GooglePasteScriptEditor.png">
                    
123                            <img src="<?php echo $imageUrlDir ?>/GooglePasteScriptEditor.png" alt="Paste script text" height="68px" width="100px"/>
                    
124
                    
133                    <p><?php _e('<strong>Copy</strong> the text from ', 'contact-form-7-to-database-extension'); ?>
                    
134                        <a target="_gscript" href="<?php echo($scriptLink) ?>"><?php echo htmlspecialchars(__('THIS SCRIPT FILE', 'contact-form-7-to-database-extension')); ?></a>
                    
135                        <?php _e('and <strong>paste</strong> it into the Google script editor', 'contact-form-7-to-database-extension'); ?></p>
                    
168                        <br/><?php echo htmlspecialchars(__('Enter in the cell the formula:', 'contact-form-7-to-database-extension')); ?>
                    
169                        <br/><span style="background-color: yellow"><code><?php echo("=cfdbdata(\"$siteUrl\", \"$formName\", \"$userName\", \"&lt;password&gt;\")") ?></code></span>
                    
170                        <br/><?php _e('Replace <strong>&lt;password&gt;</strong> with your <em>WordPress</em> password', 'contact-form-7-to-database-extension'); ?>
                    
175                    <p>
                    
176                        <a href="<?php echo $scBuilderPageUrl ?>" target="sc"><?php echo htmlspecialchars(__('Customize the output by creating a Google Spreadsheet Function call with additional options', 'contact-form-7-to-database-extension')); ?></a>
                    
177                    </p>
                    
                
sfException.class.php https://github.com/mrwabu/urlcatcher.git | PHP | 438 lines
                    
1<?php
                    
2
                    
20 * @author     Sean Kerr <sean@code-box.org>
                    
21 * @version    SVN: $Id: sfException.class.php 23186 2009-10-19 14:43:29Z fabien $
                    
22 */
                    
82    {
                    
83      // log all exceptions in php log
                    
84      error_log($exception->getMessage());
                    
94
                    
95      ob_start(sfConfig::get('sf_compressed') ? 'ob_gzhandler' : '');
                    
96
                    
188    // when using CLI, we force the format to be TXT
                    
189    if (0 == strncasecmp(PHP_SAPI, 'cli', 3))
                    
190    {
                    
219      {
                    
220        ob_start();
                    
221        include $template;
                    
                
CakeHtmlReporter.php https://bitbucket.org/vishallogiciel/admin-bootstrap.git | PHP | 385 lines
                    
6 *
                    
7 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
                    
8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
15 * @link          http://cakephp.org CakePHP(tm) Project
                    
16 * @since         CakePHP(tm) v 1.2.0.4433
                    
16 * @since         CakePHP(tm) v 1.2.0.4433
                    
17 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
18 */
                    
104		foreach ($testCases as $testCase) {
                    
105			$title = explode(DS, str_replace('.test.php', '', $testCase));
                    
106			$title[count($title) - 1] = Inflector::camelize($title[count($title) - 1]);
                    
134 *
                    
135 * @param PHPUnit_Framework_TestResult $result Result object
                    
136 * @return void
                    
                
GifCreator.php https://gitlab.com/billyprice1/mc-skintools | PHP | 349 lines
                    
1<?php
                    
2
                    
9     * @author    Sybio (Clément Guillemain  / @Sybio01)
                    
10     * @license   http://opensource.org/licenses/gpl-license.php GNU Public License
                    
11     * @copyright Clément Guillemain
                    
98
                    
99                    ob_start();
                    
100                    imagegif($frames[$i]);
                    
112
                    
113                    ob_start();
                    
114                    imagegif($resourceImg);
                    
                
ac28db01878361e31b02909532d9.php https://bitbucket.org/AdriVanHoudt/school.git | PHP | 230 lines
                    
1<?php
                    
2
                    
54        echo "    ";
                    
55        ob_start();
                    
56        // line 12
                    
106        echo "    ";
                    
107        ob_start();
                    
108        // line 34
                    
                
class-walker-comment.php https://gitlab.com/morganestes/wordpress-develop | PHP | 400 lines
                    
239?>
                    
240		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( '', $comment ); ?>>
                    
241			<div class="comment-body">
                    
241			<div class="comment-body">
                    
242				<?php _e( 'Pingback:' ); ?> <?php comment_author_link( $comment ); ?> <?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
                    
243			</div>
                    
266?>
                    
267		<<?php echo $tag; ?> <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?> id="comment-<?php comment_ID(); ?>">
                    
268		<?php if ( 'div' != $args['style'] ) : ?>
                    
294				</a>
                    
295				<?php
                    
296				edit_comment_link( __( '(Edit)' ), '&nbsp;&nbsp;', '' );
                    
345?>
                    
346		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?>>
                    
347			<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
                    
                
%%18^180^180E8F63%%edit.tpl.php https://github.com/roycocup/Tests.git | PHP | 192 lines
                    
28						<?php endif; ?>
                    
29						<option <?php if ($this->_tpl_vars['posted']['client']['id'] == $this->_tpl_vars['client']->id): ?> selected <?php endif; ?>value="<?php echo $this->_tpl_vars['client']->id; ?>
                    
30"><?php echo $this->_tpl_vars['client']->name; ?>
                    
52						<?php endif; ?>
                    
53						<option <?php if ($this->_tpl_vars['posted']['jobId'] == $this->_tpl_vars['job']->job_id): ?> selected <?php endif; ?> value="<?php echo $this->_tpl_vars['job']->job_id; ?>
                    
54"><?php echo $this->_tpl_vars['job']->job_number; ?>
                    
107'); " /><?php endif; ?>
                    
108				Alter description (optional) <input type="text" name="editJob[thumbAlt]" class="medium" <?php if ($this->_tpl_vars['posted']['media']['thumbs']['0']['description'] != ''): ?> value="<?php echo $this->_tpl_vars['posted']['media']['thumbs']['0']['description']; ?>
                    
109" <?php endif; ?> />
                    
123				<div id="date">
                    
124					<input type="text" id="editJob[datePublished]" name="editJob[datePublished]" <?php if ($this->_tpl_vars['posted']['datePublished'] != ''): ?> value=<?php echo $this->_tpl_vars['posted']['datePublished']->tostring('dd/MM/YYYY'); ?>
                    
125 <?php endif; ?> />
                    
134?>
                    
135						<option <?php if ($this->_tpl_vars['posted']['status']->id == $this->_tpl_vars['state']['id']): ?> selected <?php endif; ?> value="<?php echo $this->_tpl_vars['state']['id']; ?>
                    
136"><?php echo $this->_tpl_vars['state']['name']; ?>
                    
                
ui.class.php https://gitlab.com/x33n/ampache | PHP | 355 lines
                    
1<?php
                    
2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
                    
46        header("HTTP/1.1 403 $error");
                    
47        require_once AmpConfig::get('prefix') . '/templates/show_denied.inc.php';
                    
48        exit;
                    
58    {
                    
59        ob_start();
                    
60        require AmpConfig::get('prefix') . '/templates/' . $template;
                    
276    {
                    
277        require_once AmpConfig::get('prefix') . '/templates/header.inc.php';
                    
278    }
                    
289        }
                    
290        require_once AmpConfig::get('prefix') . '/templates/footer.inc.php';
                    
291        if (isset($_REQUEST['profiling'])) {
                    
302    {
                    
303        require AmpConfig::get('prefix') . '/templates/show_box_top.inc.php';
                    
304    }
                    
                
sitemailer_.php https://gitlab.com/nvtdn2006/azora | PHP | 384 lines
                    
1<?php
                    
2class SiteMailer
                    
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";
                    
90			{
                    
91				$this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--";
                    
92				$this->msgBody .= $this->attachment;				
                    
92				$this->msgBody .= $this->attachment;				
                    
93				$this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--";
                    
94			}*/		
                    
105		$content = '';
                    
106		ob_start();
                    
107		include($filepath);
                    
156	private function sendActivationToCustomer($property) {
                    
157		/*$htmlCT = "--PHP-alt-" . $this->randomHash . "\r\n";
                    
158		$htmlCT .= 'Content-Type: text/html; charset="iso-8859-1"' . "\r\n";
                    
                
functions.wp-cron.php https://github.com/pfond/PFOND.git | PHP | 402 lines
                    
1<?php
                    
2// Last sync [WP12462]
                    
218
                    
219		ob_start();
                    
220		wp_redirect( add_query_arg('doing_wp_cron', '', stripslashes($_SERVER['REQUEST_URI'])) );
                    
226
                    
227		@include_once(ABSPATH . 'wp-cron.php');
                    
228		return;
                    
                
options.php https://gitlab.com/alexprowars/bitrix | PHP | 352 lines
                    
7
                    
8	IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/options.php");
                    
9	IncludeModuleLangFile(__FILE__);
                    
41	{
                    
42		require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/perfmon/prolog.php");
                    
43
                    
89
                    
90		ob_start();
                    
91		$Update = $Update.$Apply;
                    
91		$Update = $Update.$Apply;
                    
92		require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");
                    
93		ob_end_clean();
                    
269		$tabControl->BeginNextTab();
                    
270		require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");
                    
271		$tabControl->Buttons(); ?>
                    
                
keychain.php https://github.com/Hackwar/joomla-platform.git | PHP | 381 lines
                    
1#!/usr/bin/env php
                    
2<?php
                    
13// Load the Joomla! Platform
                    
14require_once realpath('../libraries/import.php');
                    
15
                    
256	{
                    
257		ob_start();
                    
258		var_dump($var);
                    
                
eclipse.php https://github.com/200896596/moodle.git | PHP | 307 lines
                    
1<?php
                    
2/**
                    
10 */
                    
11include_once 'unit_tester.php';
                    
12include_once 'test_case.php';
                    
12include_once 'test_case.php';
                    
13include_once 'invoker.php';
                    
14include_once 'socket.php';
                    
14include_once 'socket.php';
                    
15include_once 'mock_objects.php';
                    
16/**#@-*/
                    
286    function before($method){
                    
287        ob_start();
                    
288        $this->_invoker->before($method);
                    
                
CaptureCache.php https://gitlab.com/faisaliqbal/mytripsorter | PHP | 387 lines
                    
1<?php
                    
2/**
                    
28
                    
29        ob_start(function ($content) use ($pageId) {
                    
30            $this->set($content, $pageId);
                    
31
                    
32            // http://php.net/manual/function.ob-start.php
                    
33            // -> If output_callback  returns FALSE original input is sent to the browser.
                    
                
CBaseController.php https://github.com/sassman/django-benchmark.git | PHP | 296 lines
                    
1<?php
                    
2/**
                    
55 * @author Qiang Xue <qiang.xue@gmail.com>
                    
56 * @version $Id: CBaseController.php 2172 2010-06-07 19:56:01Z qiang.xue $
                    
57 * @package system.web
                    
100	 * Renders a view file.
                    
101	 * This method includes the view file as a PHP script
                    
102	 * and captures the display result if required.
                    
116		{
                    
117			ob_start();
                    
118			ob_implicit_flush(false);
                    
156		{
                    
157			ob_start();
                    
158			ob_implicit_flush(false);
                    
                
91e6e514fb5c418a6385eaadd54115a3c0d065be.file.order-slip.tpl.php https://gitlab.com/nghiep5890/prestashop | PHP | 148 lines
                    
31),false); /*/%%SmartyHeaderCode%%*/?>
                    
32<?php if ($_valid && !is_callable('content_5837177e2dbe11_47129659')) {function content_5837177e2dbe11_47129659($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_regex_replace')) include 'C:\\xampp\\htdocs\\prestashop\\tools\\smarty\\plugins\\modifier.regex_replace.php';
                    
33?>
                    
34
                    
35<?php $_smarty_tpl->_capture_stack[0][] = array('path', null, null); ob_start(); ?><a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('my-account',true), ENT_QUOTES, 'UTF-8', true);?>
                    
36"><?php echo smartyTranslate(array('s'=>'My account'),$_smarty_tpl);?>
                    
85?>
                    
86					<tr class="<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['myLoop']['first']) {?>first_item<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['myLoop']['last']) {?>last_item<?php } else { ?>item<?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['myLoop']['index']%2) {?>alternate_item<?php }?>">
                    
87						<td class="bold">
                    
106						<td class="history_invoice">
                    
107							<a class="link-button" href="<?php ob_start();?><?php echo intval($_smarty_tpl->tpl_vars['slip']->value['id_order_slip']);?>
                    
108<?php $_tmp57=ob_get_clean();?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('pdf-order-slip',true,null,"id_order_slip=".$_tmp57), ENT_QUOTES, 'UTF-8', true);?>
                    
138		<a class="btn btn-default button button-small" href="<?php if (isset($_smarty_tpl->tpl_vars['force_ssl']->value)&&$_smarty_tpl->tpl_vars['force_ssl']->value) {?><?php echo $_smarty_tpl->tpl_vars['base_dir_ssl']->value;?>
                    
139<?php } else { ?><?php echo $_smarty_tpl->tpl_vars['base_dir']->value;?>
                    
140<?php }?>">
                    
                
write.real.php https://github.com/AJenbo/ubuntudanmark.dk.git | PHP | 303 lines
                    
1<?php
                    
2/////////////////////////////////////////////////////////////////
                    
9//                                                             //
                    
10// write.real.php                                              //
                    
11// module for writing RealAudio/RealVideo tags                 //
                    
11// module for writing RealAudio/RealVideo tags                 //
                    
12// dependencies: module.tag.real.php                           //
                    
13//                                                            ///
                    
30		if (is_writeable($this->filename)) {
                    
31			ob_start();
                    
32			if ($fp_source = fopen($this->filename, 'r+b')) {
                    
97					if ($tempfilename = tempnam(GETID3_TEMP_DIR, 'getID3')) {
                    
98						ob_start();
                    
99						if ($fp_temp = fopen($tempfilename, 'wb')) {
                    
228		if (is_writeable($this->filename)) {
                    
229			ob_start();
                    
230			if ($fp_source = fopen($this->filename, 'r+b')) {
                    
                
wp_loaded.php https://gitlab.com/najomie/fit-hippie | PHP | 281 lines
                    
1<?php
                    
2
                    
207
                    
208								ob_start();
                    
209
                    
                
HeadStyle.php https://github.com/MarcelloDuarte/zf2.git | PHP | 426 lines
                    
1<?php
                    
2/**
                    
84     *
                    
85     * Set separator to PHP_EOL.
                    
86     *
                    
91        parent::__construct();
                    
92        $this->setSeparator(PHP_EOL);
                    
93    }
                    
285        $this->_captureType        = $type;
                    
286        ob_start();
                    
287    }
                    
357
                    
358        $escapeStart = $indent . '<!--'. PHP_EOL;
                    
359        $escapeEnd = $indent . '-->'. PHP_EOL;
                    
367
                    
368        $html = '<style type="text/css"' . $attrString . '>' . PHP_EOL
                    
369              . $escapeStart . $indent . $item->content . PHP_EOL . $escapeEnd
                    
                
eventmessagethemecompiler.php https://gitlab.com/Rad1calDreamer/honey | PHP | 336 lines
                    
1<?php
                    
2/**
                    
225			{
                    
226				$template_path_header = \Bitrix\Main\Application::getDocumentRoot().$templateFields['PATH'].'/header.php';
                    
227				$template_path_footer = \Bitrix\Main\Application::getDocumentRoot().$templateFields['PATH'].'/footer.php';
                    
256
                    
257		$resultBody = $this->executePhp($this->body, 100);
                    
258		if($this->themeProlog)
                    
258		if($this->themeProlog)
                    
259			$resultThemeProlog = $this->executePhp($this->themeProlog, 50);
                    
260		if($this->themeEpilog)
                    
260		if($this->themeEpilog)
                    
261			$resultThemeEpilog = $this->executePhp($this->themeEpilog, 150);
                    
262
                    
267
                    
268	protected function executePhp($template, $resourceOrder = 100)
                    
269	{
                    
                
ExportToHtmlTemplate.php https://gitlab.com/mattswann/launch-housing | PHP | 232 lines
                    
1<?php

                    
2/*

                    
21

                    
22require_once('ExportBase.php');

                    
23require_once('CFDBExport.php');

                    
23require_once('CFDBExport.php');

                    
24require_once('CFDBShortCodeContentParser.php');

                    
25

                    
71        if ($this->isFromShortCode) {

                    
72            ob_start();

                    
73        }

                    
                
HtmlDumperTest.php https://gitlab.com/Laolballs/evotting | PHP | 146 lines
                    
1<?php
                    
2
                    
19 */
                    
20class HtmlDumperTest extends \PHPUnit_Framework_TestCase
                    
21{
                    
23    {
                    
24        require __DIR__.'/Fixtures/dumb-var.php';
                    
25
                    
25
                    
26        $dumper = new HtmlDumper('php://output');
                    
27        $dumper->setDumpHeader('<foo></foo>');
                    
38
                    
39        ob_start();
                    
40        $dumper->dump($data);
                    
41        $out = ob_get_clean();
                    
42        $closureLabel = PHP_VERSION_ID >= 50400 ? 'public method' : 'function';
                    
43        $out = preg_replace('/[ \t]+$/m', '', $out);
                    
                
manager.php https://gitlab.com/ebrjose/comcebu | PHP | 339 lines
                    
1<?php
                    
2namespace Elementor\Core\Settings\Base;
                    
270		<#
                    
271		const tabs = elementor.config.settings.<?php
                    
272			// PHPCS - the variable $name does not contain a user input value.
                    
272			// PHPCS - the variable $name does not contain a user input value.
                    
273			echo $name; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
                    
274		?>.tabs;
                    
278				<# _.each( tabs, function( tabTitle, tabSlug ) {
                    
279					$e.bc.ensureTab( 'panel/<?php
                    
280						// PHPCS - the variable $name does not contain a user input value.
                    
280						// PHPCS - the variable $name does not contain a user input value.
                    
281						echo $name; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
                    
282					?>-settings', tabSlug ); #>
                    
288		<# } #>
                    
289		<div id="elementor-panel-<?php echo esc_attr( $name ); ?>-settings-controls"></div>
                    
290		<?php
                    
                
unicode.php https://github.com/fusenigk/mantisbt-1.git | PHP | 269 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version $Id: unicode.php,v 1.2 2006/02/26 13:20:44 harryf Exp $
                    
4* Tools for conversion between UTF-8 and unicode
                    
9* the Initial Developer. All Rights Reserved.
                    
10* Ported to PHP by Henri Sivonen (http://hsivonen.iki.fi)
                    
11* Slight modifications to fit with phputf8 library by Harry Fuecks (hfuecks gmail com)
                    
13* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp
                    
14* @see http://hsivonen.iki.fi/php-utf8/
                    
15* @package utf8
                    
25* Returns false if the input string isn't a valid UTF-8 octet sequence
                    
26* and raises a PHP error at level E_USER_WARNING
                    
27* Note: this function has been modified slightly in this library to
                    
32* @see utf8_from_unicode
                    
33* @see http://hsivonen.iki.fi/php-utf8/
                    
34* @package utf8
                    
                
Worker.php https://github.com/rrehbeindoi/net_gearman.git | PHP | 499 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP version 5.1.0+
                    
6 *
                    
8 * available through the world-wide-web at the following URI:
                    
9 * http://www.opensource.org/licenses/bsd-license.php. If you did not receive
                    
10 * a copy of the New BSD License and are unable to obtain it through the web,
                    
10 * a copy of the New BSD License and are unable to obtain it through the web,
                    
11 * please send a note to license@php.net so we can mail you a copy immediately.
                    
12 *
                    
16 * @copyright 2007-2008 Digg.com, Inc.
                    
17 * @license   http://www.opensource.org/licenses/bsd-license.php New BSD License
                    
18 * @version   CVS: $Id$
                    
18 * @version   CVS: $Id$
                    
19 * @link      http://pear.php.net/package/Net_Gearman
                    
20 * @link      http://www.danga.com/gearman/
                    
                
moduleinstallstep.php https://gitlab.com/alexprowars/bitrix | PHP | 483 lines
                    
1<?php
                    
2namespace Bitrix\Sale\CrmSiteMaster\Steps;
                    
91
                    
92		ob_start();
                    
93		?>
                    
152		<script type="text/javascript">
                    
153			BX.message(<?=\CUtil::PhpToJSObject($messages)?>);
                    
154			var ajaxWizardForm = new CAjaxWizardForm("<?=$formName?>", "iframe-post-form", "<?=$nextStepVarName?>");
                    
238			$strError .= "<br /><br />".Loc::getMessage("SALE_CSM_WIZARD_MODULEINSTALLSTEP_ERROR_NOTICE", [
                    
239				"#MODULES_LINK#" => "/bitrix/admin/module_admin.php?lang=".LANGUAGE_ID
                    
240			]);
                    
350	{
                    
351		/** @noinspection PhpVariableNamingConventionInspection */
                    
352		global $DB, $APPLICATION;
                    
409
                    
410			/** @noinspection PhpVoidFunctionResultUsedInspection */
                    
411			if (!$module->InstallFiles())
                    
                
view.php https://github.com/joshuarubin/fuel_core.git | PHP | 423 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Fuel is a fast, lightweight, community driven PHP5 framework.
                    
4 *
                    
9 * @copyright  2010 - 2011 Fuel Development Team
                    
10 * @link       http://fuelphp.com
                    
11 */
                    
18 *
                    
19 * Acts as an object wrapper for HTML pages with embedded PHP, called "views".
                    
20 * Variables can be assigned with the view object and referenced locally within
                    
31 * @license		http://kohanaframework.org/license
                    
32 * @link		http://fuelphp.com/docs/classes/view.html
                    
33 */
                    
51	// File extension used for views
                    
52	protected $extension = 'php';
                    
53
                    
                
unicode.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 269 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version $Id: unicode.php,v 1.1 2008/10/10 20:52:53 mj Exp $
                    
4* Tools for conversion between UTF-8 and unicode
                    
9* the Initial Developer. All Rights Reserved.
                    
10* Ported to PHP by Henri Sivonen (http://hsivonen.iki.fi)
                    
11* Slight modifications to fit with phputf8 library by Harry Fuecks (hfuecks gmail com)
                    
13* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp
                    
14* @see http://hsivonen.iki.fi/php-utf8/
                    
15* @package utf8
                    
25* Returns false if the input string isn't a valid UTF-8 octet sequence
                    
26* and raises a PHP error at level E_USER_WARNING
                    
27* Note: this function has been modified slightly in this library to
                    
32* @see utf8_from_unicode
                    
33* @see http://hsivonen.iki.fi/php-utf8/
                    
34* @package utf8
                    
                
MailingJob.php https://github.com/nysenate/Bluebird-CRM.git | PHP | 402 lines
                    
1<?php
                    
2
                    
201        ],
                    
202        'mailing_job_start_date' => [
                    
203          'name' => 'start_date',
                    
                
Abstract.php https://github.com/Zefiryn/graduationprojects.git | PHP | 378 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Abstract.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
261		if ($this->_captureLock) {
                    
262			require_once 'Zend/View/Helper/Placeholder/Container/Exception.php';
                    
263			$e = new Zend_View_Helper_Placeholder_Container_Exception('Cannot nest placeholder captures for the same placeholder');
                    
272		}
                    
273		ob_start();
                    
274	}
                    
335	 *
                    
336	 * as defined by the PHP manual
                    
337	 * @return int
                    
                
fetch.php https://github.com/mchurchward/moodle.git | PHP | 283 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
259
                    
260        ob_start();
                    
261        $instance->out($pagesize, true);
                    
                
functions.php https://gitlab.com/i-have-a-green/digitemis-v3 | PHP | 334 lines
                    
1<?php
                    
2namespace GuzzleHttp;
                    
48        default:
                    
49            ob_start();
                    
50            var_dump($input);
                    
91
                    
92    return fopen('php://output', 'w');
                    
93}
                    
139        }
                    
140        $defaultAgent .= ' PHP/' . PHP_VERSION;
                    
141    }
                    
298 * @throws Exception\InvalidArgumentException if the JSON cannot be decoded.
                    
299 * @link http://www.php.net/manual/en/function.json-decode.php
                    
300 */
                    
321 * @throws Exception\InvalidArgumentException if the JSON cannot be encoded.
                    
322 * @link http://www.php.net/manual/en/function.json-encode.php
                    
323 */
                    
                
Modules.php https://bitbucket.org/goandget/goportal.git | PHP | 205 lines
                    
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
                    
2
                    
2
                    
3/* PHP5 spl_autoload */
                    
4spl_autoload_register('Modules::autoload');
                    
6/**
                    
7 * Modular Extensions - PHP5
                    
8 *
                    
15 *
                    
16 * Install this file as application/libraries/Modules.php
                    
17 *
                    
61			if (method_exists($class, $method))	{
                    
62				ob_start();
                    
63				$args = func_get_args();
                    
                
class-wc-widget-layered-nav.php https://gitlab.com/iamgraeme/royalmile | PHP | 459 lines
                    
1<?php
                    
2
                    
159
                    
160		ob_start();
                    
161
                    
                
shell.test.php https://github.com/cgajardo/repositorium.git | PHP | 501 lines
                    
8 *
                    
9 * CakePHP :  Rapid Development Framework (http://cakephp.org)
                    
10 * Copyright 2006-2010, Cake Software Foundation, Inc.
                    
15 * @copyright     Copyright 2006-2010, Cake Software Foundation, Inc.
                    
16 * @link          http://cakephp.org CakePHP Project
                    
17 * @package       cake
                    
18 * @subpackage    cake.tests.cases.console.libs
                    
19 * @since         CakePHP v 1.2.0.7726
                    
20 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
370
                    
371		$path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php';
                    
372		$this->assertEqual($this->Shell->shortPath($path), $expected);
                    
409		$path = TMP . 'shell_test';
                    
410		$file = $path . DS . 'file1.php';
                    
411
                    
                
color.html https://github.com/mneedham/dashboard.git | HTML | 210 lines
                    
1<?php ob_start('ob_gzhandler') ?>
                    
2<!DOCTYPE html>
                    
52            <a href="http://twitter.com/home/?status=RGraph%3A%20Javascript+charts+and+graph+library+http%3A%2F%2Fwww.rgraph.net+%23rgraph+%23html5+%23canvas+%23javascript+%23charts+@_rgraph" target="_blank"><img src="../images/twitter.png" id="twitter_icon" alt="tweet this site" width="22" height="22" border="0" align="absmiddle" /></a>
                    
53            <a title="Share RGraph on Facebook" href="" onclick="window.open('http://www.facebook.com/sharer.php?u=http://www.rgraph.net&t=RGraph:%20Javascript%20chart%20and%20graph%20library', 'facebook_window', 'width=500,height=400,top=100,left=100'); return false"><img src="../images/facebook.png" width="22" height="22" alt="Post to Facebook" align="absmiddle" border="0"/></a>
                    
54        </div>
                    
                
functions.php https://bitbucket.org/jahmaiosullivan/seattledancehalltv.git | PHP | 321 lines
                    
66*/ 
                    
67	require_once ( get_template_directory() . '/core/core-init.php' );
                    
68
                    
118				<div class="entry nine columns">
                    
119					<h2 class="posts_title"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
                    
120				<?php if ( has_post_thumbnail() && $featured_images == '1'  && !is_single()) {
                    
127				?>					
                    
128				<?php if (!is_single()): ?>
                    
129				<?php $images = get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) );
                    
136				<figure class="gallery-thumb">
                    
137					<a href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a>
                    
138					<br /><br />
                    
216  	{
                    
217  		behavior: url('<?php echo get_template_directory_uri();  ?>/core/library/pie/PIE.php');
                    
218	}
                    
                
Sajax.php https://github.com/Shigaru/shigaru.git | PHP | 1476 lines
                    
1<?php 
                    
2
                    
565
                    
566		ob_start();
                    
567
                    
585
                    
586		var sajax_debug_mode = <?php echo $sajax_debug_mode ? "true" : "false"; ?>;
                    
587
                    
589
                    
590		var sajax_request_type = "<?php echo $t; ?>";
                    
591
                    
597
                    
598		var sajax_failure_redirect = "<?php echo $sajax_failure_redirect; ?>";
                    
599
                    
801
                    
802			<?php echo "uri = \"".sajax_get_my_uri()."\";"; ?>
                    
803
                    
                
Template.php https://github.com/reddragon010/RG-ServerPanel.git | PHP | 450 lines
                    
1<?php
                    
2
                    
155    {
                    
156        ob_start();
                    
157        $this->displayParentBlock($name, $context, $blocks);
                    
175    {
                    
176        ob_start();
                    
177        $this->displayBlock($name, $context, $blocks);
                    
247        $level = ob_get_level();
                    
248        ob_start();
                    
249        try {
                    
288     * implementation detail that has been introduced to optimize variable
                    
289     * access for versions of PHP before 5.4. This is not a way to override
                    
290     * the way to get a variable value.
                    
                
shell.test.php https://github.com/cpfarher/pruebascake.git | PHP | 501 lines
                    
8 *
                    
9 * CakePHP :  Rapid Development Framework (http://cakephp.org)
                    
10 * Copyright 2005-2011, Cake Software Foundation, Inc.
                    
15 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc.
                    
16 * @link          http://cakephp.org CakePHP Project
                    
17 * @package       cake
                    
18 * @subpackage    cake.tests.cases.console.libs
                    
19 * @since         CakePHP v 1.2.0.7726
                    
20 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
370
                    
371		$path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php';
                    
372		$this->assertEqual($this->Shell->shortPath($path), $expected);
                    
409		$path = TMP . 'shell_test';
                    
410		$file = $path . DS . 'file1.php';
                    
411
                    
                
DebugClassLoaderTest.php https://gitlab.com/pthapa81/MeroSaaman-1.0 | PHP | 196 lines
                    
1<?php
                    
2
                    
17
                    
18class DebugClassLoaderTest extends \PHPUnit_Framework_TestCase
                    
19{
                    
63    {
                    
64        if (PHP_VERSION_ID >= 70000) {
                    
65            $this->markTestSkipped('PHP7 throws exceptions, unsilencing is not required anymore.');
                    
67
                    
68        ob_start();
                    
69
                    
84        // the ContextErrorException must not be loaded to test the workaround
                    
85        // for https://bugs.php.net/65322.
                    
86        if (class_exists('Symfony\Component\Debug\Exception\ContextErrorException', false)) {
                    
107            $this->assertStringStartsWith(__FILE__, $exception->getFile());
                    
108            if (PHP_VERSION_ID < 70000) {
                    
109                $this->assertRegexp('/^Runtime Notice: Declaration/', $exception->getMessage());
                    
                
Capsule.php https://github.com/IDCI-Consulting/WebsiteEval.git | PHP | 266 lines
                    
1<?php
                    
2
                    
4 * Capsule is a simple "template" engine that essentially provides an isolated context
                    
5 * for PHP scripts.
                    
6 * 
                    
132        
                    
133        if (!empty($php_errormsg)) {
                    
134            throw new Exception("Unable to parse template " . $__template . ": " . $php_errormsg);
                    
151        // hopefully this works recursively ... fingers crossed.    
                    
152        ob_start();
                    
153        
                    
                
c8627ecba3e646b036151fcaa8d06a98c8c7b824.file.payment_execution.tpl.php https://gitlab.com/nghiep5890/prestashop | PHP | 126 lines
                    
33
                    
34<?php $_smarty_tpl->_capture_stack[0][] = array('path', null, null); ob_start(); ?><?php echo smartyTranslate(array('s'=>'Check payment','mod'=>'cheque'),$_smarty_tpl);?>
                    
35<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
                    
71				<?php if ($_smarty_tpl->tpl_vars['use_taxes']->value==1) {?>
                    
72					<?php echo smartyTranslate(array('s'=>'(tax incl.)','mod'=>'cheque'),$_smarty_tpl);?>
                    
73
                    
77				-
                    
78				<?php if (isset($_smarty_tpl->tpl_vars['currencies']->value)&&count($_smarty_tpl->tpl_vars['currencies']->value)>1) {?>
                    
79					<?php echo smartyTranslate(array('s'=>'We accept several currencies to receive payments by check.','mod'=>'cheque'),$_smarty_tpl);?>
                    
91							<option value="<?php echo $_smarty_tpl->tpl_vars['currency']->value['id_currency'];?>
                    
92"<?php if (isset($_smarty_tpl->tpl_vars['currencies']->value)&&$_smarty_tpl->tpl_vars['currency']->value['id_currency']==$_smarty_tpl->tpl_vars['cust_currency']->value) {?> selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['currency']->value['name'];?>
                    
93</option>
                    
124	</form>
                    
125<?php }?>
                    
126<?php }} ?>
                    
                
analyzer.php https://github.com/agallou/atoum.git | PHP | 223 lines
                    
1<?php
                    
2
                    
4
                    
5require_once __DIR__ . '/../../../runner.php';
                    
6
                    
55					$this->function->gettype = 'array',
                    
56					$this->function->sizeof = $size = rand(1, PHP_INT_MAX)
                    
57				)
                    
68			->if(
                    
69				$this->function->ob_start->doesNothing(),
                    
70				$this->function->var_dump->doesNothing(),
                    
70				$this->function->var_dump->doesNothing(),
                    
71				$this->function->ob_get_clean = ('     ' . ($dump = uniqid()) . '        ' . PHP_EOL)
                    
72			)
                    
                
ProfilerController.php https://github.com/Burgov/symfony.git | PHP | 330 lines
                    
1<?php
                    
2
                    
306    /**
                    
307     * Displays the PHP info.
                    
308     *
                    
310     */
                    
311    public function phpinfoAction()
                    
312    {
                    
314
                    
315        ob_start();
                    
316        phpinfo();
                    
316        phpinfo();
                    
317        $phpinfo = ob_get_clean();
                    
318
                    
318
                    
319        return new Response($phpinfo);
                    
320    }
                    
                
class-wp-image-editor.php https://gitlab.com/Gashler/dp | PHP | 403 lines
                    
1<?php
                    
2/**
                    
330		if ( $stream = wp_is_stream( $filename ) ) {
                    
331			ob_start();
                    
332		} else {
                    
                
test_ext_mailparse.cpp https://github.com/zsj888/hiphop-php.git | C++ | 412 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
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   +----------------------------------------------------------------------+
                    
49bool TestExtMailparse::test_mail() {
                    
50  //VCB("<?php ");
                    
51  return Count(true);
                    
                
MyHelpers.class.inc.php https://github.com/adiakin/itop.git | PHP | 500 lines
                    
1<?php
                    
2// Copyright (C) 2010 Combodo SARL
                    
115	{
                    
116		ob_start();
                    
117		print_r($var);
                    
409convert between modes--will prevent SQL injection and cross-site scripting.
                    
410This class refers to its own namespace (so it can work in PHP 4--there is no
                    
411self keyword until PHP 5). Do not change the name of the class w/o changing
                    
                
application.php https://github.com/rietn/minima.git | PHP | 366 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: application.php 20478 2011-01-28 17:48:29Z infograf768 $
                    
4 * @package		Joomla.Installation
                    
72		// Start the output buffer.
                    
73		ob_start();
                    
74
                    
75		// Import the controller.
                    
76		require_once JPATH_COMPONENT.'/controller.php';
                    
77
                    
88			'template'	=> 'template',
                    
89			'file'		=> 'index.php',
                    
90			'directory' => JPATH_THEMES,
                    
163	{
                    
164		ob_start();
                    
165		$lang = JFactory::getLanguage();
                    
                
functions.php https://gitlab.com/nerdymishka/wp-bad-mishka-theme | PHP | 201 lines
                    
1<?php
                    
2
                    
5	add_action( 'admin_notices', function() {
                    
6			echo '<div class="error"><p>Timber not activated. Make sure you activate the plugin in <a href="' . esc_url( admin_url( 'plugins.php#timber' ) ) . '">' . esc_url( admin_url( 'plugins.php' ) ) . '</a></p></div>';
                    
7		} );
                    
71            $args[ 'nonce' ] = wp_create_nonce( 'load-more-nonce' );
                    
72            $args[ 'url' ] =  admin_url( 'admin-ajax.php' );
                    
73            $args['query'] = $query;    
                    
120            $args['post_status'] = 'publish';
                    
121            ob_start();
                    
122           
                    
                
smarty_internal_cacheresource_file.php https://github.com/Pablo-Merino/Bloggy.git | PHP | 207 lines
                    
1<?php
                    
2
                    
55        } 
                    
56        return $_cache_dir . $_cache_id . $_compile_id . $_filepath . '.' . basename($_source_file_path) . '.php';
                    
57    } 
                    
79    	if (!$no_render) {
                    
80        	ob_start();
                    
81    	}
                    
                
index.php https://github.com/sebbacon/theyworkforyou.git | PHP | 251 lines
                    
2
                    
3include_once '../../includes/easyparliament/init.php';
                    
4include_once '../../includes/postcode.inc';
                    
5
                    
6include_once 'api_functions.php';
                    
7
                    
46				$_GET['verbose'] = 1;
                    
47				ob_start();
                    
48			}
                    
112<label for="output_xml">XML</label>
                    
113<input id="output_php" type="radio" name="output" value="php"<? if (get_http_var('output')=='php') print ' checked'?>>
                    
114<label for="output_php">Serialised PHP</label>
                    
177<li><strong>xml</strong>. XML. The root element is twfy.</li>
                    
178<li><strong>php</strong>. Serialized PHP, that can be turned back into useful information with the unserialize() command. Quite useful in Python as well, using <a href="http://hurring.com/code/python/serialize/">PHPUnserialize</a>.</li>
                    
179<li><strong>js</strong>. A JavaScript object. You can provide a callback
                    
                
Gd.php https://github.com/bmcclure/CakePHP-Media-Plugin.git | PHP | 350 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * mm: the PHP media library
                    
4 *
                    
10 * @copyright  2007-2012 David Persson <nperson@gmx.de>
                    
11 * @license    http://www.opensource.org/licenses/mit-license.php The MIT License
                    
12 * @link       http://github.com/davidpersson/mm
                    
14
                    
15require_once 'Media/Process/Adapter.php';
                    
16require_once 'Mime/Type.php';
                    
20 *
                    
21 * @link       http://php.net/gd
                    
22 */
                    
93
                    
94		ob_start();
                    
95		call_user_func_array('image' . $this->_format, $args);
                    
                
functions.php https://gitlab.com/reasonat/test8 | PHP | 329 lines
                    
1<?php
                    
2namespace GuzzleHttp;
                    
48        default:
                    
49            ob_start();
                    
50            var_dump($input);
                    
91
                    
92    return fopen('php://output', 'w');
                    
93}
                    
139        }
                    
140        $defaultAgent .= ' PHP/' . PHP_VERSION;
                    
141    }
                    
295 * @throws \InvalidArgumentException if the JSON cannot be decoded.
                    
296 * @link http://www.php.net/manual/en/function.json-decode.php
                    
297 */
                    
317 * @throws \InvalidArgumentException if the JSON cannot be encoded.
                    
318 * @link http://www.php.net/manual/en/function.json-encode.php
                    
319 */
                    
                
debugger.test.php https://github.com/Henmania/cakephp.git | PHP | 372 lines
                    
6 *
                    
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @link          http://cakephp.org CakePHP Project
                    
15 * @package       cake
                    
16 * @subpackage    cake.tests.cases.libs
                    
17 * @since         CakePHP(tm) v 1.2.0.5432
                    
18 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
97
                    
98		$expected = '<code><span style="color: #000000">&lt;?php';
                    
99		$expected .= '</span></code>';
                    
123
                    
124		ob_start();
                    
125		Debugger::output('txt');
                    
                
omnisearch-posts.php https://gitlab.com/Gashler/sg | PHP | 136 lines
                    
1<?php
                    
2
                    
3if( ! class_exists( 'WP_List_Table' ) )
                    
4	require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
                    
5
                    
28
                    
29		$search_url = esc_url( admin_url( sprintf( 'edit.php?post_type=%s&s=%s', urlencode( $this->post_type_obj->name ), urlencode( $search_term ) ) ) );
                    
30		$search_link = sprintf( ' <a href="%s" class="add-new-h2">%s</a>', $search_url, esc_html( $this->post_type_obj->labels->search_items ) );
                    
44
                    
45		ob_start();
                    
46		$this->display();
                    
                
Abstract.php https://gitlab.com/yousafsyed/easternglamor | PHP | 385 lines
                    
1<?php
                    
2/**
                    
262        if ($this->_captureLock) {
                    
263            #require_once 'Zend/View/Helper/Placeholder/Container/Exception.php';
                    
264            $e = new Zend_View_Helper_Placeholder_Container_Exception('Cannot nest placeholder captures for the same placeholder');
                    
273        }
                    
274        ob_start();
                    
275    }
                    
336     *
                    
337     * as defined by the PHP manual
                    
338     * @return int
                    
                
map.php https://gitlab.com/chernushov881/charity-fund | PHP | 213 lines
                    
1<?php
                    
2/**
                    
110function render_single_block_page() {
                    
111	// phpcs:ignore WordPress.Security.NonceVerification
                    
112	$map_block_counter = isset( $_GET, $_GET['map-block-counter'] ) ? absint( $_GET['map-block-counter'] ) : null;
                    
112	$map_block_counter = isset( $_GET, $_GET['map-block-counter'] ) ? absint( $_GET['map-block-counter'] ) : null;
                    
113	// phpcs:ignore WordPress.Security.NonceVerification
                    
114	$map_block_post_id = isset( $_GET, $_GET['map-block-post-id'] ) ? absint( $_GET['map-block-post-id'] ) : null;
                    
127	$post_html = new \DOMDocument();
                    
128	/** This filter is already documented in core/wp-includes/post-template.php */
                    
129	$content = apply_filters( 'the_content', $post->post_content );
                    
132	libxml_use_internal_errors( true );
                    
133	@$post_html->loadHTML( $content ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
                    
134	libxml_use_internal_errors( false );
                    
144	/* Compile scripts and styles */
                    
145	ob_start();
                    
146
                    
                
%%6C^6C6^6C6DAB8F%%submissionEmailLog.tpl.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 135 lines
                    
2         compiled from sectionEditor/submissionEmailLog.tpl */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'sectionEditor/submissionEmailLog.tpl', 17, false),array('function', 'page_info', 'sectionEditor/submissionEmailLog.tpl', 68, false),array('function', 'page_links', 'sectionEditor/submissionEmailLog.tpl', 69, false),array('block', 'iterate', 'sectionEditor/submissionEmailLog.tpl', 46, false),array('modifier', 'date_format', 'sectionEditor/submissionEmailLog.tpl', 48, false),array('modifier', 'escape', 'sectionEditor/submissionEmailLog.tpl', 49, false),array('modifier', 'truncate', 'sectionEditor/submissionEmailLog.tpl', 50, false),)), $this); ?>
                    
73	<tr><td class="headseparator" colspan="6">&nbsp;</td></tr>
                    
74<?php $this->_tag_stack[] = array('iterate', array('from' => 'emailLogEntries','item' => 'logEntry')); $this->_plugins['block']['iterate'][0][0]->smartyIterate($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat=true);while ($_block_repeat) { ob_start(); ?>
                    
75	<tr valign="top">
                    
90" class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.related"), $this);?>
                    
91</a>&nbsp;<?php endif; ?><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
                    
92/submissionEmailLog/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
                    
94" class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.view"), $this);?>
                    
95</a><?php if ($this->_tpl_vars['isEditor']): ?>&nbsp;<a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
                    
96/clearSubmissionEmailLog/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
                    
102	<tr valign="top">
                    
103		<td colspan="6" class="<?php if ($this->_tpl_vars['emailLogEntries']->eof()): ?>end<?php endif; ?>separator">&nbsp;</td>
                    
104	</tr>
                    
                
blog-layout.php https://gitlab.com/hop23typhu/list-theme | PHP | 281 lines
                    
1<?php
                    
2/**
                    
100		$post_classes = sprintf( '%s %s %s post fusion-clearfix', $post_class, $alignment_class, $thumb_class );
                    
101		ob_start();
                    
102		post_class( $post_classes );
                    
280
                    
281// Omit closing PHP tag to avoid "Headers already sent" issues.
                    
282
                    
                
Debug.php https://bitbucket.org/alessandro-aglietti/itis-leonardo-da-vinci.git | PHP | 142 lines
                    
1<?php
                    
2/*
                    
61
                    
62        ob_start();
                    
63        var_dump($var);
                    
                
theme.php https://bitbucket.org/jstroschein/wordpress-3.5.1-clean.git | PHP | 296 lines
                    
1<?php
                    
2/**
                    
23
                    
24	ob_start();
                    
25	if ( empty( $redirect ) )
                    
25	if ( empty( $redirect ) )
                    
26		$redirect = wp_nonce_url('themes.php?action=delete&stylesheet=' . urlencode( $stylesheet ), 'delete-theme_' . $stylesheet);
                    
27	if ( false === ($credentials = request_filesystem_credentials($redirect)) ) {
                    
30		if ( ! empty($data) ){
                    
31			include_once( ABSPATH . 'wp-admin/admin-header.php');
                    
32			echo $data;
                    
32			echo $data;
                    
33			include( ABSPATH . 'wp-admin/admin-footer.php');
                    
34			exit;
                    
43		if ( ! empty($data) ) {
                    
44			include_once( ABSPATH . 'wp-admin/admin-header.php');
                    
45			echo $data;
                    
                
gva_quotes_rotator.php https://gitlab.com/kryber/wizionary | PHP | 125 lines
                    
1<?php 
                    
2if(!class_exists('element_gva_quotes_rotator')):
                    
100         if($animate) $el_class .= ' wow ' . $animate; 
                    
101            ob_start();
                    
102         ?>
                    
103         
                    
104         <div class="gsc-quotes-rotator <?php print $skin_text ?> <?php print $el_class ?>" <?php print gavias_content_builder_print_animate_wow('', $animate_delay) ?>>
                    
105            <div class="cbp-qtrotator"<?php print $style ?>>
                    
105            <div class="cbp-qtrotator"<?php print $style ?>>
                    
106              <?php for($i=1; $i<=10; $i++){ ?>
                    
107                  <?php 
                    
110                  ?>
                    
111                  <?php if($$title){ ?>
                    
112                     <div class="cbp-qtcontent">
                    
112                     <div class="cbp-qtcontent">
                    
113                        <div class="content-title"><?php print $$title ?></div>
                    
114                        <div class="content-inner"><?php print $$content ?></div>
                    
                
backup_db.php https://bitbucket.org/flth/xtcm.git | PHP | 351 lines
                    
33  //aktiviert die Ausgabepufferung
                    
34  if (!@ob_start("ob_gzhandler")) @ob_start();
                    
35
                    
287    <!-- header //-->
                    
288    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
                    
289    <!-- header_eof //-->
                    
298            <!-- left_navigation //-->
                    
299            <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
                    
300            <!-- left_navigation_eof //-->
                    
309                  <tr>
                    
310                    <td class="pageHeading"><?php echo HEADING_TITLE; ?><span class="smallText"> [<?php echo VERSION; ?>]</span></td>
                    
311                    <td class="pageHeading" align="right"><?php echo xtc_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
                    
341    <!-- footer //-->
                    
342    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
                    
343    <!-- footer_eof //-->
                    
                
addon.php https://gitlab.com/hunt9310/ras | PHP | 401 lines
                    
1<?php
                    
2/**
                    
250		// show message
                    
251		ob_start();
                    
252
                    
259				?>
                    
260<div class="<?php echo esc_attr( $type ); ?>">
                    
261	<p>
                    
261	<p>
                    
262	<?php _e( "You can not activate this WR PageBuilder's provider:", WR_PBL ); ?>
                    
263		<br> <b><?php echo esc_html( $addon_name ); ?> </b>
                    
266	<p>
                    
267	<?php _e( "It requires WR PageBuilder's version:", WR_PBL ); ?>
                    
268		<br> <b><?php echo esc_html( $core_required ); ?> </b> <br>
                    
268		<br> <b><?php echo esc_html( $core_required ); ?> </b> <br>
                    
269		<?php echo esc_html( 'or above to work. Please update WR PageBuilder to newest version.' ); ?>
                    
270		<br>
                    
                
%%3B^3BA^3BABD3B3%%EditView.tpl.php https://github.com/joshbhamilton/sugar.git | PHP | 106 lines
                    
2         compiled from include/SugarFields/Fields/Relate/EditView.tpl */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('function', 'sugarvar', 'include/SugarFields/Fields/Relate/EditView.tpl', 38, false),)), $this); ?>
                    
41*}
                    
42<?php ob_start();  echo smarty_function_sugarvar(array('key' => 'name'), $this); $this->_smarty_vars['capture']['idname'] = ob_get_contents();  $this->assign('idname', ob_get_contents());ob_end_clean();  if (! empty ( $this->_tpl_vars['displayParams']['idName'] )): ?>
                    
43    <?php $this->assign('idname', $this->_tpl_vars['displayParams']['idName']);  endif; ?>
                    
44<input type="text" name="<?php echo $this->_tpl_vars['idname']; ?>
                    
45" class=<?php if (empty ( $this->_tpl_vars['displayParams']['class'] )): ?>"sqsEnabled"<?php else: ?> "<?php echo $this->_tpl_vars['displayParams']['class']; ?>
                    
46" <?php endif; ?> tabindex="<?php echo $this->_tpl_vars['tabindex']; ?>
                    
59" 
                    
60	<?php if (! empty ( $this->_tpl_vars['vardef']['id_name'] )): ?>value="<?php echo smarty_function_sugarvar(array('memberName' => 'vardef.id_name','key' => 'value'), $this);?>
                    
61"<?php endif; ?>>
                    
80	true
                    
81);' <?php if (isset ( $this->_tpl_vars['displayParams']['javascript']['btn'] )):  echo $this->_tpl_vars['displayParams']['javascript']['btn'];  endif; ?>><img src="{sugar_getimagepath file="id-ff-select.png"}"></button><?php if (empty ( $this->_tpl_vars['displayParams']['selectOnly'] )): ?><button type="button" name="btn_clr_<?php echo $this->_tpl_vars['idname']; ?>
                    
82" id="btn_clr_<?php echo $this->_tpl_vars['idname']; ?>
                    
                
bad.php https://bitbucket.org/chiamingyen/cmsimple-and-plugins.git | PHP | 395 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version $Id: bad.php 4 2012-08-07 21:08:48Z cmb69 $
                    
4* Tools for locating / replacing bad bytes in UTF-8 strings
                    
9* the Initial Developer. All Rights Reserved.
                    
10* Ported to PHP by Henri Sivonen (http://hsivonen.iki.fi)
                    
11* Slight modifications to fit with phputf8 library by Harry Fuecks (hfuecks gmail com)
                    
13* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp
                    
14* @see http://hsivonen.iki.fi/php-utf8/
                    
15* @package utf8
                    
113    '|(.{1}))';                              # invalid byte
                    
114    ob_start();
                    
115    while (preg_match('/'.$UTF8_BAD.'/S', $str, $matches)) {
                    
148    '|(.{1}))';                              # invalid byte
                    
149    ob_start();
                    
150    while (preg_match('/'.$UTF8_BAD.'/S', $str, $matches)) {
                    
                
index.php https://github.com/ddumas/php-simple-proxy.git | PHP | 249 lines
                    
1<?PHP
                    
2
                    
2
                    
3include "../index.php";
                    
4
                    
12
                    
13ob_start();
                    
14?>
                    
18  $('#params').submit(function(){
                    
19    var proxy = '../../ba-simple-proxy.php',
                    
20      url = proxy + '?' + $('#params').serialize();
                    
93
                    
94ob_start();
                    
95?>
                    
166<p>
                    
167  With <a href="http://benalman.com/projects/php-simple-proxy/">Simple PHP Proxy</a>, your JavaScript can
                    
168  access content in remote webpages, without cross-domain security limitations, even if it's not available
                    
                
tidy.php https://github.com/socialplanning/oc-js.git | PHP | 179 lines
                    
1<?php
                    
2  /** This PHP file is intended for use with XMLHTTPRequest from Xinha
                    
102  {
                    
103    // PHP's urldecode doesn't understand %uHHHH for unicode
                    
104    $_REQUEST['content'] = preg_replace('/%u([a-f0-9]{4,4})/ei', 'utf8_chr(0x$1)', $_REQUEST['content']);
                    
112    }
                    
113    ob_start();
                    
114      passthru("echo " .  escapeshellarg($_REQUEST['content']) . " | tidy -q -i -u -wrap 9999 -utf8 -bare -asxhtml 2>/dev/null", $result);
                    
161      ?>
                    
162      {action:'setHTML',value:'<?php echo js_encode($content) ?>'};
                    
163      <?php
                    
168      {action:'alert',value:'Tidy failed.  Check your HTML for syntax errors.'};
                    
169      <?php
                    
170    }
                    
175    {action:'alert',value:"You don't have anything to tidy!"}
                    
176    <?php
                    
177  }
                    
                
loan_list.php https://github.com/awriel/s3st15_matoa.git | PHP | 205 lines
                    
1<?php
                    
2/**
                    
29// main system configuration
                    
30require '../../../sysconfig.inc.php';
                    
31// IP based access limitation
                    
31// IP based access limitation
                    
32require LIB_DIR.'ip_based_access.inc.php';
                    
33do_checkIP('smc');
                    
35// start the session
                    
36require SENAYAN_BASE_DIR.'admin/default/session.inc.php';
                    
37require SENAYAN_BASE_DIR.'admin/default/session_check.inc.php';
                    
40
                    
41require SIMBIO_BASE_DIR.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php';
                    
42require SIMBIO_BASE_DIR.'simbio_GUI/table/simbio_table.inc.php';
                    
42require SIMBIO_BASE_DIR.'simbio_GUI/table/simbio_table.inc.php';
                    
43require SIMBIO_BASE_DIR.'simbio_GUI/paging/simbio_paging.inc.php';
                    
44require SIMBIO_BASE_DIR.'simbio_DB/simbio_dbop.inc.php';
                    
                
TbInput.php https://bitbucket.org/haichau59/manga.git | PHP | 588 lines
                    
1<?php
                    
2/**
                    
5 * @copyright Copyright &copy; Christoffer Niska 2011-
                    
6 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
                    
7 * @package bootstrap.widgets.input
                    
317
                    
318			ob_start();
                    
319			echo '<div class="' . $this->getAddonCssClass() . '">';
                    
342
                    
343			ob_start();
                    
344			if (isset($this->appendText))
                    
                
index.php https://github.com/atutor/AChecker.git | PHP | 294 lines
                    
53			<td>Case Sensitivity</td>
                    
54			<td><?php if (file_exists('../include/classes/AccessibilityValidator.class.php') && file_exists('../include/classes/accessibilityvalidator.class.php')) {
                    
55						echo 'Ignored</td><td align="center">';
                    
74			<td>PHP 5.0.0+</td>
                    
75			<td><?php echo phpversion(); ?></td>
                    
76			<td align="center"><?php	if (version_compare(phpversion(), '5.0.0', '>=')) {
                    
152			<td><?php echo $filesize = ini_get('post_max_size'); ?></td>
                    
153			<td align="center"><?php 
                    
154				$filesize_int = intval($filesize);
                    
232						We strongly encourage you to install the 'mbstring' library before continuing, however, if you choose not to install the library from PHP, a third party library within AChecker will be used.  <br/><br/>
                    
233						For production systems, we strongly encourage you to install the PHP with <a href="http://ca.php.net/manual/en/ref.mbstring.php" target="php_site">mbstring</a> support.  <br/><br/>
                    
234						You may choose to by pass the mbstring check for the installation at your own risk by clicking <a href="javascript:void(0);" onclick="javascript:document.form.next.disabled=false;">continue</a>.</strong></td>
                    
293
                    
294<?php require(AC_INCLUDE_PATH.'footer.inc.php'); ?>
                    
295
                    
                
write.real.php https://github.com/robertleeplummerjr/bluebox.git | PHP | 295 lines
                    
1<?php
                    
2/////////////////////////////////////////////////////////////////
                    
9//                                                             //
                    
10// write.real.php                                              //
                    
11// module for writing RealAudio/RealVideo tags                 //
                    
11// module for writing RealAudio/RealVideo tags                 //
                    
12// dependencies: module.tag.real.php                           //
                    
13//                                                            ///
                    
95					if ($tempfilename = tempnam('*', 'getID3')) {
                    
96						ob_start();
                    
97						if ($fp_temp = fopen($tempfilename, 'wb')) {
                    
253				if ($tempfilename = tempnam('*', 'getID3')) {
                    
254					ob_start();
                    
255					if ($fp_temp = fopen($tempfilename, 'wb')) {
                    
                
40999492bfbe2193affb274f28fcc2fafc54258a.file.favorites.tpl.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 174 lines
                    
41			<div class="btn-group pull-right">
                    
42				<a class="btn btn-default <?php if (!isset($_GET['select'])) {?> active<?php }?>" href="index.php?controller=<?php echo htmlentities($_GET['controller']);?>
                    
43&amp;token=<?php echo htmlentities($_GET['token']);?>
                    
131														<?php $_smarty_tpl->tpl_vars["id_tab"] = new Smarty_variable($_smarty_tpl->tpl_vars['t']->value['id_tab'], null, 0);?>
                    
132														<option <?php if (isset($_smarty_tpl->tpl_vars['tab_modules_preferences']->value[$_smarty_tpl->tpl_vars['module_name']->value])&&in_array($_smarty_tpl->tpl_vars['t2']->value['id_tab'],$_smarty_tpl->tpl_vars['tab_modules_preferences']->value[$_smarty_tpl->tpl_vars['module_name']->value])) {?> selected="selected" <?php }?> value="<?php echo $_smarty_tpl->tpl_vars['t2']->value['id_tab'];?>
                    
133"><?php if ($_smarty_tpl->tpl_vars['t2']->value['name']=='') {?><?php echo $_smarty_tpl->tpl_vars['t2']->value['class_name'];?>
                    
151</option>
                    
152										<option value="0" <?php if (isset($_smarty_tpl->tpl_vars['module']->value->preferences['interest'])&&$_smarty_tpl->tpl_vars['module']->value->preferences['interest']=='0') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'No'),$_smarty_tpl);?>
                    
153</option>
                    
159										<option value="" selected="selected">-</option>
                    
160										<option value="1" <?php if (isset($_smarty_tpl->tpl_vars['module']->value->preferences['favorite'])&&$_smarty_tpl->tpl_vars['module']->value->preferences['favorite']=='1') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Yes'),$_smarty_tpl);?>
                    
161</option>
                    
161</option>
                    
162										<option value="0" <?php if (isset($_smarty_tpl->tpl_vars['module']->value->preferences['favorite'])&&$_smarty_tpl->tpl_vars['module']->value->preferences['favorite']=='0') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'No'),$_smarty_tpl);?>
                    
163</option>
                    
                
MantenimientosController.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 382 lines
                    
1<?php
                    
2
                    
189			try{
                    
190			    ob_start();
                    
191			    include(app_path().'/views/pdf/informemantenimiento.php');
                    
194			    // convert to PDF
                    
195			    require_once(public_path().'/packages/html2pdf/html2pdf.class.php');
                    
196		        $html2pdf = new HTML2PDF('P', 'A4', 'es');
                    
258			try{
                    
259			    ob_start();
                    
260			    include(app_path().'/views/pdf/informemantenimiento.php');
                    
263			    // convert to PDF
                    
264			    require_once(public_path().'/packages/html2pdf/html2pdf.class.php');
                    
265		        $html2pdf = new HTML2PDF('P', 'A4', 'es');
                    
302		try{
                    
303		    ob_start();
                    
304		    include(app_path().'/views/pdf/informemantenimiento.php');
                    
                
class-walker-nav-menu-edit.php https://gitlab.com/VTTE/sitios-vtte | PHP | 313 lines
                    
120				<div class="menu-item-handle">
                    
121					<span class="item-title"><span class="menu-item-title"><?php echo esc_html( $title ); ?></span> <span class="is-submenu" <?php echo $submenu_text; ?>><?php _e( 'sub item' ); ?></span></span>
                    
122					<span class="item-controls">
                    
187							<?php _e( 'URL' ); ?><br />
                    
188							<input type="text" id="edit-menu-item-url-<?php echo $item_id; ?>" class="widefat code edit-menu-item-url" name="menu-item-url[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->url ); ?>" />
                    
189						</label>
                    
194						<?php _e( 'Navigation Label' ); ?><br />
                    
195						<input type="text" id="edit-menu-item-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-title" name="menu-item-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->title ); ?>" />
                    
196					</label>
                    
200						<?php _e( 'Title Attribute' ); ?><br />
                    
201						<input type="text" id="edit-menu-item-attr-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-attr-title" name="menu-item-attr-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->post_excerpt ); ?>" />
                    
202					</label>
                    
224						<?php _e( 'Description' ); ?><br />
                    
225						<textarea id="edit-menu-item-description-<?php echo $item_id; ?>" class="widefat edit-menu-item-description" rows="3" cols="20" name="menu-item-description[<?php echo $item_id; ?>]"><?php echo esc_html( $item->description ); // textarea_escaped ?></textarea>
                    
226						<span class="description"><?php _e( 'The description will be displayed in the menu if the current theme supports it.' ); ?></span>
                    
                
App.class.php https://bitbucket.org/zjut/labs.git | PHP | 218 lines
                    
1<?php
                    
2// +----------------------------------------------------------------------
                    
2// +----------------------------------------------------------------------
                    
3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
                    
4// +----------------------------------------------------------------------
                    
4// +----------------------------------------------------------------------
                    
5// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved.
                    
6// +----------------------------------------------------------------------
                    
12/**
                    
13 * ThinkPHP 应用程序类 执行应用过程管理
                    
14 * 可以在模式扩展中重新定义 但是必须具有Run方法接口
                    
48            $zlib = ini_get('zlib.output_compression');
                    
49            if(empty($zlib)) ob_start('ob_gzhandler');
                    
50        }
                    
152                        case 'PUT':
                    
153                            parse_str(file_get_contents('php://input'), $vars);
                    
154                            break;
                    
                
HeadScript.php https://github.com/grandison/budo16.git | PHP | 478 lines
                    
23/** Zend_View_Helper_Placeholder_Container_Standalone */
                    
24// require_once 'Zend/View/Helper/Placeholder/Container/Standalone.php';
                    
25
                    
90     *
                    
91     * Set separator to PHP_EOL.
                    
92     *
                    
97        parent::__construct();
                    
98        $this->setSeparator(PHP_EOL);
                    
99    }
                    
152        $this->_captureScriptAttrs = $attrs;
                    
153        ob_start();
                    
154    }
                    
413        if (!empty($item->source)) {
                    
414              $html .= PHP_EOL . $indent . '    ' . $escapeStart . PHP_EOL . $item->source . $indent . '    ' . $escapeEnd . PHP_EOL . $indent;
                    
415        }
                    
                
SimpleProcessTest.php https://gitlab.com/judielsm/Handora | PHP | 222 lines
                    
101    {
                    
102        $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
103        parent::testSignal();
                    
132        if ($this->enabledSigchild) {
                    
133            $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
134        } else {
                    
142        if ($this->enabledSigchild) {
                    
143            $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
144        } else {
                    
163    {
                    
164        $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
165
                    
179    {
                    
180        $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
181
                    
                
Abstract.php https://bitbucket.org/netglue/zf-1.12-release.git | PHP | 385 lines
                    
1<?php
                    
2/**
                    
262        if ($this->_captureLock) {
                    
263            require_once 'Zend/View/Helper/Placeholder/Container/Exception.php';
                    
264            $e = new Zend_View_Helper_Placeholder_Container_Exception('Cannot nest placeholder captures for the same placeholder');
                    
273        }
                    
274        ob_start();
                    
275    }
                    
336     *
                    
337     * as defined by the PHP manual
                    
338     * @return int
                    
                
quickpage.php https://gitlab.com/ricardosanchez/prueba | PHP | 183 lines
                    
1<?php
                    
2/**
                    
13
                    
14require_once JPATH_LIBRARIES . '/regularlabs/helpers/functions.php';
                    
15
                    
32		$allowed = array(
                    
33			'administrator/components/com_dbreplacer/ajax.php',
                    
34			'administrator/modules/mod_addtomenu/popup.php',
                    
34			'administrator/modules/mod_addtomenu/popup.php',
                    
35			'media/rereplacer/images/popup.php',
                    
36			'plugins/editors-xtd/articlesanywhere/popup.php',
                    
36			'plugins/editors-xtd/articlesanywhere/popup.php',
                    
37			'plugins/editors-xtd/conditionalcontent/popup.php',
                    
38			'plugins/editors-xtd/contenttemplater/data.php',
                    
38			'plugins/editors-xtd/contenttemplater/data.php',
                    
39			'plugins/editors-xtd/contenttemplater/popup.php',
                    
40			'plugins/editors-xtd/dummycontent/popup.php',
                    
                
index.php https://gitlab.com/tangsengjiu/Talk | PHP | 172 lines
                    
1<?PHP
                    
2
                    
2
                    
3include "../index.php";
                    
4
                    
12
                    
13ob_start();
                    
14?>
                    
50
                    
51ob_start();
                    
52?>
                    
60
                    
61ob_start();
                    
62?>
                    
126
                    
127ob_start();
                    
128?>
                    
                
post.php https://github.com/quadcodes/wp-front-end-editor.git | PHP | 410 lines
                    
1<?php
                    
2
                    
145
                    
146		ob_start();
                    
147		the_content();
                    
179
                    
180		ob_start();
                    
181		the_excerpt();
                    
                
application.php https://bitbucket.org/talueses/joomla-cms.git | PHP | 362 lines
                    
1<?php
                    
2/**
                    
73		// Start the output buffer.
                    
74		ob_start();
                    
75
                    
76		// Import the controller.
                    
77		require_once JPATH_COMPONENT.'/controller.php';
                    
78
                    
91			'template'	=> 'template',
                    
92			'file'		=> $file.'.php',
                    
93			'directory' => JPATH_THEMES,
                    
163	{
                    
164		ob_start();
                    
165		$lang = JFactory::getLanguage();
                    
                
shell.test.php https://github.com/bb-dev/cakephp2x.git | PHP | 501 lines
                    
8 *
                    
9 * CakePHP : Rapid Development Framework (http://cakephp.org)
                    
10 * Copyright 2006-2009, Cake Software Foundation, Inc.
                    
15 * @copyright     Copyright 2006-2009, Cake Software Foundation, Inc.
                    
16 * @link          http://cakephp.org CakePHP Project
                    
17 * @package       cake
                    
18 * @subpackage    cake.tests.cases.console.libs
                    
19 * @since         CakePHP v 1.2.0.7726
                    
20 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
369
                    
370		$path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php';
                    
371		$this->assertEqual($this->Shell->shortPath($path), $expected);
                    
408		$path = TMP . 'shell_test';
                    
409		$file = $path . DS . 'file1.php';
                    
410
                    
                
Modules.php https://gitlab.com/sheldonels/pyrocms | PHP | 246 lines
                    
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
                    
2
                    
9
                    
10/* PHP5 spl_autoload */
                    
11spl_autoload_register('Modules::autoload');
                    
22 *
                    
23 * Install this file as application/third_party/MX/Modules.php
                    
24 *
                    
65			if (method_exists($class, $method)) {
                    
66				ob_start();
                    
67				$args = func_get_args();
                    
116		/* autoload Modular Extensions MX core classes */
                    
117		if (strstr($class, 'MX_') and is_file($location = dirname(__FILE__).'/'.substr($class, 3).'.php')) {
                    
118			include_once $location;
                    
122		/* autoload core classes */
                    
123		if (is_file($location = APPPATH.'core/'.$class.'.php')) {
                    
124			include_once $location;
                    
                
default.php https://github.com/carleton/reason_package.git | PHP | 439 lines
                    
1<?php
                    
2/**
                    
10	 */
                    
11	include_once( 'reason_header.php' );
                    
12	reason_include_once( '/content_listers/tree.php3' );
                    
168			$root = $this->root_node();
                    
169			ob_start();
                    
170			$this->make_tree( $root , $root , 0);
                    
                
index.php https://github.com/ddrl46/bugspray.git | PHP | 467 lines
                    
1<?php
                    
2/*
                    
24
                    
25// any function from functions.php would do
                    
26$done = function_exists('db_query');
                    
49{
                    
50ob_start('install_callback');
                    
51?>
                    
51?>
                    
52<?php if (!$done): ?>
                    
53<!DOCTYPE html>
                    
77	<body>
                    
78<?php else: ?>
                    
79		<script type="text/javascript">
                    
82		</script>
                    
83<?php endif; ?>
                    
84		<div id="installer_wrap1">
                    
                
View.php git://github.com/concrete5/concrete5.git | PHP | 478 lines
                    
1<?php
                    
2namespace Concrete\Core\View;
                    
210        if (!$this->innerContentFile) { // will already be set in a legacy tools file
                    
211            $this->setInnerContentFile($env->getPath($this->viewRootDirectoryName.'/'.trim($this->viewPath, '/').'.php', $this->viewPkgHandle));
                    
212        }
                    
265
                    
266        ob_start();
                    
267        include $this->innerContentFile;
                    
283
                    
284        ob_start();
                    
285
                    
466
                    
467        $_record = $_locator->getRecord(DIRNAME_ELEMENTS . '/' . $_file . '.php');
                    
468        $_file = $_record->getFile();
                    
                
Rack.php https://github.com/llambeau/rack-php.git | PHP | 141 lines
                    
7  
                    
8  // This converts the native PHP $_SERVER array into a rack hash and then removes the contents of
                    
9  // the $_SERVER variable.  This ensures loose coupling and allows for middleware and mock requests.
                    
49      // There must be a valid input stream in rack.input.
                    
50      'rack.input' => fopen('php://input', 'r'),
                    
51
                    
52      // There must be a valid error stream in rack.errors.
                    
53      'rack.errors' => fopen('php://stderr', 'w'),
                    
54
                    
81    $env =& static::get_env();
                    
82    ob_start();
                    
83    $result = self::runMiddleware($app, $env);
                    
97    fclose($env['rack.errors']);
                    
98    $headers['X-Powered-By'] = "rack-php ".implode('.',$env['rack.version']);
                    
99    $headers['Status'] = $status;
                    
                
indexer.json.php https://bitbucket.org/Kichrum/joomla-test.git | PHP | 386 lines
                    
1<?php
                    
2/**
                    
12// Register dependent classes.
                    
13JLoader::register('FinderIndexer', JPATH_COMPONENT_ADMINISTRATOR . '/helpers/indexer/indexer.php');
                    
14
                    
41				$options['format'] = '{DATE}\t{TIME}\t{LEVEL}\t{CODE}\t{MESSAGE}';
                    
42				$options['text_file'] = 'indexer.php';
                    
43				$log = JLog::addLogger($options);
                    
58		// Put in a buffer to silence noise.
                    
59		ob_start();
                    
60
                    
108				$options['format'] = '{DATE}\t{TIME}\t{LEVEL}\t{CODE}\t{MESSAGE}';
                    
109				$options['text_file'] = 'indexer.php';
                    
110				$log = JLog::addLogger($options);
                    
125		// Put in a buffer to silence noise.
                    
126		ob_start();
                    
127
                    
                
CBaseController.php https://github.com/joshuaswarren/weatherhub.git | PHP | 296 lines
                    
1<?php
                    
2/**
                    
55 * @author Qiang Xue <qiang.xue@gmail.com>
                    
56 * @version $Id: CBaseController.php 2799 2011-01-01 19:31:13Z qiang.xue $
                    
57 * @package system.web
                    
100	 * Renders a view file.
                    
101	 * This method includes the view file as a PHP script
                    
102	 * and captures the display result if required.
                    
116		{
                    
117			ob_start();
                    
118			ob_implicit_flush(false);
                    
156		{
                    
157			ob_start();
                    
158			ob_implicit_flush(false);
                    
                
template.php https://github.com/howardlei82/IGSM-Website.git | PHP | 380 lines
                    
1<?php
                    
2/**
                    
286        if ( ! empty($this->errors) ) {
                    
287            $errors = implode('<br />' . PHP_EOL, $this->errors);
                    
288            echo '<div id="message" class="error">' . $errors . '</div>' . PHP_EOL;
                    
291        if ( ! empty($this->notices) ) {
                    
292            $notices = implode('<br />' . PHP_EOL, $this->notices);
                    
293            echo '<div id="message" class="notice">' . $notices . '</div>' . PHP_EOL;
                    
303     *
                    
304     * @param string $template Template name (With no .php extension)
                    
305     * @return boolean If template file was found or not.
                    
351	{
                    
352		if ( ob_start() ) {
                    
353			$this->display($template, $default);
                    
365	 *
                    
366	 * @param string $name Template name (with no .php extension)
                    
367	 * @return string|false Absolute path to template file. False if not found.
                    
                
application.php https://github.com/ot2sen/Tamka.git | PHP | 363 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: application.php 21376 2011-05-24 17:11:48Z dextercowley $
                    
4 * @package		Joomla.Installation
                    
73		// Start the output buffer.
                    
74		ob_start();
                    
75
                    
76		// Import the controller.
                    
77		require_once JPATH_COMPONENT.'/controller.php';
                    
78
                    
89			'template'	=> 'template',
                    
90			'file'		=> 'index.php',
                    
91			'directory' => JPATH_THEMES,
                    
162	{
                    
163		ob_start();
                    
164		$lang = JFactory::getLanguage();
                    
                
math-fallback.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 113 lines
                    
1<?php
                    
2
                    
56			$ans  = sha1( $salt . $sum );
                    
57			ob_start();
                    
58			?>
                    
58			?>
                    
59			<h2><?php _e( 'Please solve this math problem to prove that you are not a bot.  Once you solve it, you will need to log in again.', 'jetpack' ); ?></h2>
                    
60			<?php if ($error): ?>
                    
60			<?php if ($error): ?>
                    
61				<h3><?php _e( 'Your answer was incorrect, please try again.', 'jetpack' ); ?></h3>
                    
62			<?php endif ?>
                    
63			
                    
64			<form action="<?php echo home_url(); ?>" method="post" accept-charset="utf-8">
                    
65				<?php Jetpack_Protect_Math_Authenticate::math_form(); ?>
                    
104				<strong>Prove your humanity: </strong>
                    
105				<?php echo $num1 ?> &nbsp; + &nbsp; <?php echo $num2 ?> &nbsp; = &nbsp;
                    
106				<input type="input" name="jetpack_protect_num" value="" size="2" />
                    
                
gutters.html https://github.com/mneedham/dashboard.git | HTML | 222 lines
                    
1<?php ob_start('ob_gzhandler') ?>
                    
2<!DOCTYPE html >
                    
88            <a href="http://twitter.com/home/?status=RGraph%3A%20Javascript+charts+and+graph+library+http%3A%2F%2Fwww.rgraph.net+%23rgraph+%23html5+%23canvas+%23javascript+%23charts+@_rgraph" target="_blank"><img src="../images/twitter.png" id="twitter_icon" alt="tweet this site" width="22" height="22" border="0" align="absmiddle" /></a>
                    
89            <a title="Share RGraph on Facebook" href="" onclick="window.open('http://www.facebook.com/sharer.php?u=http://www.rgraph.net&t=RGraph:%20Javascript%20chart%20and%20graph%20library', 'facebook_window', 'width=500,height=400,top=100,left=100'); return false"><img src="../images/facebook.png" width="22" height="22" alt="Post to Facebook" align="absmiddle" border="0"/></a>
                    
90        </div>
                    
                
CliDumperTest.php https://gitlab.com/codegod/evricommunity | PHP | 501 lines
                    
1<?php
                    
2
                    
20 */
                    
21class CliDumperTest extends \PHPUnit_Framework_TestCase
                    
22{
                    
26    {
                    
27        require __DIR__.'/Fixtures/dumb-var.php';
                    
28
                    
28
                    
29        $dumper = new CliDumper('php://output');
                    
30        $dumper->setColors(false);
                    
40
                    
41        ob_start();
                    
42        $dumper->dump($data);
                    
44        $out = preg_replace('/[ \t]+$/m', '', $out);
                    
45        $intMax = PHP_INT_MAX;
                    
46        $res = (int) $var['res'];
                    
                
class-ms-rule-content-model.php https://gitlab.com/najomie/fit-hippie | PHP | 403 lines
                    
1<?php
                    
2/**
                    
227	public function hide_form_start() {
                    
228		ob_start();
                    
229	}
                    
                
attachment.php https://gitlab.com/sihabudinahmad/asppi | PHP | 303 lines
                    
1<?php
                    
2
                    
66		// validate page
                    
67		if( $pagenow === 'post.php' && $typenow === 'attachment' ) {
                    
68			
                    
74		// validate page
                    
75		if( $pagenow === 'upload.php' && version_compare($wp_version, '4.0', '>=') ) {
                    
76			
                    
181			// get acf_form_data
                    
182			ob_start();
                    
183			
                    
                
TbInput.php https://bitbucket.org/crisvandommelen/yii-onlinehelp.git | PHP | 470 lines
                    
1<?php
                    
2/**
                    
5 * @copyright Copyright &copy; Christoffer Niska 2011-
                    
6 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
                    
7 * @package bootstrap.widgets.input
                    
266
                    
267			ob_start();
                    
268			echo '<div class="'.$this->getAddonCssClass().'">';
                    
292
                    
293			ob_start();
                    
294			if (isset($this->appendText))
                    
                
FormMultiCheckboxTest.php https://github.com/mfairchild365/zf2.git | PHP | 140 lines
                    
1<?php
                    
2/**
                    
27use Zend\Registry,
                    
28    Zend\View\PhpRenderer as View,
                    
29    Zend\View\Helper\FormMultiCheckbox;
                    
41 */
                    
42class FormMultiCheckboxTest extends \PHPUnit_Framework_TestCase
                    
43{
                    
59        $this->helper->setView($this->view);
                    
60        ob_start();
                    
61    }
                    
                
Element.php https://github.com/depage/depage-cms.git | PHP | 300 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @file    element.php
                    
4 * @brief   element class
                    
226     * If the element is constructed with a custom log object the logging
                    
227     * happens there, otherwise the PHP error_log function is used.
                    
228     *
                    
238            if (gettype($argument) != 'string') {
                    
239                ob_start();
                    
240                print_r($argument);
                    
299
                    
300/* vim:set ft=php sw=4 sts=4 fdm=marker et : */
                    
301
                    
                
class-wc-admin.php https://gitlab.com/hunt9310/ras | PHP | 245 lines
                    
1<?php
                    
2/**
                    
38	public function buffer() {
                    
39		ob_start();
                    
40	}
                    
45	public function includes() {
                    
46		include_once( 'wc-admin-functions.php' );
                    
47		include_once( 'wc-meta-box-functions.php' );
                    
47		include_once( 'wc-meta-box-functions.php' );
                    
48		include_once( 'class-wc-admin-post-types.php' );
                    
49		include_once( 'class-wc-admin-taxonomies.php' );
                    
49		include_once( 'class-wc-admin-taxonomies.php' );
                    
50		include_once( 'class-wc-admin-menus.php' );
                    
51		include_once( 'class-wc-admin-notices.php' );
                    
51		include_once( 'class-wc-admin-notices.php' );
                    
52		include_once( 'class-wc-admin-assets.php' );
                    
53		include_once( 'class-wc-admin-api-keys.php' );
                    
                
class.wpcom-json-api-comment-endpoint.php https://gitlab.com/thisishayat/itv-2016 | PHP | 198 lines
                    
1<?php
                    
2
                    
141				if ( 'display' === $context ) {
                    
142					ob_start();
                    
143					comment_text();
                    
                
 

Source

Language