PageRenderTime 4193ms queryTime 672ms sortTime 677ms getByIdsTime 97ms findMatchingLines 97ms

100+ results results for 'php link' (4193 ms)

Not the results you expected?
wp-cache-f091d5ab40590bc01ee8ea7afc5372b1.html https://gitlab.com/endomorphosis/reservationtelco | HTML | 371 lines
                    
12	
                    
13	<link rel="stylesheet" href="http://localhost:8888/reservation-telephone-company/wp-content/themes/reservation-telephone-company/style.css" type="text/css" media="screen" />
                    
14	
                    
19<link rel='stylesheet' id='gs-basic-functions-css'  href='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-basic-functions/gs-basic-functions.css?ver=3.0-RC1-15112' type='text/css' media='all' />
                    
20<link rel='stylesheet' id='gs-news-flash-css'  href='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-news-flash/css/gs-news-flash.css?ver=3.0-RC1-15112' type='text/css' media='all' />
                    
21<link rel='stylesheet' id='gs-pop-window-css'  href='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-pop-window/css/gs-pop-window.css?ver=3.0-RC1-15112' type='text/css' media='all' />
                    
22<link rel='stylesheet' id='gs-presentation-css'  href='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-presentation/css/gs-presentation.css?ver=3.0-RC1-15112' type='text/css' media='all' />
                    
23<link rel='stylesheet' id='contact-form-7-css'  href='http://localhost:8888/reservation-telephone-company/wp-content/plugins/contact-form-7/styles.css?ver=2.2.1' type='text/css' media='all' />
                    
24<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver=1.4.2'></script>
                    
29<script type='text/javascript' src='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-presentation/js/gs-presentation.js?ver=3.0-RC1-15112'></script>
                    
30<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost:8888/reservation-telephone-company/xmlrpc.php?rsd" />
                    
31<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost:8888/reservation-telephone-company/wp-includes/wlwmanifest.xml" /> 
                    
33<link rel='prev' title='Services' href='http://localhost:8888/reservation-telephone-company/services-2-2/' />
                    
34<link rel='next' title='Links' href='http://localhost:8888/reservation-telephone-company/links/' />
                    
35<meta name="generator" content="WordPress 3.0-RC1-15112" />
                    
                
Url.php https://bitbucket.org/alessandro-aglietti/itis-leonardo-da-vinci.git | PHP | 548 lines
                    
1<?php
                    
2
                    
479     * @throws InvalidArgumentException
                    
480     * @link http://tools.ietf.org/html/rfc3986#section-5.4
                    
481     */
                    
                
InstallSchema.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 407 lines
                    
1<?php
                    
2/**
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
336        /**
                    
337         * Create table 'layout_link'
                    
338         */
                    
339        $table = $installer->getConnection()->newTable(
                    
340            $installer->getTable('layout_link')
                    
341        )->addColumn(
                    
341        )->addColumn(
                    
342            'layout_link_id',
                    
343            \Magento\Framework\DB\Ddl\Table::TYPE_INTEGER,
                    
345            ['identity' => true, 'unsigned' => true, 'nullable' => false, 'primary' => true],
                    
346            'Link Id'
                    
347        )->addColumn(
                    
                
Country.php https://gitlab.com/jslee1/PrestaShop | PHP | 417 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
22 * @copyright 2007-2015 PrestaShop SA
                    
23 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
                    
24 * International Registered Trademark & Property of PrestaShop SA
                    
98        'fields' => array(
                    
99            'id_zone' => array('xlink_resource'=> 'zones'),
                    
100            'id_currency' => array('xlink_resource'=> 'currencies'),
                    
                
index_002.php https://github.com/robert-fu-berlin/Exercises-Web-based-Information-Systems.git | PHP | 458 lines
                    
157
                    
158 quicklinkbox : null,
                    
159 quicklinkdest : null,
                    
271      marker = { lat:0, lon:0 },
                    
272      link, links, coordinates, quicklinkbox,
                    
273      key, len, coord_title, coord_params, icons, startTime, zoomlevel, content, mapbutton;
                    
321  {
                    
322   link = links[key];
                    
323
                    
326
                    
327   if( link.className !== 'external text'  ||
                    
328       link.href.match(/_globe:(?!earth)/i) !== null ) { continue; }
                    
384   // link.parentNode.insertBefore(mapbutton, link.nextSibling);
                    
385   link.parentNode.insertBefore(mapbutton,link);
                    
386   w.hookUpMapbutton(mapbutton);
                    
                
Batch.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 514 lines
                    
1<?php
                    
2
                    
162  public static function getReferenceColumns() {
                    
163    if (!isset(Civi::$statics[__CLASS__]['links'])) {
                    
164      Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
                    
164      Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
                    
165      Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
                    
166      Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'modified_id', 'civicrm_contact', 'id');
                    
167      Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'saved_search_id', 'civicrm_saved_search', 'id');
                    
168      CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
                    
169    }
                    
169    }
                    
170    return Civi::$statics[__CLASS__]['links'];
                    
171  }
                    
                
about.html https://gitlab.com/adrian.io/ide | HTML | 275 lines
                    
16		Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
                    
17		at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
                    
18		For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
                    
124      of this License, Derivative Works shall not include works that remain
                    
125      separable from, or merely link (or bind by name) to the interfaces of,
                    
126      the Work and Derivative Works thereof.
                    
                
core.php https://bitbucket.org/daveschwan/ronin-group.git | PHP | 385 lines
                    
6 *
                    
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
15 * @link          http://cakephp.org CakePHP(tm) Project
                    
16 * @package       app.Config
                    
99 * will not work without URL rewriting!
                    
100 * To work around this issue you should either symlink or copy
                    
101 * the plugin assets into you app's webroot directory. This is
                    
205 *
                    
206 * - 'php' - Uses settings defined in your php.ini.
                    
207 * - 'cake' - Saves session files in CakePHP's /tmp directory.
                    
254 *
                    
255 * To use, prefix your JavaScript link URLs with '/cjs/' instead of '/js/' or use JsHelper::link().
                    
256 */
                    
                
MaildirFolderTest.php https://github.com/obias/zf2.git | PHP | 444 lines
                    
1<?php
                    
2/**
                    
36 */
                    
37class MaildirFolderTest extends \PHPUnit_Framework_TestCase
                    
38{
                    
112                    }
                    
113                    unlink($entry);
                    
114                }
                    
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;
                    
257
                    
258            // explicit call of __toString() needed for PHP < 5.2
                    
259            $found_folders[$folder->__toString()] = $localName;
                    
                
SqlBase.php https://gitlab.com/andecode/theme-spark | PHP | 415 lines
                    
1<?php
                    
2
                    
133      '#tree' => TRUE,
                    
134      '#title' => $this->t('Pager link labels'),
                    
135      '#input' => TRUE,
                    
139      '#type' => 'textfield',
                    
140      '#title' => $this->t('Previous page link text'),
                    
141      '#default_value' => $this->options['tags']['previous'],
                    
145      '#type' => 'textfield',
                    
146      '#title' => $this->t('Next page link text'),
                    
147      '#default_value' => $this->options['tags']['next'],
                    
402  public function getCacheContexts() {
                    
403    // The rendered link needs to play well with any other query parameter used
                    
404    // on the page, like other pagers and exposed filter.
                    
                
rewrite.php https://bitbucket.org/zachisit/zachis.it-m.git | PHP | 425 lines
                    
87		//TODO: Watch out for ticket http://trac.wordpress.org/ticket/6627
                    
88		if ($wp_rewrite->using_permalinks() && $this->options['usePermalinks'] ) {
                    
89			$post = &get_post(get_the_ID());
                    
161	/**
                    
162	* The permalinks needs to be flushed after activation
                    
163	*/
                    
250            // create the meta link
                    
251 			$meta  = "\n<link rel='canonical' href='" . get_permalink() ."' />";
                    
252 			// add a filter for SEO plugins, so they can remove it
                    
282        $rewrite_rules = array();
                    
283        $permalink_structure =  $wp_rewrite->permalink_structure;      
                    
284		
                    
285        //get everything up to the first rewrite tag
                    
286		$front = substr($permalink_structure, 0, strpos($permalink_structure, '%'));
                    
287		//build an array of the tags (note that said array ends up being in $tokens[0])
                    
                
CakeRoute.php https://github.com/bmcclure/cakephp.git | PHP | 506 lines
                    
1<?php
                    
2/**
                    
8 *
                    
9 * PHP5
                    
10 *
                    
10 *
                    
11 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
12 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
17 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
18 * @link          http://cakephp.org CakePHP(tm) Project
                    
19 * @package       Cake.Routing.Route
                    
19 * @package       Cake.Routing.Route
                    
20 * @since         CakePHP(tm) v 1.3
                    
21 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
                
StorageServiceSettings.php https://bitbucket.org/skudatech/azure-sdk-for-php.git | PHP | 485 lines
                    
1<?php
                    
2
                    
14 * 
                    
15 * PHP version 5
                    
16 *
                    
18 * @package   WindowsAzure\Common\Internal
                    
19 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
20 * @copyright 2012 Microsoft Corporation
                    
21 * @license   http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
                    
22 * @link      https://github.com/windowsazure/azure-sdk-for-php
                    
23 */
                    
35 * @package   WindowsAzure\Common\Internal
                    
36 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
37 * @copyright 2012 Microsoft Corporation
                    
39 * @version   Release: @package_version@
                    
40 * @link      https://github.com/windowsazure/azure-sdk-for-php
                    
41 */
                    
                
view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
                    
1<?php
                    
2/**
                    
93			// If the current view is the active item and a contact view for this contact, then the menu item params take priority
                    
94			if (strpos($active->link, 'view=contact') && strpos($active->link, '&id=' . (int) $item->id))
                    
95			{
                    
161		{
                    
162			$item->email_to = JHtml::_('email.cloak', $item->email_to, (bool) $item->params->get('add_mailto_link', true));
                    
163		}
                    
277
                    
278		// Add links to contacts
                    
279		if ($item->params->get('show_contact_list') && count($contacts) > 1)
                    
282			{
                    
283				$contact->link = JRoute::_(ContactHelperRoute::getContactRoute($contact->slug, $contact->catid), false);
                    
284			}
                    
353		// If it is the active menu item, then the view and item id will match
                    
354		if ((!$active) || ((strpos($active->link, 'view=contact') === false) || (strpos($active->link, '&id=' . (string) $this->item->id) === false)))
                    
355		{
                    
                
lang.php https://gitlab.com/michield/dokuwiki | PHP | 188 lines
                    
31$lang['_editing']              = 'Szerkesztési beállítások';
                    
32$lang['_links']                = 'Link beállítások';
                    
33$lang['_media']                = 'Media beállítások';
                    
56$lang['htmlok']                = 'Beágyazott HTML engedélyezése';
                    
57$lang['phpok']                 = 'Beágyazott PHP engedélyezése';
                    
58$lang['dformat']               = 'Dátum formázás (lásd a PHP <a href="http://www.php.net/strftime">strftime</a> függvényt)';
                    
117$lang['sitemap']               = 'Hány naponként generáljunk Google sitemap-ot?';
                    
118$lang['broken_iua']            = 'Az ignore_user_abort függvény hibát dob a rendszereden? Ez nem működő keresési indexet eredményezhet. Az IIS+PHP/CGI összeállításról tudjuk, hogy hibát dob. Lásd a <a href="http://bugs.splitbrain.org/?do=details&amp;task_id=852">Bug 852</a> oldalt a további infóért.';
                    
119$lang['xsendfile']             = 'Használjuk az X-Sendfile fejlécet, hogy a webszerver statikus állományokat tudjon küldeni? A webszervernek is támogatnia kell ezt a funkciót.';
                    
124$lang['rss_type']              = 'XML hírfolyam típus';
                    
125$lang['rss_linkto']            = 'XML hírfolyam hivatkozás';
                    
126$lang['rss_content']           = 'Mit mutassunk az XML hírfolyam elemekben?';
                    
182$lang['showuseras_o_email']    = 'E-mail cím (olvashatatlanná téve az e-mailcím védelem beállítása szerint)';
                    
183$lang['showuseras_o_email_link'] = 'E-mail cím mailto: linkként';
                    
184$lang['useheading_o_0']        = 'Soha';
                    
                
twitter-timeline.php https://gitlab.com/vanafroo/landingpage | PHP | 470 lines
                    
336				<?php esc_html_e( 'Widget Type:', 'jetpack' ); ?>
                    
337				<?php echo $this->get_docs_link( '#widget-type' ); ?>
                    
338			</label>
                    
367				<?php esc_html_e( 'Twitter Username:', 'jetpack' ); ?>
                    
368				<?php echo $this->get_docs_link( '#twitter-username' ); ?>
                    
369			</label>
                    
426			<label for="<?php echo $this->get_field_id( 'link-color' ); ?>">
                    
427				<?php _e( 'Link Color (hex):', 'jetpack' ); ?>
                    
428			</label>
                    
431				id="<?php echo $this->get_field_id( 'link-color' ); ?>"
                    
432				name="<?php echo $this->get_field_name( 'link-color' ); ?>"
                    
433				type="text"
                    
433				type="text"
                    
434				value="<?php echo esc_attr( $instance['link-color'] ); ?>"
                    
435			/>
                    
                
menu.php https://github.com/Manuite/FUEL-CMS.git | PHP | 438 lines
                    
156			<td>None</td>
                    
157			<td>The HTML element between the links</td>
                    
158		</tr>
                    
165		<tr>
                    
166			<td>home_link</td>
                    
167			<td>Home</td>
                    
168			<td>None</td>
                    
169			<td>The root home link. If value is an array, the key of array is the link and the value is the label</td>
                    
170		</tr>
                    
198	<li><strong>label</strong> - the text label to display for the menu item</li>
                    
199	<li><strong>location</strong> -  the link location of the menu item. If none is specified, the array key value will be used</li>
                    
200	<li><strong>attributes</strong> - additional HTML link attributes (e.g. target="_blank") to assign to the menu item</li>
                    
208<p>Below is an common example:</p>
                    
209<pre class="brush: php">
                    
210$nav = array();
                    
                
index.php https://gitlab.com/Nilufarjahan/LabExam8 | PHP | 455 lines
                    
69    <link href="../../../resource/bootstrap/css/styles.css" rel="stylesheet">
                    
70    <link rel="stylesheet" href="../../../resource/bootstrap/css/font-icons/entypo/css/entypo.css">
                    
71    <link rel="stylesheet" href="../../../resource/bootstrap/css/font-icons/font-awesome/css/font-awesome.min.css">
                    
135            <li>
                    
136                <a href="../Birthday/create.php">
                    
137                    <span class="title">Add New</span>
                    
243            <li>
                    
244                <a href="../SummaryOfOrganization/create.php">
                    
245                    <span class="title">Add New</span>
                    
328                                <td><?php echo $oneData->birthday?></td>
                    
329                                <?php  echo "<td> <a href=\"edits.php?id=$oneData->id\"class=\"btn btn-info\" role=\"button\">Edit</a>  ";?>
                    
330                                <?php  echo " <a href=\"delete.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Delete</a> ";?>
                    
331                            
                    
332                                <?php  echo " <a href=\"trash.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Trash</a> </td> ";?>
                    
333                            </tr>
                    
                
index.php https://github.com/shamilcm/wireus.git | PHP | 291 lines
                    
4
                    
5<?php 
                    
6
                    
8        if($_SESSION['authuser']!=1)
                    
9                header("Location:../index.php");
                    
10      ?>  
                    
13<head>
                    
14<link rel="icon" 
                    
15      href="../favicon.ico">
                    
15      href="../favicon.ico">
                    
16</link>
                    
17<title> Wireus </title>
                    
18
                    
19<link rel="stylesheet" type="text/css" href="../themes/style2.css" />
                    
20<script type="text/javascript" src="../js/jquery.js"></script>
                    
                
sbhnddma.h https://github.com/netarchy/infuse4g-sources.git | C Header | 343 lines
                    
9 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
10 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
11 * following added to such license:
                    
13 *      As a special exception, the copyright holders of this software give you
                    
14 * permission to link this software with independent modules, and to copy and
                    
15 * distribute the resulting executable under terms of your choice, provided that
                    
15 * distribute the resulting executable under terms of your choice, provided that
                    
16 * you also meet, for each linked independent module, the terms and conditions of
                    
17 * the license of that module.  An independent module is a module which is not
                    
                
edit.php https://github.com/eric-brechemier/wordpress.git | PHP | 294 lines
                    
163<?php screen_icon(); ?>
                    
164<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php
                    
165if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
                    
170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?>
                    
171<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div>
                    
172<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
                    
238		$class = ' class="current"';
                    
239	$status_links[] = "<li><a href='edit.php?post_type=$post_type&author=$current_user->ID'$class>" . sprintf( _nx( 'Mine <span class="count">(%s)</span>', 'Mine <span class="count">(%s)</span>', $user_posts_count, 'posts' ), number_format_i18n( $user_posts_count ) ) . '</a>';
                    
240	$allposts = '&all_posts=1';
                    
249$class = empty($class) && empty($_REQUEST['post_status']) ? ' class="current"' : '';
                    
250$status_links[] = "<li><a href='edit.php?post_type=$post_type{$allposts}'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_posts, 'posts' ), number_format_i18n( $total_posts ) ) . '</a>';
                    
251
                    
265
                    
266	$status_links[] = "<li><a href='edit.php?post_status=$status_name&amp;post_type=$post_type'$class>" . sprintf( _n( $status->label_count[0], $status->label_count[1], $num_posts->$status_name ), number_format_i18n( $num_posts->$status_name ) ) . '</a>';
                    
267}
                    
                
TextArea.php https://gitlab.com/ElvisAns/tiki | PHP | 377 lines
                    
1<?php
                    
2
                    
113        $wikilib->update_wikicontent_relations($value, 'trackeritemfield', sprintf("%d:%d", $itemId, $fieldId));
                    
114        $wikilib->update_wikicontent_links($value, 'trackeritemfield', sprintf("%d:%d", $itemId, $fieldId));
                    
115    }
                    
                
permissions.inc.php https://github.com/martinf55/revolution.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
61$_lang['perm.edit_user_desc'] = 'Benutzer bearbeiten.';
                    
62$_lang['perm.element_tree_desc'] = 'Den Elemente-Baum im linken Navigations-Bereich anzeigen.';
                    
63$_lang['perm.empty_cache_desc'] = 'Den Site-Cache leeren.';
                    
70$_lang['perm.file_remove_desc'] = 'Dateien löschen.';
                    
71$_lang['perm.file_tree_desc'] = 'Den Dateibaum im linken Navigations-Bereich anzeigen.';
                    
72$_lang['perm.file_update_desc'] = 'Den Inhalt von Dateien ändern.';
                    
106$_lang['perm.new_static_resource_desc'] = 'Neue statische Ressourcen anlegen.';
                    
107$_lang['perm.new_symlink_desc'] = 'Neue Symlinks anlegen.';
                    
108$_lang['perm.new_template_desc'] = 'Neue Templates anlegen.';
                    
110$_lang['perm.new_user_desc'] = 'Neue Benutzer anlegen.';
                    
111$_lang['perm.new_weblink_desc'] = 'Neue Weblinks anlegen.';
                    
112$_lang['perm.packages_desc'] = 'Transport-Packages in der Package-Verwaltung benutzen.';
                    
137$_lang['perm.resource_duplicate_desc'] = 'Ressourcen duplizieren.';
                    
138$_lang['perm.resource_quick_create_desc'] = '"Ressource schnell erstellen" im Ressourcen-Baum auf der linken Seite nutzen zu können.';
                    
139$_lang['perm.resource_quick_update_desc'] = '"Ressource schnell bearbeiten" im Ressourcen-Baum auf der linken Seite nutzen zu können.';
                    
                
cpanel.php https://github.com/andrewgs/practice-book.ru.git | PHP | 320 lines
                    
13	<link rel="stylesheet" href="<?=$baseurl;?>css/style.css?v=1">
                    
14	<link rel="stylesheet" href="<?=$baseurl;?>css/960.css?v=1">
                    
15	<link rel="stylesheet" href="<?=$baseurl;?>css/jquery-ui.css?v=1.8.5">
                    
18	<link rel="stylesheet" href="<?=$baseurl;?>css/custom.css">
                    
19	<link rel="stylesheet" media="handheld" href="<?=$baseurl;?>css/handheld.css?v=1">
                    
20	<script src="<?=$baseurl;?>javascript/modernizr-1.5.min.js"></script>
                    
141												<td class="col-price-company"><?=$units[$i]['cu_price'];?></td>
                    
142												<td class=""><strong><?=$units[$i]['cu_priceunit'];?><?php if($units[$i]['cu_unitscode']):?>/<?=$units[$i]['cu_unitscode'];?><?php endif;?></strong></td>
                    
143											</tr>
                    
149							</div>
                    
150							<div class="box-bottom-links h20">
                    
151								<div class="right">
                    
169							<div class="box-content">
                    
170							<?php for($i=0;$i<count($representative); $i++):?>
                    
171								<div class="content-separator" id="drep<?=$i;?>" rID="<?=$representative[$i]['uid'];?>">
                    
                
facebook.php https://github.com/copongcopong/CakePHP-Facebook-Plugin.git | PHP | 425 lines
                    
28    * - 'email' => Support Email
                    
29    * - 'link' => Support Link
                    
30    * - 'license' => License Info
                    
117   * - redirect string to your app's logout url (default null)
                    
118   * - label string of text to use in link (default logout)
                    
119   * - confirm string Alert dialog which will be visible if user clicks on the button/link
                    
119   * - confirm string Alert dialog which will be visible if user clicks on the button/link
                    
120   * @return string Link for disconnect button
                    
121   * @access public
                    
166      switch($options['style']){
                    
167        case 'link': $options['type'] = 'icon_link'; break;
                    
168        default: $options['type'] = 'button'; break;
                    
176    else {
                    
177      $retval = $this->Html->link($options['label'], 'http://www.facebook.com/sharer.php', array('share_url' => $url, 'type' => $options['type'], 'name' => $options['anchor']));
                    
178      $retval .= $this->Html->script($this->__fbShareScript);
                    
                
class-wp-terms-list-table.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 454 lines
                    
127		if ( 'link_category' == $this->screen->taxonomy ) {
                    
128			$columns['links'] = __( 'Links' );
                    
129		} else {
                    
288		$qe_data = get_term( $tag->term_id, $taxonomy, OBJECT, 'edit' );
                    
289		$edit_link = esc_url( get_edit_term_link( $tag->term_id, $taxonomy, $this->screen->post_type ) );
                    
290
                    
290
                    
291		$out = '<strong><a class="row-title" href="' . $edit_link . '" title="' . esc_attr( sprintf( __( 'Edit &#8220;%s&#8221;' ), $name ) ) . '">' . $name . '</a></strong><br />';
                    
292
                    
368
                    
369		return "<a href='" . esc_url ( add_query_arg( $args, 'edit.php' ) ) . "'>$count</a>";
                    
370	}
                    
374		if ( $count )
                    
375			$count = "<a href='link-manager.php?cat_id=$tag->term_id'>$count</a>";
                    
376		return $count;
                    
                
index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
                    
13 * PHP Debug
                    
14 * @link http://phpdebug.sourceforge.net/
                    
15 */
                    
25$debug_page = false;
                    
26include_once('debug/header.php');
                    
27
                    
46
                    
47<html><!-- InstanceBegin template="/Templates/vnmain.dwt.php" codeOutsideHTMLIsLocked="false" -->
                    
48  <head>
                    
177				  ?>
                    
178				  <div align="right" class="FieldNumberDisabled"><strong><?= $language['label']['welcome']; ?> <a href="../../Administration/user_information.php" class="FieldNumberDisabled" <?php help('', 'Edit your user information', 'default'); ?>><?= ucwords(strtolower($_SESSION['fullname'])); ?></a></strong>&nbsp;&nbsp;<a href="../../logout.php" class="FieldNumberDisabled" <?php help('', 'Selecting [logout] will Log you out of the '.$default[title1].' and stop automatic cookie login', 'default'); ?>>[logout]</a>&nbsp;</div>
                    
179				  <?php
                    
310              <tr>
                    
311                <td width="50%" nowrap><!-- InstanceBeginEditable name="copyright" --><?php include('../include/copyright.php'); ?><!-- InstanceBeginEditable --></td>
                    
312                <td width="50%"><div id="noPrint" align="right"><!-- InstanceBeginEditable name="version" --><!-- InstanceEndEditable --></div></td>
                    
                
string.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 300 lines
                    
50
                    
51        $data = "cakephp 'great framework' php";
                    
52        $result = String::tokenize($data, ' ', "'", "'");
                    
53        // result contains
                    
54        array('cakephp', "'great framework'", 'php');
                    
55
                    
63
                    
64.. php:staticmethod:: cleanInsert($string, $options = array())
                    
65
                    
103
                    
104.. php:method:: highlight(string $haystack, string $needle, array $options = array() )
                    
105
                    
141
                    
142.. php:method:: stripLinks($text)
                    
143
                    
                
lang.php https://github.com/frbayart/dokuwiki-wordpress-phpBB.git | PHP | 186 lines
                    
53$lang['htmlok']                = 'Permitir embeber HTML';
                    
54$lang['phpok']                 = 'Permitir embeber PHP';
                    
55$lang['dformat']               = 'Formato de Data (ver função PHP\'s <a href="http://www.php.net/strftime">strftime</a>)';
                    
68$lang['indexdelay']            = 'Tempo de espera antes da indexação (seg)';
                    
69$lang['relnofollow']           = 'Usar rel="nofollow" em links externos';
                    
70$lang['mailguard']             = 'Obscurecer endereços de email';
                    
122$lang['rss_type']              = 'Tipo de feed XML';
                    
123$lang['rss_linkto']            = 'Links de feed XML ara';
                    
124$lang['rss_content']           = 'O que deve ser exibido nos itens do alimentador XML?';
                    
129$lang['target____interwiki']   = 'Parâmetro "target" para links entre wikis';
                    
130$lang['target____extern']      = 'Parâmetro "target" para links externos';
                    
131$lang['target____media']       = 'Parâmetro "target" para links de media';
                    
180$lang['showuseras_o_email']    = 'Endereço email do utilizador (ofuscado de acordo com a configuração mailguard)';
                    
181$lang['showuseras_o_email_link'] = 'Endereço de e-mail de usuário como um link "mailto:"';
                    
182$lang['useheading_o_0']        = 'Nunca';
                    
                
admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
249
                    
250				// Add a Navigation Link
                    
251				if ($nav_group_id)
                    
253					$this->load->model('navigation/navigation_m');
                    
254					$this->navigation_m->insert_link(array(
                    
255						'title'					=> $input['title'],
                    
255						'title'					=> $input['title'],
                    
256						'link_type'				=> 'page',
                    
257						'page_id'				=> $id,
                    
375			// Set the flashdata message and redirect the user
                    
376			$link = anchor('admin/pages/preview/'.$id, $this->input->post('title'), 'class="modal-large"');
                    
377			$this->session->set_flashdata('success', sprintf(lang('pages_edit_success'), $link));
                    
543			
                    
544					<li id="page_<?php echo $page['id']; ?>">
                    
545						<div>
                    
                
class-wp-ms-users-list-table.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 301 lines
                    
95		$role_links = array();
                    
96		$role_links['all'] = "<a href='" . network_admin_url('users.php') . "'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_users, 'users' ), number_format_i18n( $total_users ) ) . '</a>';
                    
97		$class = $role == 'super' ? ' class="current"' : '';
                    
97		$class = $role == 'super' ? ' class="current"' : '';
                    
98		$role_links['super'] = "<a href='" . network_admin_url('users.php?role=super') . "'$class>" . sprintf( _n( 'Super Admin <span class="count">(%s)</span>', 'Super Admins <span class="count">(%s)</span>', $total_admins ), number_format_i18n( $total_admins ) ) . '</a>';
                    
99
                    
175						<th scope="row" class="check-column">
                    
176							<label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label>
                    
177							<input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" />
                    
183						$avatar	= get_avatar( $user->user_email, 32 );
                    
184						$edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), get_edit_user_link( $user->ID ) ) );
                    
185
                    
186						echo "<td $attributes>"; ?>
                    
187							<?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php
                    
188							if ( in_array( $user->user_login, $super_admins ) )
                    
                
multiple-featured-images.php https://gitlab.com/webkod3r/tripolis | PHP | 374 lines
                    
1<?php
                    
2/*
                    
91		public function kd_admin_init() {		
                    
92			if( strstr($_SERVER['REQUEST_URI'], 'wp-admin/post-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/post.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/media-upload.php')) {
                    
93				wp_enqueue_script(
                    
146
                    
147			$setImageLink = sprintf(
                    
148					'<p class="hide-if-no-js"><a title="%2$s" href="%1$s" id="kd_%3$s" class="thickbox">%%s</a></p>',
                    
157				$thumbnail = wp_get_attachment_image( $image_id, array( 266, 266 ) );
                    
158				$output.= sprintf( $setImageLink, $thumbnail );
                    
159				$output.= '<p class="hide-if-no-js">';
                    
172			else {
                    
173				return sprintf( $setImageLink, $this->labels['set'] );
                    
174			}
                    
373
                    
374// Omit closing PHP tag to avoid "Headers already sent" issues.
                    
375
                    
                
zone.php https://bitbucket.org/sandeepbhaskar/inspiredliving.git | PHP | 441 lines
                    
1<?php 
                    
2class ControllerLocalisationZone extends Controller {
                    
40			
                    
41			$this->redirect($this->url->link('localisation/zone', 'token=' . $this->session->data['token'] . $url, 'SSL'));
                    
42		}
                    
72			
                    
73			$this->redirect($this->url->link('localisation/zone', 'token=' . $this->session->data['token'] . $url, 'SSL'));
                    
74		}
                    
106
                    
107			$this->redirect($this->url->link('localisation/zone', 'token=' . $this->session->data['token'] . $url, 'SSL'));
                    
108		}
                    
149       		'text'      => $this->language->get('text_home'),
                    
150			'href'      => $this->url->link('common/home', 'token=' . $this->session->data['token'], 'SSL'),
                    
151      		'separator' => false
                    
155       		'text'      => $this->language->get('heading_title'),
                    
156			'href'      => $this->url->link('localisation/zone', 'token=' . $this->session->data['token'] . $url, 'SSL'),
                    
157      		'separator' => ' :: '
                    
                
Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
                    
40    /**
                    
41     * The action links that we need to display for the browse screen
                    
42     *
                    
45     */
                    
46    static $_links = null;
                    
47    
                    
49    /**
                    
50     * This method returns the links that are given for honor search row.
                    
51     * currently the links added for each row are 
                    
59     */
                    
60    static function &honorLinks()
                    
61    {
                    
121            foreach( $params as $ids => $honorId ) {
                    
122                $params[$ids]['action'] = CRM_Core_Action::formLink(self::honorLinks( ), $action, 
                    
123                                                                    array('cid'              => $honorId['honorId'],
                    
                
UploadHandler.php https://github.com/zikula-modules/Reviews.git | PHP | 404 lines
                    
1<?php
                    
2/**
                    
8 * @author Michael Ueberschaer <kontakt@webdesign-in-bremen.com>.
                    
9 * @link http://webdesign-in-bremen.com
                    
10 * @link http://zikula.org
                    
45        $this->imageFileTypes = array('gif', 'jpeg', 'jpg', 'png', 'swf');
                    
46        $this->forbiddenFileTypes = array('cgi', 'pl', 'asp', 'phtml', 'php', 'php3', 'php4', 'php5', 'exe', 'com', 'bat', 'jsp', 'cfm', 'shtml');
                    
47        $this->allowedFileSizes = array('review' => array('coverUpload' => 102400));
                    
325                break;
                    
326            case UPLOAD_ERR_INI_SIZE: //uploaded file exceeds the upload_max_filesize directive in php.ini
                    
327                $errmsg = __('File too big', $dom);
                    
395        // remove original file
                    
396        if (!unlink($filePath)) {
                    
397            return false;
                    
                
date.php https://github.com/chemila/kohana.git | PHP | 566 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
28	 * Timezone for formatted_time
                    
29	 * @link http://uk2.php.net/manual/en/timezones.php
                    
30	 * @var  string
                    
39	 *
                    
40	 * [!!] A list of time zones that PHP supports can be found at
                    
41	 * <http://php.net/timezones>.
                    
496	 * this is needed, but some binary formats use it (eg: zip files.)
                    
497	 * Converting the other direction is done using {@link Date::dos2unix}.
                    
498	 *
                    
524	 * this is needed, but some binary formats use it (eg: zip files.)
                    
525	 * Converting the other direction is done using {@link Date::unix2dos}.
                    
526	 *
                    
548	 *
                    
549	 * @see     http://php.net/manual/en/datetime.construct.php
                    
550	 * @param   string  datetime_str     datetime string
                    
                
filterlib.php https://github.com/nadavkav/Moodle-RTL--Shenkar-Translation-Team-.git | PHP | 365 lines
                    
1<?php // $Id: filterlib.php,v 1.24.10.4 2009/02/18 11:02:11 stronk7 Exp $
                    
2      // Contains special functions that are particularly useful to filters
                    
67/// eg '<script(.+?)>' to match any type of script tag
                    
68    $filterignoretagsopen  = array('<head>' , '<nolink>' , '<span class="nolink">');
                    
69    $filterignoretagsclose = array('</head>', '</nolink>', '</span>');
                    
146        /// be cleared up before returning to the user.
                    
147            $linkobject->work_phrase = preg_replace('/([#*%])/','\1\1',$linkobject->work_phrase);
                    
148
                    
151            /// Strip tags
                    
152                $linkobject->work_replacementphrase = strip_tags($linkobject->replacementphrase);
                    
153            } else {                                 //The replacement is the original phrase as matched below
                    
157        /// Quote any regular expression characters and the delimiter in the work phrase to be searched
                    
158            $linkobject->work_phrase = preg_quote($linkobject->work_phrase, '/');
                    
159
                    
178            $notfullmatches = array();
                    
179            $regexp = '/'.$filterinvalidprefixes.'('.$linkobject->work_phrase.')|('.$linkobject->work_phrase.')'.$filterinvalidsuffixes.'/'.$modifiers;
                    
180
                    
                
CachePdo.html https://github.com/TimBroddin/MegaCache.git | HTML | 367 lines
                    
6			<title>Docs For Class CachePdo</title>
                    
7			<link rel="stylesheet" href="../media/stylesheet.css" />
                    
8			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
                    
23	<div class="info-box-body">
                    
24        		<!-- ========== Info from phpDoc block ========= -->
                    
25<p class="short-description">CachePdo class.</p>
                    
31		<p class="notes">
                    
32			Located in <a class="field" href="_adapters---CachePdo.php.html">/adapters/CachePdo.php</a> (line <span class="field">20</span>)
                    
33		</p>
                    
139	
                    
140	<!-- ========== Info from phpDoc block ========= -->
                    
141<p class="short-description">__construct function.</p>
                    
363	<p class="notes" id="credit">
                    
364		Documentation generated on Sat, 30 Oct 2010 10:42:46 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
                    
365	</p>
                    
                
store.php https://github.com/totara/moodle.git | PHP | 362 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
20 * @package    logstore_legacy
                    
21 * @copyright  2013 Petr Skoda {@link http://skodak.org}
                    
22 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
63            $replace = "module = 'course' AND action = 'new' AND userid = :userid AND url = :url AND time > :since";
                    
64            $params += array('url' => "view.php?id={$params['courseid']}");
                    
65            return array($replace, $params, $sort);
                    
246
                    
247        // If the 100 field size is changed, also need to alter print_log in course/lib.php.
                    
248        if (!empty($url) && \core_text::strlen($url) > 100) {
                    
                
route.php https://github.com/ymtn/core.git | PHP | 589 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
27 * Routes also provide a way to generate URIs (called "reverse routing"), which
                    
28 * makes them an extremely powerful and flexible way to generate internal links.
                    
29 *
                    
288	 * The $uri parameter can either be a string for basic regex matching or it
                    
289	 * can be a valid callback or anonymous function (php 5.3+). If you use a
                    
290	 * callback or anonymous function, your method should return an array
                    
                
Layout.php https://github.com/nationalfield/symfony.git | PHP | 490 lines
                    
1<?php
                    
2/*
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
29 * @version     $Revision$
                    
30 * @link        www.doctrine-project.org
                    
31 * @since       0.9
                    
                
version.html https://github.com/trevor/ImageMagick.git | HTML | 365 lines
                    
24  <link rel="shortcut icon" href="../../images/wand.ico" type="images/x-icon"></link>
                    
25  <link rel="canonical" href="../../index.html"></link>
                    
26  <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"></link>
                    
34  <!-- Add fancyBox -->
                    
35  <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/jquery.fancybox.css?v=2.0.6" type="text/css" media="screen"></link>
                    
36  <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/jquery.fancybox.pack.js?v=2.0.6"></script>
                    
38  <!-- Optionally add helpers - button, thumbnail and/or media -->
                    
39  <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.2" type="text/css" media="screen"></link>
                    
40  <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.2"></script>
                    
42  
                    
43  <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-thumbs.css?v=2.0.6" type="text/css" media="screen"></link>
                    
44  <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-thumbs.js?v=2.0.6"></script>
                    
155<div class="sub">
                    
156  <a title="Site Map: Links" href="../../www/links.html">Links</a>
                    
157</div>
                    
                
transformation.php https://github.com/xc/zetacomponents.git | PHP | 417 lines
                    
1<?php
                    
2/**
                    
237                copy( $fileTmp, $fileOut );
                    
238                unlink( $fileTmp );
                    
239                return;
                    
246            // Clean up
                    
247            unlink( $fileTmp );
                    
248            // Rethrow
                    
321            {
                    
322                unlink( $fileTmp );
                    
323            }
                    
335            // Windows does not allows overwriting files using rename,
                    
336            // therefore the file is unlinked here first.
                    
337            if ( unlink( $fileOut ) === false )
                    
339                // Cleanup
                    
340                unlink( $fileTmp );
                    
341                throw new ezcImageFileNotProcessableException( $fileOut, 'The file exists and could not be unlinked.' );
                    
                
paypal-return-in-web-accept-sp.inc.php https://gitlab.com/Gashler/sg | PHP | 148 lines
                    
1<?php
                    
2/**
                    
5 * Copyright: © 2009-2011
                    
6 * {@link http://www.websharks-inc.com/ WebSharks, Inc.}
                    
7 * (coded in the USA)
                    
11 * along with this software. In the main directory, see: /licensing/
                    
12 * If not, see: {@link http://www.gnu.org/licenses/}.
                    
13 *
                    
35		 *
                    
36		 * @param array $vars Required. An array of defined variables passed by {@link s2Member\PayPal\c_ws_plugin__s2member_paypal_return_in::paypal_return()}.
                    
37		 *
                    
67
                    
68					if(($sp_access_url = c_ws_plugin__s2member_sp_access::sp_access_link_gen($paypal['sp_ids'], $paypal['hours'], FALSE)))
                    
69					{
                    
119					{
                    
120						$paypal['s2member_log'][] = 'Unable to generate Specific Post/Page Access Link. Does your Leading Post/Page still exist?';
                    
121
                    
                
about.php https://gitlab.com/Gashler/sg | PHP | 208 lines
                    
87		'heading'     => __( 'Template Hierarchy' ),
                    
88		/* Translators: 1: singular.php; 2: single.php; 3:page.php */
                    
89		'description' => sprintf( __( 'Added %1$s as a fallback for %2$s and %3$s' ), '<code>singular.php</code>', '<code>single.php</code>', '<code>page.php</code>.' ),
                    
104		<h2 class="nav-tab-wrapper">
                    
105			<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
                    
106			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
106			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
107			<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
                    
108		</h2>
                    
171				<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
                    
172					<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
                    
173						<?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
                    
175				<?php endif; ?>
                    
176				<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
                    
177			</div>
                    
                
ListenerOptions.php https://gitlab.com/yousafsyed/easternglamor | PHP | 396 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @link      http://github.com/zendframework/zf2 for the canonical source repository
                    
6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
269        if ($this->getConfigCacheKey()) {
                    
270            return $this->getCacheDir() . '/module-config-cache.' . $this->getConfigCacheKey().'.php';
                    
271        }
                    
272
                    
273        return $this->getCacheDir() . '/module-config-cache.php';
                    
274    }
                    
353        if ($this->getModuleMapCacheKey()) {
                    
354            return $this->getCacheDir() . '/module-classmap-cache.' . $this->getModuleMapCacheKey() . '.php';
                    
355        }
                    
356
                    
357        return $this->getCacheDir() . '/module-classmap-cache.php';
                    
358    }
                    
                
ibase_driver.php https://gitlab.com/joshuacurci/swim-crm | PHP | 396 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
33 * @license	http://opensource.org/licenses/MIT	MIT License
                    
34 * @link	https://codeigniter.com
                    
35 * @since	Version 3.0.0
                    
50 * @author		EllisLab Dev Team
                    
51 * @link		https://codeigniter.com/user_guide/database/
                    
52 */
                    
                
Clients.php https://gitlab.com/my-application.bjoernbartels.earth/module-admin | PHP | 322 lines
                    
1<?php
                    
2/**
                    
10 * @author    Björn Bartels <coding@bjoernbartels.earth>
                    
11 * @link      https://gitlab.bjoernbartels.earth/groups/zf2
                    
12 * @license   http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
                    
                
shortcodes.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 334 lines
                    
1<?php
                    
2/**
                    
27 *
                    
28 * @link http://codex.wordpress.org/Shortcode_API
                    
29 *
                    
                
utils.php https://gitlab.com/elasa/shop2.elasa.ir | PHP | 313 lines
                    
1<?php
                    
2
                    
6    if (!file_exists($dir)) return true;
                    
7    if (!is_dir($dir)) return unlink($dir);
                    
8    foreach (scandir($dir) as $item) {
                    
44    if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
                    
45	require_once('php_image_magician.php');
                    
46	$magicianObj = new imageLib($imgfile);
                    
55    if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
                    
56	require_once('php_image_magician.php');
                    
57	$magicianObj = new imageLib($imgfile);
                    
111            if(!in_array(mb_strtolower($fileinfo['extension']),$ext))
                    
112                unlink($path);
                    
113        else
                    
114            if(!in_array(Tools::strtolower($fileinfo['extension']),$ext))
                    
115                unlink($path);
                    
116    }else{
                    
                
Configuration.php https://gitlab.com/freebird/WebApp | PHP | 226 lines
                    
1<?php
                    
2
                    
20 *
                    
21 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
                    
22 */
                    
                
SimpleHeaderSet.php https://gitlab.com/dsasmita/talita-shop | PHP | 387 lines
                    
1<?php
                    
2
                    
150     *
                    
151     * The header may be a previously fetched header via {@link get()} or it may
                    
152     * be one that has been created separately.
                    
                
LeadImportFieldType.php https://gitlab.com/mautic-master/mautic | PHP | 290 lines
                    
1<?php
                    
2/**
                    
5 * @author      Mautic
                    
6 * @link        http://mautic.org
                    
7 * @license     GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
                    
                
CakeValidationSetTest.php https://bitbucket.org/00firestar00/ejfirestar.com.git | PHP | 337 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
                    
6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
12 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @link          http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
                    
14 * @package       Cake.Test.Case.Model.Validator
                    
14 * @package       Cake.Test.Case.Model.Validator
                    
15 * @since         CakePHP(tm) v 2.2.0
                    
16 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
                
reindex.php https://github.com/karpenoktem/punbb.git | PHP | 267 lines
                    
89<!DOCTYPE html>
                    
90<html lang="<?php $lang_common['lang_identifier'] ?>" dir="<?php echo $lang_common['lang_direction'] ?>">
                    
91<head>
                    
219		</div>
                    
220		<form class="frm-form" method="get" accept-charset="utf-8" action="<?php echo forum_link($forum_url['admin_reindex']) ?>">
                    
221			<div class="hidden">
                    
229					<div class="sf-box text">
                    
230						<label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_admin_reindex['Posts per cycle'] ?></span> <small><?php echo $lang_admin_reindex['Posts per cycle info'] ?></small></label><br />
                    
231						<span class="fld-input"><input type="number" id="fld<?php echo $forum_page['fld_count'] ?>" name="i_per_page" size="7" maxlength="7" value="100" /></span>
                    
236					<div class="sf-box text">
                    
237						<label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span class="fld-label"><?php echo $lang_admin_reindex['Starting post'] ?></span> <small><?php echo $lang_admin_reindex['Starting post info'] ?></small></label><br />
                    
238						<span class="fld-input"><input type="number" id="fld<?php echo $forum_page['fld_count'] ?>" name="i_start_at" size="7" maxlength="7" value="<?php echo (isset($first_id)) ? $first_id : 0 ?>" /></span>
                    
244						<span class="fld-input"><input type="checkbox" id="fld<?php echo ++$forum_page['fld_count'] ?>" name="i_empty_index" value="1" checked="checked" /></span>
                    
245						<label for="fld<?php echo $forum_page['fld_count'] ?>"><?php echo $lang_admin_reindex['Empty index'] ?></label>
                    
246					</div>
                    
                
voucher.php https://bitbucket.org/elena_dyavolova/omf.git | PHP | 263 lines
                    
1<?php 
                    
2class ControllerAccountVoucher extends Controller { 
                    
25	  	  	
                    
26	  		$this->redirect($this->url->link('account/voucher/success'));
                    
27    	} 		
                    
32        	'text'      => $this->language->get('text_home'),
                    
33			'href'      => $this->url->link('common/home'),
                    
34        	'separator' => false
                    
38        	'text'      => $this->language->get('text_account'),
                    
39			'href'      => $this->url->link('account/account', '', 'SSL'),
                    
40        	'separator' => $this->language->get('text_separator')
                    
44        	'text'      => $this->language->get('text_voucher'),
                    
45			'href'      => $this->url->link('account/voucher', '', 'SSL'),
                    
46        	'separator' => $this->language->get('text_separator')
                    
105					
                    
106		$this->data['action'] = $this->url->link('account/voucher', '', 'SSL');
                    
107								
                    
                
tlAttachment.class.php https://github.com/viglesiasce/testlink.git | PHP | 342 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * TestLink Open Source Project - http://testlink.sourceforge.net/ 
                    
4 * This script is distributed under the GNU General Public License 2 or later. 
                    
5 *
                    
6 * @package 	TestLink
                    
7 * @author 		Francisco Mancardi
                    
7 * @author 		Francisco Mancardi
                    
8 * @copyright 	2007-2009, TestLink community 
                    
9 * @version    	CVS: $Id: tlAttachment.class.php,v 1.2 2009/12/28 08:53:37 franciscom Exp $
                    
9 * @version    	CVS: $Id: tlAttachment.class.php,v 1.2 2009/12/28 08:53:37 franciscom Exp $
                    
10 * @link 		http://www.teamst.org/index.php
                    
11 *
                    
13/** parenthal class */
                    
14require_once( 'object.class.php' );
                    
15
                    
                
exec.inc.php https://github.com/viglesiasce/testlink.git | PHP | 298 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * TestLink Open Source Project - http://testlink.sourceforge.net/
                    
4 * This script is distributed under the GNU General Public License 2 or later.
                    
8 *
                    
9 * @package 	TestLink
                    
10 * @author 		Martin Havlat
                    
10 * @author 		Martin Havlat
                    
11 * @copyright 	2005-2009, TestLink community 
                    
12 * @version    	CVS: $Id: exec.inc.php,v 1.60 2010/06/24 17:25:53 asimon83 Exp $
                    
12 * @version    	CVS: $Id: exec.inc.php,v 1.60 2010/06/24 17:25:53 asimon83 Exp $
                    
13 * @link 		http://www.teamst.org/index.php
                    
14 *
                    
217		{
                    
218			$bug_list[$elem['bug_id']]['link_to_bts'] = $bug_interface->buildViewBugLink($elem['bug_id'],GET_BUG_SUMMARY);
                    
219			$bug_list[$elem['bug_id']]['build_name'] = $elem['build_name'];
                    
                
activate-admin.php https://gitlab.com/relacilia/cakra | PHP | 95 lines
                    
1<?php
                    
2
                    
39	<div class="manage__icon">
                    
40		<svg width="149px" height="152px" viewBox="0 0 149 152" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
                    
41			<defs>
                    
52					<mask id="mask-2" sketch:name="Clip 4" fill="white">
                    
53						<use xlink:href="#path-1"></use>
                    
54					</mask>
                    
58					<mask id="mask-4" sketch:name="Clip 8" fill="white">
                    
59						<use xlink:href="#path-3"></use>
                    
60					</mask>
                    
64					<mask id="mask-6" sketch:name="Clip 13" fill="white">
                    
65						<use xlink:href="#path-5"></use>
                    
66					</mask>
                    
69					<mask id="mask-8" sketch:name="Clip 16" fill="white">
                    
70						<use xlink:href="#path-7"></use>
                    
71					</mask>
                    
                
EntityTypeBundleInfoTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 314 lines
                    
1<?php
                    
2
                    
117    foreach ($definitions as $key => $entity_type) {
                    
118      // \Drupal\Core\Entity\EntityTypeInterface::getLinkTemplates() is called
                    
119      // by \Drupal\Core\Entity\EntitTypeManager::processDefinition() so it must
                    
120      // always be mocked.
                    
121      $entity_type->getLinkTemplates()->willReturn([]);
                    
122
                    
                
ManageGitIgnoreTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 256 lines
                    
234  - Copy [web-root]/.gitattributes from assets/.gitattributes
                    
235  - Copy [web-root]/.ht.router.php from assets/.ht.router.php
                    
236  - Skip [web-root]/.htaccess: overridden in fixtures/drupal-composer-drupal-project
                    
238  - Skip [web-root]/sites/default/default.settings.php: overridden in fixtures/scaffold-override-fixture
                    
239  - Copy [web-root]/sites/example.settings.local.php from assets/example.settings.local.php
                    
240  - Copy [web-root]/sites/example.sites.php from assets/example.sites.php
                    
240  - Copy [web-root]/sites/example.sites.php from assets/example.sites.php
                    
241  - Copy [web-root]/index.php from assets/index.php
                    
242  - Skip [web-root]/robots.txt: overridden in fixtures/drupal-composer-drupal-project
                    
242  - Skip [web-root]/robots.txt: overridden in fixtures/drupal-composer-drupal-project
                    
243  - Copy [web-root]/update.php from assets/update.php
                    
244  - Copy [web-root]/web.config from assets/web.config
                    
245Scaffolding files for fixtures/scaffold-override-fixture:
                    
246  - Copy [web-root]/sites/default/default.settings.php from assets/override-settings.php
                    
247Scaffolding files for fixtures/drupal-composer-drupal-project:
                    
                
mysqli-stmt.param-count.html https://bitbucket.org/thncr/manuals.git | HTML | 110 lines
                    
11 <div class="up"><a href="class.mysqli-stmt.html">MySQLi_STMT</a></div>
                    
12 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
13</div><hr /><div id="mysqli-stmt.param-count" class="refentry">
                    
16  <h1 class="refname">mysqli_stmt_param_count</h1>
                    
17  <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">mysqli_stmt::$param_count</span> -- <span class="refname">mysqli_stmt_param_count</span> &mdash; <span class="dc-title">Returns the number of parameter for the given statement</span></p>
                    
18
                    
68   <div class="example-contents">
                    
69<div class="phpcode"><code><span style="color: #000000">
                    
70<span style="color: #0000BB">&lt;?php<br />$mysqli&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">mysqli</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"my_user"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"my_password"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"world"</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/*&nbsp;check&nbsp;connection&nbsp;*/<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">mysqli_connect_errno</span><span style="color: #007700">())&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Connect&nbsp;failed:&nbsp;%s\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">mysqli_connect_error</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;exit();<br />}<br /><br />if&nbsp;(</span><span style="color: #0000BB">$stmt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$mysqli</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #DD0000">"SELECT&nbsp;Name&nbsp;FROM&nbsp;Country&nbsp;WHERE&nbsp;Name=?&nbsp;OR&nbsp;Code=?"</span><span style="color: #007700">))&nbsp;{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$marker&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">param_count</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Statement&nbsp;has&nbsp;%d&nbsp;markers.\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$marker</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/*&nbsp;close&nbsp;statement&nbsp;*/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">close</span><span style="color: #007700">();<br />}<br /><br /></span><span style="color: #FF8000">/*&nbsp;close&nbsp;connection&nbsp;*/<br /></span><span style="color: #0000BB">$mysqli</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">close</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span>
                    
79<div class="phpcode"><code><span style="color: #000000">
                    
80<span style="color: #0000BB">&lt;?php<br />$link&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysqli_connect</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"my_user"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"my_password"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"world"</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/*&nbsp;check&nbsp;connection&nbsp;*/<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">mysqli_connect_errno</span><span style="color: #007700">())&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Connect&nbsp;failed:&nbsp;%s\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">mysqli_connect_error</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;exit();<br />}<br /><br />if&nbsp;(</span><span style="color: #0000BB">$stmt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysqli_prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$link</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"SELECT&nbsp;Name&nbsp;FROM&nbsp;Country&nbsp;WHERE&nbsp;Name=?&nbsp;OR&nbsp;Code=?"</span><span style="color: #007700">))&nbsp;{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$marker&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysqli_stmt_param_count</span><span style="color: #007700">(</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Statement&nbsp;has&nbsp;%d&nbsp;markers.\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$marker</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/*&nbsp;close&nbsp;statement&nbsp;*/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mysqli_stmt_close</span><span style="color: #007700">(</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">);<br />}<br /><br /></span><span style="color: #FF8000">/*&nbsp;close&nbsp;connection&nbsp;*/<br /></span><span style="color: #0000BB">mysqli_close</span><span style="color: #007700">(</span><span style="color: #0000BB">$link</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span>
                    
81</span>
                    
108 <div class="up"><a href="class.mysqli-stmt.html">MySQLi_STMT</a></div>
                    
109 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
110</div></body></html>
                    
                
menus-sync.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 272 lines
                    
63                    <tr>
                    
64                        <th scope="row" class="check-column"><input type="checkbox" name="sync[menu_translation][<?php echo $menu_id ?>][<?php echo $language ?>]" value="<?php echo esc_attr( $name ) ?>"/></th>
                    
65                        <td><?php echo $lang_details[ 'display_name' ]; ?></td>
                    
154									?>
                    
155									<input type="text" name="sync[menu_translations][<?php echo $menu_id ?>][<?php echo $l[ 'code' ] ?>]" class="icl_msync_add" value="<?php
                    
156									echo esc_attr( $menu[ 'name' ] ) . ' - ' . $l[ 'display_name' ] ?>"/>
                    
163									?>
                    
164									<input type="hidden" name="sync[menu_options][<?php echo $menu_id ?>][<?php echo $l[ 'code' ] ?>][auto_add]" value="<?php echo esc_attr( $menu[ 'translations' ][ $l[ 'code' ] ][ 'auto_add' ] ); ?>"/>
                    
165								<?php
                    
184				?>
                    
185				<input id="icl_msync_sync" type="submit" class="button-primary" value="<?php _e( 'Sync', 'sitepress' ); ?>"<?php if ( !$need_sync ): ?> disabled="disabled"<?php endif; ?> />
                    
186				&nbsp;&nbsp;
                    
195				?>
                    
196				<input id="icl_msync_sync" type="submit" class="button-primary" value="<?php _e( 'Nothing Sync', 'sitepress' ); ?>"<?php if ( !$need_sync ): ?> disabled="disabled"<?php endif; ?> />
                    
197			<?php
                    
                
PluginInfo.php https://gitlab.com/fabiorf/chat | PHP | 383 lines
                    
1<?php
                    
2/*
                    
145     * Notice that in can differs from
                    
146     * {@link \Mibew\Plugin\PluginInfo::getVersion()} results if the plugin's
                    
147     * files are updated without database changes.
                    
159     * @return array Dependencies list. See
                    
160     *   {@link \Mibew\Plugin\PluginInterface::getDependencies()} for details of
                    
161     *   the array structure.
                    
171     * @return array Requirements list. See
                    
172     *   {@link \Mibew\Plugin\PluginInterface::getSystemRequirements()} for
                    
173     *   details of the array structure.
                    
                
errors.php https://github.com/libersoft/fengoffice-ls.git | PHP | 194 lines
                    
1<?php
                    
2
                    
31    'users must belong to a company' => 'Contacts must belong to a company in order to generate a user',
                    
32    'contact linked to user' => 'Contact is linked to user {0}',
                    
33  
                    
113    'filename required' => 'Filename is required',
                    
114  	'weblink required' => 'Weblink url is required',
                    
115    
                    
                
theme-support.php https://gitlab.com/ravenseyedesign/ravensegg | PHP | 367 lines
                    
1<?php
                    
2/**
                    
32
                    
33		// Add default posts and comments RSS feed links to head.
                    
34		add_theme_support( 'automatic-feed-links' );
                    
45		 *
                    
46		 * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/
                    
47		 */
                    
102         *
                    
103		 * @link https://codex.wordpress.org/Theme_Logo
                    
104		 */
                    
114//				'flex-height'          => true,
                    
115//				'unlink-homepage-logo' => true,
                    
116//			)
                    
124//			array(
                    
125//				'link',
                    
126//				'aside',
                    
                
Test.php https://bitbucket.org/shashwat_dinasource/bitscentral.git | PHP | 275 lines
                    
18 * @copyright  1997-2006 The PHP Group
                    
19 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
20 * @version    CVS: $Id: Test.php,v 1.9 2006/02/03 22:28:08 cellog Exp $
                    
38 * @copyright  1997-2006 The PHP Group
                    
39 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
40 * @version    Release: 1.4.11
                    
40 * @version    Release: 1.4.11
                    
41 * @link       http://pear.php.net/package/PEAR
                    
42 * @since      Class available since Release 0.1
                    
81                    'shortopt' => 'u',
                    
82                    'doc' => 'Search parameters for AllTests.php, and use that to run phpunit-based tests',
                    
83                ),
                    
85            'doc' => '[testfile|dir ...]
                    
86Run regression tests with PHP\'s regression testing script (run-tests.php).',
                    
87            ),
                    
                
wp-cache-phase1.php https://github.com/brandonburke/WordPress-Plugin-Baseline.git | PHP | 264 lines
                    
1<?php
                    
2// Pre-2.6 compatibility
                    
5
                    
6if( !include( WP_CONTENT_DIR . '/wp-cache-config.php' ) )
                    
7	return true;
                    
10
                    
11include( WPCACHEHOME . 'wp-cache-base.php');
                    
12
                    
26
                    
27require_once( WPCACHEHOME . 'wp-cache-phase2.php');
                    
28
                    
28
                    
29$plugins = glob( $wp_cache_plugins_dir . '/*.php' );
                    
30if( is_array( $plugins ) ) {
                    
48function gzip_accepted(){
                    
49	if( ini_get( 'zlib.output_compression' ) ) // don't compress WP-Cache data files when PHP is already doing it
                    
50		return false;
                    
                
ResultPrinter.php https://github.com/grandison/budo16.git | PHP | 337 lines
                    
41 * @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
42 * @link       http://www.phpunit.de/
                    
43 * @since      File available since Release 2.3.0
                    
50
                    
51PHPUnit_Util_Filter::addFileToFilter(__FILE__, 'PHPUNIT');
                    
52
                    
61 * @version    Release: 3.4.15
                    
62 * @link       http://www.phpunit.de/
                    
63 * @since      Class available since Release 2.1.0
                    
64 */
                    
65abstract class PHPUnit_Util_TestDox_ResultPrinter extends PHPUnit_Util_Printer implements PHPUnit_Framework_TestListener
                    
66{
                    
149     */
                    
150    public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time)
                    
151    {
                    
                
wp-settings.php https://gitlab.com/gregtyka/app222 | PHP | 323 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * Allows for some configuration in wp-config.php (see default-constants.php)
                    
7 *
                    
7 *
                    
8 * @internal This file must be parsable by PHP4.
                    
9 *
                    
61if ( WP_CACHE )
                    
62	WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );
                    
63
                    
119require( ABSPATH . WPINC . '/general-template.php' );
                    
120require( ABSPATH . WPINC . '/link-template.php' );
                    
121require( ABSPATH . WPINC . '/author-template.php' );
                    
315 *
                    
316 * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for
                    
317 * users not logged in.
                    
                
db_operations.php https://gitlab.com/luyxtran264/myproject | PHP | 315 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
11 *
                    
12 * @package PhpMyAdmin
                    
13 */
                    
18 */
                    
19require_once 'libraries/common.inc.php';
                    
20require_once 'libraries/mysql_charsets.inc.php';
                    
20require_once 'libraries/mysql_charsets.inc.php';
                    
21require_once 'libraries/display_create_table.lib.php';
                    
22
                    
25 */
                    
26require_once 'libraries/check_user_privileges.lib.php';
                    
27require_once 'libraries/operations.lib.php';
                    
71
                    
72        include_once "libraries/plugin_interface.lib.php";
                    
73        // remove all foreign key constraints, otherwise we can get errors
                    
                
PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
                    
12__author__  = "Jens Diemer (www.jensdiemer.de)"
                    
13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php"
                    
14__url__     = "http://www.jensdiemer.de/Programmieren/Python/PyDown"
                    
23v0.5.1
                    
24    - Bugfix in path.py (wrong Links in newestFiles)
                    
25v0.5
                    
344        """
                    
345        relative TAB-Links absolut machen
                    
346        """
                    
346        """
                    
347        for link in self.naviTABs:
                    
348            link["url"] = posixpath.join(
                    
348            link["url"] = posixpath.join(
                    
349                self.request.environ["SCRIPT_ROOT"], link["url"]
                    
350            )
                    
                
ARC2_SemHTMLParser.php https://github.com/mterenzio/FollowThis.git | PHP | 339 lines
                    
1<?php
                    
2/*
                    
167      elseif ((list($sub_r, $sub_v) = $this->xClose($sub_v)) && $sub_r) {
                    
168        if (preg_match('/^(area|base|br|col|frame|hr|input|img|link|xmeta|param)$/', $sub_r['tag'])) {
                    
169          /* already implicitly closed */
                    
281  function isEmpty($t, $v) {
                    
282    if (preg_match('/^(area|base|br|col|frame|hr|input|img|link|xmeta|param)$/', $t)) {
                    
283      return 1;
                    
                
str.php https://bitbucket.org/sriedel/iccrm-wip.git | PHP | 416 lines
                    
1<?php
                    
2/**
                    
9 * @copyright  2010 - 2012 Fuel Development Team
                    
10 * @link       http://fuelphp.com
                    
11 */
                    
17 *
                    
18 * PHP needs to be compiled with --enable-mbstring
                    
19 * or a fallback without encoding support is used
                    
                
str.php https://bitbucket.org/kawadatetsuya/twilio.git | PHP | 416 lines
                    
1<?php
                    
2/**
                    
9 * @copyright  2010 - 2013 Fuel Development Team
                    
10 * @link       http://fuelphp.com
                    
11 */
                    
17 *
                    
18 * PHP needs to be compiled with --enable-mbstring
                    
19 * or a fallback without encoding support is used
                    
                
sale_note_a5.blade.php https://gitlab.com/laher01/factu40 | PHP | 230 lines
                    
1@php
                    
2    $establishment = $document->establishment;
                    
8
                    
9@endphp
                    
10<html>
                    
12    {{--<title>{{ $tittle }}</title>--}}
                    
13    {{--<link href="{{ $path_style }}" rel="stylesheet" />--}}
                    
14</head>
                    
148                @if($row->discounts)
                    
149                    @php
                    
150                        $total_discount_line = 0;
                    
153                        }
                    
154                    @endphp
                    
155                    {{ number_format($total_discount_line, 2) }}
                    
215    <strong>PAGOS:</strong> </td></tr>
                    
216        @php
                    
217            $payment = 0;
                    
                
joomleague.php https://gitlab.com/julienv/joomleague | PHP | 431 lines
                    
1<?php
                    
2class JoomleagueConnector extends JLCalendar{
                    
181			{
                    
182				$linkit = 1;
                    
183				$newrows[$key]['name'] = '<img src="'.JUri::root(true).'/'.$row->picture.'" alt="Picture" style="height:40px; vertical-align:middle;margin:0 5px;" />';
                    
193			// new insert for link to player profile
                    
194			//$newrows[$key]['link'] = 'index.php?option=com_joomleague&view=player&p='.$row->project_id.'&pid='.$row->id;
                    
195			$newrows[$key]['link'] = JoomleagueHelperRoute::getPlayerRoute( $row->project_id, $row->teamid, $row->id);
                    
225
                    
226			// insert matchdetaillinks
                    
227			$newrows[$key]['link'] = JoomleagueHelperRoute::getNextMatchRoute( $row->project_id, $row->matchcode);
                    
                
display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
                    
13	global $wpdb;
                    
14	$fixpage = get_option('siteurl').'/wp-admin/admin.php?page=wpsc-sales-logs&amp;subpage=upgrade-purchase-logs';
                    
15	?>
                    
24			<li>
                    
25				<a href='?page=wpsc-debug&amp;wpsc_debug_action=download_links'>Update Download Links</a>
                    
26			</li>
                    
49			<li>
                    
50				<a href='?page=wpsc-debug&amp;wpsc_debug_action=phpinfo'>Display phpinfo</a>
                    
51			</li>
                    
52			<li>
                    
53				<a href='<?php echo $fixpage; ?>'>Fix Purchaselogs</a>
                    
54			</li>
                    
79			</ul>
                    
80			<?php
                    
81		}
                    
                
FAQ.htm https://gitlab.com/x33n/ProjectPier-Core | HTML | 341 lines
                    
183<br>
                    
184It means that script.php outputs something at line X. Go to this line and fix it.
                    
185In case the message doesn't show, first check that you didn't disable warnings, then add this at the very
                    
250<div class="doc-source">
                    
251<pre><code>require('a.php');
                    
252
                    
259<div class="doc-source">
                    
260<pre><code>require('b.php');
                    
261
                    
272<p><b>15.</b> <span class='question'>How can I send the PDF by email?</span></p>
                    
273As any other file, but an easy way is to use <a href="http://phpmailer.codeworxtech.com">PHPMailer</a> and
                    
274its in-memory attachment:
                    
310<br>
                    
311<a href="http://www.setasign.de/products/pdf-php-solutions/fpdi/" target="_blank">http://www.setasign.de/products/pdf-php-solutions/fpdi/</a><br>
                    
312<br>
                    
                
haml.php https://bitbucket.org/mintao/yii-phamlp.git | PHP | 287 lines
                    
1<?php
                    
2/**
                    
3 * Haml view renderer class file.
                    
4 * Renders {@link http://haml-lang.com/ HAML} view files using
                    
5 * {@link http://phamlp.googlecode.com PHamlP}.
                    
5 * {@link http://phamlp.googlecode.com PHamlP}.
                    
6 * Please see the {@link documentation http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#plain_text HAML} for the syntax.
                    
7 * 
                    
8 * * To use the Haml view renderer:
                    
9 * * Put {@link http://phamlp.googlecode.com PHamlP} in your vendors directory
                    
10 * * Put this file in your views directory
                    
13 *   See below and HamlParser for a description of options
                    
14 * * Add the following line in your app_controller.php
                    
15 *   <pre>var $view = 'Haml';</pre>
                    
27/**
                    
28 * Haml allows you to write view files in {@link Haml http://haml-lang.com/} and
                    
29 * render them using {@link http://phamlp.googlecode.com PHamlP}.
                    
                
provider_test.php https://bitbucket.org/moodle/moodle.git | PHP | 240 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
100
                    
101        // Verify there are two linked logins.
                    
102        $ltiaccounts = $DB->get_records('auth_lti_linked_login');
                    
107
                    
108        // Get all LTI linked accounts match with user1.
                    
109        $ltiaccounts = $DB->get_records('auth_lti_linked_login', ['userid' => $user1->id]);
                    
111
                    
112        // Verify there is now only one linked login.
                    
113        $ltiaccounts = $DB->get_records('auth_lti_linked_login');
                    
132
                    
133        // Verify there are two linked logins.
                    
134        $ltiaccounts = $DB->get_records('auth_lti_linked_login');
                    
140
                    
141        // Get all LTI accounts linked with user1.
                    
142        $ltiaccounts = $DB->get_records('auth_lti_linked_login', ['userid' => $user1->id]);
                    
                
image_variants.html https://github.com/TitoAgudelo/Web-Library.git | HTML | 149 lines
                    
49<p style="color:red;">For external images to work, the following configuration is required:</p>
                    
50<pre style="color:red;">dompdf_config.inc.php :</pre>
                    
51
                    
54<h2>external png Image with alpha channel:</h2>
                    
55<img src="http://www.dokuwiki.org/lib/exe/fetch.php?media=wiki:dokuwiki-128.png" width="128" height="128" />
                    
56
                    
57<h2>external image, dynamically created with id in url parameter at end of parameter(.jpg):</h2>
                    
58<img src="http://www.dokuwiki.org/lib/exe/fetch.php?media=example:sunset.jpg" width="500" height="375" />
                    
59
                    
60<h2>external image, dynamically created with id in url parameter not at end of parameter (.jpg):</h2>
                    
61<img src="http://www.dokuwiki.org/lib/exe/fetch.php?media=example:sunset.jpg&amp;w=100" width="100" height="75" />
                    
62
                    
139</div>
                    
140<p><a href="bgimages" style="line-height:170%;padding-left:20px;background:url(images/pdf.png) no-repeat yellow;background-position:left top;">paragraph link no-repeat position:default</a></p>
                    
141<p style="text-align:left;line-height:170%;padding-left:20px;background:url(images/pdf.png) no-repeat yellow;background-position:left top;">paragraph text no-repeat position:left-top; more text text more text text bla bla sdfjkhs sdfsjksdfks sdfkjsfsf skjfh ksjdfhsd </p>
                    
                
blocklayered.tpl https://gitlab.com/ptisky/API_prestashop | Smarty Template | 257 lines
                    
8* It is also available through the world-wide-web at this URL:
                    
9* http://opensource.org/licenses/afl-3.0.php
                    
10* If you did not receive a copy of the license and are unable to
                    
21*  @copyright  2007-2013 PrestaShop SA
                    
22*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
23*  International Registred Trademark & Property of PrestaShop SA
                    
105											{else}
                    
106											<a href="{$value.link}" rel="{$value.rel}">{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a>
                    
107											{/if}
                    
126											{else}
                    
127												<a href="{$value.link}" rel="{$value.rel}">{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a>
                    
128											{/if}
                    
                
ValidFunctionNameSniff.php https://github.com/mikesname/ehri-ica-atom.git | PHP | 263 lines
                    
13 * @version   CVS: $Id: ValidFunctionNameSniff.php,v 1.18 2008/01/22 23:50:23 squiz Exp $
                    
14 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
15 */
                    
17if (class_exists('PHP_CodeSniffer_Standards_AbstractScopeSniff', true) === false) {
                    
18    throw new PHP_CodeSniffer_Exception('Class PHP_CodeSniffer_Standards_AbstractScopeSniff not found');
                    
19}
                    
33 * @version   Release: @package_version@
                    
34 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
35 */
                    
161     *
                    
162     * @param PHP_CodeSniffer_File $phpcsFile The file being processed.
                    
163     * @param int                  $stackPtr  The position where this token was
                    
167     */
                    
168    protected function processTokenOutsideScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
                    
169    {
                    
                
plugin.php https://github.com/mrmark/moodle.git | PHP | 352 lines
                    
55        global $CFG;
                    
56        require_once($CFG->libdir . '/filelib.php');
                    
57
                    
167            // We don't want fallback to another player because list_supported_urls() is already smart.
                    
168            // Otherwise we could end up with nested <audio> or <video> tags. Fallback to link only.
                    
169            $attributes += ['preload' => 'auto', 'controls' => 'true', 'title' => $title];
                    
169            $attributes += ['preload' => 'auto', 'controls' => 'true', 'title' => $title];
                    
170            $text = html_writer::tag($isaudio ? 'audio' : 'video', $sources . self::LINKPLACEHOLDER, $attributes);
                    
171        }
                    
314     * Returns regular expression used to match URLs for single youtube video
                    
315     * @return string PHP regular expression e.g. '~^https?://example.org/~'
                    
316     */
                    
323        // Initial part of link.
                    
324        $start = '~^https?://(www\.)?(' . $link . '|' . $shortlink . ')';
                    
325        // Middle bit: Video key value.
                    
                
Observer.php https://github.com/gryzz/crystal_magento.git | PHP | 282 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright   Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
87
                    
88        /* @var $collection Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Link_Product_Collection */
                    
89        $collection = $observer->getEvent()->getCollection();
                    
                
Generator.php https://gitlab.com/edot92/jpagithub | PHP | 283 lines
                    
1<?php
                    
2/**
                    
6 * @copyright 2014 Barry vd. Heuvel / Fruitcake Studio (http://www.fruitcakestudio.nl)
                    
7 * @license   http://www.opensource.org/licenses/mit-license.php MIT
                    
8 * @link      https://github.com/barryvdh/laravel-ide-helper
                    
63     *
                    
64     * @param  string  $format  The format to generate the helper in (php/json)
                    
65     * @return string;
                    
66     */
                    
67    public function generate($format = 'php')
                    
68    {
                    
74
                    
75        return $this->generatePhpHelper();
                    
76    }
                    
77
                    
78    public function generatePhpHelper()
                    
79    {
                    
                
recorded.php https://github.com/littlejon/mythweb.git | PHP | 233 lines
                    
87?>
                    
88    <th class="x-title"><?php     echo get_sort_link('title',     t('Title')) ?></td>
                    
89    <th class="x-subtitle"><?php  echo get_sort_link('subtitle',  t('Subtitle')) ?></td>
                    
90    <th class="x-programid"><?php echo get_sort_link('programid', t('Program ID')) ?></td>
                    
91    <th class="x-channum"><?php   echo get_sort_link('channum',   t('Channel')) ?></td>
                    
92    <th class="x-airdate"><?php   echo get_sort_link('airdate',   t('Airdate')) ?></td>
                    
96?>
                    
97    <th class="x-length"><?php        echo get_sort_link('length',    t('Length')) ?></td>
                    
98    <th class="x-filesize"><?php echo get_sort_link('file_size', t('File Size')) ?></td>
                    
167        }
                    
168        ?><a href="<?php echo root_url ?>tv/recorded?delete=yes&chanid=<?php echo $show->chanid ?>&starttime=<?php echo $show->recstartts ?>"
                    
169            title="<?php echo html_entities(t('Delete $1', preg_replace('/: $/', '', $show->title.': '.$show->subtitle))) ?>"
                    
170            ><?php echo t('Delete') ?></a>
                    
171        <a href="<?php echo root_url ?>tv/recorded?delete=yes&chanid=<?php echo $show->chanid ?>&starttime=<?php echo $show->recstartts ?>&forget_old=yes"
                    
172            title="<?php echo html_entities(t('Delete and rerecord $1', preg_replace('/: $/', '', $show->title.': '.$show->subtitle))) ?>"
                    
                
user__agents_8php.html https://github.com/kobkob/ta.git | HTML | 156 lines
                    
79                                        <span class="stringliteral">'Lynx'</span>                          =&gt; <span class="stringliteral">'Lynx'</span>,
                    
80                                        <span class="stringliteral">'Links'</span>                         =&gt; <span class="stringliteral">'Links'</span>,
                    
81                                        <span class="stringliteral">'hotjava'</span>                       =&gt; <span class="stringliteral">'HotJava'</span>,
                    
85</pre></div>
                    
86<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00050">50</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p>
                    
87
                    
102
                    
103<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00073">73</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p>
                    
104
                    
119
                    
120<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00013">13</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p>
                    
121
                    
146</pre></div>
                    
147<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00163">163</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p>
                    
148
                    
                
Collection.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 333 lines
                    
74     *
                    
75     * @param Mage_Catalog_Model_Product_Link $linkModel
                    
76     * @return Mage_Catalog_Model_Resource_Product_Link_Product_Collection
                    
77     */
                    
78    public function setLinkModel(Mage_Catalog_Model_Product_Link $linkModel)
                    
79    {
                    
81        if ($linkModel->getLinkTypeId()) {
                    
82            $this->_linkTypeId = $linkModel->getLinkTypeId();
                    
83        }
                    
223            'links.linked_product_id = e.entity_id',
                    
224            $adapter->quoteInto('links.link_type_id = ?', $this->_linkTypeId)
                    
225        );
                    
301            $joinCondiotion = array(
                    
302                "{$alias}.link_id = links.link_id",
                    
303                $this->getSelect()->getAdapter()->quoteInto("{$alias}.product_link_attribute_id = ?", $attribute['id'])
                    
                
index.html https://gitlab.com/vschmidt94/CS494-HowTo-Leaflet-map | HTML | 236 lines
                    
4course:     CS494-400 Fall 2014
                    
5Assignment: Week 5 - Intro to PHP
                    
6-->
                    
9<title>schmicar HowTo</title>
                    
10<link rel="stylesheet" href="css/style.css">
                    
11<link rel="stylesheet" href="css/bootstrap.css">
                    
11<link rel="stylesheet" href="css/bootstrap.css">
                    
12<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
                    
13<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
                    
88  <p>
                    
89  Once the AJAX URL request format &amp; JSON response has been discovered (example: <a href="http://oregonstate.edu/campusmap/map/element?locations=814">http://oregonstate.edu/campusmap/map/element?locations=814</a>), it is straightforward to build a little PHP script to iterate through successive calls to the URL, parse the returned JSON and then recombine just the portions I am interested in.
                    
90  </p>
                    
219  <li><strong>Chrome Dev Tools</strong> - used to uncover the AJAX calls and JSON responses the official campus map web page is using.</li>
                    
220  <li><strong>PHP Script</strong> - quick and dirty PHP script to replicate the AJAX calls discovered above.  Scans the range of location id's and produces a dataset useable elsewhere.</li>
                    
221  <li><strong><a href="http://leafletjs.com/">leaflet.js</a></strong> - JavaScript library for easy to use mapping.</li>
                    
                
Matcher.php https://gitlab.com/karora/awl | PHP | 308 lines
                    
40 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
41 * @link       http://github.com/sebastianbergmann/phpunit-mock-objects
                    
42 * @since      File available since Release 1.0.0
                    
58 * @version    Release: @package_version@
                    
59 * @link       http://github.com/sebastianbergmann/phpunit-mock-objects
                    
60 * @since      Class available since Release 1.0.0
                    
61 */
                    
62class PHPUnit_Framework_MockObject_Matcher implements PHPUnit_Framework_MockObject_Matcher_Invocation
                    
63{
                    
89    /**
                    
90     * @var PHPUnit_Framework_MockObject_Stub
                    
91     */
                    
153            if (!$builder) {
                    
154                throw new PHPUnit_Framework_Exception(
                    
155                  sprintf(
                    
                
student_profile.php https://gitlab.com/varsha_evonix/intranet | PHP | 136 lines
                    
1<?php
                    
2
                    
2
                    
3include ('header.php');
                    
4?>
                    
24                                                </a>
                    
25                                                <img class="img-responsive img-profile" src="<?php echo base_url(); ?>assets/img/profile-full.jpg" alt="">
                    
26                                               
                    
112                                                <ul class="list-inline">
                    
113                                                    <li><a class="facebook-link" href="#"><i class="fa fa-facebook-square fa-2x"></i></a>
                    
114                                                    </li>
                    
114                                                    </li>
                    
115                                                    <li><a class="twitter-link" href="#"><i class="fa fa-twitter-square fa-2x"></i></a>
                    
116                                                    </li>
                    
116                                                    </li>
                    
117                                                    <li><a class="linkedin-link" href="#"><i class="fa fa-linkedin-square fa-2x"></i></a>
                    
118                                                    </li>
                    
                
Type0.php https://gitlab.com/devtoannh/cafe | PHP | 257 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Type0.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
24/** Internally used classes */
                    
25require_once 'Zend/Pdf/Element/Array.php';
                    
26require_once 'Zend/Pdf/Element/Name.php';
                    
29/** Zend_Pdf_Resource_Font */
                    
30require_once 'Zend/Pdf/Resource/Font.php';
                    
31
                    
35 * A composite font is one whose glyphs are obtained from other fonts or from fontlike
                    
36 * objects called CIDFonts ({@link Zend_Pdf_Resource_Font_CidFont}), organized hierarchically.
                    
37 * In PDF, a composite font is represented by a font dictionary whose Subtype value is Type0;
                    
55 * Font objects should be normally be obtained from the factory methods
                    
56 * {@link Zend_Pdf_Font::fontWithName} and {@link Zend_Pdf_Font::fontWithPath}.
                    
57 *
                    
                
template-bootstrap.php https://gitlab.com/danielortiz1982/spicer | PHP | 198 lines
                    
13
                    
14        <link rel='stylesheet' type='text/css' href='<?php echo PAGEDIR; ?>/machines/libraries/mmenu/jquery.mmenu.all.css' />
                    
15        <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/machines/libraries/owlcarousel/owlcarousel.css">
                    
15        <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/machines/libraries/owlcarousel/owlcarousel.css">
                    
16        <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/styles/styles.min.css">
                    
17
                    
25    </head>
                    
26    <body data-tempdir="<?php echo PAGEDIR; ?>" id="<?php echo get_post( $post )->post_name; ?>" <?=(returnMobile() == 'true')? 'class="mobileMode"' : 'class="desktopMode"';?>>
                    
27
                    
75                        <a class="navbar-brand" href="<?php echo home_url(); ?>">
                    
76                            <img src="<?php echo PAGEDIR; ?>/images/graphics/logo.png" alt="<?php bloginfo('name');?>" />
                    
77                        </a>
                    
100                        'link_before'     => '<span>',
                    
101                        'link_after'      => '</span>',
                    
102                        'items_wrap'      => '<ul id="%1$s" class="%2$s">%3$s</ul>',
                    
                
utilities.php https://gitlab.com/ppapadatis/Videolearn | PHP | 307 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version    SVN $Id: utilities.php 709 2012-10-26 09:07:01Z dhorsfall $
                    
4 * @package    hwdMediaShare
                    
86	 * If escaping mechanism is either htmlspecialchars or htmlentities, uses
                    
87	 * {@link $_encoding} setting.
                    
88	 *
                    
165                {
                    
166                        include_once(JPATH_ROOT.'/components/com_community/libraries/core.php');
                    
167                        $JSUser = CFactory::getUser($user->id);
                    
175                {
                    
176                        include_once (JPATH_ROOT.DS.'components'.DS .'com_awdwall' .DS . 'helpers' . DS . 'user.php');
                    
177                        return AwdwallHelperUser::getBigAvatar51($user->id);	
                    
258        {
                    
259                JLoader::register('hwdMediaShareHelperMobile', JPATH_ROOT.'/components/com_hwdmediashare/helpers/mobile.php');
                    
260                $mobile = hwdMediaShareHelperMobile::getInstance();
                    
                
view_jadwal_pelajaran.php https://gitlab.com/imadd23/sijs | PHP | 303 lines
                    
49</style>
                    
50<!--<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/ace/plugin/perfect-scrollbar/css/perfect-scrollbar.css');?>">-->
                    
51<div class="row">
                    
53		<h3 class="row header smaller lighter blue">
                    
54			<span class="col-sm-6"> Jadwal Pelajaran <?php echo $semester;?></span><!-- /.col -->
                    
55			
                    
57				<label class="pull-right inline">
                    
58					<?php if ($obj->has_access('jadwal_pelajaran', 'view')){ ?>
                    
59						<a class="btn btn-xs btn-primary" target="_blank" href="<?php echo site_url('jadwal_pelajaran/export');?>">
                    
62						</a>
                    
63					<?php } ?>
                    
64
                    
64
                    
65					<?php if ($obj->has_access('jadwal_pelajaran', 'add')){ ?>
                    
66						<a class="btn btn-xs btn-primary" href="<?php echo site_url('jadwal_pelajaran/edit');?>">
                    
                
group.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 214 lines
                    
1<?php
                    
2
                    
72        $subgroupid = "";
                    
73        $query = "INSERT INTO " . $table_name . " (`groupid`, `parentid`, `image`, `thumbnail`, `weight`, `order`, `lev`, `viewgroup`, `numsubgroup`, `subgroupid`, `inhome`, `numlinks`, `admins`, `add_time`, `edit_time`, `del_cache_time`, `who_view`, `groups_view` " . $listfield . " ) 
                    
74         VALUES (NULL, " . $db->dbescape( $data['parentid'] ) . ",' ',' '," . $db->dbescape( $weight ) . ", '0', '0', " . $db->dbescape( $viewgroup ) . ", '0', " . $db->dbescape( $subgroupid ) . ", '1', '4'," . $db->dbescape( $admins ) . ", UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), UNIX_TIMESTAMP() + 26000000, " . $db->dbescape( $data['who_view'] ) . "," . $db->dbescape( $groups_view ) . $listvalue . " )";
                    
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();
                    
110            
                    
111            Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" );
                    
112            die();
                    
209
                    
210include ( NV_ROOTDIR . "/includes/header.php" );
                    
211echo nv_admin_theme( $contents );
                    
211echo nv_admin_theme( $contents );
                    
212include ( NV_ROOTDIR . "/includes/footer.php" );
                    
213
                    
                
Parser.pm https://github.com/tokuhirom/rpc-xml.git | Perl | 326 lines
                    
5# Copying and distribution are permitted under the terms of the Artistic
                    
6# License 2.0 (http://www.opensource.org/licenses/artistic-license-2.0.php) or
                    
7# the GNU LGPL (http://www.opensource.org/licenses/lgpl-2.1.php).
                    
173is to be spooled to a filehandle opened onto an anonymous temporary file. The
                    
174file itself is unlinked after opening, though the resulting B<RPC::XML::base64>
                    
175object can use its C<to_file> method to save the data to a specific file at a
                    
308Copying and distribution are permitted under the terms of the Artistic
                    
309License 2.0 (L<http://www.opensource.org/licenses/artistic-license-2.0.php>) or
                    
310the GNU LGPL 2.1 (L<http://www.opensource.org/licenses/lgpl-2.1.php>).
                    
                
frame_reflower.cls.php https://gitlab.com/techniconline/kmc | PHP | 454 lines
                    
1<?php
                    
2/**
                    
3 * @package dompdf
                    
4 * @link    http://dompdf.github.com/
                    
5 * @author  Benj Carson <benjcarson@digitaljunkies.ca>
                    
                
Item.php https://gitlab.com/ricardosanchez/prueba | PHP | 398 lines
                    
1<?php
                    
2/**
                    
24 * @property string $title
                    
25 * @property string $link
                    
26 * @property string $parent_id
                    
47        'id' => 0,
                    
48        'type' => 'link',
                    
49        'path' => null,
                    
51        'title' => null,
                    
52        'link' => null,
                    
53        'parent_id' => null,
                    
67        'level' => 0,
                    
68        'link_title' => '',
                    
69        'anchor_class' => ''
                    
87            'title' => ucfirst($alias),
                    
88            'link' => $name,
                    
89            'parent_id' => $parent != '.' ? $parent : '',
                    
                
list.php https://gitlab.com/ricardosanchez/prueba | PHP | 382 lines
                    
95		$show_link         = false;
                    
96		$link_url          = '';
                    
97
                    
99
                    
100		if ($this->element['show_link'] == 'true')
                    
101		{
                    
101		{
                    
102			$show_link = true;
                    
103		}
                    
110		{
                    
111			$show_link = false;
                    
112		}
                    
115		{
                    
116			$link_url = $this->parseFieldTags($link_url);
                    
117		}
                    
                
filebrowser.php https://bitbucket.org/chiamingyen/cmsimple-and-plugins.git | PHP | 431 lines
                    
91    // 上傳檔案是否被用於頁面的查驗函式
                    
92    function fileIsLinked($file) {
                    
93        global $h, $c, $u;
                    
189        }
                    
190        if (!in_array($extension, $this->allowedExtensions[$this->linkType])
                    
191                && !in_array('*', $this->allowedExtensions[$this->linkType])) {
                    
220        foreach ($folders as $folder => $data) {
                    
221            $folders[$folder]['linkList'] = $this->view->folderLink($folder, $folders);
                    
222        }
                    
259
                    
260        if (@unlink($yenname)) {
                    
261            $this->view->success('success_deleted', $file);
                    
398        //  $this->view->basePath = '';
                    
399        $this->view->baseLink = $this->linkType;
                    
400        $this->view->folders = $this->foldersArray();
                    
                
blocklayered.tpl https://bitbucket.org/enurkov/prestashop.git | Smarty Template | 257 lines
                    
8* It is also available through the world-wide-web at this URL:
                    
9* http://opensource.org/licenses/afl-3.0.php
                    
10* If you did not receive a copy of the license and are unable to
                    
21*  @copyright  2007-2012 PrestaShop SA
                    
22*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
23*  International Registred Trademark & Property of PrestaShop SA
                    
105											{else}
                    
106											<a href="{$value.link}" rel="{$value.rel}">{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a>
                    
107											{/if}
                    
126											{else}
                    
127												<a href="{$value.link}" rel="{$value.rel}">{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a>
                    
128											{/if}
                    
                
Controller.php https://github.com/klando/piwik.git | PHP | 321 lines
                    
1<?php
                    
2/**
                    
4 * 
                    
5 * @link http://piwik.org
                    
6 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
                    
                
settings_lang.php https://gitlab.com/Riky_Lesmana/SugarSweetCakes | PHP | 174 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
30$lang['settings:dashboard_rss']					= 'Dashboard RSS syöte';
                    
31$lang['settings:dashboard_rss_desc']			= 'Linkki RSS syötteeseen, joka näytetään dashboardissa.';
                    
32
                    
37$lang['settings:date_format_desc']				= 'Miten päiväyksen muoto tulisi olla sivustolla ja hallintapaneelissa? ' .
                    
38													'Käyttämällä PHP:n <a href="http://php.net/manual/en/function.date.php" target="_black">date muotoa</a> - TAI - ' .
                    
39													'Käyttämällä PHP:n <a href="http://php.net/manual/en/function.strftime.php" target="_black">strftime muotoa</a>.';
                    
173
                    
174/* End of file settings_lang.php */
                    
                
bluepay.php https://gitlab.com/Riky_Lesmana/SugarSweetCakes | PHP | 310 lines
                    
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
11 * @created 08/24/2011
                    
12 * @license http://www.opensource.org/licenses/mit-license.php
                    
13 * @link https://github.com/calvinfroedge/codeigniter-payments
                    
                
Message.php https://github.com/balupton/balphp.git | PHP | 402 lines
                    
1<?php
                    
2
                    
10 * @author     ##NAME## <##EMAIL##>
                    
11 * @version    SVN: $Id: Builder.php 6820 2009-11-30 17:27:49Z jwage $
                    
12 */
                    
38				$View->headTitle().
                    
39				$View->headLink().
                    
40				$View->headStyle().
                    
                
LoggerFormattingInfo.html https://github.com/kennethjiang/Wolke.git | HTML | 349 lines
                    
6			<title>Docs For Class LoggerFormattingInfo</title>
                    
7			<link rel="stylesheet" href="../../media/stylesheet.css" />
                    
8						<script src="../../media/lib/classTree.js"></script>
                    
99	<div class="info-box-body">
                    
100        		<!-- ========== Info from phpDoc block ========= -->
                    
101<p class="short-description">This class encapsulates the information obtained when parsing  formatting modifiers in conversion modifiers.</p>
                    
105		<p class="notes">
                    
106			Located in <a class="field" href="_helpers---LoggerFormattingInfo.php.html">/helpers/LoggerFormattingInfo.php</a> (line <span class="field">29</span>)
                    
107		</p>
                    
202
                    
203	<!-- ========== Info from phpDoc block ========= -->
                    
204	<ul class="tags">
                    
345	<p class="notes" id="credit">
                    
346		Documentation generated on Fri, 27 Nov 2009 07:44:50 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
                    
347	</p>
                    
                
spots.inc.php https://github.com/caddyladdy/spotweb.git | PHP | 188 lines
                    
20							<th class='category'> <a href="<?php echo $tplHelper->makeSortUrl('index', 'category', ''); ?>" title="Sorteren op Categorie">Cat.</a> </th> 
                    
21							<th class='title'> <span class="sortby"><a class="up" href="<?php echo $tplHelper->makeSortUrl('index', 'title', 'ASC'); ?>" title="Sorteren op Titel [0-Z]"> </a> <a class="down" href="<?php echo $tplHelper->makeSortUrl('index', 'title', 'DESC'); ?>" title="Sorteren op Titel [Z-0]"> </a></span> Titel </th> 
                    
22							<?php if ($show_watchlist_button) { ?>
                    
29							<th class='poster'> <span class="sortby"><a class="up" href="<?php echo $tplHelper->makeSortUrl('index', 'poster', 'ASC'); ?>" title="Sorteren op Afzender [0-Z]"> </a> <a class="down" href="<?php echo $tplHelper->makeSortUrl('index', 'poster', 'DESC'); ?>" title="Sorteren op Afzender [Z-0]"> </a></span> Afzender </th> 
                    
30							<th class='date'> <span class="sortby"><a class="up" href="<?php echo $tplHelper->makeSortUrl('index', 'stamp', 'DESC'); ?>" title="Sorteren op Leeftijd [oplopend]"> </a> <a class="down" href="<?php echo $tplHelper->makeSortUrl('index', 'stamp', 'ASC'); ?>" title="Sorteren op Leeftijd [aflopend]"> </a></span> <?php echo ($currentSession['user']['prefs']['date_formatting'] == 'human') ? "Leeftijd" : "Datum"; ?> </th> 
                    
31<?php if ($show_filesize) { ?>
                    
31<?php if ($show_filesize) { ?>
                    
32							<th class='filesize'> <span class="sortby"><a class="up" href="<?php echo $tplHelper->makeSortUrl('index', 'filesize', 'DESC'); ?>" title="Sorteren op Omvang [aflopend]"> </a> <a class="down" href="<?php echo $tplHelper->makeSortUrl('index', 'filesize', 'ASC'); ?>" title="Sorteren op Omvang [oplopend]"> </a></span> Size </th> 
                    
33<?php } ?>
                    
50					<tbody id="spots">
                    
51<?php
                    
52	if (count($spots) == 0) {
                    
90		echo "<td class='category'><a href='" . $spot['caturl'] . "' title='Ga naar de categorie \"" . $spot['catshortdesc'] . "\"'>" . $spot['catshortdesc'] . "</a></td>" .
                    
91			 "<td class='title " . $newSpotClass . "'><a onclick='openSpot(this,\"".$spot['spoturl']."\")' href='".$spot['spoturl']."' title='" . $spot['title'] . "' class='spotlink'>" . $rating . $markSpot . $spot['title'] . "</a></td>";
                    
92
                    
                
apbasic-widgets.php https://gitlab.com/pornmongkon.p/wordpress | PHP | 273 lines
                    
1<?php
                    
2/**
                    
120    
                    
121    // Registering Header Social Links Widget
                    
122	register_sidebar( array(
                    
122	register_sidebar( array(
                    
123		'name' 				=> __( 'Header Social Links Section', 'accesspress-basic' ),
                    
124		'id' 					=> 'apbasic_header_social_links',
                    
131    
                    
132    // Registering Footer Social Links Widget
                    
133	register_sidebar( array(
                    
133	register_sidebar( array(
                    
134		'name' 				=> __( 'Footer Social Links Section', 'accesspress-basic' ),
                    
135		'id' 					=> 'apbasic_footer_social_links',
                    
223 */
                    
224require get_template_directory() . '/inc/widgets/widget-fields.php';
                    
225
                    
                
Version.php https://github.com/Cesarh/symfony-sandbox.git | PHP | 326 lines
                    
1<?php
                    
2/*
                    
30 *
                    
31 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
32 * @link        www.doctrine-project.org
                    
                
cakephp-coding-conventions.rst https://github.com/markstory/cakephp-docs.git | ReStructuredText | 332 lines
                    
146*  `@access <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.access.pkg.html>`_
                    
147*  `@author <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.author.pkg.html>`_
                    
148*  `@copyright <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.copyright.pkg.html>`_
                    
148*  `@copyright <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.copyright.pkg.html>`_
                    
149*  `@deprecated <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.deprecated.pkg.html>`_
                    
150*  `@example <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.example.pkg.html>`_
                    
150*  `@example <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.example.pkg.html>`_
                    
151*  `@ignore <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.ignore.pkg.html>`_
                    
152*  `@internal <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.internal.pkg.html>`_
                    
152*  `@internal <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.internal.pkg.html>`_
                    
153*  `@link <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.link.pkg.html>`_
                    
154*  `@see <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.see.pkg.html>`_
                    
156*  `@tutorial <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.tutorial.pkg.html>`_
                    
157*  `@version <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.version.pkg.html>`_
                    
158
                    
                
BadBotBlocker.php https://gitlab.com/ebrjose/comcebu | PHP | 453 lines
                    
1<?php
                    
2namespace AIOSEO\Plugin\Common\Tools;
                    
97		'HTTrack',
                    
98		'humanlinks',
                    
99		'ieautodiscovery',
                    
110		'libwww',
                    
111		'LinkextractorPro',
                    
112		'linko',
                    
112		'linko',
                    
113		'LinkScan/8.1a Unix',
                    
114		'LinkWalker',
                    
136		'panscient.com',
                    
137		'PHP/5.{',
                    
138		'ProPowerBot/2.14',
                    
324	 * @see  Original code, thanks to Sean M. Brown.
                    
325	 * @link http://smbrown.wordpress.com/2009/04/29/verify-googlebot-forward-reverse-dns/
                    
326	 *
                    
                
testsuite.php https://github.com/bb-dev/cakephp2x.git | PHP | 376 lines
                    
8 *
                    
9 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
                    
10 * Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
15 * @copyright     Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
16 * @link          https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests
                    
17 * @package       cake
                    
18 * @subpackage    cake.cake.console.libs
                    
19 * @since         CakePHP(tm) v 1.2.0.4433
                    
20 * @license       http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
                    
223			case 'group':
                    
224				if (file_exists($folder.DS.'groups'.DS.$this->file.'.group.php')) {
                    
225					return true;
                    
232				$coreCaseExists = file_exists($folder.DS.'cases'.DS.$this->file.'.test.php');
                    
233				$coreLibCaseExists = file_exists($folder.DS.'cases'.DS.'libs'.DS.$this->file.'.test.php');
                    
234				if ($this->category == 'core' && ($coreCaseExists || $coreLibCaseExists)) {
                    
                
LayoutDeviceManager.java https://gitlab.com/Codeaurora/platform_sdk | Java | 395 lines
                    
7 *
                    
8 *      http://www.eclipse.org/org/documents/epl-v10.php
                    
9 *
                    
163     * If the name and dpi values are identical the given device is returned an nothing is done
                    
164     * @param device the {@link LayoutDevice} to replace
                    
165     * @param newName the new name.
                    
194    /**
                    
195     * Adds or replaces a configuration in a given {@link LayoutDevice}.
                    
196     * @param device the device to modify
                    
209    /**
                    
210     * Replaces a configuration in a given {@link LayoutDevice}.
                    
211     * @param device the device to modify
                    
232    /**
                    
233     * Removes a configuration from a given user {@link LayoutDevice}
                    
234     * @param device the device to modify
                    
                
 

Source

Language