PageRenderTime 1583ms queryTime 91ms sortTime 325ms getByIdsTime 67ms findMatchingLines 141ms

100+ results results for 'php link repo:dkrzos/phc' (1583 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://gitlab.com/x33n/respond | 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/yousafsyed/easternglamor | 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/goolic/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'),
                    
                
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
                    
                
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
                    
                
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    }
                    
                
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 */
                    
                
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
                    
                
shortcodes.php https://gitlab.com/gregtyka/WordPress-stable | PHP | 334 lines
                    
1<?php
                    
2/**
                    
27 *
                    
28 * @link http://codex.wordpress.org/Shortcode_API
                    
29 *
                    
                
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);
                    
                
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>
                    
                
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>',
                    
                
SimpleHeaderSet.php https://gitlab.com/oytunistrator/92five | 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.
                    
                
activate-admin.php https://gitlab.com/ibnukipa/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>
                    
                
CakeValidationSetTest.php https://gitlab.com/nghiep5890/bakery | 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
                    
                
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
                    
                
ibase_driver.php https://gitlab.com/javiier507/codeigniter | 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 */
                    
                
AddressBookUpgradeScript.class.php https://gitlab.com/x33n/ProjectPier-Core | PHP | 220 lines
                    
1<?php
                    
2
                    
11    /**
                    
12    * Database connection link
                    
13    *
                    
42      
                    
43      $config_is_set = require_once INSTALLATION_PATH . '/config/config.php';
                    
44      if (!$config_is_set) {
                    
                
upload.php https://gitlab.com/plusplusminus/isissoftware | PHP | 245 lines
                    
1<?php
                    
2
                    
7/**
                    
8 * upload.php
                    
9 *
                    
145						GFCommon::log_debug( 'GFAsyncUpload::upload(): Deleting file: ' . $tmp_file_path );
                    
146						@unlink( $tmp_file_path );
                    
147					}
                    
183					@fclose( $out );
                    
184					@unlink( $_FILES['file']['tmp_name'] );
                    
185				} else {
                    
195				// Read binary input stream and append it to temp file
                    
196				$in = @fopen( 'php://input', 'rb' );
                    
197
                    
                
HelperRegistryTest.php https://gitlab.com/18runt88/cakephp | PHP | 334 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://cakephp.org CakePHP(tm) Project
                    
12 * @since         2.0.0
                    
12 * @since         2.0.0
                    
13 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
14 */
                    
                
about.php https://gitlab.com/oxidigitaluser/liguelista | 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>
                    
                
xoops_version.php https://gitlab.com/BaseX/BaseX | PHP | 169 lines
                    
1<?php
                    
2// $Id: xoops_version.php 694 2006-09-04 11:33:22Z skalpa $
                    
3//  ------------------------------------------------------------------------ //
                    
4//                XOOPS - PHP Content Management System                      //
                    
5//                    Copyright (c) 2000 XOOPS.org                           //
                    
44$modversion['hasAdmin'] = 1;
                    
45$modversion['adminindex'] = "admin.php";
                    
46$modversion['adminmenu'] = "menu.php";
                    
47
                    
48$modversion['onUpdate'] = "include/update.php";
                    
49
                    
82// Blocks
                    
83$modversion['blocks'][1]['file'] = "system_blocks.php";
                    
84$modversion['blocks'][1]['name'] = _MI_SYSTEM_BNAME2;
                    
88
                    
89$modversion['blocks'][2]['file'] = "system_blocks.php";
                    
90$modversion['blocks'][2]['name'] = _MI_SYSTEM_BNAME3;
                    
                
production.js https://gitlab.com/pentacode/poweraire-erp | JavaScript | 351 lines
                    
52  },
                    
53  linkedin: {
                    
54    clientID: process.env.LINKEDIN_ID || 'APP_ID',
                    
54    clientID: process.env.LINKEDIN_ID || 'APP_ID',
                    
55    clientSecret: process.env.LINKEDIN_SECRET || 'APP_SECRET',
                    
56    callbackURL: '/api/auth/linkedin/callback'
                    
141        code: 'CURRENCY',
                    
142        value: 'PHP',
                    
143        descriptionOne: 'Philippines Peso',
                    
                
wpsc-swfupload-handlers.js https://gitlab.com/endomorphosis/reservationtelco | JavaScript | 348 lines
                    
43	else {
                    
44		jQuery('#media-item-' + fileObj.id).load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()});
                    
45	}
                    
55
                    
56	// Also bind toggle to the links
                    
57	jQuery('#media-item-' + fileObj.id + ' a.toggle').bind('click', function(){jQuery(this).siblings('.slidetoggle').slideToggle(150, function(){var o=jQuery(this).offset();window.scrollTo(0,o.top-36);});jQuery(this).parent().eq(0).children('.toggle').toggle();jQuery(this).siblings('a.toggle').focus();return false;});
                    
61		// Tell the server to delete it. TODO: handle exceptions
                    
62		jQuery.ajax({url:'admin-ajax.php',type:'post',success:deleteSuccess,error:deleteError,id:fileObj.id,data:{
                    
63			id : this.id.replace(/[^0-9]/g,''),
                    
150		output_html += "	<div id='gallery_image_"+image_id+"' class='previewimage'>\n";
                    
151		output_html += "		<a class='thickbox' rel='product_extra_image_"+image_id+"' href='admin.php?wpsc_admin_action=crop_image&amp;imagename="+image_src+"&amp;imgheight=480&amp;imgwidth=600&amp;product_id=103&amp;width=640&amp;height=342' id='extra_preview_link_"+image_id+"'>\n";
                    
152		output_html += "		<img title='Preview' alt='Preview' src='"+WPSC_IMAGE_URL+image_src+"' class='previewimage'/>\n";
                    
195			postVars = "product_id="+product_id+"&order="+order;
                    
196			jQuery.post( 'index.php?wpsc_admin_action=rearrange_images', postVars, function(returned_data) {
                    
197					eval(returned_data);
                    
                
CakeTestFixture.php https://gitlab.com/shubam39/CakeTooDoo | PHP | 328 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
                    
12 * @package       Cake.TestSuite.Fixture
                    
12 * @package       Cake.TestSuite.Fixture
                    
13 * @since         CakePHP(tm) v 1.2.0.4667
                    
14 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
34/**
                    
35 * CakePHP's DBO driver (e.g: DboMysql).
                    
36 *
                    
                
QueryBuilder.php https://gitlab.com/aintenebris/memoria | PHP | 260 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @link http://www.yiiframework.com/
                    
4 * @copyright Copyright (c) 2008 Yii Software LLC
                    
                
html.php https://gitlab.com/Bartwillemsen/aurora-framework | PHP | 376 lines
                    
25	 *
                    
26	 *     // Generate a link to a JavaScript file and add some attributes
                    
27	 *     echo HTML::script('js/jquery.js', array('defer'));
                    
69
                    
70		return '<link href="'.$url.'"'.static::attributes($attributes).'>'.PHP_EOL;
                    
71	}
                    
148	 */
                    
149	public static function link_to_secure_asset($url, $title, $attributes = array())
                    
150	{
                    
150	{
                    
151		return static::link_to_asset($url, $title, $attributes, true);
                    
152	}
                    
367
                    
368		if (strpos($method, 'link_to_') === 0) {
                    
369			array_unshift($parameters, substr($method, 8));
                    
                
pageTranslations.php https://gitlab.com/macitsimsek/fastsubtitle | PHP | 217 lines
                    
1<?php
                    
2
                    
36    'agree_to_terms'        => 'I Agree to Terms',
                    
37    'forgot_email_message'  => 'Please Enter Your Sign Up E-mail. Reset Link Will Sent Your E-mail.',
                    
38    'email_address'         => 'E-mail Adress',
                    
87    'get_new_trailer'       => 'Get New Trailer',
                    
88    'new_picture_link'      => 'New Picture Link',
                    
89    'enter_a_new_picture_link'       => 'Enter a New Picture Link',
                    
89    'enter_a_new_picture_link'       => 'Enter a New Picture Link',
                    
90    'new_trailer_link'      => 'New Trailer Link',
                    
91    'enter_a_new_trailer_link'       => 'Enter a New Trailer Link',
                    
128    'most_requested_subtitles'        => 'Most Requested Subtitles',
                    
129    'click_for_link'        => 'Click For Link',
                    
130    'enter_to_fast_subtitle_com'  => 'Enter to FastSubtitle.com',
                    
                
Curl.php https://gitlab.com/yousafsyed/easternglamor | PHP | 453 lines
                    
1<?php
                    
2/**
                    
24    protected $mappingData = [
                    
25        'links_purchased_separately' => [
                    
26            'Yes' => 1,
                    
156     *
                    
157     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
158     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
175     *
                    
176     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
177     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
308     *
                    
309     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
310     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
345     *
                    
346     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
347     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
                
template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
                    
81				?>
                    
82				<a class="mr-4" href="<?=$APPLICATION->GetCurPageParam("filter_history=Y", $clearFromLink, false)?>"><?echo Loc::getMessage("SPOL_TPL_VIEW_ORDERS_HISTORY")?></a>
                    
83				<?
                    
92					?>
                    
93					<a class="mr-4" href="<?=$APPLICATION->GetCurPageParam("filter_history=Y", $clearFromLink, false)?>"><?echo Loc::getMessage("SPOL_TPL_VIEW_ORDERS_HISTORY")?></a>
                    
94					<?
                    
98					?>
                    
99					<a class="mr-4" href="<?=$APPLICATION->GetCurPageParam("filter_history=Y&show_canceled=Y", $clearFromLink, false)?>"><?echo Loc::getMessage("SPOL_TPL_VIEW_ORDERS_CANCELED")?></a>
                    
100					<?
                    
245										$title = Loc::getMessage('SPOL_CHECK_NUM', array('#CHECK_NUMBER#' => $checkInfo['ID']))." - ". htmlspecialcharsbx($checkInfo['TYPE_NAME']);
                    
246										if($checkInfo['LINK'] <> '')
                    
247										{
                    
247										{
                    
248											$link = $checkInfo['LINK'];
                    
249											$listCheckLinks .= "<div><a href='$link' target='_blank'>$title</a></div>";
                    
                
Loader.php https://gitlab.com/r.collas/site_central | PHP | 548 lines
                    
1<?php
                    
2/**
                    
9 * @license    http://www.ybellu.com/yab-framework/license.html
                    
10 * @link       http://www.ybellu.com/yab-framework 
                    
11 */
                    
12
                    
13require_once 'Exception.php';
                    
14
                    
167
                    
168		return str_replace('_', DIRECTORY_SEPARATOR, $class_name).'.php';
                    
169
                    
275		$space = $is_cli ? ' ' : '&nbsp;';
                    
276		$crlf = $is_cli ? PHP_EOL : '<br />';
                    
277		
                    
302
                    
303		if($this->getRequest()->isCli() || PHP_VERSION < '5.3')
                    
304			return print_r($var, true);
                    
                
WARCReader.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 290 lines
                    
43 * WARCReader.
                    
44 * Go via {@link WARCReaderFactory} to get instance.
                    
45 * @author stack
                    
186     * <p>Outputs using a pseudo-CDX format as described here:
                    
187     * <a href="http://www.archive.org/web/researcher/cdx_legend.php">CDX
                    
188     * Legent</a> and here
                    
188     * Legent</a> and here
                    
189     * <a href="http://www.archive.org/web/researcher/example_cdx.php">Example</a>.
                    
190     * Legend used in below is: 'CDX b e a m s c V (or v if uncompressed) n g'.
                    
                
Search.php https://gitlab.com/Illprotectyew/xlt | PHP | 462 lines
                    
1<?php namespace Myth\Docs;
                    
2/**
                    
28 * @license     http://opensource.org/licenses/MIT  (MIT)
                    
29 * @link        http://sprintphp.com
                    
30 * @since       Version 1.0
                    
64     */
                    
65    protected $allowed_file_types = 'html|htm|php|php4|php5|txt|md';
                    
66
                    
                
imagepicker.php https://gitlab.com/che234/adn | PHP | 267 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version   $Id: imagepicker.php 11812 2013-06-27 17:49:30Z djamil $
                    
4 * @author    RocketTheme http://www.rockettheme.com
                    
28		$this->value = str_replace("'", '"', str_replace('\\', '', $this->value));
                    
29		$link = $this->options['mediamanager']['attributes']['value'];
                    
30
                    
32			$link = $this->options['mediamanager']['attributes']['value'];
                    
33			$this->value = '{"type":"mediamanager","path":"","preview":"","link":"'.$link.'"}';
                    
34		}
                    
39		} else if (!preg_match("/[{]/", $this->value)){
                    
40			$this->value = '{"type":"mediamanager","path":"'.$this->value.'","preview":"","link":"'.$link.'"}';
                    
41		}
                    
44		if (empty($this->data->path) && !preg_match("/^-([a-z]{1,})-$/", $this->value)) $this->value = "";
                    
45		if (isset($this->data->link)) $link = $this->data->link;
                    
46
                    
                
Cloud.php https://gitlab.com/yousafsyed/easternglamor | PHP | 410 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26#require_once 'Zend/Tag/Item.php';
                    
27
                    
134     * array should at least contain the keys 'title' and 'weight'. Optionally
                    
135     * you may supply the key 'url', to which the tag links to. Any additional
                    
136     * parameter in the array is silently ignored and can be used by custom
                    
152            } else {
                    
153                #require_once 'Zend/Tag/Cloud/Exception.php';
                    
154                throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');
                    
174        } else {
                    
175            #require_once 'Zend/Tag/Cloud/Exception.php';
                    
176            throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');
                    
203        if (null === $this->_tags) {
                    
204            #require_once 'Zend/Tag/ItemList.php';
                    
205            $this->setItemList(new Zend_Tag_ItemList());
                    
                
FilesystemTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 240 lines
                    
182     */
                    
183    public function testUnlinkSymlinkedDirectory()
                    
184    {
                    
186        $basepath  = $tmp . "/composer_testdir";
                    
187        $symlinked = $basepath . "/linked";
                    
188        @mkdir($basepath . "/real", 0777, true);
                    
201        $fs     = new Filesystem();
                    
202        $result = $fs->unlink($symlinked);
                    
203        $this->assertTrue($result);
                    
216        $symlinked              = $basepath . "/linked";
                    
217        $symlinkedTrailingSlash = $symlinked . "/";
                    
218
                    
218
                    
219        $result = @symlink($basepath . "/real", $symlinked);
                    
220
                    
                
CAutoComplete.php https://gitlab.com/zenfork/vektor | PHP | 294 lines
                    
1<?php
                    
2/**
                    
5 * @author Qiang Xue <qiang.xue@gmail.com>
                    
6 * @link http://www.yiiframework.com/
                    
7 * @copyright 2008-2013 Yii Software LLC
                    
13 *
                    
14 * CAutoComplete is based on the {@link http://plugins.jquery.com/project/autocompletex jQuery Autocomplete}.
                    
15 *
                    
16 * This class is deprecated since Yii 1.1.3. Consider using CJuiAutoComplete.
                    
17 * There is {@link http://www.learningjquery.com/2010/06/autocomplete-migration-guide a good migration guide from the author of both JavaScript solutions}.
                    
18 *
                    
33	 * Each array element can be string or an associative array.
                    
34	 * The {@link url} property will be ignored if this property is set.
                    
35	 * @see url
                    
41	 * If the URL is given as an array, it is considered as a route to a controller action and will
                    
42	 * be used to generate a URL using {@link CController::createUrl};
                    
43	 * If the URL is an empty string, the currently requested URL is used.
                    
                
Tokens.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 261 lines
                    
12
                    
13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
                    
14
                    
33<A NAME="navbar_top"><!-- --></A>
                    
34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
                    
35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
                    
152<CODE>&nbsp;void</CODE></FONT></TD>
                    
153<TD><CODE><B>PHPTokenizer.</B><B><A HREF="../../../../../net/sourceforge/pmd/cpd/PHPTokenizer.html#tokenize(net.sourceforge.pmd.cpd.SourceCode, net.sourceforge.pmd.cpd.Tokens)">tokenize</A></B>(<A HREF="../../../../../net/sourceforge/pmd/cpd/SourceCode.html" title="class in net.sourceforge.pmd.cpd">SourceCode</A>&nbsp;tokens,
                    
154         <A HREF="../../../../../net/sourceforge/pmd/cpd/Tokens.html" title="class in net.sourceforge.pmd.cpd">Tokens</A>&nbsp;tokenEntries)</CODE>
                    
209<A NAME="navbar_bottom"><!-- --></A>
                    
210<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
                    
211<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
                    
                
configure-vhosts.html https://gitlab.com/haris4445/techarena | HTML | 251 lines
                    
15
                    
16    <link href="/dashboard/stylesheets/normalize.css" rel="stylesheet" type="text/css" /><link href="/dashboard/stylesheets/all.css" rel="stylesheet" type="text/css" />
                    
17    <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
                    
21
                    
22    <link href="/dashboard/images/favicon.png" rel="icon" type="image/png" />
                    
23
                    
54              <li class="active"><a href="/dashboard/howto.html">HOW-TO Guides</a></li>
                    
55              <li class=""><a target="_blank" href="/dashboard/phpinfo.php">PHPInfo</a></li>
                    
56              <li class=""><a href="/phpmyadmin/">phpMyAdmin</a></li>
                    
                
config.values.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 277 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
6 *
                    
7 * @package PhpMyAdmin
                    
8 */
                    
9
                    
10if (!defined('PHPMYADMIN')) {
                    
11    exit;
                    
36$cfg_db['MemoryLimit'] = 'short_string';
                    
37$cfg_db['NavigationLogoLinkWindow'] = array('main', 'new');
                    
38$cfg_db['NavigationTreeDefaultTabTable'] = array(
                    
54$cfg_db['NavigationTreeTableSeparator'] = 'short_string';
                    
55$cfg_db['TableNavigationLinksMode'] = array(
                    
56    'icons' => __('Icons'),
                    
61$cfg_db['Order'] = array('ASC', 'DESC', 'SMART');
                    
62$cfg_db['RowActionLinks'] = array(
                    
63    'none'  => __('Nowhere'),
                    
                
common.js https://gitlab.com/ctheilman92/Aging-In-Place | JavaScript | 288 lines
                    
6    /**
                    
7     * Event handler for click on the open query window link
                    
8     * in the top menu of the navigation panel
                    
18 *
                    
19 * The content for this is normally loaded from Header.class.php or
                    
20 * Response.class.php and executed by ajax.js
                    
96 *
                    
97 * The content for this is normally loaded from Header.class.php or
                    
98 * Response.class.php and executed by ajax.js
                    
134     * @param mixed url Undefined to refresh to the same page
                    
135     *                  String to go to a different page, e.g: 'index.php'
                    
136     *
                    
140        if (! url) {
                    
141            url = $('#selflink a').attr('href');
                    
142            url = url.substring(0, url.indexOf('?'));
                    
                
MailboxHeader.php https://gitlab.com/oytunistrator/92five | PHP | 358 lines
                    
1<?php
                    
2
                    
70     *
                    
71     * This method returns an associative array like {@link getNameAddresses()}
                    
72     *
                    
88     * <code>
                    
89     * <?php
                    
90     * //Sets two mailboxes in the Header, one with a personal name
                    
116     * <code>
                    
117     * <?php
                    
118     * $header = new Swift_Mime_Headers_MailboxHeader('From',
                    
147     * <code>
                    
148     * <?php
                    
149     * $header = new Swift_Mime_Headers_MailboxHeader('From',
                    
175     * <code>
                    
176     * <?php
                    
177     * //Sets three email addresses as the Header data
                    
                
header.php https://gitlab.com/kaouech/theme | PHP | 198 lines
                    
1<?php include 'config.php' ?>
                    
2<!DOCTYPE html>
                    
25    <!-- The styles -->
                    
26    <link id="bs-css" href="css/bootstrap-cerulean.min.css" rel="stylesheet">
                    
27
                    
27
                    
28    <link href="css/charisma-app.css" rel="stylesheet">
                    
29    <link href='bower_components/fullcalendar/dist/fullcalendar.css' rel='stylesheet'>
                    
29    <link href='bower_components/fullcalendar/dist/fullcalendar.css' rel='stylesheet'>
                    
30    <link href='bower_components/fullcalendar/dist/fullcalendar.print.css' rel='stylesheet' media='print'>
                    
31    <link href='bower_components/chosen/chosen.min.css' rel='stylesheet'>
                    
31    <link href='bower_components/chosen/chosen.min.css' rel='stylesheet'>
                    
32    <link href='bower_components/colorbox/example3/colorbox.css' rel='stylesheet'>
                    
33    <link href='bower_components/responsive-tables/responsive-tables.css' rel='stylesheet'>
                    
33    <link href='bower_components/responsive-tables/responsive-tables.css' rel='stylesheet'>
                    
34    <link href='bower_components/bootstrap-tour/build/css/bootstrap-tour.min.css' rel='stylesheet'>
                    
35    <link href='css/jquery.noty.css' rel='stylesheet'>
                    
                
inputfilter.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 551 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 *  @class: InputFilter (PHP4 & PHP5, with comments)
                    
4 * @project: PHP Input Filter
                    
5 * @date: 10-05-2005
                    
6 * @version: 1.2.2_php4/php5
                    
7 * @author: Daniel Morris
                    
25	var $xssAuto; // default = 1
                    
26	var $tagBlacklist = array ('applet', 'body', 'bgsound', 'base', 'basefont', 'embed', 'frame', 'frameset', 'head', 'html', 'id', 'iframe', 'ilayer', 'layer', 'link', 'meta', 'name', 'object', 'script', 'style', 'title', 'xml');
                    
27	var $attrBlacklist = array ('action', 'background', 'codebase', 'dynsrc', 'lowsrc'); // also will strip ALL event handlers
                    
58	/**
                    
59	 * Method to be called by another php script. Processes for XSS and
                    
60	 * specified bad code.
                    
462	/**
                    
463	 * Method to be called by another php script. Processes for SQL injection
                    
464	 *
                    
                
Tabs.php https://gitlab.com/Sang240892/ecommerce | PHP | 268 lines
                    
66     * - headerOptions: array, optional, the HTML attributes of the tab header.
                    
67     * - linkOptions: array, optional, the HTML attributes of the tab header link tags.
                    
68     * - content: string, optional, the content (HTML) of the tab pane.
                    
97    /**
                    
98     * @var array list of HTML attributes for the tab header link tags. This will be overwritten
                    
99     * by the "linkOptions" set in individual [[items]].
                    
101     */
                    
102    public $linkOptions = [];
                    
103    /**
                    
160            $headerOptions = array_merge($this->headerOptions, ArrayHelper::getValue($item, 'headerOptions', []));
                    
161            $linkOptions = array_merge($this->linkOptions, ArrayHelper::getValue($item, 'linkOptions', []));
                    
162
                    
170
                    
171                Html::addCssClass($linkOptions, ['widget' => 'dropdown-toggle']);
                    
172                if (!isset($linkOptions['data-toggle'])) {
                    
                
layout.class.php https://gitlab.com/dali99/shimmie2-Material-Theme | PHP | 267 lines
                    
105		if($user->is_anonymous()) {
                    
106			$custom_links .= $this->navlinks(make_link('user_admin/login'), "My Account", array("user", "user_admin", "setup", "admin"));
                    
107		}
                    
108		else {
                    
109			$custom_links .= $this->navlinks(make_link('user'), "My Account", array("user", "user_admin", "setup", "admin"));
                    
110		}
                    
110		}
                    
111		$custom_links .= $this->navlinks(make_link('post/list'), "Posts", array("post"));
                    
112		$custom_links .= $this->navlinks(make_link('comment/list'), "Comments", array("comment"));
                    
119			$custom_links .= $this->navlinks(make_link('wiki'), "Wiki", array("wiki"));
                    
120			$custom_links .= $this->navlinks(make_link('wiki/more'), "More &raquo;", array("wiki/more"));
                    
121		}
                    
140			case "upload":
                    
141				if(class_exists("NumericScore")){ $custom_sublinks .= "<li><b>Popular by </b><a href='".make_link('popular_by_day')."'>Day</a>/<a href='".make_link('popular_by_month')."'>Month</a>/<a href='".make_link('popular_by_year')."'>Year</a></li>";}
                    
142				$custom_sublinks .= "<li><a href='".make_link('post/list')."'>All</a></li>";
                    
                
main.php https://gitlab.com/dali99/shimmie2-Material-Theme | PHP | 371 lines
                    
1<?php
                    
2/*
                    
161					$page->set_mode("redirect");
                    
162					$page->set_redirect(make_link("admin"));
                    
163				}
                    
168					$page->set_mode("redirect");
                    
169					$page->set_redirect(make_link("post/list"));
                    
170				}
                    
                
session.php https://gitlab.com/webkod3r/tripolis | PHP | 440 lines
                    
1<?php
                    
2/**
                    
105	 * A session token is a long, random string. It is used in a cookie
                    
106	 * link that cookie to an expiration time and to ensure the cookie
                    
107	 * becomes invalidated upon logout.
                    
                
smarty_internal_cacheresource_file.php https://gitlab.com/adamlwalker/generatedata | PHP | 264 lines
                    
1<?php
                    
2/**
                    
62        }
                    
63        $cached->filepath = $_cache_dir . $_cache_id . $_compile_id . $_filepath . '.' . basename($_source_file_path) . '.php';
                    
64        $cached->timestamp = @filemtime($cached->filepath);
                    
213                    }
                    
214                    $_count += @unlink((string) $_file) ? 1 : 0;
                    
215                }
                    
229    {
                    
230        if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
                    
231            clearstatcache(true, $cached->lock_id);
                    
259        $cached->is_locked = false;
                    
260        @unlink($cached->lock_id);
                    
261    }
                    
                
PhpbbTopics.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 287 lines
                    
1/*
                    
2 * $Header: /cvsroot/mvnforum/mvnforum/contrib/phpbb2mvnforum/src/org/mvnforum/phpbb2mvnforum/db/PhpbbTopics.java,v 1.3 2007/01/15 10:27:33 dungbtm Exp $
                    
3 * $Author: dungbtm $
                    
12 * intact in the scripts and in the outputted HTML.
                    
13 * The "powered by" text/logo with a link back to
                    
14 * http://www.mvnForum.com and http://www.MyVietnam.net in 
                    
226        while (iterator.hasNext()) {
                    
227            PhpbbTopics objphpbb_topicsBean = (PhpbbTopics)iterator.next();
                    
228            xml.append("    <Row>\n");
                    
238            xml.append("        <Name>topic_title</Name>\n");
                    
239            xml.append("        <Value>").append(String.valueOf(objphpbb_topicsBean.topic_title)).append("</Value>\n");
                    
240            xml.append("      </Column>\n");
                    
286    }
                    
287} //end of class phpbb_topicsBean
                    
288
                    
                
logout_8php_source.html https://gitlab.com/zaverichintan/geometry_viewer | HTML | 132 lines
                    
6<meta name="generator" content="Doxygen 1.8.4"/>
                    
7<title>BRL-CAD Online Geometry Viewer: accounts/logout.php Source File</title>
                    
8<link href="tabs.css" rel="stylesheet" type="text/css"/>
                    
10<script type="text/javascript" src="dynsections.js"></script>
                    
11<link href="search/search.css" rel="stylesheet" type="text/css"/>
                    
12<script type="text/javascript" src="search/search.js"></script>
                    
15</script>
                    
16<link href="doxygen.css" rel="stylesheet" type="text/css" />
                    
17</head>
                    
85  <div class="headertitle">
                    
86<div class="title">logout.php</div>  </div>
                    
87</div><!--header-->
                    
88<div class="contents">
                    
89<a href="logout_8php.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;&lt;?php</div>
                    
90<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*                         L O G O U T . P H P</span></div>
                    
                
handlers.js https://gitlab.com/Blueprint-Marketing/interoccupy.net | JavaScript | 370 lines
                    
63	else {
                    
64		item.load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()});
                    
65	}
                    
75
                    
76	// Also bind toggle to the links
                    
77	jQuery('a.toggle', item).click(function(){
                    
                
SCP.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 360 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * Pure-PHP implementation of SCP.
                    
5 *
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
7 *
                    
8 * The API for this library is modeled after the API from PHP's {@link http://php.net/book.ftp FTP extension}.
                    
9 *
                    
11 * <code>
                    
12 * <?php
                    
13 *    include 'Net/SCP.php';
                    
48 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
                    
49 * @link      http://phpseclib.sourceforge.net
                    
50 */
                    
                
helper.php https://gitlab.com/wuhang2003/core | PHP | 297 lines
                    
1<?php
                    
2/**
                    
33	/**
                    
34	 * @dataProvider phpFileSizeProvider
                    
35	 */
                    
35	 */
                    
36	public function testPhpFileSize($expected, $input)
                    
37	{
                    
37	{
                    
38		$result = OC_Helper::phpFileSize($input);
                    
39		$this->assertEquals($expected, $result);
                    
41
                    
42	public function phpFileSizeProvider()
                    
43	{
                    
225	 * @small
                    
226	 * test linkToPublic URL construction
                    
227	 */
                    
                
PMA_relation_cleanup_test.php https://gitlab.com/luyxtran264/myproject | PHP | 511 lines
                    
13
                    
14require_once 'libraries/database_interface.inc.php';
                    
15
                    
15
                    
16require_once 'libraries/relation.lib.php';
                    
17require_once 'libraries/relation_cleanup.lib.php';
                    
377     * @param string $sql                 SQL query to execute
                    
378     * @param mixed  $link                optional database link to use
                    
379     * @param int    $options             optional query options
                    
415     * @param string   $query               query to run
                    
416     * @param resource $link                mysql link resource
                    
417     * @param integer  $options             query options
                    
466     *                                    associative or booth
                    
467     * @param resource            $link   mysql link
                    
468     *
                    
                
ValidFunctionNameSniff.php https://gitlab.com/yousafsyed/easternglamor | PHP | 285 lines
                    
12 * @license   https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
                    
13 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
14 */
                    
16if (class_exists('PHP_CodeSniffer_Standards_AbstractScopeSniff', true) === false) {
                    
17    throw new PHP_CodeSniffer_Exception('Class PHP_CodeSniffer_Standards_AbstractScopeSniff not found');
                    
18}
                    
32 * @version   Release: @package_version@
                    
33 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
34 */
                    
175     *
                    
176     * @param PHP_CodeSniffer_File $phpcsFile The file being processed.
                    
177     * @param int                  $stackPtr  The position where this token was
                    
181     */
                    
182    protected function processTokenOutsideScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
                    
183    {
                    
                
OracleSchemaManager.php https://gitlab.com/Marwamimo/Crowdrise_Web | PHP | 322 lines
                    
1<?php
                    
2/*
                    
67     * @license New BSD License
                    
68     * @link http://ezcomponents.org/docs/api/trunk/DatabaseSchema/ezcDbSchemaPgsqlReader.html
                    
69     */
                    
                
BaseVarDumper.php https://gitlab.com/piotrbilski/yiiPriceWatcher | PHP | 272 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @link http://www.yiiframework.com/
                    
4 * @copyright Copyright (c) 2008 Yii Software LLC
                    
56        if ($highlight) {
                    
57            $result = highlight_string("<?php\n" . self::$_output, true);
                    
58            self::$_output = preg_replace('/&lt;\\?php<br \\/>/', '', $result, 1);
                    
119                    self::$_output .= "$className#$id\n" . $spaces . '(';
                    
120                    if ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__debugInfo')) {
                    
121                        $dumpValues = $var->__debugInfo();
                    
141     *
                    
142     * The string is a valid PHP expression that can be evaluated by PHP parser
                    
143     * and the evaluation result will give back the variable value.
                    
147     *
                    
148     * It also handles objects by using the PHP functions serialize() and unserialize().
                    
149     *
                    
                
page.tpl.php https://gitlab.com/endomorphosis/superchooseday | PHP | 211 lines
                    
87<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
                    
88<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
                    
89<head>
                    
110        <div id="branding">
                    
111          <?php if ($linked_site_logo or $linked_site_name): ?>
                    
112            <?php if ($title): ?>
                    
114                <?php if ($linked_site_logo): ?><span id="logo"><?php print $linked_site_logo; ?></span><?php endif; ?>
                    
115                <?php if ($linked_site_name): ?><span id="site-name"><?php print $linked_site_name; ?></span><?php endif; ?>
                    
116              </strong></div>           
                    
119                <?php if ($linked_site_logo): ?><span id="logo"><?php print $linked_site_logo; ?></span><?php endif; ?>
                    
120                <?php if ($linked_site_name): ?><span id="site-name"><?php print $linked_site_name; ?></span><?php endif; ?>
                    
121             </h1>
                    
170              <div id="main-content-header">
                    
171                <?php if ($title): ?><h1 id="page-title"><?php print $title; ?></h1><?php endif; ?> <!-- /page title -->
                    
172                <?php if ($tabs): ?>
                    
                
simple.html https://gitlab.com/victor.flores/prueba | HTML | 374 lines
                    
31	editor = new $.fn.dataTable.Editor( {
                    
32		ajax: "../php/staff.php",
                    
33		table: "#example",
                    
61		dom: "Tfrtip",
                    
62		ajax: "../php/staff.php",
                    
63		columns: [
                    
146	editor = new $.fn.dataTable.Editor( {
                    
147		ajax: &quot;../php/staff.php&quot;,
                    
148		table: &quot;#example&quot;,
                    
176		dom: &quot;Tfrtip&quot;,
                    
177		ajax: &quot;../php/staff.php&quot;,
                    
178		columns: [
                    
287							<li><a href="../advanced/joinSelf.html">Join tables - self referencing join</a></li>
                    
288							<li><a href="../advanced/joinLinkTable.html">Join tables - link table</a></li>
                    
289							<li><a href="../advanced/joinArray.html">Join tables - one-to-many join</a></li>
                    
                
permissions.inc.php git://github.com/modxcms/revolution.git | PHP | 192 lines
                    
1<?php
                    
2/**
                    
103$_lang['perm.new_static_resource_desc'] = 'Untuk menciptakan sumber daya statis yang baru.';
                    
104$_lang['perm.new_symlink_desc'] = 'Membuat SymLink baru.';
                    
105$_lang['perm.new_template_desc'] = 'Untuk membuat Template baru.';
                    
107$_lang['perm.new_user_desc'] = 'Untuk membuat pengguna baru.';
                    
108$_lang['perm.new_weblink_desc'] = 'Untuk membuat WebLink baru.';
                    
109$_lang['perm.packages_desc'] = 'Untuk menggunakan paket-paket transportasi dalam sistem manajemen paket.';
                    
                
JGraphWordBrowser.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 480 lines
                    
70	/**
                    
71	 * Shortcut to {@link #addVertex(Object, String)} with an empty style.
                    
72	 */
                    
91	/**
                    
92	 * Shortcut to {@link #addEdge(Object, Object, Object)} with an empty user
                    
93	 * object.
                    
99	/**
                    
100	 * Shortcut to {@link #addEdge(Object, Object, Object, String)} with an
                    
101	 * empty style.
                    
107	/**
                    
108	 * Shortcut to {@link #addEdge(Object, Object, Object, String, String)} with
                    
109	 * an empty vertex style.
                    
199		// GraphConstants.setRouting(edge.getAttributes(),
                    
200		// JSPGraphParallelEdgeRouter.sharedInstance);
                    
201		return edge;
                    
                
class.module.php https://gitlab.com/endomorphosis/greenrenaissancejoomla | PHP | 391 lines
                    
42
                    
43	 	//$headerAcajoom = '<link rel="stylesheet" href="' . $GLOBALS['mosConfig_live_site']. '/components/com_acajoom/css/acajoom.css" type="text/css" />';
                    
44	 	//$mainframe->addCustomHeadTag($headerAcajoom);
                    
168
                    
169			$linkForm = 'index.php?option=com_acajoom';
                    
170			if ( $GLOBALS[ACA.'use_sef'] AND function_exists('sefRelToAbs') ) {
                    
224						$text .= "\n".'<input type="hidden" name="sub_list_id['.$i.']" value="'.$list->id.'" />';
                    
225						$link = (($list->list_type =='1' or $list->list_type =='7') && $GLOBALS[ACA.'show_archive'] ) ? 'index.php?option=com_acajoom'.$item.'&act=mailing&task=archive&listid='. $list->id .'&listype=' . $list->list_type : '#';
                    
226						$text .= "\n".'<span class="aca_list_name"';
                    
285					if ( isset( $GLOBALS[ACA.'cb_integration'] ) && $GLOBALS[ACA.'cb_integration'] ) {
                    
286						$linkme = 'index.php?option=com_comprofiler&amp;task=registers';
                    
287					} else {
                    
287					} else {
                    
288						$linkme = 'index.php?option=com_registration&amp;task=register';
                    
289					}
                    
                
CDetailView.php https://gitlab.com/zenfork/vektor | PHP | 260 lines
                    
5 * @author Qiang Xue <qiang.xue@gmail.com>
                    
6 * @link http://www.yiiframework.com/
                    
7 * @copyright 2008-2013 Yii Software LLC
                    
28 *         'description:html',  // description attribute in HTML
                    
29 *         array(               // related city displayed as a link
                    
30 *             'label'=>'City',
                    
31 *             'type'=>'raw',
                    
32 *             'value'=>CHtml::link(CHtml::encode($model->city->name),
                    
33 *                                  array('city/view','id'=>$model->city->id)),
                    
50	 * @var mixed the data model whose details are to be displayed. This can be either a {@link CModel} instance
                    
51	 * (e.g. a {@link CActiveRecord} object or a {@link CFormModel} object) or an associative array.
                    
52	 */
                    
67	 * "Type" should be recognizable by the {@link formatter}. In particular, if "Type" is "xyz", then the "formatXyz" method
                    
68	 * of {@link formatter} will be invoked to format the attribute value for display. By default when {@link CFormatter} is used,
                    
69	 * these "Type" values are valid: raw, text, ntext, html, date, time, datetime, boolean, number, email, image, url.
                    
                
pico.php https://gitlab.com/Blueprint-Marketing/Pico | PHP | 402 lines
                    
1<?php
                    
2
                    
6 * @author Gilbert Pellegrom
                    
7 * @link http://picocms.org
                    
8 * @license http://opensource.org/licenses/MIT
                    
33        $request_url = (isset($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : '';
                    
34        $script_url = (isset($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : '';
                    
35
                    
37        if ($request_url != $script_url) {
                    
38            $url = trim(preg_replace('/' . str_replace('/', '\/', str_replace('index.php', '', $script_url)) . '/', '',
                    
39                $request_url, 1), '/');
                    
128        $this->plugins = array();
                    
129        $plugins = $this->get_files(PLUGINS_DIR, '.php');
                    
130        if (!empty($plugins)) {
                    
325        $request_url = (isset($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : '';
                    
326        $script_url = (isset($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : '';
                    
327        if ($request_url != $script_url) {
                    
                
image.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 412 lines
                    
1<?php
                    
2/**
                    
30		if ( ! file_exists( $src_file ) ) {
                    
31			// If the file doesn't exist, attempt a url fopen on the src link.
                    
32			// This can occur with certain file replication plugins.
                    
                
projectteam.php https://gitlab.com/julienv/joomleague | PHP | 394 lines
                    
97	    }	
                    
98	    $link = 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display';
                    
99	  	$this->setRedirect($link, $msg);  
                    
174
                    
175		$link = 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display';
                    
176		$this->setRedirect($link, $msg);
                    
249		{
                    
250			$link = 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display';
                    
251		}
                    
253		{
                    
254			$link = 'index.php?option=com_joomleague&task=projectteam.edit&cid[]=' . $post['id'];
                    
255		}
                    
285
                    
286		$link = 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display';
                    
287		$this->setRedirect($link, $msg);
                    
                
ApiModelFactory.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 283 lines
                    
38/**
                    
39 * Utility class for creating new {@link org.eclipse.pde.api.tools.internal.provisional.model.IApiElement}s
                    
40 * and for performing common tasks on them
                    
49	/**
                    
50	 * {@link FilenameFilter} for CVS files
                    
51	 * @since 1.0.1
                    
140	/**
                    
141	 * Creates a new empty {@link IApiBaseline} with the given name. Its execution
                    
142	 * environment will be automatically resolved when components are added
                    
151	 * @param name baseline name
                    
152	 * @return a new empty {@link IApiBaseline}
                    
153	 */
                    
163	 * this file is described here
                    
164	 * <code>http://wiki.eclipse.org/index.php/Execution_Environment_Descriptions</code>.
                    
165	 * </p>
                    
                
file_helper.php https://gitlab.com/lisit1003/TTPHPServer | PHP | 479 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
10 * @license		http://codeigniter.com/user_guide/license.html
                    
11 * @link		http://codeigniter.com
                    
12 * @since		Version 1.0
                    
24 * @author		ExpressionEngine Dev Team
                    
25 * @link		http://codeigniter.com/user_guide/helpers/file_helpers.html
                    
26 */
                    
144				{
                    
145					unlink($path.DIRECTORY_SEPARATOR.$filename);
                    
146				}
                    
240
                    
241			// foreach (scandir($source_dir, 1) as $file) // In addition to being PHP5+, scandir() is simply not as fast
                    
242			while (FALSE !== ($file = readdir($fp)))
                    
                
LayoutTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 361 lines
                    
1<?php
                    
2/**
                    
13
                    
14class LayoutTest extends \PHPUnit_Framework_TestCase
                    
15{
                    
106                        '//block[@class="Magento\Theme\Block\Html\Head\Css" ' .
                    
107                        'or @class="Magento\Theme\Block\Html\Head\Link" ' .
                    
108                        'or @class="Magento\Theme\Block\Html\Head\Script"]' .
                    
112                    ),
                    
113                    'Blocks \Magento\Theme\Block\Html\Head\{Css,Link,Script} ' .
                    
114                    'are allowed within the "head" block only. ' .
                    
234     *
                    
235     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
236     * Temporary method existing until <action> instruction in layout is not eliminated, no need to split it.
                    
293            'setHideBalance',
                    
294            'setHideLink',
                    
295            'setHideRequiredNotice',
                    
                
Locker.php https://gitlab.com/yousafsyed/easternglamor | PHP | 370 lines
                    
1<?php
                    
2
                    
130     * @param  bool                     $withDevReqs if true, the platform requirements from the require-dev block are also returned
                    
131     * @return \Composer\Package\Link[]
                    
132     */
                    
139        if (!empty($lockData['platform'])) {
                    
140            $requirements = $versionParser->parseLinks(
                    
141                '__ROOT__',
                    
148        if ($withDevReqs && !empty($lockData['platform-dev'])) {
                    
149            $devRequirements = $versionParser->parseLinks(
                    
150                '__ROOT__',
                    
265            if ($this->lockFile->exists()) {
                    
266                unlink($this->lockFile->getPath());
                    
267            }
                    
                
BigMath.php https://gitlab.com/x33n/ampache | PHP | 451 lines
                    
1<?php
                    
2
                    
6 *
                    
7 * PHP versions 4 and 5
                    
8 *
                    
20 */
                    
21require_once 'Auth/OpenID/CryptUtil.php';
                    
22
                    
25 */
                    
26require_once 'Auth/OpenID.php';
                    
27
                    
39     *
                    
40     * @param integer $long The long number (can be a normal PHP
                    
41     * integer or a number created by one of the available long number
                    
183 *
                    
184 * {@link Auth_OpenID_BcMathWrapper} wraps the functionality provided
                    
185 * by the BCMath extension.
                    
                
PlaylistListEntry.php https://gitlab.com/devtoannh/cafe | PHP | 300 lines
                    
132        if ($this->_feedLink != null) {
                    
133            foreach ($this->_feedLink as $feedLink) {
                    
134                $element->appendChild($feedLink->getDOM($element->ownerDocument));
                    
167            $feedLink->transferFromDOM($child);
                    
168            $this->_feedLink[] = $feedLink;
                    
169            break;
                    
252     */
                    
253    public function setFeedLink($feedLink = null)
                    
254    {
                    
254    {
                    
255        $this->_feedLink = $feedLink;
                    
256        return $this;
                    
276        } else {
                    
277            foreach ($this->_feedLink as $feedLink) {
                    
278                if ($feedLink->rel == $rel) {
                    
                
Curl.php https://gitlab.com/blingbang2016/shop | PHP | 576 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
157        if (is_file(self::COOKIE_FILE)) {
                    
158            @unlink(self::COOKIE_FILE);
                    
159        }
                    
252     *
                    
253     * @param string $uri uri relative to host, ex. "/index.php"
                    
254     */
                    
                
mssql_driver.php https://gitlab.com/Illprotectyew/xlt | PHP | 517 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	http://codeigniter.com
                    
35 * @since	Version 1.3.0
                    
50 * @author		EllisLab Dev Team
                    
51 * @link		http://codeigniter.com/user_guide/database/
                    
52 */
                    
                
EmailComponent.php https://gitlab.com/shubam39/CakeTooDoo | PHP | 464 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
12 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @link          http://cakephp.org CakePHP(tm) Project
                    
14 * @package       Cake.Controller.Component
                    
14 * @package       Cake.Controller.Component
                    
15 * @since         CakePHP(tm) v 1.2.0.3467
                    
16 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
29 * @package       Cake.Controller.Component
                    
30 * @link          http://book.cakephp.org/2.0/en/core-libraries/components/email.html
                    
31 * @link          http://book.cakephp.org/2.0/en/core-utility-libraries/email.html
                    
142 * Line feed character(s) to be used when sending using mail() function
                    
143 * By default PHP_EOL is used.
                    
144 * RFC2822 requires it to be CRLF but some Unix
                    
                
Reader.php https://gitlab.com/cmtsheikeshadi/first_app_development_project | PHP | 350 lines
                    
1<?php
                    
2/**
                    
5* @license http://opensource.org/licenses/MIT
                    
6* @link https://github.com/thephpleague/csv/
                    
7* @version 8.1.0
                    
216    /**
                    
217     * Return the key/pairs as a PHP generator
                    
218     *
                    
                
slideshow.php https://gitlab.com/ibnukipa/cakra | PHP | 306 lines
                    
1<?php
                    
2
                    
91		<fieldset>
                    
92			<select name="<?php echo esc_attr( $name ); ?>" id="<?php esc_attr( $name ); ?>">
                    
93				<?php foreach ( $values as $key => $value ) : ?>
                    
93				<?php foreach ( $values as $key => $value ) : ?>
                    
94					<option value="<?php echo esc_attr( $key ); ?>" <?php selected( $key, $option ); ?>>
                    
95						<?php echo esc_html( $value ); ?>
                    
96					</option>
                    
97				<?php endforeach; ?>
                    
98			</select>
                    
98			</select>
                    
99			<?php if ( ! empty( $extra_text ) ) : ?>
                    
100				<p class="description"><?php echo esc_html( $extra_text ); ?></p>
                    
100				<p class="description"><?php echo esc_html( $extra_text ); ?></p>
                    
101			<?php endif; ?>
                    
102		</fieldset>
                    
                
po.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 363 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @version $Id: po.php 406 2010-02-07 11:10:24Z nbachiyski $
                    
6 * @package pomo
                    
9
                    
10require_once dirname(__FILE__) . '/translations.php';
                    
11
                    
63	/**
                    
64	 * Same as {@link export}, but writes the result to a file
                    
65	 *
                    
149	function prepend_each_line($string, $with) {
                    
150		$php_with = var_export($with, true);
                    
151		$lines = explode("\n", $string);
                    
153		if ("\n" == substr($string, -1)) unset($lines[count($lines) - 1]);
                    
154		$res = implode("\n", array_map(create_function('$x', "return $php_with.\$x;"), $lines));
                    
155		// give back the empty line, we ignored above
                    
                
index.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 363 lines
                    
1<?php
                    
2# Manage user preferences
                    
22
                    
23# we need to define the theme before loading the pre.php init script,
                    
24# otherwise the page needs to be reloaded for the change to take effect.
                    
25# see bug #1987
                    
26require_once('../../include/sane.php');
                    
27extract(sane_import('post',
                    
40
                    
41require_once('../../include/init.php');
                    
42require_once('../../include/timezones.php');
                    
123#######################
                    
124####################### PRINT FORM + LINKS
                    
125
                    
139
                    
140print '<form action="'.$_SERVER["PHP_SELF"].'" method="post">';
                    
141
                    
                
UnitCheckProject.html git://git.savannah.nongnu.org/unitcheck.git | HTML | 447 lines
                    
32		<p class="notes">
                    
33			Located in <a class="field" href="_UnitCheckProject.php.html">/UnitCheckProject.php</a> (line <span class="field">32</span>)
                    
34		</p>
                    
161	
                    
162	<!-- ========== Info from phpDoc block ========= -->
                    
163	<ul class="tags">
                    
268	
                    
269	<!-- ========== Info from phpDoc block ========= -->
                    
270	<ul class="tags">
                    
291	
                    
292	<!-- ========== Info from phpDoc block ========= -->
                    
293	<ul class="tags">
                    
443	<p class="notes" id="credit">
                    
444		Documentation generated on Tue, 18 Jan 2011 17:56:51 +1100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
                    
445	</p>
                    
                
productos.php https://gitlab.com/merintec/barvo | PHP | 311 lines
                    
3include("verificar_admin.php");
                    
4include("../comunes/conexion.php");
                    
5$tabla='productos';
                    
50      if ($("#form1").validationEngine('validate')){
                    
51        var url="../comunes/funcion_guardar.php"; 
                    
52        $.ajax
                    
109        data: parametros,
                    
110        action: 'subir_imagen_productos.php',
                    
111        onSubmit : function(file , ext){
                    
146        data: parametros,
                    
147        action: 'subir_imagen_productos.php',
                    
148        onSubmit : function(file , ext){
                    
280               
                    
281                <div align="center"> <a href="<?php echo $_PHP_SELF; ?>"><button id="cancelar" type="button" class="btn btn_form oculto" >Cancelar</button></a>  <input type="submit" name="guardar"  id="guardar" value="Guardar" class="btn btn_form" > </div>
                    
282           
                    
                
SQLiteGrammar.php https://gitlab.com/kimting254/wbms | PHP | 611 lines
                    
1<?php namespace Illuminate\Database\Schema\Grammars;
                    
2
                    
503	 * Note: "SQLite does not have a storage class set aside for storing dates and/or times."
                    
504	 * @link https://www.sqlite.org/datatype3.html
                    
505	 *
                    
                
home.php https://gitlab.com/ronald.kasagga/shirley-pharmacy | PHP | 170 lines
                    
1<?php/**
                    
2 * @var $theme \app\assets\themes\MaxiHealthAsset
                    
129                        <a href="blog-post.html"><img src="http://localhost/shirley-pharmacy/web/assets/e66cb562/web/images/latest-news-1.jpg" alt="latest-news"/></a>
                    
130                        <a href="blog-post.html" class="read-more"><i class="fa fa-link"></i>Read More</a>
                    
131                    </div>
                    
150                        <a href="blog-post.html"><img src="http://localhost/shirley-pharmacy/web/assets/e66cb562/web/images/latest-news-2.jpg" alt="latest-news"/></a>
                    
151                        <a href="blog-post.html" class="read-more"><i class="fa fa-link"></i>Read More</a>
                    
152                    </div>
                    
                
SSDB.php https://gitlab.com/dleonov/my-framework-two | PHP | 576 lines
                    
1<?php
                    
2/**
                    
5 * @author: ideawu
                    
6 * @link: http://www.ideawu.com/
                    
7 *
                    
7 *
                    
8 * SSDB PHP client SDK.
                    
9 */
                    
                
2012-01-202.html https://gitlab.com/bernagg/TI | HTML | 359 lines
                    
44			<tr><td width="100%"></td><td>
                    
45			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FYoutubeMP3tv%2F220993711269458&amp;width=270&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=false&amp;height=62&amp;layout=button_count" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:270px; height:21px;" allowTransparency="true"></iframe>
                    
46			<!-- <iframe src="http://www.facebook.com/plugins/like.php?app_id=147297765356025&amp;href=http%3A%2F%2Fyoutubemp3.tv%2F&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe> -->
                    
244		<div class="title">
                    
245			New to <a href="#" class="link_mp3">YouTube<span>MP3</span></a>
                    
246		</div>
                    
247		<p>
                    
248			<h1 style="font-size:12px"><a href="http://www.youtubemp3.tv/" class="link_mp3">YouTube<span>MP3</span></a> is advanced youtube to mp3 converter which allows you to convert and download YouTube videos free of charge.
                    
249			For example you can use <a href="http://www.youtubemp3.tv/" class="link_mp3">YouTube<span>MP3</span></a> to convert your favorite YouTube videos to mp3 files!</h1>
                    
254		<div class="title">
                    
255			<a href="#" class="link_mp3">YouTube<span>MP3</span></a> Browser Extensions
                    
256		</div>
                    
346		<!--<li><a href="http://youtubemp3.tv/checkfiles.html">Link Checker</a> <span>|</span></li>-->
                    
347		<!--<li><a href="http://youtubemp3.tv/links.html">Links</a> <span>|</span></li>-->
                    
348		<li><a href="http://youtubemp3.tv/contact.html">Contact Us</a> <span>|</span></li>
                    
                
select_rows.html https://gitlab.com/ealexis.t/trends | HTML | 344 lines
                    
4	<meta charset="utf-8">
                    
5	<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
                    
6	<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
                    
8	<title>DataTables example - Row selection</title>
                    
9	<link rel="stylesheet" type="text/css" href="../../media/css/jquery.dataTables.css">
                    
10	<link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css">
                    
10	<link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css">
                    
11	<link rel="stylesheet" type="text/css" href="../resources/demo.css">
                    
12	<style type="text/css" class="init">
                    
27		"serverSide": true,
                    
28		"ajax": "scripts/ids-arrays.php",
                    
29		"rowCallback": function( row, data, displayIndex ) {
                    
111		&quot;serverSide&quot;: true,
                    
112		&quot;ajax&quot;: &quot;scripts/ids-arrays.php&quot;,
                    
113		&quot;rowCallback&quot;: function( row, data, displayIndex ) {
                    
                
level_search.blade.php https://gitlab.com/ehubnepal/educationhubnepal | PHP | 160 lines
                    
1<?php 
                    
2	/*foreach($res as $r):
                    
126                                                            </dl>
                    
127                                                            <a href="{{url('programs/'.$program->url)}}" class="link-arrow"> More</a>
                    
128                                                        </aside>
                    
                
zzseotk.php https://gitlab.com/Blueprint-Marketing/zzSEOtk | PHP | 386 lines
                    
302    {
                    
303        $link = $this->context->link;
                    
304        $controller = $this->_controller;
                    
324                // getCMSLink($cms, $alias = null, $ssl = null, $id_lang = null, $id_shop = null, $relative_protocol = false)
                    
325                $canonical = $link->getCmsLink($id, null, null, $id_lang, $id_shop);
                    
326                break;
                    
335                    ? $link->{$getLinkFunc}($id, null, $id_lang, $id_shop)
                    
336                    : $link->getPageLink($controller, null, $id_lang, null, false, $id_shop);
                    
337                break;
                    
357                    // getModuleLink($module, $controller = 'default', array $params = array(), $ssl = null, $id_lang = null, $id_shop = null, $relative_protocol = false)
                    
358                    $canonical = $link->getModuleLink($module, $controller, $_params, null, $id_lang, $id_shop);
                    
359                } else {
                    
360                    // getPageLink($controller, $ssl = null, $id_lang = null, $request = null, $request_url_encode = false, $id_shop = null, $relative_protocol = false)
                    
361                    $canonical = $link->getPageLink($controller, null, $id_lang, null, false, $id_shop);
                    
362                }
                    
                
Autoload.php https://gitlab.com/oytunistrator/92five | PHP | 248 lines
                    
78            'phpunit_extensions_grouptestsuite' => '/Extensions/GroupTestSuite.php',
                    
79            'phpunit_extensions_phpttestcase' => '/Extensions/PhptTestCase.php',
                    
80            'phpunit_extensions_phpttestcase_logger' => '/Extensions/PhptTestCase/Logger.php',
                    
80            'phpunit_extensions_phpttestcase_logger' => '/Extensions/PhptTestCase/Logger.php',
                    
81            'phpunit_extensions_phpttestsuite' => '/Extensions/PhptTestSuite.php',
                    
82            'phpunit_extensions_repeatedtest' => '/Extensions/RepeatedTest.php',
                    
133            'phpunit_framework_constraint_stringcontains' => '/Framework/Constraint/StringContains.php',
                    
134            'phpunit_framework_constraint_stringendswith' => '/Framework/Constraint/StringEndsWith.php',
                    
135            'phpunit_framework_constraint_stringmatches' => '/Framework/Constraint/StringMatches.php',
                    
183            'phpunit_util_log_tap' => '/Util/Log/TAP.php',
                    
184            'phpunit_util_php' => '/Util/PHP.php',
                    
185            'phpunit_util_php_default' => '/Util/PHP/Default.php',
                    
185            'phpunit_util_php_default' => '/Util/PHP/Default.php',
                    
186            'phpunit_util_php_windows' => '/Util/PHP/Windows.php',
                    
187            'phpunit_util_printer' => '/Util/Printer.php',
                    
                
font_metrics.cls.php https://gitlab.com/narugamy/inventariado | PHP | 363 lines
                    
3 * @package dompdf
                    
4 * @link    http://dompdf.github.com/
                    
5 * @author  Benj Carson <benjcarson@digitaljunkies.ca>
                    
18 * with Font_Metrics::save_font_families().
                    
19 * This is typically done only from command line with load_font.php on converting
                    
20 * ttf fonts to ufm with php-font-lib.
                    
21 *
                    
22 * Declared here because PHP5 prevents constants from being declared with expressions
                    
23 */
                    
23 */
                    
24define('__DOMPDF_FONT_CACHE_FILE', DOMPDF_FONT_DIR . "dompdf_font_family_cache.php");
                    
25
                    
52   *
                    
53   * Usually cached by the {@link load_font.php} script
                    
54   *
                    
                
List.php https://gitlab.com/wuhang2003/typecho | PHP | 402 lines
                    
1<?php
                    
2if (!defined('__TYPECHO_ROOT_DIR__')) exit;
                    
154
                    
155        echo '"><a href="' . $this->permalink . '">' . $this->name . '</a>';
                    
156
                    
                
SnsClient.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 378 lines
                    
1<?php
                    
2
                    
6
                    
7w3_require_once(W3TC_LIB_W3_DIR . '/Enterprise/SnsBase.php');
                    
8
                    
182    /**
                    
183     * Reloads/compiles a PHP file.
                    
184     * @param string $filename
                    
191    /**
                    
192     * Reloads/compiles a PHP file.
                    
193     * @param string[] $filenames
                    
244    /**
                    
245     * Makes get request to url specific to post, ie permalinks
                    
246     * @param $post_id
                    
                
Explosion.php https://gitlab.com/wesleyvanneck/ImagicalMine | PHP | 277 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * src/pocketmine/level/Explosion.php
                    
4 *
                    
27 * @author ImagicalMine Team
                    
28 * @link http://forums.imagicalcorp.ml/
                    
29 *
                    
                
bluepay.php https://gitlab.com/sheldonels/pyrocms | 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
                    
                
settings_lang.php https://gitlab.com/sheldonels/pyrocms | 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 */
                    
175
                    
                
template.php https://gitlab.com/mhd_alhuda/megablogging-v5 | PHP | 224 lines
                    
10	<title>Templates - Admin Megablogging</title>
                    
11    <?PHP require_once(dirname(__FILE__)."/inc/css.php"); ?>
                    
12	<link rel='stylesheet' type='text/css' href='assets/css/fileinput.css'/>
                    
15    <div id="wrapper" <?PHP echo $c_sidebar_set; ?>>
                    
16		<?PHP require_once(dirname(__FILE__)."/inc/navbar.php"); ?>
                    
17        <?PHP require_once(dirname(__FILE__)."/inc/sidebar.php"); ?>
                    
155										<ul class="styled-list">
                    
156											<?PHP require_once("inc/php.ini.php"); ?>
                    
157											<li>Allowed extension only <span class='text-danger'>zip</span></li>
                    
169    </div><!-- /main-container -->
                    
170	<?PHP require_once(dirname(__FILE__)."/inc/footer.php"); ?>
                    
171    </div><!-- /wrapper -->
                    
172    <a href="#" id="scroll-to-top" class="hidden-print"><i class="fa fa-chevron-up"></i></a>
                    
173    <?PHP require_once(dirname(__FILE__)."/inc/js.php"); ?>
                    
174	<script type='text/javascript' src='assets/js/fileinput.min.js'></script>
                    
                
PHPCrawlerSQLiteURLCache.class.php https://gitlab.com/vnsoftdev/sna | PHP | 301 lines
                    
7 */
                    
8class PHPCrawlerSQLiteURLCache extends PHPCrawlerURLCacheBase
                    
9{
                    
82    // Return URL
                    
83    return new PHPCrawlerURLDescriptor($row["url_rebuild"], $row["link_raw"], $row["linkcode"], $row["linktext"], $row["refering_url"], $row["url_link_depth"]);
                    
84  }
                    
121                                                  ":distinct_hash" => $map_key,
                    
122                                                  ":link_raw" => $UrlDescriptor->link_raw,
                    
123                                                  ":linkcode" => $UrlDescriptor->linkcode,
                    
127                                                  ":is_redirect_url" => $UrlDescriptor->is_redirect_url,
                    
128                                                  ":url_link_depth" => $UrlDescriptor->url_link_depth));
                    
129  }
                    
275      // Prepared statement for URL-inserts                                      
                    
276      $this->PreparedInsertStatement = $this->PDO->prepare("INSERT OR IGNORE INTO urls (priority_level, distinct_hash, link_raw, linkcode, linktext, refering_url, url_rebuild, is_redirect_url, url_link_depth)
                    
277                                                            VALUES(:priority_level,
                    
                
main.php https://gitlab.com/dali99/shimmie2-Material-Theme | PHP | 396 lines
                    
1<?php
                    
2/*
                    
82		elseif(($event->get_arg(1) == 'post') && ($event->get_arg(2) == 'show')) {
                    
83			$fixedlocation = make_link("post/view/" . $event->get_arg(3));
                    
84			$page->set_mode("redirect");
                    
243				"file_name" => $img->filename,
                    
244				"file_url" => $img->get_image_link(),
                    
245				"height" => $img->height,
                    
246				"width" => $img->width,
                    
247				"preview_url" => $img->get_thumb_link(),
                    
248				"preview_height" => $previewsize[1],
                    
291		global $user, $config, $page;
                    
292		$danboorup_kludge = 1;            // danboorup for firefox makes broken links out of location: /path
                    
293
                    
356			$page->add_http_header("X-Danbooru-Errors: duplicate");
                    
357			$existinglink = make_link("post/view/" . $existing->id);
                    
358			if ($danboorup_kludge) $existinglink = make_http($existinglink);
                    
                
auth_lang.php https://gitlab.com/jankube/CodeIgniter-Ion-Auth | PHP | 165 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
42$lang['index_action_th']         = 'Action';
                    
43$lang['index_active_link']       = 'Activer';
                    
44$lang['index_inactive_link']     = 'Désactiver';
                    
44$lang['index_inactive_link']     = 'Désactiver';
                    
45$lang['index_create_user_link']  = 'Créer un nouvel utilisateur';
                    
46$lang['index_create_group_link'] = 'Créer un nouveau groupe';
                    
154$lang['email_activate_subheading'] = 'Veuillez cliquer sur le lien pour %s';
                    
155$lang['email_activate_link']       = 'Activer votre compte';
                    
156
                    
159$lang['email_forgot_password_subheading'] = 'Veuillez cliquer sur ce lien pour %s';
                    
160$lang['email_forgot_password_link']       = 'Changer votre mot de passe';
                    
161
                    
                
variables_8php_source.html https://gitlab.com/zaverichintan/geometry_viewer | HTML | 127 lines
                    
6<meta name="generator" content="Doxygen 1.8.4"/>
                    
7<title>BRL-CAD Online Geometry Viewer: variables.php Source File</title>
                    
8<link href="tabs.css" rel="stylesheet" type="text/css"/>
                    
84<div class="contents">
                    
85<a href="variables_8php.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;&lt;?php</div>
                    
86<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*                     V A R I A B L E S . P H P</span></div>
                    
104<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> */</span></div>
                    
105<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="variables_8php.html#a9b2aca73038168dc85a3fb6d6af948a8">   26</a></span>&#160;    <a class="code" href="variables_8php.html#a9b2aca73038168dc85a3fb6d6af948a8">$uploadPath</a> = <span class="stringliteral">&quot;user_accounts/$username&quot;</span>;</div>
                    
106<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
                    
106<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
                    
107<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="variables_8php.html#a107cb3732c3eb625a67c9896596c6c74">   29</a></span>&#160;    <a class="code" href="variables_8php.html#a107cb3732c3eb625a67c9896596c6c74">$objPath</a> = <span class="stringliteral">&quot;user_accounts/$username/obj&quot;</span>;</div>
                    
108<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
                    
116<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;?&gt;</div>
                    
117<div class="ttc" id="variables_8php_html_a9b2aca73038168dc85a3fb6d6af948a8"><div class="ttname"><a href="variables_8php.html#a9b2aca73038168dc85a3fb6d6af948a8">$uploadPath</a></div><div class="ttdeci">$uploadPath</div><div class="ttdef"><b>Definition:</b> <a href="variables_8php_source.html#l00026">variables.php:26</a></div></div>
                    
118<div class="ttc" id="variables_8php_html_a107cb3732c3eb625a67c9896596c6c74"><div class="ttname"><a href="variables_8php.html#a107cb3732c3eb625a67c9896596c6c74">$objPath</a></div><div class="ttdeci">$objPath</div><div class="ttdef"><b>Definition:</b> <a href="variables_8php_source.html#l00029">variables.php:29</a></div></div>
                    
                
HeadLink.php https://gitlab.com/yousafsyed/easternglamor | PHP | 495 lines
                    
80     */
                    
81    public function headLink(array $attributes = null, $placement = Placeholder\Container\AbstractContainer::APPEND)
                    
82    {
                    
288        $attributes = (array) $item;
                    
289        $link       = '<link';
                    
290
                    
312
                    
313        if (($link == '<link />') || ($link == '<link>')) {
                    
314            return '';
                    
322            if (str_replace(' ', '', $attributes['conditionalStylesheet']) === '!IE') {
                    
323                $link = '<!-->' . $link . '<!--';
                    
324            }
                    
324            }
                    
325            $link = '<!--[if ' . $attributes['conditionalStylesheet'] . ']>' . $link . '<![endif]-->';
                    
326        }
                    
                
Headers.php https://gitlab.com/yousafsyed/easternglamor | PHP | 472 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)
                    
                
update.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 476 lines
                    
1<?php
                    
2/**
                    
5 *  @license GNU General Public License version 3, or later
                    
6 *  @version $Id: update.php 82 2010-10-23 19:13:50Z nikosdion $
                    
7 */
                    
32		jimport('joomla.filesystem.file');
                    
33		$this->isPro = JFile::exists(JPATH_COMPONENT_ADMINISTRATOR.DS.'tables'.DS.'redirs.php');
                    
34
                    
137
                    
138			require_once JPATH_COMPONENT_ADMINISTRATOR.DS.'helpers'.DS.'ini.php';
                    
139			$parsed=AdmintoolsHelperINI::parse_ini_file($inidata, false, true);
                    
155
                    
156			// Special processing for the link in Admin Tools Professional
                    
157			$suffix = '';
                    
409			} else {
                    
410				// PHP 4 way (actually, it's just a fallback as we can't run Admin Tools in PHP4)
                    
411				ini_set('user_agent', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)');
                    
                
QueryBuilder.php https://gitlab.com/luckymc/yii2-vendor | PHP | 260 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @link http://www.yiiframework.com/
                    
4 * @copyright Copyright (c) 2008 Yii Software LLC
                    
207     *
                    
208     * ```php
                    
209     * $sql = $queryBuilder->batchInsert('user', ['name', 'age'], [
                    
                
class-zip.php https://gitlab.com/endomorphosis/falkenstein | PHP | 306 lines
                    
1<?php
                    
2
                    
56		# BinZip does not like zero-sized zip files
                    
57		if (file_exists($this->path) && 0 == filesize($this->path)) @unlink($this->path);
                    
58
                    
217	public function open($path, $flags = 0) {
                    
218		if(!class_exists('PclZip')) include_once(ABSPATH.'/wp-admin/includes/class-pclzip.php');
                    
219		if(!class_exists('PclZip')) {
                    
225
                    
226		if ($flags == $ziparchive_create_match && file_exists($path)) @unlink($path);
                    
227
                    
                
handler.php https://gitlab.com/alexprowars/bitrix | PHP | 556 lines
                    
1<?php
                    
2
                    
183	/**
                    
184	 * returns either the link from a handler's settings or the order confirmation page
                    
185	 * @param Payment $payment
                    
                
class.pop3.php https://gitlab.com/rodrigo-brave/template | PHP | 397 lines
                    
1<?php
                    
2/**
                    
3 * PHPMailer POP-Before-SMTP Authentication Class.
                    
4 * PHP Version 5
                    
5 * @package PHPMailer
                    
5 * @package PHPMailer
                    
6 * @link https://github.com/PHPMailer/PHPMailer/
                    
7 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
                    
20/**
                    
21 * PHPMailer POP-Before-SMTP Authentication Class.
                    
22 * Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication.
                    
23 * Does not support APOP.
                    
24 * @package PHPMailer
                    
25 * @author Richard Davey (original author) <rich@corephp.co.uk>
                    
25 * @author Richard Davey (original author) <rich@corephp.co.uk>
                    
26 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
                    
27 * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
                    
                
template_test.php https://gitlab.com/alexprowars/bitrix | PHP | 339 lines
                    
77
                    
78require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
79
                    
83		"TITLE"=>GetMessage("rub_list"),
                    
84		"LINK"=>"rubric_admin.php?lang=".LANG,
                    
85		"ICON"=>"btn_list",
                    
93		"TITLE"=>GetMessage("rubric_mnu_add"),
                    
94		"LINK"=>"rubric_edit.php?lang=".LANG,
                    
95		"ICON"=>"btn_new",
                    
99		"TITLE"=>GetMessage("rubric_mnu_edit"),
                    
100		"LINK"=>"rubric_edit.php?ID=".$ID."&lang=".LANG
                    
101	);
                    
104		"TITLE"=>GetMessage("rubric_mnu_del"),
                    
105		"LINK"=>"javascript:if(confirm('".GetMessage("rubric_mnu_del_conf")."'))window.location='rubric_admin.php?ID=".$ID."&cf=delid&lang=".LANG."&".bitrix_sessid_get()."';",
                    
106		"ICON"=>"btn_delete",
                    
                
SdwApi.java https://jonathan.svn.codeplex.com/svn | Java | 359 lines
                    
250         int subBookOrder = subBookItem.getInt ("order");
                    
251         int subBookLinkedId = subBookItem.optInt ("linkedbooklistid", -1);
                    
252         Book b = this.getBookData (subBookTitle);
                    
255         if (subBookLinkedId != -1) {
                    
256            subBook.setLinkedId (subBookLinkedId);
                    
257         }
                    
267   {
                    
268      int linkId = subBook.getLinkedId ();
                    
269      Integer subBookId = linkId == -1 ? subBook.getSubBookListId () : linkId;
                    
325         }
                    
326         JSONObject links = passageItem.optJSONObject ("links");
                    
327         if (links != null) {
                    
329               String linkId = it.next ().toString ();
                    
330               JSONObject linkItem = links.getJSONObject (linkId);
                    
331               passage.addLink (Integer.parseInt (linkId), linkItem.getInt ("start"),
                    
                
axis214ipptz_extra.php https://gitlab.com/talueses/SIPVE | PHP | 287 lines
                    
1<?php 
                    
2/*******************************************************************************\
                    
31  *     Para mas información visite 
                    
32  *     @link http://repositorio.softwarelibre.gob.ve/ - RNA
                    
33  *     @link http://sourceforge.net/projects/sipve/   - SourceForge
                    
33  *     @link http://sourceforge.net/projects/sipve/   - SourceForge
                    
34  *     @link https://gitlab.com/talueses/SIPVE - Gitlab Repositorio.
                    
35  * 
                    
37?>
                    
38<?php
                    
39
                    
39
                    
40session_start(); // start up your PHP session!
                    
41
                    
44
                    
45require_once "../controller/monitorremoto.control.php"; // Class CONTROLLER
                    
46
                    
                
Pagination.class.php https://gitlab.com/webbroteam/satisfaction-mvc | PHP | 447 lines
                    
4 * Pagination
                    
5 * @link https://github.com/onassar/PHP-Pagination/blob/master/Pagination.class.php
                    
6 * Supplies an API for setting pagination details, and renders the resulting
                    
18 *     // source inclusion
                    
19 *     require_once APP . '/vendors/PHP-Pagination/Pagination.class.php';
                    
20 *
                    
30 *     // source inclusion
                    
31 *     require_once APP . '/vendors/PHP-Pagination/Pagination.class.php';
                    
32 *
                    
151        if (empty($target)) {
                    
152            $target = $_SERVER['PHP_SELF'];
                    
153        }
                    
194    /**
                    
195     * getRelPrevNextLinkTags
                    
196     *
                    
                
CMB2_Sanitize.php https://gitlab.com/ripontopu/uswo | PHP | 469 lines
                    
1<?php
                    
2/**
                    
10 * @license   GPL-2.0+
                    
11 * @link      http://webdevstudios.com
                    
12 *
                    
                
Loader.php https://gitlab.com/buitenzorg812/garapic.cms | PHP | 481 lines
                    
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
                    
2
                    
6 * Adapted from the CodeIgniter Core Classes
                    
7 * @link	http://codeigniter.com
                    
8 *
                    
12 *
                    
13 * Install this file as application/third_party/MX/Loader.php
                    
14 *
                    
352		{
                    
353			echo eval('?>'.preg_replace("/;*\s*\?>/", "; ?>", str_replace('<?=', '<?php echo ', file_get_contents($_ci_path))));
                    
354		}
                    
480/** load the CI class for Modular Separation **/
                    
481(class_exists('CI', FALSE)) OR require dirname(__FILE__).'/Ci.php';
                    
                
2012-69-009.html https://gitlab.com/bernagg/TI | HTML | 326 lines
                    
5<title>what are the best social bookmarking sites for use with SEO for a technology company?   </title>
                    
6<link rel="stylesheet" href="http://www.firedmind.com/wp-content/themes/5/style.css" type="text/css" media="screen" />
                    
7<link rel="alternate" type="application/rss+xml" title="Firedmind &#8211; Your Free Blog RSS Feed" href="http://www.firedmind.com/feed/" />
                    
7<link rel="alternate" type="application/rss+xml" title="Firedmind &#8211; Your Free Blog RSS Feed" href="http://www.firedmind.com/feed/" />
                    
8<link rel="pingback" href="http://www.firedmind.com/xmlrpc.php" />
                    
9<link rel="alternate" type="application/rss+xml" title="Firedmind - Your Free Blog &raquo; what are the best social bookmarking sites for use with SEO for a technology company? Comments Feed" href="http://www.firedmind.com/what-are-the-best-social-bookmarking-sites-for-use-with-seo-for-a-technology-company/feed/" />
                    
9<link rel="alternate" type="application/rss+xml" title="Firedmind - Your Free Blog &raquo; what are the best social bookmarking sites for use with SEO for a technology company? Comments Feed" href="http://www.firedmind.com/what-are-the-best-social-bookmarking-sites-for-use-with-seo-for-a-technology-company/feed/" />
                    
10<link rel='index' title='Firedmind &#8211; Your Free Blog' href='http://www.firedmind.com/' />
                    
11<link rel='start' title='blogging?' href='http://www.firedmind.com/blogging/' />
                    
11<link rel='start' title='blogging?' href='http://www.firedmind.com/blogging/' />
                    
12<link rel='prev' title='How can I earn money by joining bloggers groups, or by simply blogging ?' href='http://www.firedmind.com/how-can-i-earn-money-by-joining-bloggers-groups-or-by-simply-blogging/' />
                    
13<link rel='next' title='Has anyboby got some general blogging tips for me? Is it really possible to make money blogging online?' href='http://www.firedmind.com/has-anyboby-got-some-general-blogging-tips-for-me-is-it-really-possible-to-make-money-blogging-online/' />
                    
14<link rel='canonical' href='http://www.firedmind.com/what-are-the-best-social-bookmarking-sites-for-use-with-seo-for-a-technology-company/' />
                    
15<link rel='shortlink' href='http://www.firedmind.com/?p=487' />
                    
16
                    
                
wsus_sync.php https://gitlab.com/Maskerade/patchdashboard | PHP | 245 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * PHP version 5
                    
5 *
                    
14 * @version     CVS: $Id:$
                    
15 * @link        http://www.freenac.net
                    
16 *
                    
                
Form.php https://gitlab.com/ealexis.t/trends | PHP | 475 lines
                    
1<?php
                    
2
                    
21 */
                    
22class Form extends Link implements \ArrayAccess
                    
23{
                    
43     * @param string      $currentUri The URI of the page where the form is embedded
                    
44     * @param string      $method     The method to use for the link (if null, it defaults to the method defined by the form)
                    
45     * @param string      $baseHref   The URI of the <base> used for relative links, but not for empty action
                    
132    /**
                    
133     * Gets the field values as PHP.
                    
134     *
                    
135     * This method converts fields with the array notation
                    
136     * (like foo[bar] to arrays) like PHP does.
                    
137     *
                    
139     */
                    
140    public function getPhpValues()
                    
141    {
                    
                
product-list.tpl https://gitlab.com/staging06/myproject | Smarty Template | 222 lines
                    
53						<a class="product_img_link" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url">
                    
54							<img class="replace-2x img-responsive" src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html':'UTF-8'}" alt="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" title="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if} itemprop="image" />
                    
55						</a>
                    
57							<div class="quick-view-wrapper-mobile">
                    
58							<a class="quick-view-mobile" href="{$product.link|escape:'html':'UTF-8'}" rel="{$product.link|escape:'html':'UTF-8'}">
                    
59								<i class="icon-eye-open"></i>
                    
61						</div>
                    
62						<a class="quick-view" href="{$product.link|escape:'html':'UTF-8'}" rel="{$product.link|escape:'html':'UTF-8'}">
                    
63							<span>{l s='Quick view'}</span>
                    
85											{if ($product.allow_oosp || $product.quantity > 0)}
                    
86													<link itemprop="availability" href="https://schema.org/InStock" />{if $product.quantity <= 0}{if $product.allow_oosp}{if isset($product.available_later) && $product.available_later}{$product.available_later}{else}{l s='In Stock'}{/if}{/if}{else}{if isset($product.available_now) && $product.available_now}{$product.available_now}{else}{l s='In Stock'}{/if}{/if}
                    
87											{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}
                    
156								{capture}add=1&amp;id_product={$product.id_product|intval}{if isset($product.id_product_attribute) && $product.id_product_attribute}&amp;ipa={$product.id_product_attribute|intval}{/if}{if isset($static_token)}&amp;token={$static_token}{/if}{/capture}
                    
157								<a class="button ajax_add_to_cart_button btn btn-default" href="{$link->getPageLink('cart', true, NULL, $smarty.capture.default, false)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Add to cart'}" data-id-product-attribute="{$product.id_product_attribute|intval}" data-id-product="{$product.id_product|intval}" data-minimal_quantity="{if isset($product.product_attribute_minimal_quantity) && $product.product_attribute_minimal_quantity >= 1}{$product.product_attribute_minimal_quantity|intval}{else}{$product.minimal_quantity|intval}{/if}">
                    
158									<span>{l s='Add to cart'}</span>
                    
                
edit.php https://gitlab.com/Gashler/dp | PHP | 300 lines
                    
1<?php
                    
2/**
                    
9/** WordPress Administration Bootstrap */
                    
10require_once( './admin.php' );
                    
11
                    
29	if ( ! empty( $_REQUEST[ $_redirect ] ) ) {
                    
30		wp_redirect( admin_url( 'edit-comments.php?p=' . absint( $_REQUEST[ $_redirect ] ) ) );
                    
31		exit;
                    
36if ( 'post' != $post_type ) {
                    
37	$parent_file = "edit.php?post_type=$post_type";
                    
38	$submenu_file = "edit.php?post_type=$post_type";
                    
38	$submenu_file = "edit.php?post_type=$post_type";
                    
39	$post_new_file = "post-new.php?post_type=$post_type";
                    
40} else {
                    
40} else {
                    
41	$parent_file = 'edit.php';
                    
42	$submenu_file = 'edit.php';
                    
                
user-deletions.inc.php https://gitlab.com/Gashler/dp | PHP | 225 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*
                    
54							{
                    
55								if (($s2says || (is_blog_admin () && $pagenow === "users.php")) && ($processed[$user_id] = true))
                    
56									// Do NOT react on this globally. There are many routines that remove Users for different/minor reasons.
                    
                
ContentTranslationWorkflowsTest.php https://gitlab.com/geeta7/drupal | PHP | 258 lines
                    
1<?php
                    
2
                    
134        if ($op != $current_op) {
                    
135          $this->assertNoLink($label, format_string('No %op link found.', array('%op' => $label)));
                    
136        }
                    
137        else {
                    
138          $this->assertLink($label, 0, format_string('%op link found.', array('%op' => $label)));
                    
139        }
                    
179    if ($expected_status['add_translation'] == 200) {
                    
180      $this->clickLink('Add');
                    
181      $this->assertUrl($add_translation_url->toString(), [], 'The translation overview points to the translation form when creating translations.');
                    
201      if ($editor) {
                    
202        $this->clickLink('Edit', 2);
                    
203        // An editor should be pointed to the entity form in multilingual mode.
                    
208      else {
                    
209        $this->clickLink('Edit');
                    
210        // While a translator should be pointed to the translation form.
                    
                
collection.php https://gitlab.com/ashish21590/rigalio.com | PHP | 246 lines
                    
43      <img src="<?php echo base_url(); ?>content/images/icons/user.png" class="img-responsive">
                    
44      <?php } else{ ?> <span class="profile-img1" style="background: url(<?php echo base_url(); ?><?php echo $user_detail[0]['profile_picture']; ?>);"> </span>
                    
45        
                    
72                     
                    
73                     <h3><span> <img class="img-responsive" src="<?php echo base_url(); ?>content/images/aboutus/big-motive-left.png"> </span>Collections <span><img class="img-responsive" src="<?php echo base_url(); ?>content/images/aboutus/big-motive-right.png"> </span> </h3>
                    
74                    </div> <!--/collection-tagline -->
                    
94                                   <a href="javascript:void(0)" class="lock">
                    
95                                   <i class="fa fa-lock" <?php if($collection_show['status']==0){?> style="display: block;" <?php } else { ?> style="display: none;"<?php } ?> ></i>
                    
96
                    
96
                    
97                                   <i class="fa fa-unlock-alt"  <?php if($collection_show['status']==0){?> style="display: none;" <?php } else { ?> style="display: block;"<?php } ?>>
                    
98                                   </i></a> 
                    
101                                   <div class="tab-cell">
                    
102                                     <span class="cat-name"><a href="<?php echo base_url(); ?>ajax/mycollection/<?php echo $userregistrationid=$this->session->userdata('registrationid'); ?>/<?php echo $collection_show['subCategoryId']; ?>"><?php echo $collection_show['subCategory_Name']; ?></a> </span>
                    
103                                     <p><?php  echo $collection_show['no'];?> products </p>
                    
                
class.jetpack-xmlrpc-server.php https://gitlab.com/ibnukipa/cakra | PHP | 429 lines
                    
1<?php
                    
2
                    
35				'jetpack.disconnectBlog'    => array( $this, 'disconnect_blog' ),
                    
36				'jetpack.unlinkUser'        => array( $this, 'unlink_user' ),
                    
37			) );
                    
237	/**
                    
238	 * Unlink a user from WordPress.com
                    
239	 *
                    
241	 */
                    
242	function unlink_user() {
                    
243		Jetpack::log( 'unlink' );
                    
243		Jetpack::log( 'unlink' );
                    
244		return Jetpack::unlink_user();
                    
245	}
                    
404		// needed?
                    
405		require_once ABSPATH . 'wp-admin/includes/admin.php';
                    
406
                    
                
 

Source

Language