100+ results results for 'php ob_start repo:pyneff/carsharing' (255 ms)
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);Modules.php https://bitbucket.org/haloweb/halogy-1.0/ | 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();new-menu.php http://jfxcms.googlecode.com/svn/ | PHP | 199 lines
1<?php 2############### COPYLEFT GPLv3 LICENSE ############### 22 23ob_start(); 24txp_auth.php http://textpattern.googlecode.com/svn/development/4.x/ | PHP | 277 lines
1<?php 2 56 57 ob_start(); 58} 72 73 include txpath.'/lib/txplib_head.php'; 74 $event = 'login'; 102 graf( 103 href(gTxt('back_to_login'), 'index.php') 104 , array('class' => 'login-return')). 253 254 include_once txpath.'/lib/txplib_admin.php'; 255 266 if ($nonce and $confirm === pack('H*', substr(md5($nonce), 0, 10)).$name) { 267 include_once txpath.'/lib/txplib_admin.php'; 268category_items.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 338 lines
135 136 <?php if ($catid!=$currcatid) { ?> <a class='fc_cat_title' href="<?php echo JRoute::_( FlexicontentHelperRoute::getCategoryRoute($sub->slug) ); ?>"> <?php } else { echo "<span class='fc_cat_title'>"; } ?> 137 <!-- BOF subcategory title --> 185 ?> 186 <li id="faqlist_cat_<?php echo $catid; ?>item_<?php echo $i; ?>" class="<?php echo $fc_item_classes; ?>"> 187 205 <?php if ( isset($this->comments[ $item->id ]->total) ) : ?> 206 <div class="fc_comments_count_nopad hasTip" alt="<?php echo JText::_('FLEXI_NUM_OF_COMMENTS');?>" title="<?php echo JText::_('FLEXI_NUM_OF_COMMENTS');?>::<?php echo JText::_('FLEXI_NUM_OF_COMMENTS_TIP');?>"> 207 <?php echo $this->comments[ $item->id ]->total; ?> 266 <?php if ($field->label) : ?> 267 <span class="flexi label field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span> 268 <?php endif; ?> 279 <li class="flexi-field"> 280 <div class="flexi value field_<?php echo $field->name; ?>"><?php echo $field->display; ?></div> 281 </li>debugger.test.php git://github.com/Datawalke/Coordino.git | PHP | 372 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 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://cakephp.org CakePHP Project 15 * @package cake 16 * @subpackage cake.tests.cases.libs 17 * @since CakePHP(tm) v 1.2.0.5432 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 97 98 $expected = '<code><span style="color: #000000"><?php'; 99 $expected .= '</span></code>'; 123 124 ob_start(); 125 Debugger::output('txt');basics.test.php http://skygames.googlecode.com/svn/trunk/ | PHP | 433 lines
1<?php 2/* SVN FILE: $Id: basics.test.php 7805 2008-10-30 17:30:26Z AD7six $ */ 3/** 7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> 11 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 17 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 18 * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 19 * @package cake.tests 24 * @lastmodified $Date: 2008-10-30 12:30:26 -0500 (Thu, 30 Oct 2008) $ 25 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 26 */module.graphic.jpg.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 173 lines
1<?php 2///////////////////////////////////////////////////////////////// 9// // 10// module.graphic.jpg.php // 11// module for analyzing JPEG Image files // 34 { 35 // http://php.net/iptcparse 36 // http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/IPTC.html 59 60 if (version_compare(phpversion(), '4.2.0', '>=')) 61 { 65 66 ob_start(); 67 $ThisFileInfo['jpg']['exif'] = exif_read_data($ThisFileInfo['filenamepath'], '', true, false); 87 88 $ThisFileInfo['warning'][] = 'EXIF parsing only available in PHP v4.2.0 and higher compiled with --enable-exif (or php_exif.dll enabled for Windows). You are using PHP v' . phpversion(); 89index.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 250 lines
1<?php 2/* 10// application initialization 11ob_start(); 12session_start(); 12session_start(); 13require_once "includes/config.php"; 14$strSetupDir = (empty($ThUserData['domain'])) ? "" : $ThUserData['domain']; 16$strSetupDir = (is_dir("setup/{$strSetupDir}")) ? $strSetupDir . '/' : ""; 17$strSettingScript = "setup" . $strSetupDir . "setting.php"; 18include_once $strSettingScript; 18include_once $strSettingScript; 19//include_once 'ebpls5501.php'; 20require_once "lib/ebpls.lib.php"; 52 53$ses = isset($_COOKIE['PHPSESSID'])?$_COOKIE['PHPSESSID']:''; //2008.05.06 54commontypes.php git://github.com/zendframework/zf2.git | PHP | 663 lines
1<?php 2/** 653 { 654 ob_start(); 655 $this->server->handle($request);CakeHtmlReporter.php git://github.com/cakephp/cakephp.git | PHP | 351 lines
6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 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 * @since CakePHP(tm) v 1.2.0.4433 15 * @since CakePHP(tm) v 1.2.0.4433 16 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 17 */ 90 foreach ($testCases as $testCaseFile => $testCase) { 91 $title = explode(DS, str_replace('.test.php', '', $testCase)); 92 $title[count($title) - 1] = Inflector::camelize($title[count($title) - 1]); 120 * 121 * @param PHPUnit_Framework_TestResult $result Result object 122 * @return voidutility.php http://68kb.googlecode.com/svn/trunk/ | PHP | 334 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 26 * @link http://68kb.com/user_guide/overview/settings.html 27 * @version $Id: utility.php 172 2009-12-11 16:18:32Z suzkaw68 $ 28 */ 198 $log[] = 'Generating Tree...'; 199 ob_start(); 200 $this->generate_tree_list($categories, 0, 0); 332 333/* End of file utility.php */ 334/* Location: ./upload/includes/application/controllers/admin/utility.php */PartialHelper.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 390 lines
1<?php 2 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: PartialHelper.php 10227 2008-07-11 19:36:32Z fabien $ 18 */ 160 * The partial name is composed as follows: 'mymodule/mypartial'. 161 * The partial file name is _mypartial.php and is looked for in modules/mymodule/templates/. 162 * If the partial name doesn't include a module name, 254 255 ob_start(); 256 ob_implicit_flush(0);extract.test.php https://code.google.com/p/mj-its/ | PHP | 0 lines
7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP : Rapid Development Framework (http://cakephp.org) 11 * Copyright 2006-2010, Cake Software Foundation, Inc. 16 * @copyright Copyright 2006-2010, Cake Software Foundation, Inc. 17 * @link http://cakefoundation.org/projects/info/cakephp CakePHP Project 18 * @package cake 19 * @subpackage cake.tests.cases.console.libs.tasks 20 * @since CakePHP v 1.2.0.7726 21 * @version $Revision$ 32if (!class_exists('ShellDispatcher')) { 33 ob_start(); 34 $argv = false;sfException.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 287 lines
1<?php 2 20 * @author Sean Kerr <sean@code-box.org> 21 * @version SVN: $Id: sfException.class.php 11837 2008-09-29 08:12:42Z fabien $ 22 */ 61 { 62 // log all exceptions in php log 63 error_log($exception->getMessage()); 73 74 ob_start(sfConfig::get('sf_compressed') ? 'ob_gzhandler' : ''); 75 121 { 122 $files[] = sfConfig::get('sf_app_config_dir').'/error_500.php'; 123 } 123 } 124 $files[] = sfConfig::get('sf_config_dir').'/error_500.php'; 125 $files[] = sfConfig::get('sf_web_dir').'/errors/error500.php';dumper.php http://noserub.googlecode.com/svn/trunk/ | PHP | 360 lines
1<?php 2/** 5 * @subpackage UnitTester 6 * @version $Id: dumper.php 807 2008-09-10 06:38:58Z dhofstet $ 7 */ 352 function dump($variable) { 353 ob_start(); 354 print_r($variable);ClassInfo.php http://cmsdemo1.googlecode.com/svn/trunk/ | PHP | 99 lines
72 <td width="20%" align="center"><img src="../Img/menu_edit.png" alt="修改菜单信息" class="img" /> 73 <a href='EditClass.php?Id=<?php echo $Id ?>&MenuId=<?php echo $MenuId?>'>修改菜单信息</a> 74 </td> 75 <td width="20%" align="center"><img src="../Img/menu_delete.png" alt="删除菜单" class="img" /> 76 <a href='DeleteClass.php?Id=<?php echo $Id ?>&MenuId=<?php echo $MenuId?>' 77 onclick="return confirm('真的要删除该菜单吗?')">删除菜单</a> 79 <td width="20%" align="center"><img src="../Img/menu_add1.png" alt="添加子菜单" class="img" /> 80 <a href='AddSubClass.php?Id=<?php echo $Id ?>&MenuId=<?php echo $MenuId?>'>添加子菜单</a> 81 </td> 82 <td width="20%" align="center"><img src="../Img/news.png" alt="文章列表" class="img" /> 83 <a href='NewsList.php?Id=<?php echo $Id ?>&MenuId=<?php echo $MenuId?>'>文章列表</a> 84 </td> 85 <td width="20%" align="center"><img src="../Img/html.png" alt="生成页面" class="img" /> 86 <a href='GenPage.php?Id=<?php echo $Id ?>&MenuId=<?php echo $MenuId?>'>生成页面</a> 87 </td>TestOfGridController.php git://github.com/ginatrapani/ThinkUp.git | PHP | 303 lines
1<?php 2/** 3 * 4 * ThinkUp/tests/TestOfGridController.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 57 $this->assertEqual('You must <a href="'.$config->getValue('site_root_path'). 58 'session/login.php">log in</a> to do this.', $v_mgr->getTemplateDataItem('error_msg')); 59 } 63 $controller = new GridController(true); 64 ob_start(); 65 $controller->control();Php.php https://code.google.com/p/mwenhanced/ | PHP | 359 lines
47 { 48 // QUERY_STRING is in form: PHPSESSID=<sid>&a=aaa&b=bbb&<id> 49 // where <id> is request ID, <sid> - session ID (if present), 49 // where <id> is request ID, <sid> - session ID (if present), 50 // PHPSESSID - session parameter name (by default = "PHPSESSID"). 51 67 ini_set('error_append_string', ini_get('error_append_string') . $this->_uniqHash); 68 ob_start(array(&$this, "_obHandler")); 69 144 */ 145 function php2js($a) 146 { 164 } else { 165 foreach ($a as $k=>$v) $result[] = JsHttpRequest::php2js($k) . ': ' . JsHttpRequest::php2js($v); 166 return '{ ' . join(', ', $result) . ' }';cronjobs.php git://github.com/daylightstudio/FUEL-CMS.git | PHP | 115 lines
1<?php 2require_once(FUEL_PATH.'/libraries/Fuel_base_controller.php'); 24 $this->js_controller_params['method'] = 'cronjobs'; 25 $cronjob_path = INSTALL_ROOT.$cronjobs_config['crons_folder'].'crontab.php'; 26 72 { 73 // turn on output buffering so that php will work inside the crontab.php 74 ob_start(); 85 { 86 $cronjob_lines = explode(PHP_EOL, $cronjob_file); 87 } 112} 113/* End of file cronjobs.php */ 114/* Location: ./fuel/modules/cronjobs/controllers/cronjobs.php */api.test.php git://github.com/Datawalke/Coordino.git | PHP | 116 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2012, Cake Software Foundation, Inc. 13 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. 14 * @link http://cakephp.org CakePHP Project 15 * @package cake 16 * @subpackage cake.tests.cases.console.libs.tasks 17 * @since CakePHP v 1.2.0.7726 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 26if (!class_exists('ShellDispatcher')) { 27 ob_start(); 28 $argv = false;imager.module.php http://jfxcms.googlecode.com/svn/ | PHP | 374 lines
1<?php 2############### COPYLEFT GPLv3 LICENSE ############### 71function makeTree(&$tree, &$moduleObj, $showFiles=false, $folderUrl='', $fileUrl='', $folderClick='', $fileClick=''){ 72 ob_start(); 73 98 if($fileClick!=''){ 99 $click = str_replace(':|url|:', $moduleObj->imageUrl.'/serve.php?absolutepath='.htmlentities($file->getAbsolutePath()), $fileClick); 100 $click = str_replace(':|path|:', htmlentities($file->meta['filepath']), $click); 103 } 104 $url = str_replace(':|url|:', $moduleObj->imageUrl.'/serve.php?absolutepath='.urlencode($file->getAbsolutePath()), $fileUrl); 105 $url = str_replace(':|path|:', urlencode($file->meta['filepath']), $url); 194 case 'upload': 195 require($this->dirname.'/actions/upload.php'); 196 break; 198 default: 199 require($this->dirname.'/actions/browse.php'); 200 break;BootActiveForm.php https://bitbucket.org/Crisu83/yii-bootstrap/ | PHP | 433 lines
1<?php 2/** 5 * @copyright Copyright © Christoffer Niska 2011- 6 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 7 */ 51 { 52 ob_start(); 53 Yii::app()->controller->widget('bootstrap.widgets.BootInput',array(general.php http://cmsfromscratch.googlecode.com/svn/trunk/ | PHP | 318 lines
21 */ 22 require ('cmsfns.php') ; 23 global $mode ; 121 122 case "phpx" : 123 ob_start(); 266 } 267 $setContentsValue = 'cms/phpthumb.php?src=' . REALIMGDIR . '/' . $setContents[$item][$rqdColPos] ; 268 if ($param1) {welcome.php https://code.google.com/p/vtiger-ru-fork/ | PHP | 146 lines
10 11//get php configuration settings. requires elaborate parsing of phpinfo() output 12ob_start(); 57 <tr> 58 <td class="cwHeadBg" align=left><img src="include/install/images/configwizard.gif" alt="<?php echo $installationStrings['LBL_CONFIG_WIZARD']; ?>" hspace="20" title="<?php echo $installationStrings['LBL_CONFIG_WIZARD']; ?>"></td> 59 <td class="cwHeadBg1" align=right><img src="include/install/images/vtigercrm5.gif" alt="<?php echo $installationStrings['LBL_VTIGER_CRM_5']; ?>" title="<?php echo $installationStrings['LBL_VTIGER_CRM_5']; ?>"></td> 78 <tr> 79 <td class=small align=left colspan=2><img src="include/install/images/welcome.gif" alt="<?php echo $installationStrings['LBL_WELCOME_CONFIG_WIZARD']; ?>" title="<?php echo $installationStrings['LBL_WELCOME_CONFIG_WIZARD']; ?>"> 80 <br><hr noshade size=1> 100 <input type="hidden" name="install" value="true" /> 101 <input type="button" class="button" value='<?php echo $installationStrings['LBL_INSTALL']; ?>' alt="<?php echo $installationStrings['LBL_INSTALL']; ?>" title="<?php echo $installationStrings['LBL_INSTALL']; ?>" onClick="window.document.installform.submit();"> 102 </form> 116 <input type="hidden" name="migrate" value="true" /> 117 <input type="button" class="button" value='<?php echo $installationStrings['LBL_MIGRATE']; ?>' alt="<?php echo $installationStrings['LBL_MIGRATE']; ?>" title="<?php echo $installationStrings['LBL_MIGRATE']; ?>" onClick="window.document.Migrateform.submit();"> 118 </form>blocks.php http://bitcero-modules.googlecode.com/svn/ | PHP | 338 lines
1<?php 2// $Id: blocks.php 1037 2012-09-07 21:19:12Z i.bitcero $ 10 11include '../../../mainfile.php'; 12 170 171 ob_start(); 172 include RMTemplate::get()->get_template('rmc_block_form.php', 'module', 'rmcommon');category_items.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 194 lines
124 <?php foreach ($columns as $name => $label) : ?> 125 <th id="field_<?php echo $name; ?>" scope="col"><?php echo $label; ?></th> 126 <?php endforeach; ?> 133 <?php foreach ($items as $i => $item) : ?> 134 <tr id="tablelist_item_<?php echo $i; ?>" class="<?php echo $fc_item_classes; ?>"> 135 152 153 <?php if ( $buttons_exists || $comments_non_zero || $show_title || count($item->css_markups) ) : ?> 154 <td class="fc_title_col"> 161 <?php if ( isset($this->comments[ $item->id ]->total) ) : ?> 162 <div class="fc_comments_count_nopad hasTip" alt="<?php echo JText::_('FLEXI_NUM_OF_COMMENTS');?>" title="<?php echo JText::_('FLEXI_NUM_OF_COMMENTS');?>::<?php echo JText::_('FLEXI_NUM_OF_COMMENTS_TIP');?>"> 163 <?php echo $this->comments[ $item->id ]->total; ?> 170 <?php if ($link_titles) : ?> 171 <a class="fc_item_title" href="<?php echo JRoute::_(FlexicontentHelperRoute::getItemRoute($item->slug, $item->categoryslug)); ?>"><?php echo $item->title; ?></a> 172 <?php else : echo $item->title; endif; ?>ajax.php http://torrentpier2.googlecode.com/svn/trunk/ | PHP | 408 lines
1<?php 2 7 8require('./common.php'); 9 21 case 'view_post': 22 require(INC_DIR . 'bbcode.php'); 23 break; 26 case 'post_mod_comment': 27 require(INC_DIR . 'bbcode.php'); 28 require(INC_DIR . 'functions_post.php'); 28 require(INC_DIR . 'functions_post.php'); 29 require(INC_DIR . 'functions_admin.php'); 30 break; 35 case 'gen_passkey': 36 require(BB_ROOT . 'attach_mod/attachment_mod.php'); 37 require(INC_DIR . 'functions_torrent.php');moscomment.php http://miacms.googlecode.com/svn/trunk/ | PHP | 186 lines
1<?php 2/** 3 * @package MiaCMS 4 * @author MiaCMS see README.php 5 * @copyright see README.php 5 * @copyright see README.php 6 * See COPYRIGHT.php for copyright notices and details. 7 * @license GNU/GPL Version 2, see LICENSE.php 15 16require_once mosCorePathAppend('/components/com_comment/comment.class.php'); 17require_once mosCorePathAppend('/mambots/content/moscomment.html.php'); 53 if (in_array ($row->sectionid, $this->config['allow_comments_in_sections'])) { 54 ob_start(); 55 $total = $this->totalComments($row->id); 152 function cleanVars() { 153 require_once(mamboCore::get('mosConfig_absolute_path').'/includes/phpInputFilter/class.inputfilter.php'); 154 static $process;Local.php git://github.com/zendframework/zf2.git | PHP | 74 lines
1<?php 2/** 59 // Perform request as is 60 ob_start(); 61 $this->server->handle($request);Tweetr.php http://tweetr.googlecode.com/svn/trunk/ | PHP | 326 lines
1<?php 2/** 29 * Creates a Tweetr Proxy Instance 30 * @param (array) $options Associative Array containing optional values see http://code.google.com/p/tweetr/wiki/PHPProxyUsage 31 */ 169 170 ob_start(); 171 $response = curl_exec($curl); 221 * Log Method that you can overwrite with your own logging stuff. 222 * FirePHP is my personal recommendation though ;) 223 * @param $obj Whatever you are trying to log 226 { 227 //require_once('fire/fb.php'); 228 //FB::log($obj); 246 { 247 ob_start(); 248 }url_helper.php http://xtraupload.googlecode.com/svn/trunk/ | PHP | 582 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 * 337 $x = array_reverse($x); 338 ob_start(); 339 342 var l=new Array(); 343 <?php 344 $i = 0; 344 $i = 0; 345 foreach ($x as $val){ ?>l[<?php echo $i++; ?>]='<?php echo $val; ?>';<?php } ?> 346 350 //]]> 351 </script><?php 352testoutputlib.php git://github.com/moodle/moodle.git | PHP | 166 lines
1<?php 2 19/** 20 * Unit tests for (some of) ../outputlib.php. 21 * 29} 30require_once($CFG->libdir . '/outputlib.php'); 31 36 * These tests assume that developer debug mode is on, which, at the time of 37 * writing, is true. admin/tool/unittest/index.php forces it on. 38 * 43 44 public static $includecoverage = array('lib/outputlib.php'); 45 protected function start_capture() { 45 protected function start_capture() { 46 ob_start(); 47 }model.test.php https://code.google.com/p/mj-its/ | PHP | 0 lines
1<?php 2/* SVN FILE: $Id$ */ 7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP : Rapid Development Framework (http://cakephp.org) 11 * Copyright 2006-2010, Cake Software Foundation, Inc. 16 * @copyright Copyright 2006-2010, Cake Software Foundation, Inc. 17 * @link http://cakefoundation.org/projects/info/cakephp CakePHP Project 18 * @package cake 19 * @subpackage cake.tests.cases.console.libs.tasks 20 * @since CakePHP v 1.2.6 21 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 29if (!class_exists('ShellDispatcher')) { 30 ob_start(); 31 $argv = false;index.php http://textpattern.googlecode.com/svn/development/4.x/ | PHP | 233 lines
1<?php 2 68 69ob_start(NULL, 2048); 70 70 71if (!isset($txpcfg['table_prefix']) && !@include './config.php') { 72 ob_end_clean(); 73 header('HTTP/1.1 503 Service Unavailable'); 74 exit('config.php is missing or corrupt. To install Textpattern, visit <a href="./setup/">setup</a>.'); 75} else { 83 84include txpath.'/vendors/Textpattern/Loader.php'; 85 91 92include_once txpath.'/lib/constants.php'; 93include txpath.'/lib/txplib_misc.php';AkelosGenerator.php http://akelosframework.googlecode.com/svn/trunk/ | PHP | 226 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ 43 44 if(file_exists(AK_SCRIPT_DIR.DS.'generators'.DS.$generator_name.DS.$generator_name.'_generator.php')){ 45 include_once(AK_SCRIPT_DIR.DS.'generators'.DS.$generator_name.DS.$generator_name.'_generator.php'); 115 116 ob_start(); 117 include(AK_SCRIPT_DIR.DS.'generators'.DS.$this->type.DS.($sintags_version?'sintags_':'').'templates'.DS.(strstr($template,'.') ? $template : $template.'.tpl')); 214 $generator = array_shift(array_keys($folder)); 215 if(strstr($generator,'.php')){ 216 continue;header-default.php http://carrington.googlecode.com/svn/ | PHP | 102 lines
25<head> 26 <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" /> 27 30 <meta name="viewport" content="initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/> 31 <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" charset="utf-8" /> 32 <style type="text/css"> 65 if (navigator.userAgent.indexOf(CFMOBI_TOUCH[i]) != -1) { 66 document.write('<?php echo str_replace('/', '\/', '<link rel="stylesheet" href="'.trailingslashit(get_bloginfo('template_url')).'css/touch.css" type="text/css" media="screen" charset="utf-8" />'); ?>'); 67 break; 69 } 70<?php 71 93 94<h1 id="site-name"><a rel="home" href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1> 95sua_hanghoa.php http://webdienmay.googlecode.com/svn/trunk/ | PHP | 166 lines
1<?php 2ob_start(); 5if(isset($_SESSION['username'])&&$_SESSION['level']==2){ 6 require("../includes/config.php"); 7 if(isset($_POST['ok'])){ 51 mysql_close($conn); 52 header("location:hanghoa.php"); 53 exit(); 77 <link href="style.css" rel="stylesheet" name="text/css" /> 78 <form action="them_hanghoa.php" method="post"> 79 <center> 84<td width="200"> 85<select name="slloaihang" onChange="location.href='them_hanghoa.php?idloaihang='+this.value;"> 86 <option value="-1">Ch?n Lo?i Hŕng</option> 87 88 <?php 89 $sql="select * from loaihang order by tenloai ASC";HttpTestCaseTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2// Call Zend_Controller_Response_HttpTestCaseTest::main() if this source file is executed directly. 2// Call Zend_Controller_Response_HttpTestCaseTest::main() if this source file is executed directly. 3if (!defined("PHPUnit_MAIN_METHOD")) { 4 define("PHPUnit_MAIN_METHOD", "Zend_Controller_Response_HttpTestCaseTest::main"); 6 7require_once dirname(__FILE__) . '/../../../TestHelper.php'; 8 9/** Zend_Controller_Response_HttpTestCase */ 10require_once 'Zend/Controller/Response/HttpTestCase.php'; 11 14 */ 15class Zend_Controller_Response_HttpTestCaseTest extends PHPUnit_Framework_TestCase 16{ 23 { 24 $suite = new PHPUnit_Framework_TestSuite("Zend_Controller_Response_HttpTestCaseTest"); 25 $result = PHPUnit_TextUI_TestRunner::run($suite);ClientLogin.php git://github.com/zendframework/zf2.git | PHP | 181 lines
1<?php 2/** 136 // output buffer to supress an error from being shown. Ugly - but works! 137 ob_start(); 138 try {themes.class.php http://gelatocms.googlecode.com/svn/trunk/ | PHP | 139 lines
1<?php 2/* 49 50 //evaluate All as PHP code 51 ob_start();eval($this->output); 72 73 //finding IFs sentences and converting to php code 74 #$this->output = preg_replace_callback("/{if ([^}]+)}/",create_function('$arr','return "\";if(".stripslashes($arr[1])."){echo\"";'),$this->output); 79 80 //finding FOREACHs or BLOCKs sentences and converting to php code 81 $this->output = preg_replace_callback("/{block ([^}]+) as ([^}]+)=>[\$]([^}]+)}/",create_function('$arr','return "\";foreach(".stripslashes(preg_replace(array("/\\\\$([a-zA-Z0-9_]+)/s","/\\\\\\$this->vars\[\\\'([a-zA-Z0-9_]+)\\\'\]\.([a-zA-Z0-9_]+)/s"),array("\$this->vars[\'\$1\']","\\\\\\$this->vars[\\\'$1\\\'][\\\'$2\\\']"),$arr[1]))." as ".stripslashes(preg_replace(array("/\\\\$([a-zA-Z0-9_]+)/s","/\\\\\\$this->vars\[\\\'([a-zA-Z0-9_]+)\\\'\]\.([a-zA-Z0-9_]+)/s"),array("\$this->vars[\'\$1\']","\\\\\\$this->vars[\\\'$1\\\'][\\\'$2\\\']"),$arr[2]))."=>\$this->vars[\'".stripslashes(preg_replace(array("/\\\\$([a-zA-Z0-9_]+)/s","/\\\\\\$this->vars\[\\\'([a-zA-Z0-9_]+)\\\'\]\.([a-zA-Z0-9_]+)/s"),array("\$this->vars[\'\$1\']","\\\\\\$this->vars[\\\'$1\\\'][\\\'$2\\\']"),$arr[3]))."\']){echo\"";'),$this->output);ezfiledownload_test.php git://github.com/ezsystems/ezpublish.git | PHP | 77 lines
1<?php 2/** 21 { 22 ob_start(); 23 $this->assertTrue( eZFile::downloadContent( $this->file ) ); 28 { 29 ob_start(); 30 $this->assertTrue( eZFile::downloadContent( $this->file, 8000 ) ); 35 { 36 ob_start(); 37 $this->assertTrue( eZFile::downloadContent( $this->file, 0, 100 ) ); 42 { 43 ob_start(); 44 $this->assertTrue( eZFile::downloadContent( $this->file, 8000, 100 ) ); 49 { 50 ob_start(); 51 $this->assertTrue( eZFile::downloadContent( $this->file, 8000, 192 ) );Abstract.php http://openbiz-cubi.googlecode.com/svn/trunk/ | PHP | 377 lines
1<?php 2/** 18 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Abstract.php 18951 2009-11-12 16:26:19Z alexander $ 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 throw new Zend_View_Helper_Placeholder_Container_Exception('Cannot nest placeholder captures for the same placeholder'); 270 } 271 ob_start(); 272 } 333 * 334 * as defined by the PHP manual 335 * @return intmoddashboardwidget.class.php git://github.com/modxcms/revolution.git | PHP | 326 lines
1<?php 2/* 75 $scriptProperties = $this->toArray(); 76 ob_start(); 77 $className = include_once $content; 95 break; 96 /* PHP (Snippet) widget */ 97 case 'php': 97 case 'php': 98 $widget = new modDashboardPhpWidget($this->xpdo,$this,$controller); 99 break; 151/** 152 * A widget that runs its content as PHP in Snippet-like format to get its content. 153 * @package modx 155 */ 156class modDashboardPhpWidget extends modDashboardWidgetInterface { 157 public function render() {index.php http://db-script.googlecode.com/svn/trunk/ | PHP | 84 lines
1<?php ob_start (); // ?????? ????????? ????????? ? ?????? DBSCRIPT v2.1 (?) dj--alex 2//header ("Location: main.php"); ??? ???? ?????? ?? ?? ?????????? ?? ???? ??? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html> 9 10 //pre-rendered command script /?VARNAME=parameter filemgr.php reserved $c,$i,$f r.php reserved $r 11 17$q=($_SERVER['QUERY_STRING']); 18if (($q[0]=="f")OR($q[0]=="c")OR($q[0]=="i")) { $redirectto="filemgr.php"; }; // typical link ?c=IDID 19if (($q[0]=="a")OR($q[0]=="u")) { $redirectto="admin.php"; }; 19if (($q[0]=="a")OR($q[0]=="u")) { $redirectto="admin.php"; }; 20if (($q[0]=="r")OR($q[0]=="t")) { $redirectto="r.php"; }; // typical link ?tbl=6&m=2&vID=361&vID2= 21if (($q[0]=="w")) { $redirectto="w.php"; }; 30 31@$a=opendir ("_conf"); if ($a==false) Header("Location: install.php"); 32 require ('dbscore.lib'); // ??????? ?????????? ? ?????? ? ??????????? 33 34if ($frameoldcore==0) {require_once ("main.php");} 35?>perf-db2.inc.php http://akelosframework.googlecode.com/svn/trunk/ | PHP | 102 lines
1<?php 2/* 78 $ok = $this->conn->Execute("EXPLAIN PLAN SET QUERYNO=$qno FOR $sql"); 79 ob_start(); 80 if (!$ok) echo "<p>Have EXPLAIN tables been created?</p>";developer_task.php git://github.com/gallery/gallery3-contrib.git | PHP | 335 lines
1<?php defined("SYSPATH") or die("No direct script access."); 2/** 60 case 5: // Generate admin controller 61 $file = "{$context['module_path']}/controllers/admin_{$context['module']}.php"; 62 ob_start(); 71 case 6: // Generate admin form 72 $file = "{$context['module_path']}/views/admin_{$context['module']}.html.php"; 73 ob_start(); 82 case 7: // Generate controller 83 $file = "{$context['module_path']}/controllers/{$context['module']}.php"; 84 ob_start(); 94 case 8: // Generate sidebar block view 95 $file = "{$context['module_path']}/views/{$context['module']}_block.html.php"; 96 ob_start(); 106 case 9: // Generate dashboard block view 107 $file = "{$context['module_path']}/views/admin_{$context['module']}_block.html.php"; 108 ob_start();init.inc.php http://freewms.googlecode.com/svn/trunk/ | PHP | 139 lines
1<?php if(!defined('BASEPATH')) die('Access Denied'); 2/*------------------------------------------------- 22 *-----------------------------------------------*/ 23require_once BASEPATH.'config/database.php'; 24require_once BASEPATH.'config/system.php'; 28 *-----------------------------------------------*/ 29require_once BASEPATH.'inc/global.func.php'; 30 51function __autoload($class_name) { 52 $clsfile = BASEPATH.'inc/'.strtolower($class_name).'.class.php'; 53 if(!is_file($clsfile)) { 68}else{ 69 $session_lib_file = BASEPATH.'inc/session/'.SESSION_TYPE.'.php'; 70 if(is_file($session_lib_file)) { 83if(SITE_GZIP && function_exists('ob_gzhandler')) { 84 ob_start('ob_gzhandler'); 85}else{admin_khachhang.php http://xoxoshop2010.googlecode.com/svn/trunk/ | PHP | 82 lines
1<?php ob_start(); session_start(); ob_clean(); 2?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 14 <p align="center">Danh Sách Khách Hŕng ??t Mua<br /> 15 <a href="admin_trangchu.php">Trang Admin</a>----<a href="kiemtra_xml.php">Ki?m Tra Khách Hŕng T? File XML</a>----<a href="xoa_khachhang_all.php">Xóa Danh Sách Khách Hŕng</a><br /> 16 </p> 43 <tr> 44 <td width="10"><div align="center"><?php echo $i; ?></div></td> 45 <td width="150"><div align="center"><?php echo $dong4["hoten"]; ?></div></td> 45 <td width="150"><div align="center"><?php echo $dong4["hoten"]; ?></div></td> 46 <td width="250"><div align="center"><?php echo $dong4["dclienlac"]; ?></div></td> 47 <td width="100"><div align="center"><?php echo $dong4["cmnd"]; ?></div></td> 50 <td width="100"><div align="center"><?php echo $dong4["tinh"]; ?></div></td> 51 <td width="100"><div align="center"><?php echo $dong4["mail"]; ?></div></td> 52 <td width="70"><div align="center"><a href="xem_khachhang.php?cm=<?php echo $dong4["cmnd"] ?>">Xem</a></div></td> 52 <td width="70"><div align="center"><a href="xem_khachhang.php?cm=<?php echo $dong4["cmnd"] ?>">Xem</a></div></td> 53 <td width="70"><div align="center"><a href="xoa_khachhang.php?cm=<?php echo $dong4["cmnd"];?>">Xóa</a></div></td> 54 </tr>Modules.php git://github.com/pyrocms/pyrocms.git | PHP | 251 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();admin.languages.class.php http://miacms.googlecode.com/svn/trunk/ | PHP | 333 lines
1<?php 2/** 4* @subpackage Languages 5* @author MiaCMS see README.php 6* @copyright see README.php 6* @copyright see README.php 7* See COPYRIGHT.php for copyright notices and details. 8* @license GNU/GPL Version 2, see LICENSE.php 99 100 $actionfile = dirname(__FILE__)."/actions/$actionname.action.php"; 101 $actionclass = $actionname.'Action'; 111 { 112 $viewfile = dirname(__FILE__)."/views/$viewname.view.php"; 113 $viewclass = $viewname.'View'; 121 { 122 $url = $_SERVER['PHP_SELF'].'?option='.$this->name; 123 $url .= !is_null($task) ? '&task='.$task : '';ClassFrontend.php git://github.com/zendframework/zf2.git | PHP | 0 lines
1<?php 2/** 219 // A cache is not available (or not valid for this frontend) 220 ob_start(); 221 ob_implicit_flush(false);dataTable.php http://atomikframework.googlecode.com/svn/trunk/ | PHP | 413 lines
1<?php 2 223 { 224 ob_start(); 225 return $this;Gateway.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 424 lines
33{ 34 require_once(AMFPHP_BASE . "shared/util/CompatPhp5.php"); 35} 37{ 38 require_once(AMFPHP_BASE . "shared/util/CompatPhp4.php"); 39} 42require_once(AMFPHP_BASE . "shared/util/NetDebug.php"); 43require_once(AMFPHP_BASE . "shared/util/Headers.php"); 44require_once(AMFPHP_BASE . "shared/exception/MessageException.php"); 77 include_once(AMFPHP_BASE . "shared/app/php5Executive.php"); 78 include_once(AMFPHP_BASE . "shared/exception/php5Exception.php"); 79 } 83 include_once(AMFPHP_BASE . "shared/app/php4Executive.php"); 84 include_once(AMFPHP_BASE . "shared/exception/php4Exception.php"); 85 }Gateway.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 406 lines
33{ 34 require_once(AMFPHP_BASE . "shared/util/CompatPhp5.php"); 35} 37{ 38 require_once(AMFPHP_BASE . "shared/util/CompatPhp4.php"); 39} 41require_once(AMFPHP_BASE . "shared/util/CharsetHandler.php"); 42require_once(AMFPHP_BASE . "shared/util/NetDebug.php"); 43require_once(AMFPHP_BASE . "shared/util/Headers.php"); 77 include_once(AMFPHP_BASE . "shared/app/php5Executive.php"); 78 include_once(AMFPHP_BASE . "shared/exception/php5Exception.php"); 79 } 83 include_once(AMFPHP_BASE . "shared/app/php4Executive.php"); 84 include_once(AMFPHP_BASE . "shared/exception/php4Exception.php"); 85 }admin.php http://rqcms.googlecode.com/svn/trunk/ | PHP | 90 lines
1<?php 2if(!defined('RQ_ROOT')) exit('Access Denied'); 5$datadir=basename(RQ_DATA);//data?? 6$cssfile ='admin.php?file=css';//?????css?? 7$viewdir=$coredir.'/manager/view/'; 17//????? 18include RQ_CORE.'/library/func.image.php'; 19include RQ_CORE.'/library/func.admin.php'; 27 ob_end_clean(); 28 ob_start(); 29 include RQ_CORE.'/manager/view/redirect.php'; 79 80if(!in_array($incfile,$other)&&!array_key_exists($incfile,$adminitem)) redirect('?????','admin.php?file=main'); 81if($groupid!=4&&$incfile=='special') redirect('???????????','admin.php?file=main'); 81if($groupid!=4&&$incfile=='special') redirect('???????????','admin.php?file=main'); 82if($groupid<3&&$incfile=='tag') redirect('??????tag??','admin.php?file=main'); 83if($groupid!=4&&$incfile=='database') redirect('???????????','admin.php?file=main');Albums_Controller_Test.php git://github.com/gallery/gallery3.git | PHP | 74 lines
1<?php defined("SYSPATH") or die("No direct script access."); 2/** 44 45 ob_start(); 46 $controller->update($album->id);edit-form.php http://wordpress-geo-mashup.googlecode.com/svn/trunk/ | PHP | 238 lines
122 <input id="geo_mashup_changed" name="geo_mashup_changed" type="hidden" value="" /> 123 <?php ob_start(); ?> 124 <table id="geo-mashup-location-table"> 154 <?php $location_table_html = ob_get_clean(); ?> 155 <?php ob_start(); ?> 156 <div id="geo_mashup_map" class="geo-mashup-js"> 161 <div id="geo_mashup_static_map"> 162 <img src="<?php echo $static_maps_base_url; ?>&size=400x300&zoom=4&markers=size:small|color:green|<?php echo esc_attr( $location->lat . ',' . $location->lng ); ?>" 163 alt="<?php _e( 'Location Map Image', 'GeoMashup' ); ?>" /> 167 <?php $map_html = ob_get_clean(); ?> 168 <?php ob_start(); ?> 169 <label for="geo_mashup_search"><?php _e('Find a new location:', 'GeoMashup'); ?> 197 <div id="geo_mashup_submit" class="submit"> 198 <input id="geo_mashup_add_location" name="geo_mashup_add_location" type="submit" <?php echo $add_input_style; ?> value="<?php _e( 'Add Location', 'GeoMashup' ); ?>" /> 199 <input id="geo_mashup_delete_location" name="geo_mashup_delete_location" type="submit" <?php echo $delete_input_style; ?> value="<?php _e( 'Delete', 'GeoMashup' ); ?>" />search.php https://bitbucket.org/wez/mtrack/ | PHP | 440 lines
1<?php # vim:ts=2:sw=2:et: 2/* For licensing and copyright terms, see the file named LICENSE */ 3 4include MTRACK_INC_DIR . '/search/lucene.php'; 5include MTRACK_INC_DIR . '/search/solr.php'; 79 if (MTrackConfig::get('core', 'update_search_immediate')) { 80 ob_start(); 81 } 118 if (preg_match("/^help$/i", $q)) { 119 return array("Help on $q", $ABSWEB . 'help.php'); 120 } 123 $t = $M[1]; 124 $url = $ABSWEB . "ticket.php/$t"; 125 return array("<a href='$url' class='ticketlink'>Ticket #$t</a>", $url); 128 $t = $M[1]; 129 $url = $ABSWEB . "ticket.php/$t"; 130 return array("<a href='$url' class='ticketlink'>Ticket #$t</a>", $url);%%23^23A^23A54099%%debug.tpl.php http://three-cms.googlecode.com/svn/trunk/ | PHP | 263 lines
2 compiled from ../../system/smarty/debug.tpl */ ?> 3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); 4smarty_core_load_plugins(array('plugins' => array(array('function', 'assign_debug_info', '../../system/smarty/debug.tpl', 3, false),array('function', 'cycle', '../../system/smarty/debug.tpl', 119, false),array('modifier', 'escape', '../../system/smarty/debug.tpl', 102, false),array('modifier', 'string_format', '../../system/smarty/debug.tpl', 105, false),array('modifier', 'debug_print_var', '../../system/smarty/debug.tpl', 121, false),)), $this); ?> 6 7<?php ob_start(); ?> 8<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 150?> <?php endfor; endif; ?> 151 <font color=<?php if ($this->_tpl_vars['_debug_tpls'][$this->_sections['templates']['index']]['type'] == 'template'): ?>brown<?php elseif ($this->_tpl_vars['_debug_tpls'][$this->_sections['templates']['index']]['type'] == 'insert'): ?>black<?php else: ?>green<?php endif; ?>> 152 <?php echo ((is_array($_tmp=$this->_tpl_vars['_debug_tpls'][$this->_sections['templates']['index']]['filename'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?> 157) 158 <?php if ($this->_sections['templates']['index'] == 0): ?>(total)<?php endif; ?> 159 </span> 169<table id="table_assigned_vars"> 170 <?php unset($this->_sections['vars']); 171$this->_sections['vars']['name'] = 'vars';FunctionFrontendTest.php git://github.com/zendframework/zf2.git | PHP | 0 lines
1<?php 2/** 54 */ 55class FunctionFrontendTest extends \PHPUnit_Framework_TestCase 56{ 98 { 99 ob_start(); 100 ob_implicit_flush(false); 110 { 111 ob_start(); 112 ob_implicit_flush(false); 124 $this->_instance->setOption('cache_by_default', false); 125 ob_start(); 126 ob_implicit_flush(false); 140 $this->_instance->setOption('cached_functions', array('foobar')); 141 ob_start(); 142 ob_implicit_flush(false);taglib.php http://prails.googlecode.com/svn/trunk/ | PHP | 194 lines
1<?php 2/** 71 } 72 ob_start(); 73 require($path); 92 if (file_exists("lib/tags/".$arr_matches[4][$key].".var")) { 93 ob_start(); 94 $var["name"] = $arr_matches[4][$key];common.php git://github.com/preinheimer/xhprof.git | PHP | 127 lines
1<?php 2 96 97 ob_start(); 98 require ("../xhprof_lib/templates/chart.phtml");cake_html_reporter.php git://github.com/Datawalke/Coordino.git | PHP | 378 lines
4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 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://cakephp.org CakePHP(tm) Project 15 * @package cake 16 * @subpackage cake.tests.libs.reporter 17 * @since CakePHP(tm) v 1.2.0.4433 18 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 19 */ 20include_once dirname(__FILE__) . DS . 'cake_base_reporter.php'; 21Class.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 24 */ 25require_once 'Zend/Cache/Core.php'; 26 217 // A cache is not available 218 ob_start(); 219 ob_implicit_flush(false);hanghoa.php http://webdienmay.googlecode.com/svn/trunk/ | PHP | 77 lines
1<?php 2ob_start(); 6{ 7 require_once("../includes/config.php"); 8?> 10<center> <div class="tieude">Danh Sách Hŕng Hóa</div> <br /> 11 <font size="5"><a href=them_hanghoa.php>Thęm Hŕng Hóa </a>---- 12 <a href=index.php>Tr? V? Trang Qu?n Tr?</a></font> 27 28<?php 29 50 51 echo "<td align='center'><a href='sua_hanghoa.php?id=".$row['idhanghoa']."'><img width='50' height='50' src='../images/".$row['urlhinh']."'/></a></td>"; 52 echo "<td align='center'>".$row['ghichu']."</td>"; 52 echo "<td align='center'>".$row['ghichu']."</td>"; 53 echo "<td align=center><a href=sua_hanghoa.php?id=".$row['idhanghoa'].">S?a</a></td>"; 54 echo "<td align=center><a href=xoa_hanghoa.php?id=".$row['idhanghoa'].">Xóa</a></td>";xajaxRequest.inc.php https://code.google.com/p/evedev-kb/ | PHP | 360 lines
1<?php 2/** 2/** 3 File: xajaxRequest.inc.php 4 8 9 Please see <copyright.inc.php> for a detailed description, copyright 10 and license information. 14 @package xajax 15 @version $Id: xajaxRequest.inc.php 362 2007-05-29 15:32:24Z calltoconstruct $ 16 @copyright Copyright (c) 2005-2007 by Jared White & J. Max Wilson 253 { 254 ob_start(); 255 $this->printScript();DisallowObEndFlushSniff.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 71 lines
13 * @version CVS: $Id: DisallowObEndFlushSniff.php 247282 2007-11-29 04:02:47Z squiz $ 14 * @link http://pear.php.net/package/PHP_CodeSniffer 15 */ 28 * @version Release: 1.2.2 29 * @link http://pear.php.net/package/PHP_CodeSniffer 30 */ 30 */ 31class Squiz_Sniffs_PHP_DisallowObEndFlushSniff implements PHP_CodeSniffer_Sniff 32{ 48 * 49 * @param PHP_CodeSniffer_File $phpcsFile The file being scanned. 50 * @param int $stackPtr The position of the current token in the 54 */ 55 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 56 {flashuploader.php http://bitcero-modules.googlecode.com/svn/ | PHP | 142 lines
1<?php 2// $Id: flashuploader.php 999 2012-07-02 03:53:17Z i.bitcero $ 18 * @param string Name of instance 19 * @param string Target uploader url (e.g. uploader.php) 20 * @param array SWFUploader settings 135 136 ob_start(); 137 include RMTemplate::get()->get_template('uploadify.js.php', 'module', 'rmcommon');Local.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 21/** Zend_Soap_Client_Exception */ 22require_once 'Zend/Soap/Server/Exception.php'; 23 25/** Zend_Soap_Server */ 26require_once 'Zend/Soap/Server.php'; 27 28/** Zend_Soap_Client */ 29require_once 'Zend/Soap/Client.php'; 30 85 // Perform request as is 86 ob_start(); 87 $this->_server->handle($request);ReaderTest.php git://github.com/farazdagi/phrozn.git | PHP | 60 lines
1<?php 2/** 30class ReaderTest 31 extends \PHPUnit_Framework_TestCase 32{ 43 44 ob_start(); 45 var_dump($handle); 50 51 ob_start(); 52 var_dump($handle);mqueue.php http://webgloo.googlecode.com/svn/trunk/ | PHP | 131 lines
1#!/usr/bin/php 2<?php 13 //do nothing 14 // PEAR packages use PHP-4 compatible code that throws 15 // errors in E_STRICT mode 62 // PEAR MAIL will not work with our error handler 63 // there are many issues with using PEAR mail with PHP 5.3 64 // turn On this error handler for debugging other part of script 65 //set_error_handler('mailer_error_handler'); 66 ob_start(); 67functions-install.php http://yourls.googlecode.com/svn/trunk/ | PHP | 295 lines
1<?php 2 28/** 29 * Check if PHP > 4.3 30 * 31 */ 32function yourls_check_php_version() { 33 return ( version_compare( '4.3', phpversion() ) <= 0 ); 66 return true; 67 } elseif ( function_exists( 'phpinfo' ) ) { 68 ob_start(); 68 ob_start(); 69 phpinfo( 8 ); 70 $phpinfo = ob_get_clean(); 70 $phpinfo = ob_get_clean(); 71 if ( false !== strpos( $phpinfo, $mod ) ) 72 return true;testformslib.php git://github.com/moodle/moodle.git | PHP | 222 lines
1<?php 2 19/** 20 * Unit tests for /lib/formslib.php. 21 * 29} 30require_once($CFG->libdir . '/formslib.php'); 31require_once($CFG->libdir . '/form/radio.php'); 31require_once($CFG->libdir . '/form/radio.php'); 32require_once($CFG->libdir . '/form/select.php'); 33require_once($CFG->libdir . '/form/text.php'); 162 $form = new formslib_test_form(); 163 ob_start(); 164 $form->display();smarty_internal_compile_block.php git://github.com/modxcms/revolution.git | PHP | 189 lines
1<?php 2/** 126 $compiler->parser->current_buffer = new Smarty_Internal_ParseTree_Template(); 127 $output = "<?php\n"; 128 $output .= "/* {block {$_name}} */\n"; 140 if (isset($_assign)) { 141 $output .= "ob_start();\n"; 142 } 151 $compiler->parser->current_buffer->append_subtree($compiler->parser, $_functionCode); 152 $output = "<?php\n"; 153 if (isset($_assign)) { 166 ); 167 $compiler->blockOrFunctionCode .= $compiler->parser->current_buffer->to_smarty_php($compiler->parser); 168 $compiler->parser->current_buffer = new Smarty_Internal_ParseTree_Template(); 173 $compiler->parser->current_buffer = $_buffer; 174 $output = "<?php \n"; 175 if ($compiler->_cache[ 'blockNesting' ] === 1) {eclipse.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 338 lines
1<?php 2/** 5 * @subpackage Eclipse 6 * @version $Id: eclipse.php 1723 2008-04-08 00:34:10Z lastcraft $ 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/**#@-*/ 316 { 317 ob_start(); 318 $this->_invoker->before($method);test.test.php https://code.google.com/p/mj-its/ | PHP | 0 lines
1<?php 2/* SVN FILE: $Id$ */ 7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP : Rapid Development Framework (http://cakephp.org) 11 * Copyright 2006-2010, Cake Software Foundation, Inc. 16 * @copyright Copyright 2006-2010, Cake Software Foundation, Inc. 17 * @link http://cakefoundation.org/projects/info/cakephp CakePHP Project 18 * @package cake 19 * @subpackage cake.tests.cases.console.libs.tasks 20 * @since CakePHP v 1.2.0.7726 21 * @version $Revision$ 23 * @lastmodified $Date$ 24 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 25 */function.treewidget.php http://openconstructor.googlecode.com/svn/trunk/ | PHP | 64 lines
1<?php 2/** 22 * 23 * $Id: function.treewidget.php,v 1.2 2007/02/27 11:23:21 sanjar Exp $ 24 */ 40 $height = "height='{$params['height']}'"; 41 ob_start(); 42 echo '<nobr class="tool">'; 57 </script> 58 <?php 59 $result = ob_get_contents();Php.hx http://poko.googlecode.com/svn/trunk/ | Haxe | 80 lines
29 30import php.FileSystem; 31//import poko.views.renderers.IRenderer; 34 35class Php implements Renderable 36{ 47 { 48 var tpl = "./tpl/php/" + template; 49 if(FileSystem.exists(tpl)) 50 { 51 untyped __call__("ob_start"); 52 untyped __call__("extract", __php__("(array)$this->data")); 57 } else { 58 throw "Php Template is missing: " + template; 59 return null;jsupdate.php git://github.com/moodle/moodle.git | PHP | 192 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 18 19require('../../../config.php'); 20require('../lib.php'); 25 26$url = new moodle_url('/mod/chat/gui_header_js/jsupdate.php', array('chat_sid' => $chatsid)); 27if ($chatlasttime !== 0) { 89// No & in url, does not work in header! 90$baseurl = "{$CFG->wwwroot}/mod/chat/gui_header_js/jsupdate.php?"; 91$refreshurl = $baseurl . "chat_sid=$chatsid&chat_lasttime=$chatnewlasttime&chat_lastrow=$chatnewrow"; 102// Needed for Keep-Alive to work. 103ob_start(); 104 118 parent.msg.document.write("<base target=\"_blank\" />"); 119 parent.msg.document.write("<\/head><body class=\"mod-chat-gui_header_js course-<?php echo $chatuser->course ?>\" id=\"mod-chat-gui_header_js-jsupdate\"><div style=\"display: none\" id=\"msgStarted\"> <\/div>"); 120 }admin.languages.class.php http://miacms.googlecode.com/svn/trunk/ | PHP | 333 lines
1<?php 2/** 4 * @subpackage Languages 5 * @author MiaCMS see README.php 6 * @copyright see README.php 6 * @copyright see README.php 7 * See COPYRIGHT.php for copyright notices and details. 8 * @license GNU/GPL Version 2, see LICENSE.php 99 100 $actionfile = dirname(__FILE__)."/actions/$actionname.action.php"; 101 $actionclass = $actionname.'Action'; 111 { 112 $viewfile = dirname(__FILE__)."/views/$viewname.view.php"; 113 $viewclass = $viewname.'View'; 121 { 122 $url = $_SERVER['PHP_SELF'].'?option='.$this->name; 123 $url .= !is_null($task) ? '&task='.$task : '';feed-home.php https://code.google.com/p/maxsite/ | PHP | 80 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2 10if ($k) return print($k); // ?? ???? ? ???? 11ob_start(); 12 13 14require_once( getinfo('common_dir') . 'page.php' ); // ???????? ??????? ??????? 15require_once( getinfo('common_dir') . 'category.php' ); // ??????? ?????? 62 <copyright>Copyright <?= gmdate("Y", time()) ?>, <?= getinfo('siteurl') ?></copyright> 63 <?php foreach($pages as $page) : extract($page); ?> 64 <item> 71 </item> 72 <?php endforeach; ?> 73 </channel> 74</rss> 75<?php 76index.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 11 12//Ket noi den mainfile.php nam o thu muc goc. 13$realpath_mainfile = $set_active_op = ""; 18{ 19 $realpath_mainfile = @realpath( $temp_dir . $temp_path . 'mainfile.php' ); 20 if ( ! empty( $realpath_mainfile ) ) break; 29 30ob_start(); 31 34{ 35 require ( NV_ROOTDIR . "/includes/core/admin_access.php" ); 36 require ( NV_ROOTDIR . "/includes/core/admin_login.php" ); 39 40if ( file_exists( NV_ROOTDIR . "/language/" . NV_LANG_INTERFACE . "/admin_global.php" ) ) 41{test.php http://noserub.googlecode.com/svn/trunk/ | PHP | 109 lines
1<?php 2// $Id: test.php 807 2008-09-10 06:38:58Z dhofstet $ 2// $Id: test.php 807 2008-09-10 06:38:58Z dhofstet $ 3require_once dirname(__FILE__) . '/../../autorun.php'; 4require_once dirname(__FILE__) . '/../testdox.php'; 18 $dox = new TestDoxReporter(); 19 ob_start(); 20 $dox->paintCaseStart('TestOfTestDoxReporter'); 26 $dox = new TestDoxReporter('/^(.*)Test$/'); 27 ob_start(); 28 $dox->paintCaseStart('SomeGreatWidgetTest'); 34 $dox = new TestDoxReporter(''); 35 ob_start(); 36 $dox->paintCaseStart('TestOfTestDoxReporter'); 42 $dox = new TestDoxReporter(); 43 ob_start(); 44 $dox->paintCaseEnd('TestOfTestDoxReporter');bench.php git://github.com/infusion/PHP.git | PHP | 423 lines
1<?php 2if (function_exists("date_default_timezone_set")) { 356{ 357 ob_start(); 358 return getmicrotime(); 370 echo $name.$pad.$num."\n"; 371 ob_start(); 372 return getmicrotime();ascii.php http://openconstructor.googlecode.com/svn/trunk/ | PHP | 221 lines
1<?php 2/** 3* Tools to help with ASCII in UTF-8 4* @version $Id: ascii.php,v 1.2 2007/03/15 06:56:30 sanjar Exp $ 5* @package utf8 13* needs handling as UTF-8 or not, potentially offering performance 14* benefits by using the native PHP equivalent if it's just ASCII e.g.; 15* 17* if ( utf8_is_ascii($someString) ) { 18* // It's just ASCII - use the native PHP version 19* $someString = strtolower($someString); 68function utf8_strip_non_ascii($str) { 69 ob_start(); 70 while ( preg_match( 93function utf8_strip_ascii_ctrl($str) { 94 ob_start(); 95 while ( preg_match(right_widgets.php http://bitcero-modules.googlecode.com/svn/ | PHP | 106 lines
29 <?php foreach($available_mods as $mod): ?> 30 <?php if($i==$limit) break; ?> 31 <div class="<?php echo tpl_cycle("even,odd"); ?>"> 31 <div class="<?php echo tpl_cycle("even,odd"); ?>"> 32 <a href="modules.php?action=install&dir=<?php echo $mod->getInfo('dirname'); ?>" class="rmc_mod_img" style="background: url(<?php echo XOOPS_URL; ?>/modules/<?php echo $mod->getInfo('dirname'); ?>/<?php echo $mod->getInfo('image'); ?>) no-repeat center;"><span> </span></a> 33 <strong><a href="modules.php?action=install&dir=<?php echo $mod->getInfo('dirname'); ?>"><?php echo $mod->getInfo('name'); ?></a></strong> 34 <span class="rmc_available_options"> 35 <a href="modules.php?action=install&dir=<?php echo $mod->getInfo('dirname'); ?>"><?php _e('Install','rmcommon'); ?></a> | 36 <a href="javascript:;" onclick="show_module_info('<?php echo $mod->getInfo('dirname'); ?>');"><?php _e('More info','rmcommon'); ?></a> 39 <?php _e('Version:','rmcommon'); ?> 40 <?php if($mod->getInfo('rmnative')): ?> 41 <?php echo RMUtilities::format_version($mod->getInfo('rmversion')); ?> 44 <?php endif; ?><br /> 45 <?php _e('Author:', 'rmcommon'); ?> <?php echo substr(strip_tags($mod->getInfo('author')), 0, 12); ?> 46 </span>loader.test.php http://skygames.googlecode.com/svn/trunk/ | PHP | 191 lines
1<?php 2/* SVN FILE: $Id: loader.test.php 6311 2008-01-02 06:33:52Z phpnut $ */ 3/** 9 * 10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> 11 * Copyright 2005-2008, Cake Software Foundation, Inc. 19 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. 20 * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 21 * @package cake.tests 80 $type = array('type' => 'File', 'name' => 'SomeName', 'parent' => false, 81 'file' => TEST_CAKE_CORE_INCLUDE_PATH . DS . 'config' . DS . 'config.php'); 82 $file = App::import($type); 148 * This test only works if you have plugins/my_plugin set up. 149 * plugins/my_plugin/models/my_plugin.php and other_model.php 150 */blocks.php http://bitcero-modules.googlecode.com/svn/ | PHP | 237 lines
1<?php 2// $Id$ 10 11include '../../../mainfile.php'; 12 164 165 ob_start(); 166 include RMTemplate::get()->get_template('rmc_block_form.php', 'module', 'rmcommon');bad.php http://openconstructor.googlecode.com/svn/trunk/ | PHP | 422 lines
1<?php 2/** 2/** 3* @version $Id: bad.php,v 1.2 2007/03/15 06:56:30 sanjar 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 119 '|(.{1}))'; # invalid byte 120 ob_start(); 121 while (preg_match('/'.$UTF8_BAD.'/S', $str, $matches)) { 156 '|(.{1}))'; # invalid byte 157 ob_start(); 158 while (preg_match('/'.$UTF8_BAD.'/S', $str, $matches)) {cake.test.php http://skygames.googlecode.com/svn/trunk/ | PHP | 481 lines
1<?php 2/* SVN FILE: $Id: cake.test.php 7871 2008-11-13 00:33:53Z renan.saddam $ */ 3/** 9 * 10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> 11 * Copyright 2005-2007, Cake Software Foundation, Inc. 17 * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. 18 * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 19 * @package cake.tests 174 175 $params = array('cake.php'); 176 $expected = array( 224 $params = array( 225 './console/cake.php', 226 'bake',roots-widgets.php git://github.com/retlehs/roots.git | PHP | 136 lines
99 <label for="<?php echo esc_attr($this->get_field_id('title')); ?>"><?php _e('Title (optional):', 'roots'); ?></label> 100 <input class="widefat" id="<?php echo esc_attr($this->get_field_id('title')); ?>" name="<?php echo esc_attr($this->get_field_name('title')); ?>" type="text" value="<?php echo esc_attr($title); ?>" /> 101 </p> 111 <label for="<?php echo esc_attr($this->get_field_id('region')); ?>"><?php _e('State/Region:', 'roots'); ?></label> 112 <input class="widefat" id="<?php echo esc_attr($this->get_field_id('region')); ?>" name="<?php echo esc_attr($this->get_field_name('region')); ?>" type="text" value="<?php echo esc_attr($region); ?>" /> 113 </p> 115 <label for="<?php echo esc_attr($this->get_field_id('postal_code')); ?>"><?php _e('Zipcode/Postal Code:', 'roots'); ?></label> 116 <input class="widefat" id="<?php echo esc_attr($this->get_field_id('postal_code')); ?>" name="<?php echo esc_attr($this->get_field_name('postal_code')); ?>" type="text" value="<?php echo esc_attr($postal_code); ?>" /> 117 </p> 119 <label for="<?php echo esc_attr($this->get_field_id('tel')); ?>"><?php _e('Telephone:', 'roots'); ?></label> 120 <input class="widefat" id="<?php echo esc_attr($this->get_field_id('tel')); ?>" name="<?php echo esc_attr($this->get_field_name('tel')); ?>" type="text" value="<?php echo esc_attr($tel); ?>" /> 121 </p> 123 <label for="<?php echo esc_attr($this->get_field_id('email')); ?>"><?php _e('Email:', 'roots'); ?></label> 124 <input class="widefat" id="<?php echo esc_attr($this->get_field_id('email')); ?>" name="<?php echo esc_attr($this->get_field_name('email')); ?>" type="text" value="<?php echo esc_attr($email); ?>" /> 125 </p>db_config.test.php git://github.com/Datawalke/Coordino.git | PHP | 155 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 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://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) 26if (!class_exists('ShellDispatcher')) { 27 ob_start(); 28 $argv = false;tiny_mce_gzip.php http://vanilla-journal.googlecode.com/svn/trunk/ | PHP | 269 lines
1<?php 2/** 2/** 3 * $RCSfile: tiny_mce_gzip.php,v $ 4 * $Revision: $ 38 39// Patch older versions of PHP < 4.3.0 40if (!function_exists('file_get_contents')) { 80 if (!$diskCache) 81 ob_start("ob_gzhandler"); 82} else 164 for (var i=0; i<elements.length; i++) { 165 if (elements[i].src && elements[i].src.indexOf("tiny_mce_gzip.php") != -1) { 166 scriptURL = elements[i].src;them_hanghoa.php http://webdienmay.googlecode.com/svn/trunk/ | PHP | 165 lines
1<?php 2ob_start(); 5if(isset($_SESSION['username'])&&$_SESSION['level']==2){ 6 require("../includes/config.php"); 7 if(isset($_POST['ok'])){ 51 mysql_close($conn); 52 header("location:hanghoa.php"); 53 exit(); 77 <link href="style.css" rel="stylesheet" name="text/css" /> 78 <form action="them_hanghoa.php" method="post"> 79 <center><font size="5">Thęm Hŕng Hóa</font> 83<td width="200"> 84<select name="slloaihang" onChange="location.href='them_hanghoa.php?idloaihang='+this.value;"> 85 <option value="-1">Ch?n Lo?i Hŕng</option> 86 87 <?php 88 $sql="select * from loaihang order by tenloai ASC";endskin.php http://endcms.googlecode.com/svn/trunk/ | PHP | 143 lines
1<?php 2 42 if (!$template) $template = $this->default_template; 43 ob_start(); 44 $this->display($template); 62 $tag = $this->_replace_var_name($tag); 63 $code = '<'.'?php echo '.$tag.'; ?'.'>'; 64 $page = str_replace($ms[0][$cnt],$code,$page); 73 $tag = $this->_replace_var_name($tag); 74 $code = '<'.'?php '.$tag.': ?>'; 75 $page = str_replace($ms[0][$cnt],$code,$page); 84 $tag = $this->_replace_var_name($tag); 85 $code = '<'.'?php '.$tag.':?>'; 86 $page = str_replace($ms[0][$cnt],$code,$page); 96 if (!preg_match('/\;\s*$/',$tag)) $tag.=';'; 97 $code = '<'.'?php echo '.$tag.'?>'; 98 $page = str_replace($ms[0][$cnt],$code,$page);index.php http://mightmedia.googlecode.com/svn/trunk/ | PHP | 135 lines
1<?php 2ob_start (); 3header("Cache-control: public"); 9 10include_once("priedai/conf.php"); 11 54<script type="text/javascript" src="javascript/countdown.js" defer="defer"></script> 55<script language="javascript" src="javascript/pagrindinis.php" type="text/javascript"></script> 56 56 57<?php include_once("priedai/header.php"); ?> 58</head> 86 <div class="vidus"> 87 <?php 88 include("paneles/sms_reklama.php");dumper.php git://github.com/swiftmailer/swiftmailer.git | PHP | 359 lines
1<?php 2/** 5 * @subpackage UnitTester 6 * @version $Id: dumper.php 1782 2008-04-25 17:09:06Z pp11 $ 7 */ 351 function dump($variable) { 352 ob_start(); 353 print_r($variable);_form_field.php git://github.com/diem-project/diem.git | PHP | 171 lines
55[?php if ($field->isPartial()): ?] 56 <div class="[?php echo $divClass ?]">[?php include_partial('<?php echo $this->getModuleName() ?>/'.$name, array('<?php echo $this->getModule()->getKey() ?>' => $form->getObject(), 'form' => $form, 'attributes' => $attributes instanceof sfOutputEscaper ? $attributes->getRawValue() : $attributes)) ?]</div> 57[?php elseif ($field->isComponent()): ?] 57[?php elseif ($field->isComponent()): ?] 58 <div class="[?php echo $divClass ?]">[?php include_component('<?php echo $this->getModuleName() ?>', $name, array('<?php echo $this->getModuleName() ?>' => $form->getObject(), 'form' => $form, 'attributes' => $attributes instanceof sfOutputEscaper ? $attributes->getRawValue() : $attributes)) ?]</div> 59[?php elseif ($field->getConfig('markdown')): ?] 59[?php elseif ($field->getConfig('markdown')): ?] 60 [?php include_partial("dmAdminGenerator/markdown", array("form" => $form, "field" => $field, "class" => $class, "name" => $name, "label" => $label, "attributes" => $attributes, "help" => $help)); ?] 61[?php elseif(isset($form[$name])): ?] 61[?php elseif(isset($form[$name])): ?] 62 <div data-field-name="[?php echo $name ?]" class="[?php echo $divClass ?][?php $form[$name]->hasError() and print ' errors' ?]"> 63 [?php if ($form[$name]->hasError()): ?] 66 </div> 67 [?php endif; ?] 68 <div class="sf_admin_form_row_inner clearfix">exemple02.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 25 lines
1<?php 2/** 14// r?cup?ration du contenu HTML 15ob_start(); 16include (dirname(__FILE__) . '/res/exemple02.php'); 19// conversion HTML => PDF 20require_once (dirname(__FILE__) . '/../html2pdf.class.php'); 21$html2pdf = new HTML2PDF('P', 'A4', 'fr', false, 'ISO-8859-15', array(15, 5, 15, 5));exemple00.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 27 lines
1<?php 2/** 15// r?cup?ration du contenu HTML 16ob_start(); 17include (dirname(__FILE__) . '/res/exemple00.php'); 20// conversion HTML => PDF 21require_once (dirname(__FILE__) . '/../html2pdf.class.php'); 22$html2pdf = new HTML2PDF('P', 'A4', 'fr', false, 'ISO-8859-15');LocalizedTestCase.php git://github.com/symfony/symfony.git | PHP | 71 lines
1<?php 2 13 14class LocalizedTestCase extends \PHPUnit_Framework_TestCase 15{ 60 61 ob_start(); 62 $reflector->info();dumper.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 395 lines
1<?php 2/** 5 * @subpackage UnitTester 6 * @version $Id: dumper.php 1723 2008-04-08 00:34:10Z lastcraft $ 7 */ 387 { 388 ob_start(); 389 print_r($variable);FieldsetTest.php git://github.com/zendframework/zf2.git | PHP | 103 lines
1<?php 2/** 26 27use Zend\View\PhpRenderer as View, 28 Zend\View\Helper\Fieldset; 40 */ 41class FieldsetTest extends \PHPUnit_Framework_TestCase 42{ 54 $this->helper->setView($this->view); 55 ob_start(); 56 }project.test.php git://github.com/Datawalke/Coordino.git | PHP | 301 lines
8 * 9 * CakePHP : Rapid Development Framework (http://cakephp.org) 10 * Copyright 2005-2012, Cake Software Foundation, Inc. 15 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. 16 * @link http://cakephp.org CakePHP Project 17 * @package cake 18 * @subpackage cake.tests.cases.console.libs.tasks 19 * @since CakePHP v 1.3.0 20 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 34 35require_once CAKE . 'console' . DS . 'libs' . DS . 'tasks' . DS . 'project.php'; 36 194/** 195 * Test that index.php is generated correctly. 196 *addon.php http://three-cms.googlecode.com/svn/trunk/ | PHP | 226 lines
1<?php 2/* 201 // Create message: 202 ob_start(); 203 include('email.tpl'); 207 // $cartConfig = array(); 208 include('cart_config.php'); 209 $this->email->initialize($cartConfig);categories.php http://xoopscube-modules.googlecode.com/svn/trunk/ | PHP | 119 lines
1<?php 2 2 3require_once XOOPS_ROOT_PATH.'/class/xoopslists.php'; 4 40 } 41 redirect_header( "$mydirurl/admin/index.php?page=categories" , 2 , $msg ) ; 42} 60 } 61 redirect_header( "$mydirurl/admin/index.php?page=categories" , 2 , $msg ) ; 62} 75//pid selector 76/*ob_start(); 77$selected_id = isset($editcat['pid']) ? $editcat['pid'] : 0 ; 85xoops_cp_header() ; 86include dirname(__FILE__).'/mymenu.php' ; 87ary3.php http://phc.googlecode.com/svn/trunk/ | PHP | 374 lines
1<?php 2 3// The split files in individual/* were generated with 4// for i in `grep end_test balanced.php | grep -v function | sed 's/^.*"\(.*\)".*$/\1/' | sed 's/(.*)$//'`; do cp template.php individual/$i.php; grep "$i\\>" balanced.php | grep -v function | grep -B 1 end_test >> individual/$i.php; done 5 342{ 343 ob_start(); 344 return getmicrotime(); 356 echo $name.$pad.$num."\n"; 357 ob_start(); 358 return getmicrotime();index1.php http://mightmedia.googlecode.com/svn/trunk/ | PHP | 135 lines
1<?php 2ob_start(); 9 10require_once("variklis/bendras.php"); 11 54<script type="text/javascript" src="javascript/countdown.js" defer="defer"></script> 55<script language="javascript" src="javascript/pagrindinis.php" type="text/javascript"></script> 56<script type="text/javascript" language="javascript" src="rate/js/behavior.js"></script> 58 59<?php include_once("priedai/header.php"); ?> 60</head> 75 <td width="170" valign="top"> 76 <?php 77 $sql_p = mysql_query("SELECT * FROM `panel` WHERE `align`='L' AND `show`='Y' ORDER BY `place` ASC"); 88 <div class="vidus"> 89 <?php 90 include("blokai/sms_reklama.php");response.php https://bitbucket.org/joomla/joomla-platform/ | PHP | 307 lines
1<?php 2/** 191 192 ob_start(); 193 foreach (self::$body as $content)shell.test.php git://github.com/Datawalke/Coordino.git | PHP | 513 lines
8 * 9 * CakePHP : Rapid Development Framework (http://cakephp.org) 10 * Copyright 2005-2012, Cake Software Foundation, Inc. 15 * @copyright Copyright 2005-2012, 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) 382 383 $path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php'; 384 $this->assertEqual($this->Shell->shortPath($path), $expected); 421 $path = TMP . 'shell_test'; 422 $file = $path . DS . 'file1.php'; 423index.php http://bitcero-modules.googlecode.com/svn/ | PHP | 176 lines
1<?php 2// $Id: index.php 706 2011-08-08 22:07:13Z i.bitcero $ 11define('RMCLOCATION','dashboard'); 12include 'header.php'; 13 72 RMTemplate::get()->add_local_script('dashboard.js','galleries'); 73 include RMTemplate::get()->get_template('admin/gs_dashboard.php', 'module', 'galleries'); 74 92 93 ob_start(); 94 ?> 95 <?php foreach($recents as $pic): ?> 96 <a href="<?php echo $pic['link']; ?>" target="_blank" title="<?php echo $pic['title']; ?>"><img src="<?php echo $pic['thumbnail']; ?>" alt="<?php echo $pic['title']; ?>" /></a> 97 <?php endforeach; ?> 152 <?php foreach($sets as $set): ?> 153 <a href="<?php echo $set['link']; ?>" target="_blank" title="<?php echo $set['title']; ?>"><img src="<?php echo $set['image']['thumbnail']; ?>" alt="<?php echo $set['title']; ?>" /></a> 154 <?php endforeach; ?>swx.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 439 lines
111 // Change to the service folder from here on. 112 // This works exactly like Amfphp to make sure that Amfphp and SWX 113 // services are compatible. 320 // array.) 321 if ($dataAsPhp === "undefined") $dataAsPhp = "[]"; 322 324 // way to do this?) 325 $dataAsPhp = str_replace('\\t', '\t', $dataAsPhp); 326 $dataAsPhp = str_replace('\\n', '\n', $dataAsPhp); 326 $dataAsPhp = str_replace('\\n', '\n', $dataAsPhp); 327 $dataAsPhp = str_replace("\\'", "'", $dataAsPhp); 328 363 //$dataAsPhp = str_replace('undefined', 'NULL', $dataAsPhp); 364 $dataAsPhp = str_replace('null', 'NULL', $dataAsPhp); 365xajaxScriptPlugin.inc.php https://code.google.com/p/evedev-kb/ | PHP | 267 lines
1<?php 2/** 2/** 3 File: xajaxScriptPlugin.inc.php 4 8 9 Please see <copyright.inc.php> for a detailed description, copyright 10 and license information. 14 @package xajax 15 @version $Id: xajaxScriptPlugin.inc.php 362 2007-05-29 15:32:24Z calltoconstruct $ 16 @copyright Copyright (c) 2005-2007 by Jared White & J. Max Wilson 187 188 ob_start(); 189 $objPluginManager->generateClientScript();xajaxDefaultIncludePlugin.inc.php https://code.google.com/p/evedev-kb/ | PHP | 353 lines
1<?php 2/** 2/** 3 File: xajaxDefaultIncludePlugin.inc.php 4 8 9 Please see <copyright.inc.php> for a detailed description, copyright 10 and license information. 14 @package xajax 15 @version $Id: xajaxDefaultIncludePlugin.inc.php 362 2007-05-29 15:32:24Z calltoconstruct $ 16 @copyright Copyright (c) 2005-2007 by Jared White & J. Max Wilson 151 { 152 ob_start(); 153 $this->printJavascriptConfig(); 235 { 236 ob_start(); 237 $this->printJavascriptInclude();StreamingController.php http://forceworkbench.googlecode.com/svn/trunk/workbench/ | PHP | 212 lines
1<?php 2require_once 'restclient/RestClient.php'; 102 103 ob_start(); 104 if (count($this->errors) > 0) displayError($this->errors); 156 $_SERVER['HTTP_HOST'] . 157 str_replace('\\', '/', dirname(htmlspecialchars($_SERVER['PHP_SELF']))) . 158 (strlen(dirname(htmlspecialchars($_SERVER['PHP_SELF']))) == 1 ? "" : "/") . 158 (strlen(dirname(htmlspecialchars($_SERVER['PHP_SELF']))) == 1 ? "" : "/") . 159 "cometdProxy.php"; 160actions.class.php git://github.com/diem-project/diem.git | PHP | 107 lines
1<?php 2/** 7 * @author Your name here 8 * @version SVN: $Id: actions.class.php 12474 2008-10-31 10:41:27Z fabien $ 9 */ 13 protected static 14 $defaultCommands = 'sf man ll ls pwd cat mkdir rm cp mv touch chmod free df find clear php'; 15 32 $command = substr($command, 3); 33 $exec = sprintf('%s "%s" %s --color', sfToolkit::getPhpCli(), dmProject::getRootDir().'/symfony', $command); 34 } 50 51 ob_start(); 52 passthru($exec.' 2>&1', $return); 69 70 $this->uname = php_uname(); 71update-search-index.php https://bitbucket.org/wez/mtrack/ | PHP | 160 lines
1<?php # vim:ts=2:sw=2:et: 2/* For licensing and copyright terms, see the file named LICENSE */ 7 8include dirname(__FILE__) . '/../inc/common.php'; 9MTrackSearchDB::setBatchMode(); 32if ($log_file) { 33 ob_start('log_output'); 34}server.php http://phc.googlecode.com/svn/trunk/ | PHP | 36 lines
1<?php 2 4 //error_reporting(E_ALL); 5 ob_start(); 6 define('MYSQL_HOST', 'localhost');cake_reporter.php http://skygames.googlecode.com/svn/trunk/ | PHP | 207 lines
1<?php 2/* SVN FILE: $Id: cake_reporter.php 7805 2008-10-30 17:30:26Z AD7six $ */ 3/** 9 * 10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> 11 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 17 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 18 * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 19 * @package cake 84 $colour = ($this->getFailCount() + $this->getExceptionCount() > 0 ? "red" : "green"); 85 ob_start(); 86 echo "</ul>\n"; 106 function paintFail($message) { 107 ob_start(); 108 parent::paintFail($message);index_new.php http://mightmedia.googlecode.com/svn/trunk/ | PHP | 273 lines
1<? 2ob_start (); 3header("Cache-control: public"); 8 9include_once("priedai/conf.php"); 10 210<? if ($conf['Palaikymas'] == 1) { ?><script type="text/javascript" src="javascript/countdown.js" defer="defer"></script><? } ?> 211<script language="javascript" src="javascript/pagrindinis.php" type="text/javascript"></script> 212 225 <h1>CodeRS</h1><a href="/"><img src="images/logo.png" alt="<?=$conf['Pavadinimas']?>" title="<?=$page?>" border="0" /></a><br /><br /> 226 <?php 227 $sql_p = mysql_query("SELECT * FROM `panel` WHERE `align`='L' OR `align`='R' AND `show`='Y' ORDER BY `place` ASC"); 240 <ul> 241 <li <?=(!isset($url['id']))?'id="current"':''?>><a href="index.php"><span>Titulinis</span></a></li> 242 <li <?=($url['id']==7)?'id="current"':''?>><a href="?id,7"><span>KodeBin</span></a></li>webchangepwd.inc.php http://modx-ja.googlecode.com/svn/trunk/ | PHP | 180 lines
1<?php 2# WebChangePwd 1.0 106function getWebChangePwdtpl(){ 107 ob_start(); 108 ?> 173 [+newpassmsg+] 174 <?php 175 $t = ob_get_contents();SimpleTemplate.class.php http://tubepress.googlecode.com/svn/trunk/ | PHP | 68 lines
1<?php 2/** 22function_exists('tubepress_load_classes') 23 || require(dirname(__FILE__) . '/../../../tubepress_classloader.php'); 24tubepress_load_classes(array('org_tubepress_util_StringUtils', 55 56 ob_start(); 57 extract($this->_source);javascript.inc.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 111 lines
1<?php 2 15 16require_once dirname(__FILE__) . '/common/init.inc.php'; 17 33 */ 34require_once dirname(__FILE__) . '/common/conf.inc.php'; 35 39ob_flush(); 40ob_start(); 41 85{ 86 $path = BasicApplication :: get_application_class_path($application) . 'javascript.inc.php'; 87 if (is_readable($path))block.mtunless.php git://github.com/movabletype/movabletype.git | PHP | 78 lines
1<?php 2# Movable Type (r) (C) 2001-2020 Six Apart Ltd. All Rights Reserved. 24 if (function_exists($val)) { 25 ob_start(); 26 $val($ctx, array());Helper.php http://webgloo.googlecode.com/svn/trunk/ | PHP | 158 lines
1<?php 2 137 $oDestinationImage = imagecreatetruecolor($nDestinationWidth, $nDestinationHeight); 138 //http://in2.php.net/manual/en/function.imagecopyresized.php 139 // resize the image 144 145 ob_start(); 146 //default is 75. is Quality 75 good enough for us?common.php git://github.com/vito/chyrp.git | PHP | 307 lines
1<?php 2 /** 62 # Constant: INDEX 63 # Is the requested file /index.php? 64 define('INDEX', (pathinfo($_SERVER['SCRIPT_NAME'], PATHINFO_BASENAME) == "index.php") and !ADMIN); 109 USE_ZLIB) { 110 ob_start("ob_gzhandler"); 111 header("Content-Encoding: gzip"); 112 } else 113 ob_start(); 114 116 # Various functions used throughout Chyrp's code. 117 require_once INCLUDES_DIR."/helpers.php"; 118 120 # Gettext library. 121 require_once INCLUDES_DIR."/lib/gettext/gettext.php"; 122HttpKernelTest.php git://github.com/symfony/symfony.git | PHP | 223 lines
1<?php 2 19 20class HttpKernelTest extends \PHPUnit_Framework_TestCase 21{ 172 if (version_compare(phpversion(), "5.3.2", "<=")) { 173 $this->markTestSkipped('Test fails with PHP5.3.2 due to https://bugs.php.net/bug.php?id=50563'); 174 } 202 ->will($this->returnValue(function () { 203 ob_start(); 204 echo 'bar'; 213 // simulate a main request with output buffering 214 ob_start(); 215 echo 'Foo';block.mtif.php git://github.com/movabletype/movabletype.git | PHP | 171 lines
1<?php 2# Movable Type (r) (C) 2001-2020 Six Apart Ltd. All Rights Reserved. 40 $value = $ctx->__stash['vars'][$name]; 41 require_once("MTUtil.php"); 42 if (is_hash($value)) { 90 if (function_exists($val)) { 91 ob_start(); 92 $val($ctx, array());Function.php http://miacms.googlecode.com/svn/trunk/ | PHP | 215 lines
1<?php 2 13* @package Cache_Lite 14* @version $Id: Function.php,v 1.11 2006/12/14 12:59:43 cweiske Exp $ 15* @author Sebastian BERGMANN <sb@sebastian-bergmann.de> 15* @author Sebastian BERGMANN <sb@sebastian-bergmann.de> 16* @author Fabien MARTY <fab@php.net> 17*/ 21 22require_once( $mosConfig_absolute_path . '/includes/PEAR/Cache/Lite.php' ); 23 72 * $options is an assoc. To have a look at availables options, 73 * see the constructor of the Cache_Lite class in 'Cache_Lite.php' 74 * 127 } 128 ob_start(); 129 ob_implicit_flush(false);index.php http://gesior-aac.googlecode.com/svn/trunk/ | PHP | 292 lines
1<?php 2 5session_start(); 6ob_start("ob_gzhandler"); 7ini_set('include_path', ini_get('include_path') . ':./libs'); 16 17include('config-and-functions.php'); 18$action = $_REQUEST['action']; 75 $subtopic = "latestnews"; 76 require_once("modules/latestnews.php"); 77 break; 80 $subtopic = "archive"; 81 require_once("modules/archive.php"); 82 break; 85 $subtopic = "creatures"; 86 require_once("modules/creatures.php"); 87 break;template_engine.php http://textmotion.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 4 * Template Engine 5 * Translates a set of specially formatted strings into PHP code. 6 * --- 18 * @lastmodified $Date: $ 19 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 20 * 22 23require_once 'simple_parser_engine.php'; 24 150 extract($this->vars, EXTR_SKIP); 151 ob_start(); 152 include $this->cache_file; 187 /** 188 * Translates specially formatted strings into PHP code 189 * @param string $code String to be evaluatedKeithxml_original.php http://xoopscube-modules.googlecode.com/svn/trunk/ | PHP | 118 lines
1<?php 2################################################################################### 4# XML Library, by Keith Devens, version 1.2b 5# http://keithdevens.com/software/phpxml 6# 13# XML_unserialize: takes raw XML as a parameter (a string) 14# and returns an equivalent PHP data structure 15################################################################################### 22################################################################################### 23# XML_serialize: serializes any PHP data structure into XML 24# Takes one parameter: the data to serialize. Must be an array. 26function & XML_serialize(&$data, $level = 0, $prior_key = NULL){ 27 if($level == 0){ ob_start(); echo '<?xml version="1.0" ?>',"\n"; } 28 while(list($key, $value) = each($data)) 51################################################################################### 52# XML class: utility class to be used with PHP's XML handling functions 53###################################################################################Log.php git://github.com/mvriel/Docblox.git | PHP | 196 lines
1<?php 2/** 4 * 5 * PHP Version 5 6 * 10 * @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com) 11 * @license http://www.opensource.org/licenses/mit-license.php MIT 12 * @link http://docblox-project.org 20 * @author Mike van Riel <mike.vanriel@naenius.com> 21 * @license http://www.opensource.org/licenses/mit-license.php MIT 22 * @link http://docblox-project.org 53 /** @var string Output will only be sent to stdout */ 54 const FILE_STDOUT = 'php://stdout'; 55 181 if (!is_string($data)) { 182 ob_start(); 183 var_dump($data);level2partial.tpl https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | Smarty Template | 81 lines
1<?php 2ob_start("ob_gzhandler"); 4$location="/ KDE Internationalization Home / GUI Statistics"; 5include("header.php"); 6?> 15 16<a class="package" href="../../../index.php">top</a> <font color="#ff0000">></font> 17<a class="package" href="../../index.php">{TXT_REV}</a><font color="#ff0000"> ></font> 17<a class="package" href="../../index.php">{TXT_REV}</a><font color="#ff0000"> ></font> 18<a class="package" href="../index.php">partial</a> <font color="#ff0000">></font> 19{TXT_TEAMCODE} <font color="#ff0000">></font> 56<a href="#obsolete">Obsolete Translated PO files</a> | 57<a href="../../{TXT_TEAMCODE}/index.php">Full statistics</a><br> 58<hr noshade size="1"> 79 80<?php include("footer.php"); ob_end_flush(); ?> 81curl.php git://github.com/ericmuyser/mmo.git | PHP | 356 lines
1<?php 2 10 11 $scheme = parse_url($url, PHP_URL_SCHEME); 12 $host = parse_url($url, PHP_URL_HOST); 12 $host = parse_url($url, PHP_URL_HOST); 13 $path = parse_url($url, PHP_URL_PATH); 14 $q = parse_url($url, PHP_URL_QUERY); 190 191 if(phpversion() >= 5.3) 192 curl_setopt($c, CURLOPT_HEADERFUNCTION, function($c, $header) use(&$r) 207 208 ob_start(); 209 $r->data = curl_exec($c); 236 $url = reconstruct_url($url); 237 $host = parse_url($url, PHP_URL_HOST); 238fontsizer.php http://sewebar-cms.googlecode.com/svn/trunk/ | PHP | 63 lines
1<?php 2/** 47 global $gantry; 48 ob_start(); 49 ?> 51 <div id="rt-accessibility"> 52 <div class="rt-desc"><?php echo JText::_('TEXT_SIZE'); ?></div> 53 <div id="rt-buttons"> 53 <div id="rt-buttons"> 54 <a href="<?php echo JROUTE::_($gantry->getCurrentUrl() . "font-size=larger"); ?>" title="<?php echo JText::_('INC_FONT_SIZE'); ?>" class="large"><span class="button"></span></a> 55 <a href="<?php echo JROUTE::_($gantry->getCurrentUrl() . "font-size=smaller"); ?>" title="<?php echo JText::_('DEC_FONT_SIZE'); ?>" class="small"><span class="button"></span></a> 59 </div> 60 <?php 61 return ob_get_clean();AbstractContainer.php git://github.com/zendframework/zf2.git | PHP | 392 lines
1<?php 2/** 150 } 151 ob_start(); 152 } 286 /** 287 * Next Index as defined by the PHP manual 288 *LayoutTest.php git://github.com/recess/recess.git | PHP | 64 lines
1<?php 2Library::import('recess.framework.helpers.Layout'); 2Library::import('recess.framework.helpers.Layout'); 3class LayoutTest extends PHPUnit_Framework_TestCase { 4 14 function testSimple() { 15 ob_start(); 16 Layout::draw('simple.php', array()); 21 function testContext() { 22 ob_start(); 23 Layout::draw('context.php', array('context'=>'is valuable')); 28 function testContextFail() { 29 ob_start(); 30 try { 30 try { 31 Layout::draw('context.php', array('contextFail'=>'is valuable')); 32 $this->fail('Should throw MissingRequiredInputException');unicode.php http://openconstructor.googlecode.com/svn/trunk/ | PHP | 270 lines
1<?php 2/** 2/** 3* @version $Id: unicode.php,v 1.2 2007/03/15 06:56:30 sanjar 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 utf8procedural.php4 http://firephp.googlecode.com/svn/trunk/ | PHP | 77 lines
4 * 5 * This file is part of FirePHP (http://www.firephp.org/). 6 * 39 40/* NOTE: You must have the FirePHPCore library in your include path */ 41 44 45require('FirePHPCore/fb.php'); 46 47/* NOTE: You must have Output Buffering enabled via 48 ob_start() or output_buffering ini directive. */ 49 51 52fb('Log message' ,FirePHP_LOG); 53fb('Info message' ,FirePHP_INFO);DijitContainer.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: DijitContainer.php 11744 2008-10-08 18:06:15Z matthew $ 21 */ 23/** Zend_Dojo_View_Helper_Dijit */ 24require_once 'Zend/Dojo/View/Helper/Dijit.php'; 25 59 if (array_key_exists($id, $this->_captureLock)) { 60 require_once 'Zend/Dojo/View/Exception.php'; 61 throw new Zend_Dojo_View_Exception(sprintf('Lock already exists for id "%s"', $id)); 69 70 ob_start(); 71 return; 82 if (!array_key_exists($id, $this->_captureLock)) { 83 require_once 'Zend/Dojo/View/Exception.php'; 84 throw new Zend_Dojo_View_Exception(sprintf('No capture lock exists for id "%s"; nothing to capture', $id));DijitContainer.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: DijitContainer.php 11745 2008-10-08 18:25:37Z zendbot $ 21 */ 23/** Zend_Dojo_View_Helper_Dijit */ 24require_once 'Zend/Dojo/View/Helper/Dijit.php'; 25 59 if (array_key_exists($id, $this->_captureLock)) { 60 require_once 'Zend/Dojo/View/Exception.php'; 61 throw new Zend_Dojo_View_Exception(sprintf('Lock already exists for id "%s"', $id)); 69 70 ob_start(); 71 return; 82 if (!array_key_exists($id, $this->_captureLock)) { 83 require_once 'Zend/Dojo/View/Exception.php'; 84 throw new Zend_Dojo_View_Exception(sprintf('No capture lock exists for id "%s"; nothing to capture', $id));exemple10.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 222 lines
135<div class="zone1">HTML2PDF</div> 136<div class="zone2">PHP</div> 137<div class="zone3">Utilitaire</div> 157<hr> 158<pre><?php 159ob_start(); 159ob_start(); 160readfile(dirname(__FILE__) . '/../exemple10.php'); 161echo htmlentities(ob_get_clean());chat_ajax.php git://github.com/moodle/moodle.git | PHP | 162 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 18 19require(__DIR__.'/../../config.php'); 20require_once(__DIR__ . '/lib.php'); 52$PAGE->set_cm($cm, $course, $chat); 53$PAGE->set_url('/mod/chat/chat_ajax.php', array('chat_sid' => $chatsid)); 54 59 60ob_start(); 61header('Expires: Sun, 28 Dec 1997 09:32:45 GMT');HeadScript.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
22/** Zend_View_Helper_Placeholder_Container_Standalone */ 23require_once 'Zend/View/Helper/Placeholder/Container/Standalone.php'; 24 89 * 90 * Set separator to PHP_EOL. 91 * 96 parent::__construct(); 97 $this->setSeparator(PHP_EOL); 98 } 151 $this->_captureScriptAttrs = $attrs; 152 ob_start(); 153 } 413 if (!empty($item->source)) { 414 $html .= PHP_EOL . $indent . ' ' . $escapeStart . PHP_EOL . $item->source . $indent . ' ' . $escapeEnd . PHP_EOL . $indent; 415 }OutputTestCase.php https://bitbucket.org/chamilo/chamilo/ | PHP | 203 lines
36 * 37 * @package PHPUnit 38 * @subpackage Extensions 38 * @subpackage Extensions 39 * @author Sebastian Bergmann <sebastian@phpunit.de> 40 * @copyright 2002-2011 Sebastian Bergmann <sebastian@phpunit.de> 41 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 42 * @link http://www.phpunit.de/ 43 * @since File available since Release 3.0.0 48 * 49 * @package PHPUnit 50 * @subpackage Extensions 57 */ 58abstract class PHPUnit_Extensions_OutputTestCase extends PHPUnit_Framework_TestCase 59{sfYaml.php git://github.com/bobthecow/mustache.php.git | PHP | 136 lines
1<?php 2 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: sfYaml.class.php 8988 2008-05-15 20:24:26Z fabien $ 18 */ 49 /** 50 * Loads YAML into a PHP array. 51 * 52 * The load method, when supplied with a YAML stream (string or file), 53 * will do its best to convert YAML in a file into a PHP array. 54 * 62 * 63 * @return array The YAML converted to a PHP array 64 * 75 76 ob_start(); 77 $retval = include($input);output_handler.php http://textmotion.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 17 * @lastmodified $Date: $ 18 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 19 * 31 $this->gzoutput = true; 32 ob_start('ob_gzhandler'); 33 } else { 33 } else { 34 ob_start(); 35 }radius.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 104 lines
1<?php 2/** 14// r?cup?ration du contenu HTML 15ob_start(); 16?> 95</page> 96<?php 97$content = ob_get_clean(); 99// conversion HTML => PDF 100require_once (dirname(__FILE__) . '/../html2pdf.class.php'); 101$html2pdf = new HTML2PDF('P', 'A4', 'fr', false, 'ISO-8859-15');oscom.php git://github.com/osCommerce/oscommerce.git | PHP | 334 lines
1<?php 2/** 15 16<html dir="<?php echo $OSCOM_Language->getTextDirection(); ?>" lang="<?php echo $OSCOM_Language->getCode(); ?>"> 17 21 22<title><?php echo STORE_NAME . ($OSCOM_Template->hasPageTitle() ? ': ' . $OSCOM_Template->getPageTitle() : ''); ?></title> 23 23 24<link rel="icon" type="image/png" href="<?php echo OSCOM::getPublicSiteLink('images/store_icon.png'); ?>" /> 25 32 33<link rel="stylesheet" type="text/css" href="<?php echo OSCOM::getPublicSiteLink('templates/oscom/stylesheets/general.css'); ?>" /> 34 140 } else { 141 include('templates/' . DEFAULT_TEMPLATE . '/modules/boxes/' . $osC_Box->getCode() . '.php'); 142 }simplewizard.php http://xoopscube-modules.googlecode.com/svn/trunk/ | PHP | 225 lines
1<?php 2/** 4 * @package Legacy 5 * @version $Id: simplewizard.php,v 1.4 2008/09/25 15:12:47 kilica Exp $ 6 * @copyright Copyright 2005-2007 XOOPS Cube Project <http://xoopscube.sourceforge.net/> 92 if ($fname && file_exists($this->_template_path.'/'.$fname)) { 93 ob_start(); 94 include $this->_template_path.'/'.$fname;utility_helper.php git://github.com/daylightstudio/FUEL-CMS.git | PHP | 163 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2/** 45 { 46 ob_start(); 47 } 160 161/* End of file utility_helper.php */ 162/* Location: ./application/helpers/utility_helper.php */unicode.php git://github.com/joomla/joomla-platform.git | PHP | 269 lines
1<?php 2/** 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 192* surrogates or are outside the Unicode range 193* and raises a PHP error at level E_USER_WARNING 194* Note: this function has been modified slightly in this library to usevendors git://github.com/ornicar/lichess.git | PHP | 155 lines
61 if (2 !== count($parts)) { 62 exit(sprintf('The deps version file is not valid (near "%s")', $line).PHP_EOL); 63 } 70if (false === $deps) { 71 exit('The deps file is not valid ini syntax. Perhaps missing a trailing newline?'.PHP_EOL); 72} 86 if ('install' === $command || 'update' === $command) { 87 echo '> Installing/Updating '.$name.PHP_EOL; 88 107 if (!empty($status)) { 108 exit(sprintf('"%s" has local modifications. Please revert or commit/push them before running this command again.', $name).PHP_EOL); 109 } 144// php on windows can't use the shebang line from system() 145$interpreter = defined('PHP_WINDOWS_VERSION_BUILD') ? 'php.exe' : ''; 146FileExporter.class.php http://piwam.googlecode.com/svn/trunk/ | PHP | 137 lines
1<?php 2/** 10 * 11 * @see http://fr.php.net/manual/fr/book.outcontrol.php 12 * @author Adrien Mogenet <adrien.mogenet@chilipoker.com> 63 //ob_end_clean(); 64 ob_start(); 65 $this->_isBufferOpen = true; 130 } 131 $result .= PHP_EOL; 132View.php git://github.com/kohana/core.git | PHP | 362 lines
1<?php defined('SYSPATH') OR die('No direct script access.'); 2/** 2/** 3 * Acts as an object wrapper for HTML pages with embedded PHP, called "views". 4 * Variables can be assigned with the view object and referenced locally within 56 // Capture the view output 57 ob_start(); 58 202 * 203 * [!!] `NULL` variables are not considered to be set by [isset](http://php.net/isset). 204 *BizController.php http://openbiz-cubi.googlecode.com/svn/trunk/ | PHP | 444 lines
1<?PHP 2 3/** 4 * PHPOpenBiz Framework 5 * 5 * 6 * This file contain BizController class, the C from MVC of phpOpenBiz framework, 7 * and execute it. So bootstrap script simply include this file. For sample of 7 * and execute it. So bootstrap script simply include this file. For sample of 8 * bootstrap script please see controller.php under baseapp/bin 9 * 16 * @copyright Copyright (c) 2005-2011, Rocky Swen 17 * @license http://www.opensource.org/licenses/bsd-license.php 18 * @link http://www.phpopenbiz.org/ 18 * @link http://www.phpopenbiz.org/ 19 * @version $Id: BizController.php 5321 2013-03-21 07:20:24Z rockyswen@gmail.com $ 20 */Buffer.class.php git://github.com/recess/recess.git | PHP | 134 lines
1<?php 2Library::import('recess.framework.helpers.blocks.Block'); 96 array_push(self::$bufferModes, $mode); 97 ob_start(); 98 }Hdinstaller_Renderer_Php.php http://xoopscube-modules.googlecode.com/svn/trunk/ | PHP | 476 lines
1<?php 2class Hdinstaller_Renderer_Php extends Ethna_Renderer 15 */ 16 function Hdinstaller_Renderer_Php(&$c) 17 { 46 if (is_readable($this->template)){ 47 ob_start(); 48 include $this->template;quangcao.php http://xoxoshop2010.googlecode.com/svn/trunk/ | PHP | 123 lines
1<?php ob_start(); session_start(); ob_clean(); 2?> 21 <td> 22 <?php 23 if(!isset($_SESSION['userid'])){ 24 ?> 25 <form action="login.php" method="post"> 26 Tŕi Kho?n:<input type=text name=username size=7 /> 31 </form> 32 <?php 33 }else{ 35 if($_SESSION['userid']=='admin') 36 echo "<br /><a href='admin/index.php'>Trang Qu?n Tr?</a>"; 37 echo "<br /><a href='logout.php'>Thoát</a>";response.php git://github.com/joomla/joomla-platform.git | PHP | 335 lines
1<?php 2/** 204 205 ob_start(); 206modevolutionconfigreader.class.php git://github.com/modxcms/revolution.git | PHP | 54 lines
1<?php 2/* 9 */ 10require_once strtr(realpath(MODX_SETUP_PATH.'includes/config/modconfigreader.class.php'),'\\','/'); 11/** 25 26 @ob_start(); 27 $included = @ include MODX_INSTALL_PATH . 'manager/includes/config.inc.php';ScopeIndentSniff.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 99 lines
1<?php 2/** 7 * @category PHP 8 * @package PHP_CodeSniffer 9 * @author Greg Sherwood <gsherwood@squiz.net> 11 * @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600) 12 * @license http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence 13 * @version CVS: $Id: ScopeIndentSniff.php 254096 2008-03-03 03:28:15Z squiz $ 13 * @version CVS: $Id: ScopeIndentSniff.php 254096 2008-03-03 03:28:15Z squiz $ 14 * @link http://pear.php.net/package/PHP_CodeSniffer 15 */ 18{ 19 throw new PHP_CodeSniffer_Exception('Class Generic_Sniffs_WhiteSpace_ScopeIndentSniff not found'); 20} 34 * @version Release: 1.2.2 35 * @link http://pear.php.net/package/PHP_CodeSniffer 36 */unit_test.php http://68kb.googlecode.com/svn/trunk/ | PHP | 122 lines
1<?php 2/* 4 5 test.php 6 the test runner - loads all needed files, 22 23require_once 'simpletest/unit_tester.php'; 24require_once 'simpletest/web_tester.php'; 24require_once 'simpletest/web_tester.php'; 25require_once 'simpletest/reporter.php'; 26 30 if (preg_match('/_controller/', $file)) { 31 $controller = preg_replace('#' . APP_DIR . '/tests/controllers/([a-zA-Z0-9_\-])_controller_test.php#', '$1', $file); 32 $implementation = APP_DIR . '/controllers'.$controller.'.php'; 33 } elseif (preg_match('/_model/', $file)) { 34 $model = preg_replace('#' . APP_DIR . '/tests/models/([a-zA-Z0-9_\-])_model_test.php#', '$1', $file); 35 $implementation = APP_DIR . '/models/'.$model.'_model.php';tabs_helper.php git://github.com/joindin/joind.in.git | PHP | 559 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 16 * 17 * PHP version 5 18 * 207 } 208 ob_start(); 209 $contentList = array(); 218 ?> 219 <div id="<?php echo $this->_containerName; ?>-tabs" class="ui-tabs 220 ui-widget ui-widget-content ui-corner-all"> 222 ui-widget-header ui-corner-all"> 223 <?php 224 foreach ($this->_tabs as $tab) {example_controller.php https://bitbucket.org/wanwizard/modular-ci/ | PHP | 102 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2 11 12 ob_start(); 13 var_dump(func_get_args()); 27 { 28 ob_start(); 29 var_dump(func_get_args()); 51 52 ob_start(); 53 var_dump(func_get_args()); 63 { 64 ob_start(); 65 // if you use sections, configs are stored in the config array 85 86 ob_start(); 87 var_dump($this->$thisclass->lang('dynamic')->line('example'));Filter.php http://jfxcms.googlecode.com/svn/ | PHP | 319 lines
1<?php 2############### COPYLEFT GPLv3 LICENSE ############### 49 * Checks PHP code to see if it validates. 50 * Accepts: PHP code as string with no <?php ?> brackets 51 * Returns: true if code evaluates, false on error 51 * Returns: true if code evaluates, false on error 52 * Sourced from /admin/edituserplugin.php 17 November 2008 53 * @param string $code 55 */ 56 public static function checkPHPCode($code){ 57 $validinfo = true; 71 srand(); 72 ob_start(); 73 if (eval('function testfunction'.rand().'() {'.$code.'}') === FALSE) 236 * 237 * This library requires PHP4 238 *ClassFrontendTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 10require_once 'Zend/Cache.php'; 11require_once 'Zend/Cache/Frontend/Class.php'; 12require_once 'Zend/Cache/Backend/Test.php'; 14/** 15 * PHPUnit test case 16 */ 16 */ 17require_once 'PHPUnit/Framework/TestCase.php'; 18 39 */ 40class Zend_Cache_ClassFrontendTest extends PHPUnit_Framework_TestCase { 41 104 { 105 ob_start(); 106 ob_implicit_flush(false);admin-install-plugin.php http://jojocms.googlecode.com/svn/trunk/ | PHP | 74 lines
1<?php 2/** 41/* Force the plugin cache to be refreshed */ 42Jojo::findFiles('setup.php', true); 43 45$isAdmin = true; 46ob_start(); 47include(_BASEDIR . '/includes/setup.php');