100+ results results for 'php ob_end_clean repo:AaronFernandes/aquestionof' (289 ms)
1<?php 2function news($topicID = 0) { 39 $content = ob_get_contents(); 40 ob_end_clean(); 41 main_content('<a href="?section=news&action=topic&id='.$row['topicID'].'">'.$row['topicname'].'</a>: '.$row['headline'], $content, '',0); 93 $content = ob_get_contents(); 94 ob_end_clean(); 95 main_content(NEWS_ARCHIV, $content, '', 1); 130 $content = ob_get_contents(); 131 ob_end_clean(); 132 main_content('<a href="?section=news&action=topic&id='.$row['topicID'].'">'.$row['topicname'].'</a>: '.$row['headline'], $content, '',0);url_helper.php https://gitlab.com/zanderwong/admin | PHP | 523 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 304 var l = new Array(); 305 <?php 306 $i = 0; 306 $i = 0; 307 foreach ($x as $val){ ?>l[<?php echo $i++; ?>] = '<?php echo $val; ?>';<?php } ?> 308 313 //]]> 314 </script><?php 315 316 $buffer = ob_get_contents(); 317 ob_end_clean(); 318 return $buffer;write.real.php https://github.com/tommeir/mifgaim.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// /// 120 } 121 ob_end_clean(); 122 } 277 } 278 ob_end_clean(); 279 }theme.php https://bitbucket.org/rchlmrtn/chiari.git | PHP | 296 lines
1<?php 2/** 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)) ) { 28 $data = ob_get_contents(); 29 ob_end_clean(); 30 if ( ! empty($data) ){ 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; 41 $data = ob_get_contents(); 42 ob_end_clean(); 43 if ( ! empty($data) ) {Template.php https://gitlab.com/arthur_quiroga/dystawork | PHP | 413 lines
1<?php 2 374 while (ob_get_level() > $level) { 375 ob_end_clean(); 376 }write.real.php https://github.com/AJenbo/ubuntudanmark.dk.git | PHP | 303 lines
1<?php 2///////////////////////////////////////////////////////////////// 9// // 10// write.real.php // 11// module for writing RealAudio/RealVideo tags // 11// module for writing RealAudio/RealVideo tags // 12// dependencies: module.tag.real.php // 13// /// 33 34 ob_end_clean(); 35 // Initialize getID3 engine 122 } 123 ob_end_clean(); 124 } 132 $errormessage = ob_get_contents(); 133 ob_end_clean(); 134 $this->errors[] = 'Could not open '.$this->filename.' mode "r+b"';unicode.php https://github.com/fusenigk/mantisbt-1.git | PHP | 269 lines
1<?php 2/** 2/** 3* @version $Id: unicode.php,v 1.2 2006/02/26 13:20:44 harryf Exp $ 4* Tools for conversion between UTF-8 and unicode 9* the Initial Developer. All Rights Reserved. 10* Ported to PHP by Henri Sivonen (http://hsivonen.iki.fi) 11* Slight modifications to fit with phputf8 library by Harry Fuecks (hfuecks gmail com) 13* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp 14* @see http://hsivonen.iki.fi/php-utf8/ 15* @package utf8 25* Returns false if the input string isn't a valid UTF-8 octet sequence 26* and raises a PHP error at level E_USER_WARNING 27* Note: this function has been modified slightly in this library to 32* @see utf8_from_unicode 33* @see http://hsivonen.iki.fi/php-utf8/ 34* @package utf8sfException.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()); 88 { 89 if (!ob_end_clean()) 90 { 188 // when using CLI, we force the format to be TXT 189 if (0 == strncasecmp(PHP_SAPI, 'cli', 3)) 190 { 253 254 $template = sprintf('%s.%s.php', $debug ? 'exception' : 'error', $format); 255 foreach ($templatePaths as $path)Template.php https://github.com/reddragon010/RG-ServerPanel.git | PHP | 450 lines
1<?php 2 252 while (ob_get_level() > $level) { 253 ob_end_clean(); 254 } 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.ecofilm-edicion-player.php https://gitlab.com/eco-film-festival/ecof-developer-2016 | PHP | 265 lines
1<? 2require 'ecofilm-csv.php'; 3 93 </div> 94 <!--<code><?php //print_r($_result); ?></code> --> 95 <?php 96 $list_markup = ob_get_contents(); 97 ob_end_clean(); 98 //---------- end : outputlessen.tpl.d17.php https://github.com/jonathanslenders/balancirk-website.git | PHP | 361 lines
1<?php 2/* template head */ 6'';// checking for modification in file:templates/base.tpl 7if (!("1300639476" == filemtime('templates/base.tpl'))) { ob_end_clean(); return false; };?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 8<html xmlns="http://www.w3.org/1999/xhtml"> 251 252 <?php if ((isset($this->scope["authenticated"]) ? $this->scope["authenticated"] : null)) { 253?> 253?> 254 <?php echo Dwoo_Plugin_include($this, "templates/_edit.tpl", null, null, null, '_root', null);?> 255 255 256 <?php 257}?> 358 359<?php /* end template body */ 360return $this->buffer . ob_get_clean();pb.php https://github.com/hehol/GemeinschaftPBX.git | PHP | 480 lines
1<?php 2/*******************************************************************\ 30define("GS_VALID", true); // this is a parent file 31require_once(dirname(__FILE__) ."/../../../inc/conf.php"); 32include_once(GS_DIR ."inc/db_connect.php"); 32include_once(GS_DIR ."inc/db_connect.php"); 33include_once(GS_DIR ."inc/gettext.php"); 34include_once(GS_DIR ."inc/langhelper.php"); 34include_once(GS_DIR ."inc/langhelper.php"); 35include_once(GS_DIR ."inc/group-fns.php"); 36require_once( GS_DIR .'inc/string.php' ); 61{ 62 @ob_end_clean(); 63 ob_start(); 134 135$url_polycom_pb = GS_PROV_SCHEME ."://". GS_PROV_HOST . (GS_PROV_PORT ? ":". GS_PROV_PORT : "") . GS_PROV_PATH ."polycom/pb.php"; 136modmanagerresponse.class.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 310 lines
1<?php 2/** 6 */ 7require_once MODX_CORE_PATH . 'model/modx/modresponse.class.php'; 8/** 146 if (!class_exists($className)) { 147 $classFile = strtolower($f).'.class.php'; 148 $classPath = null; 151 if (!file_exists($controllersPath.$classFile)) { 152 if (file_exists($controllersPath.strtolower($f).'/index.class.php')) { 153 $classPath = $controllersPath.strtolower($f).'/index.class.php'; 163 $className = 'modManagerControllerDeprecated'; 164 $classPath = MODX_CORE_PATH.'model/modx/modmanagercontrollerdeprecated.class.php'; 165 } 167 if (!file_exists($classPath)) { 168 if (file_exists(strtolower($f).'/index.class.php')) { 169 $classPath = strtolower($f).'/index.class.php';renderer.php https://bitbucket.org/ngmares/moodle.git | PHP | 244 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 163 $output .= $this->container(get_string('upgradeassignmentsuccess', 'tool_assignmentupgrade')); 164 $output .= $this->container(html_writer::link(new moodle_url('/course/view.php', array('id'=>$assignmentsummary->courseid)) ,get_string('viewcourse', 'tool_assignmentupgrade'))); 165 } 203 $o = ob_get_contents(); 204 ob_end_clean(); 205 220 $o = ob_get_contents(); 221 ob_end_clean(); 222shell.test.php https://github.com/cgajardo/repositorium.git | PHP | 501 lines
8 * 9 * CakePHP : Rapid Development Framework (http://cakephp.org) 10 * Copyright 2006-2010, Cake Software Foundation, Inc. 15 * @copyright Copyright 2006-2010, Cake Software Foundation, Inc. 16 * @link http://cakephp.org CakePHP Project 17 * @package cake 18 * @subpackage cake.tests.cases.console.libs 19 * @since CakePHP v 1.2.0.7726 20 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 370 371 $path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php'; 372 $this->assertEqual($this->Shell->shortPath($path), $expected); 409 $path = TMP . 'shell_test'; 410 $file = $path . DS . 'file1.php'; 411moduleinstallstep.php https://gitlab.com/alexprowars/bitrix | PHP | 483 lines
1<?php 2namespace Bitrix\Sale\CrmSiteMaster\Steps; 152 <script type="text/javascript"> 153 BX.message(<?=\CUtil::PhpToJSObject($messages)?>); 154 var ajaxWizardForm = new CAjaxWizardForm("<?=$formName?>", "iframe-post-form", "<?=$nextStepVarName?>"); 158 $content = ob_get_contents(); 159 ob_end_clean(); 160 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())element.php https://github.com/foxbei/joomla15.git | PHP | 713 lines
1<?php 2/** 3* @package ZOO Component 4* @file element.php 5* @version 2.3.7 March 2011 184 if ($layout == null) { 185 $layout = "{$type}.php"; 186 } 353 $__html = ob_get_contents(); 354 ob_end_clean(); 355eclipse.php https://gitlab.com/x33n/platform | PHP | 307 lines
1<?php 2/** 5 * @subpackage Eclipse 6 * @version $Id: eclipse.php 2011 2011-04-29 08:22:48Z pp11 $ 7 */ 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/**#@-*/ 299 $output = ob_get_contents(); 300 ob_end_clean(); 301 if ($output !== ""){shell.test.php https://github.com/hack521/contenidopago.git | PHP | 501 lines
8 * 9 * CakePHP : Rapid Development Framework (http://cakephp.org) 10 * Copyright 2005-2011, Cake Software Foundation, Inc. 15 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. 16 * @link http://cakephp.org CakePHP Project 17 * @package cake 18 * @subpackage cake.tests.cases.console.libs 19 * @since CakePHP v 1.2.0.7726 20 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 370 371 $path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php'; 372 $this->assertEqual($this->Shell->shortPath($path), $expected); 409 $path = TMP . 'shell_test'; 410 $file = $path . DS . 'file1.php'; 411importlib_test.php https://github.com/mackensen/moodle.git | PHP | 204 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 17/** 18 * Unit tests for grade/import/lib.php. 19 * 20 * @package core_grades 21 * @category phpunit 22 * @copyright 2015 Adrian Greeve <adrian@moodle.com> 28global $CFG; 29require_once($CFG->dirroot . '/grade/import/lib.php'); 30 199 $output = ob_get_contents(); 200 ob_end_clean(); 201 $this->assertTrue($status);bad.php https://bitbucket.org/chiamingyen/cmsimple-and-plugins.git | PHP | 395 lines
1<?php 2/** 2/** 3* @version $Id: bad.php 4 2012-08-07 21:08:48Z cmb69 $ 4* Tools for locating / replacing bad bytes in UTF-8 strings 9* the Initial Developer. All Rights Reserved. 10* Ported to PHP by Henri Sivonen (http://hsivonen.iki.fi) 11* Slight modifications to fit with phputf8 library by Harry Fuecks (hfuecks gmail com) 13* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp 14* @see http://hsivonen.iki.fi/php-utf8/ 15* @package utf8 121 $result = ob_get_contents(); 122 ob_end_clean(); 123 return $result; 158 $result = ob_get_contents(); 159 ob_end_clean(); 160 return $result;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 101 $this->frameSources[] = ob_get_contents(); 102 ob_end_clean(); 103 115 $this->frameSources[] = ob_get_contents(); 116 ob_end_clean(); 117AuthSub.php https://gitlab.com/devtoannh/cafe | PHP | 248 lines
1<?php 2 20 * @license http://framework.zend.com/license/new-bsd New BSD License 21 * @version $Id: AuthSub.php 24319 2011-07-30 13:43:41Z mikaelkael $ 22 */ 26 */ 27require_once 'Zend/Gdata/HttpClient.php'; 28 31 */ 32require_once 'Zend/Version.php'; 33 120 } catch (Zend_Http_Client_Exception $e) { 121 require_once 'Zend/Gdata/App/HttpException.php'; 122 throw new Zend_Gdata_App_HttpException($e->getMessage(), $e); 136 } else { 137 require_once 'Zend/Gdata/App/AuthException.php'; 138 throw new Zend_Gdata_App_AuthException(ViewMaker.php https://gitlab.com/gideonmarked/PLCPortal | PHP | 317 lines
1<?php namespace System\Traits; 2 266 while (ob_get_level() > $obLevel) { 267 ob_end_clean(); 268 } 311 if ($result = Event::fire($event, $params)) { 312 return implode(PHP_EOL.PHP_EOL, (array) $result); 313 }%%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); ?> 85</strong></td> 86 <td align="right"><?php if ($this->_tpl_vars['logEntry']->getAssocType()): ?><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?> 87/submissionEmailLogType/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?> 90" class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.related"), $this);?> 91</a> <?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']): ?> <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"> </td> 104 </tr>index.php https://github.com/ECP-Black/ECP.git | PHP | 265 lines
1<?php 2$conditions = array('LIMIT' => LIMIT_COMMENTS, 67 $tpl->assign('guestbook', $content); 68 ob_end_clean(); 69 $db->query('SELECT buddyID, username, country, uID as online, user_pic, lastlogin, sex FROM '.DB_PRE.'ecp_buddy LEFT JOIN '.DB_PRE.'ecp_user ON (buddyID = ID) LEFT JOIN '.DB_PRE.'ecp_online ON (uID = buddyID AND lastklick > '.(time()-SHOW_USER_ONLINE).') WHERE userID = '.$id.' GROUP BY buddyID ORDER BY online DESC,username ASC'); 144 $content = ob_get_contents(); 145 ob_end_clean(); 146 $tpl->assign('stats', $content); 156 $content = ob_get_contents(); 157 ob_end_clean(); 158 main_content(USER_PROFIL, $content, '',1); 181 $content = ob_get_contents(); 182 ob_end_clean(); 183 main_content(USER_ONLINE, $content, '',1); 231 $content = ob_get_contents(); 232 ob_end_clean(); 233 main_content(USER_LIST, $content, '',1);helper.php https://bitbucket.org/eternaware/joomus.git | PHP | 523 lines
1<?php 2/** 160 $module->module = preg_replace('/[^A-Z0-9_\.-]/i', '', $module->module); 161 $path = JPATH_BASE . '/modules/' . $module->module . '/' . $module->module . '.php'; 162 177 $module->content = ob_get_contents() . $content; 178 ob_end_clean(); 179 } 186 187 include_once JPATH_THEMES . '/system/html/modules.php'; 188 $chromePath = JPATH_THEMES . '/' . $template . '/html/modules.php'; 230 $module->content = ob_get_contents(); 231 ob_end_clean(); 232 } 270 // Build the template and base path for the layout 271 $tPath = JPATH_THEMES . '/' . $template . '/html/' . $module . '/' . $layout . '.php'; 272 $bPath = JPATH_BASE . '/modules/' . $module . '/tmpl/' . $defaultLayout . '.php';helper.php https://github.com/nikosdion/Akeeba-Example.git | PHP | 515 lines
1<?php 2/** 161 $module->module = preg_replace('/[^A-Z0-9_\.-]/i', '', $module->module); 162 $path = JPATH_BASE . '/modules/' . $module->module . '/' . $module->module . '.php'; 163 177 $module->content = ob_get_contents() . $content; 178 ob_end_clean(); 179 } 186 187 include_once JPATH_THEMES . '/system/html/modules.php'; 188 $chromePath = JPATH_THEMES . '/' . $app->getTemplate() . '/html/modules.php'; 223 $module->content = ob_get_contents(); 224 ob_end_clean(); 225 } 263 // Build the template and base path for the layout 264 $tPath = JPATH_THEMES . '/' . $template . '/html/' . $module . '/' . $layout . '.php'; 265 $bPath = JPATH_BASE . '/modules/' . $module . '/tmpl/' . $defaultLayout . '.php';ui.class.php https://gitlab.com/x33n/ampache | PHP | 355 lines
1<?php 2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */ 44 // Clear any buffered crap 45 ob_end_clean(); 46 header("HTTP/1.1 403 $error"); 46 header("HTTP/1.1 403 $error"); 47 require_once AmpConfig::get('prefix') . '/templates/show_denied.inc.php'; 48 exit; 61 $output = ob_get_contents(); 62 ob_end_clean(); 63 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'])) {header.php https://gitlab.com/giumbai/fluxbb | PHP | 326 lines
55 56 if (!in_array($file_info['extension'], array('php', 'php4', 'php5', 'inc', 'html', 'txt'))) // Allow some extensions 57 error(sprintf($lang_common['Pun include extension'], pun_htmlspecialchars($cur_include[0]), basename($tpl_file), pun_htmlspecialchars($file_info['extension']))); 97?> 98<title><?php echo generate_page_title($page_title, $p) ?></title> 99<link rel="stylesheet" type="text/css" href="style/<?php echo $pun_user['style'].'.css' ?>" /> 169// START SUBST - <pun_page> 170$tpl_main = str_replace('<pun_page>', htmlspecialchars(basename($_SERVER['PHP_SELF'], '.php')), $tpl_main); 171// END SUBST - <pun_page> 196if ($pun_user['g_read_board'] == '1' && $pun_user['g_search'] == '1') 197 $links[] = '<li id="navsearch"'.((PUN_ACTIVE_PAGE == 'search') ? ' class="isactive"' : '').'><a href="search.php">'.$lang_common['Search'].'</a></li>'; 198 200{ 201 $links[] = '<li id="navregister"'.((PUN_ACTIVE_PAGE == 'register') ? ' class="isactive"' : '').'><a href="register.php">'.$lang_common['Register'].'</a></li>'; 202 $links[] = '<li id="navlogin"'.((PUN_ACTIVE_PAGE == 'login') ? ' class="isactive"' : '').'><a href="login.php">'.$lang_common['Login'].'</a></li>';widgets.php https://github.com/Mercedes/ratonesytortillas.git | PHP | 282 lines
103 104 <a class="widget-action widget-control-add" href="<?php echo $add_url; ?>"><?php _e( 'Add' ); ?></a> 105 226 227 <a class="widget-action widget-control-edit" href="<?php echo remove_query_arg( array( 'edit', 'key' ) ); ?>"><?php _e('Cancel'); ?></a> 228 230 231 <a class="widget-action widget-control-edit" href="<?php echo clean_url( add_query_arg( array( 'edit' => $id_format, 'key' => $key ) ) ); ?>"><?php _e('Edit'); ?></a> 232 252 253 <a class="widget-action widget-control-save wp-no-js-hidden edit alignleft" href="#save:<?php echo $id_format; ?>"><?php _e('Change'); ?></a> 254 256 257 <a class="widget-action widget-control-remove delete alignright" href="<?php echo clean_url( wp_nonce_url( add_query_arg( array( 'remove' => $id_format, 'key' => $key ) ), "remove-widget_$widget[id]" ) ); ?>"><?php _e('Remove'); ?></a> 258 <br class="clear" />vitals.inc.php https://github.com/atutor/AChecker.git | PHP | 319 lines
18 19// Emulate register_globals off. src: http://php.net/manual/en/faq.misc.php#faq.misc.registerglobals 20function unregister_GLOBALS() { 52error_reporting(0); 53include_once(AC_INCLUDE_PATH.'config.inc.php'); 54error_reporting(AC_ERROR_REPORTING); 107 108require(AC_INCLUDE_PATH.'phpCache/phpCache.inc.php'); // cache library 109require(AC_INCLUDE_PATH.'classes/DAO/ThemesDAO.class.php'); 119 120// define as constants. more constants are defined in include/constants.inc.php 121define('EMAIL', $_config['contact_email']); 126 // set current language 127 require(AC_INCLUDE_PATH . 'classes/Language/LanguageManager.class.php'); 128 $languageManager = new LanguageManager();class-ms-rule-content-model.php https://gitlab.com/najomie/fit-hippie | PHP | 403 lines
1<?php 2/** 236 public function hide_form_end() { 237 ob_end_clean(); 238 }pearcmd.php https://github.com/ianbogda/FileZ.git | PHP | 445 lines
20if (!defined('PEAR_RUNTYPE')) { 21 // this is defined in peclcmd.php as 'pecl' 22 define('PEAR_RUNTYPE', 'pear'); 59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) { 60 echo 'ERROR: either use the CLI php executable, or set register_argc_argv=On in php.ini'; 61 exit(1); 132// this is used in the error handler to retrieve a relative path 133$_PEAR_PHPDIR = $config->get('php_dir'); 134$ui->setConfig($config); 166 ); 167 $config->set('php_dir', $pearbase . DIRECTORY_SEPARATOR . 'php'); 168 $config->set('data_dir', $pearbase . DIRECTORY_SEPARATOR . 'data'); 377 return "PEAR Version: ".$GLOBALS['pear_package_version']. 378 "\nPHP Version: ".phpversion(). 379 "\nZend Engine Version: ".zend_version().media.php https://gitlab.com/ppapadatis/Videolearn | PHP | 309 lines
15{ 16 require_once( JPATH_BASE.'/components/com_community/libraries/core.php'); 17} 42 43 JLoader::register('hwdMediaShareFactory', JPATH_ROOT.'/components/com_hwdmediashare/libraries/factory.php'); 44 JLoader::register('hwdMediaShareHelperRoute', JPATH_ROOT.'/components/com_hwdmediashare/helpers/route.php'); 137 ob_start(); 138 require 'assets/tmpl/default.php'; 139 $html = ob_get_contents(); 211 JLoader::register('hwdMediaShareFactory', JPATH_ROOT.'/components/com_hwdmediashare/libraries/factory.php'); 212 JLoader::register('hwdMediaShareHelperRoute', JPATH_ROOT.'/components/com_hwdmediashare/helpers/route.php'); 213 237 <div class="media-item-format-1-<?php echo $item->media_type; ?>"> 238 <img src="<?php echo JHtml::_('hwdicon.overlay', '1-'.$item->media_type, $item); ?>" alt="<?php echo JText::_('COM_HWDMS_MEDIA_TYPE'); ?>" /> 239 </div>class.Report.php https://github.com/axxtel/agilebill.git | PHP | 681 lines
1<?php 2 136 $content = ob_get_contents(); 137 ob_end_clean(); 138 $this->output = $this->output_path."/report.html"; 232 $content = ob_get_contents(); 233 ob_end_clean(); 234 $this->output = $this->output_path."/report.txt"; 353 { 354 require_once(PATH_INCLUDES.'pdf/fpdi.php'); 355 require_once(PATH_INCLUDES.'pdf/fpdf_tpl.php'); 355 require_once(PATH_INCLUDES.'pdf/fpdf_tpl.php'); 356 require_once(PATH_INCLUDES.'pdf/fpdf.php'); 357 479 480require_once PATH_MODULES.'report/class.Level.php'; 481class Report_DivAdaptor extends Level_Base {eclipse.php https://github.com/kpike/moodle.git | PHP | 307 lines
1<?php 2/** 10 */ 11include_once 'unit_tester.php'; 12include_once 'test_case.php'; 12include_once 'test_case.php'; 13include_once 'invoker.php'; 14include_once 'socket.php'; 14include_once 'socket.php'; 15include_once 'mock_objects.php'; 16/**#@-*/ 299 $output = ob_get_contents(); 300 ob_end_clean(); 301 if ($output !== ""){Debug.php https://bitbucket.org/alessandro-aglietti/itis-leonardo-da-vinci.git | PHP | 142 lines
1<?php 2/* 64 $dump = ob_get_contents(); 65 ob_end_clean(); 66class-wp-image-editor.php https://gitlab.com/Gashler/dp | PHP | 403 lines
1<?php 2/** 351 if ( $stream ) { 352 ob_end_clean(); 353 }%%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']; ?>unicode.php https://github.com/rietn/minima.git | PHP | 269 lines
1<?php 2/** 2/** 3* @version $Id: unicode.php 16235 2010-04-20 04:13:25Z pasamio $ 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 utf8lighthouse.php https://github.com/codebase/MoPCMS2.0.git | PHP | 219 lines
48 $result = curl_exec( $curl ); 49 ob_end_clean(); 50 curl_close($curl); 86 * xml2array() will convert the given XML text to an array in the XML structure. 87 * Link: http://www.bin-co.com/php/scripts/xml2array/ 88 * Arguments : $contents - The XML text 103 104 //Get the XML parser of PHP - PHP must have this module for the parser to work 105 $parser = xml_parser_create(''); 105 $parser = xml_parser_create(''); 106 xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, "UTF-8"); # http://minutillo.com/steve/weblog/2004/6/17/php-xml-and-character-encodings-a-tale-of-sadness-rage-and-data-loss 107 xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);CBaseController.php https://gitlab.com/zenfork/vektor | PHP | 310 lines
1<?php 2/** 107 * Renders a view file. 108 * This method includes the view file as a PHP script 109 * and captures the display result if required. 172 { 173 ob_end_clean(); 174 throw $e;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'; 410shell.test.php https://github.com/jasoneh/SMS-Can-.git | PHP | 498 lines
10 * 11 * CakePHP : Rapid Development Framework (http://www.cakephp.org) 12 * Copyright 2006-2008, Cake Software Foundation, Inc. 18 * @copyright Copyright 2006-2008, Cake Software Foundation, Inc. 19 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project 20 * @package cake 21 * @subpackage cake.tests.cases.console.libs 22 * @since CakePHP v 1.2.0.7726 23 * @version $Revision$ 366 367 $path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php'; 368 $this->assertEqual($this->Shell->shortPath($path), $expected); 405 $path = TMP . 'shell_test'; 406 $file = $path . DS . 'file1.php'; 407selectmultiple.test.php https://github.com/limb-php-framework/limb-app-buildman.git | PHP | 248 lines
1<?php 2/** 8 * @license LGPL http://www.gnu.org/copyleft/lesser.html 9 * @version $Id: selectmultiple.test.php 5021 2007-02-12 13:04:07Z pachanga $ 10 * @package wact 12 13require_once 'limb/wact/src/components/form/form.inc.php'; 14 63 $out = ob_get_contents(); 64 ob_end_clean(); 65 97 $out = ob_get_contents(); 98 ob_end_clean(); 99 104 * This test is included to "simulate" a selection received via POST - remember 105 * PHP will convert integers to strings so strict type checking in the select components 106 * for selected values will failVarCloner.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 300 lines
1<?php 2 143 case 'object': 144 if (empty($objRefs[$h = $zval['object_handle'] ?: ($hashMask ^ hexdec(substr(spl_object_hash($v), $hashOffset, PHP_INT_SIZE)))])) { 145 $stub = new Stub(); 159 } else { 160 $h = $hashMask ^ hexdec(substr(spl_object_hash($stub->value), $hashOffset, PHP_INT_SIZE)); 161 } 276 $obj = (object) array(); 277 self::$hashOffset = 16 - PHP_INT_SIZE; 278 self::$hashMask = -1; 283 // check if we are nested in an output buffering handler to prevent a fatal error with ob_start() below 284 $obFuncs = array('ob_clean', 'ob_end_clean', 'ob_flush', 'ob_end_flush', 'ob_get_contents', 'ob_get_flush'); 285 foreach (debug_backtrace(PHP_VERSION_ID >= 50400 ? DEBUG_BACKTRACE_IGNORE_ARGS : false) as $frame) { 297 298 self::$hashMask ^= hexdec(substr(spl_object_hash($obj), self::$hashOffset, PHP_INT_SIZE)); 299 }dumper.php https://bitbucket.org/laborautonomo/laborautonomo-site.git | PHP | 359 lines
1<?php 2/** 5 * @subpackage UnitTester 6 * @version $Id: dumper.php 1782 2008-04-25 17:09:06Z pp11 $ 7 */ 354 $formatted = ob_get_contents(); 355 ob_end_clean(); 356 return $formatted;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 }*/ 108 $content = ob_get_contents(); 109 ob_end_clean(); 110 return $content; 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";block_view.php https://bitbucket.org/selfeky/xclusivescardwebsite.git | PHP | 331 lines
1<?php 2defined('C5_EXECUTE') or die("Access Denied."); 30 * <code> 31 * <a href="<?php echo $this->action('get_results')?>">Get the results</a> 32 * </code> 53 /** 54 * includes file from the current block directory. Similar to php's include() 55 * @access public 219 if ($this->controller->getRenderOverride() != '') { 220 $_filename = $this->controller->getRenderOverride() . '.php'; 221 } 231 // then we're trying to render a custom view file, which we'll pass to the bottom functions as $_filename 232 $_filename = $view . '.php'; 233 $view = 'view'; 237 case 'scrapbook': 238 $header = DIR_FILES_ELEMENTS_CORE . '/block_header_view.php'; 239 $footer = DIR_FILES_ELEMENTS_CORE . '/block_footer_view.php';crmgroupstep.php https://gitlab.com/alexprowars/bitrix | PHP | 429 lines
1<?php 2namespace Bitrix\Sale\CrmSiteMaster\Steps; 117 $content = ob_get_contents(); 118 ob_end_clean(); 119 264 $content = ob_get_contents(); 265 ob_end_clean(); 266 300 $content = ob_get_contents(); 301 ob_end_clean(); 302 354 $content = ob_get_contents(); 355 ob_end_clean(); 356 400 \CCrmSaleHelper::addUserToShopGroup(); 401 $cache = new \CPHPCache; 402 $cache->CleanDir("/crm/list_crm_roles/");schema.test.php https://github.com/cgajardo/repositorium.git | PHP | 503 lines
6 * 7 * CakePHP : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2006-2010, Cake Software Foundation, Inc. 13 * @copyright Copyright 2006-2010, Cake Software Foundation, Inc. 14 * @link http://cakephp.org CakePHP Project 15 * @package cake 16 * @subpackage cake.tests.cases.console.libs.Shells 17 * @since CakePHP v 1.3 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 180 $this->assertEqual(strtolower($this->Shell->Schema->name), strtolower(APP_DIR)); 181 $this->assertEqual($this->Shell->Schema->file, 'other_file.php'); 182 $this->assertEqual($this->Shell->Schema->connection, 'test_suite'); 194 $this->Shell->Schema->path = APP . 'config' . DS . 'schema'; 195 $this->Shell->params['file'] = 'i18n.php'; 196 $this->Shell->expectOnce('_stop');fixture.test.php https://github.com/cgajardo/repositorium.git | PHP | 373 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package cake 16 * @subpackage cake.tests.cases.console.libs.tasks 17 * @since CakePHP(tm) v 1.3 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 179 $this->Task->args = array('article'); 180 $filename = '/my/path/article_fixture.php'; 181 $this->Task->expectAt(0, 'createFile', array($filename, new PatternExpectation('/class ArticleFixture/'))); 205 $this->Task->args = array('Articles'); 206 $filename = '/my/path/article_fixture.php'; 207 $this->Task->expectAt(2, 'createFile', array($filename, new PatternExpectation('/class ArticleFixture/')));header.php https://gitlab.com/gregtyka/lfmawordpress | PHP | 282 lines
70 <?php if ( '' !== ( $et_email = et_get_option( 'header_email' ) ) ) : ?> 71 <a href="<?php echo esc_attr( 'mailto:' . $et_email ); ?>"><span id="et-info-email"><?php echo esc_html( $et_email ); ?></span></a> 72 <?php endif; ?> 187 <?php if ( 'on' == et_get_option( 'divi_home_link' ) ) { ?> 188 <li <?php if ( is_home() ) echo( 'class="current_page_item"' ); ?>><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e( 'Home', 'Divi' ); ?></a></li> 189 <?php }; ?> 213 <a href="<?php echo esc_url( home_url( '/' ) ); ?>"> 214 <img src="<?php echo esc_attr( $logo ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" id="logo" data-height-percentage="<?php echo esc_attr( et_get_option( 'logo_height', '54' ) ); ?>" /> 215 </a> 216 </div> 217 <div id="et-top-navigation" data-height="<?php echo esc_attr( et_get_option( 'menu_height', '66' ) ); ?>" data-fixed-height="<?php echo esc_attr( et_get_option( 'minimized_menu_height', '40' ) ); ?>"> 218 <?php if ( ! $et_slide_header || is_customize_preview() ) : ?> 230 <?php if ( 'on' == et_get_option( 'divi_home_link' ) ) { ?> 231 <li <?php if ( is_home() ) echo( 'class="current_page_item"' ); ?>><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e( 'Home', 'Divi' ); ?></a></li> 232 <?php }; ?>MetadataInfo.php https://gitlab.com/nitm/yii2-widgets | PHP | 320 lines
1<?php 2/** 125 $item = ob_get_contents(); 126 ob_end_clean(); 127 $ret_val .= $item; 157 $item = ob_get_contents(); 158 ob_end_clean(); 159 $ret_val .= $item; 187 $item = ob_get_contents(); 188 ob_end_clean(); 189 $ret_val .= $item;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 44$shell['script'] = ob_get_contents(); 45ob_end_clean(); 46 58$shell['html_head_pre'] = ob_get_contents(); 59ob_end_clean(); 60 120$shell['html_head'] = ob_get_contents(); 121ob_end_clean(); 122 163$shell['html_body'] = ob_get_contents(); 164ob_end_clean(); 165AuthSub.php https://github.com/basdog22/Qool.git | PHP | 248 lines
1<?php 2 20 * @license http://framework.zend.com/license/new-bsd New BSD License 21 * @version $Id: AuthSub.php 24594 2012-01-05 21:27:01Z matthew $ 22 */ 26 */ 27require_once 'Zend/Gdata/HttpClient.php'; 28 31 */ 32require_once 'Zend/Version.php'; 33 120 } catch (Zend_Http_Client_Exception $e) { 121 require_once 'Zend/Gdata/App/HttpException.php'; 122 throw new Zend_Gdata_App_HttpException($e->getMessage(), $e); 136 } else { 137 require_once 'Zend/Gdata/App/AuthException.php'; 138 throw new Zend_Gdata_App_AuthException(indexer.php https://github.com/caillou/dokuwiki-jQuery.git | PHP | 449 lines
1<?php 2/** 9define('DOKU_DISABLE_GZIP_OUTPUT',1); 10require_once(DOKU_INC.'inc/init.php'); 11session_write_close(); //close session 44 45if(!isset($_REQUEST['debug'])) ob_end_clean(); 46exit; 281 $data = ob_get_contents(); 282 ob_end_clean(); 283 414 * @author <ungu at terong dot com> 415 * @link http://www.php.net/manual/en/function.date.php#54072 416 */ 448// No trailing PHP closing tag - no output please! 449// See Note at http://www.php.net/manual/en/language.basic-syntax.instruction-separation.php 450ThemeTest.php https://gitlab.com/luyxtran264/myproject | PHP | 420 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin-test 7 */ 9 10require_once 'libraries/url_generating.lib.php'; 11require_once 'test/PMATestCase.php'; 15 * 16 * @package PhpMyAdmin-test 17 */ 37 $GLOBALS['text_dir'] = 'ltr'; 38 include 'themes/pmahomme/layout.inc.php'; 39 $GLOBALS['server'] = '99'; 99 $this->object->setPath('./themes/original'); 100 $infofile = $this->object->getPath() . '/info.inc.php'; 101 $this->assertTrue($this->object->loadInfo());unicode.php https://github.com/Shigaru/shigaru.git | PHP | 269 lines
1<?php 2/** 2/** 3* @version $Id: unicode.php 10381 2008-06-01 03:35:53Z pasamio $ 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 utf8pb.php https://github.com/philipp-kempgen/amooma-gemeinschaft-pbx.git | PHP | 474 lines
1<?php 2/*******************************************************************\ 31define("GS_VALID", true); // this is a parent file 32require_once(dirname(__FILE__) ."/../../../inc/conf.php"); 33include_once(GS_DIR ."inc/db_connect.php"); 33include_once(GS_DIR ."inc/db_connect.php"); 34include_once(GS_DIR ."inc/gettext.php"); 35include_once(GS_DIR ."inc/group-fns.php"); 60{ 61 @ob_end_clean(); 62 ob_start(); 125 126$url_polycom_pb = GS_PROV_SCHEME ."://". GS_PROV_HOST . (GS_PROV_PORT ? ":". GS_PROV_PORT : "") . GS_PROV_PATH ."polycom/pb.php"; 127Core.php https://github.com/tsnoad/Irondata.git | PHP | 291 lines
1<?php 2 3/** 4 * Core.php 5 * 120 /** 121 * This iterates through all the available options from the reports (index.php) 122 * page. If an option is not in this this or the user doesn't have permission to 136 if (!$_GET) { 137 include("help.php"); 138 $main = $help; 143 $_SESSION['unpublished'] = true; 144 include("help.php"); 145 $main = $help; 151 $_SESSION['unpublished'] = false; 152 include("help.php"); 153 $main = $help;theme.php https://github.com/terry69/fluxflex_wordpress.git | PHP | 405 lines
1<?php 2/** 56 if ( empty( $redirect ) ) 57 $redirect = wp_nonce_url('themes.php?action=delete&template=' . $template, 'delete-theme_' . $template); 58 if ( false === ($credentials = request_filesystem_credentials($redirect)) ) { 59 $data = ob_get_contents(); 60 ob_end_clean(); 61 if ( ! empty($data) ){ 61 if ( ! empty($data) ){ 62 include_once( ABSPATH . 'wp-admin/admin-header.php'); 63 echo $data; 63 echo $data; 64 include( ABSPATH . 'wp-admin/admin-footer.php'); 65 exit; 72 $data = ob_get_contents(); 73 ob_end_clean(); 74 if ( ! empty($data) ) {schema.test.php https://github.com/cpfarher/pruebascake.git | PHP | 503 lines
6 * 7 * CakePHP : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2011, Cake Software Foundation, Inc. 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. 14 * @link http://cakephp.org CakePHP Project 15 * @package cake 16 * @subpackage cake.tests.cases.console.libs.Shells 17 * @since CakePHP v 1.3 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 180 $this->assertEqual(strtolower($this->Shell->Schema->name), strtolower(APP_DIR)); 181 $this->assertEqual($this->Shell->Schema->file, 'other_file.php'); 182 $this->assertEqual($this->Shell->Schema->connection, 'test_suite'); 194 $this->Shell->Schema->path = APP . 'config' . DS . 'schema'; 195 $this->Shell->params['file'] = 'i18n.php'; 196 $this->Shell->expectOnce('_stop');db_structure.php https://github.com/drbowen/openemr.git | PHP | 335 lines
15 */ 16require_once 'libraries/structure.lib.php'; 17 46 ) { 47 $action = 'db_structure.php'; 48 $err_url = 'db_structure.php?'. PMA_generate_common_url($db); 50 // see bug #2794840; in this case, code path is: 51 // db_structure.php -> libraries/mult_submits.inc.php -> sql.php 52 // -> db_structure.php and if we got an error on the multi submit, 65 $sub_part = '_structure'; 66 include 'libraries/db_info.inc.php'; 67 309 PMA_Util::getListNavigator( 310 $total_num_tables, $pos, $_url_params, 'db_structure.php', 311 'frame_content', $GLOBALS['cfg']['MaxTableList']comments.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 484 lines
2 3require dirname( __FILE__ ) . '/base.php'; 4 217 <div id="cancel-comment-reply-link" style="display:none; float:right;"><a href="#"><?php echo esc_html( __( 'Cancel Reply', 'jetpack' ) ); ?></a></div> 218 <iframe src="<?php echo esc_url( $url ); ?>" allowtransparency="<?php echo $transparent; ?>" style="width:100%; height: <?php echo $height; ?>px;border:0px;" frameBorder="0" scrolling="no" name="jetpack_remote_comment" id="jetpack_remote_comment"></iframe> 219 </div> 220 221 <?php // Below is required for comment reply JS to work ?> 222 299 300 <?php endif; ?> 301 464try { 465 window.parent.location = <?php echo json_encode( $url ); ?>; 466 window.parent.location.reload();CErrorHandler.php https://github.com/pittwt/myjackshop.git | PHP | 447 lines
1<?php 2/** 13/** 14 * CErrorHandler handles uncaught PHP errors and exceptions. 15 * 21 * <ul> 22 * <li>development views, named as <code>exception.php</code>; 23 * <li>production views, named as <code>error<StatusCode>.php</code>; 24 * </ul> 25 * where <StatusCode> stands for the HTTP error code (e.g. error500.php). 26 * Localized views are named similarly but located under a subdirectory 26 * Localized views are named similarly but located under a subdirectory 27 * whose name is the language code (e.g. zh_cn/error500.php). 28 * 50 * @author Qiang Xue <qiang.xue@gmail.com> 51 * @version $Id: CErrorHandler.php 3008 2011-02-26 19:54:10Z alexander.makarow $ 52 * @package system.basehelper.php https://github.com/andynagai/joomla-platform.git | PHP | 463 lines
1<?php 2/** 155 $module->module = preg_replace('/[^A-Z0-9_\.-]/i', '', $module->module); 156 $path = JPATH_BASE.'/modules/'.$module->module.'/'.$module->module.'.php'; 157 170 $module->content = ob_get_contents().$content; 171 ob_end_clean(); 172 } 178 179 require_once JPATH_THEMES.'/system/html/modules.php'; 180 $chromePath = JPATH_THEMES.'/'.$app->getTemplate().'/html/modules.php'; 210 $module->content = ob_get_contents(); 211 ob_end_clean(); 212 } 249 // Build the template and base path for the layout 250 $tPath = JPATH_THEMES.'/'.$template.'/html/'.$module.'/'.$layout.'.php'; 251 $bPath = JPATH_BASE.'/modules/'.$module.'/tmpl/'.$defaultLayout.'.php';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 97 $str = ob_get_contents(); 98 ob_end_clean(); 99 119 function displayScript() { 120 require_once("modules/Reports/Report.php"); 121Config.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 { 109 ob_start(); 110 /** @noinspection PhpIncludeInspection */ 111 $configArray = include($configFilePath); 113 // Hide console output 114 ob_end_clean(); 115fixture.test.php https://github.com/vidor/myworks.git | PHP | 373 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package cake 16 * @subpackage cake.tests.cases.console.libs.tasks 17 * @since CakePHP(tm) v 1.3 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 179 $this->Task->args = array('article'); 180 $filename = '/my/path/article_fixture.php'; 181 $this->Task->expectAt(0, 'createFile', array($filename, new PatternExpectation('/class ArticleFixture/'))); 205 $this->Task->args = array('Articles'); 206 $filename = '/my/path/article_fixture.php'; 207 $this->Task->expectAt(2, 'createFile', array($filename, new PatternExpectation('/class ArticleFixture/')));ErrorProcessorTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 339 lines
1<?php 2/** 16 17class ErrorProcessorTest extends \PHPUnit_Framework_TestCase 18{ 24 25 /** @var \PHPUnit_Framework_MockObject_MockObject */ 26 protected $_appStateMock; 88 $actualResult = ob_get_contents(); 89 ob_end_clean(); 90 $expectedResult = '{"messages":{"error":[{"code":500,"message":"Message"}]}}'; 126 $actualResult = ob_get_contents(); 127 ob_end_clean(); 128 $expectedResult = '{"messages":{"error":[{"code":401,"message":"Message","trace":"Message trace."}]}}'; 143 $actualResult = ob_get_contents(); 144 ob_end_clean(); 145 $expectedResult = '<?xml version="1.0"?><error><messages><error><data_item><code>500</code>' .sync_members_test.php https://github.com/mackensen/moodle.git | PHP | 400 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 118 $members = $this->task->do_context_membership_request($this->context); 119 ob_end_clean(); 120 $this->assertFalse($members); 183 $members = $this->task->fetch_members_from_consumer($this->consumer); 184 ob_end_clean(); 185 $this->assertFalse($members); 237 $this->assertEquals(3, $task->sync_profile_images()); 238 ob_end_clean(); 239 }CErrorHandler.php https://github.com/sassman/django-benchmark.git | PHP | 339 lines
1<?php 2/** 13/** 14 * CErrorHandler handles uncaught PHP errors and exceptions. 15 * 21 * <ul> 22 * <li>development views, named as <code>exception.php</code>; 23 * <li>production views, named as <code>error<StatusCode>.php</code>; 24 * </ul> 25 * where <StatusCode> stands for the HTTP error code (e.g. error500.php). 26 * Localized views are named similarly but located under a subdirectory 26 * Localized views are named similarly but located under a subdirectory 27 * whose name is the language code (e.g. zh_cn/error500.php). 28 * 50 * @author Qiang Xue <qiang.xue@gmail.com> 51 * @version $Id: CErrorHandler.php 2426 2010-09-05 12:51:26Z qiang.xue $ 52 * @package system.basebad.php https://github.com/rietn/minima.git | PHP | 421 lines
1<?php 2/** 2/** 3* @version $Id: bad.php 16235 2010-04-20 04:13:25Z pasamio $ 4* Tools for locating / replacing bad bytes in UTF-8 strings 9* the Initial Developer. All Rights Reserved. 10* Ported to PHP by Henri Sivonen (http://hsivonen.iki.fi) 11* Slight modifications to fit with phputf8 library by Harry Fuecks (hfuecks gmail com) 13* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp 14* @see http://hsivonen.iki.fi/php-utf8/ 15* @package utf8 127 $result = ob_get_contents(); 128 ob_end_clean(); 129 return $result; 166 $result = ob_get_contents(); 167 ob_end_clean(); 168 return $result;ModuleGraph.php https://bitbucket.org/enurkov/prestashop.git | PHP | 334 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 22* @copyright 2007-2012 PrestaShop SA 23* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24* International Registered Trademark & Property of PrestaShop SA 170 171 // @todo use native CSV PHP functions ? 172 // Generate first line (column titles) 224 { 225 ob_end_clean(); 226 header('Content-Type: application/octet-stream'); 235 die(Tools::displayError()); 236 if (!Tools::file_exists_cache($file = _PS_ROOT_DIR_.'/modules/'.$render.'/'.$render.'.php')) 237 die(Tools::displayError());file.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 441 lines
1<?php 2/** 98 $layoutOutput = ob_get_contents(); 99 ob_end_clean(); 100 } 126 127 // Search for suffixed versions. Example: tags.j31.php 128 if (!empty($suffixes)) 133 { 134 $rawPath = str_replace('.', '/', $this->layoutId) . '.' . $suffix . '.php'; 135 $this->addDebugMessage('<strong>Searching layout for:</strong> ' . $rawPath); 146 // Standard version 147 $rawPath = str_replace('.', '/', $this->layoutId) . '.php'; 148 $this->addDebugMessage('<strong>Searching layout for:</strong> ' . $rawPath);view.php https://github.com/joshuarubin/fuel_core.git | PHP | 423 lines
1<?php 2/** 2/** 3 * Fuel is a fast, lightweight, community driven PHP5 framework. 4 * 9 * @copyright 2010 - 2011 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 18 * 19 * Acts as an object wrapper for HTML pages with embedded PHP, called "views". 20 * Variables can be assigned with the view object and referenced locally within 31 * @license http://kohanaframework.org/license 32 * @link http://fuelphp.com/docs/classes/view.html 33 */ 51 // File extension used for views 52 protected $extension = 'php'; 53bad.php https://github.com/karpenoktem/punbb.git | PHP | 421 lines
1<?php 2/** 2/** 3* @version $Id: bad.php,v 1.2 2006/02/26 13:20:44 harryf Exp $ 4* Tools for locating / replacing bad bytes in UTF-8 strings 9* the Initial Developer. All Rights Reserved. 10* Ported to PHP by Henri Sivonen (http://hsivonen.iki.fi) 11* Slight modifications to fit with phputf8 library by Harry Fuecks (hfuecks gmail com) 13* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp 14* @see http://hsivonen.iki.fi/php-utf8/ 15* @package utf8 127 $result = ob_get_contents(); 128 ob_end_clean(); 129 return $result; 166 $result = ob_get_contents(); 167 ob_end_clean(); 168 return $result;TestOfExportController.php https://github.com/suth/ThinkUp.git | PHP | 197 lines
1<?php 2/** 3 * 4 * ThinkUp/tests/TestOfExportController.php 5 * 29 */ 30require_once dirname(__FILE__).'/init.tests.php'; 31require_once THINKUP_WEBAPP_PATH.'_lib/extlib/simpletest/autorun.php'; 31require_once THINKUP_WEBAPP_PATH.'_lib/extlib/simpletest/autorun.php'; 32require_once THINKUP_WEBAPP_PATH.'config.inc.php'; 33 49 $this->assertEqual('You must <a href="'.$config->getValue('site_root_path'). 50 'session/login.php">log in</a> to do this.', $v_mgr->getTemplateDataItem('error_msg')); 51 } 97 $results = ob_get_contents(); 98 ob_end_clean(); 99 $this->assertPattern("/My first post/", $results);css.php https://github.com/godber/PHXdata-Website.git | PHP | 333 lines
1<?php 2/** 11if(!defined('DOKU_DISABLE_GZIP_OUTPUT')) define('DOKU_DISABLE_GZIP_OUTPUT',1); // we gzip ourself here 12require_once(DOKU_INC.'inc/init.php'); 13 120 $css = ob_get_contents(); 121 ob_end_clean(); 122helper-functions.php https://gitlab.com/websumon/tosnib | PHP | 308 lines
1<?php 2/** 31 32 include_once( cmb2_dir( "includes/{$class_name}.php" ) ); 33} 225 $form = ob_get_contents(); 226 ob_end_clean(); 227unicode.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 utf8helper-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} 225 $form = ob_get_contents(); 226 ob_end_clean(); 227 312 /** 313 * Reimplementation of DateTime::createFromFormat for PHP < 5.3. :( 314 * Borrowed from http://stackoverflow.com/questions/5399075/php-datetimecreatefromformat-in-5-2gallery.php https://github.com/ECP-Black/ECP.git | PHP | 276 lines
1<?php 2function admin_gallery () { 18 $content = ob_get_contents(); 19 ob_end_clean(); 20 $tpl->assign('kate', $content); 31 $content = ob_get_contents(); 32 ob_end_clean(); 33 $tpl->assign('gallery', $content); 36 $content = ob_get_contents(); 37 ob_end_clean(); 38 main_content(GALLERY, $content, '',1); 42 $db->setMode(0); 43 ob_end_clean(); 44 if(!isset($_SESSION['rights']['admin']['gallery']['del']) AND !isset($_SESSION['rights']['superadmin'])) { 55 $db->setMode(0); 56 ob_end_clean(); 57 ajax_convert_array($_POST);tiki-export_tracker.php https://gitlab.com/ElvisAns/tiki | PHP | 301 lines
1<?php 2 14 15require_once('tiki-setup.php'); 16$access->check_feature('feature_trackers'); 175 if ($prefs['feature_obzip'] != 'y') { 176 ob_end_clean(); 177 }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 } 93 data_import_csv($cm, $data, $filecontent, 'UTF-8', 'comma'); 94 ob_end_clean(); 95fetch.php https://github.com/mchurchward/moodle.git | PHP | 283 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 262 $tablehtml = ob_get_contents(); 263 ob_end_clean(); 264schema.test.php https://bitbucket.org/webpolis/liiv.git | PHP | 353 lines
1<?php 2/** 6 * 7 * CakePHP : Rapid Development Framework (http://www.cakephp.org) 8 * Copyright 2006-2009, Cake Software Foundation, Inc. 14 * @copyright Copyright 2006-2009, Cake Software Foundation, Inc. 15 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project 16 * @package cake 18 * @since CakePHP v 1.3 19 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 20 */ 171 $this->assertEqual(strtolower($this->Shell->Schema->name), APP_DIR); 172 $this->assertEqual($this->Shell->Schema->file, 'other_file.php'); 173 $this->assertEqual($this->Shell->Schema->connection, 'test_suite'); 280 $this->Shell->generate(); 281 unlink(TMP . 'schema.php'); 282 }schema.test.php https://bitbucket.org/unsl/listop.git | PHP | 353 lines
1<?php 2/** 6 * 7 * CakePHP : Rapid Development Framework (http://www.cakephp.org) 8 * Copyright 2006-2010, Cake Software Foundation, Inc. 14 * @copyright Copyright 2006-2010, Cake Software Foundation, Inc. 15 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project 16 * @package cake 18 * @since CakePHP v 1.3 19 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 20 */ 171 $this->assertEqual(strtolower($this->Shell->Schema->name), APP_DIR); 172 $this->assertEqual($this->Shell->Schema->file, 'other_file.php'); 173 $this->assertEqual($this->Shell->Schema->connection, 'test_suite'); 280 $this->Shell->generate(); 281 unlink(TMP . 'schema.php'); 282 }view.php https://bitbucket.org/codeyash/bootstrap.git | PHP | 579 lines
1<?php 2/** 9 * @copyright 2010 - 2013 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 18 * 19 * Acts as an object wrapper for HTML pages with embedded PHP, called "views". 20 * Variables can be assigned with the view object and referenced locally within 24 * @category Core 25 * @link http://docs.fuelphp.com/classes/view.html 26 */ 67 */ 68 protected $extension = 'php'; 69 173 * 174 * [!!] `null` variables are not considered to be set by [isset](http://php.net/isset). 175 *pma_gis_visualization.php https://bitbucket.org/pavolve/masterskayaludmila.git | PHP | 464 lines
1<?php 2/** 4 * 5 * @package PhpMyAdmin-GIS 6 */ 225 $output = ob_get_contents(); 226 ob_end_clean(); 227 297 298 include_once './libraries/tcpdf/tcpdf.php'; 299widgets.php https://github.com/schr/wordpress.git | PHP | 341 lines
125 126 <a class="widget-action widget-control-add" href="<?php echo $add_url; ?>"><?php _e( 'Add' ); ?></a> 127 280 281 <a class="widget-action widget-control-edit" href="<?php echo clean_url( remove_query_arg( array( 'edit', 'key' ) ) ); ?>"><?php _e('Cancel'); ?></a> 282 284 285 <a class="widget-action widget-control-edit" href="<?php echo clean_url( add_query_arg( array( 'edit' => $id_format, 'key' => $key ) ) ); ?>"><?php _e('Edit'); ?></a> 286 308 309 <a class="button widget-action widget-control-save hide-if-no-js edit alignleft" href="#save:<?php echo $id_format; ?>"><?php _e('Done'); ?></a> 310 312 313 <a class="button widget-action widget-control-remove alignright" href="<?php echo clean_url( wp_nonce_url( add_query_arg( array( 'remove' => $id_format, 'key' => $key ) ), "remove-widget_$widget[id]" ) ); ?>"><?php _e('Remove'); ?></a> 314 <br class="clear" />baseservicehandler.php https://gitlab.com/alexprowars/bitrix | PHP | 453 lines
1<?php 2namespace Bitrix\Sale\PaySystem; 94 $result->setTemplate($content); 95 ob_end_clean(); 96 } 131 { 132 $templatePath = $documentRoot.$folder.'/'.$template.'.php'; 133 192 $handlerDir = $dirs[$this->handlerType]; 193 $file = $documentRoot.$handlerDir.static::getName().'/.description.php'; 194 274 * 275 * ```php 276 * public function getClientType($psMode)url_helper.php https://github.com/holsinger/openfloor.git | PHP | 501 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 282var l=new Array(); 283<?php 284$i = 0; 284$i = 0; 285foreach ($x as $val){ ?>l[<?php echo $i++; ?>]='<?php echo $val; ?>';<?php } ?> 286 290//]]> 291</script><?php 292 293 $buffer = ob_get_contents(); 294 ob_end_clean(); 295 return $buffer;cake.test.php https://github.com/geeknbar/projet-tut-site-web.git | PHP | 500 lines
9 * 10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> 11 * Copyright 2005-2010, Cake Software Foundation, Inc. 16 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. 17 * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 18 * @package cake 19 * @subpackage cake.tests.cases.console 20 * @since CakePHP(tm) v 1.2.0.5432 21 * @version $Revision$ 185 $params = array( 186 'cake.php', 187 '-app', 241 $params = array( 242 './console/cake.php', 243 'bake',index.php https://github.com/cybernet/CyBerFuN-xBTiT.git | PHP | 94 lines
1<?php 2ob_start(); 11 <tr> 12 <td class=header align=center width="26"><?php echo $language["OPTION"] ?></td> 13 <td class=header align=center width="319"><?php echo $language["WHAT_ABOUT"] ?></td> 13 <td class=header align=center width="319"><?php echo $language["WHAT_ABOUT"] ?></td> 14 <td class=header align=center width="41"><?php echo $language["POINTS"] ?></td> 15 <td class=header align=center width="62"><?php echo $language["EXCHANGE"] ?> </td> 16 </tr> 17<?php 18 $uid=$CURUSER['uid']; 23 if($c<$row['points']) { $enb="disabled"; } 24 echo "<form action=seedbonus_exchange.php?id=".$row['id']." method=post><tr> 25 <td class=lista align=center><b>".$row['name']."</b></td> 32 ?> 33 <form action=seedbonus_exchange.php?id=vip method=post><tr> 34 <td class=lista align=center><b>4</b></td>Template.php https://github.com/clamz/chemin-du-son.git | PHP | 323 lines
1<?php 2 193 while (ob_get_level() && --$count) { 194 ob_end_clean(); 195 }CoreMacros.php https://bitbucket.org/iiic/iszp.git | PHP | 413 lines
74 $me->addMacro('l', '?>{<?php'); 75 $me->addMacro('r', '?>}<?php'); 76 110 */ 111 public function macroIf(MacroNode $node, PhpWriter $writer) 112 { 135 . ' else ' 136 . (isset($node->data->else) ? '{ $_else = ob_get_contents(); ob_end_clean(); ob_end_clean(); echo $_else; }' : 'ob_end_clean();') 137 ); 199 */ 200 public function macroUse(MacroNode $node, PhpWriter $writer) 201 { 211 */ 212 public function macroCapture(MacroNode $node, PhpWriter $writer) 213 {application.php https://github.com/rietn/minima.git | PHP | 366 lines
1<?php 2/** 2/** 3 * @version $Id: application.php 20478 2011-01-28 17:48:29Z infograf768 $ 4 * @package Joomla.Installation 75 // Import the controller. 76 require_once JPATH_COMPONENT.'/controller.php'; 77 84 $contents = ob_get_contents(); 85 ob_end_clean(); 86 88 'template' => 'template', 89 'file' => 'index.php', 90 'directory' => JPATH_THEMES,pb.php https://github.com/hehol/GemeinschaftPBX.git | PHP | 327 lines
1<?php 2/*******************************************************************\ 27define( 'GS_VALID', true ); /// this is a parent file 28require_once( dirName(__FILE__) .'/../../../inc/conf.php' ); 29include_once( GS_DIR .'inc/db_connect.php' ); 29include_once( GS_DIR .'inc/db_connect.php' ); 30include_once( GS_DIR .'inc/gettext.php' ); 31include_once( GS_DIR .'inc/string.php' ); 31include_once( GS_DIR .'inc/string.php' ); 32include_once( GS_DIR .'inc/group-fns.php' ); 33 56{ 57 @ob_end_clean(); 58 ob_start(); 127 128$url_tiptel_pb = GS_PROV_SCHEME .'://'. GS_PROV_HOST . (GS_PROV_PORT ? ':'.GS_PROV_PORT : '') . GS_PROV_PATH .'tiptel/pb.php'; 129widgets.php https://github.com/jao/jpcamargo.git | PHP | 395 lines
1<?php 2/** 9/** WordPress Administration Bootstrap */ 10require_once( 'admin.php' ); 11 12/** WordPress Administration Widgets API */ 13require_once(ABSPATH . 'wp-admin/includes/widgets.php'); 14 263 <div class="widget-position"> 264 <table class="widefat"><thead><tr><th><?php _e('Sidebar'); ?></th><th><?php _e('Position'); ?></th></tr></thead><tbody> 265<?php 295<?php if ( isset($_GET['addnew']) ) { ?> 296 <a href="widgets.php" class="button alignleft"><?php _e('Cancel'); ?></a> 297<?php } else { ?> 341 <div class="sidebar-name-arrow"><br /></div> 342 <h3><?php _e('Available Widgets'); ?> <span id="removing-widget"><?php _e('Deactivate'); ?> <span></span></span></h3></div> 343 <div class="widget-holder">bad.php https://github.com/Shigaru/shigaru.git | PHP | 421 lines
1<?php 2/** 2/** 3* @version $Id: bad.php 10381 2008-06-01 03:35:53Z pasamio $ 4* Tools for locating / replacing bad bytes in UTF-8 strings 9* the Initial Developer. All Rights Reserved. 10* Ported to PHP by Henri Sivonen (http://hsivonen.iki.fi) 11* Slight modifications to fit with phputf8 library by Harry Fuecks (hfuecks gmail com) 13* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp 14* @see http://hsivonen.iki.fi/php-utf8/ 15* @package utf8 127 $result = ob_get_contents(); 128 ob_end_clean(); 129 return $result; 166 $result = ob_get_contents(); 167 ob_end_clean(); 168 return $result;widget_nl.php https://gitlab.com/Gashler/sg | PHP | 345 lines
1<?php 2defined( 'WYSIJA' ) or die( 'Restricted access' ); 77 $scripts_html .= ob_get_contents(); 78 ob_end_clean(); 79 126 127 //if data has been posted the classique php/HTML way we display the result straight in good old HTML 128 if(isset($_POST['wysija']['user']['email']) && isset($_POST['formid']) && $form_id_real==$_POST['formid']){ExportToValue.php https://bitbucket.org/gfelizola/pacaembu-institucional.git | PHP | 270 lines
1<?php 2/* 21 22require_once('ExportBase.php'); 23require_once('CFDBExport.php'); 249 $output = ob_get_contents(); 250 ob_end_clean(); 251 // If called from a shortcode, need to return the text,Thumbnail.php https://bitbucket.org/wayfarer/verse.git | PHP | 321 lines
1<?php 2/* 44 if (!function_exists('ob_list_handlers') || !ob_list_handlers()) { 45 @ob_end_clean(); 46 } 214 /* 215 * This is sad that PHP doesn't support bitmaps. 216 * Anyway, we will use our custom function at least to display thumbnails.template.php https://github.com/amet17/webstar.git | PHP | 475 lines
1<?php 2/** 28 /** 29 * A hack to support __construct() on PHP 4 30 * Hint: descendant classes have no PHP4 class_name() constructors, 124 /** 125 * A hack to support __construct() on PHP 4 126 * Hint: descendant classes have no PHP4 class_name() constructors, 257 258 $templateFileName = $this->getRoot().DS.$template.'.php'; 259 260 if (!is_file($templateFileName)) { 261 $templateFileName = $this->getDefaultRoot().DS.$template.'.php'; 262 } 266 include_once( $templateFileName ); 267 ob_end_clean(); 268menu-op-verplaatsing.tpl.d17.php https://github.com/jonathanslenders/balancirk-website.git | PHP | 281 lines
1<?php 2/* template head */ 6'';// checking for modification in file:templates/base.tpl 7if (!("1292665335" == filemtime('templates/base.tpl'))) { ob_end_clean(); return false; };?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 8<html xmlns="http://www.w3.org/1999/xhtml"> 12 13 <?php echo Dwoo_Plugin_include($this, 'meta.tpl', null, null, null, '_root', null);?> 14 232 233 <?php if ((isset($this->scope["authenticated"]) ? $this->scope["authenticated"] : null)) { 234?> 234?> 235 <?php echo Dwoo_Plugin_include($this, "templates/_edit.tpl", null, null, null, '_root', null);?> 236 236 237 <?php 238}?>keychain.php https://github.com/Hackwar/joomla-platform.git | PHP | 381 lines
1#!/usr/bin/env php 2<?php 13// Load the Joomla! Platform 14require_once realpath('../libraries/import.php'); 15 259 $result = trim(ob_get_contents()); 260 ob_end_clean(); 261 return $result;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); 203 $contents = ob_get_contents(); 204 ob_end_clean(); 205dumper.php https://github.com/cgajardo/repositorium.git | PHP | 360 lines
1<?php 2/** 5 * @subpackage UnitTester 6 * @version $Id: dumper.php 1723 2008-04-08 00:34:10Z lastcraft $ 7 */ 355 $formatted = ob_get_contents(); 356 ob_end_clean(); 357 return $formatted;view.php https://bitbucket.org/tumivn/phpexamples.git | PHP | 437 lines
1<?php 2/** 5 * 6 * @copyright Copyright (C) 2009 PHPRO.ORG. All rights reserved. 7 * 7 * 8 * @license new bsd http://www.opensource.org/licenses/bsd-license.php 9 * @package Core 177 $output = ob_get_contents(); 178 ob_end_clean(); 179 }Capsule.php https://github.com/IDCI-Consulting/WebsiteEval.git | PHP | 266 lines
1<?php 2 4 * Capsule is a simple "template" engine that essentially provides an isolated context 5 * for PHP scripts. 6 * 132 133 if (!empty($php_errormsg)) { 134 throw new Exception("Unable to parse template " . $__template . ": " . $php_errormsg); 161 $output = ob_get_contents(); 162 ob_end_clean(); 163indexlib.php https://github.com/kpike/moodle.git | PHP | 262 lines
1<?php 2/** 22*/ 23require_once($CFG->dirroot.'/search/lib.php'); 24require_once($CFG->dirroot.'/search/Zend/Search/Lucene.php'); 214 //chuck the buffer and resume normal operation 215 ob_end_clean(); 216 return $ret;