100+ results results for 'php log repo:sunil_nextbits/magento2' (769 ms)
1<?php 2/** 31$_lang['perm.delete_document_desc'] = 'Untuk menghapus atau menghapus sumber daya.'; 32$_lang['perm.delete_eventlog_desc'] = 'Untuk mengosongkan Log peristiwa.'; 33$_lang['perm.delete_plugin_desc'] = 'Untuk menghapus atau menghapus plugin.'; 58$_lang['perm.empty_cache_desc'] = 'Untuk mengosongkan cache situs.'; 59$_lang['perm.error_log_erase_desc'] = 'Untuk menghapus log kesalahan.'; 60$_lang['perm.error_log_view_desc'] = 'Untuk melihat log kesalahan.'; 80$_lang['perm.logout_desc'] = 'Untuk dapat melakukan logout sebagai pengguna.'; 81$_lang['perm.logs_desc'] = 'Untuk melihat log, seperti log kesalahan dan manajer.'; 82$_lang['perm.menu_reports_desc'] = 'Menampilkan item menu paling atas "Laporan".'; 180$_lang['perm.view_element_desc'] = 'Untuk mendapatkan daftar unsur atau elemen kelas.'; 181$_lang['perm.view_eventlog_desc'] = 'Untuk melihat Log peristiwa.'; 182$_lang['perm.view_offline_desc'] = 'Untuk dapat melihat situs ketika sedang offline status.';index.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 363 lines
1<?php 2# Manage user preferences 22 23# we need to define the theme before loading the pre.php init script, 24# otherwise the page needs to be reloaded for the change to take effect. 25# see bug #1987 26require_once('../../include/sane.php'); 27extract(sane_import('post', 40 41require_once('../../include/init.php'); 42require_once('../../include/timezones.php'); 48 49session_require(array('isloggedin'=>1)); 50 139 140print '<form action="'.$_SERVER["PHP_SELF"].'" method="post">'; 141AdvancedServerDatabaseConfig.cs https://openHistorian.svn.codeplex.com/svn | C# | 388 lines
10// 11// http://www.opensource.org/licenses/eclipse-1.0.php 12// 272 ToArchiveListSettings(settings.ArchiveList); 273 settings.RolloverLog.LogPath = m_mainPath; 274 settings.KeyType = new TKey().GenericTypeGuid; 341 342 rollover.LogPath = m_mainPath; 343 rollover.ExecuteTimer = 1000; 368 listSettings.AddPaths(FinalWritePaths); 369 listSettings.LogSettings.LogPath = m_mainPath; 370 }SdwApi.java https://jonathan.svn.codeplex.com/svn | Java | 359 lines
50 this.m_Client = Client.create (config); 51 this.m_Service = this.m_Client.resource (UriBuilder.fromUri ("http://seekdeepwithin.com/code/api.php").build ()); 52 } 167 } catch (UniformInterfaceException exception) { 168 Dialogs.showErrorDialog (MainController.getInstance ().getStage (), 169 "Unable to download library book information from the server! Please try again later.",ko.js http://avblog.googlecode.com/svn/trunk/ | JavaScript | 502 lines
146BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING 147DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", //MISSING 148 175 176// Image Dialog 177DlgImgTitle : "??? ??", 326 327// Replace Dialog 328DlgReplaceTitle : "???", 335 336// Paste Operations / Dialog 337PasteErrorPaste : "????? ??????? ???? ??? ??? ? ????. ??? ??? ??????. (Ctrl+V).", 494 495// About Dialog 496DlgAboutAboutTab : "About",OLE_Root.php https://PHPExcel.svn.codeplex.com/svn | PHP | 482 lines
11// | http://www.php.net/license/2_02.txt. | 12// | If you did not receive a copy of the PHP license and are unable to | 13// | obtain it through the world-wide-web, please send a note to | 22 23require_once 'PHPExcel/Shared/OLE/OLE_PPS.php'; 24 31*/ 32class PHPExcel_Shared_OLE_PPS_Root extends PHPExcel_Shared_OLE_PPS 33 { 162 $iSmallLen = $iSBcnt * $this->_SMALL_BLOCK_SIZE; 163 $iSlCnt = floor($this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE); 164 $iSBDcnt = floor($iSBcnt / $iSlCnt) + (($iSBcnt % $iSlCnt)? 1:0); 183 { 184 $iWk = log($i2)/log(2); 185 return ($iWk > floor($iWk))? floor($iWk)+1:$iWk;index.php http://pixie-cms.googlecode.com/svn/trunk/ | PHP | 548 lines
43/* Check for config */ 44if ((!file_exists('admin/config.php')) or (filesize('admin/config.php') < 10)) { 45 /* redirect to installer */ 88 } 89 /* New! Built in php function. Tell php what the server timezone is so that we can use php 5's rewritten time and date functions with the correct time and without error messages */ 90 date_default_timezone_set("$server_timezone"); 91} 92include_once 'admin/lib/lib_logs.php'; 93/* Start the runtime clock */ 110if (strnatcmp(phpversion(), '5.0.0') >= 0) { 111 /* Load the php5 version of simplepie if you are running php5 */ 112 include_once 'admin/lib/lib_simplepie_php5.php'; 159 if (file_exists("admin/themes/{$site_theme}/theme.php")) { 160 /* New! Your custom theme file must be named theme.php instead of index.php */ 161 include_once("admin/themes/{$site_theme}/theme.php");board.controller.php http://xe-board.googlecode.com/svn/trunk/ | PHP | 354 lines
1<?php 2 /** 22 if(!$this->grant->write_document) return new Object(-1, 'msg_not_permitted'); 23 $logged_info = Context::get('logged_info'); 24 54 $this->module_info->admin_mail = ''; 55 $obj->member_srl = -1*$logged_info->member_srl; 56 $obj->email_address = $obj->homepage = $obj->user_id = ''; 153 if(!$this->grant->write_comment) return new Object(-1, 'msg_not_permitted'); 154 $logged_info = Context::get('logged_info'); 155 169 170 $obj->member_srl = -1*$logged_info->member_srl; 171 $obj->email_address = $obj->homepage = $obj->user_id = ''; 324 325 $logged_info = Context::get('logged_info'); 326WebSocketParserD08.java git://pkgs.fedoraproject.org/jetty | Java | 389 lines
11 * The Apache License v2.0 is available at 12 * http://www.opensource.org/licenses/apache2.0.php 13 * 24// The Apache License v2.0 is available at 25// http://www.opensource.org/licenses/apache2.0.php 26// You may elect to redistribute this code under either of these licenses. 35import org.eclipse.jetty.io.EndPoint; 36import org.eclipse.jetty.util.log.Log; 37import org.eclipse.jetty.util.log.Logger; 47{ 48 private static final Logger LOG = Log.getLogger(WebSocketParserD08.class); 49 197 { 198 LOG.debug(e); 199 return (total_filled+events)>0?(total_filled+events):-1;auto_search_table_shell.php http://prohits.googlecode.com/svn/trunk/ | PHP | 376 lines
38$tableName = ''; 39$logfile = '../../logs/search.log'; 40$theTask_arr = array(); 59 60$php_command_location = PHP_PATH; 61//maybe it is remote connect prohits server--------- 142 143checkLogSize($logfile, 2000); 144$start_time = @date("Y-m-j G:i:s"); 237 //} 238 $tpp_theURL = str_replace("autoSearch/auto_search_table_shell.php","",$tpp_theURL) . "tppTask/tpp_task_shell.php"; 239 $tpp_theURL .='?tableName='.$tableName.'&tppTaskID='.$theTask_arr['RunTPP']; 338 writeLog("Get new created files from $tableName machine to Prohits."); 339 $com_backup = PHP_PATH. " " .dirname(dirname(__FILE__))."/autoBackup/raw_backup_shell.php"." 0 ". $tableName; 340 system($com_backup);taxonomy.post_update.php git://github.com/drupal/drupal.git | PHP | 366 lines
10use Drupal\Core\Field\BaseFieldDefinition; 11use Drupal\Core\Logger\RfcLogLevel; 12use Drupal\Core\Site\Settings; 178 'revision_created' => 'revision_created', 179 'revision_log_message' => 'revision_log_message', 180 ]; 250 $args = [ 251 ':url' => Url::fromRoute('dblog.overview', [], ['query' => ['type' => ['update'], 'severity' => [RfcLogLevel::WARNING]]]) 252 ->setOption('base_url', $base_url) 255 ]; 256 return new PluralTranslatableMarkup($count, 'Taxonomy terms have been converted to be revisionable. One term with data integrity issues was restored. More details have been <a href=":url">logged</a>.', 'Taxonomy terms have been converted to be revisionable. @count terms with data integrity issues were restored. More details have been <a href=":url">logged</a>.', $args); 257 } 258 else { 259 return new PluralTranslatableMarkup($count, 'Taxonomy terms have been converted to be revisionable. One term with data integrity issues was restored. More details have been logged.', 'Taxonomy terms have been converted to be revisionable. @count terms with data integrity issues were restored. More details have been logged.'); 260 }actions.c git://github.com/DimaSmirnov/Archlinux-downgrader.git | C | 352 lines
148 149 for (;pacmanlog_length>0;pacmanlog_length--) { 150 if (!strcmp(package,pkgs[pacmanlog_length].name) && !strcmp("upgraded",pkgs[pacmanlog_length].action)) { // found necessary package 150 if (!strcmp(package,pkgs[pacmanlog_length].name) && !strcmp("upgraded",pkgs[pacmanlog_length].action)) { // found necessary package 151 if (strcmp(pkgs[pacmanlog_length].cur_version, pkgs[pacmanlog_length].prev_version)) { // if the same version - search next 152 strcpy (full_path_to_packet,"/var/cache/pacman/pkg/"); 242 loglines_counter=0; 243 pFile=fopen("/var/log/pacman.log","r"); 244 while (!feof(pFile)) { // Count lines q-ty in pacman.log 281 pacmanlog_length =loglines_counter; 282 //printf ("pacman log contain %d lines\n", pacmanlog_length); //DEBUG 283} 292 293 openlog("downgrader", LOG_PID|LOG_CONS, LOG_USER); 294 alpm_handle = NULL;odbc_arginfo.h https://github.com/php/php-src.git | C Header | 377 lines
1/* This is a generated file, edit the .stub.php file instead. 2 * Stub hash: 27a50ba79ed632721ee458527ef543e4b44ee897 */ 41 42#if defined(PHP_ODBC_HAVE_FETCH_HASH) 43ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_odbc_fetch_object, 0, 1, stdClass, MAY_BE_FALSE) 48 49#if defined(PHP_ODBC_HAVE_FETCH_HASH) 50ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_odbc_fetch_array, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE) 152 ZEND_ARG_INFO(0, odbc) 153 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, catalog, IS_STRING, 1, "null") 154 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, schema, IS_STRING, 1, "null") 160 ZEND_ARG_INFO(0, odbc) 161 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, catalog, IS_STRING, 1, "null") 162 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, schema, IS_STRING, 1, "null") 173 ZEND_ARG_INFO(0, odbc) 174 ZEND_ARG_TYPE_INFO(0, catalog, IS_STRING, 1) 175 ZEND_ARG_TYPE_INFO(0, schema, IS_STRING, 0)bltGrHairs.c git://pkgs.fedoraproject.org/blt | C | 545 lines
6 * 7 * Copyright 1993-1998 Lucent Technologies, Inc. 8 * 149 } 150 XDrawSegments(graphPtr->display, Tk_WindowId(graphPtr->tkwin), 151 chPtr->gc, chPtr->segArr, 2); 234 if (!graphPtr->crosshairs->hidden) { 235 TurnOnHairs(graphPtr, graphPtr->crosshairs); 236 } 243 if (!graphPtr->crosshairs->hidden) { 244 TurnOffHairs(graphPtr->tkwin, graphPtr->crosshairs); 245 } 325 326 if (Blt_ConfigureWidgetComponent(graphPtr->interp, graphPtr->tkwin, 327 "crosshairs", "Crosshairs", configSpecs, 0, (char **)NULL,logs.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 336 lines
24$sql = "SELECT SQL_CALC_FOUND_ROWS * FROM `" . $db_config['prefix'] . "_logs` WHERE `id`!=0"; 25$base_url = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op; 26 41 { 42 nv_insert_logs( NV_LANG_DATA, $module_name, sprintf ( $lang_module['filter_check_log'], $op ), $admin_info['username'] . " - " . $admin_info['userid'], 0 ); 43 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op ); 81 $to = mktime( 0, 0, 0, $match[2], $match[1], $match[3] ); 82 $sql .= " AND `log_time` <= " . $to; 83 $base_url .= "&to=" . $data_search['to']; 157{ 158 $sql .= " ORDER BY `log_time` " . $order['time']['order']; 159} 315 $xtpl->assign( 'CLASS', $a % 2 == 1 ? " class=\"second\"" : "" ); 316 $xtpl->assign( 'DEL_URL', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=log&" . NV_OP_VARIABLE . "=logs_del&id=" . $data_i['id'] ); 317 $xtpl->assign( 'BACK_URL', $base_url );tabby.js https://code.google.com/p/quickdiagrams/ | JavaScript | 269 lines
63 if (16 == $.fn.tabby.catch_kc(e)) pressed.shft = false; 64 }).bind('blur',function (e) { // workaround for Opera -- http://www.webdeveloper.com/forum/showthread.php?p=806588 65 if (9 == pressed.last) $(e.target).one('focus',function (e) {pressed.last = null;}).get(0).focus(); 76 function debug($obj) { 77 if (window.console && window.console.log) 78 window.console.log('textarea count: ' + $obj.size());silcconnauth-silc_connauth_free.html git://pkgs.fedoraproject.org/libsilc | HTML | 221 lines
127 <a href=silctime.html><img src=box2.gif border=0 alt=>Time Utility Functions</a><br /> 128 <a href=silclog.html><img src=box2.gif border=0 alt=>Logging Interface</a><br /> 129 <a href=silcconfig.html><img src=box2.gif border=0 alt=>Config File Interface</a><br /> 131 <a href=silchttpserver.html><img src=box2.gif border=0 alt=>SILC HTTP Server Interface</a><br /> 132 <a href=silchttpphp.html><img src=box2.gif border=0 alt=>SILC HTTP PHP Translator</a><br /> 133admin-widgets.php git://github.com/q2a/question2answer.git | PHP | 346 lines
1<?php 2/* 18 19 More about this license: http://www.question2answer.org/license.php 20*/ 26 27require_once QA_INCLUDE_DIR . 'app/admin.php'; 28require_once QA_INCLUDE_DIR . 'db/selects.php'; 88 89 'login' => 'users/login_title', 90 'register' => 'users/register_title', 133elseif (qa_clicked('dosavewidget')) { 134 require_once QA_INCLUDE_DIR . 'db/admin.php'; 135KurogoSite.php git://github.com/modolabs/Kurogo-Mobile-Web.git | PHP | 319 lines
1<?php 2 195 public function getBaseLogDir() { 196 return $this->replaceDir(Kurogo::arrayVal($this->initArgs, 'BASE_LOG_DIR', $this->siteDir . DIRECTORY_SEPARATOR . 'logs')); 197 } 199 public function getLogDir() { 200 return $this->replaceDir(Kurogo::arrayVal($this->initArgs, 'LOG_DIR', $this->siteDir . DIRECTORY_SEPARATOR . 'logs')); 201 }jquery.rating.js http://xbat-devel.googlecode.com/svn/trunk/ | JavaScript | 241 lines
4 * Dual licensed under the MIT and GPL licenses: 5 * http://www.opensource.org/licenses/mit-license.php 6 * http://www.gnu.org/licenses/gpl.html 10*//* 11 Based on http://www.phpletter.com/Demo/Jquery-Star-Rating-Plugin/ 12 Original comments: 12 Original comments: 13 This is hacked version of star rating created by <a href="http://php.scripts.psu.edu/rja171/widgets/rating.php">Ritesh Agrawal</a> 14 It thansform a set of radio type input elements to star rating type and remain the radio element name and value, 15 so could be integrated with your form. It acts as a normal radio button. 16 modified by : Logan Cai (cailongqun[at]yahoo.com.cn) 17*/ 169 170 ////if(window.console) console.log(['###', n, this.checked, $.rating.groups[n].initial]); 171 if(this.checked) $.rating.groups[n].current = eStar;SqlController.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 324 lines
1<?php 2declare(strict_types=1); 3 4namespace PhpMyAdmin\Controllers; 5 5 6use PhpMyAdmin\CheckUserPrivileges; 7use PhpMyAdmin\Config\PageSettings; 7use PhpMyAdmin\Config\PageSettings; 8use PhpMyAdmin\Core; 9use PhpMyAdmin\DatabaseInterface; 9use PhpMyAdmin\DatabaseInterface; 10use PhpMyAdmin\Html\Generator; 11use PhpMyAdmin\Message; 11use PhpMyAdmin\Message; 12use PhpMyAdmin\ParseAnalyze; 13use PhpMyAdmin\Response;modResource.class.php git://github.com/Dolibarr/dolibarr.git | PHP | 321 lines
1<?php 2/* Copyright (C) 2013-2014 Jean-François Ferry <jfefe@aternatik.fr> 23 * \brief Resource module descriptor. 24 * \file core/modules/modResource.class.php 25 * \ingroup resource 27 */ 28include_once DOL_DOCUMENT_ROOT."/core/modules/DolibarrModules.class.php"; 29 77 $this->picto = 'resource'; // mypicto@resource 78 // Defined all module parts (triggers, login, substitutions, menus, css, etc...) 79 // for default path (eg: /resource/core/xxxxx) (0=disable, 1=enable) 80 // for specific path of parts (eg: /resource/core/modules/barcode) 81 // for specific css file (eg: /resource/css/resource.css.php) 82 $this->module_parts = array(); 87 88 // Config pages. Put here list of php pages 89 // stored into resource/admin directory, used to setup module.GroupBenchmarkTest.php https://bitbucket.org/zurmo/zurmo/ | PHP | 351 lines
1<?php 2 /********************************************************************************* 31 * these Appropriate Legal Notices must retain the display of the Zurmo 32 * logo and Zurmo copyright notice. If the display of the logo is not reasonably 33 * feasible for technical reasons, the Appropriate Legal Notices must display the wordsncluasoap.lua git://github.com/leandrojsa/weblua.git | Lua | 281 lines
48--processamento da tabela de parâmetros a serem passados a um WebService, 49--pois WSs PHP feitos como a biblioteca NuSOAP, não 50--verificam o nome dos parâmetros, e sim a ordem em que são passados. 63--quando o método no Web Service a ser chamado possuir um vetor como parâmetro. 64--Logo, se existir um parâmetro, no método do WS, 65--de nome vet e do tipo array, a função tableToXml gerará 99 --Senão, considera que a table está em formato de struct, 100 --logo, possui chaves nomeadas. Desta forma, cria uma tag com o nome da table 101 --e inclui seus elementos como sub-tags contendo seus respectivos nomes. 116 --deve-se incluir uma letra qualquer antes do nome da chave, pois alguns 117 --WS (como os em PHP) não suportam chaves numéricas no XML. 118 --Isto é feito apenas quando a função é chamada para gerar o trecho XML paraapi_functions.php https://github.com/openaustralia/twfy.git | PHP | 371 lines
2 3include_once '../../../../phplib/rabx.php'; 4 122 123function api_log_call($key) { 124 if ($key=='DOCS') return; 190 $out .= '<result>' . api_output_xml($arr) . '</result>'; 191 } elseif ($output == 'php') { 192 $out = api_output_php($arr); 215 $type = 'text/xml'; 216 } elseif ($o == 'php') { 217 $type = 'text/php'; 233 234function api_output_php($arr) { 235 $out = serialize($arr);users.php git://github.com/q2a/question2answer.git | PHP | 417 lines
58 qa_db_query_sub( 59 'INSERT INTO ^users (created, createip, email, passhash, level, handle, loggedin, loginip) ' . 60 'VALUES (NOW(), UNHEX($), $, $, #, $, NOW(), UNHEX($))', 66 qa_db_query_sub( 67 'INSERT INTO ^users (created, createip, email, passsalt, passcheck, level, handle, loggedin, loginip) ' . 68 'VALUES (NOW(), UNHEX($), $, $, UNHEX($), #, $, NOW(), UNHEX($))', 288 */ 289function qa_db_user_logged_in($userid, $ip) 290{ 291 qa_db_query_sub( 292 'UPDATE ^users SET loggedin=NOW(), loginip=UNHEX($) WHERE userid=$', 293 bin2hex(@inet_pton($ip)), $userid 336 return qa_db_read_all_assoc(qa_db_query_sub( 337 'SELECT ^userlogins.userid, handle, email FROM ^userlogins LEFT JOIN ^users ON ^userlogins.userid=^users.userid ' . 338 'WHERE source=$ AND identifiermd5=UNHEX($) AND identifier=$',SiteNavigationMenuServiceSoap.java git://github.com/liferay/liferay-portal.git | Java | 397 lines
16 17import com.liferay.portal.kernel.log.Log; 18import com.liferay.portal.kernel.log.LogFactoryUtil; 122 catch (Exception exception) { 123 _log.error(exception, exception); 124 228 catch (Exception exception) { 229 _log.error(exception, exception); 230 276 catch (Exception exception) { 277 _log.error(exception, exception); 278 393 394 private static Log _log = LogFactoryUtil.getLog( 395 SiteNavigationMenuServiceSoap.class);LittleSMS.pm git://github.com/dapi/littlesms-perl.git | Perl | 362 lines
12 13 my $l = LittleSMS->new(@ARGV); # login, key, useSSL, test, api_url 14 25 26 new LittleSMS(@ARGV); # login, key, useSSL, test, api_url 27 41 42=item LittleSMS->new(login, key, useSSL, test, api_url) 43 43 44Все параметры, кроме login и key, указывать не обязательно. А api_url 45даже не нужно. 136 137Взял пример с PHP класса http://github.com/pycmam/littlesms/blob/master/LittleSMS.class.php 138от Рустама Миниахметова <pycmam@gmail.com>index.html https://gitlab.com/BGCX261/zkjet-git.git | HTML | 443 lines
75 <em>choose example in:</em> 76 <button onclick="cp1.edit('cp-php','php')">PHP</button> 77 <button onclick="cp1.edit('cp-javascript','javascript')">JavaScript</button> 85<textarea id="cp1" class="codepress php" style="width:700px;height:300px;" wrap="off"> 86<?php 87// Very simple implementation of server side script 229<p> 230 You may also want to open files from server. You'll have to write a server side script and replace the JavaScript call on codepress.js from codepress.html to codepress.php (if your server side language is PHP, of course). 231</p --> 234<p> 235 CodePress is distributed under the <a href="http://www.opensource.org/licenses/lgpl-license.php">LGPL</a>. If your software is <a href="http://www.gnu.org/philosophy/license-list.html#GPLCompatibleLicenses">compatible</a> with this licence or it is under <a href="http://creativecommons.org/">Creative Commons</a>, you can use it as you want. Just keep the credits somewhere around. 236</p> 401 <em>choose language:</em> 402 <button onclick="edit('codepress.php',this)" id="default">PHP</button> 403 <button onclick="edit('FileManager.java',this)">Java</button>save_QueryBuilder.class.php http://antilophpe.googlecode.com/svn/ | PHP | 317 lines
1<?php 2/** 2/** 3 * File QueryBuilder.class.php 4 * 70 71 if((substr($Object_tableName, -3, 3)!='Log')&&(substr($Object_tableName, -4, 4)!='File')) $altro=', 0'; 72namespace_zend___log.html http://openbiz-cubi.googlecode.com/svn/trunk/ | HTML | 98 lines
49<dl class="version"><dt><b>Version:</b></dt><dd></dd></dl> 50<dl class="rcs"><dt><b>Id:</b></dt><dd><a class="el" href="_suppress_8php_source.html">Suppress.php</a> 16219 2009-06-21 19:45:39Z thomas </dd></dl> 51<p>Formatter Copyright (c) 2005-2009 <a class="el" href="namespace_zend.html">Zend</a> Technologies USA Inc. (<a href="http://www.zend.com">http://www.zend.com</a>) <a href="http://framework.zend.com/license/new-bsd">http://framework.zend.com/license/new-bsd</a> New BSD License </p> 78<dl class="version"><dt><b>Version:</b></dt><dd></dd></dl> 79<dl class="rcs"><dt><b>Id:</b></dt><dd><a class="el" href="_mock_8php_source.html">Mock.php</a> 16971 2009-07-22 18:05:45Z mikaelkael </dd></dl> 80<p>Writer Copyright (c) 2005-2009 <a class="el" href="namespace_zend.html">Zend</a> Technologies USA Inc. (<a href="http://www.zend.com">http://www.zend.com</a>) <a href="http://framework.zend.com/license/new-bsd">http://framework.zend.com/license/new-bsd</a> New BSD License </p> 81<dl class="version"><dt><b>Version:</b></dt><dd></dd></dl> 82<dl class="rcs"><dt><b>Id:</b></dt><dd><a class="el" href="_null_8php_source.html">Null.php</a> 16219 2009-06-21 19:45:39Z thomas </dd></dl> 83<p>Writer Copyright (c) 2005-2009 <a class="el" href="namespace_zend.html">Zend</a> Technologies USA Inc. (<a href="http://www.zend.com">http://www.zend.com</a>) <a href="http://framework.zend.com/license/new-bsd">http://framework.zend.com/license/new-bsd</a> New BSD License </p> 87<dl class="version"><dt><b>Version:</b></dt><dd></dd></dl> 88<dl class="rcs"><dt><b>Id:</b></dt><dd><a class="el" href="_syslog_8php_source.html">Syslog.php</a> 16971 2009-07-22 18:05:45Z mikaelkael </dd></dl> 89<p>Copyright (c) 2005-2009 <a class="el" href="namespace_zend.html">Zend</a> Technologies USA Inc. (<a href="http://www.zend.com">http://www.zend.com</a>) <a href="http://framework.zend.com/license/new-bsd">http://framework.zend.com/license/new-bsd</a> New BSD License </p> 90<dl class="version"><dt><b>Version:</b></dt><dd></dd></dl> 91<dl class="rcs"><dt><b>Id:</b></dt><dd><a class="el" href="_log_8php_source.html">Log.php</a> 18951 2009-11-12 16:26:19Z alexander </dd></dl> 92</div>header-creative.php https://bitbucket.org/ensenterprises/vivo-city.git | PHP | 151 lines
10 <?php if( mfn_opts_get('social-twitter') ): ?><li class="twitter"><a target="_blank" href="<?php mfn_opts_show('social-twitter'); ?>" title="Twitter"><i class="icon-twitter"></i></a></li><?php endif; ?> 11 <?php if( mfn_opts_get('social-vimeo') ): ?><li class="vimeo"><a target="_blank" href="<?php mfn_opts_show('social-vimeo'); ?>" title="Vimeo"><i class="icon-vimeo"></i></a></li><?php endif; ?> 12 <?php if( mfn_opts_get('social-youtube') ): ?><li class="youtube"><a target="_blank" href="<?php mfn_opts_show('social-youtube'); ?>" title="YouTube"><i class="icon-play"></i></a></li><?php endif; ?> 21 <?php if( mfn_opts_get('social-xing') ): ?><li class="xing"><a target="_blank" href="<?php mfn_opts_show('social-xing'); ?>" title="Xing"><i class="icon-xing"></i></a></li><?php endif; ?> 22 <?php if( mfn_opts_get('social-rss') ): ?><li class="rss"><a target="_blank" href="<?php echo get_bloginfo('rss2_url'); ?>" title="RSS"><i class="icon-rss"></i></a></li><?php endif; ?> 23 </ul> 66 } else { 67 $logo_src = mfn_opts_get( 'logo-img', THEME_URI .'/images/logo/logo.png' ); 68 } 141 <?php if( mfn_opts_get('social-behance') ): ?><li class="behance"><a target="_blank" href="<?php mfn_opts_show('social-behance'); ?>" title="Behance"><i class="icon-behance"></i></a></li><?php endif; ?> 142 <?php if( mfn_opts_get('social-vkontakte') ): ?><li class="vkontakte"><a target="_blank" href="<?php mfn_opts_show('social-vkontakte'); ?>" title="VKontakte"><i class="icon-vkontakte"></i></a></li><?php endif; ?> 143 <?php if( mfn_opts_get('social-viadeo') ): ?><li class="viadeo"><a target="_blank" href="<?php mfn_opts_show('social-viadeo'); ?>" title="Viadeo"><i class="icon-viadeo"></i></a></li><?php endif; ?> 144 <?php if( mfn_opts_get('social-xing') ): ?><li class="xing"><a target="_blank" href="<?php mfn_opts_show('social-xing'); ?>" title="Xing"><i class="icon-xing"></i></a></li><?php endif; ?> 145 <?php if( mfn_opts_get('social-rss') ): ?><li class="rss"><a target="_blank" href="<?php echo get_bloginfo('rss2_url'); ?>" title="RSS"><i class="icon-rss"></i></a></li><?php endif; ?> 146 </ul>lang_pt_PT.inc.php git://github.com/s9y/Serendipity.git | PHP | 74 lines
1<?php # $Id: lang_ja.inc.php,v 1.4 2005/05/17 11:37:42 garvinhicking Exp $ 2 3########################################################################## 4# serendipity - another blogger... # 5########################################################################## 23@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_CODE', 'Marca texto texto entre <code> e </code> como cзdigo. Usando <code type=".."> pode activar formataусo (e.g. para PHP). Activo por omissсo.'); 24@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_PHPCODE', 'Marca e formata texto entre <php> e </php> como cзdigo php e adiciona etiquetas abertas de PHP . Activo por omissсo.'); 25@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_HTML', 'Permite escrever cзdigo HTML entre <html> e </html>. Cuidado que JS tambжm ж possьvel! Se usar isto, nсo use codificaусo de comentрrios! Inactivo por omissсo. Recomendado manter inactivo.'); // Review 26@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_RAW', 'Texto entre `` e `` nсo ┤e interpretado por quaisquer outras regras. Activo por omissсo.'); 27@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_INCLUDE', 'Permite incluir e correr cзdigo PHP com a sьntaxe [[include /caminho/para/script.php]]. O resultado ж interpretado pelas regras de codificaусo. Cuidado, risco de seguranуa! Se usar isto, nсo use codificaусo de comentрrios! Inactivo por omissсo. Recomendado manter inactivo.'); 28@define('PLUGIN_EVENT_TEXTWIKI_RULE_INCLUDE_DESC_BASE', 'O directзrio de base para os seus scripts. Por omissсo "/caminho/para/scripts/". Se deixar em branco e ligar include sз pode usar caminhos absolutos.'); 35@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_TABLE', 'permite criar tabelas. Sз usar para linhas completas. Sьntaxe: "|| Cжlula 1 || Cжlula 2 || Cжlula 3 ||". Activo por omissсo.'); 36@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_EMBED', 'Permite incluir e correr cзdigo PHP com a sьntaxe [[embed /caminho/para/script.php]]. O resultado nсo ж interpretado pelas regras de codificaусo. Cuidado, risco de seguranуa! Se usar isto, nсo use codificaусo de comentрrios! Inactivo por omissсo. Recomendado manter inactivo.'); //Verify 37@define('PLUGIN_EVENT_TEXTWIKI_RULE_EMBED_DESC_BASE', 'O directзrio de base para os seus scripts. Por omissсo "/caminho/para/scripts/". Se deixar em branco e ligar embed sз pode usar caminhos absolutos.'); 39@define('PLUGIN_EVENT_TEXTWIKI_RULE_IMAGE_DESC_BASE', 'O directзrio de base para as suas imagens. Por omissсo "/caminho/para/imagens". Se deixar em branco sз pode usar caminhos absolutos ou URLs.'); 40@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_PHPLOOKUP', 'Cria ligaушes de busca ao manual de PHP com [[php function-name]]. Por omissсo activo.'); 41@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_TOC', 'Gera um ьndice de todos os tьtulos usados com [[toc]]. Por omissсo activo.');API.php https://code.google.com/p/molinos-cms/ | PHP | 383 lines
1<?php 2/** 21 { 22 $this->log('HEAD ' . $url); 23 52 { 53 $this->log('FETCH ' . $url); 54 68 if (!$result and !($options & self::NO_ERROR)) 69 throw new RuntimeException(t('Could not fetch %url. More information could be available in the log file.', array( 70 '%url' => $url, 192 if (200 != $status['http_code']) { 193 $this->log($url . ': error ' . $status['http_code']); 194 return false; 197 if ($status['size_download'] != $status['download_content_length']) { 198 $this->log("{$url}: incomplete transfer, got {$status['size_download']} bytes instead of {$status['download_content_length']}"); 199 return false;NativeSessionStorageTest.php git://github.com/symfony/symfony.git | PHP | 293 lines
1<?php 2 13 14use PHPUnit\Framework\TestCase; 15use Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag; 80 { 81 $this->expectException('LogicException'); 82 $storage = $this->getStorage(); 179 180 if (\PHP_VERSION_ID >= 70300) { 181 $options['cookie_samesite'] = 'lax'; 241 242 // PHP session might have started, but the storage driver has not, so false is correct here 243 $this->assertFalse($storage->isStarted());C_cache.php http://mycaptain.googlecode.com/svn/ | PHP | 238 lines
32 $exarea = addslashes($show_config['exarea']); 33 $config ="\n\$config_cache = array('sitekey' =>\"".htmlspecialchars($show_config['site_key'])."\",'blogname' =>\"".htmlspecialchars(stripslashes($show_config['blogname']))."\",'bloginfo'=>\"".htmlspecialchars(stripslashes($show_config['bloginfo']))."\",'index_lognum' =>\"".$show_config['index_lognum']."\",'index_tagnum' =>\"".$show_config['index_tagnum']."\",'index_comment_num' =>\"".$show_config['index_comnum']."\",'ischkcomment'=>\"".$show_config['ischkcomment']."\",'isurlrewrite'=>\"".$show_config['isurlrewrite']."\",'istrackback'=>\"".$show_config['istrackback']."\",'comment_code'=>\"".$show_config['comment_code']."\",'login_code'=>\"".$show_config['login_code']."\",'comment_subnum'=>\"".$show_config['comment_subnum']."\",'nonce_templet'=>\"".$show_config['nonce_templet']."\",'blogurl'=>\"".htmlspecialchars($show_config['blogurl'])."\",'icp'=>\"".htmlspecialchars($show_config['icp'])."\",'timezone'=>\"".$show_config['timezone']."\",'exarea'=>\"".$exarea."\");"; 34 48 } 49 $user="\n\$user_cache = array('photo' => \"$icon\",'name' =>\"".htmlspecialchars($blogger['nickname'])."\",'mail' =>\"".htmlspecialchars($blogger['email'])."\",'des'=>\"".htmlspecialchars($blogger['description'])."\");"; 50 $cache = "<?php".$user."\n?>"; 178 } 179 $this->log_tags .= "\n\$log_cache_tags[".$show_log['gid']."] = \"".$tag."\";"; 180 unset($tag); 221 } 222 $this->log_atts .= "\n\$log_cache_atts[".$gid."] = array('attachment'=>\"".$attachment."\",'att_img'=>\"".$att_img."\");"; 223 unset($attachment); 225 } 226 $cache = "<?php".$this->log_atts."\n?>"; 227 $this->mc_print($cache,$cf);coupon_form.tpl http://coderstalk.googlecode.com/svn/trunk/ | Smarty Template | 227 lines
9 <h1><?php echo $heading_title; ?></h1> 10 <div class="buttons"><a onclick="$('#form').submit();" class="button"><span><?php echo $button_save; ?></span></a><a onclick="location='<?php echo $cancel; ?>';" class="button"><span><?php echo $button_cancel; ?></span></a></div> 11 </div> 15 <?php foreach ($languages as $language) { ?> 16 <a tab="#language<?php echo $language['language_id']; ?>"><img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" /> <?php echo $language['name']; ?></a> 17 <?php } ?> 30 <td><span class="required">*</span> <?php echo $entry_description; ?></td> 31 <td><textarea name="coupon_description[<?php echo $language['language_id']; ?>][description]" cols="40" rows="5"><?php echo isset($coupon_description[$language['language_id']]) ? $coupon_description[$language['language_id']]['description'] : ''; ?></textarea> 32 <?php if (isset($error_description[$language['language_id']])) { ?> 71 <td><?php echo $entry_logged; ?></td> 72 <td><?php if ($logged) { ?> 73 <input type="radio" name="logged" value="1" checked="checked" /> 103 <?php foreach ($categories as $category) { ?> 104 <option value="<?php echo $category['category_id']; ?>"><?php echo $category['name']; ?></option> 105 <?php } ?>Command.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 512 lines
1<?php 2 43 * 44 * @throws \LogicException When the command name is empty 45 */ 59 if (!$this->name) { 60 throw new \LogicException('The command name cannot be empty.'); 61 } 88 * 89 * @throws \LogicException When this abstract class is not implemented 90 */ 92 { 93 throw new \LogicException('You must override the execute() method in the concrete command class.'); 94 } 378 $name, 379 $_SERVER['PHP_SELF'].' '.$name 380 );JErrorTest.php git://github.com/joomla/joomla-platform.git | PHP | 473 lines
1<?php 2/** 9 10require_once JPATH_PLATFORM . '/legacy/error/error.php'; 11require_once JPATH_PLATFORM . '/legacy/exception/exception.php'; 11require_once JPATH_PLATFORM . '/legacy/exception/exception.php'; 12require_once __DIR__ . '/JErrorInspector.php'; 13 399 /** 400 * Test JError::handleLog 401 * 401 * 402 * @todo Implement testHandleLog(). 403 * 405 */ 406 public function testHandleLog() 407 {UBERON_0002385.md git://github.com/cmungall/uberon.git | Markdown | 114 lines
5 * *Label* = muscle tissue 6 * *Definition* = Muscle tissue is a contractile tissue made up of actin and myosin fibers[GO]. [ [database_cross_reference](../../ef/oboInOwl#hasDbXref.md) = GO:0060537, [database_cross_reference](../../ef/oboInOwl#hasDbXref.md) = http://en.wikipedia.org/wiki/Muscle_tissue, [database_cross_reference](../../ef/oboInOwl#hasDbXref.md) = https://sourceforge.net/tracker/index.php?func=detail&aid=2801266&group_id=36855&atid=440764 ] 7 * *Comment* = Vertebrate muscle is categorized into three major muscle types defined by their structural and functional properties: skeletal, cardiac and smooth. In Dmel the counterparts are somatic, heart/cardiac and visceral. Here we take a cell type based approach. 49 50## Other Logical Axioms 51WireLog.php git://github.com/ryancramerdesign/ProcessWire.git | PHP | 362 lines
5 * 6 * WireLog represents the ProcessWire $log API variable. 7 * It is an API-friendly interface to the FileLog class. 66 * 67 * The log filename is /site/assets/logs/[name].txt 68 * 340 public function prune($name, $days) { 341 $log = $this->getFileLog($name); 342 if($days < 1) throw new WireException("Prune days must be 1 or more"); 347 /** 348 * Returns instance of FileLog for given log name 349 * 355 public function getFileLog($name, array $options = array()) { 356 $log = new FileLog($this->getFilename($name)); 357 if(isset($options['delimiter'])) $log->setDelimeter($options['delimiter']);Image_Canvas_moon.htm http://applicationwiki.googlecode.com/svn/trunk/ | HTML | 185 lines
20 <meta http-equiv="imagetoolbar" content="no" /><!{endif]--> 21 <script type="text/javascript" src="/en/docs/index.php?title=-&action=raw&gen=js"></script> <script type="text/javascript" src="/en/docs/skins/common/wikibits.js"></script> 22 <script type="text/javascript" src="/en/docs/skins/devmo/devmo.js"></script> 25 <style type="text/css">/*<![CDATA[*/ 26@import "/en/docs/index.php?title=MediaWiki:Devmo.css&action=raw&ctype=text/css&smaxage=18000"; 27@import "/en/docs/index.php?title=-&action=raw&gen=css&maxage=18000"; 56 <ul id="personal"> 57 <li id="pt-login"><a href="/en/docs/index.php?title=Special:Userlogin&returnto=Image:Canvas_moon.png">Create an account or log in</a></li> </ul> 58 <ul id="contenttypes"> 111 class="selected" ><a href="/en/docs/Image:Canvas_moon.png">File</a></li><li id="ca-talk" 112 class="new" ><a href="/en/docs/index.php?title=Image_talk:Canvas_moon.png&action=edit">Discussion</a></li><li id="ca-edit" 113 ><a href="/en/docs/index.php?title=Image:Canvas_moon.png&action=edit">Edit</a></li><li id="ca-history" 159</ul> 160<br /><ul><li><div><a href="http://developer.mozilla.org/en/docs/index.php?title=Special:Upload&wpDestFile=Canvas_moon.png" class='external text' title="http://developer.mozilla.org/en/docs/index.php?title=Special:Upload&wpDestFile=Canvas moon.png" rel="nofollow">Upload a new version of this file</a></div> 161</li><li><a href="/en/docs/index.php?title=Image:Canvas_moon.png&action=edit&externaledit=true&mode=file" title="Image:Canvas moon.png">Edit this file using an external application</a><div>See the <a href="http://meta.wikimedia.org/wiki/Help:External_editors" class='external text' title="http://meta.wikimedia.org/wiki/Help:External editors" rel="nofollow">setup instructions</a> for more information.</div>api_b2b_2_0_advance.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 251 lines
1<?php 2include_once(CORE_DIR.'/api/shop_api_object.php'); 38 if($this->db->exec($sql)){ 39 $this->log($member_id,$money,$message, $payment_id, $order_id ,$paymethod ,$memo ,$member_advance); 40 }else{ 195 if(!$sql || $this->db->exec($sql)){ 196 $this->log($member_id,-$money,$message, $payment_id, $order_id ,$paymethod ,$memo ,$member_advance ); 197 }else{ 202 /** 203 * log ???? 204 * 210 */ 211 function log($member_id,$money,$message, $payment_id='', $order_id='' ,$paymethod='' ,$memo='' ,$member_advance='' ){ 212 $shop_advance = $this->getShopAdvance(); 212 $shop_advance = $this->getShopAdvance(); 213 $rs = $this->db->exec('select * from sdb_advance_logs where 0=1'); 214 $sql = $this->db->getInsertSQL($rs,array(DB.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 488 lines
1<?php 2/** 33 else{ 34 showError(__T('Config\'s argument error,or miss adapter,please check conf.php!')); 35 } 39 40 require_once(SYSBASE.'Database/DB/'.$DB_config['adapter'].'.php'); 41 299 } 300 //??log_db 301 //$this->db->query("insert log_db (op_sql, op_time) values('" . addslashes($this->sql) . "', '" . date('Y-m-d H:i:s') . "')");gettext.c git://github.com/vpj/PHP-Extension-API.git | C | 392 lines
2 +----------------------------------------------------------------------+ 3 | PHP Version 5 | 4 +----------------------------------------------------------------------+ 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 1997-2009 The PHP Group | 6 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 128 NULL, 129 PHP_MINFO(php_gettext), 130 NO_VERSION_YET, 152 153PHP_MINFO_FUNCTION(php_gettext) 154{classes.html git://pkgs.fedoraproject.org/xqilla | HTML | 44 lines
6</head><body> 7<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a> 8<!-- Generated by Doxygen 1.6.1 -->sub_edit.html http://phpfor.googlecode.com/svn/trunk/ | HTML | 243 lines
22 <th> 23 <span id='editMemberPassword-<{$member.member_id}>' class="lnk" onclick="$(this).store('dialog',new Dialog('index.php?ctl=member/member&act=updatePassword&p[0]=<{$member.member_id}>&p[1]=<{$member.email}>&p[2]='+escape('<{$member.uname}>')+'&p[3]='+encodeURIComponent('<{$member.name}>'),{width:430,height:170,title:'??????'}))"> 24 <{t}>??????<{/t}> 32 <th> 33 <span id='editMemberPayPassword-<{$member.member_id}>' class="lnk" onclick="$(this).store('dialog',new Dialog('index.php?ctl=member/member&act=updatePayPassword&p[0]=<{$member.member_id}>&p[1]=<{$member.email}>&p[2]='+escape('<{$member.uname}>')+'&p[3]='+encodeURIComponent('<{$member.name}>'),{width:430,height:170,title:'???????????'}))"> 34 <{t}>???????????<{/t}> 157 <th>??LOGO?</th> 158 <td id="w_site_logo" valign="top"><span id="d_siteLogo_txt"></span> 159 <{if $member.dealer_logo != ''}> 159 <{if $member.dealer_logo != ''}> 160 <img src="<{$member.src_dealer_logo}>" border="0" /> 161 <{/if}> 161 <{/if}> 162 <input type="hidden" name="dealer_logo" value="<{$member.dealer_logo}>" /> 163 </td>exception-db-php.html https://code.google.com/p/ezrpg/ | HTML | 52 lines
15throw new DbException($this->db, SERVER_ERROR); 16throw new DbException($query, SQL_ERROR);</pre></blockquote><h4 class=CHeading>See Also</h4><ul><li><a href="class-dbfactory-php.html#DbFactory" class=LClass id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">DbFactory</a></li><li><a href="const-errors-php.html#Error_Codes" class=LSection id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">Error Codes</a></li></ul><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#DbException" >DbException</a></td><td class=SDescription>Extends Exception class to specify a database error.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#DbException.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#DbException.__toString" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">__toString</a></td><td class=SDescription>Formats and returns the error file, line and message.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div> 17 34 35<div id=Menu><div class=MTitle>ezRPG<div class=MSubTitle>Documentation</div></div><div class=MEntry><div class=MFile><a href="../config-php.html">Config</a></div></div><div class=MEntry><div class=MFile><a href="../modules/example-php.html">Module_Example</a></div></div><div class=MEntry><div class=MFile><a href="../modules/skeleton-php.html">Module_Skeleton</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Lib</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="const-errors-php.html">Error Codes</a></div></div><div class=MEntry><div class=MFile><a href="func-log-php.html">Log Functions</a></div></div><div class=MEntry><div class=MFile><a href="func-player-php.html">Player Functions</a></div></div><div class=MEntry><div class=MFile><a href="func-rand-php.html">Random Functions</a></div></div><div class=MEntry><div class=MFile><a href="func-text-php.html">Text Functions</a></div></div><div class=MEntry><div class=MFile><a href="func-validate-php.html">Validation functions</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Classes</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="class-base_module-php.html">Base_Module</a></div></div><div class=MEntry><div class=MFile><a href="class-dbfactory-php.html">DbFactory</a></div></div><div class=MEntry><div class=MFile><a href="class-hooks-php.html">Hooks</a></div></div><div class=MEntry><div class=MFile><a href="class-imagebar-php.html">ImageBar</a></div></div><div class=MEntry><div class=MFile><a href="class-modulefactory-php.html">ModuleFactory</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Modules</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../modules/AccountSettings/index-php.html">AccountSettings</a></div></div><div class=MEntry><div class=MFile><a href="../modules/City/index-php.html">City</a></div></div><div class=MEntry><div class=MFile><a href="../modules/EventLog/index-php.html">EventLog</a></div></div><div class=MEntry><div class=MFile><a href="../modules/Index/index-php.html">Index</a></div></div><div class=MEntry><div class=MFile><a href="../modules/Login/index-php.html">Login</a></div></div><div class=MEntry><div class=MFile><a href="../modules/Logout/index-php.html">Logout</a></div></div><div class=MEntry><div class=MFile><a href="../modules/Members/index-php.html">Members</a></div></div><div class=MEntry><div class=MFile><a href="../modules/Register/index-php.html">Register</a></div></div><div class=MEntry><div class=MFile><a href="../modules/StatPoints/index-php.html">StatPoints</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Admin Modules</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="../admin/Index/index-php.html">Admin_Index</a></div></div><div class=MEntry><div class=MFile><a href="../admin/Members/index-php.html">Admin_Members</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Database Drivers</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="db-mysql-php.html">Db_mysql</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Exceptions</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MFile id=MSelected>DbException</div></div><div class=MEntry><div class=MFile><a href="exception-file-php.html">FileException</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Index</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Variables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Constants.html">Constants</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../install-php.html">Install</a></div></div><div class=MEntry><div class=MLink><a href="http://www.ezrpgproject.com/">ezRPG Project</a></div></div><script type="text/javascript"><!-- 36var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");rpc_blockchain.py git://github.com/bitcoin/bitcoin.git | Python | 338 lines
3# Distributed under the MIT software license, see the accompanying 4# file COPYING or http://www.opensource.org/licenses/mit-license.php. 5"""Test RPCs related to blockchainstate. 68 def mine_chain(self): 69 self.log.info('Create some old blocks') 70 address = self.nodes[0].get_deterministic_priv_key().address 77 def _test_getblockchaininfo(self): 78 self.log.info("Test getblockchaininfo") 79 152 def _test_getchaintxstats(self): 153 self.log.info("Test getchaintxstats") 154 221 222 self.log.info("Test that gettxoutsetinfo() works for blockchain with just the genesis block") 223 b1hash = node.getblockhash(1)config.php http://comet.googlecode.com/svn/trunk/ | PHP | 308 lines
41/* 42 Uncomment lines below to enable PHP error reporting and displaying PHP errors. 43 Do not do this on a production server. Might be helpful when debugging why CKFinder does not work as expected. 71 // You may point it to a directory directly: 72 $baseDir = '/home/login/public_html/ckfinder/files/'; 73 $baseDir = 'C:/SiteDir/CKFinder/userfiles/'; 150For example, if you want to restrict the upload, rename or delete of files in 151the "Logos" folder of the resource type "Images", you may uncomment the 152following definition, leaving the above one: 218 219 - If "php" is on the denied extensions list, a file named foo.php cannot be 220 uploaded. 225 226In some conditions Apache can treat the foo.php.rar file just like any PHP 227script and execute it.login.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 257 lines
67 session_cookie('cookie_probe', 1); 68 header('Location: login.php?uri='.$uri.'&cookie_test=1'); 69 } 71 { 72 fb(sprintf(_("Savane thinks your cookies are not activated for %s. To log-in, we need you to activate cookies in your web browser for this website. Please do so and click here:"), $sys_default_domain).' '.$GLOBALS['sys_https_url'].$GLOBALS['sys_home'].'account/login.php?uri='.$uri, 1); 73 } 132 # Go there saying hello to your brother 133 header ("Location: ".$http."://".$GLOBALS['sys_brother_domain'].$GLOBALS['sys_home']."/account/login.php?session_uid=".user_getid()."&session_hash=".$GLOBALS['session_hash']."&cookie_for_a_year=$cookie_for_a_year&from_brother=1&login=1&stay_in_ssl=$stay_in_ssl&brotherhood=1&uri=".urlencode($uri)); 134 exit; 213print '<p><span class="preinput">'._("Login Name:").'</span><br /> '; 214print '<input type="text" name="form_loginname" value="'.htmlspecialchars($form_loginname, ENT_QUOTES).'" tabindex="1" /> <a class="smaller" href="register.php" tabindex="2">['._("No account yet?").']</a></p>'; 215 252 253print '<div class="center"><input type="submit" name="login" value="'._("Login").'" tabindex="1" /></div>'; 254print '</form>';permissions_phpbb.php http://twpug.googlecode.com/svn/trunk/ | PHP | 219 lines
1<?php 2if (empty($lang) || !is_array($lang)) 43* 'acl_bug_view' => array('lang' => 'Can view bug reports', 'cat' => 'bugs'), 44* 'acl_bug_post' => array('lang' => 'Can post bugs', 'cat' => 'post'), // Using a phpBB category here 45* )); 174 'acl_a_jabber' => array('lang' => '????Jabber??', 'cat' => 'settings'), 175 'acl_a_phpinfo' => array('lang' => '????php??', 'cat' => 'settings'), 176 207 'acl_a_styles' => array('lang' => '??????', 'cat' => 'misc'), 208 'acl_a_viewlogs' => array('lang' => '??????', 'cat' => 'misc'), 209 'acl_a_clearlogs' => array('lang' => '??????', 'cat' => 'misc'),mejoramiento_adecuaciones_controller.php http://learning-circles.googlecode.com/svn/trunk/ | PHP | 226 lines
1<?php 2class MejoramientoAdecuacionesController extends AppController { 13 $this->Session->setFlash(__('Por favor inicie sesion', true)); 14 $this->redirect(array('controller'=>'users','action' => 'login')); 15 } 45 $this->Session->setFlash(__('Por favor inicie sesion', true)); 46 $this->redirect(array('controller'=>'users','action' => 'login')); 47 } 59 $this->Session->setFlash(__('Por favor inicie sesion', true)); 60 $this->redirect(array('controller'=>'users','action' => 'login')); 61 } 111 $this->Session->setFlash(__('Por favor inicie sesion', true)); 112 $this->redirect(array('controller'=>'users','action' => 'login')); 113 } 162 $this->Session->setFlash(__('Por favor inicie sesion', true)); 163 $this->redirect(array('controller'=>'users','action' => 'login')); 164 }readme.html http://pumpmyvote.googlecode.com/svn/trunk/ | HTML | 98 lines
19<h1>Birkaç not</h1> 20<p>Merhaba! Bu sat?rlar? okudu?unuza göre bir blog sahibisiniz veya yak?nda bir blog sahibi olacaks?n?z. WordPress, blog yazmak için en güzel araçlardan biridir. Blog sistemi olarak WordPress kullanmay? dü?ünüyorsan?z asl?nda WordPress kurmak, yükseltme yapmak ve kullanmak çok da zor de?il. Fakat baz? noktalara dikkat etmek ve gerekli belgeleri okumak gerekiyor. Bunun için bu benioku sayfas? d???nda sayfan?n ilerleyen bölümlerinde verilen WordPress ile ilgili adresleri takip edin. WordPress'in Türkçe'ye çevrilmesi için çok çal??t?k ve en kaliteli çeviriyi sunmak için birçok deneme yapt?k. Lütfen Türkçe pakette hata bulursan?z veya ba?ka önerileriniz varsa bizimle payla??n. Te?ekkürler ve iyi bloglamalar! :)</p> 21<p style="text-align: right;">— WordPress Türkiye Ekibi</p> 26 <li>Site adresinizi web taray?c?n?z?n adres sat?r?na yaz?n.</li> 27 <li>Ekrandaki talimatlar? takip ederek kurulumu tamamlayabilirsiniz. Kurulumdan önce <code>wp-config.php</code> dosyas? olu?turulacak. Baz? durumlarda bu dosya otomatik olarak olu?turulam?yor. E?er böyle bir durumla kar??la??rsan?z, elle olu?turman?z gerekir. Bunun için bir metin editörüyle <code>wp-config-sample.php</code> dosyas?n? aç?n ve veritaban? bilgilerinizi girin. Dosyay? <code>wp-config.php</code> olarak kaydedin ve sunucuya yükleyin, sonras?nda kuruluma ba?lay?n. 28 <li><strong>Kurulumun sonunda verilen parolay? saklay?n.</strong></li> 71<h1>Ba?ka bir sistemden WordPress'e geçmek</h1> 72<p>WordPress'e ba?ka bir sistemden (Blogger, Textpattern, Movable Type gibi) geçi? yapmak da mümkündür. Öncelikle WordPress'i kurun ve yönetim panelindeki "?çe Aktar" menüsünü kullanarak eski sisteminizden yaz?lar?n?z? ve yorumlar?n?z? yeni blogunuza aktar?n. <a href="http://codex.wordpress.org/Importing_Content">Bu konu hakk?nda bir belge</a>.</p> 73 74<h1>XML-RPC ve Atom Arayüzü</h1> 75<p>Art?k <a href="http://windowslivewriter.spaces.live.com/">Windows Live Writer</a>, <a href="http://ecto.kung-foo.tv/">Ecto</a>, <a href="http://bloggar.com/">Bloggar</a>, <a href="http://radio.userland.com">Radio Userland</a>, <a href="http://www.newzcrawler.com/">NewzCrawler</a> gibi Blogging API'lerini destekleyen araçlarla WordPress blogunuza yaz? gönderebilirsiniz. :) <a href="http://codex.wordpress.org/XML-RPC_Support">XML-RPC deste?i hakk?nda detayl? bilgi</a>.</p> 76 77<h1>E-posta ile yazma</h1> 78<p>Bir posta sunucusu kullanarak blogunuza yaz? ekleyebilirsiniz! Bunu ayarlamak için Yönetim panelinizde "Tercihler" menüsündeki "Yazma" sekmesini aç?n ve POP3 hesab?n?z?n ba?lant? detaylar?n? girin. Sonra posta kutusunun yeni yaz?lar için periyodik olarak kontrol edilmesi için <code>wp-mail.php</code>'yi ayarlamal?s?n?z. Bunu Cron-jobs ile yapabilirsiniz, veya sunucunuz desteklemiyorsa çok say?da website-monitoring servislerinden birinin <code>wp-mail.php</code> URL'nizi kontrol etmesini sa?layabilirsiniz.</p> 79<p>Yaz? göndermek çok kolay: Belirledi?iniz adrese gönderilen tüm e-postalar yaz? olarak blogunuza eklenir, e-postan?n konusu yaz?n?n ba?l??? olur. Bu adresi gizli tutman?z tavsiye edilir. Araç ba?ar?l? bir ?ekilde gönderilen postalar? <em>siler</em>.</p>ContentSource.java git://pkgs.fedoraproject.org/eclipse-jgit | Java | 339 lines
2 * Copyright (C) 2010, Google Inc. 3 * and other copyright owners as documented in the project's IP log. 4 * 7 * accompanies this distribution, is reproduced below, and is 8 * available at http://www.eclipse.org/org/documents/edl-v10.php 9 *UserGroups.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 357 lines
1<?php 2/** 7 8namespace PhpMyAdmin\Server; 9 9 10use PhpMyAdmin\Html\Generator; 11use PhpMyAdmin\Relation; 11use PhpMyAdmin\Relation; 12use PhpMyAdmin\Template; 13use PhpMyAdmin\Url; 13use PhpMyAdmin\Url; 14use PhpMyAdmin\Util; 15 23/** 24 * PhpMyAdmin\Server\UserGroups class 25 */PerSubscriptionMessageHandlerTest.java git://github.com/eclipse/paho.mqtt.java.git | Java | 369 lines
37import org.eclipse.paho.client.mqttv3.test.client.MqttClientFactoryPaho; 38import org.eclipse.paho.client.mqttv3.test.logging.LoggingUtilities; 39import org.eclipse.paho.client.mqttv3.test.properties.TestProperties; 45 static final String className = cclass.getName(); 46 static final Logger log = Logger.getLogger(className); 47 171 final String methodName = Utility.getMethodName(); 172 LoggingUtilities.banner(log, cclass, methodName); 173 log.entering(className, methodName); 261 final String methodName = Utility.getMethodName(); 262 LoggingUtilities.banner(log, cclass, methodName); 263 log.entering(className, methodName); 324 final String methodName = Utility.getMethodName(); 325 LoggingUtilities.banner(log, cclass, methodName); 326 log.entering(className, methodName);function.imagefilledpolygon.html https://github.com/overchuk/vim.git | HTML | 469 lines
128<head> 129<link rel="alternate" type="application/rss+xml" title="php.ru/forum - последние сообщения" href="http://www.php.ru/forum/rss.php"> 130<link rel="SHORTCUT ICON" href="http://www.php.ru/favicon.ico" /> 130<link rel="SHORTCUT ICON" href="http://www.php.ru/favicon.ico" /> 131<META name="description" content="php.ru - форум PHP программистов, поиск по всем ресурсам сети, посвященным php"> 132<meta http-equiv="description" content="php.ru - форум PHP программистов, поиск по всем ресурсам сети, посвященным php"> 167 <td width='1' valign='middle'> 168 <a href='/'><img src="http://www.php.ru/;-)/logo.gif" width=133 height=93 alt="php" border=0 hspace=10 vspace=0></a> 169 </td> 437 <td class='phpcopyright' width='45%' align='left'> Engine <a href="http://www.mnogosearch.org/">MnoGoSearch</a></td> 438 <td class='phpcopyright' width='10%' align='center'>2007-2010 © <a href="mailto:webmaster@php.ru">PHP.RU</a></td> 439 <td class='phpcopyright' width='45%' align='right' >Powered by <a target="_blank" href="http://odware.ru">ODware</a> <a HREF="http://440hz.ru">440Hz</a> </td> 449 <script src="http://tools.spylog.ru/counter2.2.js" type="text/javascript" id="spylog_code" counter="830950" ></script> 450 <noscript><a href="http://u8309.50.spylog.com/cnt?cid=830950&f=3&p=0" target="_blank"><img src="http://u8309.50.spylog.com/cnt?cid=830950&p=0&f=4" alt='SpyLOG' border='0' width=88 height=31 ></a> 451 </noscript>Curl.php https://github.com/dmolsen/MIT-Mobile-Web.git | PHP | 392 lines
24/** Zend_Uri_Http */ 25require_once 'Zend/Uri/Http.php'; 26 31 * An adapter class for Zend_Http_Client based on the curl extension. 32 * Curl requires libcurl. See for full requirements the PHP manual: http://php.net/curl 33 * 185 186 require_once 'Zend/Http/Client/Adapter/Exception.php'; 187 throw new Zend_Http_Client_Adapter_Exception('Unable to Connect to ' . $host . ':' . $port); 218 if (!$this->_curl) { 219 require_once 'Zend/Http/Client/Adapter/Exception.php'; 220 throw new Zend_Http_Client_Adapter_Exception("Trying to write but we are not connected"); 305 * Make sure POSTFIELDS is set after $curlMethod is set: 306 * @link http://de2.php.net/manual/en/function.curl-setopt.php#81161 307 */00_Server_Requirements.md git://github.com/silverstripe/sapphire.git | Markdown | 185 lines
21 22Use [phpinfo()](http://php.net/manual/en/function.phpinfo.php) to inspect your configuration. 23 91Files in this state get served by SilverStripe rather than your webserver. 92Since the framework uses [PHP streams](https://www.php.net/manual/en/ref.stream.php), 93this allows serving of files larger than your PHP memory limit. 94Please be aware that streaming operations don't count towards 95PHP's [max_execution_time](https://www.php.net/manual/en/function.set-time-limit.php), 96which can risk exhaustion of web worker pools for long-running downloads. 164| 3.6 | 5.3 - 7.1 | | 165| 3.7 | 5.3 - 7.3 | [changelog](https://docs.silverstripe.org/en/3/changelogs/3.7.0/) | 166| 4.0 - 4.4 | 5.6+ | | 166| 4.0 - 4.4 | 5.6+ | | 167| 4.5+ (unreleased) | 7.1+ | [blog post](https://www.silverstripe.org/blog/our-plan-for-ending-php-5-6-support-in-silverstripe-4/) | 168BaseClient_Test.php git://github.com/recurly/recurly-client-php.git | PHP | 241 lines
7use Recurly\Logger; 8use Psr\Log\LogLevel; 9 15 // Using LogLevel::EMERGENCY to minimize output when running tests 16 $logger = new Logger('Recurly', LogLevel::EMERGENCY); 17 $this->client = new MockClient($logger); 24 25 public function testDebugLoggerWarning(): void 26 { 31 $this->expectOutputRegex('/SECURITY WARNING: ' . $msg . '/'); 32 $logger = new Logger('Recurly', LogLevel::DEBUG); 33 $client = new MockClient($logger); 42 $this->expectOutputRegex("/Recurly.warning: warning-log/"); 43 $logger->warning('warning-log'); 44 }base.php git://github.com/moodle/moodle.git | PHP | 321 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 25 26namespace quizaccess_seb\tests\phpunit; 27 33global $CFG; 34require_once($CFG->dirroot . "/mod/quiz/accessrule/seb/rule.php"); // Include plugin rule class. 35require_once($CFG->dirroot . "/mod/quiz/mod_form.php"); // Include plugin rule class. 50 51 /** @var \stdClass $user A test logged-in user. */ 52 protected $user; 282 $page->set_pagetype("mod-quiz-view"); 283 $page->set_url('/mod/quiz/view.php?id=' . $this->quiz->cmid); 284DictionaryLoader.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 17 * @subpackage Index 18 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 19 * @license http://framework.zend.com/license/new-bsd New BSD License 32 * @subpackage Index 33 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 34 * @license http://framework.zend.com/license/new-bsd New BSD License 60 $tiVersion != (int)0xFFFFFFFD /* 2.1+ format */) { 61 require_once 'Zend/Search/Lucene/Exception.php'; 62 throw new Zend_Search_Lucene_Exception('Wrong TermInfoIndexFile file format'); 65 // $indexTermCount = $tiiFile->readLong(); 66 if (PHP_INT_SIZE > 4) { 67 $indexTermCount = ord($data[$pos]) << 56 | 80 ((ord($data[$pos+4]) & 0x80) != 0)) { 81 require_once 'Zend/Search/Lucene/Exception.php'; 82 throw new Zend_Search_Lucene_Exception('Largest supported segment size (for 32-bit mode) is 2Gb');OnlineTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 17 * @subpackage UnitTests 18 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 19 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: OnlineTest.php 23772 2011-02-28 21:35:29Z ralph $ 21 */ 25 */ 26require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'OnlineTestCase.php'; 27/** 29 */ 30require_once 'Zend/Ldap/Node.php'; 31 35 * @subpackage UnitTests 36 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 37 * @license http://framework.zend.com/license/new-bsd New BSD License01-basic-usage.md git://github.com/composer/composer.git | Markdown | 273 lines
26 "require": { 27 "monolog/monolog": "1.0.*" 28 } 32As you can see, [`require`](04-schema.md#require) takes an object that maps 33**package names** (e.g. `monolog/monolog`) to **version constraints** (e.g. 34`1.0.*`). 104example from above, you would end up with the Monolog source files in 105`vendor/monolog/monolog/`. If Monolog listed any dependencies, those would also be in 106folders under `vendor/`. 164```sh 165php composer.phar update monolog/monolog [...] 166``` 220$log = new Monolog\Logger('name'); 221$log->pushHandler(new Monolog\Handler\StreamHandler('app.log', Monolog\Logger::WARNING)); 222$log->addWarning('Foo');overrides.php git://github.com/moodle/moodle.git | PHP | 337 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 25 26require_once(__DIR__ . '/../../config.php'); 27require_once($CFG->dirroot.'/mod/lesson/lib.php'); 27require_once($CFG->dirroot.'/mod/lesson/lib.php'); 28require_once($CFG->dirroot.'/mod/lesson/locallib.php'); 29require_once($CFG->dirroot.'/mod/lesson/override_form.php'); 37 38require_login($course, false, $cm); 39 60 61$url = new moodle_url('/mod/lesson/overrides.php', array('cmid' => $cm->id, 'mode' => $mode)); 62 143 144$userurl = new moodle_url('/user/view.php', array()); 145$groupurl = new moodle_url('/group/overview.php', array('id' => $cm->course));Node.php git://github.com/drupal/drupal.git | PHP | 397 lines
1<?php 2 66 * "revision_created" = "revision_timestamp", 67 * "revision_log_message" = "revision_log" 68 * }, 126 127 if (!$this->isNewRevision() && isset($this->original) && (!isset($record->revision_log) || $record->revision_log === '')) { 128 // If we are updating an existing node without adding a new revision, we 128 // If we are updating an existing node without adding a new revision, we 129 // need to make sure $entity->revision_log is reset whenever it is empty. 130 // Therefore, this code allows us to avoid clobbering an existing log 131 // entry with an empty one. 132 $record->revision_log = $this->original->revision_log->value; 133 } 261 public function getRevisionAuthor() { 262 @trigger_error(__NAMESPACE__ . '\Node::getRevisionAuthor is deprecated in drupal:8.2.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser() instead. See https://www.drupal.org/node/3069750', E_USER_DEPRECATED); 263 return $this->getRevisionUser();large.css https://github.com/delete66/sikevux-s-tracker.git | CSS | 572 lines
168 169.login { 170background:#2F3138; 173} 174.login:hover { 175background:#2F3138; 178} 179.login:focus { 180background:#2F3138; 252.codetop{ 253 background: #f1b000 url(pic/php.gif) no-repeat right; 254 color: #000; 268.codetop{ 269background: #f1b000 url(pic/php.gif) no-repeat right; 270color: #000;SigninVc.swift https://bitbucket.org/alexmad327/c00peeps.git | Swift | 335 lines
147 148 facebookLogin.logIn(withReadPermissions: ["email"], from: self, handler: { (facebookResult: FBSDKLoginManagerLoginResult!, facebookError: Error!) in 149 if facebookResult != nil && !facebookResult.isCancelled { 153// 154// facebookLogin.logInWithReadPermissions(["email"], fromViewController: self) { (facebookResult: FBSDKLoginManagerLoginResult!, facebookError: NSError!) -> Void in 155// if facebookResult != nil && !facebookResult.isCancelled { 257 let navController:UINavigationController = self.storyboard?.instantiateViewController(withIdentifier: "InstagramLoginID") as! UINavigationController 258 let instagramLoginVC:InstagramLoginVC = navController.topViewController as! InstagramLoginVC 259 instagramLoginVC.signInDelegate = self 276 signUpScreen?.socialDetailsFromLogin.name = self.socialDetailsFromLogin.name 277 signUpScreen?.socialDetailsFromLogin.email = self.socialDetailsFromLogin.email 278 self.navigationController?.pushViewController(signUpScreen!, animated: true) 324 // signUpScreen?.socialDetailsFromLogin.accountType = self.socialDetailsFromLogin.accountType 325 // signUpScreen?.socialDetailsFromLogin.id = self.socialDetailsFromLogin.id 326 // signUpScreen?.socialDetailsFromLogin.name = self.socialDetailsFromLogin.nameclasslibcxx_1_1test_1_1executor_1_1_remote_executor.html https://bitbucket.org/adapptech/eos.git | HTML | 305 lines
22 <tr style="height: 56px;"> 23 <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td> 24 <td id="projectalign" style="padding-left: 0.5em;"> 41$(function() { 42 initMenu('',true,false,'search.php','Search'); 43 $(document).ready(function() { init_search(); });MaildirFolderTest.php git://github.com/zendframework/zf2.git | PHP | 0 lines
1<?php 2/** 17 * @subpackage UnitTests 18 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 19 * @license http://framework.zend.com/license/new-bsd New BSD License 32 * @subpackage UnitTests 33 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 34 * @license http://framework.zend.com/license/new-bsd New BSD License 36 */ 37class MaildirFolderTest extends \PHPUnit_Framework_TestCase 38{ 203 try { 204 // explicit call of __toString() needed for PHP < 5.2 205 $this->assertEquals($mail->getFolders()->subfolder->__toString(), 'subfolder'); 235 236 // explicit call of __toString() needed for PHP < 5.2 237 $found_folders[$folder->__toString()] = $localName;group.php http://nukeviet-shop.googlecode.com/svn/trunk/ | PHP | 214 lines
1<?php 2 78 { 79 nv_insert_logs( NV_LANG_DATA, $module_name, $lang_module['add_group'] , $data['title'], $admin_info['userid'] ); 80 $db->sql_freeresult(); 82 nv_del_moduleCache( $module_name ); 83 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" ); 84 die(); 97 { 98 nv_insert_logs( NV_LANG_DATA, $module_name, $lang_module['edit_group'], $data['title'], $admin_info['userid'] ); 99 $db->sql_freeresult(); 110 111 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" ); 112 die(); 166} 167// * call theme tpl of product groupalogs */ 168$xtpl = new XTemplate( "group_add.tpl", NV_ROOTDIR . "/themes/" . $global_config['module_theme'] . "/modules/" . $module_file );autoptimize.php https://bitbucket.org/viruscommdev/jboivinavocat.git | PHP | 333 lines
91 global $wpdb; 92 $blog_ids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" ); 93 $original_blog_id = get_current_blog_id(); 93 $original_blog_id = get_current_blog_id(); 94 foreach ( $blog_ids as $blog_id ) { 95 switch_to_blog( $blog_id ); 139 140 // if setting says not to optimize logged in user and user is logged in 141 if ( get_option('autoptimize_optimize_logged','on') !== 'on' && is_user_logged_in() && current_user_can('edit_posts') ) { 187 } else { 188 @include(AUTOPTIMIZE_PLUGIN_DIR.'classes/external/php/minify-2.3.1-jsmin.php'); 189 } 206 if (!class_exists('CSSmin')) { 207 @include(AUTOPTIMIZE_PLUGIN_DIR.'classes/external/php/yui-php-cssmin-2.4.8-4_fgo.php'); 208 }octane_archives.clj http://lighttexteditor.googlecode.com/svn/trunk/ | Clojure | 275 lines
35;;; 36;;; Main Description: Light Log Viewer is a tool for making it easier to search log files. 37;;; Light Log Viewer adds some text highlighting, quick key navigation to text files, simple graphs 37;;; Light Log Viewer adds some text highlighting, quick key navigation to text files, simple graphs 38;;; and charts for monitoring logs, file database to quickly navigate to files of interest, 39;;; and HTML to PDF convert tool. 39;;; and HTML to PDF convert tool. 40;;; Light Log was developed with a combination of Clojure 1.0, Java and Scala with use of libs, SWT 3.4, JFreeChart, iText. 41;;; 41;;; 42;;; Quickstart : the best way to run the Light Log viewer is to click on the win32 batch script light_logs.bat 43;;; (you may need to edit the Linux script for Unix/Linux environments). 50 51;;; Metrics: (as of 7/15/2009) Light Log Viewer consists of 6500 lines of Clojure code, and contains wrapper code 52;;; around the Java source. There are 2000+ lines of Java code in the Java library for Light Log Viewer.retentionSchedule.php http://records-authority.googlecode.com/svn/ | PHP | 387 lines
1<?php 2/** 27 28 // admin user must be loggedin 29 $this->load->model('SessionManager'); 29 $this->load->model('SessionManager'); 30 $this->SessionManager->isAdminLoggedIn(); 31 $this->load->model('UpkeepModel');anekdotru.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 393 lines
109 110 // Add logo 111 $export_dir = "/home/www/cb3/ales/"; 206 207 $logopath = "/home/www/cb3/img/cb-logo-300.png"; 208 $logofile_id = imagecreatefrompng($logopath); 233 $sourcefile_height=imageSY($sourcefile_id); 234 $logo_width=imageSX($logofile_id); 235 $logo_height=imageSY($logofile_id); 236 237 $dest_x_logo = $sourcefile_width - $logo_width - 4; 238 $dest_y_logo = $sourcefile_height - $logo_height - 8; 280 $opacity_logo = 30; 281 ImageCopyMerge($sourcefile_id, $logofile_id, $dest_x_logo, $dest_y_logo, 0, 0, $logo_width, $logo_height, $opacity_logo); 282OnlineTest.php git://pkgs.fedoraproject.org/php-ZendFramework | PHP | 290 lines
1<?php 2/** 17 * @subpackage UnitTests 18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) 19 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: OnlineTest.php 24594 2012-01-05 21:27:01Z matthew $ 21 */ 25 */ 26require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'OnlineTestCase.php'; 27/** 29 */ 30require_once 'Zend/Ldap/Node.php'; 31 35 * @subpackage UnitTests 36 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) 37 * @license http://framework.zend.com/license/new-bsd New BSD Licensedashboard.php https://bitbucket.org/matthewselby/wpdev.git | PHP | 277 lines
1<?php 2/** 80$url_support = $urls->real_support_url; 81$url_logout = $urls->dashboard_url . '&clear_key=1'; 82$hub_url = $urls->remote_site . 'hub/'; 88?> 89<?php 90$page_title = __( 'Overview', 'wpmudev' ); 97 <header class="wpmudui-box__header has-actions"> 98 <h2><?php esc_html_e( 'Tools', 'wpmudev' ); ?></h2> 99 <div class="wpmudui-box__header__actions"> 252 <footer class="wpmudui-box__footer"> 253 <a href="<?php echo esc_url( $urls->plugins_url ); ?>" class="wpmudui-btn is-sm is-ghost"><?php 254 /* translators: Number of plugins */ 263 264<?php if ( isset( $_GET['synced'] ) ) { //auto show modal after login redirect ?> 265 <dialog id="confirmation-modal" title="You’re connected!"class.listype.php http://kak.googlecode.com/svn/trunk/ | PHP | 343 lines
1<?php 2defined('_JEXEC') OR die('Access Denied!'); 27 if ($listType>0) { 28 backHTML::_header( @constant( $GLOBALS[JNEWS.'listnames'.$listType] ) , $GLOBALS[JNEWS.'listlogo'.$listType] , $message , $task, $action ); 29 } else { 323 324 function sendLogs($listType) { 325 331 case '2': 332 if ($GLOBALS[JNEWS.'send_auto_log'] == 1) return true; else return false; 333 break;trilulilu.php https://code.google.com/p/hdforall/ | PHP | 344 lines
18} elseif (file_exists("/tmp/usbmounts/sda2/download")) { 19 $dir = "/tmp/usbmounts/sda2/download/log/"; 20} elseif (file_exists("/tmp/usbmounts/sdb2/download")) { 194 showIdle(); 195 url="<?php echo $host; ?>" + "/scripts/clip/php/trilulilu_link.php?file=" + getItemInfo(getFocusItemIndex(),"download"); 196 movie=getUrl(url); 200 do_down=1; 201 log_file="<?php echo $dir; ?>" + getItemInfo(getFocusItemIndex(),"name") + ".log"; 202 setRefreshTime(2000); 234<destination> 235 <link>http://127.0.0.1/cgi-bin/scripts/util/level.php 236 </link> 306 showIdle(); 307 url="'.$host.'/scripts/clip/php/trilulilu_link.php?file='.$link.'"; 308 movie=getUrl(url);sfMigrator.class.php https://github.com/jcoby/sfPropelMigrationsPlugin.git | PHP | 582 lines
153 154 $upLogic = ''; 155 $downLogic = ''; 158 { 159 $this->generateFirstMigrationLogic($name, $newVersion, $upLogic, $downLogic); 160 } 189 // write new migration stub 190 $newFileName = $this->getMigrationsDir().DIRECTORY_SEPARATOR.$newVersion.'_'.$name.'.php'; 191 file_put_contents($newFileName, $newClass); 500 { 501 $migrations = sfFinder::type('file')->name('/^\d{3}.*\.php$/')->maxdepth(0)->in($this->getMigrationsDir()); 502 sort($migrations); 541 */ 542 protected function generateFirstMigrationLogic($name, $newVersion, &$upLogic, &$downLogic) 543 {0918fckconfig.js http://prosporous.googlecode.com/svn/trunk/ | JavaScript | 315 lines
55// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> 56// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code 57// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> 79FCKConfig.AutoDetectPasteFromWord = true ; // IE only. 80FCKConfig.ShowDropDialog = true ; 81FCKConfig.ForceSimpleAmpersand = false ; 158FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; 159FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 160FCKConfig.FirefoxSpellChecker = false ; 264// Custom implementations should just ignore it. 265var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py 266var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | pycart.tpl https://gitlab.com/leijianbin/agss.git | Smarty Template | 249 lines
16 <?php foreach ($breadcrumbs as $breadcrumb) { ?> 17 <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a> 18 <?php } ?> 39 <td class="image"><?php if ($product['thumb']) { ?> 40 <a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>" /></a> 41 <?php } ?></td> 57 <input type="image" src="catalog/view/theme/default/image/update.png" alt="<?php echo $button_update; ?>" title="<?php echo $button_update; ?>" /> 58 <a href="<?php echo $product['remove']; ?>"><img src="catalog/view/theme/default/image/remove.png" alt="<?php echo $button_remove; ?>" title="<?php echo $button_remove; ?>" /></a></td> 59 <td class="price"><?php echo $product['price']; ?></td> 68 <td class="quantity"><input type="text" name="" value="1" size="1" disabled="disabled" /> 69 <a href="<?php echo $vouchers['remove']; ?>"><img src="catalog/view/theme/default/image/remove.png" alt="<?php echo $button_remove; ?>" title="<?php echo $button_remove; ?>" /></a></td> 70 <td class="price"><?php echo $vouchers['amount']; ?></td> 89 <div class="buttons"> 90 <div class="right"><a href="<?php echo $checkout; ?>" class="button"><?php echo $button_checkout; ?></a></div> 91 <div class="center"><a href="<?php echo $continue; ?>" class="button"><?php echo $button_shopping; ?></a></div>InstallSchema.php https://bitbucket.org/sergiu-tot-fb/vendors.git | PHP | 406 lines
1<?php 2/** 19 * {@inheritdoc} 20 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 21 */ 221 [], 222 'Catalog entities (comma separated)' 223 )->addColumn(admin.php https://bitbucket.org/re_al_/real.test.spip.git | PHP | 299 lines
1<?php 2 8 * * 9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * 10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. * 56 } 57 spip_log("meta: $script " . join(',', $_POST)); 58 ecrire_meta($script, serialize($_POST)); 76 * Cette meta contient le nom du script et, à un hachage près, du demandeur. 77 * Le code de ecrire/index.php dévie toute demande d'exécution d'un script 78 * vers le script d'administration indiqué par cette meta si elle est là. 111 include_spip('inc/minipres'); 112 spip_log("refus de lancer $script, priorite a $valeur"); 113 124 125 spip_log("admin $pref" . ($valeur ? ' (reprise)' : ' (init)'), $journal); 126cvt_multietapes.php https://bitbucket.org/re_al_/real.test.spip.git | PHP | 307 lines
1<?php 2 8 * * 9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * 10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *class.DNSEventObserver.php http://scalr.googlecode.com/svn/ | PHP | 289 lines
1<?php 2 class DNSEventObserver extends EventObserver 79 if (!$this->DNSZoneController->Update($zone["id"])) 80 $this->Logger->error(_("Cannot update zone in DNSEventObserver")); 81 else 81 else 82 $this->Logger->info("Instance {$instanceinfo['instance_id']} added to DNS zone '{$zone['zone']}'"); 83 } 212 { 213 $this->Logger->warn(new FarmLogMessage($farminfo['id'], "Update DNS zone on 'OnHostDown'' event failed: {$e->getMessage()}")); 214 } 262 263 $this->Logger->info(new FarmLogMessage($farminfo['id'], "Instance {$instanceinfo['instance_id']}. Is DB Master = {$instanceinfo['isdbmaster']}")); 264 266 267 $this->Logger->info(new FarmLogMessage($farminfo['id'], "Adding system A records to zone {$zone['zone']}")); 268fsource_PhpExt_Grid_PhpExtGridEditorGridPanel.php.html http://php-ext.googlecode.com/svn/trunk/ | HTML | 170 lines
12<div id="header"> 13 <h1><img src="../media/php-ext2.png" alt="PHP-Ext Logo" title="PHP-Ext" width="110" height="34" /></h1> 14 <div> 23 <li><a href="../../../examples" target="_top">Samples</a></li> 24 <li><a href="http://php-ext.quimera-solutions.com/blog">Blog</a></li> 25 <li><a href="http://php-ext.quimera-solutions.com/?id=download" target="_top">Download</a></li> 78<h1 align="center">Source for file EditorGridPanel.php</h1> 79<p>Documentation is available at <a href="../PhpExt/Grid/_PhpExt---Grid---EditorGridPanel.php.html">EditorGridPanel.php</a></p> 80<div class="src-code"><span class="php"> 103<li><div class="src-line"><a name="a23"></a><span class="src-doc"> */</span></div></li> 104<li><div class="src-line"><a name="a24"></a><span class="src-key">class </span><a href="../PhpExt/Grid/PhpExt_Grid_EditorGridPanel.html">PhpExt_Grid_EditorGridPanel</a> <span class="src-key">extends </span><a href="../PhpExt/Grid/PhpExt_Grid_GridPanel.html">PhpExt_Grid_GridPanel</a> </div></li> 105<li><div class="src-line"><a name="a25"></a><span class="src-sym">{</span></div></li> 153<div id="footer"> 154PHP-Ext Open Source Project | <a href="http://php-ext.googlecode.com">http://php-ext.googlecode.com</a> | <a href="http://php-ext.quimera-solutions.com">http://php-ext.quimera-solutions.com</a> | 155sergeiw at gmail.comcxthemes-plugin-update-checker.php https://bitbucket.org/daniellbraun/wildernessatthesmokies.git | PHP | 281 lines
71 72 if ( 'plugins.php' == $pagenow || 'plugin-install.php' == $pagenow ) { 73 106 107 if ( 'plugins.php' == $pagenow && isset( $_GET["{$this->slug}-purchase-code"] ) ) { 108 196 197 <p><?php _e( 'To get automatic updates you need to input your valid purchase code, for our product, from Envato. The purchase code looks like: <code>f128a5a1-5a1c-4e4e-82ec-a12b3c4d5e6f</code> and should have been emailed to you when you bought our plugin, or you can retrieve it by logging into <a href="http://codecanyon.net/" target="_blank">CodeCanyon.net</a> go to Downloads > <em>Plugin Name</em> > Download > License certificate & purchase code.', 'create-customer-order' ); ?></p> 198 211 <div class="cx-plugin-update-notification"> 212 <?php _e( 'You are unable to connect to our update server at this time. Please check your connection, or try again later.', 'create-customer-order' ); ?> 213 </div> 214 215 <?php } else if ( 'invalid-purchase-code' == $notification ) { ?> 216select.php git://github.com/fuel/core.git | PHP | 524 lines
1<?php 2/** 2/** 3 * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. 4 * 10 * @copyright 2008 - 2009 Kohana Team 11 * @link https://fuelphp.com 12 */ 155 * @param mixed $c1 column name or array($column, $alias) or object 156 * @param string $op logic operator 157 * @param mixed $c2 column name or array($column, $alias) or object 171 * @param mixed $c1 column name or array($column, $alias) or object 172 * @param string $op logic operator 173 * @param mixed $c2 column name or array($column, $alias) or object 187 * @param mixed $c1 column name or array($column, $alias) or object 188 * @param string $op logic operator 189 * @param mixed $c2 column name or array($column, $alias) or objectsimulator.js https://hg01.codeplex.com/social | JavaScript | 0 lines
19// var events = Ext.getCmp('simulator').getRecorder().getEventSet('main'); 20// console.log(JSON.stringify(events)); 21// Ext.Ajax.request({ 21// Ext.Ajax.request({ 22// url: '../../dump.php', 23// method: 'POST', 44 cool like live demostration of how your app works without the need of any pre-recorded videos.</p>\n\ 45 <p>Close this dialog and tap on the <b>\"Show Me!\"</b> button to see it in action. A demo series of events \n\ 46 (technically an array of serialized events in JSON format) will be replayed live on the screen.</p>\n\adapter_adastrafanficcom.py https://code.google.com/p/fanficdownloader/ | Python | 239 lines
20import logging 21logger = logging.getLogger(__name__) 22import re 57 def getSiteExampleURLs(cls): 58 return "http://"+cls.getSiteDomain()+"/viewstory.php?sid=1234" 59 60 def getSiteURLPattern(self): 61 return re.escape("http://"+self.getSiteDomain()+"/viewstory.php?sid=")+r"\d+$" 62 103 # Find authorid and URL from... author url. 104 a = soup.find('a', href=re.compile(r"viewuser.php")) 105 self.story.setMetadata('authorId',a['href'].split('=')[1]) 109 # Find the chapters: 110 for chapter in soup.findAll('a', href=re.compile(r'viewstory.php\?sid='+self.story.getMetadata('storyId')+"&chapter=\d+$")): 111 # just in case there's tags, like <i> in chapter titles.const.py.in git://pkgs.fedoraproject.org/gramps | Autoconf | 304 lines
2# 3# Gramps - a GTK+/GNOME based genealogy program 4# 56URL_MAILINGLIST = "http://sourceforge.net/mail/?group_id=25770" 57URL_BUGTRACKER = "http://bugs.gramps-project.org/bug_report_advanced_page.php" 58URL_WIKISTRING = "http://gramps-project.org/wiki/index.php?title=" 162ICON = os.path.join(ROOT_DIR, "images", "gramps.png") 163LOGO = os.path.join(ROOT_DIR, "images", "logo.png") 164SPLASH = os.path.join(ROOT_DIR, "images", "splash.jpg") 201 u"\u00A9 2007-2012 The Gramps Developers" 202COMMENTS = _("Gramps (Genealogical Research and Analysis " 203 "Management Programming System) is a personal " 252 ("options", 'p', str, None, 0, 'Specify options', "OPTIONS_STRING"), 253 ("debug", 'd', str, None, 0, 'Enable debug logs', "LOGGER_NAME"), 254 ("", 'l', None, None, 0, 'List Family Trees', ""),readdib.c https://ironhells.svn.sourceforge.net/svnroot/ironhells | C | 366 lines
82{ 83 PLOGPALETTE npPal; 84 RGBQUAD FAR *lpRGB; 84 RGBQUAD FAR *lpRGB; 85 HPALETTE hLogPal; 86 DWORD i; 93 { 94 npPal = (PLOGPALETTE) LocalAlloc(LMEM_FIXED, sizeof(LOGPALETTE) + 95 (WORD) lpInfo->biClrUsed * 105 106 /* copy colors from the color table to the LogPalette structure */ 107 for(i = 0; i < lpInfo->biClrUsed; i++, lpRGB++) 114 115 hLogPal = CreatePalette((LPLOGPALETTE) npPal); 116 LocalFree((HANDLE) npPal);miroguide_storage.py git://pkgs.fedoraproject.org/python-Coherence | Python | 249 lines
1# Licensed under the MIT license 2# http://opensource.org/licenses/mit-license.php 3 3 4# Coherence backend presenting the content of the MIRO Guide catalog for on-line videos 5# 64 65 logCategory = 'miroguide_store' 66 68 69 description = ('Miro Guide', 'connects to the MIRO Guide service and exposes the podcasts catalogued by the service. ', None) 70bethsoftvid.c git://github.com/xbmc/xbmc.git | C | 296 lines
25 * @author Nicholas Tung [ntung (at. ntung com] (2007-03) 26 * @see http://wiki.multimedia.cx/index.php?title=Bethsoft_VID 27 * @see http://www.svatopluk.com/andux/docs/dfvid.html 218 if (vid->palette) { 219 av_log(s, AV_LOG_WARNING, "discarding unused palette\n"); 220 av_freep(&vid->palette); 254 return ret_value; 255 av_log(s, AV_LOG_ERROR, "incomplete audio block\n"); 256 return AVERROR(EIO); 269 if(vid->nframes != 0) 270 av_log(s, AV_LOG_VERBOSE, "reached terminating character but not all frames read.\n"); 271 vid->is_finished = 1; 273 default: 274 av_log(s, AV_LOG_ERROR, "unknown block (character = %c, decimal = %d, hex = %x)!!!\n", 275 block_type, block_type, block_type);date-format-tofte.js https://bitbucket.org/pypy/lang-js/ | JavaScript | 300 lines
9 // formatDate : 10 // a PHP date like function, for formatting date strings 11 // See: http://www.php.net/date 122 // leap year or not. 1 if leap year, 0 if not. 123 // the logic should match iso's 8601 standard. 124 var y_ = Y();MainForm.cs https://simpleproxyswitch.svn.codeplex.com/svn | C# | 296 lines
36 { 37 private static readonly ILog Log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 38 96 97 if (editProxyForm.ShowDialog(this) == DialogResult.OK) 98 { 110 { 111 Log.Debug("Editing current proxy setting"); 112 124 125 if(proxyForm.ShowDialog(this) == DialogResult.OK) 126 { 250 { 251 Log.DebugFormat("Setting proxy to {0} {1} {2}", 252 item.Setting.Address, item.Setting.Network, item.Setting.Bypass);friend.php http://praized.googlecode.com/svn/trunk/ | PHP | 358 lines
31 * 32 * @param string $identifier Optional user identifier (login) for custom template development (see bundled praized-php lib) 33 * @return mixed Boolean FALSE or Object Current friend (see params) 115 * @param boolean $echo Defines if the output should be echoed or simpy returned, defaults to TRUE 116 * @param string $identifier Optional user identifier (login) for custom template development (see bundled praized-php lib) 117 * @return string 128 * @param boolean $echo Defines if the output should be echoed or simpy returned, defaults to TRUE 129 * @param string $identifier Optional user identifier (login) for custom template development (see bundled praized-php lib) 130 * @return string 206 * @param boolean $echo Defines if the output should be echoed or simpy returned, defaults to TRUE 207 * @param string $identifier Optional user identifier (login) for custom template development (see bundled praized-php lib) 208 * @return string 222 * @param boolean $echo Defines if the output should be echoed or simpy returned, defaults to TRUE 223 * @param string $identifier Optional user identifier (login) for custom template development (see bundled praized-php lib) 224 * @return stringfacebook.php https://bitbucket.org/bohdan1217/norka.git | PHP | 524 lines
36 { 37 $redirect_uri = self::CONTROLLER_URL."/redirect.php?redirect_to=".urlencode(CSocServUtil::GetCurUrl('auth_service_id='.self::ID.'&check_key='.$_SESSION["UNIQUE_KEY"])); 38 } 71 'XML_ID' => $arFBUser["id"], 72 'LOGIN' => "FB_".$arFBUser["id"], 73 'EMAIL' => ($arFBUser["email"] != '') ? $arFBUser["email"] : '', 140 { 141 $redirect_uri = self::CONTROLLER_URL."/redirect.php?redirect_to=".urlencode(CSocServUtil::GetCurUrl('auth_service_id='.self::ID, array("code"))); 142 } 161 162 $aRemove = array("logout", "auth_service_error", "auth_service_id", "code", "error_reason", "error", "error_description", "check_key", "current_fieldset"); 163 167 168 $url = ($GLOBALS["APPLICATION"]->GetCurDir() == "/login/") ? "" : $GLOBALS["APPLICATION"]->GetCurDir(); 169de_credits.php https://bitbucket.org/vincentbii/amurt.git | PHP | 279 lines
1<?php 2error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR); 2error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR); 3require_once('./roots.php'); 4require_once($root_path.'include/core/inc_environment_global.php'); 5?> 6<?php html_rtl($lang); ?> 7<head> 27 Vorschl�ge zur Sicherheitsverbesserungen<br> 28 Schnelle L�sungen zur php Fragen<br> 29 Er ist der 'Sentinel' des Projekts 31 <p> 32 Daniele Frijia (geb. 81) arbeitet momentan bei einem ISP in N�rnberg. Sein PHP Wissen setzt er ein, um 33 die allgemeine Sicherheit von Care2x zu verbessern. Sein Ziel ist es, einen neuen Softwarebereich - den 53 mal wieder zu Wort gemeldet hat. Ist aber ansonsten harmlos :-) 54 <P><a href="mailto:nino@kflog.org"><u>Nino Novak kann hier kontaktiert werden.</u></a> 55</TD></TR></TBODY></TABLE>Generic.php https://code.google.com/p/molinos-cms/ | PHP | 322 lines
102 103 $logger = Molinos_Core_Logger::getInstance(); 104 148 149 require_once "Auth/OpenID/Consumer.php"; 150 require_once "Auth/OpenID/FileStore.php"; 150 require_once "Auth/OpenID/FileStore.php"; 151 require_once "Auth/OpenID/AX.php"; 152 require_once "Auth/OpenID/SReg.php"; 210 { 211 $logger = Molinos_Core_Logger::getInstance(); 212 213 if ('id_res' != $this->arg('openid_mode')) { 214 $logger->debug('login cancelled ?!'); 215 throw new Molinos_Core_Exceptions_Response(new Molinos_HTTP_Responses_Redirect('user/logout'));google_base_feed_builder.php http://google-checkout-oscommerce.googlecode.com/svn/trunk/ | PHP | 362 lines
1<?php 2/* 21 * Google Checkout v1.5.0 22 * $Id: google_base_feed_builder.php 224 2009-03-11 16:31:28Z ed.davisson $ 23 * 75 76require_once(DIR_FS_CATALOG . 'googlecheckout/library/xml/google_xml_builder.php'); 77 121 $this->xml->Element('title', $title); 122 $this->xml->Element('link', HTTP_SERVER . DIR_WS_HTTP_CATALOG); 123 // osCommerce doesn't store a description of the store. 304 function add_image_link($product) { 305 $image_link = HTTP_SERVER . DIR_WS_HTTP_CATALOG 306 . DIR_WS_IMAGES . $product['products_image'];template_rm_front_submission_data.php https://bitbucket.org/bryanhui/wordpress-wptouchpoc.git | PHP | 281 lines
41 42 <div class="rm_back_button rmtabs_head" title="<?php echo RM_UI_Strings::get('LABEL_BACK'); ?>" data-rmt-tabcontent="__rmt_noop" onclick="window.history.back()"><i class="material-icons">keyboard_arrow_left</i> <?php echo RM_UI_Strings::get('LABEL_BACK'); ?></div> 43 <div class="rmtabs_head" title="<?php echo RM_UI_Strings::get('LABEL_MY_SUB'); ?>" data-rmt-tabcontent="#rm_first_tab"><i class="material-icons">assignment_turned_in</i> <?php echo RM_UI_Strings::get('LABEL_MY_SUB'); ?></div> 47 48 <div class="rmtabs_head" title="<?php echo RM_UI_Strings::get('LABEL_PAYMENT_DETAILS'); ?>" data-rmt-tabcontent="#rm_second_tab"><i class="material-icons">credit_card</i> <?php echo RM_UI_Strings::get('LABEL_PAYMENT_DETAILS'); ?></div> 49 <?php 52 ?> 53 <div class="rm-form-toggle rmtabs_head" title="<?php echo RM_UI_Strings::get('LABEL_LOG_OFF'); ?>" data-rmt-tabcontent="__rmt_noop" onclick="document.getElementById('rm_front_submissions_nav_form').submit()"><i class="material-icons">vpn_key</i> <?php echo RM_UI_Strings::get('LABEL_LOG_OFF'); ?></div> 54 <?php 57 ?> 58 <div class="rm-form-toggle rmtabs_head" title="<?php echo RM_UI_Strings::get('LABEL_RESET_PASS'); ?>" data-rmt-tabcontent="__rmt_noop" onclick="document.getElementById('rm_front_submissions_respas_form').submit()"><i class="material-icons">vpn_key</i> <?php echo RM_UI_Strings::get('LABEL_RESET_PASS'); ?></div> 59 <?php 224 <div class="rm-submission-label"><?php echo RM_UI_Strings::get('LABEL_PAYER_EMAIL'); ?></div> 225 <div class="rm-submission-value"><?php if (isset($data->payment->log['payer_email'])) echo $data->payment->log['payer_email']; ?></div> 226 </div>SearchRankingTest.php https://bitbucket.org/aswinvk28/smartpan-stock-drupal.git | PHP | 268 lines
1<?php 2 44 public function testRankings() { 45 // Login with sufficient privileges. 46 $this->drupalLogin($this->drupalCreateUser(array('post comments', 'skip comment approval', 'create page content', 'administer search'))); 154 155 // Login with sufficient privileges. 156 $this->drupalLogin($this->drupalCreateUser(array('create page content'))); 232 function testDoubleRankings() { 233 // Login with sufficient privileges. 234 $this->drupalLogin($this->drupalCreateUser(array('skip comment approval', 'create page content')));ReferenceEncryptedProperties.java http://owasp-esapi-java.googlecode.com/svn/trunk/ | Java | 294 lines
5 * Enterprise Security API (ESAPI) project. For details, please see 6 * <a href="http://www.owasp.org/index.php/ESAPI">http://www.owasp.org/index.php/ESAPI</a>. 7 * 31import org.owasp.esapi.EncryptedProperties; 32import org.owasp.esapi.Logger; 33import org.owasp.esapi.crypto.CipherText; 63 /** The logger. */ 64 private final Logger logger = ESAPI.getLogger(this.getClass()); 65 178 super.load(in); 179 logger.trace(Logger.SECURITY_SUCCESS, "Encrypted properties loaded successfully"); 180 } 209 super.load(is); 210 logger.trace(Logger.SECURITY_SUCCESS, "Encrypted properties loaded successfully"); 211 }function_view_log_test.php git://github.com/phpbb/phpbb.git | PHP | 424 lines
17 18class phpbb_log_function_view_log_test extends phpbb_database_test_case 19{ 157 'viewpost' => '', 158 'viewlogs' => append_sid("phpBB/mcp.$phpEx", 'i=logs&mode=topic_logs&t=56'), 159 ), 373 { 374 global $cache, $db, $user, $auth, $phpbb_log, $phpbb_dispatcher, $phpbb_root_path, $phpEx; 375 416 417 $phpbb_log = new \phpbb\log\log($db, $user, $auth, $phpbb_dispatcher, $phpbb_root_path, 'adm/', $phpEx, LOG_TABLE); 418 419 $log = array(); 420 $this->assertEquals($expected_returned, view_log($mode, $log, $log_count, $limit, $offset, $forum_id, $topic_id, $user_id, $limit_days, $sort_by, $keywords)); 421Subnetworks.php https://bitbucket.org/mtrico08/wedding.git | PHP | 276 lines
1<?php 2/* 67 * using orderBy="creationTimestamp desc". This sorts results based on the 68 * creationTimestamp field in reverse chronological order (newest result first). 69 * Use this to sort resources like operations so that the newest operation is 228 * using orderBy="creationTimestamp desc". This sorts results based on the 229 * creationTimestamp field in reverse chronological order (newest result first). 230 * Use this to sort resources like operations so that the newest operation isfunctions_0x65.html http://openbiz-cubi.googlecode.com/svn/trunk/ | HTML | 204 lines
31 <tr style="height: 56px;"> 32 <td id="projectlogo"><img alt="Logo" src="openbiz-logo.png"/></td> 33 <td style="padding-left: 0.5em;"> 36 </div> 37 <div id="projectbrief">Open source PHP Framework that designed for building web application.</div> 38 </td>mls_queries.php https://bitbucket.org/jv-cortez/test-environment.git | PHP | 475 lines
1<?php 2//error_reporting(E_ALL); 3//ini_set('display_errors', 1); 4require_once('../../require/db_conn.php'); 5// require_once('../../require/core.php'); 20 $config = new \PHRETS\Configuration; 21 $config->setLoginUrl('https://pt.rets.crmls.org/contact/rets/login'); 22 $config->setUsername('SPACIO'); 167 $config = new \PHRETS\Configuration; 168 $config->setLoginUrl('https://pt.rets.crmls.org/contact/rets/login'); 169 $config->setUsername('SPACIO'); 259 $config = new \PHRETS\Configuration; 260 $config->setLoginUrl('https://pt.rets.crmls.org/contact/rets/login'); 261 $config->setUsername('SPACIO'); 411 $config = new \PHRETS\Configuration; 412 $config->setLoginUrl('http://rets-rald.realtyserver.com:6103/saskatchewan/rets/login'); 413 $config->setUsername('rald_spacio');atoi.html git://github.com/kazuho/cppref.git | HTML | 154 lines
14<meta name="keywords" content="c,string,atoi" /> 15<link rel="search" type="application/opensearchdescription+xml" href="/wiki/lib/exe/opensearch.php" title="C++ Reference" /> 16<link rel="start" href="/wiki/" /> 17<link rel="contents" href="/wiki/c/string/atoi?do=index" title="Index" /> 18<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/wiki/feed.php" /> 19<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="/wiki/feed.php?mode=list&ns=c:string" /> 23<link rel="canonical" href="http://www.cppreference.com/wiki/c/string/atoi" /> 24<link rel="stylesheet" media="all" type="text/css" href="/wiki/lib/exe/css.php?s=all&t=custom1&tseed=1272971091" /> 25<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&tseed=1272971091" /> 25<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&tseed=1272971091" /> 26<link rel="stylesheet" media="print" type="text/css" href="/wiki/lib/exe/css.php?s=print&t=custom1&tseed=1272971091" /> 27<script type="text/javascript" charset="utf-8" ><!--//--><![CDATA[//><!-- 137 • 138 <a href="../../c/string/atoi.html" class="action login" rel="nofollow">Login</a> • 139 <a href="../../c/string/atoi.html" class="action index" accesskey="x" rel="nofollow">Index</a> •class_facebook_1_1_url_1_1_facebook_url_manipulator.html https://bitbucket.org/leozmoos/projet_web_bdd.git | HTML | 343 lines
22 <tr style="height: 56px;"> 23 <td id="projectlogo"><img alt="Logo" src="LogoHapy.png"/></td> 24 <td id="projectalign" style="padding-left: 0.5em;"> 45$(function() { 46 initMenu('',true,false,'search.php','Search'); 47 $(document).ready(function() { init_search(); }); 332<hr/>The documentation for this class was generated from the following file:<ul> 333<li>src/Facebook/Url/<a class="el" href="_facebook_url_manipulator_8php.html">FacebookUrlManipulator.php</a></li> 334</ul>Pages.php https://bitbucket.org/rightshore/saskatoon-landscape-store.git | PHP | 292 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2class Pages extends MY_Controller 8 parent::__construct(); 9 if( ! $this->session->userdata('web_admin_logged_in')) { 10 redirect('kaizen/welcome','refresh');DBSystemLog.cs https://hg01.codeplex.com/mojoportal | C# | 394 lines
31 /// </summary> 32 /// <param name="logDate"> logDate </param> 33 /// <param name="ipAddress"> ipAddress </param> 37 /// <param name="thread"> thread </param> 38 /// <param name="logLevel"> logLevel </param> 39 /// <param name="logger"> logger </param> 110 111 arParams[7] = new SqlCeParameter("@Logger", SqlDbType.NVarChar, 255); 112 arParams[7].Direction = ParameterDirection.Input; 223 sqlCommand.Append("WHERE "); 224 sqlCommand.Append("LogLevel = @LogLevel "); 225 sqlCommand.Append(";"); 328 /// <summary> 329 /// Gets a page of data from the mp_SystemLog table. 330 /// </summary>README.md git://github.com/timroes/aXMLRPC.git | Markdown | 314 lines
177from the server and sending it with every other request again. This is needed 178for some XML-RPC interfaces that support login. 179 183The client will be able to send `null` values. A `null` value will be send 184as `<nil/>`. This extension is described under: http://ontosys.com/xml-rpc/extensions.php 185 295 296The library is licensed under [MIT License] (http://www.opensource.org/licenses/mit-license.php). 297See the LICENSE file for the license text.server.php http://arronwork.googlecode.com/svn/trunk/ | PHP | 429 lines
209 { 210 errlog::add("%s: monitor has logged in", __METHOD__); 211 socket_close($active['sock']); 226 self::$monitor_login=$new_slot; 227 errlog::add("%s: monitor log in", __METHOD__); 228 } 255 { 256 errlog::add("%s: send fail", __METHOD__); 257 } 263 { 264 self::$monitor_login=-1; 265 errlog::add("%s: monitor %s revoke, error:%d", 328 // errlog 329 if(errlog::init(basename(__FILE__), cnfg::$ERRLOG['LOCATION']) 330 == false)nweb_threads.c git://github.com/jetm/Curso-Empotrado.git | C | 371 lines
202 (void)sprintf(logbuffer, "<HTML><BODY><H1>nweb Web Server Sorry: %s %s</H1></BODY></HTML>\r\n", s1, s2); 203 (void)write(num,logbuffer,strlen(logbuffer)); 204 (void)sprintf(logbuffer,"SORRY: %s:%s",s1, s2); 295 fext = extensions[i].ext; 296 //Log(LOG,"HH- ",fext,*fd); 297 break; 324 strcat(shell,&buffer[5]); 325 Log(LOG,"PHP Script", shell, *fd); 326 327 if ((fp = popen(shell,"r")) == NULL) { 328 Log(LOG, "failed to open file",&buffer[5],*fd); 329 ok = 0; 333 if ((file_fd = open(&buffer[5],O_RDONLY)) == -1) { 334 Log(LOG, "failed to open file",&buffer[5],*fd); 335 ok = 0;