100+ results results for 'php strip_tags' (298 ms)
1<?php 2 // please translate the variable below 3 $heading_title = "Firefox Home for iPhone <span>FAQ</span>"; 4 $page_title = strip_tags($heading_title); 5taoresource_base.class.php https://github.com/nadavkav/MoodleTAO.git | PHP | 293 lines
1<?php 2/** 54 if (!$this->cm->visible and !has_capability('moodle/course:viewhiddenactivities', get_context_instance(CONTEXT_MODULE, $this->cm->id))) { 55 $pagetitle = strip_tags($this->course->shortname.': '.$this->strtaoresource); 56 $navigation = build_navigation($this->navlinks, $this->cm); 58 print_header($pagetitle, $this->course->fullname, $navigation, "", "", true, '', navmenu($this->course, $this->cm)); 59 notice(get_string("activityiscurrentlyhidden"), "$CFG->wwwroot/course/view.php?id={$this->course->id}"); 60 } 103 104 require_once($CFG->libdir.'/blocklib.php'); 105 require_once($CFG->libdir.'/pagelib.php'); 105 require_once($CFG->libdir.'/pagelib.php'); 106 require_once($CFG->dirroot.'/course/lib.php'); //required by some blocks 107 120 121 $morenavlinks = array($this->strtaoresources => 'index.php?id='.$this->course->id, 122 $this->taoresource->name => '');ReviewerAction.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 381 lines
1<?php 2 3/** 4 * ReviewerAction.inc.php 5 * 12 * 13 * $Id: ReviewerAction.inc.php,v 1.45 2005/12/07 19:08:14 alec Exp $ 14 */ 186 'reviewerName' => $reviewer->getFullName(), 187 'articleTitle' => strip_tags($reviewerSubmission->getArticleTitle()), 188 'recommendation' => Locale::translate($reviewerRecommendationOptions[$recommendation])audio.php https://gitlab.com/relacilia/cakra | PHP | 435 lines
1<?php 2 67 self::$add_script = true; 68 $atts[0] = strip_tags( join( ' ', $atts ) ); 69 $src = ltrim( $atts[0], '=' );label.php https://gitlab.com/mucill/majalengka | PHP | 260 lines
1<?php 2/** 37require SIMBIO.'simbio_GUI/table/simbio_table.inc.php'; 38require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 39require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php'; 39require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php'; 40require SIMBIO.'simbio_DB/datagrid/simbio_dbgrid.inc.php'; 41require SIMBIO.'simbio_DB/simbio_dbop.inc.php'; 134 utility::jsAlert(__('All Data Successfully Deleted')); 135 echo '<script type="text/javascript">parent.jQuery(\'#mainContent\').simbioAJAX(\''.$_SERVER['PHP_SELF'].'?'.$_POST['lastQueryStr'].'\');</script>'; 136 } else { 152 <div class="btn-group"> 153 <a href="<?php echo MWB; ?>master_file/label.php" class="btn btn-default"><i class="glyphicon glyphicon-list-alt"></i> <?php echo __('Label List'); ?></a> 154 <a href="<?php echo MWB; ?>master_file/label.php?action=detail" class="btn btn-default"><i class="glyphicon glyphicon-plus"></i> <?php echo __('Add New Label'); ?></a> 155 </div> 156 <form name="search" action="<?php echo MWB; ?>master_file/label.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> : 157 <input type="text" name="keywords" size="30" />player.php https://bitbucket.org/kudutest/moodlegit.git | PHP | 289 lines
66 67$url = new moodle_url('/mod/scorm/player.php', array('scoid'=>$scoid, 'cm'=>$cm->id)); 68if ($mode !== 'normal') { 159 160add_to_log($course->id, 'scorm', 'view', "player.php?cm=$cm->id&scoid=$sco->id", "$scorm->id", $cm->id); 161 228 <div id="toctree"> 229 <?php 230 if (empty($scorm->popup) || $displaymode == 'popup') { 262 <!--[if IE]> 263 <iframe id="main" class="scoframe" name="main" src="loadSCO.php?id=<?php echo $cm->id.$scoidstr.$modestr; ?>"></iframe> 264 <![endif]--> 265 <!--[if !IE]> 266 <object id="main" class="scoframe" type="text/html" data="loadSCO.php?id=<?php echo $cm->id.$scoidstr.$modestr; ?>"></object> 267 <![endif]-->filter.php https://bitbucket.org/sandeepbhaskar/inspiredliving.git | PHP | 466 lines
1<?php 2class ControllerCatalogFilter extends Controller { 447 'filter_id' => $filter['filter_id'], 448 'name' => strip_tags(html_entity_decode($filter_value['name'], ENT_QUOTES, 'UTF-8')), 449 'category' => $filter['name'],wpmdb-cli.php https://gitlab.com/hector20091/digital_light | PHP | 522 lines
1<?php 2 26 /** 27 * Required PHP version 28 * 30 */ 31 protected $php_version_required; 32 42 43 if ( ! version_compare( PHP_VERSION, $this->php_version_required, '>=' ) ) { 44 return; 58 public function pre_cli_migration_check( $profile ) { 59 if ( ! version_compare( PHP_VERSION, $this->php_version_required, '>=' ) ) { 60 return $this->cli_error( sprintf( __( 'CLI addon requires PHP %1$s+', 'wp-migrate-db-cli' ), $this->php_version_required ) ); 228 $message = preg_replace( '#<br\s*/?>#', "\n", $message ); 229 $message = trim( strip_tags( $message ) ); 230class-wc-predictive-search-filter.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 285 lines
1<?php 2/** 41 $extra_parameter = ''; 42 if (isset($_REQUEST['row']) && $_REQUEST['row'] > 0) $row = stripslashes( strip_tags( $_REQUEST['row'] ) ); 43 if (isset($_REQUEST['text_lenght']) && $_REQUEST['text_lenght'] >= 0) stripslashes( strip_tags( $text_lenght = $_REQUEST['text_lenght'] ) ); 43 if (isset($_REQUEST['text_lenght']) && $_REQUEST['text_lenght'] >= 0) stripslashes( strip_tags( $text_lenght = $_REQUEST['text_lenght'] ) ); 44 if (isset($_REQUEST['show_price']) && trim($_REQUEST['show_price']) != '') $show_price = stripslashes( strip_tags( $_REQUEST['show_price'] ) ); 45 if (isset($_REQUEST['q']) && trim($_REQUEST['q']) != '') $search_keyword = stripslashes( strip_tags( $_REQUEST['q'] ) ); 75 $avatar = WC_Predictive_Search::woops_get_product_thumbnail($product->ID,'shop_catalog',64,64); 76 $product_description = WC_Predictive_Search::woops_limit_words(strip_tags( WC_Predictive_Search::strip_shortcodes( strip_shortcodes( str_replace("\n", "", $product->post_content) ) ) ),$text_lenght,'...'); 77 if (trim($product_description) == '') $product_description = WC_Predictive_Search::woops_limit_words(strip_tags( WC_Predictive_Search::strip_shortcodes( strip_shortcodes( str_replace("\n", "", $product->post_excerpt) ) ) ),$text_lenght,'...'); 154 155 $aNewRules = array($search_page_slug.'/'.$rewrite_rule.'?$' => 'index.php?pagename='.$search_page_slug.$original_url); 156 $aRules = $aNewRules + $aRules;class-woothemes-plugin-updater.php https://bitbucket.org/rchlmrtn/chiari.git | PHP | 469 lines
165 166 <?php screen_icon( 'plugins' ); ?> 167 <h2><?php _e( 'WooThemes Plugin Updater', 'wooslider' ); ?></h2> 168 169 <form name="woo-plugin-updater-login" id="woo-plugin-updater-login" action="<?php echo admin_url( 'index.php?page=' . $this->plugin_token ); ?>" method="post"> 170 <fieldset> 194</div><!--/.wrap--> 195<?php 196 } // End admin_screen() 207 if ( $is_valid ) { 208 $username = trim( strip_tags( $_POST['username'] ) ); 209 $password = md5( trim( strip_tags( $_POST['password'] ) ) ); 438 // Check if the menu item already exists. 439 if ( isset( $submenu['index.php'] ) && is_array( $submenu['index.php'] ) ) { 440 foreach ( $submenu['index.php'] as $k => $v ) {string-util.cpp https://github.com/tstarling/hiphop-php.git | C++ | 461 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 16 17#include "hphp/runtime/base/string-util.h" 18#include <algorithm>default-filters.php https://gitlab.com/gregtyka/app222 | PHP | 285 lines
1<?php 2/** 9 * 10 * Not all of the default hooks are found in default-filters.php 11 * 109 add_filter( $filter, 'wptexturize' ); 110 add_filter( $filter, 'strip_tags' ); 111} 162// RSS filters 163add_filter( 'the_title_rss', 'strip_tags' ); 164add_filter( 'the_title_rss', 'ent2ncr', 8 );arr.php https://bitbucket.org/i1598/caiyun_stat.git | PHP | 602 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 351 /** 352 * Recursive version of [array_map](http://php.net/array_map), applies one or more 353 * callbacks to all elements in an array, including sub-arrays. 354 * 355 * // Apply "strip_tags" to every element in the array 356 * $array = Arr::map('strip_tags', $array); 360 * 361 * // Apply strip_tags and $this->filter to every element 362 * $array = Arr::map(array('strip_tags',array($this,'filter')), $array); 403 * Merges one or more arrays recursively and preserves all keys. 404 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)! 405 *TextStatistics.php https://github.com/jimmytidey/jimmytidey.co.uk.git | PHP | 414 lines
1<?php 2/** 17 * 18 * @link http://code.google.com/p/php-text-statistics/ 19 * @link https://github.com/DaveChild/Text-Statistics (new repo location) 19 * @link https://github.com/DaveChild/Text-Statistics (new repo location) 20 * @license http://www.opensource.org/licenses/bsd-license.php New BSD license 21 * 142 } 143 $strText = strip_tags( $strText ); 144 $strText = preg_replace( '`[",:;\(\)-]`', ' ', $strText ); // Replace commas, hyphens etc (count them as spaces)functions.validation.php https://github.com/SteveBomber/Garden.git | PHP | 350 lines
1<?php if (!defined('APPLICATION')) exit(); 2/* 11/** 12 * All of these functions are used by ./class.validation.php to validate form 13 * input strings. With the exception of ValidateRegex, each function receives 84 } catch (PDOException $Exception) { 85 return sprintf(T('ValidateConnection'), strip_tags($Exception->getMessage())); 86 } 103 function ValidateEmail($Value, $Field = '') { 104 $Result = PHPMailer::ValidateAddress($Value); 105 $Result = (bool)$Result;assets.php https://github.com/luthercollege/reason_package.git | PHP | 431 lines
1<?php 2/** 9 */ 10 reason_include_once( 'minisite_templates/modules/default.php' ); 11 reason_include_once( 'function_libraries/asset_functions.php' ); 11 reason_include_once( 'function_libraries/asset_functions.php' ); 12 reason_include_once('classes/group_helper.php'); 13 16 */ 17 $GLOBALS[ '_module_class_names' ][ basename( __FILE__, '.php' ) ] = 'AssetsModule'; 18 183 $pdf_files[] = $file_location; 184 $titles[$file_location] = strip_tags($pdf->get_value('name')); 185 } 186 187 include_once(CARL_UTIL_INC.'pdf/pdf_utils.php'); 188 $merged = carl_merge_pdfs($pdf_files, $titles);frequency.php https://gitlab.com/mucill/majalengka | PHP | 245 lines
1<?php 2/** 36require SIMBIO.'simbio_GUI/table/simbio_table.inc.php'; 37require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 38require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php'; 38require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php'; 39require SIMBIO.'simbio_DB/datagrid/simbio_dbgrid.inc.php'; 40require SIMBIO.'simbio_DB/simbio_dbop.inc.php'; 84 utility::jsAlert(__('New Frequency Data Successfully Saved')); 85 echo '<script type="text/javascript">parent.jQuery(\'#mainContent\').simbioAJAX(\''.$_SERVER['PHP_SELF'].'\');</script>'; 86 } else { utility::jsAlert(__('Frequency Data FAILED to Save. Please Contact System Administrator')."\nDEBUG : ".$sql_op->error); } 131 <div class="btn-group"> 132 <a href="<?php echo MWB; ?>master_file/frequency.php" class="btn btn-default"><i class="glyphicon glyphicon-list-alt"></i> <?php echo __('Frequency Available'); ?></a> 133 <a href="<?php echo MWB; ?>master_file/frequency.php?action=detail" class="btn btn-default"><i class="glyphicon glyphicon-plus"></i> <?php echo __('Add New Frequency'); ?></a> 134 </div> 135 <form name="search" action="<?php echo MWB; ?>master_file/frequency.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> : 136 <input type="text" name="keywords" size="30" />agreement.php https://gitlab.com/alexprowars/bitrix | PHP | 585 lines
1<?php 2/** 343 344 return ($this->isAgreementTextHtml ? strip_tags($text) : $text); 345 }coll_type.php https://github.com/awriel/s3st15_matoa.git | PHP | 237 lines
1<?php 2/** 36require SENAYAN_BASE_DIR.'admin/default/session_check.inc.php'; 37require SIMBIO_BASE_DIR.'simbio_GUI/table/simbio_table.inc.php'; 38require SIMBIO_BASE_DIR.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 38require SIMBIO_BASE_DIR.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 39require SIMBIO_BASE_DIR.'simbio_GUI/paging/simbio_paging.inc.php'; 40require SIMBIO_BASE_DIR.'simbio_DB/datagrid/simbio_dbgrid.inc.php'; 132 utility::jsAlert(__('All Data Successfully Deleted')); 133 echo '<script type="text/javascript">parent.jQuery(\'#mainContent\').simbioAJAX(\''.$_SERVER['PHP_SELF'].'?'.$_POST['lastQueryStr'].'\');</script>'; 134 } else { 145<div class="menuBoxInner masterFileIcon"> 146 <?php echo strtoupper(__('Collection Type')); ?> - <a href="<?php echo MODULES_WEB_ROOT_DIR; ?>master_file/coll_type.php?action=detail" class="headerText2"><?php echo __('Add New Collection Type'); ?></a> 147 <a href="<?php echo MODULES_WEB_ROOT_DIR; ?>master_file/coll_type.php" class="headerText2"><?php echo __('Collection Type List'); ?></a> 148 <hr /> 149 <form name="search" action="<?php echo MODULES_WEB_ROOT_DIR; ?>master_file/coll_type.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> : 150 <input type="text" name="keywords" size="30" />Trackback.php https://gitlab.com/bipsahu/ptcs | PHP | 548 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 * 77 break; 78 case 'excerpt' : $$item = $this->limit_characters($this->convert_xml(strip_tags(stripslashes($tb_data[$item])))); 79 break; 79 break; 80 case 'url' : $$item = str_replace('-', '-', $this->convert_xml(strip_tags(stripslashes($tb_data[$item])))); 81 break; 81 break; 82 default : $$item = $this->convert_xml(strip_tags(stripslashes($tb_data[$item]))); 83 break; 154 155 $_POST[$val] = ($val != 'url') ? $this->convert_xml(strip_tags($_POST[$val])) : strip_tags($_POST[$val]); 156Birthday.php https://gitlab.com/Sajibcse/ATOMIC_PROJECT_SEIP143979_SAJIB_B37 | PHP | 402 lines
1<?php 2/** 2/** 3 * Created by PhpStorm. 4 * User: DELL 105 Message::message("<div id='msg'></div><h3 align='center'> <br> Data Hasn't Been Updated !</h3></div>"); 106 Utility::redirect('index.php'); 107 121 Message::message("<div id='msg'></div><h3 align='center'> <br> Data Hasn't Been Inserted !</h3></div>"); 122 Utility::redirect('index.php'); 123 142 Message::message("<div id='msg'></div><h3 align='center'> <br> Data Hasn't Been Inserted !</h3></div>"); 143 Utility::redirect('index.php'); 144 165 Message::message("<div id='msg'></div><h3 align='center'> <br> Data Hasn't Been trashed !</h3></div>"); 166 Utility::redirect('index.php'); 167index.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 428 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 25 26require('../../config.php'); 27require_once($CFG->libdir . '/completionlib.php'); 66 67$url = new moodle_url('/report/progress/index.php', array('course'=>$id)); 68if ($sort !== '') { 92// nothing to display (no users or no activities) 93$reportsurl = $CFG->wwwroot.'/course/report.php?id='.$course->id; 94$completion = new completion_info($course); 135 header('Content-Disposition: attachment; filename=progress.'. 136 preg_replace('/[^a-z0-9-]/','_',textlib::strtolower(strip_tags($shortname))).'.csv'); 137 // Unicode byte-order mark for Excel 326 if ($csv) { 327 print $sep.csv_quote(strip_tags($activity->name)).$sep.csv_quote($datetext); 328 } else {overview_table.php https://github.com/kpike/moodle.git | PHP | 349 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 76 'sumgrades' => $this->format_average($record), 77 'feedbacktext'=> strip_tags(quiz_report_feedback_for_grade( 78 $record->grade, $this->quiz->id, $this->context))); 92 'sumgrades' => $this->format_average($record), 93 'feedbacktext'=> strip_tags(quiz_report_feedback_for_grade( 94 $record->grade, $this->quiz->id, $this->context))); 221 } 222 return html_writer::link(new moodle_url('/mod/quiz/review.php', 223 array('attempt' => $attempt->attempt)), $grade, 229 * @param object $attempt the row of data - see the SQL in display() in 230 * mod/quiz/report/overview/report.php to see what fields are present, 231 * and what they are called.Html.php https://github.com/premiumcombination/nts.git | PHP | 602 lines
1<?php 2 301 { 302 return html_entity_decode(strip_tags($this->getHtml()), ENT_QUOTES, 'UTF-8'); 303 }BootstrapFormHelper.php https://bitbucket.org/vsposato/vivo-tools.git | PHP | 405 lines
1<?php 2App::uses('FormHelper', 'View/Helper'); 137 foreach ($out as $key => &$_out) { 138 $input = strip_tags($_out, '<input><img>'); 139 if ($input) {sanitizing_filters.cpp https://gitlab.com/iranjith4/hhvm | C++ | 329 lines
157 158Variant php_filter_string(PHP_INPUT_FILTER_PARAM_DECL) { 159 unsigned char enc[256] = {0}; 280 281Variant php_filter_url(PHP_INPUT_FILTER_PARAM_DECL) { 282 /* Strip all chars not part of section 5 of 292 293Variant php_filter_number_int(PHP_INPUT_FILTER_PARAM_DECL) { 294 /* strip everything [^0-9+-] */ 302 303Variant php_filter_number_float(PHP_INPUT_FILTER_PARAM_DECL) { 304 /* strip everything [^0-9+-] */ 323 324Variant php_filter_magic_quotes(PHP_INPUT_FILTER_PARAM_DECL) { 325 /* just call addslashes quotes */edit.php https://github.com/yacs/yacs.git | PHP | 341 lines
1<?php 2/** 14 * 15 * This script attempts to validate the new or updated article description against a standard PHP XML parser. 16 * The objective is to spot malformed or unordered HTML and XHTML tags. No more, no less. 23 * Accepted calls: 24 * - edit.php?anchor=<type>:<id> add a new location for the anchor 25 * - edit.php/<id> modify an existing location 25 * - edit.php/<id> modify an existing location 26 * - edit.php?id=<id> modify an existing location 27 * 40// common definitions and initial processing 41include_once '../shared/global.php'; 42include_once 'locations.php'; 97} elseif(!Surfer::is_logged()) 98 Safe::redirect($context['url_to_home'].$context['url_to_root'].'users/login.php?url='.urlencode('locations/edit.php?id='.$id.'&anchor='.$_REQUEST['anchor'])); 99ForumController.php https://gitlab.com/wuhang2003/phpwind | PHP | 350 lines
1<?php 2 8 * @author Jianmin Chen <sky_hold@163.com> 9 * @license http://www.phpwind.com 10 * @version $Id: ForumController.php 28803 2013-05-24 07:58:21Z jieyin $ 137 explode(',', $forums[$k]['allow_post'])))) { 138 $tmp[] = array($k, strip_tags($v)); 139 } 141 if ($tmp) { 142 $cate[] = array($value['fid'], strip_tags($value['name'])); 143 $forum[$value['fid']] = $tmp; 150 if (!$key) continue; 151 $tmp[] = array($key, strip_tags($forums[$key]['name'])); 152 } 215 foreach ($topictypes['topic_types'] as $key => $value) { 216 $tmp = array('title' => strip_tags($value['name']), 'val' => $value['id']); 217 if (isset($topictypes['sub_topic_types'][$value['id']])) {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 = [ 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. 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 = [ 102 // Ensures that when multiple handlers are selected, the output produced by 103 // every handler is shown on the site in case of php errors. 104 $edit = [ 127 // Ensures that setting the error reporting to all the output produced by 128 // handlers is shown on the site in case of php errors. 129 $config->set('error_level', ERROR_REPORTING_DISPLAY_ALL)->save();search.tools.php https://github.com/tedkulp/cmsmadesimple-2-0.git | PHP | 372 lines
1<?php 2#CMS - CMS Made Simple 27 28 // strip out html and php stuff 29 $phrase = strip_tags($phrase);test.php https://github.com/jmarc06/yacs.git | PHP | 284 lines
28 * 29 * @see codes/index.php 30 * 120if(isset($skin) && Surfer::is_associate()) 121 $context['page_menu'] += array( 'skins/edit.php?skin='.$skin => i18n::s('Edit this theme') ); 122 127if(isset($skin) && Surfer::is_associate()) 128 $context['page_menu'] += array('control/configure.php?parameter=skin&value=skins/'.$skin => i18n::s('Use this theme')); 129 212 .'<li>[script]skins/test.php[/script]</li>'."\n" 213 .'<li>'.Skin::build_link('skins/test.php', 'skins/test.php', 'shortcut').'</li>'."\n" 214 .'<li>'.Skin::strip(DUMMY_TEXT, 7, 'skins/test.php').'</li>'."\n" 263 264// $context['text'] - with gadgets -- see index.php and sections/view.php 265$text .= "\n".'<p id="gadgets_prefix"> </p>'."\n"Dumper.php https://gitlab.com/vanafroo/landingpage | PHP | 353 lines
1<?php 2 53 { 54 if (PHP_SAPI !== 'cli' && !preg_match('#^Content-Type: (?!text/html)#im', implode("\n", headers_list()))) { 55 echo self::toHtml($var, $options); 92 { 93 return htmlspecialchars_decode(strip_tags(self::toHtml($var, $options)), ENT_QUOTES); 94 } 102 { 103 return htmlspecialchars_decode(strip_tags(preg_replace_callback('#<span class="tracy-dump-(\w+)">|</span>#', function ($m) { 104 return "\033[" . (isset($m[1], Dumper::$terminalColors[$m[1]]) ? Dumper::$terminalColors[$m[1]] : '0') . 'm'; 310 { 311 foreach (debug_backtrace(PHP_VERSION_ID >= 50306 ? DEBUG_BACKTRACE_IGNORE_ARGS : FALSE) as $item) { 312 if (isset($item['class']) && $item['class'] === __CLASS__) {%%02^025^025A8906%%reqImport.tpl.php https://github.com/viglesiasce/testlink.git | PHP | 234 lines
1<?php /* Smarty version 2.6.26, created on 2010-09-30 11:59:33 2 compiled from requirements/reqImport.tpl */ ?> 2 compiled from requirements/reqImport.tpl */ ?> 3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); 4smarty_core_load_plugins(array('plugins' => array(array('function', 'lang_get', 'requirements/reqImport.tpl', 15, false),array('function', 'config_load', 'requirements/reqImport.tpl', 33, false),array('modifier', 'basename', 'requirements/reqImport.tpl', 27, false),array('modifier', 'replace', 'requirements/reqImport.tpl', 28, false),array('modifier', 'escape', 'requirements/reqImport.tpl', 41, false),array('modifier', 'strip_tags', 'requirements/reqImport.tpl', 123, false),array('modifier', 'strip', 'requirements/reqImport.tpl', 123, false),array('modifier', 'truncate', 'requirements/reqImport.tpl', 123, false),)), $this); ?> 4smarty_core_load_plugins(array('plugins' => array(array('function', 'lang_get', 'requirements/reqImport.tpl', 15, false),array('function', 'config_load', 'requirements/reqImport.tpl', 33, false),array('modifier', 'basename', 'requirements/reqImport.tpl', 27, false),array('modifier', 'replace', 'requirements/reqImport.tpl', 28, false),array('modifier', 'escape', 'requirements/reqImport.tpl', 41, false),array('modifier', 'strip_tags', 'requirements/reqImport.tpl', 123, false),array('modifier', 'strip', 'requirements/reqImport.tpl', 123, false),array('modifier', 'truncate', 'requirements/reqImport.tpl', 123, false),)), $this); ?> 5<?php echo lang_get_smarty(array('var' => 'labels','s' => 'note_keyword_filter,check_uncheck_all_checkboxes_for_add, 6 th_id,th_test_case,version,scope,check_status,type,doc_id_short, 16 17<?php $this->assign('bn', ((is_array($_tmp='requirements/reqImport.tpl')) ? $this->_run_mod_handler('basename', true, $_tmp) : basename($_tmp))); ?> 18<?php $this->assign('viewer_template', ((is_array($_tmp='requirements/reqImport.tpl')) ? $this->_run_mod_handler('replace', true, $_tmp, ($this->_tpl_vars['bn']), "inc_req_import_viewer.tpl") : smarty_modifier_replace($_tmp, ($this->_tpl_vars['bn']), "inc_req_import_viewer.tpl"))); ?> 19<?php $this->assign('req_module', 'lib/requirements/'); ?> 20<?php $this->assign('url_args', "reqSpecView.php?req_spec_id="); ?> 21<?php $this->assign('req_spec_view_url', ($this->_tpl_vars['basehref']).($this->_tpl_vars['req_module']).($this->_tpl_vars['url_args']).($this->_tpl_vars['gui'])."->req_spec_id"); ?> 171</td> 172 <td><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['import_feedback']['scope'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('strip', true, $_tmp) : smarty_modifier_strip($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, $this->_config[0]['vars']['SCOPE_TRUNCATE']) : smarty_modifier_truncate($_tmp, $this->_config[0]['vars']['SCOPE_TRUNCATE'])); ?> 173</td>checkbase.php https://github.com/brandonburke/WordPress-Plugin-Baseline.git | PHP | 231 lines
1<?php 2// main global to hold our checks 13 // should return true for good/okay/acceptable, false for bad/not-okay/unacceptable 14 public function check( $php_files, $css_files, $other_files ); 15 21$dir = 'checks'; 22foreach (glob(dirname(__FILE__). "/{$dir}/*.php") as $file) { 23 include $file; 25 26function run_themechecks($php, $css, $other) { 27 global $themechecks; 30 if ($check instanceof themecheck) { 31 $pass = $pass & $check->check($php, $css, $other); 32 } 67 if ( defined( 'TC_PRE' ) ) $results = TC_PRE . $results; 68 $results = '<textarea cols=140 rows=20>' . strip_tags( $results ); 69 if ( defined( 'TC_POST' ) ) $results = $results . TC_POST;Arr.php https://bitbucket.org/rybadour/todo_list_site.git | PHP | 625 lines
1<?php defined('SYSPATH') OR die('No direct script access.'); 2/** 360 /** 361 * Recursive version of [array_map](http://php.net/array_map), applies one or more 362 * callbacks to all elements in an array, including sub-arrays. 363 * 364 * // Apply "strip_tags" to every element in the array 365 * $array = Arr::map('strip_tags', $array); 369 * 370 * // Apply strip_tags and $this->filter to every element 371 * $array = Arr::map(array('strip_tags',array($this,'filter')), $array); 415 * 416 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)! 417 *ext_string.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 346 lines
11 | http://www.php.net/license/3_01.txt | 12 | If you did not receive a copy of the PHP license and are unable to | 13 | obtain it through the world-wide-web, please send a note to | 13 | obtain it through the world-wide-web, please send a note to | 14 | license@php.net so we can mail you a copy immediately. | 15 +----------------------------------------------------------------------+ 22#include "hphp/runtime/ext/extension.h" 23#include "hphp/runtime/base/zend-string.h" 24#include "hphp/runtime/base/zend-printf.h" 31 32extern const HPHP::StaticString k_HPHP_TRIM_CHARLIST; 33extern const int64_t k_STR_PAD_RIGHT; 81 const String& str, 82 const String& charlist = k_HPHP_TRIM_CHARLIST); 83Variant HHVM_FUNCTION(explode,Options.php https://github.com/rgranadino/magento-mirror.git | PHP | 219 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) 2011 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 89 $optionNode->addAttribute('type', $type); 90 $optionNode->addAttribute('label', $xmlModel->xmlentities(strip_tags($option->getTitle()))); 91 if ($option->getIsRequire()) { 108 $valueNode->addAttribute('code', $value->getId()); 109 $valueNode->addAttribute('label', $xmlModel->xmlentities(strip_tags($value->getTitle()))); 110filterlib.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 142 /// Strip tags out of the phrase 143 $linkobject->work_phrase = strip_tags($linkobject->phrase); 144 151 /// Strip tags 152 $linkobject->work_replacementphrase = strip_tags($linkobject->replacementphrase); 153 } else { //The replacement is the original phrase as matched belowresult.php https://bitbucket.org/moodle/moodle.git | PHP | 300 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 152 'interactiontype' => $result->interactiontype, 153 'description' => strip_tags($result->description), 154 'rawscore' => $result->rawscore,button-creator-widget.php https://gitlab.com/relacilia/cakra | PHP | 128 lines
88 <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:'); ?></label> 89 <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" /> 90 </p> 93 <?php echo '<img class="button_creator_img" src="'.$mybut_widget_buttonimage.'" width="200"/><br/>';?> 94 <input type="text" class="button_creator_img_input" id="<?php echo $this->get_field_id('mybut_widget_buttonimage'); ?>" name="<?php echo $this->get_field_name('mybut_widget_buttonimage'); ?>" value="<?php echo $mybut_widget_buttonimage; ?>" /><br/> 95 <input type="button" class="button btnctr_meta-button" value="<?php _e( 'Select Image', 'prfx-textdomain' )?>" /> 105 <label for="<?php echo $this->get_field_id('mybut_widget_buttonlink'); ?>"><?php _e('Link (required):'); ?></label> 106 <input id="<?php echo $this->get_field_id('mybut_widget_buttonlink'); ?>" name="<?php echo $this->get_field_name('mybut_widget_buttonlink'); ?>" type="text" value="<?php echo $mybut_widget_buttonlink; ?>" /> 107 </p> 109 <label for="<?php echo $this->get_field_id('mybut_widget_buttontext'); ?>"><?php _e('Button Text:'); ?></label> 110 <input id="<?php echo $this->get_field_id('mybut_widget_buttontext'); ?>" name="<?php echo $this->get_field_name('mybut_widget_buttontext'); ?>" type="text" value="<?php if (empty($mybut_widget_buttontext)){echo 'My Button';}else {echo $mybut_widget_buttontext;} ?>" /> 111 </p> 113 <label for="<?php echo $this->get_field_id('mybut_widget_buttoncolor'); ?>"><?php _e('Link Color:'); ?></label><br/> 114 <input class="my-color-field" id="<?php echo $this->get_field_id('mybut_widget_buttoncolor'); ?>" name="<?php echo $this->get_field_name('mybut_widget_buttoncolor'); ?>" type="text" value="<?php if (empty($mybut_widget_buttoncolor)){echo '#abc261';} else {echo $mybut_widget_buttoncolor; }?>" /> 115 </p>login.inc.php https://github.com/awriel/s3st15_matoa.git | PHP | 199 lines
1<?php 2/** 30if (defined('LIGHTWEIGHT_MODE')) { 31 header('Location: index.php'); 32} 34// required file 35require LIB_DIR.'admin_logon.inc.php'; 36 43if (isset($_COOKIE['admin_logged_in'])) { 44 header('location: admin/index.php'); 45} 51if (isset($_POST['logMeIn'])) { 52 $username = strip_tags($_POST['userName']); 53 $password = strip_tags($_POST['passWord']); 58 simbio_security::destroySessionCookie(null, SENAYAN_MEMBER_SESSION_COOKIES_NAME, SENAYAN_WEB_ROOT_DIR, false); 59 require SENAYAN_BASE_DIR.'admin/default/session.inc.php'; 60 // regenerate session ID to prevent session hijackingpublisher.php https://github.com/awriel/s3st15_matoa.git | PHP | 222 lines
1<?php 2/** 36require SENAYAN_BASE_DIR.'admin/default/session_check.inc.php'; 37require SIMBIO_BASE_DIR.'simbio_GUI/table/simbio_table.inc.php'; 38require SIMBIO_BASE_DIR.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 38require SIMBIO_BASE_DIR.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 39require SIMBIO_BASE_DIR.'simbio_GUI/paging/simbio_paging.inc.php'; 40require SIMBIO_BASE_DIR.'simbio_DB/datagrid/simbio_dbgrid.inc.php'; 112 utility::jsAlert(__('All Data Successfully Deleted')); 113 echo '<script type="text/javascript">parent.jQuery(\'#mainContent\').simbioAJAX(\''.$_SERVER['PHP_SELF'].'?'.$_POST['lastQueryStr'].'\');</script>'; 114 } else { 125<div class="menuBoxInner masterFileIcon"> 126 <?php echo strtoupper(__('Publisher')); ?> - <a href="<?php echo MODULES_WEB_ROOT_DIR; ?>master_file/publisher.php?action=detail" class="headerText2"><?php echo __('Add New Publisher'); ?></a> 127 <a href="<?php echo MODULES_WEB_ROOT_DIR; ?>master_file/publisher.php" class="headerText2"><?php echo __('Publisher List'); ?></a> 128 <hr /> 129 <form name="search" action="<?php echo MODULES_WEB_ROOT_DIR; ?>master_file/publisher.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> : 130 <input type="text" name="keywords" size="30" />general.lib.php https://gitlab.com/x33n/ampache | PHP | 379 lines
1<?php 2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */ 24 * set_memory_limit 25 * This function attempts to change the php memory limit using init_set. 26 * Will never reduce it below the current setting. 76 if (!is_array($input)) { 77 return stripslashes(htmlspecialchars(strip_tags($input), ENT_QUOTES, AmpConfig::get('site_charset'))); 78 } else { 115{ 116 if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { 117 return '"' . str_replace(array('"', '%'), array('', ''), $arg) . '"'; 125 * This takes a value and returns what we consider to be the correct boolean 126 * value. We need a special function because PHP considers "false" to be true. 127 */ 280 // Start building the new config file 281 $distfile = AmpConfig::get('prefix') . '/config/ampache.cfg.php.dist'; 282 $handle = fopen($distfile,'r');index.php https://github.com/buitenzorg812/s3st15_matoa.git | PHP | 257 lines
1<?php 2/** 30 // main system configuration 31 require '../../../sysconfig.inc.php'; 32 // start the session 32 // start the session 33 require SENAYAN_BASE_DIR.'admin/default/session.inc.php'; 34} 35// IP based access limitation 36require LIB_DIR.'ip_based_access.inc.php'; 37do_checkIP('smc'); 41if ($_SESSION['uid'] != 1) { 42 header('Location: '.MODULES_WEB_ROOT_DIR.'system/content.php'); 43 die(); 45 46require SENAYAN_BASE_DIR.'admin/default/session_check.inc.php'; 47require SIMBIO_BASE_DIR.'simbio_FILE/simbio_directory.inc.php';widget-nav-menu.php https://github.com/konscript/schroderpartners.git | PHP | 224 lines
166 <?php foreach ( $container as $option ) { ?> 167 <option value="<?php echo esc_attr( $option ); ?>" <?php selected( $instance['container'], $option ); ?>><?php echo esc_html( $option ); ?></option> 168 <?php } ?> 172 <label for="<?php echo $this->get_field_id( 'container_id' ); ?>"><code>container_id</code></label> 173 <input type="text" class="smallfat code" id="<?php echo $this->get_field_id( 'container_id' ); ?>" name="<?php echo $this->get_field_name( 'container_id' ); ?>" value="<?php echo esc_attr( $instance['container_id'] ); ?>" /> 174 </p> 184 <label for="<?php echo $this->get_field_id( 'menu_class' ); ?>"><code>menu_class</code></label> 185 <input type="text" class="smallfat code" id="<?php echo $this->get_field_id( 'menu_class' ); ?>" name="<?php echo $this->get_field_name( 'menu_class' ); ?>" value="<?php echo esc_attr( $instance['menu_class'] ); ?>" /> 186 </p> 203 <label for="<?php echo $this->get_field_id( 'link_before' ); ?>"><code>link_before</code></label> 204 <input type="text" class="smallfat code" id="<?php echo $this->get_field_id( 'link_before' ); ?>" name="<?php echo $this->get_field_name( 'link_before' ); ?>" value="<?php echo esc_attr( $instance['link_before'] ); ?>" /> 205 </p> 207 <label for="<?php echo $this->get_field_id( 'link_after' ); ?>"><code>link_after</code></label> 208 <input type="text" class="smallfat code" id="<?php echo $this->get_field_id( 'link_after' ); ?>" name="<?php echo $this->get_field_name( 'link_after' ); ?>" value="<?php echo esc_attr( $instance['link_after'] ); ?>" /> 209 </p>start.php https://github.com/melvincarvalho/foafme.git | PHP | 338 lines
1<?php 2 30 if (get_context() == "messages") { 31 add_submenu_item(elgg_echo('messages:compose'), $CONFIG->wwwroot . "mod/messages/send.php"); 32 add_submenu_item(elgg_echo('messages:inbox'), $CONFIG->wwwroot . "pg/messages/" . $_SESSION['user']->username); 32 add_submenu_item(elgg_echo('messages:inbox'), $CONFIG->wwwroot . "pg/messages/" . $_SESSION['user']->username); 33 add_submenu_item(elgg_echo('messages:sentmessages'), $CONFIG->wwwroot . "mod/messages/sent.php"); 34 } 119 get_loggedin_user()->name, 120 strip_tags($parameters['entity']->description), 121 $CONFIG->wwwroot . "pg/messages/" . $user->username, 122 get_loggedin_user()->name, 123 $CONFIG->wwwroot . "mod/messages/send.php?send_to=" . get_loggedin_user()->guid 124 ); 232 global $CONFIG; 233 $message_contents = strip_tags($body); 234 if ($send_to != get_loggedin_user() && $notify)class-vc-grid-item.php https://gitlab.com/rubengrb/ws.vidrialum | PHP | 363 lines
1<?php 2if ( ! defined( 'ABSPATH' ) ) { 28 if ( false === $this->shortcodes ) { 29 $this->shortcodes = include vc_path_dir( 'PARAMS_DIR', 'vc_grid_item/shortcodes.php' ); 30 $this->shortcodes = apply_filters( 'vc_grid_item_shortcodes', $this->shortcodes ); 54 public function addVcIconShortcodesTemplates( $template ) { 55 $file = vc_path_dir( 'TEMPLATES_DIR', 'params/vc_grid_item/shortcodes/vc_icon.php' ); 56 if ( is_file( $file ) ) { 70 public function addVcButton2ShortcodesTemplates( $template ) { 71 $file = vc_path_dir( 'TEMPLATES_DIR', 'params/vc_grid_item/shortcodes/vc_button2.php' ); 72 if ( is_file( $file ) ) { 86 public function addVcSingleImageShortcodesTemplates( $template ) { 87 $file = vc_path_dir( 'TEMPLATES_DIR', 'params/vc_grid_item/shortcodes/vc_single_image.php' ); 88 if ( is_file( $file ) ) { 103 public function addVcCustomHeadingShortcodesTemplates( $template ) { 104 $file = vc_path_dir( 'TEMPLATES_DIR', 'params/vc_grid_item/shortcodes/vc_custom_heading.php' ); 105 if ( is_file( $file ) ) {PwForumService.php https://gitlab.com/wuhang2003/phpwind | PHP | 279 lines
1<?php 2defined('WEKIT_VERSION') || exit('Forbidden'); 11 * @author Jianmin Chen <sky_hold@163.com> 12 * @license http://www.phpwind.com 13 * @version $Id: PwForumService.php 24758 2013-02-20 06:55:42Z jieyin $ 166 foreach ($option_arr as $key => $value) { 167 $option_html .= '<option value="' . $key . '"' . (in_array($key, $selected) ? ' selected' : '') . '>' . strip_tags($value) . '</option>'; 168 }product.class.php https://gitlab.com/leobelizquierdo/cabotsubmitter-wordpress | PHP | 273 lines
1<?php if ( __FILE__ == $_SERVER['SCRIPT_FILENAME'] ) die( header( 'Location: /') ); 2 154 public static function formatted_price($price) { 155 return strip_tags( wc_price( $price ) ); 156 } 229 $_product = $order->get_product_from_item($item); 230 $template = QSOT_Templates::locate_woo_template( 'meta-boxes/views/html-order-item.php', 'admin' ); 231 if ( $template ) 236 case 'fee' : 237 $template = QSOT_Templates::locate_woo_template( 'meta-boxes/views/html-order-fee.php', 'admin' ); 238 if ( $template ) 243 case 'shipping' : 244 $template = QSOT_Templates::locate_woo_template( 'meta-boxes/views/html-order-shipping.php', 'admin' ); 245 if ( $template ) 250 case 'tax' : 251 $template = QSOT_Templates::locate_woo_template( 'meta-boxes/views/html-order-tax.php', 'admin' ); 252 if ( $template )widget-login-form.php https://bitbucket.org/akeda/bmw-id-hris.git | PHP | 262 lines
193 <label for="<?php echo $this->get_field_id( 'label_password' ); ?>"><code>label_password</code></label> 194 <input type="text" class="widefat code" id="<?php echo $this->get_field_id( 'label_password' ); ?>" name="<?php echo $this->get_field_name( 'label_password' ); ?>" value="<?php echo $instance['label_password']; ?>" /> 195 </p> 225 <label for="<?php echo $this->get_field_id( 'id_submit' ); ?>"><code>id_submit</code></label> 226 <input type="text" class="widefat code" id="<?php echo $this->get_field_id( 'id_submit' ); ?>" name="<?php echo $this->get_field_name( 'id_submit' ); ?>" value="<?php echo $instance['id_submit']; ?>" /> 227 </p> 242 <label for="<?php echo $this->get_field_id( 'show_avatar' ); ?>"> 243 <input class="checkbox" type="checkbox" <?php checked( $instance['show_avatar'], true ); ?> id="<?php echo $this->get_field_id( 'show_avatar' ); ?>" name="<?php echo $this->get_field_name( 'show_avatar' ); ?>" /> <?php _e('Display avatar?', 'widgets-reloaded'); ?></label> 244 </p> 246 <label for="<?php echo $this->get_field_id( 'logged_out_text' ); ?>"><?php _e( 'Logged out text:', 'members' ); ?></label> 247 <textarea class="widefat" rows="2" cols="20" id="<?php echo $this->get_field_id( 'logged_out_text' ); ?>" name="<?php echo $this->get_field_name('logged_out_text'); ?>" style="width:100%;"><?php echo $logged_out_text; ?></textarea> 248 </p> 251 <label for="<?php echo $this->get_field_id( 'logged_in_text' ); ?>"><?php _e( 'Logged in text:', 'members' ); ?></label> 252 <textarea class="widefat" rows="2" cols="20" id="<?php echo $this->get_field_id( 'logged_in_text' ); ?>" name="<?php echo $this->get_field_name('logged_in_text'); ?>" style="width:100%;"><?php echo $logged_in_text; ?></textarea> 253 </p>glossary_document.php https://github.com/200896596/moodle.git | PHP | 287 lines
1<?php 2/** 17* Functions for iterating and retrieving the necessary records are now also included 18* in this file, rather than mod/glossary/lib.php 19* 24*/ 25require_once($CFG->dirroot.'/search/documents/document.php'); 26 51 $doc->author = ($user ) ? $user->firstname.' '.$user->lastname : '' ; 52 $doc->contents = strip_tags($entry['definition']); 53 $doc->url = glossary_make_link($entry['id']); 87 $doc->author = ($user ) ? $user->firstname.' '.$user->lastname : '' ; 88 $doc->contents = strip_tags($entry['content']); 89 $doc->url = glossary_make_link($entry['itemid']); 106 global $CFG; 107 require_once($CFG->dirroot.'/search/querylib.php'); 108mod.mailinglist.php https://bitbucket.org/mbaily/tremain.git | PHP | 532 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 143 $email = ee()->input->get_post('email'); 144 $email = trim(strip_tags($email)); 145 $list = ee()->input->post('list'); 530 531/* End of file mod.mailinglist.php */ 532/* Location: ./system/expressionengine/modules/mailinglist/mod.mailinglist.php */default.php https://gitlab.com/staging06/myproject | PHP | 171 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/afl-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/afl-3.0.php Academic Free License (AFL 3.0) 24* International Registered Trademark & Property of PrestaShop SA 27// Include Module 28include_once(dirname(__FILE__).'/../../productcomments.php'); 29// Include Models 29// Include Models 30include_once(dirname(__FILE__).'/../../ProductComment.php'); 31include_once(dirname(__FILE__).'/../../ProductCommentCriterion.php'); 98 $comment = new ProductComment(); 99 $comment->content = strip_tags(Tools::getValue('content')); 100 $comment->id_product = (int)Tools::getValue('id_product');helpers.php https://gitlab.com/VTTE/sitios-vtte | PHP | 312 lines
1<?php 2use GutenPress\Forms; 78 $request = new WP_Http; 79 $result = $request->request( 'http://vimeo.com/api/v2/video/'.$id.'.php' , $args ); 80 //$iframe='<iframe src="http://player.vimeo.com/video/'.$id.'?title=0&byline=0&portrait=0" width="'.$width.'" height="'.$height.'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'; 134 $excerpt = strip_shortcodes($post); 135 $excerpt = strip_tags($excerpt); 136 if ( strlen($excerpt) > $params['length'] ) { 178 if ( strlen($str) > $n ) { 179 $out = substr( strip_tags($str), 0, $n ); 180 $out = explode(" ",$out); 227/* 228 Super PHP Plugin to add Full SVG Media support to WordPress 229 Author URI: http://www.lewiscowles.co.uk/ 235 236 add_action( 'load-post.php', [ $this, 'add_editor_styles' ] ); 237 add_action( 'load-post-new.php', [ $this, 'add_editor_styles' ] );Summary_Of_Organization.php https://gitlab.com/rahad777/atomic_project_Rahad_143368_B36 | PHP | 273 lines
1<?php 2namespace App\Summary_Of_Organization; 44 Message::message("Failed! DATA HAS not BEEN INSERTED SUCCESSFULLY"); 45 Utility::redirect('create.php'); 46 } 90 91 Utility::redirect('create.php'); 92 101 102 Utility::redirect('create.php'); 103 114 115 Utility::redirect('create.php'); 116 149 150 Utility::redirect('create.php'); 151training_partner_game_update.php https://bitbucket.org/itoxable/chiron-gaming.git | PHP | 264 lines
1<?php 2/*******************************************************************************/ 6 7include('general_include.php'); 8include"checklogin.php"; 35 $err_msgs .= $AdminManagerObjAjax->DuplicateCheck(TABLEPREFIX."_user_game","game_id",$game_id,"Game","user_game_id",$user_game_id,"user_id",$u_id,"user_type_id",3); 36 /*$err_msgs .=$AdminManagerObjAjax->Validate(strip_tags($ladder_id),"Ladder","EMP",$type=""); 37 $err_msgs .=$AdminManagerObjAjax->Validate(strip_tags($race_id),"Race","EMP",$type=""); 37 $err_msgs .=$AdminManagerObjAjax->Validate(strip_tags($race_id),"Race","EMP",$type=""); 38 $err_msgs .=$AdminManagerObjAjax->Validate(strip_tags($server_id),"Server","EMP",$type="");*/ 39 /* Error Checking Ends */ 112 } 113 echo "<script>window.location.href='training_partner_gamemanager.php?messg=".$msgreport."&u_id=".$u_id."&IsPreserved=Y'</script>"; 114 exit;attribute.php https://gitlab.com/hazelnuts23/unitedfoodstuff | PHP | 432 lines
1<?php 2class ControllerCatalogAttribute extends Controller { 414 'attribute_id' => $result['attribute_id'], 415 'name' => strip_tags(html_entity_decode($result['name'], ENT_QUOTES, 'UTF-8')), 416 'attribute_group' => $result['attribute_group']lib.php https://github.com/cmiic/moodle.git | PHP | 340 lines
1<?php 2 36function get_label_name($label) { 37 $name = strip_tags(format_string($label->intro,true)); 38 if (core_text::strlen($name) > LABEL_MAX_NAME_LENGTH) { 50 * Given an object containing all the necessary data, 51 * (defined by the form in mod_form.php) this function 52 * will create a new instance and return the id number 69 * Given an object containing all the necessary data, 70 * (defined by the form in mod_form.php) this function 71 * will update an existing instance with new data. 115 * this activity in a course listing. 116 * See get_array_of_activities() in course/lib.php 117 * 291 if ($mimetype === 'image/gif' or $mimetype === 'image/jpeg' or $mimetype === 'image/png') { 292 require_once($CFG->libdir.'/gdlib.php'); 293 $data = $file->generate_image_thumbnail($width, $height);City.php https://gitlab.com/Nilufarjahan/LabExam8 | PHP | 268 lines
1<?php 2namespace App\City; 54 Message::message("<div id='msg'></div><h5 align='center'>[ Name: $this->name ] ,[ Country: $this->country ], [ City: $this->city ] <br> Data Has not Been Inserted Successfully!</h5></div>"); 55 Utility::redirect('create.php'); 56 101 102 Utility::redirect('index.php'); 103 117 118 Utility::redirect('index.php'); 119 137 138 Utility::redirect('index.php'); 139 149 150 Utility::redirect('trashed.php'); 151save.php https://github.com/kronda/kronda.git | PHP | 253 lines
1<?php 2/** 8 * @copyright Copyright (c) 2013, Thomas Griffin 9 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 10 */ 117 if ( empty( $this->meta['name']['placeholder'] ) ) 118 $this->meta['name']['placeholder'] = isset( $this->data['optin_name_placeholder'] ) ? strip_tags( esc_attr( $this->data['optin_name_placeholder'] ) ) : ''; 119 else 119 else 120 $this->meta['name']['placeholder'] = isset( $this->data['optin_name_placeholder'] ) ? strip_tags( esc_attr( $this->data['optin_name_placeholder'] ) ) : $this->meta['name']['placeholder']; 121 142 if ( empty( $this->meta['email']['placeholder'] ) ) 143 $this->meta['email']['placeholder'] = isset( $this->data['optin_email_placeholder'] ) ? strip_tags( esc_attr( $this->data['optin_email_placeholder'] ) ) : ''; 144 else 144 else 145 $this->meta['email']['placeholder'] = isset( $this->data['optin_email_placeholder'] ) ? strip_tags( esc_attr( $this->data['optin_email_placeholder'] ) ) : $this->meta['email']['placeholder']; 146members_manage.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 284 lines
1<?php 2/************************************************************************************************** 14 15include("../include/config.php"); 16include_once("../include/functions/import.php"); 140$toid = intval($_REQUEST['toid']); 141$username = htmlentities(strip_tags($_REQUEST['username']), ENT_COMPAT, "UTF-8"); 142$email = htmlentities(strip_tags($_REQUEST['email']), ENT_COMPAT, "UTF-8"); 142$email = htmlentities(strip_tags($_REQUEST['email']), ENT_COMPAT, "UTF-8"); 143$verified = htmlentities(strip_tags($_REQUEST['verified']), ENT_COMPAT, "UTF-8"); 144$status = htmlentities(strip_tags($_REQUEST['status']), ENT_COMPAT, "UTF-8"); 236 { 237 $pagelinks.="<a href='$adminurl/members_manage.php?page=1$add1' title='first page'>First</a> "; 238 $pagelinks.="<a href='$adminurl/members_manage.php?page=$theprevpage$add1'>Previous</a> "; 244 { 245 $pagelinks.="<a href='$adminurl/members_manage.php?page=$lowercount$add1'>$lowercount</a> "; 246 $lowercount++;widgets.php https://gitlab.com/rayfrek/wordpress.tm | PHP | 278 lines
153 <label for="<?php echo $this->get_field_name('title'); ?>"><?php _e( 'Title:', 'book-review-library' ); ?></label> 154 <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /> 155 <span class="description"><?php _e('The title that displays above the widget.', 'book-review-library'); ?></span> 158 <label for="<?php echo $this->get_field_name('count'); ?>"><?php _e( 'Count:', 'book-review-library' ); ?></label> 159 <input id="<?php echo $this->get_field_id('count'); ?>" name="<?php echo $this->get_field_name('count'); ?>" type="text" value="<?php echo esc_attr( $count ); ?>" size="3" /><br /> 160 <span class="description"><?php _e( 'How many reviews to display.','book-review-library'); ?></span> 253 <label for="<?php echo $this->get_field_name('title'); ?>"><?php _e( 'Title:', 'book-review-library' ); ?></label> 254 <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /> 255 <span class="description"><?php _e('The title that displays above the widget.', 'book-review-library'); ?></span> 258 <label for="<?php echo $this->get_field_name('count'); ?>"><?php _e( 'Count:', 'book-review-library' ); ?></label> 259 <input id="<?php echo $this->get_field_id('count'); ?>" name="<?php echo $this->get_field_name('count'); ?>" type="text" value="<?php echo esc_attr( $count ); ?>" size="3" /><br /> 260 <span class="description"><?php _e( 'How many reviews to display.','book-review-library'); ?></span> 262 <p> 263 <label for="<?php echo $this->get_field_name('image'); ?>"><?php _e( 'Display Images:', 'book-review-library' ); ?></label> 264 <?php echo the_select_box($this->get_field_name('image'), $values, $instance['image']); ?><br />Trackback.php https://github.com/dchill42/CodeIgniter.git | PHP | 539 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 5.2.4 or newer 6 * 120 break; 121 case 'excerpt' : $$item = $this->limit_characters($this->convert_xml(strip_tags(stripslashes($tb_data[$item])))); 122 break; 122 break; 123 case 'url' : $$item = str_replace('-', '-', $this->convert_xml(strip_tags(stripslashes($tb_data[$item])))); 124 break; 124 break; 125 default : $$item = $this->convert_xml(strip_tags(stripslashes($tb_data[$item]))); 126 break; 186 187 $_POST[$val] = ($val !== 'url') ? $this->convert_xml(strip_tags($_POST[$val])) : strip_tags($_POST[$val]); 188format.php https://github.com/bobpuffer/1.9.12-LAE1.3.git | PHP | 287 lines
1<?php // $Id: format.php 542 2011-04-20 16:55:45Z dlandau $ 2 // Display the whole course as "weeks" made of of modules 2 // Display the whole course as "weeks" made of of modules 3 // Included from "view.php" 4 4 5 require_once($CFG->libdir.'/ajax/ajaxlib.php'); 6 9 // Bounds for block widths 10 // more flexible for theme designers taken from theme config.php 11 $lmin = (empty($THEME->block_l_min_width)) ? 100 : $THEME->block_l_min_width; 86 if (ismoving($course->id)) { 87 $stractivityclipboard = strip_tags(get_string('activityclipboard', '', addslashes($USER->activitycopyname))); 88 $strcancel= get_string('cancel'); 90 echo '<td colspan="3">'; 91 echo $stractivityclipboard.' (<a href="mod.php?cancelcopy=true&sesskey='.$USER->sesskey.'">'.$strcancel.'</a>)'; 92 echo '</td>';single.php https://gitlab.com/farkbarn/hcudamp | PHP | 176 lines
89 <li> 90 <a href="<?php echo get_home_url(); ?>" title="<?php _e('Home', 'gymbase'); ?>"> 91 <?php _e('Home', 'gymbase'); ?> 109 <div class="first_row"> 110 <?php the_time("d"); ?><span class="second_row"><?php echo strtoupper(date_i18n("M", get_the_time())); ?></span> 111 </div> 111 </div> 112 <a class="comments_number" href="<?php comments_link(); ?>" title="<?php comments_number('0 ' . __('Comments', 'gymbase')); ?>"> 113 <?php comments_number('0 ' . __('Comments', 'gymbase')); ?> 137 <ul class="categories"> 138 <li class="posted_by"><?php _e('Posted by', 'gymbase'); echo " "; if(get_the_author_meta("user_url")!=""):?><a class="author" href="<?php the_author_meta("user_url"); ?>" title="<?php the_author(); ?>"><?php the_author(); ?></a><?php else: the_author(); endif; ?></li> 139 <?php 144 <li> 145 <a href="<?php echo get_category_link($category->term_id ); ?>" title="<?php echo (empty($category->description) ? sprintf(__('View all posts filed under %s', 'gymbase'), $category->name) : esc_attr(strip_tags(apply_filters('category_description', $category->description, $category)))); ?>"> 146 <?php echo $category->name; ?>frequency.php https://github.com/masir/ucs-2.0.git | PHP | 234 lines
30require SIMBIO_BASE_DIR.'simbio_GUI/table/simbio_table.inc.php'; 31require SIMBIO_BASE_DIR.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 32require SIMBIO_BASE_DIR.'simbio_GUI/paging/simbio_paging.inc.php'; 52 $data['frequency'] = $dbs->escape_string($frequency); 53 $data['language_prefix'] = $dbs->escape_string(strip_tags(trim($_POST['languagePrefix']))); 54 $data['time_increment'] = $dbs->escape_string(strip_tags(trim($_POST['timeIncrement']))); 54 $data['time_increment'] = $dbs->escape_string(strip_tags(trim($_POST['timeIncrement']))); 55 $data['time_unit'] = $dbs->escape_string(strip_tags(trim($_POST['timeUnit']))); 56 $data['input_date'] = date('Y-m-d'); 120<div class="menuBoxInner masterFileIcon"> 121 <?php echo strtoupper(__('Frequency')); ?> - <a href="<?php echo MODULES_WEB_ROOT_DIR; ?>master_file/frequency.php?action=detail" class="headerText2"><?php echo __('Add New Frequency'); ?></a> 122 <a href="<?php echo MODULES_WEB_ROOT_DIR; ?>master_file/frequency.php" class="headerText2"><?php echo __('Frequency Available'); ?></a> 123 <hr /> 124 <form name="search" action="<?php echo MODULES_WEB_ROOT_DIR; ?>master_file/frequency.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> : 125 <input type="text" name="keywords" size="30" />wiki.php https://bitbucket.org/eithansmith/waka-wiki.git | PHP | 499 lines
1<?php 2 10 11 require_once 'loader.php'; 12 $this->_loader = new Loader($this->_template); 400 $string = htmlentities($string); 401 $string = strip_tags($string); 402 $string = trim($string);functions.php https://github.com/trains58554/osclass-themes.git | PHP | 210 lines
1<?php 2 /* 48 <ul> 49 <li><a href="' . osc_admin_render_theme_url('oc-content/themes/newcorp/admin/settings.php') . '">» '.__('Settings theme', 'newcorp').'</a></li> 50 </ul>'; 177 case('page'): 178 return osc_highlight(strip_tags(osc_static_page_text()), 140); 179 break; 187 if(osc_has_items ()) { 188 $result = osc_item_category() . ', ' . osc_highlight(strip_tags(osc_item_description()), 140) . '..., ' . osc_item_category(); 189 } 200 if(osc_has_latest_items()) { 201 $result = osc_item_category() . ', ' . osc_highlight(strip_tags(osc_item_description()), 140) . '..., ' . osc_item_category(); 202 }header.php https://gitlab.com/diva-lab/essam-labs | PHP | 176 lines
68 <meta property="og:type" content="website" /> 69 <meta property="og:title" content="<?php echo $website_new_title;?>" /> 70 <meta property="og:description" content="<?php echo $define_general_setting->description;?>" /> 91 <div class='col-md-12 logo'><!--logo--> 92 <a href='index.php?lang=<?php echo $lang ; ?>'><img src='main/images/logo.png' alt=''></a> 93 </div><!--end logo--> 96 <ul class='col-md-12 social-icons'><!--social-icons--> 97 <?php 98 // start implementation of social menu links and listing all of them 120 ?> 121 <li><a href="<?php if($lang=='en'){echo $url_ar ;}else{echo $url_en ;} ?>" class="btn language"><?php echo $translate_lang ; ?></a></li> 122 </ul><!--end social-icons--> 128 <ul class='col-md-7'> 129 <li><a href="index.php?lang=<?php echo $lang ; ?>"><?php if($lang=='ar'){echo "الرئيسيه";}else{echo "Home" ; } ?></a></li> 130 <?phpattribute.php https://bitbucket.org/elena_dyavolova/omf.git | PHP | 446 lines
1<?php 2class ControllerCatalogAttribute extends Controller { 428 'attribute_id' => $result['attribute_id'], 429 'name' => strip_tags(html_entity_decode($result['name'], ENT_QUOTES, 'UTF-8')), 430 'attribute_group' => $result['attribute_group']slideshow.php https://gitlab.com/relacilia/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>search.inc.php https://github.com/harriswong/ATutor.git | PHP | 344 lines
1<?php 2/************************************************************************/ 14 15// NOTE! please see include/html/search.inc.php NOTE! 16 102 103 $row['title'] = strip_tags($row['title']); 104 $row['text'] = strip_tags($row['text']); 206 207 $row['forum_title'] = strip_tags($row['forum_title']); 208 $row['subject'] = strip_tags($row['subject']); 302 if ($_SESSION['course_id'] != $items['course_id']) { 303 echo '<a href="bounce.php?course='.$items['course_id'].SEP.'p='.urlencode('forum/view.php?fid='.$items['forum_id'].SEP.'pid='.$items['post_id'].SEP.'words='.$_GET['words']).'">'.$items['forum_title'].' - '.$items['subject'].'</a> '; 304 } else { 312 if ($_SESSION['course_id'] != $items['course_id']) { 313 echo '<a href="bounce.php?course='.$items['course_id'].SEP.'p='.urlencode('content.php?cid='.$items['content_id'].SEP.'words='.$_GET['words']).'">'.$items['title'].'</a> '; 314 } else {snippet.quipreply.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 233 lines
1<?php 2/** 103 104 $fields['name'] = strip_tags($fields['name']); 105 $fields['email'] = strip_tags($fields['email']); 105 $fields['email'] = strip_tags($fields['email']); 106 $fields['website'] = strip_tags($fields['website']); 107 113 if (!empty($_POST[$postAction]) && empty($errors)) { 114 $comment = include_once $quip->config['processorsPath'].'web/comment/create.php'; 115 if (is_object($comment) && $comment instanceof quipComment) { 134 else if (!empty($fields[$previewAction]) && empty($errors)) { 135 $errors = include_once $quip->config['processorsPath'].'web/comment/preview.php'; 136 }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 used 40 // Handle special characters. 41 preg_match_all('/&[a-z]+;/i', strip_tags($string), $matches, PREG_OFFSET_CAPTURE | PREG_SET_ORDER); 42 foreach ($matches as $match) 411 { 412 return strlen(strip_tags($string)) < strlen($string); 413 }rules.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 225 lines
1<?php 2/** 87 $html[] = ' <p>' . $actionDesc . '</p>'; 88 $html[] = ' <table class="aclmodify-table" summary="' . strip_tags($actionDesc) . '">'; 89 $html[] = ' <caption>' . JText::_('JLIB_HTML_ACCESS_MODIFY_DESC_CAPTION_ACL') . ' ' . $actionTitle . ' 'design-loop-style04.php https://gitlab.com/ezgonzalez/integral | PHP | 365 lines
1<?php 2function WooComposer_Loop_style04($atts,$element){ 117 if($shortcode !== ''){ 118 $new_shortcode = rawurldecode( base64_decode( strip_tags( $shortcode ) ) ); 119 }str.php https://bitbucket.org/sriedel/iccrm-wip.git | PHP | 416 lines
1<?php 2/** 9 * @copyright 2010 - 2012 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 17 * 18 * PHP needs to be compiled with --enable-mbstring 19 * or a fallback without encoding support is used 40 // Handle special characters. 41 preg_match_all('/&[a-z]+;/i', strip_tags($string), $matches, PREG_OFFSET_CAPTURE | PREG_SET_ORDER); 42 foreach ($matches as $match) 411 { 412 return strlen(strip_tags($string)) < strlen($string); 413 }return.php https://github.com/kjsenthil02/genplus.git | PHP | 251 lines
1<?php 2class ModelSaleReturn extends Model { 192 193 $this->db->query("INSERT INTO " . DB_PREFIX . "return_history SET return_id = '" . (int)$return_id . "', return_status_id = '" . (int)$data['return_status_id'] . "', notify = '" . (isset($data['notify']) ? (int)$data['notify'] : 0) . "', comment = '" . $this->db->escape(strip_tags($data['comment'])) . "', date_added = NOW()"); 194 209 $message .= $this->language->get('text_comment') . "\n\n"; 210 $message .= strip_tags(html_entity_decode($data['comment'], ENT_QUOTES, 'UTF-8')) . "\n\n"; 211 }Debug.php https://gitlab.com/aleksbenmaza/PPE_NEW | PHP | 197 lines
1<?php 2/* 76 77 $dumpText = ($stripTags ? strip_tags(html_entity_decode($dump)) : $dump); 78Search.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'; 66 189 // Escape our terms to safely use in a preg_match 190 $excerpt = strip_tags($text); 191 $term = preg_quote($term); 339 340 $extract = strip_tags($this->format($extract)); 341functions.error.php https://gitlab.com/sheldonels/Garden | PHP | 347 lines
1<?php if (!defined('APPLICATION')) exit(); 2/* 64 $SenderMessage = $Message; 65 $SenderObject = 'PHP'; 66 $SenderMethod = 'Gdn_ErrorHandler'; 75 76 $SenderMessage = strip_tags($SenderMessage); 77 111 $MasterViewPaths = array(); 112 $MasterViewName = 'error.master.php'; 113 $MasterViewCss = 'error.css'; 200 echo '['.$File.']' , ' ' 201 ,array_key_exists('class', $Backtrace[$i]) ? $Backtrace[$i]['class'] : 'PHP' 202 ,array_key_exists('type', $Backtrace[$i]) ? $Backtrace[$i]['type'] : '::' 242 <li><strong>Application Version:</strong> ',APPLICATION_VERSION,'</li> 243 <li><strong>PHP Version:</strong> ',PHP_VERSION,'</li> 244 <li><strong>Operating System:</strong> ',PHP_OS,"</li>\n";tablecontents.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 207 lines
1<?php 2/** 7?> 8<?php 9defined('_JEXEC') or die('Restricted access'); 72 <tr><td colspan="2"><?php echo JText::_('ACY_GENERATEANCHOR'); ?></td></tr> 73 <tr><td><?php echo JText::sprintf('ACY_LEVEL',1)?></td><td><?php echo JHTML::_('select.genericlist', $contenttype, 'contenttype' , 'size="1" onchange="updateTag();"', 'value', 'text'); ?><input style="display:none" onchange="updateTag();" name="classvalue" /></td></tr> 74 <tr><td><?php echo JText::sprintf('ACY_LEVEL',2)?></td><td><?php echo JHTML::_('select.genericlist', $contentsubtype, 'contentsubtype' , 'size="1" onchange="updateTag();"', 'value', 'text'); ?><input style="display:none" onchange="updateTag();" name="subclassvalue" /></td></tr> 75 </table> 76<?php 77 $doc =& JFactory::getDocument(); 108 function _generateTable(&$results,$i,&$email){ 109 $arguments = explode('|',strip_tags($results[1][$i])); 110 $tag = null; 166 $result = '<div class="tableofcontents">'.$tag->before.implode($tag->divider,$links).$tag->after.'</div>'; 167 if(file_exists(ACYMAILING_MEDIA.'plugins'.DS.'tablecontents.php')){ 168 ob_start();widgets.php https://gitlab.com/mike_tm555/batiste | PHP | 186 lines
101 102 <?php if ( 'link' != get_post_format() ) : ?> 103 104 <li class="widget-entry-title"> 105 <a href="<?php echo esc_url( get_permalink() ); ?>" rel="bookmark"><?php the_title(); ?></a> 106 <span class="comments-link"> 113 <li class="widget-entry-title"> 114 <a href="<?php echo esc_url( twentyeleven_get_first_url() ); ?>" rel="bookmark"><?php the_title(); ?> <span>→</span></a> 115 <span class="comments-link"> 179 <p><label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'twentyeleven' ); ?></label> 180 <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /></p> 181 182 <p><label for="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>"><?php _e( 'Number of posts to show:', 'twentyeleven' ); ?></label> 183 <input id="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'number' ) ); ?>" type="text" value="<?php echo esc_attr( $number ); ?>" size="3" /></p> 184 <?phpsurvey_invite.php https://bitbucket.org/hanutimes/hanutimes.git | PHP | 253 lines
1<?php 2/* For licensing terms, see /license.txt */ 8 * @author Julio Montoya Chamilo: cleanup, refactoring, security improvements 9 * @version $Id: survey_invite.php 10680 2007-01-11 21:26:23Z pcool $ 10 * 19// Including the global initialization file 20require_once '../inc/global.inc.php'; 21 22// Including additional libraries 23require_once 'survey.lib.php'; 24 52 53$urlname = strip_tags(api_substr(api_html_entity_decode($survey_data['title'], ENT_QUOTES), 0, 40)); 54if (api_strlen(strip_tags($survey_data['title'])) > 40) { 58// Breadcrumbs 59$interbreadcrumb[] = array('url' => 'survey_list.php', 'name' => get_lang('SurveyList')); 60if (api_is_course_admin()) {feed.php https://github.com/holsinger/openfloor.git | PHP | 514 lines
1<?php 2/** 28function get_bloginfo_rss($show = '') { 29 $info = strip_tags(get_bloginfo($show)); 30 return apply_filters('get_bloginfo_rss', convert_chars($info), $show); 172 } elseif ( 2 == $encode_html ) { 173 $content = strip_tags($content); 174 } 458 * 459 * @link http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rfc.section.3.1 460 *format.php https://github.com/kpike/moodle.git | PHP | 288 lines
1<?php 2 3// Display the whole course as "topics" made of of modules 4// Included from "view.php" 5/** 10 * Less risk for the Moodle 1.6 beta release. 11 * 1. Straight copy of topics/format.php 12 * 2. Replace <table> and <td> with DIVs; inline styles. 29 30require_once($CFG->libdir.'/filelib.php'); 31require_once($CFG->libdir.'/completionlib.php'); 76if (ismoving($course->id)) { 77 $stractivityclipboard = strip_tags(get_string('activityclipboard', '', $USER->activitycopyname)); 78 $strcancel= get_string('cancel'); 79 echo '<li class="clipboard">'; 80 echo $stractivityclipboard.' (<a href="mod.php?cancelcopy=true&sesskey='.sesskey().'">'.$strcancel.'</a>)'; 81 echo "</li>\n";class-universal.php https://gitlab.com/Blueprint-Marketing/google-analytics-for-wordpress | PHP | 234 lines
1<?php 2/** 146 $ga_settings = $this->options; // Assign the settings to the javascript include view 147 require( 'views/tracking-universal.php' ); 148 } 191 192 $onclick = $object_name . "('send', '" . esc_js( $this->options['track_download_as'] ) . "', '" . esc_js( $link_target->category ) . '-' . esc_js( $category ) . "', '" . esc_js( $full_url ) . "', '" . esc_js( strip_tags( $link_target->link_text ) ) . "');"; 193 196 if ( $this->options['track_outbound'] == 1 ) { 197 $onclick = $object_name . "('send', 'event', '" . esc_js( $link_target->category ) . "', '" . esc_js( $full_url ) . "', '" . esc_js( strip_tags( $link_target->link_text ) ) . "');"; 198 }Report.php https://github.com/bhirsch/civicrm.git | PHP | 253 lines
1<?php 2 63 if ( $optionVal ) { 64 require_once 'CRM/Core/OptionGroup.php'; 65 $templateInfo = CRM_Core_OptionGroup::getRowValues( 'report_template', "{$optionVal}", 'value' ); 123 124 require_once 'CRM/Core/BAO/Domain.php'; 125 list( $domainEmailName, 144 145 require_once "CRM/Utils/Mail.php"; 146 return CRM_Utils_Mail::send( $params ); 155 156 require_once 'CRM/Utils/Money.php'; 157 $config =& CRM_Core_Config::singleton( ); 164 if ( isset( $form->_columnHeaders[$header] ) ) { 165 $headers[] = '"'. html_entity_decode(strip_tags($form->_columnHeaders[$header]['title'])) . '"'; 166 }author.php https://gitlab.com/mucill/majalengka | PHP | 264 lines
1<?php 2/** 38require SIMBIO.'simbio_GUI/table/simbio_table.inc.php'; 39require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 40require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php'; 40require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php'; 41require SIMBIO.'simbio_DB/datagrid/simbio_dbgrid.inc.php'; 42require SIMBIO.'simbio_DB/simbio_dbop.inc.php'; 117 utility::jsAlert(__('All Data Successfully Deleted')); 118 echo '<script type="text/javascript">parent.jQuery(\'#mainContent\').simbioAJAX(\''.$_SERVER['PHP_SELF'].'?'.$_POST['lastQueryStr'].'\');</script>'; 119 } else { 135 <div class="btn-group"> 136 <a href="<?php echo MWB; ?>master_file/author.php" class="btn btn-default"><i class="glyphicon glyphicon-list-alt"></i> <?php echo __('Author List'); ?></a> 137 <a href="<?php echo MWB; ?>master_file/author.php?action=detail" class="btn btn-default"><i class="glyphicon glyphicon-plus"></i> <?php echo __('Add New Author'); ?></a> 138 </div> 139 <form name="search" action="<?php echo MWB; ?>master_file/author.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> : 140 <input type="text" name="keywords" size="30" />format.php https://github.com/plymouthstate/moodle.git | PHP | 288 lines
1<?php 2 // Display the whole course as "weeks" made of of modules 2 // Display the whole course as "weeks" made of of modules 3 // Included from "view.php" 4/** 9 * Less risk for the Moodle 1.6 beta release. 10 * 1. Straight copy of weeks/format.php 11 * 2. Replace <table> and <td> with DIVs; inline styles. 28 29 require_once($CFG->libdir.'/filelib.php'); 30 require_once($CFG->libdir.'/completionlib.php'); 68 if (ismoving($course->id)) { 69 $stractivityclipboard = strip_tags(get_string('activityclipboard', '', $USER->activitycopyname)); 70 $strcancel= get_string('cancel'); 71 echo '<li class="clipboard">'; 72 echo $stractivityclipboard.' (<a href="mod.php?cancelcopy=true&sesskey='.sesskey().'">'.$strcancel.'</a>)'; 73 echo "</li>\n";functions.php https://github.com/trains58554/osclass-themes.git | PHP | 214 lines
1<?php 2 /* 42 <ul> 43 <li><a href="' . osc_admin_render_theme_url('oc-content/themes/modern/admin/admin_settings.php') . '">» '.__('Settings theme', 'modern').'</a></li> 44 </ul>'; 173 default: 174 $text = osc_item_category() . ', ' . osc_highlight(strip_tags(osc_item_description()), 140) . '..., ' . osc_item_category(); 175 break; 178 case('page'): 179 $text = osc_highlight(strip_tags(osc_static_page_text()), 140); 180 break; 188 if(osc_has_items ()) { 189 $result = osc_item_category() . ', ' . osc_highlight(strip_tags(osc_item_description()), 140) . '..., ' . osc_item_category(); 190 } 201 if(osc_has_latest_items()) { 202 $result = osc_item_category() . ', ' . osc_highlight(strip_tags(osc_item_description()), 140) . '..., ' . osc_item_category(); 203 }TuannavController.php https://github.com/duofei/dawuweiba.git | PHP | 413 lines
1<?php 2 48 foreach ((array)$_GET['Tuannav'] as $key=>$val){ 49 $tuannav_get[$key] = strip_tags(trim($val)); 50 }index.php https://bitbucket.org/ssimpledecision/simpledecision.git | PHP | 278 lines
1<? include "../../inc/header_m.php";?> 2<? 21} 22$back = '<article class="breadcrumbs"><a href="index.php">Корень</a>'; 23if (!empty($_GET['id_cat'])){ 25 $inf=mysql_fetch_array($sql); 26 $back .= '<div class="breadcrumb_divider"></div><a href="index.php?id_cat='.$_GET['id_cat'].'">'.$inf['name'].'</a>'; 27} 32 $inf1=mysql_fetch_array($sql1); 33 $back .= '<div class="breadcrumb_divider"></div><a href="index.php?id_cat='.$inf1['id'].'">'.$inf1['name'].'</a>'; 34 $back .= '<div class="breadcrumb_divider"></div><a href="index.php?id_th='.$_GET['id_th'].'">'.$inf['name'].'</a>'; 42 $inf2=mysql_fetch_array($sql2); 43 $back .= '<div class="breadcrumb_divider"></div><a href="index.php?id_cat='.$inf2['id'].'">'.$inf2['name'].'</a>'; 44 $back .= '<div class="breadcrumb_divider"></div><a href="index.php?id_th='.$inf1['id'].'">'.$inf1['name'].'</a>'; 44 $back .= '<div class="breadcrumb_divider"></div><a href="index.php?id_th='.$inf1['id'].'">'.$inf1['name'].'</a>'; 45 $back .= '<div class="breadcrumb_divider"></div><a href="index.php?id_material='.$_GET['id_material'].'">'.$inf['name'].'</a>'; 46}crediets.php https://bitbucket.org/yutof/gamificationofresearchenvironment_iphone.git | PHP | 77 lines
1<?php 2require_once 'mbl_vertical_header.php'; 8 <ul id="thelist"> 9 <?php 10 34 echo "<li><div class='ctrbtr_name'> "; 35 echo strip_tags($row[1]); 36// echo "</td>"; 73 74<?php 75require_once 'mbl_footer.php';envoi_malettre.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 275 lines
1<?php 2/** 15 if (_request('lettre_title')) 16 $lettre_title = strip_tags(_request('lettre_title')); 17 else $lettre_title = ""; 87 // titre 88 $lettre_title = trim(strip_tags(_request('lettre_title'))); 89 $lettre_title = str_replace("\"","'", $lettre_title); 176 if (!defined('_DIR_PLUGIN_FACTEUR')){ 177 include_spip("lib/class.phpmailer"); // mettre à jour http://code.google.com/a/apache-extras.org/p/phpmailer/ ou necessite facteur ? 178 $mail = new PHPMailer();reports.php https://github.com/yamamoto123/Ushahidi_Web.git | PHP | 246 lines
24 <li> 25 <a href="?status=0" <?php if ($status != 'a' AND $status !='v') echo "class=\"active\""; ?>><?php echo Kohana::lang('ui_main.show_all');?></a> 26 </li> 26 </li> 27 <li><a href="?status=a" <?php if ($status == 'a') echo "class=\"active\""; ?>><?php echo Kohana::lang('ui_main.awaiting_approval');?></a></li> 28 <li><a href="?status=v" <?php if ($status == 'v') echo "class=\"active\""; ?>><?php echo Kohana::lang('ui_main.awaiting_verification');?></a></li> 58 <div class="green-box" id="submitStatus"> 59 <h3><?php echo Kohana::lang('ui_main.reports');?> <?php echo $form_action; ?> <a href="#" id="hideMessage" class="hide">hide this message</a></h3> 60 </div> 213 <li class="none-separator"><?php echo Kohana::lang('ui_main.location');?>: 214 <strong><?php echo $incident->location_name; ?></strong>, <strong><?php echo $country_name; ?></strong> 215 </li> 233 <li class="none-separator"><a href="#"<?php if ($incident_approved) echo " class=\"status_yes\"" ?> onclick="reportAction('a','APPROVE', '<?php echo $incident_id; ?>');"><?php echo Kohana::lang('ui_main.approve');?></a></li> 234 <li><a href="#"<?php if ($incident_verified) echo " class=\"status_yes\"" ?> onclick="reportAction('v','VERIFY', '<?php echo $incident_id; ?>');"><?php echo Kohana::lang('ui_main.verify');?></a></li> 235 <li><a href="#" class="del" onclick="reportAction('d','DELETE', '<?php echo $incident_id; ?>');"><?php echo Kohana::lang('ui_main.delete');?></a></li>index.php https://github.com/chadisel/Janrain-Sample-Code.git | PHP | 467 lines
13} 14if (file_exists('../library/engage.lib.php')) { 15 require_once('../library/engage.lib.php'); 15 require_once('../library/engage.lib.php'); 16} elseif (file_exists('engage.lib.php')) { 17 require_once('engage.lib.php'); 334 <input id="app_domain_input" type="text" name="app_dom" value="<?php echo htmlentities($actions['auth_info']['app_dom']); ?>" /> 335 <input id="app_domain_submit" type="submit" name="phpapi" value="submit" /> 336 </form> 347 Click <a class="rpxnow" onclick="return false;" 348 href="<?php echo htmlentities($actions['auth_info']['app_dom']); ?>openid/v2/signin?token_url=<?php echo urlencode($token_url); ?>"> Sign In </a><br /> 349 This will fill in the token.<br /> 464</body> 465</html><?php 466ob_end_flush();Comments.php https://github.com/jiiarra/site.git | PHP | 371 lines
1<?php 2/** 208 // Remove line breaks from the beginning of the message 209 //while (substr($data['comment_message'], 0, strlen(PHP_EOL)) == PHP_EOL) { 210 // $data['comment_message'] = substr($data['comment_message'], 2); 217 $comment->id_parent_cmt = $parent; 218 $comment->title_cmt = '';//strip_tags($data['comment_subject']); 219 $comment->body_cmt = strip_tags($data);widget-featured-services.php https://gitlab.com/luyxtran264/myproject | PHP | 185 lines
143 <label for="<?php echo esc_attr( $this->get_field_id( 'number_of_services' ) ); ?>"><?php esc_html_e('How many services do you want to display?', 'transfers') ?></label> 144 <select id="<?php echo esc_attr( $this->get_field_id( 'number_of_services' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'number_of_services' ) ); ?>"> 145 <?php for ($i=1;$i<13;$i++) { ?> 145 <?php for ($i=1;$i<13;$i++) { ?> 146 <option <?php echo ($i == $instance['number_of_services'] ? 'selected="selected"' : ''); ?> value="<?php echo esc_attr ( $i ); ?>"><?php echo esc_html($i); ?></option> 147 <?php } ?> 163 <label for="<?php echo esc_attr( $this->get_field_id( 'sort_descending' ) ); ?>"><?php esc_html_e('Sort services in descending order?', 'transfers') ?></label> 164 <input type="checkbox" <?php echo ($instance['sort_descending'] == '1' ? 'checked="checked"' : ''); ?> class="checkbox" id="<?php echo esc_attr( $this->get_field_id( 'sort_descending' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'sort_descending') ); ?>" value="1" /> 165 </p> 168 <label for="<?php echo esc_attr( $this->get_field_id( 'display_mode' ) ); ?>"><?php esc_html_e('Display mode?', 'transfers') ?></label> 169 <select class="services_widget_display_mode" id="<?php echo esc_attr( $this->get_field_id( 'display_mode' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'display_mode') ); ?>"> 170 <option <?php echo 'small' == $instance['display_mode'] ? 'selected="selected"' : ''; ?> value="small"><?php esc_html_e('Small (usually sidebar)', 'transfers') ?></option> 178 <?php for ($i=1;$i<6;$i++) { ?> 179 <option <?php echo ($i == $instance['services_per_row'] ? 'selected="selected"' : ''); ?> value="<?php echo esc_attr ( $i ); ?>"><?php echo esc_html($i); ?></option> 180 <?php } ?>bb2diaspora.php https://github.com/squidjam/friendika.git | PHP | 218 lines
1<?php 2 2 3require_once("include/oembed.php"); 4require_once('include/event.php'); 5 6require_once('library/markdown.php'); 7require_once('include/html2bbcode.php'); 35 // Replace any html brackets with HTML Entities to prevent executing HTML or script 36 // Don't use strip_tags here because it breaks [url] search by replacing & with amp 37group.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 214 lines
1<?php 2 31 $data['description'] = $nv_Request->get_string( 'description', 'post', '' ); 32 $data['description'] = nv_nl2br( nv_htmlspecialchars( strip_tags( $data['description'] ) ), '<br />' ); 33 $data['alias'] = ( $data['alias'] == "" ) ? change_alias( $data['title'] ) : change_alias( $data['alias'] ); 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" ); 213vyhledavani.php https://github.com/GE3/GE3.git | PHP | 219 lines
1<?php 2If( $_GET["a"]=='vyhledavani' ){ 47 // Krátký popis 48 $tmplProdukty->prirad("produkt.popisUvod", ereg_replace( " [^ ]*$", "", substr(strip_tags($radek["popis"]),0,180)) ); 49 // Cenyperson.php https://gitlab.com/suporte.spturis/carnaval2015.spturis.com.br | PHP | 302 lines
1<?php 2 144 145 $data['name'] = $this->helpers->schema->html->smart_strip_tags( $user_data->display_name ); 146 $data = $this->add_image( $data, $user_data ); 148 if ( ! empty( $user_data->description ) ) { 149 $data['description'] = $this->helpers->schema->html->smart_strip_tags( $user_data->description ); 150 }class-walker-category.php https://gitlab.com/VTTE/sitios-vtte | PHP | 268 lines
1<?php 2/** 98 public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { 99 /** This filter is documented in wp-includes/category-template.php */ 100 $cat_name = apply_filters( 'list_cats', esc_attr( $category->name ), $category ); 118 */ 119 $atts['title'] = strip_tags( apply_filters( 'category_description', $category->description, $category ) ); 120 }php.js https://gitlab.com/manuvelasco/agostoliquida | JavaScript | 140 lines
32 atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"), 33 builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once"), 34 multiLineStrings: true, 63 var htmlMode = CodeMirror.getMode(config, "text/html"); 64 var phpMode = CodeMirror.getMode(config, phpConfig); 65 91 return style; 92 } else if (isPHP && state.php.tokenize == null && stream.match("?>")) { 93 state.curMode = htmlMode; 112 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 113 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 114 if (state.curMode == htmlMode) cur = htmlNew; 138 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 139 CodeMirror.defineMIME("text/x-php", phpConfig); 140});data_handler.php https://github.com/Orion13/bootcamp.git | PHP | 308 lines
1<?php 2/** 60 foreach($arr as $val) { 61 $val = strip_tags(trim($val)); 62 if($val != "") {Core_Sijax.php https://github.com/spantaleev/sijax.git | PHP | 338 lines
1<?php 2/** 316 private static function _detectRequestUri() { 317 $requestUri = strip_tags ( isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : ''); 318 self::setRequestUri($requestUri);Shipment.php https://gitlab.com/vincent.perdereau/picandparts | PHP | 350 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 * 15 * @copyright Copyright CedCommerce (http://cedcommerce.com/) 16 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 17 */ 143 foreach ($payment as $key=>$value){ 144 if (strip_tags(trim($value)) == '') { 145 unset($payment[$key]); 185 foreach ($text as $part) { 186 $page->drawText(strip_tags(ltrim($part)), 35, $this->y, 'UTF-8'); 187 $this->y -= 15; 202 foreach ($text as $part) { 203 $page->drawText(strip_tags(ltrim($part)), 285, $this->y, 'UTF-8'); 204 $this->y -= 15;ConsoleShell.php https://bitbucket.org/ManiAdil/jardinorient.git | PHP | 384 lines
2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 9 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @link http://cakephp.org CakePHP(tm) Project 11 * @since CakePHP(tm) v 1.2.0.5012 11 * @since CakePHP(tm) v 1.2.0.5012 12 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 13 */ 17/** 18 * Provides a very basic 'interactive' console for CakePHP apps. 19 * 136 'Alternatively, you can use simple array syntax to test reverse', 137 'To reload your routes config (Config/routes.php), do the following:', 138 "",