100+ results results for 'php link repo:space87/wordpressstart' (2130 ms)
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 */SqlBase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 415 lines
1<?php 2 133 '#tree' => TRUE, 134 '#title' => $this->t('Pager link labels'), 135 '#input' => TRUE, 139 '#type' => 'textfield', 140 '#title' => $this->t('Previous page link text'), 141 '#default_value' => $this->options['tags']['previous'], 145 '#type' => 'textfield', 146 '#title' => $this->t('Next page link text'), 147 '#default_value' => $this->options['tags']['next'], 402 public function getCacheContexts() { 403 // The rendered link needs to play well with any other query parameter used 404 // on the page, like other pagers and exposed filter.Country.php https://gitlab.com/jslee1/PrestaShop | PHP | 417 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 22 * @copyright 2007-2015 PrestaShop SA 23 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24 * International Registered Trademark & Property of PrestaShop SA 98 'fields' => array( 99 'id_zone' => array('xlink_resource'=> 'zones'), 100 'id_currency' => array('xlink_resource'=> 'currencies'),Batch.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 514 lines
1<?php 2 162 public static function getReferenceColumns() { 163 if (!isset(Civi::$statics[__CLASS__]['links'])) { 164 Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); 164 Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); 165 Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); 166 Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'modified_id', 'civicrm_contact', 'id'); 167 Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'saved_search_id', 'civicrm_saved_search', 'id'); 168 CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); 169 } 169 } 170 return Civi::$statics[__CLASS__]['links']; 171 }about.html https://gitlab.com/adrian.io/ide | HTML | 275 lines
16 Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available 17 at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>. 18 For purposes of the EPL, "Program" will mean the Content.</p> 124 of this License, Derivative Works shall not include works that remain 125 separable from, or merely link (or bind by name) to the interfaces of, 126 the Work and Derivative Works thereof.core.php https://bitbucket.org/daveschwan/ronin-group.git | PHP | 385 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP(tm) Project 16 * @package app.Config 99 * will not work without URL rewriting! 100 * To work around this issue you should either symlink or copy 101 * the plugin assets into you app's webroot directory. This is 205 * 206 * - 'php' - Uses settings defined in your php.ini. 207 * - 'cake' - Saves session files in CakePHP's /tmp directory. 254 * 255 * To use, prefix your JavaScript link URLs with '/cjs/' instead of '/js/' or use JsHelper::link(). 256 */rewrite.php https://bitbucket.org/zachisit/zachis.it-m.git | PHP | 425 lines
87 //TODO: Watch out for ticket http://trac.wordpress.org/ticket/6627 88 if ($wp_rewrite->using_permalinks() && $this->options['usePermalinks'] ) { 89 $post = &get_post(get_the_ID()); 161 /** 162 * The permalinks needs to be flushed after activation 163 */ 250 // create the meta link 251 $meta = "\n<link rel='canonical' href='" . get_permalink() ."' />"; 252 // add a filter for SEO plugins, so they can remove it 282 $rewrite_rules = array(); 283 $permalink_structure = $wp_rewrite->permalink_structure; 284 285 //get everything up to the first rewrite tag 286 $front = substr($permalink_structure, 0, strpos($permalink_structure, '%')); 287 //build an array of the tags (note that said array ends up being in $tokens[0])lang.php https://gitlab.com/michield/dokuwiki | PHP | 188 lines
31$lang['_editing'] = 'Szerkesztési beállítások'; 32$lang['_links'] = 'Link beállítások'; 33$lang['_media'] = 'Media beállítások'; 56$lang['htmlok'] = 'Beágyazott HTML engedélyezése'; 57$lang['phpok'] = 'Beágyazott PHP engedélyezése'; 58$lang['dformat'] = 'Dátum formázás (lásd a PHP <a href="http://www.php.net/strftime">strftime</a> függvényt)'; 117$lang['sitemap'] = 'Hány naponként generáljunk Google sitemap-ot?'; 118$lang['broken_iua'] = 'Az ignore_user_abort függvény hibát dob a rendszereden? Ez nem működő keresési indexet eredményezhet. Az IIS+PHP/CGI összeállításról tudjuk, hogy hibát dob. Lásd a <a href="http://bugs.splitbrain.org/?do=details&task_id=852">Bug 852</a> oldalt a további infóért.'; 119$lang['xsendfile'] = 'Használjuk az X-Sendfile fejlécet, hogy a webszerver statikus állományokat tudjon küldeni? A webszervernek is támogatnia kell ezt a funkciót.'; 124$lang['rss_type'] = 'XML hírfolyam típus'; 125$lang['rss_linkto'] = 'XML hírfolyam hivatkozás'; 126$lang['rss_content'] = 'Mit mutassunk az XML hírfolyam elemekben?'; 182$lang['showuseras_o_email'] = 'E-mail cím (olvashatatlanná téve az e-mailcím védelem beállítása szerint)'; 183$lang['showuseras_o_email_link'] = 'E-mail cím mailto: linkként'; 184$lang['useheading_o_0'] = 'Soha';twitter-timeline.php https://gitlab.com/vanafroo/landingpage | PHP | 470 lines
336 <?php esc_html_e( 'Widget Type:', 'jetpack' ); ?> 337 <?php echo $this->get_docs_link( '#widget-type' ); ?> 338 </label> 367 <?php esc_html_e( 'Twitter Username:', 'jetpack' ); ?> 368 <?php echo $this->get_docs_link( '#twitter-username' ); ?> 369 </label> 426 <label for="<?php echo $this->get_field_id( 'link-color' ); ?>"> 427 <?php _e( 'Link Color (hex):', 'jetpack' ); ?> 428 </label> 431 id="<?php echo $this->get_field_id( 'link-color' ); ?>" 432 name="<?php echo $this->get_field_name( 'link-color' ); ?>" 433 type="text" 433 type="text" 434 value="<?php echo esc_attr( $instance['link-color'] ); ?>" 435 />index.php https://gitlab.com/Nilufarjahan/LabExam8 | PHP | 455 lines
69 <link href="../../../resource/bootstrap/css/styles.css" rel="stylesheet"> 70 <link rel="stylesheet" href="../../../resource/bootstrap/css/font-icons/entypo/css/entypo.css"> 71 <link rel="stylesheet" href="../../../resource/bootstrap/css/font-icons/font-awesome/css/font-awesome.min.css"> 135 <li> 136 <a href="../Birthday/create.php"> 137 <span class="title">Add New</span> 243 <li> 244 <a href="../SummaryOfOrganization/create.php"> 245 <span class="title">Add New</span> 328 <td><?php echo $oneData->birthday?></td> 329 <?php echo "<td> <a href=\"edits.php?id=$oneData->id\"class=\"btn btn-info\" role=\"button\">Edit</a> ";?> 330 <?php echo " <a href=\"delete.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Delete</a> ";?> 331 332 <?php echo " <a href=\"trash.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Trash</a> </td> ";?> 333 </tr>edit.php https://github.com/eric-brechemier/wordpress.git | PHP | 294 lines
163<?php screen_icon(); ?> 164<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php 165if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) 170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?> 171<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div> 172<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']); 238 $class = ' class="current"'; 239 $status_links[] = "<li><a href='edit.php?post_type=$post_type&author=$current_user->ID'$class>" . sprintf( _nx( 'Mine <span class="count">(%s)</span>', 'Mine <span class="count">(%s)</span>', $user_posts_count, 'posts' ), number_format_i18n( $user_posts_count ) ) . '</a>'; 240 $allposts = '&all_posts=1'; 249$class = empty($class) && empty($_REQUEST['post_status']) ? ' class="current"' : ''; 250$status_links[] = "<li><a href='edit.php?post_type=$post_type{$allposts}'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_posts, 'posts' ), number_format_i18n( $total_posts ) ) . '</a>'; 251 265 266 $status_links[] = "<li><a href='edit.php?post_status=$status_name&post_type=$post_type'$class>" . sprintf( _n( $status->label_count[0], $status->label_count[1], $num_posts->$status_name ), number_format_i18n( $num_posts->$status_name ) ) . '</a>'; 267}TextArea.php https://gitlab.com/ElvisAns/tiki | PHP | 377 lines
1<?php 2 113 $wikilib->update_wikicontent_relations($value, 'trackeritemfield', sprintf("%d:%d", $itemId, $fieldId)); 114 $wikilib->update_wikicontent_links($value, 'trackeritemfield', sprintf("%d:%d", $itemId, $fieldId)); 115 }class-wp-terms-list-table.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 454 lines
127 if ( 'link_category' == $this->screen->taxonomy ) { 128 $columns['links'] = __( 'Links' ); 129 } else { 288 $qe_data = get_term( $tag->term_id, $taxonomy, OBJECT, 'edit' ); 289 $edit_link = esc_url( get_edit_term_link( $tag->term_id, $taxonomy, $this->screen->post_type ) ); 290 290 291 $out = '<strong><a class="row-title" href="' . $edit_link . '" title="' . esc_attr( sprintf( __( 'Edit “%s”' ), $name ) ) . '">' . $name . '</a></strong><br />'; 292 368 369 return "<a href='" . esc_url ( add_query_arg( $args, 'edit.php' ) ) . "'>$count</a>"; 370 } 374 if ( $count ) 375 $count = "<a href='link-manager.php?cat_id=$tag->term_id'>$count</a>"; 376 return $count;index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
13 * PHP Debug 14 * @link http://phpdebug.sourceforge.net/ 15 */ 25$debug_page = false; 26include_once('debug/header.php'); 27 46 47<html><!-- InstanceBegin template="/Templates/vnmain.dwt.php" codeOutsideHTMLIsLocked="false" --> 48 <head> 177 ?> 178 <div align="right" class="FieldNumberDisabled"><strong><?= $language['label']['welcome']; ?> <a href="../../Administration/user_information.php" class="FieldNumberDisabled" <?php help('', 'Edit your user information', 'default'); ?>><?= ucwords(strtolower($_SESSION['fullname'])); ?></a></strong> <a href="../../logout.php" class="FieldNumberDisabled" <?php help('', 'Selecting [logout] will Log you out of the '.$default[title1].' and stop automatic cookie login', 'default'); ?>>[logout]</a> </div> 179 <?php 310 <tr> 311 <td width="50%" nowrap><!-- InstanceBeginEditable name="copyright" --><?php include('../include/copyright.php'); ?><!-- InstanceBeginEditable --></td> 312 <td width="50%"><div id="noPrint" align="right"><!-- InstanceBeginEditable name="version" --><!-- InstanceEndEditable --></div></td>string.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 300 lines
50 51 $data = "cakephp 'great framework' php"; 52 $result = String::tokenize($data, ' ', "'", "'"); 53 // result contains 54 array('cakephp', "'great framework'", 'php'); 55 63 64.. php:staticmethod:: cleanInsert($string, $options = array()) 65 103 104.. php:method:: highlight(string $haystack, string $needle, array $options = array() ) 105 141 142.. php:method:: stripLinks($text) 143class-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. 375InstallSchema.php https://gitlab.com/AlexandrSy/magento.xxx | 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(Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
40 /** 41 * The action links that we need to display for the browse screen 42 * 45 */ 46 static $_links = null; 47 49 /** 50 * This method returns the links that are given for honor search row. 51 * currently the links added for each row are 59 */ 60 static function &honorLinks() 61 { 121 foreach( $params as $ids => $honorId ) { 122 $params[$ids]['action'] = CRM_Core_Action::formLink(self::honorLinks( ), $action, 123 array('cid' => $honorId['honorId'],filterlib.php https://github.com/nadavkav/Moodle-RTL--Shenkar-Translation-Team-.git | PHP | 365 lines
1<?php // $Id: filterlib.php,v 1.24.10.4 2009/02/18 11:02:11 stronk7 Exp $ 2 // Contains special functions that are particularly useful to filters 67/// eg '<script(.+?)>' to match any type of script tag 68 $filterignoretagsopen = array('<head>' , '<nolink>' , '<span class="nolink">'); 69 $filterignoretagsclose = array('</head>', '</nolink>', '</span>'); 146 /// be cleared up before returning to the user. 147 $linkobject->work_phrase = preg_replace('/([#*%])/','\1\1',$linkobject->work_phrase); 148 151 /// Strip tags 152 $linkobject->work_replacementphrase = strip_tags($linkobject->replacementphrase); 153 } else { //The replacement is the original phrase as matched below 157 /// Quote any regular expression characters and the delimiter in the work phrase to be searched 158 $linkobject->work_phrase = preg_quote($linkobject->work_phrase, '/'); 159 178 $notfullmatches = array(); 179 $regexp = '/'.$filterinvalidprefixes.'('.$linkobject->work_phrase.')|('.$linkobject->work_phrase.')'.$filterinvalidsuffixes.'/'.$modifiers; 180paypal-return-in-web-accept-sp.inc.php https://gitlab.com/Gashler/sg | PHP | 148 lines
1<?php 2/** 5 * Copyright: © 2009-2011 6 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} 7 * (coded in the USA) 11 * along with this software. In the main directory, see: /licensing/ 12 * If not, see: {@link http://www.gnu.org/licenses/}. 13 * 35 * 36 * @param array $vars Required. An array of defined variables passed by {@link s2Member\PayPal\c_ws_plugin__s2member_paypal_return_in::paypal_return()}. 37 * 67 68 if(($sp_access_url = c_ws_plugin__s2member_sp_access::sp_access_link_gen($paypal['sp_ids'], $paypal['hours'], FALSE))) 69 { 119 { 120 $paypal['s2member_log'][] = 'Unable to generate Specific Post/Page Access Link. Does your Leading Post/Page still exist?'; 121about.php https://gitlab.com/Gashler/sg | PHP | 208 lines
87 'heading' => __( 'Template Hierarchy' ), 88 /* Translators: 1: singular.php; 2: single.php; 3:page.php */ 89 'description' => sprintf( __( 'Added %1$s as a fallback for %2$s and %3$s' ), '<code>singular.php</code>', '<code>single.php</code>', '<code>page.php</code>.' ), 104 <h2 class="nav-tab-wrapper"> 105 <a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What’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 → Updates' ); ?> 175 <?php endif; ?> 176 <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard → Home' ) : _e( 'Go to Dashboard' ); ?></a> 177 </div>ListenerOptions.php https://gitlab.com/yousafsyed/easternglamor | PHP | 396 lines
1<?php 2/** 4 * 5 * @link http://github.com/zendframework/zf2 for the canonical source repository 6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 269 if ($this->getConfigCacheKey()) { 270 return $this->getCacheDir() . '/module-config-cache.' . $this->getConfigCacheKey().'.php'; 271 } 272 273 return $this->getCacheDir() . '/module-config-cache.php'; 274 } 353 if ($this->getModuleMapCacheKey()) { 354 return $this->getCacheDir() . '/module-classmap-cache.' . $this->getModuleMapCacheKey() . '.php'; 355 } 356 357 return $this->getCacheDir() . '/module-classmap-cache.php'; 358 }ibase_driver.php https://gitlab.com/joshuacurci/swim-crm | PHP | 396 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 33 * @license http://opensource.org/licenses/MIT MIT License 34 * @link https://codeigniter.com 35 * @since Version 3.0.0 50 * @author EllisLab Dev Team 51 * @link https://codeigniter.com/user_guide/database/ 52 */Clients.php https://gitlab.com/my-application.bjoernbartels.earth/module-admin | PHP | 322 lines
1<?php 2/** 10 * @author Björn Bartels <coding@bjoernbartels.earth> 11 * @link https://gitlab.bjoernbartels.earth/groups/zf2 12 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0shortcodes.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 334 lines
1<?php 2/** 27 * 28 * @link http://codex.wordpress.org/Shortcode_API 29 *utils.php https://gitlab.com/elasa/shop2.elasa.ir | PHP | 313 lines
1<?php 2 6 if (!file_exists($dir)) return true; 7 if (!is_dir($dir)) return unlink($dir); 8 foreach (scandir($dir) as $item) { 44 if(image_check_memory_usage($imgfile,$newwidth,$newheight)){ 45 require_once('php_image_magician.php'); 46 $magicianObj = new imageLib($imgfile); 55 if(image_check_memory_usage($imgfile,$newwidth,$newheight)){ 56 require_once('php_image_magician.php'); 57 $magicianObj = new imageLib($imgfile); 111 if(!in_array(mb_strtolower($fileinfo['extension']),$ext)) 112 unlink($path); 113 else 114 if(!in_array(Tools::strtolower($fileinfo['extension']),$ext)) 115 unlink($path); 116 }else{Configuration.php https://gitlab.com/freebird/WebApp | PHP | 226 lines
1<?php 2 20 * 21 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class} 22 */SimpleHeaderSet.php https://gitlab.com/dsasmita/talita-shop | PHP | 387 lines
1<?php 2 150 * 151 * The header may be a previously fetched header via {@link get()} or it may 152 * be one that has been created separately.LeadImportFieldType.php https://gitlab.com/mautic-master/mautic | PHP | 290 lines
1<?php 2/** 5 * @author Mautic 6 * @link http://mautic.org 7 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.htmlCakeValidationSetTest.php https://gitlab.com/manuperazafa/elsartenbackend | 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 Licensevoucher.php https://bitbucket.org/elena_dyavolova/omf.git | PHP | 263 lines
1<?php 2class ControllerAccountVoucher extends Controller { 25 26 $this->redirect($this->url->link('account/voucher/success')); 27 } 32 'text' => $this->language->get('text_home'), 33 'href' => $this->url->link('common/home'), 34 'separator' => false 38 'text' => $this->language->get('text_account'), 39 'href' => $this->url->link('account/account', '', 'SSL'), 40 'separator' => $this->language->get('text_separator') 44 'text' => $this->language->get('text_voucher'), 45 'href' => $this->url->link('account/voucher', '', 'SSL'), 46 'separator' => $this->language->get('text_separator') 105 106 $this->data['action'] = $this->url->link('account/voucher', '', 'SSL'); 107tlAttachment.class.php https://github.com/viglesiasce/testlink.git | PHP | 342 lines
1<?php 2/** 2/** 3 * TestLink Open Source Project - http://testlink.sourceforge.net/ 4 * This script is distributed under the GNU General Public License 2 or later. 5 * 6 * @package TestLink 7 * @author Francisco Mancardi 7 * @author Francisco Mancardi 8 * @copyright 2007-2009, TestLink community 9 * @version CVS: $Id: tlAttachment.class.php,v 1.2 2009/12/28 08:53:37 franciscom Exp $ 9 * @version CVS: $Id: tlAttachment.class.php,v 1.2 2009/12/28 08:53:37 franciscom Exp $ 10 * @link http://www.teamst.org/index.php 11 * 13/** parenthal class */ 14require_once( 'object.class.php' ); 15exec.inc.php https://github.com/viglesiasce/testlink.git | PHP | 298 lines
1<?php 2/** 2/** 3 * TestLink Open Source Project - http://testlink.sourceforge.net/ 4 * This script is distributed under the GNU General Public License 2 or later. 8 * 9 * @package TestLink 10 * @author Martin Havlat 10 * @author Martin Havlat 11 * @copyright 2005-2009, TestLink community 12 * @version CVS: $Id: exec.inc.php,v 1.60 2010/06/24 17:25:53 asimon83 Exp $ 12 * @version CVS: $Id: exec.inc.php,v 1.60 2010/06/24 17:25:53 asimon83 Exp $ 13 * @link http://www.teamst.org/index.php 14 * 217 { 218 $bug_list[$elem['bug_id']]['link_to_bts'] = $bug_interface->buildViewBugLink($elem['bug_id'],GET_BUG_SUMMARY); 219 $bug_list[$elem['bug_id']]['build_name'] = $elem['build_name'];activate-admin.php https://gitlab.com/relacilia/cakra | PHP | 95 lines
1<?php 2 39 <div class="manage__icon"> 40 <svg width="149px" height="152px" viewBox="0 0 149 152" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> 41 <defs> 52 <mask id="mask-2" sketch:name="Clip 4" fill="white"> 53 <use xlink:href="#path-1"></use> 54 </mask> 58 <mask id="mask-4" sketch:name="Clip 8" fill="white"> 59 <use xlink:href="#path-3"></use> 60 </mask> 64 <mask id="mask-6" sketch:name="Clip 13" fill="white"> 65 <use xlink:href="#path-5"></use> 66 </mask> 69 <mask id="mask-8" sketch:name="Clip 16" fill="white"> 70 <use xlink:href="#path-7"></use> 71 </mask>EntityTypeBundleInfoTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 314 lines
1<?php 2 117 foreach ($definitions as $key => $entity_type) { 118 // \Drupal\Core\Entity\EntityTypeInterface::getLinkTemplates() is called 119 // by \Drupal\Core\Entity\EntitTypeManager::processDefinition() so it must 120 // always be mocked. 121 $entity_type->getLinkTemplates()->willReturn([]); 122ManageGitIgnoreTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 256 lines
234 - Copy [web-root]/.gitattributes from assets/.gitattributes 235 - Copy [web-root]/.ht.router.php from assets/.ht.router.php 236 - Skip [web-root]/.htaccess: overridden in fixtures/drupal-composer-drupal-project 238 - Skip [web-root]/sites/default/default.settings.php: overridden in fixtures/scaffold-override-fixture 239 - Copy [web-root]/sites/example.settings.local.php from assets/example.settings.local.php 240 - Copy [web-root]/sites/example.sites.php from assets/example.sites.php 240 - Copy [web-root]/sites/example.sites.php from assets/example.sites.php 241 - Copy [web-root]/index.php from assets/index.php 242 - Skip [web-root]/robots.txt: overridden in fixtures/drupal-composer-drupal-project 242 - Skip [web-root]/robots.txt: overridden in fixtures/drupal-composer-drupal-project 243 - Copy [web-root]/update.php from assets/update.php 244 - Copy [web-root]/web.config from assets/web.config 245Scaffolding files for fixtures/scaffold-override-fixture: 246 - Copy [web-root]/sites/default/default.settings.php from assets/override-settings.php 247Scaffolding files for fixtures/drupal-composer-drupal-project:menus-sync.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 272 lines
63 <tr> 64 <th scope="row" class="check-column"><input type="checkbox" name="sync[menu_translation][<?php echo $menu_id ?>][<?php echo $language ?>]" value="<?php echo esc_attr( $name ) ?>"/></th> 65 <td><?php echo $lang_details[ 'display_name' ]; ?></td> 154 ?> 155 <input type="text" name="sync[menu_translations][<?php echo $menu_id ?>][<?php echo $l[ 'code' ] ?>]" class="icl_msync_add" value="<?php 156 echo esc_attr( $menu[ 'name' ] ) . ' - ' . $l[ 'display_name' ] ?>"/> 163 ?> 164 <input type="hidden" name="sync[menu_options][<?php echo $menu_id ?>][<?php echo $l[ 'code' ] ?>][auto_add]" value="<?php echo esc_attr( $menu[ 'translations' ][ $l[ 'code' ] ][ 'auto_add' ] ); ?>"/> 165 <?php 184 ?> 185 <input id="icl_msync_sync" type="submit" class="button-primary" value="<?php _e( 'Sync', 'sitepress' ); ?>"<?php if ( !$need_sync ): ?> disabled="disabled"<?php endif; ?> /> 186 195 ?> 196 <input id="icl_msync_sync" type="submit" class="button-primary" value="<?php _e( 'Nothing Sync', 'sitepress' ); ?>"<?php if ( !$need_sync ): ?> disabled="disabled"<?php endif; ?> /> 197 <?phpPluginInfo.php https://gitlab.com/fabiorf/chat | PHP | 383 lines
1<?php 2/* 145 * Notice that in can differs from 146 * {@link \Mibew\Plugin\PluginInfo::getVersion()} results if the plugin's 147 * files are updated without database changes. 159 * @return array Dependencies list. See 160 * {@link \Mibew\Plugin\PluginInterface::getDependencies()} for details of 161 * the array structure. 171 * @return array Requirements list. See 172 * {@link \Mibew\Plugin\PluginInterface::getSystemRequirements()} for 173 * details of the array structure.theme-support.php https://gitlab.com/ravenseyedesign/ravensegg | PHP | 367 lines
1<?php 2/** 32 33 // Add default posts and comments RSS feed links to head. 34 add_theme_support( 'automatic-feed-links' ); 45 * 46 * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ 47 */ 102 * 103 * @link https://codex.wordpress.org/Theme_Logo 104 */ 114// 'flex-height' => true, 115// 'unlink-homepage-logo' => true, 116// ) 124// array( 125// 'link', 126// 'aside',wp-settings.php https://gitlab.com/gregtyka/wordpress-heroku | 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 errorsPyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
12__author__ = "Jens Diemer (www.jensdiemer.de)" 13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php" 14__url__ = "http://www.jensdiemer.de/Programmieren/Python/PyDown" 23v0.5.1 24 - Bugfix in path.py (wrong Links in newestFiles) 25v0.5 344 """ 345 relative TAB-Links absolut machen 346 """ 346 """ 347 for link in self.naviTABs: 348 link["url"] = posixpath.join( 348 link["url"] = posixpath.join( 349 self.request.environ["SCRIPT_ROOT"], link["url"] 350 )str.php https://bitbucket.org/codeyash/bootstrap.git | PHP | 416 lines
1<?php 2/** 9 * @copyright 2010 - 2013 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 17 * 18 * PHP needs to be compiled with --enable-mbstring 19 * or a fallback without encoding support is usedstr.php https://bitbucket.org/sriedel/iccrm-wip.git | PHP | 416 lines
1<?php 2/** 9 * @copyright 2010 - 2012 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 17 * 18 * PHP needs to be compiled with --enable-mbstring 19 * or a fallback without encoding support is usedsale_note_a5.blade.php https://gitlab.com/laher01/factu40 | PHP | 230 lines
1@php 2 $establishment = $document->establishment; 8 9@endphp 10<html> 12 {{--<title>{{ $tittle }}</title>--}} 13 {{--<link href="{{ $path_style }}" rel="stylesheet" />--}} 14</head> 148 @if($row->discounts) 149 @php 150 $total_discount_line = 0; 153 } 154 @endphp 155 {{ number_format($total_discount_line, 2) }} 215 <strong>PAGOS:</strong> </td></tr> 216 @php 217 $payment = 0;joomleague.php https://gitlab.com/julienv/joomleague | PHP | 431 lines
1<?php 2class JoomleagueConnector extends JLCalendar{ 181 { 182 $linkit = 1; 183 $newrows[$key]['name'] = '<img src="'.JUri::root(true).'/'.$row->picture.'" alt="Picture" style="height:40px; vertical-align:middle;margin:0 5px;" />'; 193 // new insert for link to player profile 194 //$newrows[$key]['link'] = 'index.php?option=com_joomleague&view=player&p='.$row->project_id.'&pid='.$row->id; 195 $newrows[$key]['link'] = JoomleagueHelperRoute::getPlayerRoute( $row->project_id, $row->teamid, $row->id); 225 226 // insert matchdetaillinks 227 $newrows[$key]['link'] = JoomleagueHelperRoute::getNextMatchRoute( $row->project_id, $row->matchcode);display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
13 global $wpdb; 14 $fixpage = get_option('siteurl').'/wp-admin/admin.php?page=wpsc-sales-logs&subpage=upgrade-purchase-logs'; 15 ?> 24 <li> 25 <a href='?page=wpsc-debug&wpsc_debug_action=download_links'>Update Download Links</a> 26 </li> 49 <li> 50 <a href='?page=wpsc-debug&wpsc_debug_action=phpinfo'>Display phpinfo</a> 51 </li> 52 <li> 53 <a href='<?php echo $fixpage; ?>'>Fix Purchaselogs</a> 54 </li> 79 </ul> 80 <?php 81 }FAQ.htm https://gitlab.com/x33n/ProjectPier-Core | HTML | 341 lines
183<br> 184It means that script.php outputs something at line X. Go to this line and fix it. 185In case the message doesn't show, first check that you didn't disable warnings, then add this at the very 250<div class="doc-source"> 251<pre><code>require('a.php'); 252 259<div class="doc-source"> 260<pre><code>require('b.php'); 261 272<p><b>15.</b> <span class='question'>How can I send the PDF by email?</span></p> 273As any other file, but an easy way is to use <a href="http://phpmailer.codeworxtech.com">PHPMailer</a> and 274its in-memory attachment: 310<br> 311<a href="http://www.setasign.de/products/pdf-php-solutions/fpdi/" target="_blank">http://www.setasign.de/products/pdf-php-solutions/fpdi/</a><br> 312<br>haml.php https://bitbucket.org/mintao/yii-phamlp.git | PHP | 287 lines
1<?php 2/** 3 * Haml view renderer class file. 4 * Renders {@link http://haml-lang.com/ HAML} view files using 5 * {@link http://phamlp.googlecode.com PHamlP}. 5 * {@link http://phamlp.googlecode.com PHamlP}. 6 * Please see the {@link documentation http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#plain_text HAML} for the syntax. 7 * 8 * * To use the Haml view renderer: 9 * * Put {@link http://phamlp.googlecode.com PHamlP} in your vendors directory 10 * * Put this file in your views directory 13 * See below and HamlParser for a description of options 14 * * Add the following line in your app_controller.php 15 * <pre>var $view = 'Haml';</pre> 27/** 28 * Haml allows you to write view files in {@link Haml http://haml-lang.com/} and 29 * render them using {@link http://phamlp.googlecode.com PHamlP}.provider_test.php https://bitbucket.org/moodle/moodle.git | PHP | 240 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 100 101 // Verify there are two linked logins. 102 $ltiaccounts = $DB->get_records('auth_lti_linked_login'); 107 108 // Get all LTI linked accounts match with user1. 109 $ltiaccounts = $DB->get_records('auth_lti_linked_login', ['userid' => $user1->id]); 111 112 // Verify there is now only one linked login. 113 $ltiaccounts = $DB->get_records('auth_lti_linked_login'); 132 133 // Verify there are two linked logins. 134 $ltiaccounts = $DB->get_records('auth_lti_linked_login'); 140 141 // Get all LTI accounts linked with user1. 142 $ltiaccounts = $DB->get_records('auth_lti_linked_login', ['userid' => $user1->id]);blocklayered.tpl https://gitlab.com/ptisky/API_prestashop | Smarty Template | 257 lines
8* It is also available through the world-wide-web at this URL: 9* http://opensource.org/licenses/afl-3.0.php 10* If you did not receive a copy of the license and are unable to 21* @copyright 2007-2013 PrestaShop SA 22* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 23* International Registred Trademark & Property of PrestaShop SA 105 {else} 106 <a href="{$value.link}" rel="{$value.rel}">{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a> 107 {/if} 126 {else} 127 <a href="{$value.link}" rel="{$value.rel}">{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a> 128 {/if}Observer.php https://github.com/gryzz/crystal_magento.git | PHP | 282 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 87 88 /* @var $collection Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Link_Product_Collection */ 89 $collection = $observer->getEvent()->getCollection();Generator.php https://gitlab.com/edot92/jpagithub | PHP | 283 lines
1<?php 2/** 6 * @copyright 2014 Barry vd. Heuvel / Fruitcake Studio (http://www.fruitcakestudio.nl) 7 * @license http://www.opensource.org/licenses/mit-license.php MIT 8 * @link https://github.com/barryvdh/laravel-ide-helper 63 * 64 * @param string $format The format to generate the helper in (php/json) 65 * @return string; 66 */ 67 public function generate($format = 'php') 68 { 74 75 return $this->generatePhpHelper(); 76 } 77 78 public function generatePhpHelper() 79 {user__agents_8php.html https://github.com/kobkob/ta.git | HTML | 156 lines
79 <span class="stringliteral">'Lynx'</span> => <span class="stringliteral">'Lynx'</span>, 80 <span class="stringliteral">'Links'</span> => <span class="stringliteral">'Links'</span>, 81 <span class="stringliteral">'hotjava'</span> => <span class="stringliteral">'HotJava'</span>, 85</pre></div> 86<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00050">50</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p> 87 102 103<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00073">73</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p> 104 119 120<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00013">13</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p> 121 146</pre></div> 147<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00163">163</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p> 148index.html https://gitlab.com/vschmidt94/CS494-HowTo-Leaflet-map | HTML | 236 lines
4course: CS494-400 Fall 2014 5Assignment: Week 5 - Intro to PHP 6--> 9<title>schmicar HowTo</title> 10<link rel="stylesheet" href="css/style.css"> 11<link rel="stylesheet" href="css/bootstrap.css"> 11<link rel="stylesheet" href="css/bootstrap.css"> 12<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> 13<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> 88 <p> 89 Once the AJAX URL request format & JSON response has been discovered (example: <a href="http://oregonstate.edu/campusmap/map/element?locations=814">http://oregonstate.edu/campusmap/map/element?locations=814</a>), it is straightforward to build a little PHP script to iterate through successive calls to the URL, parse the returned JSON and then recombine just the portions I am interested in. 90 </p> 219 <li><strong>Chrome Dev Tools</strong> - used to uncover the AJAX calls and JSON responses the official campus map web page is using.</li> 220 <li><strong>PHP Script</strong> - quick and dirty PHP script to replicate the AJAX calls discovered above. Scans the range of location id's and produces a dataset useable elsewhere.</li> 221 <li><strong><a href="http://leafletjs.com/">leaflet.js</a></strong> - JavaScript library for easy to use mapping.</li>Matcher.php https://gitlab.com/karora/awl | PHP | 308 lines
40 * @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License 41 * @link http://github.com/sebastianbergmann/phpunit-mock-objects 42 * @since File available since Release 1.0.0 58 * @version Release: @package_version@ 59 * @link http://github.com/sebastianbergmann/phpunit-mock-objects 60 * @since Class available since Release 1.0.0 61 */ 62class PHPUnit_Framework_MockObject_Matcher implements PHPUnit_Framework_MockObject_Matcher_Invocation 63{ 89 /** 90 * @var PHPUnit_Framework_MockObject_Stub 91 */ 153 if (!$builder) { 154 throw new PHPUnit_Framework_Exception( 155 sprintf(student_profile.php https://gitlab.com/varsha_evonix/intranet | PHP | 136 lines
1<?php 2 2 3include ('header.php'); 4?> 24 </a> 25 <img class="img-responsive img-profile" src="<?php echo base_url(); ?>assets/img/profile-full.jpg" alt=""> 26 112 <ul class="list-inline"> 113 <li><a class="facebook-link" href="#"><i class="fa fa-facebook-square fa-2x"></i></a> 114 </li> 114 </li> 115 <li><a class="twitter-link" href="#"><i class="fa fa-twitter-square fa-2x"></i></a> 116 </li> 116 </li> 117 <li><a class="linkedin-link" href="#"><i class="fa fa-linkedin-square fa-2x"></i></a> 118 </li>Type0.php https://gitlab.com/devtoannh/cafe | PHP | 257 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Type0.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 24/** Internally used classes */ 25require_once 'Zend/Pdf/Element/Array.php'; 26require_once 'Zend/Pdf/Element/Name.php'; 29/** Zend_Pdf_Resource_Font */ 30require_once 'Zend/Pdf/Resource/Font.php'; 31 35 * A composite font is one whose glyphs are obtained from other fonts or from fontlike 36 * objects called CIDFonts ({@link Zend_Pdf_Resource_Font_CidFont}), organized hierarchically. 37 * In PDF, a composite font is represented by a font dictionary whose Subtype value is Type0; 55 * Font objects should be normally be obtained from the factory methods 56 * {@link Zend_Pdf_Font::fontWithName} and {@link Zend_Pdf_Font::fontWithPath}. 57 *template-bootstrap.php https://gitlab.com/danielortiz1982/spicer | PHP | 198 lines
13 14 <link rel='stylesheet' type='text/css' href='<?php echo PAGEDIR; ?>/machines/libraries/mmenu/jquery.mmenu.all.css' /> 15 <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/machines/libraries/owlcarousel/owlcarousel.css"> 15 <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/machines/libraries/owlcarousel/owlcarousel.css"> 16 <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/styles/styles.min.css"> 17 25 </head> 26 <body data-tempdir="<?php echo PAGEDIR; ?>" id="<?php echo get_post( $post )->post_name; ?>" <?=(returnMobile() == 'true')? 'class="mobileMode"' : 'class="desktopMode"';?>> 27 75 <a class="navbar-brand" href="<?php echo home_url(); ?>"> 76 <img src="<?php echo PAGEDIR; ?>/images/graphics/logo.png" alt="<?php bloginfo('name');?>" /> 77 </a> 100 'link_before' => '<span>', 101 'link_after' => '</span>', 102 'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',utilities.php https://gitlab.com/ppapadatis/Videolearn | PHP | 307 lines
1<?php 2/** 2/** 3 * @version SVN $Id: utilities.php 709 2012-10-26 09:07:01Z dhorsfall $ 4 * @package hwdMediaShare 86 * If escaping mechanism is either htmlspecialchars or htmlentities, uses 87 * {@link $_encoding} setting. 88 * 165 { 166 include_once(JPATH_ROOT.'/components/com_community/libraries/core.php'); 167 $JSUser = CFactory::getUser($user->id); 175 { 176 include_once (JPATH_ROOT.DS.'components'.DS .'com_awdwall' .DS . 'helpers' . DS . 'user.php'); 177 return AwdwallHelperUser::getBigAvatar51($user->id); 258 { 259 JLoader::register('hwdMediaShareHelperMobile', JPATH_ROOT.'/components/com_hwdmediashare/helpers/mobile.php'); 260 $mobile = hwdMediaShareHelperMobile::getInstance();view_jadwal_pelajaran.php https://gitlab.com/imadd23/sijs | PHP | 303 lines
49</style> 50<!--<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/ace/plugin/perfect-scrollbar/css/perfect-scrollbar.css');?>">--> 51<div class="row"> 53 <h3 class="row header smaller lighter blue"> 54 <span class="col-sm-6"> Jadwal Pelajaran <?php echo $semester;?></span><!-- /.col --> 55 57 <label class="pull-right inline"> 58 <?php if ($obj->has_access('jadwal_pelajaran', 'view')){ ?> 59 <a class="btn btn-xs btn-primary" target="_blank" href="<?php echo site_url('jadwal_pelajaran/export');?>"> 62 </a> 63 <?php } ?> 64 64 65 <?php if ($obj->has_access('jadwal_pelajaran', 'add')){ ?> 66 <a class="btn btn-xs btn-primary" href="<?php echo site_url('jadwal_pelajaran/edit');?>">group.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 214 lines
1<?php 2 72 $subgroupid = ""; 73 $query = "INSERT INTO " . $table_name . " (`groupid`, `parentid`, `image`, `thumbnail`, `weight`, `order`, `lev`, `viewgroup`, `numsubgroup`, `subgroupid`, `inhome`, `numlinks`, `admins`, `add_time`, `edit_time`, `del_cache_time`, `who_view`, `groups_view` " . $listfield . " ) 74 VALUES (NULL, " . $db->dbescape( $data['parentid'] ) . ",' ',' '," . $db->dbescape( $weight ) . ", '0', '0', " . $db->dbescape( $viewgroup ) . ", '0', " . $db->dbescape( $subgroupid ) . ", '1', '4'," . $db->dbescape( $admins ) . ", UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), UNIX_TIMESTAMP() + 26000000, " . $db->dbescape( $data['who_view'] ) . "," . $db->dbescape( $groups_view ) . $listvalue . " )"; 82 nv_del_moduleCache( $module_name ); 83 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" ); 84 die(); 110 111 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" ); 112 die(); 209 210include ( NV_ROOTDIR . "/includes/header.php" ); 211echo nv_admin_theme( $contents ); 211echo nv_admin_theme( $contents ); 212include ( NV_ROOTDIR . "/includes/footer.php" ); 213p2p.h https://bitbucket.org/cyanogenmod/lge-kernel-iproj.git | C Header | 564 lines
6 * under the terms of the GNU General Public License version 2 (the "GPL"), 7 * available at http://www.broadcom.com/licenses/GPLv2.php, with the 8 * following added to such license: 10 * As a special exception, the copyright holders of this software give you 11 * permission to link this software with independent modules, and to copy and 12 * distribute the resulting executable under terms of your choice, provided that 12 * distribute the resulting executable under terms of your choice, provided that 13 * you also meet, for each linked independent module, the terms and conditions of 14 * the license of that module. An independent module is a module which is notframe_reflower.cls.php https://gitlab.com/techniconline/kmc | PHP | 454 lines
1<?php 2/** 3 * @package dompdf 4 * @link http://dompdf.github.com/ 5 * @author Benj Carson <benjcarson@digitaljunkies.ca>Item.php https://gitlab.com/ricardosanchez/prueba | PHP | 398 lines
1<?php 2/** 24 * @property string $title 25 * @property string $link 26 * @property string $parent_id 47 'id' => 0, 48 'type' => 'link', 49 'path' => null, 51 'title' => null, 52 'link' => null, 53 'parent_id' => null, 67 'level' => 0, 68 'link_title' => '', 69 'anchor_class' => '' 87 'title' => ucfirst($alias), 88 'link' => $name, 89 'parent_id' => $parent != '.' ? $parent : '',list.php https://gitlab.com/ricardosanchez/prueba | PHP | 382 lines
95 $show_link = false; 96 $link_url = ''; 97 99 100 if ($this->element['show_link'] == 'true') 101 { 101 { 102 $show_link = true; 103 } 110 { 111 $show_link = false; 112 } 115 { 116 $link_url = $this->parseFieldTags($link_url); 117 }ARC2_SemHTMLParser.php https://gitlab.com/klausmig/CloudSemanticWeb | PHP | 339 lines
1<?php 2/* 167 elseif ((list($sub_r, $sub_v) = $this->xClose($sub_v)) && $sub_r) { 168 if (preg_match('/^(area|base|br|col|frame|hr|input|img|link|xmeta|param)$/', $sub_r['tag'])) { 169 /* already implicitly closed */ 281 function isEmpty($t, $v) { 282 if (preg_match('/^(area|base|br|col|frame|hr|input|img|link|xmeta|param)$/', $t)) { 283 return 1;blocklayered.tpl https://bitbucket.org/enurkov/prestashop.git | Smarty Template | 257 lines
8* It is also available through the world-wide-web at this URL: 9* http://opensource.org/licenses/afl-3.0.php 10* If you did not receive a copy of the license and are unable to 21* @copyright 2007-2012 PrestaShop SA 22* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 23* International Registred Trademark & Property of PrestaShop SA 105 {else} 106 <a href="{$value.link}" rel="{$value.rel}">{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a> 107 {/if} 126 {else} 127 <a href="{$value.link}" rel="{$value.rel}">{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a> 128 {/if}settings_lang.php https://gitlab.com/Riky_Lesmana/SugarSweetCakes | PHP | 174 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2/** 30$lang['settings:dashboard_rss'] = 'Dashboard RSS syöte'; 31$lang['settings:dashboard_rss_desc'] = 'Linkki RSS syötteeseen, joka näytetään dashboardissa.'; 32 37$lang['settings:date_format_desc'] = 'Miten päiväyksen muoto tulisi olla sivustolla ja hallintapaneelissa? ' . 38 'Käyttämällä PHP:n <a href="http://php.net/manual/en/function.date.php" target="_black">date muotoa</a> - TAI - ' . 39 'Käyttämällä PHP:n <a href="http://php.net/manual/en/function.strftime.php" target="_black">strftime muotoa</a>.'; 173 174/* End of file settings_lang.php */bluepay.php https://gitlab.com/Riky_Lesmana/SugarSweetCakes | PHP | 310 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2 11 * @created 08/24/2011 12 * @license http://www.opensource.org/licenses/mit-license.php 13 * @link https://github.com/calvinfroedge/codeigniter-paymentsMessage.php https://github.com/balupton/balphp.git | PHP | 402 lines
1<?php 2 10 * @author ##NAME## <##EMAIL##> 11 * @version SVN: $Id: Builder.php 6820 2009-11-30 17:27:49Z jwage $ 12 */ 38 $View->headTitle(). 39 $View->headLink(). 40 $View->headStyle().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'; 225BadBotBlocker.php https://gitlab.com/ebrjose/comcebu | PHP | 453 lines
1<?php 2namespace AIOSEO\Plugin\Common\Tools; 97 'HTTrack', 98 'humanlinks', 99 'ieautodiscovery', 110 'libwww', 111 'LinkextractorPro', 112 'linko', 112 'linko', 113 'LinkScan/8.1a Unix', 114 'LinkWalker', 136 'panscient.com', 137 'PHP/5.{', 138 'ProPowerBot/2.14', 324 * @see Original code, thanks to Sean M. Brown. 325 * @link http://smbrown.wordpress.com/2009/04/29/verify-googlebot-forward-reverse-dns/ 326 *testsuite.php https://github.com/bb-dev/cakephp2x.git | PHP | 376 lines
8 * 9 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> 10 * Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @copyright Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org) 16 * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 17 * @package cake 18 * @subpackage cake.cake.console.libs 19 * @since CakePHP(tm) v 1.2.0.4433 20 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 223 case 'group': 224 if (file_exists($folder.DS.'groups'.DS.$this->file.'.group.php')) { 225 return true; 232 $coreCaseExists = file_exists($folder.DS.'cases'.DS.$this->file.'.test.php'); 233 $coreLibCaseExists = file_exists($folder.DS.'cases'.DS.'libs'.DS.$this->file.'.test.php'); 234 if ($this->category == 'core' && ($coreCaseExists || $coreLibCaseExists)) {LayoutDeviceManager.java https://gitlab.com/Codeaurora/platform_sdk | Java | 395 lines
7 * 8 * http://www.eclipse.org/org/documents/epl-v10.php 9 * 163 * If the name and dpi values are identical the given device is returned an nothing is done 164 * @param device the {@link LayoutDevice} to replace 165 * @param newName the new name. 194 /** 195 * Adds or replaces a configuration in a given {@link LayoutDevice}. 196 * @param device the device to modify 209 /** 210 * Replaces a configuration in a given {@link LayoutDevice}. 211 * @param device the device to modify 232 /** 233 * Removes a configuration from a given user {@link LayoutDevice} 234 * @param device the device to modifyExportToHtmlTemplate.php https://gitlab.com/mattswann/launch-housing | PHP | 232 lines
1<?php 2/* 21 22require_once('ExportBase.php'); 23require_once('CFDBExport.php'); 23require_once('CFDBExport.php'); 24require_once('CFDBShortCodeContentParser.php'); 25 36 37 $filelinks = ''; 38 $wpautop = false; 41 if (isset($this->options['filelinks'])) { 42 $filelinks = $this->options['filelinks']; 43 } 146 $fields_with_file = null; 147 if ($filelinks != 'name' && 148 isset($this->dataIterator->row['fields_with_file']) &&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) {class-itsec-core-admin.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 390 lines
8 9 add_filter( 'itsec_meta_links', array( $this, 'add_plugin_meta_links' ) ); 10 85 /** 86 * Adds links to the plugin row meta 87 * 93 */ 94 public function add_plugin_meta_links( $meta ) { 95 128 echo '<h2>' . __( 'Watch the Walk-Through Video', 'better-wp-security' ) . '</h2>'; 129 echo '<a class="itsec-video-link" href="#" data-video-id="itsec_video"><img src="' . plugins_url( 'img/video.png', __FILE__ ) . '" /></a>'; 130 echo sprintf( '<p class="itsec-video-description">%s <a href="http://ithem.es/6y" target="_blank">%s</a> %s </p>', __( 'In this short video, we walk through', 'better-wp-security' ), __( 'how to get started securing your site', 'better-wp-security' ), __( 'with iThemes Security.', 'better-wp-security' ) ); 180 </div> 181 <p><?php _e( 'Get tips for securing your site + the latest WordPress security updates, news and releases from iThemes.', 'better-wp-security' ); ?></p> 182SfPropelBehaviorI18n.php https://github.com/bigcalm/urlcatcher.git | PHP | 352 lines
126 $foreignKey = $this->getI18nTable()->getBehavior('symfony_i18n_translation')->getForeignKey(); 127 $refPhpName = $foreignKey->getRefPhpName() ? $foreignKey->getRefPhpName() : $this->getI18nTable()->getPhpName(); 128 152{ 153 \$this->getCurrent{$refPhpName}(\$culture)->set{\$column->getPhpName()}(\$value); 154 return \$this; 206 $foreignKey = $this->getI18nTable()->getBehavior('symfony_i18n_translation')->getForeignKey(); 207 $refPhpName = $foreignKey->getRefPhpName() ? $foreignKey->getRefPhpName() : $this->getI18nTable()->getPhpName(); 208 $join = in_array($this->getBuildProperty('propel.useLeftJoinsInDoJoinMethods'), array(true, null), true) ? 'LEFT' : 'INNER'; 232/** 233 * Selects a collection of {@link {$this->getTable()->getPhpName()}} objects with a {@link {$this->getI18nTable()->getPhpName()}} translation populated. 234 * 256 {$this->getTable()->getPhpName()}Peer::addSelectColumns(\$criteria); 257 \$startcol = ({$this->getTable()->getPhpName()}Peer::NUM_COLUMNS - {$this->getTable()->getPhpName()}Peer::NUM_LAZY_LOAD_COLUMNS); 258 {$this->getI18nTable()->getPhpName()}Peer::addSelectColumns(\$criteria);Extracted.php https://github.com/jpratt/cal.git | PHP | 261 lines
1<?php 2/** 21/** Zend_Pdf_Resource_Font */ 22#require_once 'Zend/Pdf/Resource/Font.php'; 23 24/** Zend_Pdf_Cmap */ 25#require_once 'Zend/Pdf/Cmap.php'; 26 136 * 137 * See also {@link glyphNumberForCharacter()}. 138 * 152 * 153 * See also {@link glyphNumbersForCharacters()} which is optimized for bulk 154 * operations. 190 * The widths are expressed in the font's glyph space. You are responsible 191 * for converting to user space as necessary. See {@link unitsPerEm()}. 192 *README.md https://gitlab.com/alidzapp/Link-Preview | Markdown | 243 lines
108 109To custom your database configurations, you need to change the following values in [Database.php](/src/link-preview/php/classes/Database.php) 110 118 119Additionally, the way I used to retrieve the data was creating a controller [link-preview-database.js](/src/link-preview/js/link-preview-database.js) 120which you can include the file somehow in your project or you can its content to yours. 130 131 var url = 'src/link-preview/php/retrieve.php'; 132 $http({ 182 183Also, check the file [database-template.php](src/link-preview/template/database-template.php) to see an example of how to display the data retrieved from database. 184 184 185Make sure your columns are the same as those ones in [linkpreview.sql](/src/link-preview/linkpreview.sql) or customize them. 186Data.php https://bitbucket.org/mengqing/magento-mirror.git | PHP | 478 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) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 110 'label' => $categories[$categoryId]->getName(), 111 'link' => $this->_isCategoryLink($categoryId) ? $categories[$categoryId]->getUrl() : '' 112 ); 126 /** 127 * Check is category link 128 * 131 */ 132 protected function _isCategoryLink($categoryId) 133 {search.php https://bitbucket.org/moodle/moodle.git | PHP | 400 lines
1<?php 2 19 * @package mod_forum 20 * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} 21 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 23 24require_once('../../config.php'); 25require_once('lib.php'); 142 143 $url = new moodle_url('/mod/forum/index.php', array('id' => $course->id)); 144 $PAGE->navbar->add($strforums, $url); 144 $PAGE->navbar->add($strforums, $url); 145 $url = new moodle_url('/mod/forum/search.php', array('id' => $course->id)); 146 $PAGE->navbar->add(get_string('advancedsearch', 'forum'), $url); 163 164$PAGE->navbar->add($strsearch, new moodle_url('/mod/forum/search.php', array('id'=>$course->id))); 165$PAGE->navbar->add($strsearchresults);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' ); 197HelperRegistryTest.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 */wiki_document.php https://github.com/nadavkav/MoodleTAO.git | PHP | 280 lines
1<?php 2/** 17* Functions for iterating and retrieving the necessary records are now also included 18* in this file, rather than mod/wiki/lib.php 19*/ 23*/ 24require_once("$CFG->dirroot/search/documents/document.php"); 25require_once("$CFG->dirroot/mod/wiki/lib.php"); 46 $doc->contents = $page['content']; 47 $doc->url = wiki_make_link($wiki_id, $page['pagename'], $page['version']); 48 67/** 68* constructs a valid link to a wiki content 69* @param int $wikiId 73*/ 74function wiki_make_link($wikiId, $title, $version) { 75 global $CFG;index.php https://github.com/ECP-Black/ECP.git | PHP | 265 lines
1<?php 2$conditions = array('LIMIT' => LIMIT_COMMENTS, 63 $conditions['action'] = 'add'; 64 $conditions['link'] = '?section=user&view=gb&id='.$id; 65 comments_get('user', $id, $conditions, 0, 0); 226 if($limits[0] > 1) 227 $tpl->assign('seiten', makepagelink_ajax('?section=user&action=list&orderby='.$_GET['orderby'].'&order='.$_GET['order'],'return load_user(\'orderby='.$_GET['orderby'].'&order='.$_GET['order'].'&page={nr}\');',@$_GET['page'], $limits[0])); 228 $tpl->assign('user', $user); 248 $conditions['action'] = 'add'; 249 $conditions['link'] = '?section=user&view=gb&id='.(int)$_GET['id']; 250 comments_add('user', (int)$_GET['id'], $conditions); 253 $conditions['action'] = 'edit'; 254 $conditions['link'] = '?section=user&view=gb&id='.(int)$_GET['subid']; 255 comments_edit('user', (int)$_GET['subid'], (int)$_GET['id'], $conditions);Search.php https://gitlab.com/digitalpoetry/exceptionally-timed | 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'; 66DB_result.php https://gitlab.com/ricoru21/py_incidencia | PHP | 410 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 26 * @author ExpressionEngine Dev Team 27 * @link http://codeigniter.com/user_guide/database/ 28 */ 408 409/* End of file DB_result.php */ 410/* Location: ./system/database/DB_result.php */translated-object.php https://gitlab.com/hop23typhu/bryepoxy | PHP | 272 lines
1<?php 2 101 102 // unlink removed translations 103 $old_translations = $this->get_translations( $id ); 125 126 // link all translations to the new term 127 foreach ( $translations as $p ) {FontDescriptor.php https://gitlab.com/Ltaimao/wecenter | PHP | 204 lines
1<?php 2/** 24/** Internally used classes */ 25//require_once 'Zend/Pdf/Element/Array.php'; 26//require_once 'Zend/Pdf/Element/Dictionary.php'; 26//require_once 'Zend/Pdf/Element/Dictionary.php'; 27//require_once 'Zend/Pdf/Element/Name.php'; 28//require_once 'Zend/Pdf/Element/Numeric.php'; 30/** Zend_Pdf_Font */ 31//require_once 'Zend/Pdf/Font.php'; 32 55 { 56 //require_once 'Zend/Pdf/Exception.php'; 57 throw new Zend_Pdf_Exception('Zend_Pdf_Resource_Font_FontDescriptor is not intended to be instantiated'); 64 * to font embedding. You may combine options by OR-ing them together. See 65 * the EMBED_ constants defined in {@link Zend_Pdf_Font} for the list of 66 * available options and their descriptions.app.yml https://github.com/marbemac/limelight-music.git | YAML | 257 lines
2test: 3 rpx_tokenize_url: http://97.107.135.24/frontend_test.php/tokenize 4 site_path: frontend_test.php/ 6staging: 7 rpx_tokenize_url: http://97.107.135.24/frontend_staging.php/tokenize 8 site_path: .php/ 10dev: 11 rpx_tokenize_url: http://music.limelight/frontend_dev.php/tokenize 12 site_path: frontend_dev.php/ 84 News_score_flag_val: -20 85 NewsLink_score_flag_val: -10 86 LimelightSpecification_score_flag_val: -10 246 NewsLinkScore_min: 5 247 NewsLinkScore_add: News Linker 248 CommentScore_min: 5backuplib.php https://github.com/cwaclawik/moodle.git | PHP | 337 lines
1<?PHP //$Id$ 2 //This php script contains all the stuff to backup/restore 30 // Meaning: pk->primary key field of the table 31 // fk->foreign key to link with parent 32 // nt->nested field (recursive data) 240 // $excluded_tags : fields which will NOT be backed up from the records 241 // $more_backup : optional PHP code to be eval(uated) for each record 242 // If any of the "fwrite" statements fail,wlfc_proto.h https://bitbucket.org/cyanogenmod/lge-kernel-iproj.git | C Header | 216 lines
6* under the terms of the GNU General Public License version 2 (the "GPL"), 7* available at http://www.broadcom.com/licenses/GPLv2.php, with the 8* following added to such license: 10* As a special exception, the copyright holders of this software give you 11* permission to link this software with independent modules, and to copy and 12* distribute the resulting executable under terms of your choice, provided that 12* distribute the resulting executable under terms of your choice, provided that 13* you also meet, for each linked independent module, the terms and conditions of 14* the license of that module. An independent module is a module which is notQueryBuilder.php https://gitlab.com/brucealdridge/yii2 | PHP | 260 lines
1<?php 2/** 2/** 3 * @link http://www.yiiframework.com/ 4 * @copyright Copyright (c) 2008 Yii Software LLClistCommand.php https://gitlab.com/florianocomercial/centreon | PHP | 232 lines
1<?php 2/* 17 * 18 * Linking this program statically or dynamically with other modules is making a 19 * combined work based on this program. Thus, the terms and conditions of the GNU 22 * As a special exception, the copyright holders of this program give Centreon 23 * permission to link this program with independent modules to produce an executable, 24 * regardless of the license terms of these independent modules, and to copy and 25 * distribute the resulting executable under terms of Centreon choice, provided that 26 * Centreon also meet, for each linked independent module, the terms and conditions 27 * of the license of that module. An independent module is a module which is not 39 40include_once("./class/centreonUtils.class.php"); 41 151 "RowMenu_type" => $commandType[$cmd["command_type"]], 152 "RowMenu_huse" => "<a name='#' title='"._("Host links (host template links)")."'>".getHostNumberUse($cmd['command_id']) . " (".getHostTPLNumberUse($cmd['command_id']).")</a>", 153 "RowMenu_suse" => "<a name='#' title='"._("Service links (service template links)")."'>".getServiceNumberUse($cmd['command_id']) . " (".getServiceTPLNumberUse($cmd['command_id']).")</a>",Normal.php https://gitlab.com/koutyan777/Genisys | PHP | 305 lines
1<?php 2 21 * @author ImagicalMine Team 22 * @link http://forums.imagicalcorp.ml/ 23 *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;MailboxHeader.php https://gitlab.com/dsasmita/talita-shop | 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 dataCakeTestFixture.php https://gitlab.com/manuperazafa/elsartenbackend | 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 *CommentFieldsTest.php https://gitlab.com/reasonat/test8 | PHP | 235 lines
1<?php 2 92 /** 93 * Tests link building with non-default comment field names. 94 */ 94 */ 95 public function testCommentFieldLinksNonDefaultName() { 96 $this->drupalCreateContentType(['type' => 'test_node_type']); 127 // We want to check the attached drupalSettings of 128 // \Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks. Therefore 129 // we need a node listing, let's use views for that. 135 136 $link_info = $this->getDrupalSettings()['comment']['newCommentsLinks']['node']['comment2']['2']; 137 $this->assertIdentical($link_info['new_comment_count'], 1); 137 $this->assertIdentical($link_info['new_comment_count'], 1); 138 $this->assertIdentical($link_info['first_new_comment_link'], $node->url('canonical', ['fragment' => 'new'])); 139 }agregar_item.php https://gitlab.com/nino.simeon/sistema-bibliotecario-unjfsc | PHP | 221 lines
7 <title>..::Sistema Bibliotecario::..</title> 8 <link href="<?php echo base_url('public/css/temaBibliotecaBibliotecario.css'); ?>" rel="stylesheet" type="text/css" /> 9 <link href="<?php echo base_url('public/css/fresh_theme.css'); ?>" rel="stylesheet" type="text/css" /> 130 <div id="logeado" class="ui-widget-header"> 131 <b><?php echo $sesion ['perfil_usuario']; ?>,</b> <?php echo $sesion ['apellidos_nombres']; ?> 132 <nav style="margin-right: 10px;float: right;"> 178 ?> 179 <option value="<?php echo $value->soporte; ?>"><?php echo $value->soporte; ?></option><?php } ?> 180 --></select></td> 195 ?> 196 <option value="<?php echo $value->codigo; ?>"><?php echo $value->nombre; ?></option><?php } ?> 197 --></select></td> 203 ?> 204 <option value="<?php echo $value->origen; ?>"><?php echo $value->origen; ?></option><?php } ?> 205 </select></td>DB_result.php https://gitlab.com/estratega.pe/quote | PHP | 666 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 1.0.0 48 * @author EllisLab Dev Team 49 * @link https://codeigniter.com/user_guide/database/ 50 */mcu-cli.php https://gitlab.com/Slind/MCUpdater | PHP | 380 lines
1#!/usr/bin/env php 2<?php 10 * server jar. 11 * 1) Copy the default config to 'mcu-cli-config.php' 12 * 2) Edit your new config, updating at a minimum the pack url, server id, 13 * server jar, and memory settings. 14 * 3) Execute mcu-cli.php and hope for the best :) 15 * 22 23msg("MCU-CLI.php Starting..."); 24msg(date("r")); 38// load config, copying from default if one is not found 39$cfg_default_filename = "mcu-cli-config.default.php"; 40$cfg_filename = "mcu-cli-config.php"; 212 msg(" ! MD5 mismatch on downloaded file", true); 213 unlink($tmp); 214 return;Extracted.php https://github.com/sitengine/sitengine.git | PHP | 261 lines
1<?php 2/** 21/** Zend_Pdf_Resource_Font */ 22require_once 'Zend/Pdf/Resource/Font.php'; 23 24/** Zend_Pdf_Cmap */ 25require_once 'Zend/Pdf/Cmap.php'; 26 136 * 137 * See also {@link glyphNumberForCharacter()}. 138 * 152 * 153 * See also {@link glyphNumbersForCharacters()} which is optimized for bulk 154 * operations. 190 * The widths are expressed in the font's glyph space. You are responsible 191 * for converting to user space as necessary. See {@link unitsPerEm()}. 192 *categories.php https://github.com/mcmurdok/oscommerce.git | PHP | 247 lines
1<?php 2/* 194 if (file_exists(realpath('../' . DIR_WS_IMAGES . 'categories/' . $Qimage->value('categories_image')))) { 195 @unlink(realpath('../' . DIR_WS_IMAGES . 'categories/' . $Qimage->value('categories_image'))); 196 }DevelErrorHandlerTest.php https://gitlab.com/Drulenium-bot/devel | PHP | 213 lines
1<?php 2 51 // Ensures that selecting the DEVEL_ERROR_HANDLER_NONE option no error 52 // (raw or message) is shown on the site in case of php errors. 53 $edit = [ 61 62 $this->clickLink('notice+warning'); 63 $this->assertResponse(200, 'Received expected HTTP status code.'); 69 // Ensures that selecting the DEVEL_ERROR_HANDLER_BACKTRACE_KINT option a 70 // backtrace above the rendered page is shown on the site in case of php 71 // errors. 80 81 $this->clickLink('notice+warning'); 82 $this->assertResponse(200, 'Received expected HTTP status code.'); 86 // Ensures that selecting the DEVEL_ERROR_HANDLER_BACKTRACE_DPM option a 87 // backtrace in the message area is shown on the site in case of php errors. 88 $edit = [Annotation.php https://bitbucket.org/cryofrost/portal.git | PHP | 267 lines
1<?php 2 17 * @subpackage Annotation 18 * @link http://www.gediminasm.org 19 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)class-wc-report-taxes-by-date.php https://gitlab.com/campus-academy/krowkaramel | PHP | 264 lines
34 href="#" 35 download="report-<?php echo esc_attr( $current_range ); ?>-<?php echo date_i18n( 'Y-m-d', current_time( 'timestamp' ) ); ?>.csv" 36 class="export_csv" 212 <th class="total_row"><?php _e( 'Number of orders', 'woocommerce' ); ?></th> 213 <th class="total_row"><?php _e( 'Total sales', 'woocommerce' ); ?> <?php echo wc_help_tip( __( "This is the sum of the 'Order total' field within your orders.", 'woocommerce' ) ); ?></th> 214 <th class="total_row"><?php _e( 'Total shipping', 'woocommerce' ); ?> <?php echo wc_help_tip( __( "This is the sum of the 'Shipping total' field within your orders.", 'woocommerce' ) ); ?></th> 215 <th class="total_row"><?php _e( 'Total tax', 'woocommerce' ); ?> <?php echo wc_help_tip( __( 'This is the total tax for the rate (shipping tax + product tax).', 'woocommerce' ) ); ?></th> 216 <th class="total_row"><?php _e( 'Net profit', 'woocommerce' ); ?> <?php echo wc_help_tip( __( 'Total sales minus shipping and tax.', 'woocommerce' ) ); ?></th> 217 </tr> 230 <td class="total_row"><?php echo $tax_row->total_orders; ?></td> 231 <td class="total_row"><?php echo wc_price( $gross ); ?></td> 232 <td class="total_row"><?php echo wc_price( $tax_row->total_shipping ); ?></td> 232 <td class="total_row"><?php echo wc_price( $tax_row->total_shipping ); ?></td> 233 <td class="total_row"><?php echo wc_price( $total_tax ); ?></td> 234 <td class="total_row"><?php echo wc_price( $gross - $total_tax ); ?></td>event.php https://gitlab.com/Alzakath/icagenda | PHP | 617 lines
1<?php 2/** 10 * @author Cyril Rezé (Lyr!C) 11 * @link http://www.joomlic.com 12 * 418 { 419 // Get the list of feature ids to be linked to the event 420 $features = isset($data['features']) && is_array($data['features']) ? implode(',', $data['features']) : ''; 499 /** 500 * Extracts the list of Feature IDs linked to the event and returns an array 501 *view-mybooking.tpl https://gitlab.com/zohaibsaleem/shipcliq | Smarty Template | 296 lines
1<script type="text/javascript" src="{$tconfig.tsite_stylesheets}front/jquery.fancybox.js?v=2.1.5"></script> 2<link rel="stylesheet" type="text/css" href="{$tconfig.tsite_stylesheets}{$THEME}/front/jquery.fancybox.css?v=2.1.5" media="screen" /> 3<div class="body-inner-part"> 53 <strong>{$smarty.const.LBL_BOOKER_DETAIL}</strong><br> 54 {$smarty.const.LBL_NAME} : <a href="{$tconfig.tsite_url}index.php?file=c-user_profile&iMemberId={$db_ride_list[i].iBookerId}">{$db_ride_list[i].vBookerFirstName} {$db_ride_list[i].vBookerLastName}</a><br> 55 {$smarty.const.LBL_PHONE} : {$db_ride_list[i].vBookerPhone}<br> 58 <strong>{$smarty.const.LBL_DRIVER_DETAILS}</strong><br> 59 {$smarty.const.LBL_NAME} : <a href="{$tconfig.tsite_url}index.php?file=c-user_profile&iMemberId={$db_ride_list[i].iDriverId}">{$db_ride_list[i].vDriverFirstName} {$db_ride_list[i].vDriverLastName}</a><br> 60 {$smarty.const.LBL_PHONE} : {$db_ride_list[i].vDriverPhone}<br> 141 {if $db_ride_list|@count gt 0} 142 <div class="paging">{$page_link}</div> 143 {/if} </div> 265 if (r == true) { 266 window.location = "{/literal}{$tconfig.tsite_url}{literal}index.php?file=m-booking_cancelation_form&id="+id; 267 } else {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&imagename="+image_src+"&imgheight=480&imgwidth=600&product_id=103&width=640&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);Binary.php https://gitlab.com/remyvianne/krowkaramel | PHP | 378 lines
13 * 14 * PHP version 5 and 7 15 * 20 * @license http://www.opensource.org/licenses/mit-license.html MIT License 21 * @link http://pear.php.net/package/Math_BigInteger 22 */ 23 24namespace phpseclib3\Crypt\EC\BaseCurves; 25 28use phpseclib3\Math\BigInteger; 29use phpseclib3\Math\BinaryField\Integer as BinaryInteger; 30 34 * @package Binary 35 * @author Jim Wigginton <terrafrost@php.net> 36 * @access publicimport.php https://github.com/m-fuji-0616/vtigercrm-5.1.x-ja.git | PHP | 302 lines
1<?php 2/********************************************************************************* 12 13require_once 'Excel/reader.php'; 14require_once('database/DatabaseConnection.php'); 35 echo $error; 36 include "fetchfile.php"; 37 //unlink($HTTP_POST_FILES['userfile']['tmp_name']); 47 echo $error; 48 include "fetchfile.php"; 49 unlink($HTTP_POST_FILES['userfile']['tmp_name']); 57 echo $error; 58 include "fetchfile.php"; 59 unlink($HTTP_POST_FILES['userfile']['tmp_name']); 105 106 <form method="post" action="index.php?module=imports&action=result&filename=<?=$filename?>" onsubmit="VtigerJS_DialogBox.block();"> 107 <table border="0" cellpadding="2" cellspacing="2">README.md https://gitlab.com/danieldanielecki/ditectrev_v2 | Markdown | 227 lines
77<!-- build:css css/tidy.css --> 78<link rel="stylesheet" href="css/normalize.css"> 79<link rel="stylesheet" href="css/main.css"> 79<link rel="stylesheet" href="css/main.css"> 80<link rel="stylesheet" href="css/bootstrap.css"> 81<!-- /build --> 122```js 123// Remove unused CSS from URLs (php, node, etc.) 124// (Note that`nonull` must be true, or else Gruntwizard.php https://gitlab.com/najomie/ljm | PHP | 175 lines
34 <div class="pods-wizard-content"> 35 <p><?php _e( 'Custom Post Type UI provides an interface to create Custom Post Types and Custom Taxonomies. You can import these and their settings directly into Pods 2.0', 'pods' ); ?></p> 36 </div> 63 <div class="stuffbox"> 64 <h3><label for="link_name"><?php _e( 'Choose Post Types to Import', 'pods' ); ?></label></h3> 65 71 <p class="pods-field-option-group-label"> 72 <?php _e( 'Available Post Types', 'pods' ); ?> 73 </p> 104 <div class="stuffbox"> 105 <h3><label for="link_name"><?php _e( 'Choose Taxonomies to Import', 'pods' ); ?></label></h3> 106 145 <div id="pods-wizard-toolbar"> 146 <a href="#start" id="pods-wizard-start" class="button button-secondary"><?php _e( 'Start Over', 'pods' ); ?></a> <a href="#next" id="pods-wizard-next" class="button button-primary" data-next="<?php esc_attr_e( 'Next Step', 'pods' ); ?>" data-finished="<?php esc_attr_e( 'Finished', 'pods' ); ?>" data-processing="<?php esc_attr_e( 'Processing', 'pods' ); ?>.."><?php _e( 'Next Step', 'pods' ); ?></a> 147 </div>ch14s16.html https://gitlab.com/GLORIA04/conception-site-web | HTML | 95 lines
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Using background gradients</title><link rel="stylesheet" type="text/css" href="manual.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.0"><link rel="home" href="index.html" title="JpGraph Manual"><link rel="up" href="ch14.html" title="Chapter 14. Common features for all Cartesian (x,y) graph types"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Using background gradients</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center">Chapter 14. Common features for all Cartesian (x,y) graph types</th><td width="20%" align="right"> </td></tr></table><hr></div><div class="sect1" title="Using background gradients"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2552733"></a>Using background gradients</h2></div></div></div> 2 83 "<code class="filename">Examples/</code>" directory called 84 "<code class="filename">mkgrad.php</code>". Pointing the browser to this script will 85 show a basic form as shown in <a class="xref" href="ch14s16.html#fig.mkgrad" title='Figure 14.95. The "mkgrad" utiliy to create gradient images'>Figure 14.95. The "mkgrad" utiliy to create gradient images</a>. The script will