100+ results results for 'php strip_tags repo:modxcms/revolution' (1057 ms)
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])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" />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;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 *audio.php https://gitlab.com/mattswann/launch-housing | PHP | 435 lines
1<?php 2 67 self::$add_script = true; 68 $atts[0] = strip_tags( join( ' ', $atts ) ); 69 $src = ltrim( $atts[0], '=' );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 }Birthday.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'); 167sanitizing_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 */Trackback.php https://gitlab.com/gricelya/test | 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]); 156edit.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);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>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,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 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>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');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 )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' ] );start.php https://github.com/laczoka/news-guru.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)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']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'); 151members_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 />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; ?>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>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 }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 }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 <?phpfeed.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 *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 }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" />Report.php https://github.com/bhirsch/voipdev.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 }Arr.php https://gitlab.com/lincoln.coutinho/ApplicationKohanaFramework | 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 *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}design-loop-style04.php https://gitlab.com/mattswann/launch-housing | PHP | 365 lines
1<?php 2function WooComposer_Loop_style04($atts,$element){ 117 if($shortcode !== ''){ 118 $new_shortcode = rawurldecode( base64_decode( strip_tags( $shortcode ) ) ); 119 }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';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 } ?>return.php https://gitlab.com/shapcy/opencart | PHP | 238 lines
1<?php 2class ModelSaleReturn extends Model { 171 172 $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()"); 173 188 $message .= $this->language->get('text_comment') . "\n\n"; 189 $message .= strip_tags(html_entity_decode($data['comment'], ENT_QUOTES, 'UTF-8')) . "\n\n"; 190 }group.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});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;Message.php https://github.com/balupton/balphp.git | PHP | 402 lines
1<?php 2 10 * @author ##NAME## <##EMAIL##> 11 * @version SVN: $Id: Builder.php 6820 2009-11-30 17:27:49Z jwage $ 12 */ 186 $mail['html'] = $this->_generateEmailContent(); 187 $mail['text'] = strip_tags($mail['html']); 188LinkPreview.php https://gitlab.com/alidzapp/Facebook-Link-Preview | PHP | 216 lines
1<?php 2/** 3 * Copyright (c) 2014 Leonardo Cardoso (http://leocardz.com) 4 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) 5 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. 9 10/** Important php5-curl must be installed and enabled */ 11 11 12include_once "Media.php"; 13include_once "Regex.php"; 13include_once "Regex.php"; 14include_once "SetUp.php"; 15include_once "Url.php"; 15include_once "Url.php"; 16include_once "Content.php"; 17include_once "Json.php";module.php https://gitlab.com/mucill/majalengka | PHP | 232 lines
1<?php 2/** 44require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 45require SIMBIO.'simbio_GUI/table/simbio_table.inc.php'; 46require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php'; 46require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php'; 47require SIMBIO.'simbio_DB/datagrid/simbio_dbgrid.inc.php'; 48require SIMBIO.'simbio_DB/simbio_dbop.inc.php'; 127 utility::jsAlert(__('All Data Successfully Deleted')); 128 echo '<script type="text/javascript">parent.$(\'#mainContent\').simbioAJAX(\''.$_SERVER['PHP_SELF'].'?'.$_POST['lastQueryStr'].'\');</script>'; 129 } else { 145 <div class="btn-group"> 146 <a href="<?php echo MWB; ?>system/module.php" class="btn btn-default"><i class="glyphicon glyphicon-list-alt"></i> <?php echo __('Modules List'); ?></a> 147 <a href="<?php echo MWB; ?>system/module.php?action=detail" class="btn btn-default"><i class="glyphicon glyphicon-plus"></i> <?php echo __('Add New Modules'); ?></a> 148 </div> 149 <form name="search" action="<?php echo MWB; ?>system/module.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> : 150 <input type="text" name="keywords" size="30" />SummaryOfOrganization.php https://gitlab.com/dhimanbarua/Atomic_Project_SEIP141617_B36 | PHP | 194 lines
1<?php 2namespace App\SummaryOfOrganization; 52 } 53 Utility::redirect('create.php'); 54 82 83 Utility::redirect('index.php'); 84 92 $STH->execute(); 93 Utility::redirect('index.php'); 94 }// end of delete() 101 102 Utility::redirect('index.php'); 103 }// end of trash 151 152 $eachString= strip_tags($oneData->name); 153 $eachString=trim( $eachString);list.php https://bitbucket.org/midasinc/your-submission.git | PHP | 206 lines
117 <span><a href="?page=formidable&frm_action=duplicate&id=<?php echo $form->id; ?>" title="<?php _e('Copy', 'formidable') ?> <?php echo esc_attr(strip_tags(stripslashes($form->name))); ?>"><?php _e('Create Form from Template', 'formidable') ?></a></span> 118 | <span class="edit"><a href="?page=formidable&frm_action=edit&id=<?php echo $form->id; ?>" title="<?php _e('Edit', 'formidable') ?> <?php echo esc_attr(strip_tags(stripslashes($form->name))); ?>"><?php _e('Edit', 'formidable') ?></a></span> 119 <?php } ?> 121 <?php if(current_user_can('frm_delete_forms')){ ?> 122 | <span class="trash"><a href="?page=formidable&frm_=destroy&id=<?php echo $form->id; ?>" onclick="return confirm('<?php printf(__('Are you sure you want to delete your %1$s Form?', 'formidable'), strip_tags(stripslashes($form->name))) ?>');" title="<?php _e('Delete', 'formidable') ?> <?php echo esc_attr(strip_tags(stripslashes($form->name))); ?>"><?php _e('Delete', 'formidable') ?></a></span> 123 <?php } ?> 148 <?php if($frmpro_is_installed and current_user_can('frm_create_entries')){ ?> 149 | <span><a href="?page=formidable-entries&frm_action=new&form=<?php echo $form->id; ?>" title="<?php _e('New', 'formidable') ?> <?php echo esc_attr(strip_tags(stripslashes($form->name))) ?> <?php _e('Entry', 'formidable') ?>"><?php _e('New Entry', 'formidable') ?></a></span></br> 150 <?php } ?> 154 | <span><a href="?page=formidable&frm_action=duplicate&id=<?php echo $form->id; ?>&template=1" title="<?php _e('Create', 'formidable') ?> <?php echo esc_attr(strip_tags(stripslashes($form->name))) ?> <?php _e('Template', 'formidable') ?>"><?php _e('Create Template', 'formidable') ?></a></span> 155 | <span><a href="<?php echo FRM_SCRIPT_URL ?>&controller=forms&frm_action=export&id=<?php echo $form->id; ?>" title="<?php _e('Export', 'formidable') ?> <?php echo esc_attr(strip_tags(stripslashes($form->name))) ?> <?php _e('Template', 'formidable') ?>"><?php _e('Export as Template', 'formidable') ?></a></span> 156 <?php 159 if(current_user_can('frm_delete_forms')){ ?> 160 | <span class="trash"><a href="?page=formidable&frm_action=destroy&id=<?php echo $form->id; ?>" onclick="return confirm('<?php printf(__('Are you sure you want to delete your %1$s Form?', 'formidable'), strip_tags(stripslashes($form->name))) ?>');" title="<?php _e('Delete', 'formidable') ?> <?php echo esc_attr(strip_tags(stripslashes($form->name))) ?>"><?php _e('Delete', 'formidable') ?></a></span> 161 <?php } ?>default.php https://gitlab.com/brunorafael/enosis | 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-2016 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');content.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 168 lines
1<?php 2 19 { 20 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name ); 21 die(); 25 $page_title = $lang_module ['aabout12']; 26 $action = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&id=" . $id; 27} 30 $page_title = $lang_module ['aabout1']; 31 $action = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op; 32} 37{ 38 require_once ( NV_ROOTDIR . '/' . NV_EDITORSDIR . '/' . NV_EDITOR . '/nv.php' ); 39} 50 } 51 elseif ( strip_tags( $bodytext ) == "" ) 52 {knowledgebase_functions.inc.php https://gitlab.com/kingcody/Mods-for-HESK | PHP | 368 lines
91 <tr> 92 <?php 93 /* Get list of articles from the database */ 267 268 $action = 'knowledgebase.php'; 269 if ($admin) { 272 } 273 $action = 'knowledgebase_private.php'; 274 } elseif ($hesk_settings['kb_search'] != 2) { 288 <button class="btn btn-default" type="submit" value="<?php echo $hesklang['search']; ?>" 289 title="<?php echo $hesklang['search']; ?>"><?php echo $hesklang['search']; ?></button> 290 </span> 341 342 <?php 343} // END hesk_kbSearchSmall()apbasic-widgets.php https://gitlab.com/pornmongkon.p/wordpress | PHP | 273 lines
1<?php 2/** 209 } 210 return strip_tags( $new_field_value, $apbasic_widgets_allowed_tags ); 211 213 } else { 214 return strip_tags( $new_field_value ); 215 } 223 */ 224require get_template_directory() . '/inc/widgets/widget-fields.php'; 225 230 */ 231require get_template_directory() . '/inc/widgets/widget-testimonials.php'; 232 237 */ 238require get_template_directory() . '/inc/widgets/wigets-features.php'; 239general.php https://bitbucket.org/ngmares/moodle.git | PHP | 219 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 57echo $OUTPUT->doctype() ?> 58<html <?php echo $OUTPUT->htmlattributes() ?>> 59<head> 59<head> 60 <title><?php echo $PAGE->title ?></title> 61 <link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" /> 61 <link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" /> 62 <meta name="description" content="<?php p(strip_tags(format_text($SITE->summary, FORMAT_HTML))) ?>" /> 63 <?php echo $OUTPUT->standard_head_html() ?> 64</head> 65<body id="<?php p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>"> 66<?php echo $OUTPUT->standard_top_of_body_html() ?> 67<div id="page"> 68<?php if ($hasheading || $hasnavbar) { ?> 69 <div id="page-header">edit.php https://github.com/yacs/yacs.git | PHP | 283 lines
1<?php 2/** 4 * 5 * This script attempts to validate the new or updated article description against a standard PHP XML parser. 6 * The objective is to spot malformed or unordered HTML and XHTML tags. No more, no less. 10 * Accepted calls: 11 * - edit.php/<type>/<id> create a new table for this anchor 12 * - edit.php?anchor=<type>:<id> create a new table for the anchor 12 * - edit.php?anchor=<type>:<id> create a new table for the anchor 13 * - edit.php/<id> modify an existing table 14 * - edit.php?id=<id> modify an existing table 26// common definitions and initial processing 27include_once '../shared/global.php'; 28include_once 'tables.php'; 35 $id = $context['arguments'][0]; 36$id = strip_tags($id); 37index.php https://github.com/slims/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';primary.php https://gitlab.com/sylver.gocloud/demo-sw-k12-enrollment | PHP | 465 lines
1<?php 2 6 'label' => 'Child First name', 7 'rules' => 'required|text_all|trim|htmlspecialchars|strip_tags' 8 ), 11 'label' => 'Child Last Name', 12 'rules' => 'required|text_all|trim|htmlspecialchars|strip_tags' 13 ), 16 'label' => 'Childs Middle Name', 17 'rules' => 'required|text_all|trim|htmlspecialchars|strip_tags' 18 ), 21 'label' => 'Childs Nickname', 22 'rules' => 'text_all|trim|htmlspecialchars|strip_tags' 23 ), 26 'label' => 'Birth month', 27 'rules' => 'required|trim|htmlspecialchars|strip_tags' 28 ),Admin.php https://gitlab.com/sdlion/project_the_beginner_b35 | PHP | 234 lines
1<?php 2namespace App\Admin; 141 $STH->execute($arrData); 142 Utility::redirect('index.php'); 143 } 154 155 Utility::redirect('index.php'); 156 } 191 192 $eachString= strip_tags($oneData->catagory); 193 $eachString=trim( $eachString); 218 219 $eachString= strip_tags($oneData->catagory); 220 $eachString=trim( $eachString);news_m.php https://github.com/ikhattab/pyrocms.git | PHP | 195 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2 184 foreach ($query->result() as $blogs) { 185 $string .= '<p>' . anchor('news/' . date('Y/m') . '/'. $blogs->slug, $blogs->title) . '<br />' . strip_tags($blogs->intro). '</p>'; 186 }class-shortcodes.php https://gitlab.com/Blueprint-Marketing/Yoast-theme-public | PHP | 417 lines
1<?php 2 381 382 return '<p class="readmore"><a title="' . esc_attr( $content ) . '" data-prefix="' . esc_attr( $args['prefix'] ) . '" href="' . esc_attr( $args['url'] ) . '">' . $args['prefix'] . ': ‘' . strip_tags( $content ) . '’ »</a></p>'; 383 }class-vc-backend-editor.php https://gitlab.com/mattswann/launch-housing | PHP | 356 lines
1<?php 2if ( ! defined( 'ABSPATH' ) ) { 55 ), 5 ); 56 add_action( 'admin_print_scripts-post.php', array( 57 &$this, 59 ) ); 60 add_action( 'admin_print_scripts-post-new.php', array( 61 &$this, 104 $this->post = $post; 105 $post_custom_css = strip_tags( get_post_meta( $post->ID, '_wpb_post_custom_css', true ) ); 106 $this->post_custom_css = $post_custom_css; 106 $this->post_custom_css = $post_custom_css; 107 vc_include_template( 'editors/backend_editor.tpl.php', array( 108 'editor' => $this, 254 wp_register_script( 'vc_accordion_script', vc_asset_url( 'lib/vc_accordion/vc-accordion.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true ); 255 wp_register_script( 'wpb_php_js', vc_asset_url( 'lib/php.default/php.default.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true ); 256 // used as polyfill for JSON.stringify and etcOAIMetadataFormat_NLM.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 253 lines
1<?php 2 7/** 8 * @file classes/oai/format/OAIMetadataFormat_NLM.inc.php 9 * 19 20// $Id: OAIMetadataFormat_NLM.inc.php,v 1.1 2009/11/19 14:51:38 asmecher Exp $ 21 91 "\t\t\t<title-group>\n" . 92 "\t\t\t\t<article-title>" . htmlspecialchars(Core::cleanVar(strip_tags($article->getArticleTitle()))) . "</article-title>\n"; 93 96 if ($locale == $primaryLocale) continue; 97 $response .= "\t\t\t\t<trans-title xml:lang=\"" . strtoupper(substr($locale, 0, 2)) . "\">" . htmlspecialchars(Core::cleanVar(strip_tags($title))) . "</trans-title>\n"; 98 } 161 // Include abstract(s) 162 $abstract = htmlspecialchars(Core::cleanVar(strip_tags($article->getArticleAbstract()))); 163 if (!empty($abstract)) {snippet.quipreply.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | 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 }Default.php https://bitbucket.org/kdms/sh-magento.git | PHP | 100 lines
1<?php 2/** 70 $lines[][] = array( 71 'text' => Mage::helper('core/string')->str_split(strip_tags($option['label']), 70, true, true), 72 'font' => 'italic', 79 ? $option['print_value'] 80 : strip_tags($option['value']); 81 $values = explode(', ', $_printValue);attach.php https://github.com/flyinghail/MolyX.git | PHP | 204 lines
1<?php 2# **************************************************************************# 6# @official forum http://molyx.com 7# @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 2.0 8# 11define('THIS_SCRIPT', 'attachment'); 12require_once('./global.php'); 13 185 $otherlink = "<p>"; 186 $otherlink .= "{$forums->lang['forum']}: <a href='forum.php{$forums->sessionurl}f={$this->forum['id']}{$this->extra}' title='{$forums->lang['go']}'>" . strip_tags($this->forum['name']) . "</a><br />"; 187 $otherlink .= "{$forums->lang['thread']}: <a href='thread.php{$forums->sessionurl}t={$this->thread['tid']}&extra={$_INPUT['extra']}' title='{$forums->lang['go']}'>" . strip_tags($this->thread['title']) . "</a><br />"; 189 { 190 $otherlink .= "{$forums->lang['prevthread']}: <a href='thread.php{$forums->sessionurl}t={$prevthread['tid']}&extra={$_INPUT['extra']}' title='{$forums->lang['go']}'>" . strip_tags($prevthread['title']) . "</a><br />"; 191 } 193 { 194 $otherlink .= "{$forums->lang['nextthread']}: <a href='thread.php{$forums->sessionurl}t={$nextthread['tid']}&extra={$_INPUT['extra']}' title='{$forums->lang['go']}'>" . strip_tags($nextthread['title']) . "</a><br />"; 195 }arr.php https://github.com/sittercity/core.git | PHP | 543 lines
1<?php defined('SYSPATH') or die('No direct access allowed.'); 2/** 290 * 291 * @deprecated Use [array_search](http://php.net/array_search) instead 292 * 324 /** 325 * Recursive version of [array_map](http://php.net/array_map), applies the 326 * same callback to all elements in an array, including sub-arrays. 327 * 328 * // Apply "strip_tags" to every element in the array 329 * $array = Arr::map('strip_tags', $array); 356 * Merges one or more arrays recursively and preserves all keys. 357 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)! 358 *password.php https://bitbucket.org/sriedel/iccrm-wip.git | PHP | 191 lines
1<?php 2/** 17 $val->add_callable(__CLASS__); 18 $val->add('username', __('Nutzername/E-Mail'), array(), array('trim', 'strip_tags', 'required')) 19 ->add_rule('user_exists'); 56 $val->add_callable(__CLASS__); 57 $val->add('username', __('Nutzername/E-Mail'), array(), array('trim', 'strip_tags', 'required')) 58 ->add_rule('user_exists'); 127 { 128 $hasher = new \PHPSecLib\Crypt_Hash(); 129 $hash = base64_encode($hasher->pbkdf2(\Str::random('alnum', 8), \Config::get('auth.salt'), 10000, 32));duplicate.php https://github.com/bernard357/yacs.git | PHP | 253 lines
1<?php 2/** 17 * Accept following invocations: 18 * - duplicate.php/12 19 * - duplicate.php?id=12 32// common definitions and initial processing 33include_once '../shared/global.php'; 34 40 $id = $context['arguments'][0]; 41$id = strip_tags($id); 42 73if(!isset($item['id'])) { 74 include '../error.php'; 75 148 if(Surfer::may_upload()) { 149 $menu = array_merge($menu, array('images/edit.php?anchor='.urlencode($article->get_reference()) => i18n::s('Add an image'))); 150 $menu = array_merge($menu, array('files/edit.php?anchor='.urlencode($article->get_reference()) => i18n::s('Add a file')));referrals.php https://github.com/agnesrambaud/yacs.git | PHP | 445 lines
1<?php 2/** 14 * 15 * This function removes any PHPSESSID data in the query string, if any 16 * 18 * 19 * @see agents/referrals_hook.php 20 */ 32 // only remember viewed pages and index pages 33 if(!preg_match('/\/(index|view).php/', $url)) 34 return; 44 // block pernicious attacks 45 $referer = strip_tags($referer); 46 55 // avoid banned sources 56 include_once $context['path_to_root'].'servers/servers.php'; 57 if(preg_match(Servers::get_banned_pattern(), $referer))taqyeem-widgets.php https://gitlab.com/eita/agencia-consumo-responsavel | PHP | 250 lines
117 <label for="<?php echo $this->get_field_id( 'cat_posts_title' ); ?>"><?php _e( 'Title : ' , 'taq') ?></label> 118 <input id="<?php echo $this->get_field_id( 'cat_posts_title' ); ?>" name="<?php echo $this->get_field_name( 'cat_posts_title' ); ?>" value="<?php echo $instance['cat_posts_title']; ?>" class="widefat" type="text" /> 119 </p> 218 <label for="<?php echo $this->get_field_id( 'num_posts' ); ?>"><?php _e( 'Number of posts to show :' , 'taq') ?></label> 219 <input id="<?php echo $this->get_field_id( 'num_posts' ); ?>" name="<?php echo $this->get_field_name( 'num_posts' ); ?>" value="<?php echo $instance['num_posts']; ?>" type="text" size="3" /> 220 </p> 225 <?php foreach ($post_types as $key => $option) { ?> 226 <option value="<?php echo $key ?>" <?php if ( !empty($types) && in_array( $key , $types ) ) { echo ' selected="selected"' ; } ?>><?php echo $option; ?></option> 227 <?php } ?> 238 <p> 239 <input id="<?php echo $this->get_field_id( 'thumb' ); ?>" name="<?php echo $this->get_field_name( 'thumb' ); ?>" value="true" <?php if( $instance['thumb'] ) echo 'checked="checked"'; ?> type="checkbox" /> 240 <label for="<?php echo $this->get_field_id( 'thumb' ); ?>"> <?php _e( 'Display Thumbinals' , 'taq') ?></label> 243 <label for="<?php echo $this->get_field_id( 'thumb_size' ); ?>"><?php _e( 'Thumbinals Size :' , 'taq') ?></label> 244 <input id="<?php echo $this->get_field_id( 'thumb_size' ); ?>" name="<?php echo $this->get_field_name( 'thumb_size' ); ?>" value="<?php echo $instance['thumb_size']; ?>" type="text" size="3" /> 245 </p>MylikeController.php https://gitlab.com/wuhang2003/phpwind | PHP | 269 lines
1<?php 2Wind::import('LIB:base.PwBaseController'); 5 * @author $Author: gao.wanggao $ Foxsee@aliyun.com 6 * @copyright ?2003-2103 phpwind.com 7 * @license http://www.phpwind.com 7 * @license http://www.phpwind.com 8 * @version $Id: MylikeController.php 6836 2012-03-27 04:05:46Z gao.wanggao $ 9 * @package 104 $_data[$k]['subject'] = WindSecurity::escapeHTML($likeInfos[$logList['likeid']]['subject']); 105 $_data[$k]['descrip'] = WindSecurity::escapeHTML(strip_tags($likeInfos[$logList['likeid']]['content'])); 106 $_data[$k]['uid'] = $likeInfos[$logList['likeid']]['uid'];Node.php https://gitlab.com/guillaumev/alkarama | PHP | 268 lines
1<?php 2 96 $display_options['fields']['title']['alter']['ellipsis'] = 0; 97 $display_options['fields']['title']['alter']['strip_tags'] = 0; 98 $display_options['fields']['title']['alter']['html'] = 0;TextDescriptor.php https://gitlab.com/hoangduys4k5/laravelproject | PHP | 339 lines
1<?php 2 253 $this->write( 254 isset($options['raw_text']) && $options['raw_text'] ? strip_tags($content) : $content, 255 isset($options['raw_output']) ? !$options['raw_output'] : trueclass-avada-blog.php https://gitlab.com/webkod3r/tripolis | PHP | 236 lines
1<?php 2 97 $content = str_replace( ']]>', ']]>', $content ); 98 $content = strip_tags( $content ); 99 $content = str_replace( array( '"', "'" ), array( '"', ''' ), $content ); 235 236// Omit closing PHP tag to avoid "Headers already sent" issues. 237inc_chat.php https://gitlab.com/robinphillips/qags-web | PHP | 92 lines
1<?php 2/* 6 7require ("inc_config.php"); 8 18 // Remove any remaining HTML tags and convert entities into characters 19 $msg = html_entity_decode(strip_tags($msg), ENT_QUOTES); 20 // Return prepared messageTumblrSeed.php https://gitlab.com/x33n/platform | PHP | 161 lines
1<?php 2/** 92 $textbody = ''; 93 $textbodyarray = explode('.',strip_tags($post->{'regular-body'})); 94 if (count($textbodyarray) > 3) { 123 if ($summarize && !empty($post->{'link-description'})) { 124 $descriptionarray = explode('.',strip_tags($post->{'link-description'})); 125 if (count($descriptionarray) > 3) {supplier.php https://gitlab.com/mucill/majalengka | PHP | 247 lines
36require SB.'admin/default/session_check.inc.php'; 37require SIMBIO.'simbio_GUI/table/simbio_table.inc.php'; 38require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 38require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 39require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php'; 40require SIMBIO.'simbio_DB/datagrid/simbio_dbgrid.inc.php'; 64 $data['e_mail'] = trim($dbs->escape_string(strip_tags($_POST['supplierEmail']))); 65 $data['account'] = trim($dbs->escape_string(strip_tags($_POST['supplierAccount']))); 66 $data['input_date'] = date('Y-m-d'); 138 <div class="btn-group"> 139 <a href="<?php echo MWB; ?>master_file/supplier.php" class="btn btn-default"><i class="glyphicon glyphicon-list-alt"></i> <?php echo __('Supplier List'); ?></a> 140 <a href="<?php echo MWB; ?>master_file/supplier.php?action=detail" class="btn btn-default"><i class="glyphicon glyphicon-plus"></i> <?php echo __('Add New Supplier'); ?></a> 141 </div> 142 <form name="search" action="<?php echo MWB; ?>master_file/supplier.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> : 143 <input type="text" name="keywords" size="30" />product.php https://gitlab.com/alexprowars/bitrix | PHP | 438 lines
1<?php 2 115 $this->result["description"] = preg_replace('/\t*/', '', $this->result["description"]); 116 $this->result["description"] = strip_tags($this->result["description"]); 117 346// adding MAIN DESCRIPTION 347 $description = strip_tags($data["~DETAIL_TEXT"] <> '' ? $data["~DETAIL_TEXT"] : $data["~PREVIEW_TEXT"]); 348 if ($description)BaseMailer.php https://gitlab.com/Griffolion/Game-Embargo-Tracker | PHP | 394 lines
1<?php 2/** 87 /** 88 * @var callable a PHP callback that will be called by [[send()]] when [[useFileTransport]] is true. 89 * The callback should return a file name which will be used to save the email message. 156 * - a string, which represents the view name or path alias for rendering the HTML body of the email. 157 * In this case, the text body will be generated by applying `strip_tags()` to the HTML body. 158 * - an array with 'html' and/or 'text' elements. The 'html' element refers to the view name or path alias 209 // strip all HTML tags and decoded HTML entities 210 $text = html_entity_decode(strip_tags($html), ENT_QUOTES | ENT_HTML5, Yii::$app ? Yii::$app->charset : 'UTF-8'); 211 // improve whitespacetrackback.php https://github.com/agnesrambaud/yacs.git | PHP | 406 lines
1<?php 2/** 11 * [snippet] 12 * POST http://www.foo.com/yacs/links/trackback.php?anchor=article:123 13 * Content-Type: application/x-www-form-urlencoded 34 * 35 * Note that YACS also has a client implementation of the trackback specification into [script]links/links.php[/script]. 36 * 37 * Accepted calls: 38 * - trackback.php/<type>/<id> create a new link for this anchor 39 * - trackback.php?anchor=<type>:<id> create a new link for this anchor 39 * - trackback.php?anchor=<type>:<id> create a new link for this anchor 40 * - trackback.php/<id> create a new link for the anchor 'article:<id>' 41 * 44 * 45 * @see links/links.php#ping 46 * @see articles/view.phpwordpress-post-widget.php https://gitlab.com/Gashler/sg | PHP | 260 lines
202 <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'jetpack' ); ?></label> 203 <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 ); ?>" /> 204 </p> 207 <label for="<?php echo $this->get_field_id( 'url' ); ?>"><?php _e( 'Blog URL:', 'jetpack' ); ?></label> 208 <input class="widefat" id="<?php echo $this->get_field_id( 'url' ); ?>" name="<?php echo $this->get_field_name( 'url' ); ?>" type="text" value="<?php echo esc_attr( $url ); ?>" /> 209 <p> 222 </p> 223 <label for="<?php echo $this->get_field_id( 'open_in_new_window' ); ?>"><?php _e( 'Open links in new window/tab:', 'jetpack' ); ?></label> 224 <input type="checkbox" name="<?php echo $this->get_field_name( 'open_in_new_window' ); ?>" <?php checked( $open_in_new_window, 1 ); ?> /> 227 <label for="<?php echo $this->get_field_id( 'featured_image' ); ?>"><?php _e( 'Show Featured Image:', 'jetpack' ); ?></label> 228 <input type="checkbox" name="<?php echo $this->get_field_name( 'featured_image' ); ?>" <?php checked( $featured_image, 1 ); ?> /> 229 </p> 231 <label for="<?php echo $this->get_field_id( 'show_excerpts' ); ?>"><?php _e( 'Show Excerpts:', 'jetpack' ); ?></label> 232 <input type="checkbox" name="<?php echo $this->get_field_name( 'show_excerpts' ); ?>" <?php checked( $show_excerpts, 1 ); ?> /> 233 </p>ThemeInstaller.php https://gitlab.com/mohamed_hussein/prodt | PHP | 322 lines
1<?php 2 166 if ($incompatible = $this->checkDependencyMessage($module_list, $dependency, $dependency_object)) { 167 $sanitized_message = Html::decodeEntities(strip_tags($incompatible)); 168 throw new MissingDependencyException("Unable to install theme: $sanitized_message");Dispatcher.class.php https://gitlab.com/colin.luo/shbs | PHP | 201 lines
12/** 13 * ThinkPHP内置的Dispatcher类 14 * 完成URL解析、路由和调度 34 // 兼容模式判断 35 define('PHP_FILE',_PHP_FILE_.'?'.C('VAR_PATHINFO').'='); 36 }elseif($urlMode == URL_REWRITE ) { 40 $url = ''; 41 define('PHP_FILE',$url); 42 }else { 43 //当前项目地址 44 define('PHP_FILE',_PHP_FILE_); 45 } 134 // 当前项目地址 135 define('__APP__',strip_tags(PHP_FILE)); 136 // 当前模块和分组地址php.js https://gitlab.com/juanito.abelo/nlmobile | JavaScript | 132 lines
23 atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__"), 24 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 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 echo print global static exit array empty eval isset unset die include require include_once require_once"), 25 multiLineStrings: true, 54 var htmlMode = CodeMirror.getMode(config, "text/html"); 55 var phpMode = CodeMirror.getMode(config, phpConfig); 56 82 return style; 83 } else if (isPHP && state.php.tokenize == null && stream.match("?>")) { 84 state.curMode = htmlMode; 103 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 104 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 105 if (state.curMode == htmlMode) cur = htmlNew; 130 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 131 CodeMirror.defineMIME("text/x-php", phpConfig); 132})();class.bcn_breadcrumb.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 219 lines
1<?php 2/* 18*/ 19require_once(dirname(__FILE__) . '/includes/block_direct_access.php'); 20//The breadcrumb class 192 $replacements = array( 193 '%title%' => esc_attr(strip_tags($this->title)), 194 '%link%' => $this->url, 196 '%type%' => apply_filters('bcn_breadcrumb_types', $this->type, $this->id), 197 '%ftitle%' => esc_attr(strip_tags($this->_title)), 198 '%fhtitle%' => $this->_titleproductedit.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 165 lines
1<?php include_once pathtodir.'lib/tbl_partner.php'; 2 include_once pathtodir.'lib/tbl_product_category.php'; 18 $name=strip_tags($_POST['txtname']); 19 $code=strip_tags($_POST['txtcode']); 20 $sort=strip_tags($_POST['txtsort']); 29 $txtcategory=strip_tags($_POST['txtcategory']); 30 $txtmanuafer=strip_tags($_POST['txtmanuafer']); 31 $txtsupplier=strip_tags($_POST['txtsupplier']); 63 $txtcategory=strip_tags($_POST['txtcategory']); 64 $txtmanuafer=strip_tags($_POST['txtmanuafer']); 65 $txtsupplier=strip_tags($_POST['txtsupplier']); 124 <label>Sản phẩm mới </label> 125 <input type="checkbox" class="smallInput" name="txtnew" <?php if($product[0][24]==1){?> checked="checked" <?php }?>/> 126 <label>Hình lớn</label> 135 <?php 136 include_once pathtoadmindir.'fckeditor/fckeditor_php5.php'; 137 $fck=new FCKeditor("txtcontent");delete.php https://github.com/agnesrambaud/yacs.git | PHP | 188 lines
1<?php 2/** 15 * Accept following invocations: 16 * - delete.php/12 17 * - delete.php?id=12 29// common definitions and initial processing 30include_once '../shared/global.php'; 31include_once 'images.php'; 38 $id = $context['arguments'][0]; 39$id = strip_tags($id); 40 86if(!isset($item['id'])) { 87 include '../error.php'; 88 173 else { 174 include_once '../links/links.php'; 175 if($attributes = Links::transform_reference($item['source'])) {importstrips.py https://github.com/fish2000/achewood.git | Python | 479 lines
20from django.db.models import Q 21from django.utils.html import strip_tags, strip_entities 22from django.core.exceptions import ObjectDoesNotExist 60def AWAchewoodURL(yyyy, mm, dd): 61 return "http://achewood.com/index.php?date=%s" % AWAchewoodDate(yyyy, mm, dd) 62 188 if len(dlg) == 1: 189 #return strip_entities(strip_tags(dlg.pop())) 190 return strip_tags(dlg.pop())HTML.php https://gitlab.com/marchelo8622/pluslawip | PHP | 468 lines
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36} 44 */ 45class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader 46{ 399 /** 400 * Loads PHPExcel from file into PHPExcel instance 401 * 402 * @param string $pFilename 403 * @param PHPExcel $objPHPExcel 404 * @return PHPExcel 406 */ 407 public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) 408 {Block.php https://gitlab.com/guillaumev/alkarama | PHP | 369 lines
1<?php 2 141 142 $block_description = strip_tags($this->getOption('block_description')); 143 if (empty($block_description)) {start.php https://github.com/melvincarvalho/foafme.git | PHP | 480 lines
1<?php 2/** 16 global $CONFIG; 17 require_once 'search_hooks.php'; 18 72 73 include_once('index.php'); 74} 87 global $CONFIG; 88 $haystack = strip_tags($haystack); 89 $haystack_length = elgg_strlen($haystack); 294 // don't worry about "s or boolean operators 295 $query = str_replace(array('"', '-', '+', '~'), '', stripslashes(strip_tags($query))); 296 $words = explode(' ', $query);IO.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 367 lines
1<?php 2 3/* 4 * This file is part of PhpSpec, A php toolset to drive emergent 5 * design by specification. 13 14namespace PhpSpec\Console; 15 15 16use PhpSpec\IO\IOInterface; 17use Symfony\Component\Console\Input\InputInterface; 18use Symfony\Component\Console\Output\OutputInterface; 19use PhpSpec\Config\OptionsConfig; 20 228 229 $overwriteLength = strlen(strip_tags($oldSuffix)); 230feed.php https://gitlab.com/gregtyka/WordPress-on-OpenShift | PHP | 546 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); 443 * 444 * @link http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rfc.section.3.1 445 * 530function fetch_feed($url) { 531 require_once (ABSPATH . WPINC . '/class-feed.php'); 532class.autokeyword.php https://github.com/nadavkav/RTL-BIDI-Hebrew-Moodle-Plugins.git | PHP | 249 lines
1<?php 2/* 116 $content = mb_strtolower($content, "UTF-8"); 117 $content = strip_tags($content); 118groupaddnote.php https://github.com/henriquecrang/e-UNI.git | PHP | 96 lines
1<?php // $Id: groupaddnote.php,v 1.3.2.1 2008/11/30 19:25:49 skodak Exp $ 2require_once("../config.php"); 2require_once("../config.php"); 3require_once($CFG->dirroot .'/notes/lib.php'); 4 36 if (note_save($note)) { 37 add_to_log($note->courseid, 'notes', 'add', 'index.php?course='.$note->courseid.'&user='.$note->userid . '#note-' . $note->id , 'add note'); 38 } 40 41 redirect("$CFG->wwwroot/user/index.php?id=$id"); 42} 56print_heading($straddnote); 57echo '<form method="post" action="groupaddnote.php" >'; 58echo '<div style="width:100%;text-align:center;">'; 87helpbutton('writing', get_string('helpwriting')); 88echo '<br /><textarea name="content" rows="5" cols="50">' . strip_tags(@$content) . '</textarea></p>'; 89filter.php https://github.com/henriquecrang/e-UNI.git | PHP | 85 lines
1<?php // $Id: filter.php,v 1.21.2.2 2008/12/07 18:55:18 stronk7 Exp $ 2 //This function provides automatic linking to 52 if ($activity->mod != "label" and $activity->visible and empty($activity->groupmembersonly)) { 53 $title = s(trim(strip_tags(urldecode($activity->name)))); 54 $currentname = trim(urldecode($activity->name)); 57 if (!empty($title)) { 58 $href_tag_begin = "<a class=\"autolink\" title=\"$title\" href=\"$CFG->wwwroot/mod/$activity->mod/view.php?id=$activity->cm\" $CFG->frametarget>"; 59 $activitylist[] = new filterobject($currentname, $href_tag_begin, '</a>', false, true);class-wp-nav-menu-widget.php https://gitlab.com/campus-academy/krowkaramel | PHP | 202 lines
1<?php 2/** 166 <p class="nav-menu-widget-no-menus-message" <?php echo $not_empty_menus_style; ?>> 167 <?php 168 if ( $wp_customize instanceof WP_Customize_Manager ) { 170 } else { 171 $url = admin_url( 'nav-menus.php' ); 172 } 180 <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label> 181 <input type="text" class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo esc_attr( $title ); ?>" /> 182 </p> 184 <label for="<?php echo $this->get_field_id( 'nav_menu' ); ?>"><?php _e( 'Select Menu:' ); ?></label> 185 <select id="<?php echo $this->get_field_id( 'nav_menu' ); ?>" name="<?php echo $this->get_field_name( 'nav_menu' ); ?>"> 186 <option value="0"><?php _e( '— Select —' ); ?></option> 187 <?php foreach ( $menus as $menu ) : ?> 188 <option value="<?php echo esc_attr( $menu->term_id ); ?>" <?php selected( $nav_menu, $menu->term_id ); ?>> 189 <?php echo esc_html( $menu->name ); ?>database_utils.php https://gitlab.com/j0nbiz/autocomplete | PHP | 304 lines
1<?php 2 109 $stmt = $pdo->prepare('INSERT INTO users(uname, pword) VALUES(?, ?)'); 110 $stmt->bindValue(1, strip_tags(trim(substr($uname, 0,255)))); 111 $stmt->bindValue(2, password_hash($pword, PASSWORD_DEFAULT)); 243 $stmt->bindValue(1, $_SESSION['uname']); 244 $stmt->bindValue(2, strip_tags($term)); 245Mayak.php https://gitlab.com/slondon/fortissimo | PHP | 176 lines
1<?php 2 3 4require_once 'tools/service.php'; 5 67 68 $title = trim(html_entity_decode(strip_tags($i[3]))); 69 $node_info->name = $title; 75 'Title' => $title, 76 'Count' => trim(html_entity_decode(strip_tags($i[5]))), 77 'Description' => trim(html_entity_decode(strip_tags($i[4]))), 155 156 $title = trim(html_entity_decode(strip_tags($i[2]))); 157 $node_info->name = $title; 163 'Title' => $title, 164 'Count' => trim(html_entity_decode(strip_tags($i[3]))), 165 );BaseMailer.php https://gitlab.com/makkooz/nikestreetbeat | PHP | 394 lines
1<?php 2/** 63 * 64 * ```php 65 * [ 87 /** 88 * @var callable a PHP callback that will be called by [[send()]] when [[useFileTransport]] is true. 89 * The callback should return a file name which will be used to save the email message. 93 * 94 * ```php 95 * function ($mailer, $message) 156 * - a string, which represents the view name or path alias for rendering the HTML body of the email. 157 * In this case, the text body will be generated by applying `strip_tags()` to the HTML body. 158 * - an array with 'html' and/or 'text' elements. The 'html' element refers to the view name or path alias 209 // strip all HTML tags and decoded HTML entities 210 $text = html_entity_decode(strip_tags($html), ENT_QUOTES | ENT_HTML5, Yii::$app ? Yii::$app->charset : 'UTF-8'); 211 // improve whitespaceartist.php https://bitbucket.org/zy_idf/popmaya.git | PHP | 172 lines
1<?php if (! defined('BASEPATH')) exit('No direct script access allowed'); 2 82 { 83 $key=strip_tags($this->input->post('artist_q')); 84 $gen=$this->input->post('genre'); 170} 171/* End of file artist.php */ 172/* Location: ./life/modules/mobile/controllers/artist.php */default.php https://github.com/marek-saji/nyopaste.git | PHP | 201 lines
1<?php 2/** 51 <dd> 52 <?=$this->trans($row['privacy'])?><?php 53 if ($row['enc_passwd']) : 54 ?>, <?=$this->trans('password protected')?> 55 <?php endif; ?> 56 </dd> 57 58 <?php if ($row['source_url']) : ?> 59 <dt><?=$t->trans('source URL')?></dt> 61 </p> 62 <?php endif; ?> 63 63 64 <?php if ($row['author']) : ?> 65 <dt><?=$t->trans('original author')?></dt>Report.php https://github.com/michaelmcandrew/vaw.git | PHP | 291 lines
1<?php 2 63 if ( $optionVal ) { 64 require_once 'CRM/Core/OptionGroup.php'; 65 $templateInfo = CRM_Core_OptionGroup::getRowValues( 'report_template', "{$optionVal}", 'value' ); 135 136 require_once 'CRM/Core/BAO/Domain.php'; 137 list( $domainEmailName, 159 160 require_once "CRM/Utils/Mail.php"; 161 return CRM_Utils_Mail::send( $params ); 178 static function makeCsv( &$form, &$rows ) { 179 require_once 'CRM/Utils/Money.php'; 180 $config = CRM_Core_Config::singleton( ); 188 if ( isset( $form->_columnHeaders[$header] ) ) { 189 $headers[] = '"'. html_entity_decode(strip_tags($form->_columnHeaders[$header]['title'])) . '"'; 190 }filter.php https://bitbucket.org/ngmares/moodle.git | PHP | 227 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 132 // Trim empty or unlinkable concepts 133 $currentconcept = trim(strip_tags($concept->concept)); 134 if (empty($currentconcept)) { 164 // TODO: Fix this string usage 165 $title = strip_tags($glossaryname.': '.$strcategory.' '.$concept->concept); 166 $href_tag_begin = '<a class="glossary autolink category glossaryid'.$concept->glossaryid.'" title="'.$title.'" '. 166 $href_tag_begin = '<a class="glossary autolink category glossaryid'.$concept->glossaryid.'" title="'.$title.'" '. 167 'href="'.$CFG->wwwroot.'/mod/glossary/view.php?g='.$concept->glossaryid. 168 '&mode=cat&hook='.$concept->id.'">'; 170 if (!empty($concept->originalconcept)) { // We are dealing with an alias (so show and point to original) 171 $title = str_replace('"', "'", strip_tags($glossaryname.': '.$concept->originalconcept)); 172 $concept->id = $concept->entryid; 173 } else { // This is an entry 174 $title = str_replace('"', "'", strip_tags($glossaryname.': '.$concept->concept)); 175 }admin-draw.php https://github.com/ellenoneill/lootjestrekmachine.git | PHP | 139 lines
1<?php 2include('functions.php'); 5 { 6 echo '<a href="logout.php" class="button logout">Uitloggen</a>'; 7 $sql = "SELECT naam, id, mail, verlang FROM mensen WHERE groep_id = ".$_SESSION['gid']." ORDER BY naam"; 21 { 22 echo '<p><a href="admin-draw.php" class="button draw">Trek de lootjes nogmaals</a></p>'; 23 } 25 { 26 echo '<p><a href="admin-draw.php" class="button draw">Trek de lootjes</a></p>'; 27 } 31 echo ' 32 <form method="post" action="'.$_SERVER['PHP_SELF'].'"> 33 <fieldset> 34 <legend>Weet je zeker dat je de trekking nu wilt uitvoeren?</legend> 35 <p><input type="button" onclick="window.location = \''.$_SERVER['PHP_SELF'].'?action=now\'" value="Ja" /> <input type="button" onclick="window.location = \'login.php\'" value="Nee" /></p> 36 </fieldset>shortcode.php https://gitlab.com/lamovible/grand-regis | PHP | 250 lines
1<?php if ( ! defined( 'ABSPATH' ) ) exit; 2 131 } 132 $label = strip_tags( apply_filters( 'nf_all_fields_field_label', $label, $field_id ) ); 133meta-descriptions.php https://gitlab.com/Gashler/sg | PHP | 240 lines
1<?php 2/** 103 $auto_excerpt = str_replace(']]>', ']]>', $auto_excerpt); 104 $auto_excerpt = strip_tags($auto_excerpt); 105 $auto_excerpt = sustr::truncate($auto_excerpt, 150, '', true); 108 array('{excerpt::autogen}', '{excerpt}') 109 , array($auto_excerpt, strip_tags($post->post_excerpt)) 110 , $format); 208 <li><strong>Blog Homepage Meta Description</strong> — When your blog homepage appears in search results, it’ll have a title and a description. When you type a description into this box, the Meta Editor will add code to your blog homepage (the <code><meta name="description" /></code> tag) that asks search engines to use what you’ve entered as the homepage’s search results description.</li> 209 <li><strong>Use this blog’s tagline as the default homepage description.</strong> — If this box is checked and if the Blog Homepage Meta Description field is empty, Meta Editor will use your blog’s tagline as the meta description. You can edit the blog’s tagline under <a href='options-general.php'>Settings ⇒ General</a>.</li> 210</ul> 217<ul> 218 <li><strong>How do I edit the meta description of my homepage?</strong><br />If you have configured your <a href='options-reading.php'>Settings ⇒ Reading</a> section to use a “front page” and/or a “posts page,” just edit those pages’s meta descriptions on the “Pages” tab. Otherwise, just use the Blog Homepage field.</li> 219</ul> 227 <li> 228 <p><strong>What do I do if my site has multiple meta tags?</strong><br />First, try removing your theme’s built-in meta tags if it has them. Go to <a href='theme-editor.php' target='_blank'>Appearance ⇒ Editor</a> and edit <code>header.php</code>. Delete or comment-out any <code><meta></code> tags.</p> 229 <p>If the problem persists, try disabling other SEO plugins that may be generating meta tags.</p>php.js https://gitlab.com/srueegger/Social-Meal | JavaScript | 157 lines
1editAreaLoader.load_syntax["php"] = { 2 'DISPLAY_NAME' : 'Php' 16 'null', '__LINE__', '__FILE__', 17 'false', '<?php', '?>', '<?', 18 '<script language', '</script>', 20 'function', 'class', 'new', '&new', 'this', 21 '__FUNCTION__', '__CLASS__', '__METHOD__', 'PHP_VERSION', 22 'PHP_OS', 'DEFAULT_INCLUDE_PATH', 'PEAR_INSTALL_DIR', 'PEAR_EXTENSION_DIR', 22 'PHP_OS', 'DEFAULT_INCLUDE_PATH', 'PEAR_INSTALL_DIR', 'PEAR_EXTENSION_DIR', 23 'PHP_EXTENSION_DIR', 'PHP_BINDIR', 'PHP_LIBDIR', 'PHP_DATADIR', 'PHP_SYSCONFDIR', 24 'PHP_LOCALSTATEDIR', 'PHP_CONFIG_FILE_PATH', 'PHP_OUTPUT_HANDLER_START', 'PHP_OUTPUT_HANDLER_CONT', 24 'PHP_LOCALSTATEDIR', 'PHP_CONFIG_FILE_PATH', 'PHP_OUTPUT_HANDLER_START', 'PHP_OUTPUT_HANDLER_CONT', 25 'PHP_OUTPUT_HANDLER_END', 'E_ERROR', 'E_WARNING', 'E_PARSE', 'E_NOTICE', 26 'E_CORE_ERROR', 'E_CORE_WARNING', 'E_COMPILE_ERROR', 'E_COMPILE_WARNING', 'E_USER_ERROR', 33 'extension_loaded', 'get_extension_funcs', 'debug_backtrace', 34 'constant', 'bin2hex', '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', 35 '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',report.php https://bitbucket.org/moodle/moodle.git | PHP | 303 lines
1<?php 2 2 3 require_once("../../config.php"); 4 require_once("lib.php"); 11 12 $url = new moodle_url('/mod/choice/report.php', array('id'=>$id)); 13 if ($download !== '') { 55 choice_delete_responses($attemptids, $choice, $cm, $course); 56 redirect("report.php?id=$cm->id"); 57 } 61 choice_modify_responses($userids, $attemptids, $newoptionid, $choice, $cm, $course); 62 redirect("report.php?id=$cm->id"); 63 } 80 groups_get_activity_group($cm, true); 81 $groupsactivitymenu = groups_print_activity_menu($cm, $CFG->wwwroot . '/mod/choice/report.php?id=' . $id, 82 true);subscription.php https://gitlab.com/mucill/majalengka | PHP | 269 lines
1<?php 2/** 28// main system configuration 29require '../../../sysconfig.inc.php'; 30// IP based access limitation 30// IP based access limitation 31require LIB.'ip_based_access.inc.php'; 32do_checkIP('smc'); 34// start the session 35require SB.'admin/default/session.inc.php'; 36require SB.'admin/default/session_check.inc.php'; 36require SB.'admin/default/session_check.inc.php'; 37require SIMBIO.'simbio_GUI/form_maker/simbio_form_table.inc.php'; 38require SIMBIO.'simbio_GUI/table/simbio_table.inc.php'; 38require SIMBIO.'simbio_GUI/table/simbio_table.inc.php'; 39require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php'; 40require SIMBIO.'simbio_DB/datagrid/simbio_dbgrid.inc.php';Configurable.php https://github.com/gryzz/crystal_magento.git | PHP | 266 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 */ 221// if (!isset($this->_prices[$jsPrice])) { 222// $this->_prices[$jsPrice] = strip_tags(Mage::app()->getStore()->formatPrice($price)); 223// } 261// $jsAdditionalPrice = str_replace(',', '.', $additionalPrice); 262// $this->_prices[$jsAdditionalPrice] = strip_tags(Mage::app()->getStore()->formatPrice($additionalPrice)); 263// }email.php https://bitbucket.org/sirestudios/fortis-wellness.git | PHP | 408 lines
1<?php 2/** 38 * Send an email using a Transactional email service 39 * or native PHP as a fallback. 40 * 134 |-------------------------------------------------------------------------- 135 | Native PHP Mail 136 |-------------------------------------------------------------------------- 137 | 138 | We're utilizing the popular PHPMailer class to handle the messy 139 | email headers and do-dads. Emailing from PHP in general isn't the best 143 144 $email = new PHPMailer(true); 145 $email->IsMAIL(); 266 { 267 if ($text !== strip_tags($text)) { 268 throw new \InvalidArgumentException('HTML Detected');common.php https://gitlab.com/hunt9310/ras | PHP | 192 lines
1<?php 2/** 84 if ( ! function_exists( 'WP_Filesystem' ) ) { 85 include_once ABSPATH . 'wp-admin/includes/file.php'; 86 } 139 $content = urldecode( $content ); 140 $content = strip_tags( $content ); 141 $arr = explode( ' ', $content ); 158 $content = trim( $content ); 159 $content = strip_tags( $content ); 160 if ( $limit_type == 'words' ) {packageWriter.php https://github.com/peej/phpdoctor.git | PHP | 254 lines
1<?php 2 3/* 4 PHPDoctor: The PHP Documentation Creator 5 Copyright (C) 2004 Paul James <paul@peej.co.uk> 24 * 25 * @package PHPDoctor\Doclets\GithubWiki 26 */ 37 $rootDoc = & $this->_doclet->rootDoc(); 38 $phpdoctor = & $this->_doclet->phpdoctor(); 39 39 40 $displayTree = $phpdoctor->getOption("tree"); 41 100 if ($textTag) 101 echo strip_tags($this->_processInlineTags($textTag, TRUE), "<a><b>**<u><em>"); 102 echo "</td></tr>\n";