PageRenderTime 964ms queryTime 562ms sortTime 15ms getByIdsTime 137ms findMatchingLines 89ms

100+ results results for 'php ob_start repo:markjaquith/WordPress' (964 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;
                    
                
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);
                    
                
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";
                    
                
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(); ?>
                    
                
manager.php https://gitlab.com/campus-academy/krowkaramel | 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
                    
                
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 }?>">
                    
                
wp_loaded.php https://gitlab.com/najomie/fit-hippie | PHP | 281 lines
                    
1<?php
                    
2
                    
207
                    
208								ob_start();
                    
209
                    
                
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/cbtapp | 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);
                    
                
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())
                    
                
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
                    
                
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 */
                    
                
class-wc-widget-layered-nav.php https://gitlab.com/iamgraeme/royalmile | PHP | 459 lines
                    
1<?php
                    
2
                    
159
                    
160		ob_start();
                    
161
                    
                
CaptureCache.php https://gitlab.com/merial/WETE_Ryhma3 | 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.
                    
                
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.
                    
                
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());
                    
                
eclipse.php https://github.com/dhamma-dev/SEA.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);
                    
                
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 }} ?>
                    
                
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);
                    
                
class-wp-image-editor.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 403 lines
                    
1<?php
                    
2/**
                    
330		if ( $stream = wp_is_stream( $filename ) ) {
                    
331			ob_start();
                    
332		} else {
                    
                
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           
                    
                
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
                    
                
Modules.php https://github.com/k001/ACCOUNT--MANAGEMENT-PANEL.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();
                    
                
unicode.php https://github.com/bermi/akelos.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
                    
                
shell.test.php https://gitlab.com/hakimkal/evricaevents | 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
                    
                
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 */
                    
                
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);
                    
                
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>
                    
                
theme.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | 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;
                    
                
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>
                    
                
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
                    
                
Capsule.php https://github.com/ArnaudD/global-menu.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        
                    
                
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?>
                    
                
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;
                    
                
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">
                    
                
index.php https://github.com/metadaddy/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
                    
                
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;
                    
                
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" />
                    
                
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			
                    
                
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();
                    
                
form.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 411 lines
                    
1<?php
                    
2/**
                    
92	public function render() {
                    
93		ob_start();
                    
94		try {
                    
                
Form_bu.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 382 lines
                    
284			$options = '<?php foreach($Field[\'Options\'] as $Options):?>
                    
285			<option value="<?php echo $Options[\'value\'] ?>"<?php if($Options[\'value\'] == $Field[\'Value\']): ?> selected="selected"<?php endif ?>><?php echo $Options[\'text\'] ?></option>
                    
286			<?php endforeach ?>';
                    
306			$options = '<?php $ArrValue = explode(\',\',$Field[\'Value\']); foreach($Field[\'Options\'] as $Options):?>
                    
307			<option value="<?php echo $Options[\'value\'] ?>"<?php if(in_array($Options[\'value\'],$ArrValue)): ?> selected="selected"<?php endif ?>><?php echo $Options[\'text\'] ?></option>
                    
308			<?php endforeach ?>';
                    
330			<label for="ID_<?php echo $Field[\'Name\'] ?>_<?php echo $Options[\'value\'] ?>">
                    
331				<input type="radio" name="<?php echo $Field[\'Name\'] ?>" id="ID_<?php echo $Field[\'Name\'] ?>_<?php echo $Options[\'value\'] ?>" class="<?php echo $Field[\'Class\'] ?>" value="<?php echo $Options[\'value\'] ?>"<?php if($Options[\'value\'] == $Field[\'Value\']): ?> checked="checked"<?php endif ?>/>
                    
332				<?php echo $Options[\'text\'] ?>
                    
339				$options[] = '<label for="ID_' . $this->Element['Name'] . '_' . $Opt['value'] . '">
                    
340				<input type="radio" name="' . $this->Element['Name'] . '" id="ID_' . $this->Element['Name'] . '_' . $Opt['value'] . '" class="' . $this->Element['Class'] . '" value="' . $Opt['value'] . '"<?php if(\'' . $Opt['value'] . '\' == $Field[\'Value\']): ?> checked="checked"<?php endif ?>/>' . $Opt['text'] . '</label>';
                    
341			}
                    
356			<label for="ID_<?php echo $Field[\'Name\'] ?>_<?php echo $Options[\'value\'] ?>">
                    
357				<input type="checkbox" name="<?php echo $Field[\'Name\'] ?>[]" id="ID_<?php echo $Field[\'Name\'] ?>_<?php echo $Options[\'value\'] ?>" class="<?php echo $Field[\'Class\'] ?>" value="<?php echo $Options[\'value\'] ?>"<?php if(in_array($Options[\'value\'],$ArrValue)): ?> checked="checked"<?php endif ?>/>
                    
358				<?php echo $Options[\'text\'] ?>
                    
                
Firebug.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 116 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
49        parent::__construct($filter);
                    
50        ob_start();
                    
51    }
                    
77    {
                    
78        $firebugMessage = new Zend_Wildfire_Plugin_FirePhp_TableMessage($this->_renderCaption());
                    
79        $firebugMessage->setHeader(array_keys($this->_getColumns()));
                    
88
                    
89        Zend_Wildfire_Plugin_FirePhp::getInstance()->send($firebugMessage);
                    
90
                    
                
ConfigTest.php https://github.com/bhaumik25/zend-framework.git | PHP | 404 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26require_once dirname(__FILE__) . '/../TestHelper.php';
                    
27
                    
30 */
                    
31require_once 'Zend/Config.php';
                    
32
                    
39 */
                    
40class Zend_ConfigTest extends PHPUnit_Framework_TestCase
                    
41{
                    
102    {
                    
103        if (version_compare(PHP_VERSION, '5.1', '>=')) {
                    
104            $config = new Zend_Config($this->_all, false);
                    
200
                    
201        ob_start();
                    
202        print_r($config->toArray());
                    
                
circles.php https://github.com/michaelchisari/appleseed.git | PHP | 379 lines
                    
1<?php
                    
2  // +-------------------------------------------------------------------+
                    
5  // +-------------------------------------------------------------------+
                    
6  // | FILE: circles.php                             CREATED: 01-01-2005 + 
                    
7  // | LOCATION: /code/user/                        MODIFIED: 04-11-2007 +
                    
33  // | DESCRIPTION:  Displays circles section of user profile page.      |
                    
34  // | WRAPPED BY:   /code/user/main.php                                 |
                    
35  // +-------------------------------------------------------------------+
                    
37  // Include necessary files
                    
38  require_once ('legacy/code/include/classes/friends.php'); 
                    
39
                    
43    if ($zLOCALUSER->userAccess->a == FALSE) {
                    
44      $zOLDAPPLE->IncludeFile ('legacy/code/site/error/403.php', INCLUDE_SECURITY_NONE);
                    
45      $zOLDAPPLE->End();
                    
82  // Buffer the main listing.
                    
83  ob_start ();  
                    
84
                    
                
FrontTest.php https://github.com/bhaumik25/zend-framework.git | PHP | 354 lines
                    
1<?php
                    
2require_once 'Zend/Controller/Front.php';
                    
2require_once 'Zend/Controller/Front.php';
                    
3require_once 'PHPUnit/Framework/TestCase.php';
                    
4
                    
4
                    
5require_once 'Zend/Controller/Request/Http.php';
                    
6require_once 'Zend/Controller/Response/Cli.php';
                    
7require_once 'Zend/Controller/Dispatcher.php';
                    
8require_once 'Zend/Controller/Router.php';
                    
9
                    
9
                    
10class Zend_Controller_FrontTest extends PHPUnit_Framework_TestCase
                    
11{
                    
246    {
                    
247        if ('cli' == strtolower(php_sapi_name())) {
                    
248            $this->markTestSkipped('Issues with $_GET in CLI interface prevents test from passing');
                    
                
indexer.json.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | 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
                    
                
application.php https://github.com/nervlin4444/joomla-framework.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();
                    
                
5256ddbd4aa1b361656b10a2a59d421438391591fab15dc5973b5627674eab52.php https://bitbucket.org/rubbystar/carimod.git | PHP | 199 lines
                    
1<?php
                    
2
                    
31        // line 7
                    
32        ob_start();
                    
33        // line 8
                    
119                echo "        ";
                    
120                ob_start();
                    
121                // line 27
                    
135            // line 31
                    
136            ob_start();
                    
137            // line 32
                    
                
Template.php https://gitlab.com/arthur_quiroga/dystawork | PHP | 413 lines
                    
1<?php
                    
2
                    
227    {
                    
228        ob_start();
                    
229        $this->displayParentBlock($name, $context, $blocks);
                    
250    {
                    
251        ob_start();
                    
252        $this->displayBlock($name, $context, $blocks, $useBlocks);
                    
369        $level = ob_get_level();
                    
370        ob_start();
                    
371        try {
                    
                
Config.php https://gitlab.com/alexandresgv/siteentec | PHP | 383 lines
                    
1<?php
                    
2/**
                    
100    /**
                    
101     * Create a new instance of the config class using a PHP file path.
                    
102     *
                    
102     *
                    
103     * @param  string $configFilePath Path to the PHP File
                    
104     * @throws \RuntimeException
                    
106     */
                    
107    public static function fromPhp($configFilePath)
                    
108    {
                    
108    {
                    
109        ob_start();
                    
110        /** @noinspection PhpIncludeInspection */
                    
117            throw new \RuntimeException(sprintf(
                    
118                'PHP file \'%s\' must return an array',
                    
119                $configFilePath
                    
                
class-ms-gateway-manual.php https://gitlab.com/najomie/fit-hippie | PHP | 196 lines
                    
1<?php
                    
2/**
                    
92				$link = MS_Controller_Plugin::get_admin_url( 'settings' );
                    
93				ob_start();
                    
94				?>
                    
94				?>
                    
95					<?php _e( 'This is only an example of manual payment gateway instructions', 'membership2' ); ?>
                    
96					<br />
                    
96					<br />
                    
97					<?php
                    
98					printf(
                    
104					<br /><br />
                    
105					<?php _e( 'Name: Example name.', 'membership2' ); ?>
                    
106					<br />
                    
106					<br />
                    
107					<?php _e( 'Bank: Example bank.', 'membership2' ); ?>
                    
108					<br />
                    
                
javo-custom-fileds.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 283 lines
                    
24							<dd>
                    
25								<input type="hidden" name="javo_ts[custom_field][<?php echo $javo_get_custom_filed_id;?>][name]" value="<?php echo $javo_get_custom_filed_id;?>">
                    
26								<input type="text" name="javo_ts[custom_field][<?php echo $javo_get_custom_filed_id;?>][label]" value="">
                    
141			</div>
                    
142			<input type="hidden" name="javo_custom_field[<?php echo $attributes['name'];?>][label]" value="<?php echo $label;?>">
                    
143		</div>
                    
218										<dd>
                    
219											<input name="javo_ts[custom_field][<?php echo $key;?>][value]" value="<?php echo $javo_field_string->get('value');?>">
                    
220										</dd>
                    
224										<dd>
                    
225											<input name="javo_ts[custom_field][<?php echo $key;?>][css]" value="<?php echo $javo_field_string->get('css');?>">
                    
226										</dd>
                    
250				var javo_get_custom_field_form_ajax = {
                    
251					url:'<?php echo admin_url("admin-ajax.php");?>'
                    
252					, type: 'post'
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 371 lines
                    
1<?php
                    
2
                    
11{
                    
12	/** @var CPHPCache $obCache */
                    
13	protected $obCache;
                    
81							{
                    
82								ob_start();
                    
83
                    
118					{
                    
119						ob_start();
                    
120
                    
167					{
                    
168						ob_start();
                    
169
                    
227				{
                    
228					ob_start();
                    
229
                    
                
Folder.php https://github.com/corneliusweiss/Tine-2.0-Open-Source-Groupware-and-CRM.git | PHP | 231 lines
                    
1<?php
                    
2/**
                    
153        'cache_job_lowestuid'    => array(Zend_Filter_Input::ALLOW_EMPTY => true, Zend_Filter_Input::DEFAULT_VALUE => 0),
                    
154        'cache_job_startuid'     => array(Zend_Filter_Input::ALLOW_EMPTY => true, Zend_Filter_Input::DEFAULT_VALUE => 0),
                    
155    // estimated number of actions when updating cache
                    
                
App.php http://dyhb-frame.googlecode.com/svn/trunk/ | PHP | 212 lines
                    
13else{
                    
14	$arrLang=(array)include(dirname(__FILE__).'/App/Zh-cn/App.lang.php');
                    
15}
                    
92	$sAppName='home';
                    
93	$sEnterPath=$sAppPath.'/index.php';
                    
94	$sOutput='';
                    
151			<?php foreach($arrListLang as $sListLang):?>
                    
152			<option value="?lang=<?php echo $sListLang;?>" <?php if(strtolower($sLang)==$sListLang):?>selected<?endif;?>><?php echo $sListLang;?></option>
                    
153			<?endforeach;?>
                    
159</div>
                    
160	 <form id="form1" name="form1" method="post" action="App.php?lang=<?php echo strtolower($sLang);?>">
                    
161		<p>
                    
207
                    
208<?php endif; ?>
                    
209<div class="footer"><?php echo $arrLang[22];?></div>
                    
                
ChartsDashlet.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 195 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
41
                    
42require_once('include/Dashlets/Dashlet.php');
                    
43
                    
75    function display() {
                    
76    	require_once("modules/Reports/Report.php");
                    
77		
                    
92			
                    
93			require_once("modules/Reports/templates/templates_chart.php");
                    
94	
                    
94	
                    
95			ob_start();	
                    
96			template_chart($reporter, true, true, $this->id);
                    
119    function displayScript() {
                    
120    	require_once("modules/Reports/Report.php");
                    
121			
                    
                
index.php https://github.com/ECP-Black/ECP.git | PHP | 265 lines
                    
1<?php
                    
2$conditions = array('LIMIT' 	=> LIMIT_COMMENTS,
                    
57			}
                    
58			ob_start();
                    
59			$conditions = array('LIMIT' 	=> LIMIT_COMMENTS,
                    
141			$tpl->assign('clanwar', count($clanwars));
                    
142			ob_start();
                    
143			$tpl->display(DESIGN.'/tpl/user/user_stats.html');
                    
146			$tpl->assign('stats', $content);
                    
147			ob_start();
                    
148			$db->query('SELECT gID, name FROM `'.DB_PRE.'ecp_user_groups` LEFT JOIN `'.DB_PRE.'ecp_groups` ON (gID = groupID) WHERE userID = '.$id.' ORDER BY name ASC');
                    
178		$tpl->assign('user', $user);
                    
179		ob_start();
                    
180		$tpl->display(DESIGN.'/tpl/user/user_online.html');
                    
228	$tpl->assign('user', $user);
                    
229	ob_start();
                    
230	$tpl->display(DESIGN.'/tpl/user/user_list.html');
                    
                
smarty_internal_cacheresource_file.php https://gitlab.com/piotr-zuralski/demo-zuralski-trojmiastopl-articles | PHP | 205 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    	}
                    
                
class-wp-customize-panel.php https://gitlab.com/ReneMC/Custom-wordpress-theme | PHP | 389 lines
                    
1<?php
                    
2/**
                    
252	final public function get_content() {
                    
253		ob_start();
                    
254		$this->maybe_render();
                    
321		?>
                    
322		<script type="text/html" id="tmpl-customize-panel-<?php echo esc_attr( $this->type ); ?>-content">
                    
323			<?php $this->content_template(); ?>
                    
324		</script>
                    
325		<script type="text/html" id="tmpl-customize-panel-<?php echo esc_attr( $this->type ); ?>">
                    
326			<?php $this->render_template(); ?>
                    
327		</script>
                    
328        <?php
                    
329	}
                    
346				{{ data.title }}
                    
347				<span class="screen-reader-text"><?php _e( 'Press return or enter to open this panel' ); ?></span>
                    
348			</h3>
                    
                
ExceptionTrapTest.php https://github.com/cakephp/cakephp.git | PHP | 414 lines
                    
1<?php
                    
2declare(strict_types=1);
                    
4/**
                    
5 * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
                    
6 * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
                    
12 * @copyright     Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
                    
13 * @link          https://cakephp.org CakePHP Project
                    
14 * @since         4.4.0
                    
14 * @since         4.4.0
                    
15 * @license       https://opensource.org/licenses/mit-license.php MIT License
                    
16 */
                    
137
                    
138        ob_start();
                    
139        $trap->handleException($error);
                    
211
                    
212        ob_start();
                    
213        $trap->handleException($error);
                    
                
head.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 162 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version		$Id: head.php 21074 2011-04-04 16:51:40Z dextercowley $
                    
4* @package		Joomla.Framework
                    
6* @copyright	Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
                    
7* @license		GNU/GPL, see LICENSE.php
                    
8* Joomla! is free software. This version may have been modified pursuant
                    
11* other free or open source software licenses.
                    
12* See COPYRIGHT.php for copyright notices and details.
                    
13*/
                    
36	{
                    
37		ob_start();
                    
38
                    
                
AORReportsDashlet.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 106 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
4
                    
5require_once('include/Dashlets/Dashlet.php');
                    
6require_once 'modules/AOR_Reports/aor_utils.php';
                    
73    public function displayOptions() {
                    
74        ob_start();
                    
75        global $current_language, $app_list_strings;
                    
                
write.real.php https://github.com/2600hz/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')) {
                    
                
gallery.php https://github.com/ECP-Black/ECP.git | PHP | 276 lines
                    
1<?php
                    
2function admin_gallery () {
                    
15	$tplc->assign('kate', $kate);
                    
16	ob_start();
                    
17	$tplc->display(DESIGN.'/tpl/admin/gallery_kate_overview.html');
                    
28	$tplc->assign('gallery', $gallery);
                    
29	ob_start();
                    
30	$tplc->display(DESIGN.'/tpl/admin/gallery_overview.html');
                    
33	$tpl->assign('gallery', $content);	
                    
34	ob_start();
                    
35	$tpl->display(DESIGN.'/tpl/admin/gallery.html');
                    
179			$tpl->assign('folder', $gallery['folder']);
                    
180			ob_start();
                    
181			$tpl->display(DESIGN.'/tpl/admin/gallery_view_overview.html');
                    
187		$tpl->assign('pics', @$content);
                    
188		ob_start();
                    
189		$tpl->display(DESIGN.'/tpl/admin/gallery_view'.(UPLOAD_METHOD == 'old' ? '_old' : '').'.html');
                    
                
Ajax.php https://gitlab.com/che234/adn | PHP | 183 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version   $Id: Ajax.php 10831 2013-05-29 19:32:17Z btowles $
                    
4 * @author    RocketTheme http://www.rockettheme.com
                    
71		while (@ob_end_clean()) ; // clean any pending output buffers
                    
72		ob_start(); // start a fresh one
                    
73
                    
134				echo "  Fatal error on line $errline in file $errfile";
                    
135				echo ", PHP " . PHP_VERSION . " (" . PHP_OS . ")\n";
                    
136				echo "Aborting...\n";
                    
152
                    
153		/* Don't execute PHP internal error handler */
                    
154		return true;
                    
                
repeater.class.php https://gitlab.com/mostafame/team_website | PHP | 128 lines
                    
1<?php
                    
2
                    
56		<div class="siteorigin-widget-field-repeater"
                    
57		     data-item-name="<?php echo esc_attr( $this->item_name ) ?>"
                    
58		     data-repeater-name="<?php echo esc_attr( $this->base_name ) ?>"
                    
58		     data-repeater-name="<?php echo esc_attr( $this->base_name ) ?>"
                    
59		     data-element-name="<?php echo esc_attr( $this->element_name ) ?>"
                    
60			<?php echo ! empty( $item_label ) ? 'data-item-label="' . esc_attr( $item_label ) . '"' : '' ?>
                    
60			<?php echo ! empty( $item_label ) ? 'data-item-label="' . esc_attr( $item_label ) . '"' : '' ?>
                    
61			<?php echo ! empty( $this->scroll_count ) ? 'data-scroll-count="' . esc_attr( $this->scroll_count ) . '"' : '' ?>
                    
62			<?php if( ! empty( $this->readonly ) ) echo 'readonly' ?>>
                    
64				<div class="siteorigin-widget-field-repeater-expand"></div>
                    
65				<h3><?php echo esc_html( $this->label ) ?></h3>
                    
66			</div>
                    
67			<div class="siteorigin-widget-field-repeater-items">
                    
68				<?php
                    
69				if( !empty( $value ) ) {
                    
                
PhpEngine.php https://gitlab.com/pr0055/symfonypizza | PHP | 518 lines
                    
1<?php
                    
2
                    
20/**
                    
21 * PhpEngine is an engine able to render PHP templates.
                    
22 *
                    
24 */
                    
25class PhpEngine implements EngineInterface, \ArrayAccess
                    
26{
                    
118
                    
119        return 'php' === $template->get('engine');
                    
120    }
                    
150
                    
151            ob_start();
                    
152            require $this->evalTemplate;
                    
160
                    
161            ob_start();
                    
162            eval('; ?>'.$this->evalTemplate.'<?php ;');
                    
                
HTML.php https://github.com/cgtaylor/moodle.git | PHP | 295 lines
                    
17>>>>>>> 54b7b5993fbd4386eb4eadb4f97da8d41dfa16bf
                    
18 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
19 */
                    
20
                    
21require_once 'PHP/CodeSniffer/DocGenerators/Generator.php';
                    
22
                    
36 * @version   Release: 1.1.0
                    
37 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
38 */
                    
38 */
                    
39class PHP_CodeSniffer_DocGenerators_HTML extends PHP_CodeSniffer_DocGenerators_Generator
                    
40{
                    
196        echo 'Documentation generated on '.date('r');
                    
197        echo ' by <a href="http://pear.php.net/package/PHP_CodeSniffer">PHP_CodeSniffer 1.1.0</a>';
                    
198        echo '</div>'.PHP_EOL;
                    
                
class-wp-customize-section.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 453 lines
                    
304		?>
                    
305		<li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="<?php echo esc_attr( $classes ); ?>">
                    
306			<h3 class="accordion-section-title" tabindex="0">
                    
307				<?php echo esc_html( $this->title ); ?>
                    
308				<span class="screen-reader-text"><?php _e( 'Press return or enter to expand' ); ?></span>
                    
309			</h3>
                    
350		?>
                    
351		<li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="<?php echo esc_attr( $classes ); ?>">
                    
352			<h3 class="accordion-section-title">
                    
352			<h3 class="accordion-section-title">
                    
353				<?php
                    
354				if ( $this->manager->is_theme_active() ) {
                    
366				<h2>
                    
367					<?php _e( 'Themes' ); ?>
                    
368					<span class="title-count theme-count"><?php echo count( $this->controls ) + 1 /* Active theme */; ?></span>
                    
                
helper-functions.php https://gitlab.com/almoore1/buy-button-wordpress | PHP | 352 lines
                    
1<?php
                    
2/**
                    
31
                    
32	include_once( cmb2_dir( "includes/{$class_name}.php" ) );
                    
33}
                    
221
                    
222	ob_start();
                    
223	// Get cmb form
                    
312	/**
                    
313	 * Reimplementation of DateTime::createFromFormat for PHP < 5.3. :(
                    
314	 * Borrowed from http://stackoverflow.com/questions/5399075/php-datetimecreatefromformat-in-5-2
                    
                
pubsubhubbub.php https://github.com/nfiedel/Buzz-to-Blogger.git | PHP | 221 lines
                    
1<?php
                    
2/*
                    
11
                    
12include("publisher.php");
                    
13
                    
58function start_rss_link_tag() {    
                    
59    ob_start();
                    
60}
                    
105    
                    
106    <form method="post" action="options.php">
                    
107    <?php //wp_nonce_field('update-options'); ?>
                    
108    <!-- starting -->
                    
109    <?php settings_fields('my_settings_group'); ?>
                    
110    <?php do_settings_sections('my_settings_section'); ?>
                    
112    
                    
113    <?php
                    
114    
                    
                
a-week-of-symfony-255.md https://github.com/symfony-japan/sfjp-doc-main.git | Markdown | 106 lines
                    
22
                    
23  * [r33208](http://trac.symfony-project.org/changeset/33208 "33208 revision on trac"): \[1.4\] fixed ob_start usage (to avoid warning in PHP 5.4)
                    
24  * [r33214](http://trac.symfony-project.org/changeset/33214 "33214 revision on trac"): \[1.4\] fixed ob_start() behavior on CLI
                    
62    * cleaned up some of the variable namespacing in slotEnableForm and slotEnableFormButtons
                    
63    * moved the php below the doctype in layout so there's no whitespace at the top of the document when it's rendered
                    
64    * fixed display of tiny images in the media library
                    
84  * [Drupal8 und Symfony2 gehen gemeinsame Wege](http://relevant.at/wirtschaft/pr/323075/drupal8-symfony2-gehen-gemeinsame-wege.story)
                    
85  * [Setting PHPUnit for symfony projects on Ubuntu](http://www.noop.lv/2011/11/19/setting-phpunit-for-symfony-projects-on-ubuntu/)
                    
86  * [Twitter @Anywhere and PHP Symfony. Implementing login action](http://shared-memos.blogspot.com/2011/11/twitter-anywhere-and-php-symfony.html)
                    
93  * [配置nginx支持Symfony](http://www.yylog.net/archives/41/)
                    
94  * [SymfonyでHello world!を作ってみる](http://omnioo.com/omnioolab/php/-hello-worldsymfonyurl---symfony5w1h-symfony-hello-worldhello-world-symfony.php)
                    
95  * [Instalasi Symfony di Mac OS](http://ihsanrama.wordpress.com/2011/11/16/instalasi-symfony-di-mac-os/)
                    
102  * [El final del autoloading](http://desarrolla2.com/php-symfony/el-final-del-autoloading/)
                    
103  * [php、Symfony Widgetsについての質問](http://www.phppro.jp/qa/2972)
                    
104  * [Symfony 1.0 NULL](http://mmj.99ing.net/Entry/1103/)
                    
                
ScaffoldViewTest.php https://gitlab.com/digaotinfo/abear.com.br | PHP | 463 lines
                    
4 *
                    
5 * PHP 5
                    
6 *
                    
6 *
                    
7 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
                    
8 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @link          http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
                    
15 * @package       Cake.Test.Case.Controller
                    
15 * @package       Cake.Test.Case.Controller
                    
16 * @since         CakePHP(tm) v 2.0
                    
17 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
23
                    
24require_once dirname(dirname(__FILE__)) . DS . 'Model' . DS . 'models.php';
                    
25
                    
                
action.php https://gitlab.com/3dplex/3d-plex-main-site | PHP | 119 lines
                    
1<?php
                    
2/**
                    
5 * Some code (autoload, templating) is just simple boilerplate and no shining
                    
6 * example of how to write php applications.
                    
7 *
                    
10
                    
11require_once __DIR__.'/../vendor/autoload.php';
                    
12
                    
24  }
                    
25  header("Location: index.php");
                    
26  exit;
                    
109function tpl($template, $msg="") {
                    
110  $fn = __DIR__ . DIRECTORY_SEPARATOR . "templates" . DIRECTORY_SEPARATOR . $template . ".php";
                    
111  if(file_exists($fn)) {
                    
111  if(file_exists($fn)) {
                    
112    ob_start();
                    
113    include $fn;
                    
                
import_test.php https://bitbucket.org/moodle/moodle.git | PHP | 282 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
19/**
                    
20 * Unit tests for import.php.
                    
21 *
                    
35        global $CFG;
                    
36        require_once($CFG->dirroot . '/mod/data/lib.php');
                    
37        require_once($CFG->dirroot . '/lib/datalib.php');
                    
37        require_once($CFG->dirroot . '/lib/datalib.php');
                    
38        require_once($CFG->dirroot . '/lib/csvlib.class.php');
                    
39        require_once($CFG->dirroot . '/search/tests/fixtures/testable_core_search.php');
                    
39        require_once($CFG->dirroot . '/search/tests/fixtures/testable_core_search.php');
                    
40        require_once($CFG->dirroot . '/mod/data/tests/generator/lib.php');
                    
41    }
                    
91        $filecontent = file_get_contents(__DIR__ . '/fixtures/test_data_import.csv');
                    
92        ob_start();
                    
93        data_import_csv($cm, $data, $filecontent, 'UTF-8', 'comma');
                    
                
 

Source

Language