100+ results results for 'php htmlspecialchars repo:rnix/lancelist' (221 ms)
1<? 2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/prolog.php"); 12 13require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/classes/general/sticker.php"); 14require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php"); 70 $arGroupIndex[$group['ID']] = $group['NAME']; 71 $strGroupsOpt .= '<option value="'.$group['ID'].'">'.htmlspecialcharsex($group['NAME']).' ['.intval($group['ID']).']</option>'; 72} 75<form method="POST" action="<?= $APPLICATION->GetCurPage()?>?lang=<?= LANGUAGE_ID?>" name="st_access_form"> 76<input type="hidden" name="site" value="<?= htmlspecialcharsbx($site) ?>"> 77<input type="hidden" name="saveperm" value="Y"> 179 <tr> 180 <td class="field-name" width="50%"><label for="TASKS_<?= $group_id?>"><?= htmlspecialcharsex($arGroupIndex[$group_id])." [<a title=\"".GetMessage("FM_ST_EDIT_GROUP_TITLE")."\" href=\"/bitrix/admin/group_edit.php?ID=".$group_id."&lang=".LANGUAGE_ID."\">".$group_id."</a>]"?>:</label></td> 181 <td width="50%">base.php https://gitlab.com/sylver.gocloud/demo-sw-k12-enrollment | PHP | 302 lines
1<?php 2 6 'label' => 'Length Of Pregnancy', 7 'rules' => 'required|text_all|trim|htmlspecialchars|strip_tags' 8 ), 11 'label' => 'Form Of Delivery', 12 'rules' => 'required|text_all|trim|htmlspecialchars|strip_tags' 13 ), 16 'label' => 'Complications On Pregnancy', 17 'rules' => 'required|text_all|trim|htmlspecialchars|strip_tags' 18 ), 21 'label' => 'Child go to Bed', 22 'rules' => 'required|text_all|trim|htmlspecialchars|strip_tags' 23 ), 26 'label' => 'Child wake up', 27 'rules' => 'required|text_all|trim|htmlspecialchars|strip_tags' 28 ),Controller.php https://github.com/ckdimka/core.git | PHP | 347 lines
1<?php 2// vim: set ts=4 sw=4 sts=4 et: 11 * It is also available through the world-wide-web at this URL: 12 * http://opensource.org/licenses/osl-3.0.php 13 * If you did not receive a copy of the license and are unable to 16 * 17 * PHP version 5.3.0 18 * 21 * @copyright Copyright (c) 2011 Creative Development LLC <info@cdev.ru>. All rights reserved 22 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 23 * @link http://www.litecommerce.com/ 113 'name' => 'description', 114 'content' => htmlspecialchars($viewer->getMetaDescription(), ENT_QUOTES, 'UTF-8'), 115 ), 124 'name' => 'keywords', 125 'content' => htmlspecialchars($viewer->getKeywords(), ENT_QUOTES, 'UTF-8'), 126 ),testMiniDom.php https://bitbucket.org/hanutimes/hanutimes.git | PHP | 241 lines
1<?php 2/** 2/** 3 * testMiniDom.php 4 * 2005/03/16 15 $buffer = fread($fp, filesize($filename)); 16 fclose($fp); // note file_get_contents is >= PHP 4.3.0 17 21 22require("../../inc/lib/xmd.lib.php"); 23 30 global $testdoc; echo '<h4>', $title, '</h4>', '<pre>', 31 htmlspecialchars($morestuff ? $morestuff : $testdoc->xmd_xml()), '</pre>'; 32} 123($presXmlFileContents = @file_get_contents_n($xmlFile)) 124 or die('XML file ' . htmlspecialchars($xmlFile) . ' is missing...'); 125banner.php https://github.com/CCI-Studios/Wee-Magazine.git | PHP | 327 lines
1<?php 2/** 50 // Set name 51 $this->name = htmlspecialchars_decode($this->name, ENT_QUOTES); 52teams.php https://github.com/ECP-Black/ECP.git | PHP | 238 lines
1<?php 2function admin_teams () { 55 } else { 56 $userid = @$db->result(DB_PRE.'ecp_user', 'ID', 'username = \''.strsave(htmlspecialchars($_POST['user'])).'\''); 57 if($userid) {index.php https://github.com/HanPH/openemr.git | PHP | 224 lines
158 <tr> 159 <td colspan=2><br><center><input type="submit" value="<?php echo htmlspecialchars( xl('Log In'), ENT_QUOTES);?>" /></center></td> 160 </tr> 167 <div id="wrapper" class="centerwrapper"> 168 <h2 class="title"><?php echo htmlspecialchars( xl('Patient Portal Login'), ENT_NOQUOTES); ?></h2> 169 <form action="get_patient_info.php" method="POST" onsubmit="return process()" > 187 188 <div class="copyright"><?php echo htmlspecialchars( xl('Powered by'), ENT_NOQUOTES);?> <a href="../../">OpenEMR</a></div> 189 </div> 200 title: '<span class="red"><?php echo htmlspecialchars( xl('Oops!'), ENT_QUOTES);?></span>', 201 text: '<?php echo htmlspecialchars( xl('Something went wrong. Please try again.', ENT_QUOTES)); ?>', 202 sticky: false, 211 title: '<span class="green"><?php echo htmlspecialchars( xl('Success'), ENT_QUOTES);?></span>', 212 text: '<?php echo htmlspecialchars( xl('You have been successfully logged out.'), ENT_QUOTES);?>', 213 sticky: false,options.php https://gitlab.com/alexprowars/bitrix | PHP | 479 lines
398 if ($type[0] == 'checkbox'): 399 ?><input type="checkbox" name="<?echo \htmlspecialcharsbx($Option[0])?>" id="<?echo \htmlspecialcharsbx($Option[0])?>" value="Y"<?if($val == 'Y') echo ' checked="checked"';?> /><? 400 elseif ($type[0] == 'text'): 400 elseif ($type[0] == 'text'): 401 ?><input type="text" size="<?echo $type[1]?>" maxlength="255" value="<?echo \htmlspecialcharsbx($val)?>" name="<?echo \htmlspecialcharsbx($Option[0])?>" /><? 402 elseif ($type[0] == 'doubletext'): 404 ?><input type="text" size="<?echo $type[1]?>" maxlength="255" value="<?echo \htmlspecialcharsbx($val1)?>" name="<?echo \htmlspecialcharsbx($Option[0].'_1')?>" /><? 405 ?><input type="text" size="<?echo $type[1]?>" maxlength="255" value="<?echo \htmlspecialcharsbx($val2)?>" name="<?echo \htmlspecialcharsbx($Option[0].'_2')?>" /><? 406 elseif ($type[0] == 'textarea'): 406 elseif ($type[0] == 'textarea'): 407 ?><textarea rows="<?echo $type[1]?>" cols="<?echo $type[2]?>" name="<?echo \htmlspecialcharsbx($Option[0])?>"><?echo \htmlspecialcharsbx($val)?></textarea><? 408 elseif ($type[0] == 'text-list'): 410 for($j=0; $j<count($aVal); $j++): 411 ?><input type="text" size="<?echo $type[2]?>" value="<?echo \htmlspecialcharsbx($aVal[$j])?>" name="<?echo \htmlspecialcharsbx($Option[0]).'[]'?>" /><br /><? 412 endfor;SpecialViewRelationships.php https://gitlab.com/link233/bootmw | PHP | 312 lines
1<?php 2/** 3 * A special page for viewing all relationships by type 4 * Example URL: index.php?title=Special:ViewRelationships&user=Pean&rel_type=1 (viewing friends) 5 * Example URL: index.php?title=Special:ViewRelationships&user=Pean&rel_type=2 (viewing foes) 67 $login = SpecialPage::getTitleFor( 'Userlogin' ); 68 $out->redirect( htmlspecialchars( $login->getFullURL( 'returnto=Special:ViewRelationships' ) ) ); 69 return false; 101 <div class="relationship-request-buttons"> 102 <input type="button" class="site-button" value="' . $this->msg( 'ur-main-page' )->plain() . '" onclick=\'window.location="index.php?title=' . $this->msg( 'mainpage' )->inContentLanguage()->escaped() . '"\' />'; 103 if ( $user->isLoggedIn() ) { 103 if ( $user->isLoggedIn() ) { 104 $output .= '<input type="button" class="site-button" value="' . $this->msg( 'ur-your-profile' )->plain() . '" onclick=\'window.location="' . htmlspecialchars( $user->getUserPage()->getFullURL() ) . '"\' />'; 105 } 130 $output .= '<div class="back-links"> 131 <a href="' . htmlspecialchars( $back_link->getFullURL() ) . '">' . 132 $this->msg( 'ur-backlink', $rel->user_name )->parse() .model.php https://gitlab.com/edgarze188/sunrise | PHP | 280 lines
1<?php 2/** 154 $file['date_modified'] = date('d F Y, H:i', filemtime($parent_dir . '/' . $file_name)); 155 $image_info = getimagesize(htmlspecialchars_decode($parent_dir . '/' . $file_name, ENT_COMPAT | ENT_QUOTES)); 156 $file['resolution'] = $this->is_img($file['type']) ? $image_info[0] . ' x ' . $image_info[1] . ' px' : ''; 210 $file['date_modified'] = date('d F Y, H:i', filemtime($parent_dir . '/' . $file_meta['file'])); 211 // $image_info = getimagesize(htmlspecialchars_decode($parent_dir . '/' . $file_meta['file'], ENT_COMPAT | ENT_QUOTES)); 212 $file['resolution'] = $this->is_img($file['type']) ? $file_meta['width'] . ' x ' . $file_meta['height'] . ' px' : '';html.php https://github.com/fanqie/exp-cms.git | PHP | 367 lines
1<?php defined('SYSPATH') or die('No direct access allowed.'); 2/** 9 * @copyright (c) 2007-2010 Kohana Team 10 * @license http://kohanaphp.com/license 11 */ 65 { 66 return htmlspecialchars((string) $value, ENT_QUOTES, Kohana::$charset, $double_encode); 67 }ValidationStatistics_body.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 307 lines
1<?php 2 124 <td>" . 125 htmlspecialchars( $NsText ) . 126 "</td> 127 <td>" . 128 htmlspecialchars( $wgLang->formatnum( $total ) ) . 129 "</td> 130 <td>" . 131 htmlspecialchars( $wgLang->formatnum( $reviewed ) . 132 $wgContLang->getDirMark() ) . " <i>$percRev</i> 134 <td>" . 135 htmlspecialchars( $wgLang->formatnum( $synced ) . 136 $wgContLang->getDirMark() ) . " <i>$percLatest</i> 187 global $wgPhpCli; 188 $ext = !empty( $wgPhpCli ) ? $wgPhpCli : 'php'; 189 $path = wfEscapeShellArg( dirname( __FILE__ ) . '/../maintenance/updateStats.php' );App.php https://gitlab.com/sejator/posci4 | PHP | 448 lines
1<?php 2 32 * 33 * Typically this will be your index.php file, unless you've renamed it to 34 * something else. If you are using mod_rewrite to remove the page set this 38 */ 39 public $indexPage = 'index.php'; 40 120 * 121 * @see http://php.net/htmlspecialchars for a list of supported charsets. 122 * 436 * the Response object will populate default values for the policy from the 437 * `ContentSecurityPolicy.php` file. Controllers can always add to those 438 * restrictions at run time.profile.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 407 lines
1<?php 2/** 129 { 130 $value = htmlspecialchars($value); 131 if (substr($value, 0, 4) == "http")self_test.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 314 lines
32 PHP Version: 33 <?php if (PHP_VERSION >= 5): ?> 34 <code><?php echo PHP_VERSION; ?></code> 35 <?php else: ?> 36 <code><?php echo PHP_VERSION; ?></code>; 37 <?php endif; ?> 105 <code>Installed (XCache)</code> 106 <?php elseif (PHP_VERSION >= 6): ?> 107 <code>PHP6</code> 167 <?php $open_basedir = ini_get('open_basedir'); if ($open_basedir): ?> 168 <code>On: <?php echo htmlspecialchars($open_basedir); ?></code> 169 <?php else: ?> 276 <?php $permalink_structure = get_option('permalink_structure'); if ($permalink_structure): ?> 277 <code><?php echo htmlspecialchars($permalink_structure); ?></code> 278 <?php else: ?>1619881d1a460c41f45815f5d33bc7218f73e596.file.order-return.tpl.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 210 lines
44),false); /*/%%SmartyHeaderCode%%*/?> 45<?php if ($_valid && !is_callable('content_57c495f60a7d81_53346400')) {function content_57c495f60a7d81_53346400($_smarty_tpl) {?><?php if (!is_callable('smarty_function_counter')) include 'C:\\xampp\\htdocs\\prestashop\\prestashop\\_\\tools\\smarty\\plugins\\function.counter.php'; 46?> 105 <?php if ($_smarty_tpl->tpl_vars['customization']->value['product_id']==$_smarty_tpl->tpl_vars['product']->value['product_id']) {?> 106 <tr class="<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['first']) {?>first_item<?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['index']%2) {?>alternate_item<?php } else { ?>item<?php }?>"> 107 <td><?php if ($_smarty_tpl->tpl_vars['customization']->value['reference']) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['customization']->value['reference'], ENT_QUOTES, 'UTF-8', true);?> 161 <?php if ($_smarty_tpl->tpl_vars['product']->value['product_quantity']>$_smarty_tpl->tpl_vars['quantityDisplayed']->value) {?> 162 <tr class="<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['first']) {?>first_item<?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['index']%2) {?>alternate_item<?php } else { ?>item<?php }?>"> 163 <td><?php if ($_smarty_tpl->tpl_vars['product']->value['product_reference']) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['product_reference'], ENT_QUOTES, 'UTF-8', true);?> 184 <a href="<?php ob_start();?><?php echo intval($_smarty_tpl->tpl_vars['orderRet']->value->id);?> 185<?php $_tmp54=ob_get_clean();?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('pdf-order-return',true,null,"id_order_return=".$_tmp54), ENT_QUOTES, 'UTF-8', true);?> 186"><?php echo smartyTranslate(array('s'=>'PDF return slip'),$_smarty_tpl);?> 190 (<a href="<?php ob_start();?><?php echo intval($_smarty_tpl->tpl_vars['orderRet']->value->id);?> 191<?php $_tmp55=ob_get_clean();?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('pdf-order-return',true,null,"id_order_return=".$_tmp55), ENT_QUOTES, 'UTF-8', true);?> 192"><?php echo smartyTranslate(array('s'=>'for the correct address.'),$_smarty_tpl);?>users.php https://github.com/mterenzio/FollowThis.git | PHP | 379 lines
1<?php 2 5 * 6 * $Id: users.php,v 1.40 2008/02/25 17:20:44 xzilla Exp $ 7 */ 9 // Include application functions 10 include_once('./libraries/lib.inc.php'); 11 34 if ($userdata->recordCount() > 0) { 35 $userdata->fields['usesuper'] = $data->phpBool($userdata->fields['usesuper']); 36 $userdata->fields['usecreatedb'] = $data->phpBool($userdata->fields['usecreatedb']); 49 50 echo "<p><a class=\"navlink\" href=\"users.php?action=confchangepassword&{$misc->href}\">{$lang['strchangepassword']}</a></p>\n"; 51 } 70 71 echo "<form action=\"users.php\" method=\"post\">\n"; 72 echo "<table>\n";recorded.php https://github.com/littlejon/mythweb.git | PHP | 233 lines
50 foreach($Groups as $recgroup => $count) { 51 echo '<option id="Group '.htmlspecialchars($recgroup).'" value="'.htmlspecialchars($recgroup).'"'; 52 if ($_GET['recgroup'] == $recgroup) 67 foreach($Program_Titles as $title => $count) { 68 echo '<option id="Title '.htmlspecialchars($title).'" value="'.htmlspecialchars($title).'"'; 69 if ($_GET['title'] == $title) 144 <a class="x-download" 145 href="<?php echo $show->url ?>" title="<?php echo t('Direct Download') ?>" 146 ><img src="<?php echo skin_url ?>/img/video_sm.png"></a> 167 } 168 ?><a href="<?php echo root_url ?>tv/recorded?delete=yes&chanid=<?php echo $show->chanid ?>&starttime=<?php echo $show->recstartts ?>" 169 title="<?php echo html_entities(t('Delete $1', preg_replace('/: $/', '', $show->title.': '.$show->subtitle))) ?>" 170 ><?php echo t('Delete') ?></a> 171 <a href="<?php echo root_url ?>tv/recorded?delete=yes&chanid=<?php echo $show->chanid ?>&starttime=<?php echo $show->recstartts ?>&forget_old=yes" 172 title="<?php echo html_entities(t('Delete and rerecord $1', preg_replace('/: $/', '', $show->title.': '.$show->subtitle))) ?>"field_slider.php https://gitlab.com/eita/agencia-consumo-responsavel | PHP | 412 lines
1<?php 2 334 $select2_params = json_encode( $this->field['select2'] ); 335 $select2_params = htmlspecialchars( $select2_params, ENT_QUOTES ); 336db_search.php https://bitbucket.org/steve_delbar/iepsm-projet-de-d-veloppement-internet-2013.git | PHP | 366 lines
289 </td> 290 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>"> 291 <input type="text" name="search_str" size="60" value="<?php echo $searched; ?>" /> 298 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>"> 299 <input type="radio" id="search_option_1" name="search_option" value="1"<?php if ($search_option == 1) echo ' checked="checked"'; ?> /><label for="search_option_1"><?php echo $strSearchOption1; ?></label> *<br /> 300 <input type="radio" id="search_option_2" name="search_option" value="2"<?php if ($search_option == 2) echo ' checked="checked"'; ?> /><label for="search_option_2"><?php echo $strSearchOption2; ?></label> *<br /> 301 <input type="radio" id="search_option_3" name="search_option" value="3"<?php if ($search_option == 3) echo ' checked="checked"'; ?> /><label for="search_option_3"><?php echo $strSearchOption3; ?></label><br /> 302 <input type="radio" id="search_option_4" name="search_option" value="4"<?php if ($search_option == 4) echo ' checked="checked"'; ?> /><label for="search_option_4"><?php echo $strSearchOption4; ?></label><?php echo PMA_showMySQLDocu('Regexp', 'Regexp'); ?><br /> 303 <br /> 331 332 echo ' <option value="' . htmlspecialchars($tables[$i]) . '"' . $is_selected . '>' . htmlspecialchars($tables[$i]) . '</option>' . "\n"; 333 $i++; 350 </td> 351 </tr><tr><td align="right" valign="bottom" bgcolor="<?php echo $cfg['BgcolorOne']; ?>"><?php echo $strDoSelectAll; ?></td></tr> 352 <tr><td colspan="2"></td>indexes.php https://github.com/mterenzio/FollowThis.git | PHP | 383 lines
1<?php 2 5 * 6 * $Id: indexes.php,v 1.46 2008/01/08 22:50:29 xzilla Exp $ 7 */ 9 // Include application functions 10 include_once('./libraries/lib.inc.php'); 11 include_once('./classes/class.select.php'); 30 31 echo "<form action=\"indexes.php\" method=\"post\">\n"; 32 echo "<p><input type=\"checkbox\" id=\"analyze\" name=\"analyze\"", (isset($_REQUEST['analyze']) ? ' checked="checked"' : ''), " /><label for=\"analyze\">{$lang['stranalyze']}</label></p>\n"; 33 echo "<input type=\"hidden\" name=\"action\" value=\"cluster_index\" />\n"; 34 echo "<input type=\"hidden\" name=\"table\" value=\"", htmlspecialchars($_REQUEST['table']), "\" />\n"; 35 echo "<input type=\"hidden\" name=\"index\" value=\"", htmlspecialchars($_REQUEST['index']), "\" />\n"; 109 110 echo "<form onsubmit=\"doSelectAll();\" name=\"formIndex\" action=\"indexes.php\" method=\"post\">\n"; 111utilities.php https://gitlab.com/ppapadatis/Videolearn | PHP | 307 lines
1<?php 2/** 2/** 3 * @version SVN $Id: utilities.php 709 2012-10-26 09:07:01Z dhorsfall $ 4 * @package hwdMediaShare 26 */ 27 protected $escape = 'htmlspecialchars'; 28 34 */ 35 protected $_escape = 'htmlspecialchars'; 36 85 * 86 * If escaping mechanism is either htmlspecialchars or htmlentities, uses 87 * {@link $_encoding} setting. 96 { 97 if (in_array($this->_escape, array('htmlspecialchars', 'htmlentities'))) 98 {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" ); 213list.php https://gitlab.com/ricardosanchez/prueba | PHP | 382 lines
1<?php 2/** 80 return '<span id="' . $this->id . '" ' . $class . '>' . 81 htmlspecialchars(self::getOptionName($this->getOptions(), $this->value), ENT_COMPAT, 'UTF-8') . 82 '</span>'; 129 130 $html .= htmlspecialchars(self::getOptionName($this->getOptions(), $this->value), ENT_COMPAT, 'UTF-8'); 131tbl_create.php https://gitlab.com/albert925/lading-ach | PHP | 280 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 32 * @uses sprintf() 33 * @uses htmlspecialchars() 34 * @version $Id$ 34 * @version $Id$ 35 * @package phpMyAdmin 36 */ 40 */ 41require_once './libraries/common.inc.php'; 42require_once './libraries/Table.class.php'; 45 46require_once './libraries/header.inc.php'; 47 57 PMA_mysqlDie($strTableEmpty, '', '', 58 'db_structure.php?' . PMA_generate_common_url($db)); 59} elseif (PMA_DBI_get_columns($db, $table)) {smarty_internal_compile_private_php.php https://gitlab.com/garabedian.kevin/web2TB | PHP | 220 lines
56 if ($_attr[ 'type' ] != 'tag') { 57 if ($compiler->php_handling == Smarty::PHP_REMOVE) { 58 return ''; 58 return ''; 59 } elseif ($compiler->php_handling == Smarty::PHP_QUOTE) { 60 $output = 157 if (($lex->phpType == 'php' || $lex->phpType == 'asp') && 158 ($lex->compiler->php_handling == Smarty::PHP_PASSTHRU || $lex->compiler->php_handling == Smarty::PHP_QUOTE) 159 ) { 194 } 195 if ($phpCommentStart && (!$phpCommentEnd || $pos2 > $close)) { 196 $lex->taglineno = $lex->line + substr_count(substr($lex->data, $lex->counter, $start), "\n"); 207 /* 208 * Call back function for $php_handling = PHP_QUOTE 209 *day.php https://github.com/jessfishenden/mrbs-mcr.git | PHP | 372 lines
1<?php 2# $Id$ 3 4require_once "grab_globals.inc.php"; 5include "config.inc.php"; 61 # need to show either a select box or a normal html list, 62 # depending on the settings in config.inc.php 63 if ($area_list_format == "select") { 63 if ($area_list_format == "select") { 64 echo make_area_select_html('day.php', $area, $year, $month, $day); # from functions.inc 65 } else { 70 { 71 echo "<a href=\"day.php?year=$year&month=$month&day=$day&area=$row[0]\">"; 72 if ($row[0] == $area) 72 if ($row[0] == $area) 73 echo "<font color=\"red\">" . htmlspecialchars($row[1]) . "</font></a><br>\n"; 74 else echo htmlspecialchars($row[1]) . "</a><br>\n";template.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 484 lines
1<?php 2if (!defined('MSD_VERSION')) die('No direct access.'); 4/*************************************************************************** 5 * template.php 6 * ------------------- 7 * begin : Saturday, Feb 13, 2001 8 * copyright : (C) 2001 The phpBB Group 9 * email : support@phpbb.com 10 * 11 * $Id: template.php,v 1.10.2.3 2002/12/21 19:09:57 psotfx Exp $ 12 * 25/** 26 * Template class. By Nathan Codding of the phpBB group. 27 * The interface was originally inspired by PHPLib templates, 131 // Run the compiled code. 132 if (defined(TPL_DEBUG) && TPL_DEBUG>0) echo '<pre>'.htmlspecialchars($this->compiled_code[$handle]).'</pre>'; 133 eval($this->compiled_code[$handle]);PublicController.php https://gitlab.com/jankube/mautic | PHP | 405 lines
1<?php 2/** 56 $response = $this->render( 57 'MauticEmailBundle::public.html.php', 58 array( 90 91 $analytics = htmlspecialchars_decode($this->factory->getParameter('google_analytics', '')); 92 212 ); 213 $contentTemplate = 'MauticCoreBundle::message.html.php'; 214 217 if (in_array('form', $config['features'])) { 218 $contentTemplate = 'MauticFormBundle::form.html.php'; 219 } 288 289 return $this->render('MauticCoreBundle::message.html.php', array( 290 'message' => $message,Theme.class.php https://gitlab.com/albert925/lading-ach | PHP | 392 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 6 * @version $Id$ 7 * @package phpMyAdmin 8 */ 17 * 18 * @package phpMyAdmin 19 */ 83 { 84 if (! file_exists($this->getPath() . '/info.inc.php')) { 85 return false; 87 88 if ($this->mtime_info === filemtime($this->getPath() . '/info.inc.php')) { 89 return true; 91 92 @include $this->getPath() . '/info.inc.php'; 93template.php https://gitlab.com/Rad1calDreamer/honey | PHP | 590 lines
9 10 $formName = htmlspecialcharsbx($wizard->GetFormName()); 11 11 12 $nextButtonID = htmlspecialcharsbx($wizard->GetNextButtonID()); 13 $prevButtonID = htmlspecialcharsbx($wizard->GetPrevButtonID()); 13 $prevButtonID = htmlspecialcharsbx($wizard->GetPrevButtonID()); 14 $cancelButtonID = htmlspecialcharsbx($wizard->GetCancelButtonID()); 15 $finishButtonID = htmlspecialcharsbx($wizard->GetFinishButtonID()); 38 $bxProductConfig = array(); 39 if(file_exists($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/.config.php")) 40 include($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/.config.php");rewrite.php https://bitbucket.org/murtuza88/carolina-home-stone.git | PHP | 425 lines
1<?php 2 152 if ( !is_singular() ) 153 $query = htmlspecialchars( add_query_arg($args, get_permalink( get_the_ID() )) ); 154 else 154 else 155 $query = htmlspecialchars( add_query_arg( $args ) ); 156 211 //TODO: I could parse for the Picture name , gallery etc, but this increase the queries 212 //TODO: Class nggdb need to cache the query for the nggfunctions.php 213 265 // XML request 266 $this->slug . '/slideshow/([0-9]+)/?$' => 'index.php?imagerotator=true&gid=$matches[1]' 267 ); 273 /** 274 * Mainly a copy of the same function in wp-includes\rewrite.php 275 * Adding the NGG tags to each post & page. Never found easier and proper way to handle this with other functions.SpecialMergeHistory.php https://github.com/sunnysujan/wikireader.git | PHP | 445 lines
1<?php 2/** 203 # Show relevant lines from the deletion log: 204 $wgOut->addHTML( "<h2>" . htmlspecialchars( LogPage::logName( 'merge' ) ) . "</h2>\n" ); 205 LogEventsList::showLogExtract( $wgOut, 'merge', $this->mTargetObj->getPrefixedText() ); 231 $pageLink = $this->sk->makeKnownLinkObj( $rev->getTitle(), 232 htmlspecialchars( $wgLang->timeanddate( $ts ) ), 'oldid=' . $rev->getId() ); 233 if( $rev->isDeleted( Revision::DELETED_TEXT ) ) {view.php https://bitbucket.org/ghazalp/news-show-pro-gk5.git | PHP | 255 lines
1<?php 2 13// load necessary K2 Route Helper 14require_once (JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'helpers'.DS.'route.php'); 15// 20 $class = ' t'.$config['news_content_header_pos'].' f'.$config['news_content_header_float']; 21 $output = NSP_GK5_Utils::cutText(htmlspecialchars($item['title']), $config, 'title_limit', '…'); 22 $output = str_replace('"', """, $item['title']); 123 $link = urldecode( JRoute::_(K2HelperRoute::getItemRoute($item['id'].':'.urlencode($item['alias']), $item['cid'].':'.urlencode($item['cat_alias']))) ); 124 return ($config['news_content_image_pos'] == 'center') ? '<div class="center'.$class.'"><a href="'.$link.'" class="nspImageWrapper'.$class.'"'.$margins.'><img class="nspImage" src="'.$IMG_SOURCE.'" alt="'.htmlspecialchars($news_title).'" style="'.$size.'" /></a></div>' : '<a href="'.$link.'" class="nspImageWrapper'.$class.'"'.$margins.'><img class="nspImage'.$class.'" src="'.$IMG_SOURCE.'" alt="'.htmlspecialchars($news_title).'" style="'.$size.'" /></a>'; 125 } else { 125 } else { 126 return ($config['news_content_image_pos'] == 'center') ? '<div class="center'.$class.'"><span class="nspImageWrapper'.$class.'"'.$margins.'><img class="nspImage" src="'.$IMG_SOURCE.'" alt="'.htmlspecialchars($news_title).'" '.$size.' /></span></div>' : '<span class="nspImageWrapper'.$class.'"'.$margins.'><img class="nspImage'.$class.'" src="'.$IMG_SOURCE.'" alt="'.htmlspecialchars($news_title).'" style="'.$size.'" /></span>'; 127 } 172 // 173 $author = (trim(htmlspecialchars($item['author_alias'])) != '') ? htmlspecialchars($item['author_alias']) : htmlspecialchars($item['author_username']); 174 $info_author = ($config['user_avatar'] == 1) ? '<span><img src="'.K2HelperUtilities::getAvatar($item['author_id'], $item['author_email'], $config['avatar_size']).'" alt="'.$author.' - avatar" class="nspAvatar" width="'.$config['avatar_size'].'" height="'.$config['avatar_size'].'" /> '.$author.'</span>' : $author;upload.php https://gitlab.com/dkiller1/rapidleech | PHP | 220 lines
185 <div class="links">'. 186 (!empty($download_link) ? '<strong>'.lang(68).': <a href="'.htmlspecialchars($download_link).'" target="_blank">'.htmlspecialchars($download_link).' </a></strong>' : ''). 187 (!empty($delete_link) ? '<br />'.lang(69).': <a href="'.htmlspecialchars($delete_link).'" target="_blank">'.htmlspecialchars($delete_link).' </a>' : ''). 187 (!empty($delete_link) ? '<br />'.lang(69).': <a href="'.htmlspecialchars($delete_link).'" target="_blank">'.htmlspecialchars($delete_link).' </a>' : ''). 188 (!empty($stat_link) ? '<br />'.lang(70).': <a href="'.htmlspecialchars($stat_link).'" target="_blank">'.htmlspecialchars($stat_link).' </a>' : ''). 189 (!empty($adm_link) ? '<br />'.lang(71).': <a href="'.htmlspecialchars($adm_link).'" target="_blank">'.htmlspecialchars($adm_link).' </a>' : ''). 189 (!empty($adm_link) ? '<br />'.lang(71).': <a href="'.htmlspecialchars($adm_link).'" target="_blank">'.htmlspecialchars($adm_link).' </a>' : ''). 190 (!empty($user_id) ? '<br />'.lang(72).': <a href="'.htmlspecialchars($user_id).'" target="_blank">'.htmlspecialchars($user_id).' </a>' : ''). 191 (!empty($access_pass) ? '<br />'.lang(74).': <a href="'.htmlspecialchars($access_pass).'" target="_blank">'.htmlspecialchars($access_pass).' </a>' : ''). 191 (!empty($access_pass) ? '<br />'.lang(74).': <a href="'.htmlspecialchars($access_pass).'" target="_blank">'.htmlspecialchars($access_pass).' </a>' : ''). 192 (!empty($ftp_uplink) ? '<br />'.lang(73).': <a href="'.htmlspecialchars($ftp_uplink).'" target="_blank">'.htmlspecialchars($ftp_uplink).' </a>' : ''). 193 '</div></div>'; 203if (isset($_GET['auul'])) { 204?><script type="text/javascript">parent.nextlink<?php echo $_GET['auul']; ?>();</script><?php 205 // Write links to a filecheck.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 221 lines
1<?php 2 24 $contents = "<center><br /><b>" . $lang_module['nv_lang_error_exit'] . "</b></center>"; 25 $contents .= "<meta http-equiv=\"Refresh\" content=\"3;URL=" . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=setting\" />"; 26 include ( NV_ROOTDIR . "/includes/header.php" ); 27 echo nv_admin_theme( $contents ); 28 include ( NV_ROOTDIR . "/includes/footer.php" ); 29 exit(); 35{ 36 if ( file_exists( NV_ROOTDIR . "/language/" . $value . "/global.php" ) ) 37 { 68 69$contents .= "<br /><form action=\"" . NV_BASE_ADMINURL . "index.php\" method=\"get\"><center>"; 70$contents .= "<input type=\"hidden\" name =\"" . NV_NAME_VARIABLE . "\"value=\"" . $module_name . "\" />"; 201 $contents .= "<td align=\"right\">" . $row['lang_key'] . "</td>"; 202 $contents .= "<td align=\"left\"><input type=\"text\" value=\"" . nv_htmlspecialchars( $row['datalang'] ) . "\" name=\"pozlang[" . $id . "]\" size=\"90\" /><br />" . nv_htmlspecialchars( $row['sourcelang'] ) . "</td>"; 203 $contents .= "</tr>";takeeditcp.php https://github.com/Bigjoos/U-232-V1.git | PHP | 302 lines
1<?php 2/** 18*/ 19require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'bittorrent.php'); 20require_once(INCL_DIR.'user_functions.php'); 20require_once(INCL_DIR.'user_functions.php'); 21require_once(INCL_DIR.'page_verify.php'); 22require_once(INCL_DIR.'password_functions.php'); 49 50 $action = isset($_POST["action"]) ? htmlspecialchars(trim($_POST["action"])) : ''; 51 $updateset = array(); 203 $body = str_replace(array('<#USERNAME#>', '<#SITENAME#>', '<#USEREMAIL#>', '<#IP_ADDRESS#>', '<#CHANGE_LINK#>'), 204 array($CURUSER['username'], $TBDEV['site_name'], $email, $_SERVER['REMOTE_ADDR'], "{$TBDEV['baseurl']}/confirmemail.php?uid={$CURUSER['id']}&key=$hash&email=$obemail"), 205 $lang['takeeditcp_email_body']); 300 $mc1->delete_value('MyUser_'.$CURUSER['id']); 301 header("Location: {$TBDEV['baseurl']}/usercp.php?edited=1&action=$action" . $urladd); 302 ?>color-uploaded.php https://gitlab.com/vince.omega/mcb-nov-build | PHP | 361 lines
1<?php 2 foreach($_REQUEST as $key => $value){ 2 foreach($_REQUEST as $key => $value){ 3 $$key = htmlspecialchars(trim(strip_tags($value))); 4 }class-vc-edit-form-fields.php https://gitlab.com/furrutia1991/imosa_web | PHP | 317 lines
1<?php 2/** 214 $output .= '<div class="' . implode( ' ', 215 $editor_css_classes ) . '" data-title="' . htmlspecialchars( __( 'Edit', 216 'js_composer' ) . ' ' . __( $this->setting( 'name' ), "js_composer" ) ) . '">'; 299 * List of params stored in global variable $vc_params_list. 300 * Please check include/params/load.php for default params list. 301 * @since 4.4Month.php https://github.com/Excito/kronolith.git | PHP | 253 lines
1<?php 2 2 3require_once KRONOLITH_BASE . '/lib/Day.php'; 4 8 * 9 * $Horde: kronolith/lib/Views/Month.php,v 1.17.2.3 2009/11/07 14:34:57 jan Exp $ 10 * 128 $showTime = Kronolith::viewShowTime(); 129 $day_url = Horde::applicationUrl('day.php'); 130 $this_link = $this->link(0, true); 130 $this_link = $this->link(0, true); 131 $new_url = Util::addParameter(Horde::applicationUrl('new.php'), 'url', $this_link); 132 $new_img = Horde::img('new_small.png', '+'); 148 if ($sidebyside) { 149 $html .= '<td>' . htmlspecialchars($cal->get('name')) . '</td>'; 150 } else {engine.php https://gitlab.com/alexprowars/bitrix | PHP | 460 lines
1<?php 2/** 54} 55echo "<pre>",htmlspecialcharsEx(print_r($arSkuCollection,1)),"</pre>"; 56*/template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
12Loc::loadMessages(__FILE__); 13?><div class="container-fluid"><?php 14if (!empty($arResult['ERRORS']['FATAL'])) 109 <div class=""> 110 <a href="<?=htmlspecialcharsbx($arParams['PATH_TO_CATALOG'])?>" class="mr-4"><?=Loc::getMessage('SPOL_TPL_LINK_TO_CATALOG')?></a> 111 </div> 127 <?=Loc::getMessage('SPOL_TPL_ORDER')?> 128 <?=Loc::getMessage('SPOL_TPL_NUMBER_SIGN') . htmlspecialcharsbx($order['ORDER']['ACCOUNT_NUMBER'])?> 129 <?=Loc::getMessage('SPOL_TPL_FROM_DATE')?> 190 { 191 ?><a class="personal-order-item-order-btn-pay" target="_blank" href="<?=htmlspecialcharsbx($payment['PSA_ACTION_FILE'])?>"><?=Loc::getMessage('SPOL_TPL_PAY')?></a><? 192 } 194 { 195 ?><a class="personal-order-item-order-btn-pay ajax_reload" href="<?=htmlspecialcharsbx($payment['PSA_ACTION_FILE'])?>"><?=Loc::getMessage('SPOL_TPL_PAY')?></a><? 196 }search.php https://gitlab.com/alexprowars/bitrix | PHP | 532 lines
1<?php 2/** 202 'entityId' => $contact['ID'], 203 'name' => htmlspecialcharsbx(\CUser::formatName( 204 $nameTemplate, 212 )), 213 'desc' => htmlspecialcharsbx($contact['COMPANY_TITLE']) 214 ); 261 'entityType' => 'companies', 262 'name' => htmlspecialcharsbx(str_replace(array(';', ','), ' ', $company['TITLE'])), 263 'desc' => htmlspecialcharsbx(implode(', ', $descList)) 299 'entityType' => 'leads', 300 'name' => htmlspecialcharsbx($lead['TITLE']), 301 'desc' => htmlspecialcharsbx(\CUser::formatName( 356 'entityType' => 'deals', 357 'name' => htmlspecialcharsbx($deal['TITLE']), 358 'desc' => htmlspecialcharsbx(implode(', ', $descList))component.php https://gitlab.com/alexprowars/bitrix | PHP | 358 lines
1<?php 2/** 170 $arParams["HEADERS"][$i]["original_name"] = $header["name"]; 171 $arParams["HEADERS"][$i]["name"] = htmlspecialcharsbx($aCurView["custom_names"][$header["id"]]); 172 } 242 } 243 $arResult["HEADERS"][$id]["sort_url"] = htmlspecialcharsbx($arResult["CURRENT_URL"].$sep.$arParams["SORT_VARS"]["by"]."=".$header["sort"]."&".$arParams["SORT_VARS"]["order"]."="); 244 $arResult["HEADERS"][$id]["order"] = ($header["order"] == 'desc'? 'desc':'asc');component.php https://gitlab.com/alexprowars/bitrix | PHP | 322 lines
9$arParams["LESSON_ID"] = (isset($arParams["LESSON_ID"]) && intval($arParams["LESSON_ID"]) > 0 ? intval($arParams["LESSON_ID"]) : intval($_REQUEST["LESSON_ID"])); 10$arParams["SELF_TEST_TEMPLATE"] = ($arParams["SELF_TEST_TEMPLATE"] <> '' ? htmlspecialcharsbx($arParams["SELF_TEST_TEMPLATE"]) : "self.php?SELF_TEST_ID=#SELF_TEST_ID#"); 11$arParams["CHECK_PERMISSIONS"] = (isset($arParams["CHECK_PERMISSIONS"]) && $arParams["CHECK_PERMISSIONS"]=="N" ? "N" : "Y"); 293 array( 294 "URL" => "/bitrix/admin/learn_unilesson_edit.php?LESSON_ID=" . $arParams["LESSON_ID"] 295 . '&' . $strUrlencodedLessonPath 311 "TITLE" => GetMessage("LEARNING_COURSES_LESSON_DELETE"), 312 "URL" => "javascript:if(confirm('".GetMessage("LEARNING_COURSES_LESSON_DELETE_CONF")."'))jsUtils.Redirect([], '".CUtil::JSEscape("/bitrix/admin/learn_unilesson_admin.php?ID=".$arParams["LESSON_ID"]."&action=delete&lang=".LANGUAGE_ID."&".bitrix_sessid_get()."&COURSE_ID=".$arParams["COURSE_ID"]).($deleteReturnUrl <> ''? "&return_url=".urlencode($deleteReturnUrl) : "")."')", 313 "ICON" => "bx-context-toolbar-delete-icon",SpecialEmailuser.php https://github.com/daevid/MWFork.git | PHP | 319 lines
1<?php 2/** 42 $this->getUser()->getUserPage(), 43 htmlspecialchars( $this->getUser()->getName() ) 44 ), 52 $this->mTargetObj->getUserPage(), 53 htmlspecialchars( $this->mTargetObj->getName() ) 54 ),gallery.tpl.php https://github.com/punzzer/tubepress.git | PHP | 131 lines
38 <a id="tubepress_image_<?php echo $video->getId(); ?>_<?php echo ${org_tubepress_api_const_template_Variable::GALLERY_ID}; ?>" rel="tubepress_<?php echo ${org_tubepress_api_const_template_Variable::EMBEDDED_IMPL_NAME}; ?>_<?php echo ${org_tubepress_api_const_template_Variable::PLAYER_NAME}; ?>_<?php echo ${org_tubepress_api_const_template_Variable::GALLERY_ID}; ?>"> 39 <img alt="<?php echo htmlspecialchars($video->getTitle(), ENT_QUOTES, "UTF-8"); ?>" src="<?php echo $video->getThumbnailUrl(); ?>" width="<?php echo ${org_tubepress_api_const_template_Variable::THUMBNAIL_WIDTH}; ?>" height="<?php echo ${org_tubepress_api_const_template_Variable::THUMBNAIL_HEIGHT}; ?>" /> 40 </a> 43 <?php if (${org_tubepress_api_const_template_Variable::META_SHOULD_SHOW}[org_tubepress_api_const_options_names_Meta::TITLE]): ?> 44 <dt class="tubepress_meta tubepress_meta_title"><?php echo ${org_tubepress_api_const_template_Variable::META_LABELS}[org_tubepress_api_const_options_names_Meta::TITLE]; ?></dt><dd class="tubepress_meta tubepress_meta_title"><a id="tubepress_title_<?php echo $video->getId(); ?>_<?php echo ${org_tubepress_api_const_template_Variable::GALLERY_ID}; ?>" rel="tubepress_<?php echo ${org_tubepress_api_const_template_Variable::EMBEDDED_IMPL_NAME}; ?>_<?php echo ${org_tubepress_api_const_template_Variable::PLAYER_NAME}; ?>_<?php echo ${org_tubepress_api_const_template_Variable::GALLERY_ID}; ?>"><?php echo htmlspecialchars($video->getTitle(), ENT_QUOTES, "UTF-8"); ?></a></dd> 45 <?php endif; ?> 53 54 <dt class="tubepress_meta tubepress_meta_author"><?php echo ${org_tubepress_api_const_template_Variable::META_LABELS}[org_tubepress_api_const_options_names_Meta::AUTHOR]; ?></dt><dd class="tubepress_meta tubepress_meta_author"><a rel="external nofollow" href="http://www.youtube.com/user/<?php echo $video->getAuthorUid(); ?>"><?php echo $video->getAuthorDisplayName(); ?></a></dd> 55 <?php endif; ?> 63 64 <dt class="tubepress_meta tubepress_meta_url"><?php echo ${org_tubepress_api_const_template_Variable::META_LABELS}[org_tubepress_api_const_options_names_Meta::URL]; ?></dt><dd class="tubepress_meta tubepress_meta_url"><a rel="external nofollow" href="<?php echo $video->getHomeUrl(); ?>"><?php echo ${org_tubepress_api_const_template_Variable::META_LABELS}[org_tubepress_api_const_options_names_Meta::URL]; ?></a></dd> 65 <?php endif; ?> 111 112 <dt class="tubepress_meta tubepress_meta_description"><?php echo ${org_tubepress_api_const_template_Variable::META_LABELS}[org_tubepress_api_const_options_names_Meta::DESCRIPTION]; ?></dt><dd class="tubepress_meta tubepress_meta_description"><?php echo htmlspecialchars($video->getDescription(), ENT_QUOTES, "UTF-8"); ?></dd> 113 <?php endif; ?>Element.php https://bitbucket.org/acidel/buykoala.git | PHP | 437 lines
1<?php 2 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Element.php 20104 2010-01-06 21:26:01Z matthew $ 21 */ 233 $node = $this->_element->ownerDocument->createElementNS(Zend_Feed::lookupNamespace($ns), 234 $var, htmlspecialchars($val, ENT_NOQUOTES, $this->getEncoding())); 235 $this->_element->appendChild($node); 237 $node = $this->_element->ownerDocument->createElement($var, 238 htmlspecialchars($val, ENT_NOQUOTES, $this->getEncoding())); 239 $this->_element->appendChild($node); 244 */ 245 #require_once 'Zend/Feed/Exception.php'; 246 throw new Zend_Feed_Exception('Cannot set the value of multiple tags simultaneously.');search.php https://github.com/pear/pearweb.git | PHP | 424 lines
11 * 12 * borrowed from php-bugs-web, implementation by Sara Golemon <pollita@php.net> 13 * ported by Gregory Beaver <cellog@php.net> 33 'package_version' => 'package_version', 34 'php_version' => 'php_version', 35 'php_os' => 'os', 201} else { 202 $php_os = $_GET['php_os']; 203 $where_clause .= " AND bugdb.php_os LIKE '%" 345echo " <title>" . SITE_BIG . " Bug Search Results</title>\n"; 346echo ' <link>http://' . htmlspecialchars(PEAR_CHANNELNAME . '/bugs/search.php?' . 347 http_build_query($_GET)) . "</link>\n"; 375 $desc .= date(DATE_ATOM, $row['ts1a']) . "\n"; 376 $desc .= "PHP: {$row['php_version']} OS: {$row['php_os']} Package Version: {$row['package_version']}\n\n"; 377 $desc .= $row['ldesc'];UserGroups.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 357 lines
1<?php 2/** 7 8namespace PhpMyAdmin\Server; 9 9 10use PhpMyAdmin\Html\Generator; 11use PhpMyAdmin\Relation; 11use PhpMyAdmin\Relation; 12use PhpMyAdmin\Template; 13use PhpMyAdmin\Url; 13use PhpMyAdmin\Url; 14use PhpMyAdmin\Util; 15 16use function __; 17use function htmlspecialchars; 18use function implode;Abstract.php https://github.com/hansdubois/Docblox.git | PHP | 301 lines
1<?php 2/** 4 * 5 * PHP Version 5 6 * 11 * @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com) 12 * @license http://www.opensource.org/licenses/mit-license.php MIT 13 * @link http://docblox-project.org 22 * @author Mike van Riel <mike.vanriel@naenius.com> 23 * @license http://www.opensource.org/licenses/mit-license.php MIT 24 * @link http://docblox-project.org 145 // parent's SD when the inline tag {@inheritdoc} is used. 146 $desc->nodeValue = htmlspecialchars( 147 str_ireplace( 197 // parent's LD when the inline tag {@inheritdoc} is used. 198 $desc->nodeValue = htmlspecialchars( 199 str_ireplace(json.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 275 lines
1<?php 2/** 2/** 3* REST Application Programming Interface PHP class for the WordPress plugin NextGEN Gallery 4* Should emulate some kind of Flickr JSON callback : ?callback=json&format=json&api_key=1234567890&method=search&term=myterm 8* 9* @require PHP 5.2.0 or higher 10* 57 if ( !function_exists('json_encode') ) 58 wp_die('Json_encode not available. You need to use PHP 5.2'); 59 163 //TODO : need to rework save/load 164 $name = stripslashes( htmlspecialchars_decode($name, ENT_QUOTES)); 165 $obj->label = $image->pid . ' - ' . $name; 185 $name = ( empty($gallery->title) ) ? $gallery->name : $gallery->title; 186 $name = stripslashes( htmlspecialchars_decode($name, ENT_QUOTES)); 187 $obj->label = $gallery->gid . ' - ' . $name;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 */ 140 ->toPdf(); 141 $paymentInfo = htmlspecialchars_decode($paymentInfo, ENT_QUOTES); 142 $payment = explode('{{pdf_row_separator}}', $paymentInfo);forum_words.php https://gitlab.com/Rad1calDreamer/honey | PHP | 243 lines
4********************************************************************/ 5 require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 6 require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/forum/include.php"); 10 IncludeModuleLangFile(__FILE__); 11 require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/forum/prolog.php"); 12 $sTableID = "tbl_filter"; 28 if (strLen($find_pattern)>0) 29 $arFilter = array_merge($arFilter, array("%".htmlspecialcharsEx(strToUpper($find_type)) => "%".$find_pattern."%")); 30 if (($USE_IT) && $USE_IT != "all") 130 $row->bReadOnly = True; 131 $row->AddViewField("ID", '<a title="'.GetMessage("FLT_ACT_EDIT").'" href="'."forum_words_edit.php?DICTIONARY_ID=".$t_DICTIONARY_ID."&ID=".$t_ID."&lang=".LANG.'">'.$t_ID.'</a>'); 132 $row->AddInputField("WORDS", array("size"=>"20")); 139 $arActions = Array(); 140 $arActions[] = array("ICON"=>"edit", "TEXT"=>GetMessage("FLT_ACT_EDIT"), "ACTION"=>$lAdmin->ActionRedirect("forum_words_edit.php?DICTIONARY_ID=".$t_DICTIONARY_ID."&lang=".LANG."&ID=".$t_ID.GetFilterParams("filter_", false).""), "DEFAULT" => true); 141// $arActions[] = array("ICON"=>"edit", "TEXT"=>GetMessage("FLT_ACT_GEN"), "ACTION"=>$lAdmin->ActionDoGroup($t_ID, "generate", "DICTIONARY_ID=".$t_DICTIONARY_ID."&lang=".LANG));tax_rate.php https://gitlab.com/Rad1calDreamer/honey | PHP | 328 lines
8 9require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 10require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/sale/include.php"); 18IncludeModuleLangFile(__FILE__); 19require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/sale/prolog.php"); 20 130{ 131 $arPersonTypeList[$arPersonType["ID"]] = Array("ID" => $arPersonType["ID"], "NAME" => htmlspecialcharsEx($arPersonType["NAME"]), "LID" => implode(", ", $arPersonType["LIDS"])); 132} 143 144 $fieldShow = '<a href="sale_tax_edit.php?ID='.$f_TAX_ID.'&lang='.LANGUAGE_ID.'" title="'.GetMessage('TAX_EDIT_DESCR').'">'.$f_NAME.'</a> ('.$f_LID.')'; 145 $row->AddField("NAME", $fieldShow); 152 $arPerType = $arPersonTypeList[$f_PERSON_TYPE_ID]; 153 $fieldShow .= "[".$arPerType["ID"]."] ".$arPerType["NAME"]." (".htmlspecialcharsEx($arPerType["LID"]).")"; 154 }Sitemap.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 444 lines
1<?php 2/** 25 */ 26#require_once 'Zend/View/Helper/Navigation/HelperAbstract.php'; 27 30 * 31 * @link http://www.sitemaps.org/protocol.php 32 * 188 { 189 #require_once 'Zend/Uri.php'; 190 $uri = Zend_Uri::factory($serverUrl); 197 } else { 198 #require_once 'Zend/Uri/Exception.php'; 199 $e = new Zend_Uri_Exception(sprintf( 240 // do not encode existing HTML entities 241 return htmlspecialchars($string, ENT_QUOTES, $enc, false); 242 }APCCacheMode.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 299 lines
1<?php 2 58 wfMsgHtml( 'viewapc-display-' . $key ), 59 htmlspecialchars( $value ) ); 60 205 } 206 $value = $this->sortHeader( htmlspecialchars( $value ), array( 'display' => md5( $entry[$this->fieldKey] ) ) ); 207 } elseif ( $field === 'deleted' && $this->userMode && !$entry[$index] ) {imagepicker.php https://gitlab.com/che234/adn | PHP | 267 lines
1<?php 2/** 2/** 3 * @version $Id: imagepicker.php 11812 2013-06-27 17:49:30Z djamil $ 4 * @author RocketTheme http://www.rockettheme.com 69 $html[] = ' <input data-imagepicker-display="true" data-original-title="'.rc__($tipTitle).'" type="text" value="'.$path.'" '.$class.$placeholder.' />'; 70 $html[] = ' <input type="hidden" id="'.$this->id.'" name="'.$this->name.'" value="'.htmlspecialchars($this->value).'" />'; 71 $html[] = $this->_getDropdown(); 125 'attributes' => array( 126 'value' => $platforminfo->getRootUrl().'/wp-admin/media-upload.php?post_id=0&width=640&height=687&e_name=' . $this->id . '&TB_iframe=1', 127 'icon' => 'mediamanager', 137 'attributes' => array( 138 'value' => $platforminfo->getRootUrl().'/wp-admin/admin-ajax.php?action=rokgallery_gallerypicker&height=600&width=675&show_menuitems=0&inputfield=' . $this->id . '&modal=false&TB_iframe=true', 139 'icon' => 'rokgallery',text_frame_reflower.cls.php https://gitlab.com/ntphuc/BackendFeedy | PHP | 441 lines
1<?php 2/** 71// Debugging: 72// pre_r("Text: '" . htmlspecialchars($text). "'"); 73// pre_r("width: " .$frame_width);Profiler.php https://github.com/usagi-project/mynets1.git | PHP | 343 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 131 { 132 $val = htmlspecialchars($val, ENT_QUOTES); 133 $time = number_format($this->CI->db->query_times[$key], 4); 185 { 186 $output .= "<pre>" . htmlspecialchars(stripslashes(print_r($val, true))) . "</pre>"; 187 } 189 { 190 $output .= htmlspecialchars(stripslashes($val)); 191 } 232 233// $output .= "<tr><td width='50%' style='color:#000;background-color:#ddd;'>$_POST[".$key."] </td><td width='50%' style='color:#009900;font-weight:normal;background-color:#ddd;'>".htmlspecialchars(stripslashes($val))."</td></tr>\n"; 234 $output .= "<tr><td width='50%' style='color:#000;background-color:#ddd;'>$_POST[".$key."] </td><td width='50%' style='color:#009900;font-weight:normal;background-color:#ddd;'>";users_controller.php https://github.com/makies/croogo.git | PHP | 301 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 10 * @author Fahad Ibnay Heylaal <contact@fahad19.com> 11 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 12 * @link http://www.croogo.org 171 $this->data['User']['status'] = 0; 172 $this->data['User']['username'] = htmlspecialchars($this->data['User']['username']); 173 $this->data['User']['website'] = htmlspecialchars($this->data['User']['website']); 173 $this->data['User']['website'] = htmlspecialchars($this->data['User']['website']); 174 $this->data['User']['name'] = htmlspecialchars($this->data['User']['name']); 175 if ($this->User->save($this->data)) {runeditchief.php https://bitbucket.org/jorgenio/boca.git | PHP | 320 lines
1<?php 2//////////////////////////////////////////////////////////////////////////////// 18// Last modified 05/aug/2012 by cassio@ime.usp.br 19require 'header.php'; 20 21if (isset($_POST["cancel"]) && $_POST["cancel"]=="Cancel editing") 22 ForceLoad($runphp); 23 26 is_numeric($_POST["sitenumber"])) { 27 $sitenumber = myhtmlspecialchars($_POST["sitenumber"]); 28 $number = myhtmlspecialchars($_POST["number"]); 30 MSGError("Run renewed."); 31 ForceLoad($runphp); 32} 101</b></center> 102<form name="form1" method="post" action="<?php echo $runeditphp; ?>"> 103 <input type=hidden name="confirmation" value="noconfirm" />component.php https://gitlab.com/alexprowars/bitrix | PHP | 304 lines
34 $q = trim($_REQUEST["q"]); 35 $arResult["q"] = htmlspecialcharsbx($q); 36 $arParams["FID"] = (!empty($_REQUEST["FID"]) ? $_REQUEST["FID"] : $_REQUEST["FORUM_ID"]); 48 $arParams["~URL_TEMPLATES_".mb_strtoupper($URL)] = $arParams["URL_TEMPLATES_".mb_strtoupper($URL)]; 49 $arParams["URL_TEMPLATES_".mb_strtoupper($URL)] = htmlspecialcharsbx($arParams["~URL_TEMPLATES_".mb_strtoupper($URL)]); 50 } 55 $arParams["PAGE_NAVIGATION_WINDOW"] = intval(intVal($arParams["PAGE_NAVIGATION_WINDOW"]) > 0 ? $arParams["PAGE_NAVIGATION_WINDOW"] : 11); 56 $arParams["DATE_FORMAT"] = trim(empty($arParams["DATE_FORMAT"]) ? $DB->DateFormatToPHP(CSite::GetDateFormat("SHORT")) : $arParams["DATE_FORMAT"]); 57 $arParams["TOPICS_PER_PAGE"] = intval(intVal($arParams["TOPICS_PER_PAGE"]) > 0 ? $arParams["TOPICS_PER_PAGE"] : COption::GetOptionString("forum", "TOPICS_PER_PAGE", "10")); 76$arResult["FORUMS"] = array(); 77$arResult["GROUPS_FORUMS"] = array(); // declared in result_modifier.php 78$arResult["GROUPS"] = CForumGroup::GetByLang(LANGUAGE_ID); 80$aSort = array("RANK"=>"DESC", "DATE_CHANGE"=>"DESC"); 81$cache = new CPHPCache(); 82$cache_path_main = str_replace(array(":", "//"), "/", "/".SITE_ID."/".$componentName."/");element.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 481 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 3// +----------------------------------------------------------------------+ 4// | PHP version 4.0 | 5// +----------------------------------------------------------------------+ 5// +----------------------------------------------------------------------+ 6// | Copyright (c) 1997, 1998, 1999, 2000, 2001 The PHP Group | 7// +----------------------------------------------------------------------+ 7// +----------------------------------------------------------------------+ 8// | This source file is subject to version 2.0 of the PHP license, | 9// | that is bundled with this package in the file LICENSE, and is | 10// | available at through the world-wide-web at | 11// | http://www.php.net/license/2_02.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 | 14// | license@php.net so we can mail you a copy immediately. | 15// +----------------------------------------------------------------------+index.php https://github.com/nistormihai/Newscoop.git | PHP | 280 lines
212 <script>default_class[<?php p($counter); ?>] = "<?php p($rowClass); ?>";</script> 213 <TR id="row_<?php p($counter); ?>" class="<?php p($rowClass); ?>" onmouseover="setPointer(this, <?php p($counter); ?>, 'over');" onmouseout="setPointer(this, <?php p($counter); ?>, 'out');"> 214 <TD> 239 <?php if (!$poll->getProperty('parent_poll_nr')) { ?> 240 <a href="translate.php?f_poll_nr=<?php p($poll->getNumber()); ?>&f_fk_language_id=<?php p($poll->getLanguageId()) ?>" title="<?php putGS('Translate') ?>"> 241 <IMG SRC="<?php echo $Campsite["ADMIN_IMAGE_BASE_URL"]; ?>/translate.png" BORDER="0"> 247 <?php if ($poll->isExtended()) { ?> 248 <a href="copy.php?f_poll_nr=<?php p($poll->getNumber()); ?>&f_fk_language_id=<?php p($poll->getLanguageId()) ?>" title="<?php putGS('Copy') ?>"> 249 <IMG SRC="<?php echo $Campsite["ADMIN_IMAGE_BASE_URL"]; ?>/duplicate.png" BORDER="0"> 254 <td align='center'> 255 <a href="result.php?f_poll_nr=<?php p($poll->getNumber()); ?>&f_fk_language_id=<?php p($poll->getLanguageId()); ?>" title="<?php putGS('Result') ?>"> 256 <IMG SRC="<?php echo $Campsite["ADMIN_IMAGE_BASE_URL"]; ?>/preview.png" BORDER="0"> 260 <td align='center'> 261 <a href="javascript: if (confirm('<?php echo camp_javascriptspecialchars(getGS('Are you sure you want to delete the poll "$1"?', $poll->getProperty('title'))); ?>')) location.href='do_delete.php?f_poll_nr=<?php p($poll->getNumber()); ?>&f_fk_language_id=<?php p($poll->getLanguageId()); ?>&<?php echo SecurityToken::URLParameter(); ?>'"> 262 <IMG SRC="<?php echo $Campsite["ADMIN_IMAGE_BASE_URL"]; ?>/delete.png" BORDER="0">Theme_Manager.class.php https://bitbucket.org/pavolve/masterskayaludmila.git | PHP | 380 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 4 * 5 * @package PhpMyAdmin 6 */ 9 * 10 * @package PhpMyAdmin 11 */ 110 __('Default theme %s not found!'), 111 htmlspecialchars($GLOBALS['cfg']['ThemeDefault']) 112 ), 151 __('Theme %s not found!'), 152 htmlspecialchars($theme) 153 ), 202 // force a change of a dummy session variable to avoid problems 203 // with the caching of phpmyadmin.css.php 204 $GLOBALS['PMA_Config']->set('theme-update', $this->theme->id);default_items.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 259 lines
1<?php 2/** 2/** 3 * @version $Id: default_items.php 19737 2012-12-27 07:53:42Z tuyetvt $ 4 * @package Joomla.Site 23?> 24<?php if (empty($this->items)) : ?> 25 30<?php JHtml::_('behavior.framework'); ?> 31<form action="<?php echo htmlspecialchars(JUri::getInstance()->toString()); ?>" method="post" name="adminForm" id="adminForm"> 32 <fieldset class="filters"> 175 <?php if ($this->params->get('show_pagination_limit')) : ?> 176 <?php echo JText::_('JGLOBAL_DISPLAY_NUM'); ?>  <?php echo $this->pagination->getLimitBox(); ?> 177 <?php endif; ?> 216 <td class="jsn-table-column-order" width="10" align="center"><?php echo $i+1; ?></td> 217 <td class="jsn-table-column-name"><a href="<?php echo JRoute::_(ContactHelperRoute::getContactRoute($item->slug, $item->catid)); ?>"> <?php echo $item->name; ?></a></td> 218 <?php if ($this->params->get('show_country_headings')) : ?>smime.php https://github.com/Excito/imp.git | PHP | 366 lines
1<?php 2/** 2/** 3 * $Horde: imp/smime.php,v 2.48.4.16 2009/02/10 18:47:40 slusarz Exp $ 4 * 21 $t->setOption('gettext', true); 22 $t->set('selfurl', Horde::applicationUrl('smime.php')); 23 $t->set('broken_mp_form', $GLOBALS['browser']->hasQuirk('broken_multipart_form')); 23 $t->set('broken_mp_form', $GLOBALS['browser']->hasQuirk('broken_multipart_form')); 24 $t->set('reload', htmlspecialchars(Util::getFormData('reload'))); 25 $t->set('target', $target); 63 $t->setOption('gettext', true); 64 $t->set('submit_url', Util::addParameter(Horde::applicationUrl('smime.php'), 'actionID', 'process_passphrase_dialog')); 65 $t->set('reload', htmlspecialchars(Util::getFormData('reload'))); 65 $t->set('reload', htmlspecialchars(Util::getFormData('reload'))); 66 $t->set('action', htmlspecialchars(Util::getFormData('passphrase_action'))); 67 $t->set('locked_img', Horde::img('locked.png', _("S/MIME"), null, $GLOBALS['registry']->getImageDir('horde')));general.php https://github.com/cj/Project-Pier.git | PHP | 513 lines
1<?php 2 64 /** 65 * Equivalent to htmlspecialchars(), but allows &#[0-9]+ (for unicode) 66 * 83 */ 84 function undo_htmlspecialchars($escaped_string) { 85 $search = array('&', '<', '>'); 87 return str_replace($search, $replace, $escaped_string); 88 } // undo_htmlspecialchars 89 368 return min( 369 php_config_value_to_bytes(ini_get('upload_max_filesize')), 370 php_config_value_to_bytes(ini_get('post_max_size')) 374 /** 375 * Convert PHP config value (2M, 8M, 200K...) to bytes 376 *userhistory.php https://github.com/Bigjoos/U-232.git | PHP | 273 lines
11require_once(INCL_DIR . 'bbcode_functions.php'); 12require_once(INCL_DIR . 'pager_functions.php'); 13require_once(INCL_DIR . 'html_functions.php'); 59 60 $pager = pager($perpage, $postcount, "userhistory.php?action=viewposts&id=$userid&"); 61 123 $added -- <b>{$lang['posts_forum']}: </b> 124 <a href='forums.php?action=viewforum&forumid=$forumid'>$forumname</a> 125 -- <b>{$lang['posts_topic']}: </b> 137 $subrow = mysqli_fetch_assoc($subres); 138 $body .= "<p><font size='1' class='small'>{$lang['posts_lasteditedby']} <a href='userdetails.php?id=" . intval($arr['editedby']) . "'><b>" . htmlspecialchars($subrow['username']) . "</b></a> {$lang['posts_at']} " . get_date($arr['editedat'], 'LONG', 1, 0) . " GMT</font></p>\n"; 139 } 239 240 $HTMLOUT .= "<div class='sub'><table border='0' cellspacing='0' cellpadding='0'><tr><td class='embedded'>" . "$added --- <b>{$lang['posts_torrent']}: </b>" . ($torrent ? ("<a href='details.php?id=$torrentid&tocomm=1'>$torrent</a>") : " [{$lang['posts_del']}] ") . " --- <b>{$lang['posts_comment']}: </b>#<a href='details.php?id=$torrentid&tocomm=1$page_url'>$commentid</a> 241 </td></tr></table></div>\n";edit.php https://github.com/Bigjoos/U-232-V1.git | PHP | 201 lines
12require_once INCL_DIR.'bbcode_functions.php'; 13require_once INCL_DIR.'page_verify.php'; 14 76 $ismodd = '<tr><td align=\'center\' class=\'colhead\' colspan=\'2\'><b>Edit Torrent</b> '.(($CURUSER['class'] > UC_UPLOADER)?'<small><a href="edit.php?id='.$id.'&unedit=1">Click here</a> to add temp edit notification while you edit this torrent</small>':'').'</td></tr>'; 77 $HTMLOUT .= "<form name='compose' method='post' action='takeedit.php' enctype='multipart/form-data'> 78 <input type='hidden' name='id' value='$id' />"; 80 if (isset($_GET["returnto"])) 81 $HTMLOUT .= "<input type='hidden' name='returnto' value='" . htmlspecialchars($_GET["returnto"]) . "' />\n"; 82 $HTMLOUT .= "<table border='1' cellspacing='0' cellpadding='10'>\n"; 84 $HTMLOUT .= tr("{$lang['edit_imdb_url']}", "<input type='text' name='url' size='80' value='".$row["url"]."' />", 1); 85 $HTMLOUT .= tr($lang['edit_poster'], "<input type='text' name='poster' size='80' value='" . htmlspecialchars($row["poster"]) . "' /><br />{$lang['edit_poster1']}\n", 1); 86 $HTMLOUT .= tr($lang['edit_torrent_name'], "<input type='text' name='name' value='" . htmlspecialchars($row["name"]) . "' size='80' />", 1); 154 <select name='allow_comments'> 155 <option value='".htmlspecialchars($row["allow_comments"])."'>".htmlspecialchars($row["allow_comments"])."</option> 156 <option value='yes'>Yes</option><option value='no'>No</option></select>{$messc}</td></tr>\n";JsConnect.php https://github.com/vanilla/jsConnectPHP.git | PHP | 433 lines
1<?php 2/** 19class JsConnect { 20 const VERSION = 'php:3'; 21 158 } catch (Exception $ex) { 159 echo htmlspecialchars($ex->getMessage()); 160 }email-manager.php https://bitbucket.org/JoeKyy/r-dio-animix.git | PHP | 366 lines
289 <br /> 290 <form action="<?php echo admin_url('admin.php?page='.plugin_basename(__FILE__)); ?>" method="get"> 291 <table class="widefat"> 306 <option value="host"<?php if($email_sortby == 'email_host') { echo ' selected="selected"'; }?>><?php _e('Host', 'wp-email'); ?></option> 307 <option value="status"<?php if($email_sortby == 'email_status') { echo ' selected="selected"'; }?>><?php _e('Status', 'wp-email'); ?></option> 308 </select> 311 <option value="asc"<?php if($email_sortorder == 'ASC') { echo ' selected="selected"'; }?>><?php _e('Ascending', 'wp-email'); ?></option> 312 <option value="desc"<?php if($email_sortorder == 'DESC') { echo ' selected="selected"'; } ?>><?php _e('Descending', 'wp-email'); ?></option> 313 </select> 359 <div align="center"> 360 <form method="post" action="<?php echo admin_url('admin.php?page='.plugin_basename(__FILE__)); ?>"> 361 <strong><?php _e('Are You Sure You Want To Delete All E-Mail Logs?', 'wp-email'); ?></strong><br /><br /> 362 <input type="checkbox" name="delete_logs_yes" value="yes" /> <?php _e('Yes', 'wp-email'); ?><br /><br /> 363 <input type="submit" name="delete_logs" value="<?php _e('Delete', 'wp-email'); ?>" class="button" onclick="return confirm('<?php _e('You Are About To Delete All E-Mail Logs\nThis Action Is Not Reversible.\n\n Choose [Cancel] to stop, [OK] to delete.', 'wp-email'); ?>')" /> 364 </form>options.class.php https://gitlab.com/wowthemes/wmailchimp | PHP | 333 lines
1<?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly. 2/** 128 var_export( $this->field ); 129 $out .= htmlspecialchars( ob_get_clean() ); 130 $out .= "\n\n"; 140 var_export( $value ); 141 $out .= htmlspecialchars( ob_get_clean() ); 142 }sfValidatorDateTest.php https://github.com/bheneka/gitta.git | PHP | 246 lines
1<?php 2 10 11require_once(dirname(__FILE__).'/../../bootstrap/unit.php'); 12 101 $t->pass('->clean() throws a sfValidatorError if the date does not match the regex'); 102 $t->like($e->getMessage(), '/'.preg_quote(htmlspecialchars($v->getOption('date_format'), ENT_QUOTES, 'UTF-8'), '/').'/', '->clean() returns the expected date format in the error message'); 103 $t->is($e->getCode(), 'bad_format', '->clean() throws a sfValidatorError');blog.php https://github.com/brettp/Elgg-pagodabox.git | PHP | 435 lines
1<?php 2/** 29 30 $return['title'] = htmlspecialchars($blog->title); 31d936d632ec23c697576ecc385563ecddbef3c795.file.ajax.tpl.php https://gitlab.com/nghiep5890/prestashop | PHP | 263 lines
38[]"<?php if (isset($_smarty_tpl->tpl_vars['url']->value)) {?> data-url="<?php echo $_smarty_tpl->tpl_vars['url']->value;?> 39"<?php }?><?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&$_smarty_tpl->tpl_vars['multiple']->value) {?> multiple="multiple"<?php }?> style="width:0px;height:0px;" /> 40 <button class="btn btn-default" data-style="expand-right" data-size="s" type="button" id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?> 41-add-button"> 42 <i class="icon-folder-open"></i> <?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&$_smarty_tpl->tpl_vars['multiple']->value) {?><?php echo smartyTranslate(array('s'=>'Add files...'),$_smarty_tpl);?> 43<?php } else { ?><?php echo smartyTranslate(array('s'=>'Add file...'),$_smarty_tpl);?> 123 if (data.result) { 124 if (typeof data.result.<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?> 125 !== 'undefined') { 127.length; i++) { 128 if (typeof data.result.<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?> 129[i].error !== 'undefined' && data.result.<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?> 188 }).on('fileuploadadd', function(e, data) { 189 if (typeof <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?> 190_max_files !== 'undefined') {index.php https://github.com/acidvertigo/minify.git | PHP | 232 lines
24 25require dirname(__FILE__) . '/../config.php'; 26 39 echo "Minify: set_include_path() failed. You may need to set your include_path " 40 ."outside of PHP code, e.g., in php.ini."; 41 } else { 64 correctly rewritten in CSS output: 65 <br><textarea id=symlinkOpt rows=3 cols=80 readonly><?php echo htmlspecialchars($symlinkOption); ?></textarea> 66</div> 76<?php if ($cachePathCode): ?> 77<p class=topNote><strong>Note:</strong> <code><?php echo 78 htmlspecialchars($detectedTmp); ?></code> was discovered as a usable temp directory.<br>To 79 slightly improve performance you can hardcode this in /min/config.php: 80 <code><?php echo htmlspecialchars($cachePathCode); ?></code></p> 81<?php endIf; ?>brakes.php https://github.com/railroadman2k/ccss.git | PHP | 270 lines
3 4include "validator.php"; 5if(array_key_exists("selected_ticket_id", $_SESSION)) unset($_SESSION["selected_ticket_id"]); 15{ 16 header("Location: index.php"); 17 exit; 65 $created_days_left=$out->created_days_left; 66 $subject=StripSlashes(htmlspecialchars($out->subject)); 67 $group_id=$out->group_id; 114 $applicant_name = ""; 115 if(trim($cc_fname) != "" || trim($cc_lname != "")) $applicant_name = "<br><span class=\"grey\">name:</span> <strong>" . ucwords(htmlspecialchars($cc_fname)) . " " . ucwords(htmlspecialchars($cc_lname))."</strong>"; 116 $xtpl->assign("FROM", $member . $applicant_name . "<br>" . $from_email . $golden); 193 $applicant_name = ""; 194 if(trim($cc_fname) != "" || trim($cc_lname != "")) $applicant_name = "<br><span class=\"grey\">name:</span> <strong>" . ucwords(htmlspecialchars($cc_fname)) . " " . ucwords(htmlspecialchars($cc_lname))."</strong>"; 195 $xtpl->assign("FROM", $member . $applicant_name . "<br>" . $from_email . $golden);FileDeleteForm.php https://github.com/daevid/MWFork.git | PHP | 335 lines
1<?php 2 50 if( $this->oldimage && !self::isValidOldSpec($this->oldimage) ) { 51 $wgOut->showUnexpectedValueError( 'oldimage', htmlspecialchars( $this->oldimage ) ); 52 return; 237 global $wgOut; 238 $wgOut->addHTML( '<h2>' . htmlspecialchars( LogPage::logName( 'delete' ) ) . "</h2>\n" ); 239 LogEventsList::showLogExtract( $wgOut, 'delete', $this->title->getPrefixedText() );checkbase.php https://github.com/brandonburke/WordPress-Plugin-Baseline.git | PHP | 231 lines
1<?php 2// main global to hold our checks 13 // should return true for good/okay/acceptable, false for bad/not-okay/unacceptable 14 public function check( $php_files, $css_files, $other_files ); 15 21$dir = 'checks'; 22foreach (glob(dirname(__FILE__). "/{$dir}/*.php") as $file) { 23 include $file; 25 26function run_themechecks($php, $css, $other) { 27 global $themechecks; 30 if ($check instanceof themecheck) { 31 $pass = $pass & $check->check($php, $css, $other); 32 } 90 $pre = ( FALSE !== ( $pos = strpos( $this_line, $error ) ) ? substr( $this_line, 0, $pos ) : FALSE ); 91 $pre = ltrim( htmlspecialchars( $pre ) ); 92 $bad_lines .= __("<pre class='tc-grep'>Line ", "themecheck") . ( $line_index+1 ) . ": " . $pre . htmlspecialchars( substr( stristr( $this_line, $error ), 0, 75 ) ) . "</pre>";component.php https://gitlab.com/alexprowars/bitrix | PHP | 208 lines
30if($arParams["PATH_TO_BLOG"] == '') 31 $arParams["PATH_TO_BLOG"] = htmlspecialcharsbx($APPLICATION->GetCurPage()."?".$arParams["PAGE_VAR"]."=blog&".$arParams["BLOG_VAR"]."=#blog#"); 32 34if($arParams["PATH_TO_BLOG_CATEGORY"] == '') 35 $arParams["PATH_TO_BLOG_CATEGORY"] = htmlspecialcharsbx($APPLICATION->GetCurPage()."?".$arParams["PAGE_VAR"]."=blog&".$arParams["BLOG_VAR"]."=#blog#"."&calegory=#category#"); 36 38if($arParams["PATH_TO_POST"] == '') 39 $arParams["PATH_TO_POST"] = htmlspecialcharsbx($APPLICATION->GetCurPage()."?".$arParams["PAGE_VAR"]."=post&".$arParams["BLOG_VAR"]."=#blog#&".$arParams["POST_VAR"]."=#post_id#"); 40 42if($arParams["PATH_TO_USER"] == '') 43 $arParams["PATH_TO_USER"] = htmlspecialcharsbx($APPLICATION->GetCurPage()."?".$arParams["PAGE_VAR"]."=user&".$arParams["USER_VAR"]."=#user_id#"); 44 45$arParams["PATH_TO_SMILE"] = trim($arParams["PATH_TO_SMILE"]) == '' ? false : trim($arParams["PATH_TO_SMILE"]); 46$arParams["DATE_TIME_FORMAT"] = trim(empty($arParams["DATE_TIME_FORMAT"]) ? $DB->DateFormatToPHP(CSite::GetDateFormat("FULL")) : $arParams["DATE_TIME_FORMAT"]); 47$arParams["IMAGE_MAX_WIDTH"] = intval($arParams["IMAGE_MAX_WIDTH"]);Lexer.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 357 lines
1<?php 2 127 "Cannot instantiate unrecognized Lexer type " . 128 htmlspecialchars($lexer) 129 ); 136 137 // once PHP DOM implements native line numbers, or we 138 // hack out something using XSLT, remove this stipulation 281 // not exactly sure why the character set is needed, but whatever 282 return htmlspecialchars($matches[1], ENT_COMPAT, 'UTF-8'); 283 }Element.php https://gitlab.com/devtoannh/cafe | PHP | 437 lines
1<?php 2 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Element.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 233 $node = $this->_element->ownerDocument->createElementNS(Zend_Feed::lookupNamespace($ns), 234 $var, htmlspecialchars($val, ENT_NOQUOTES, $this->getEncoding())); 235 $this->_element->appendChild($node); 237 $node = $this->_element->ownerDocument->createElement($var, 238 htmlspecialchars($val, ENT_NOQUOTES, $this->getEncoding())); 239 $this->_element->appendChild($node); 244 */ 245 require_once 'Zend/Feed/Exception.php'; 246 throw new Zend_Feed_Exception('Cannot set the value of multiple tags simultaneously.');ckeditor_php5.php https://github.com/Duan/Zoooday.git | PHP | 556 lines
1<?php 2/* 8 * \brief CKEditor class that can be used to create editor 9 * instances in PHP pages on server side. 10 * @see http://ckeditor.com 136 } 137 $out = "<textarea name=\"" . $name . "\"" . $attr . ">" . htmlspecialchars($value) . "</textarea>\n"; 138 if (!$this->initialized) { 485 * The absolute pathname of the currently executing script. 486 * Note: If a script is executed with the CLI, as a relative path, such as file.php or ../file.php, 487 * $_SERVER['SCRIPT_FILENAME'] will contain the relative path specified by the user. 500 * The filename of the currently executing script, relative to the document root. 501 * For instance, $_SERVER['PHP_SELF'] in a script at the address http://example.com/test.php/foo.bar 502 * would be /test.php/foo.bar. 512 $fileUrl = substr($file, strlen($documentRoot)); 513 $ckeditorUrl = str_replace("ckeditor_php5.php", "", $fileUrl); 514bannerrotation.php https://github.com/WeMake-IT/Hosting-Service.git | PHP | 271 lines
1<?php 2/* 46 47if(!ispageadmin($userID) OR mb_substr(basename($_SERVER['REQUEST_URI']),0,15) != "admincenter.php") die($_language->module['access_denied']); 48 55 56 echo'<h1>¤ <a href="admincenter.php?site=bannerrotation" class="white">'.$_language->module['bannerrotation'].'</a> » '.$_language->module['add_banner'].'</h1>'; 57 61 62 echo'<form method="post" action="admincenter.php?site=bannerrotation" enctype="multipart/form-data"> 63 <table width="100%" border="0" cellspacing="1" cellpadding="3"> 89 90 echo'<h1>¤ <a href="admincenter.php?site=bannerrotation" class="white">'.$_language->module['bannerrotation'].'</a> » '.$_language->module['edit_banner'].'</h1>'; 91 104 $hash = $CAPCLASS->get_hash(); 105 echo'<form method="post" action="admincenter.php?site=bannerrotation" enctype="multipart/form-data"> 106 <input type="hidden" name="bannerID" value="'.$ds['bannerID'].'" />menu.php https://gitlab.com/alexprowars/bitrix | PHP | 337 lines
68 $arProfileList[] = array( 69 "text" => htmlspecialcharsbx($strName), 70 "url" => "cat_export_setup.php?lang=".LANGUAGE_ID."&ACT_FILE=".$arProfile["FILE_NAME"]."&ACTION=EXPORT_EDIT&PROFILE_ID=".$arProfile["ID"]."&".bitrix_sessid_get(), 114 "url" => "cat_exec_imp.php?lang=".LANGUAGE_ID."&ACT_FILE=".$arProfile["FILE_NAME"]."&ACTION=IMPORT&PROFILE_ID=".$arProfile["ID"]."&".bitrix_sessid_get(), 115 "title" => GetMessage("CAM_IMPORT_DESCR_IMPORT")." "".htmlspecialcharsbx($strName).""", 116 "readonly" => !$boolImportExec, 158 "text" => GetMessage("CM_DISCOUNTS"), 159 "more_url" => array("cat_discount_edit.php", "cat_discount_coupon.php", "cat_discount_coupon_edit.php"), 160 "title" => GetMessage("CM_DISCOUNTS_ALT"), 187 "url" => "cat_store_document_list.php?lang=".LANGUAGE_ID, 188 "more_url" => array("cat_store_document_edit.php"), 189 "title" => GetMessage("CM_STORE_DOCS"), 195 "text" => GetMessage("CM_CONTRACTORS"), 196 "url" => "cat_contractor_list.php?lang=".LANGUAGE_ID, 197 "more_url" => array("cat_contractor_edit.php"),Report.php https://github.com/michaelmcandrew/vaw.git | PHP | 341 lines
3/** 4 * PHPIDS 5 * 7 * 8 * Copyright (c) 2008 PHPIDS group (http://php-ids.org) 9 * 9 * 10 * PHPIDS is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU Lesser General Public License as published by 22 * 23 * PHP version 5.1.6+ 24 * 25 * @category Security 26 * @package PHPIDS 27 * @author Mario Heiderich <mario.heiderich@gmail.com>index.php https://github.com/AvinashMudunuri/Modernize.git | PHP | 186 lines
5?> 6<?php 7 7 8$editFormAction = $_SERVER['PHP_SELF']; 9if (isset($_SERVER['QUERY_STRING'])) { 20 21 $loginUsername = htmlspecialchars($_POST['email'],ENT_QUOTES); 22 $password = sha1($_POST['password']); 22 $password = sha1($_POST['password']); 23 $MM_redirectLoginSuccess = "details.php"; 24 59 60<?php include("header.php");?> 61 <script type="text/javascript"> 185 </div> 186 <?php include("footer.php");?>youtube.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 284 lines
1<?php 2 35 $regexp = '!<object width="\d+" height="\d+"><param name="movie" value="https?://www\.youtube\.com/v/([^"]+)"></param>(?:<param name="\w+" value="[^"]*"></param>)*<embed src="https?://www\.youtube\.com/v/(.+)" type="application/x-shockwave-flash"(?: \w+="[^"]*")* width="\d+" height="\d+"></embed></object>!i'; 36 $regexp_ent = htmlspecialchars( $regexp, ENT_NOQUOTES ); 37 $old_regexp = '!<embed(?:\s+\w+="[^"]*")*\s+src="https?(?:\:|�*58;)//www\.youtube\.com/v/([^"]+)"(?:\s+\w+="[^"]*")*\s*(?:/>|>\s*</embed>)!'; 37 $old_regexp = '!<embed(?:\s+\w+="[^"]*")*\s+src="https?(?:\:|�*58;)//www\.youtube\.com/v/([^"]+)"(?:\s+\w+="[^"]*")*\s*(?:/>|>\s*</embed>)!'; 38 $old_regexp_ent = str_replace( '&#0*58;', '&#0*58;|�*58;', htmlspecialchars( $old_regexp, ENT_NOQUOTES ) ); 39 41 $ifr_regexp = '!<iframe((?:\s+\w+="[^"]*")*?)\s+src="https?://(?:www\.)*youtube.com/embed/([^"]+)".*?</iframe>!i'; 42 $ifr_regexp_ent = str_replace( '&#0*58;', '&#0*58;|�*58;', htmlspecialchars( $ifr_regexp, ENT_NOQUOTES ) ); 43search.php https://github.com/severnaya99/Sg-2010.git | PHP | 222 lines
1<?php 2// $Id: search.php,v 4.04 2008/06/05 15:35:59 wishcraft Exp $ 3// ------------------------------------------------------------------------ // 4// XOOPS - PHP Content Management System // 5// Copyright (c) 2000 XOOPS.org // 30// ------------------------------------------------------------------------ // 31include 'header.php'; 32forum_load_lang_file("search"); 35if ($xoopsConfigSearch['enable_search'] != 1) { 36 header('Location: '.XOOPS_URL.'/modules/xforum/index.php'); 37 exit(); 41$xoopsOption['template_main']= 'xforum_search.html'; 42include XOOPS_ROOT_PATH.'/header.php'; 43 43 44include_once XOOPS_ROOT_PATH.'/modules/xforum/include/search.inc.php'; 45$limit = $xoopsModuleConfig['topics_per_page'];locking.php https://gitlab.com/Lidbary/PHPRunner | PHP | 352 lines
1<?php 2class oLocking 238 if($links){ 239 $str.='<a class="unlock" href="#" onclick="Runner.pages.PageManager.getAt(\''.runner_htmlspecialchars(jsreplace($strtable)).'\', '.$pageid.').locking.UnlockAdmin(\'' 240 .runner_htmlspecialchars(jsreplace($skeys)).'\',\''.$data["sessionid"].'\',\'no\');return false;">'."Unlock record".'</a>'; 240 .runner_htmlspecialchars(jsreplace($skeys)).'\',\''.$data["sessionid"].'\',\'no\');return false;">'."Unlock record".'</a>'; 241 $str.='<a class="edit" href="#" onclick="Runner.pages.PageManager.getAt(\''.runner_htmlspecialchars(jsreplace($strtable)).'\', '.$pageid.').locking.UnlockAdmin(\'' 242 .runner_htmlspecialchars(jsreplace($skeys)).'\',\''.$data["sessionid"].'\',\'yes\');return false;">'."Edit record".'</a>';tbl_create.php https://github.com/shafiqissani/ASTRA-College-Website.git | PHP | 248 lines
1<?php 2/* $Id: tbl_create.php 10144 2007-03-20 11:22:31Z cybot_tm $ */ 7 */ 8require_once './libraries/common.lib.php'; 9require_once './libraries/Table.class.php'; 16 17require_once './libraries/header.inc.php'; 18 60 for ($i = 0; $i < $field_cnt; $i++) { 61 // '0' is also empty for php :-( 62 if (empty($field_name[$i]) && $field_name[$i] != '0') { 170 unset($query_cpy); 171 $message = $strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenCreated; 172 173 // garvin: If comments were sent, enable relation stuff 174 require_once './libraries/relation.lib.php'; 175 require_once './libraries/transformations.lib.php';connection.php https://gitlab.com/alexprowars/bitrix | PHP | 455 lines
39 * Link site to Bitrix24.Network 40 * Code borrowed from socialservices/options.php 41 * @throws \Bitrix\Main\ArgumentNullException 152 { 153 $onclick = 'BX.B24Connector.showPortalChoosingDialog(\''.\CUtil::JSEscape($urlTeml).'\', '.\CUtil::PhpToJSObject($hosts).');'; 154 } 165 166 $result = '<a href="'.htmlspecialcharsbx($href).'"'. 167 ($onclick <> '' ? ' onclick="'.$onclick.'"' : ''). 201 { 202 $onclick = 'BX.B24Connector.showPortalChoosingDialog(\''.\CUtil::JSEscape($urlTeml).'\', '.\CUtil::PhpToJSObject($hosts).');'; 203 } 214 215 return '<input type="button" onclick="'.htmlspecialcharsbx($onclick).'" value="'.$title.'"'.($disabled ? ' disabled' : '').'>'; 216 }cat.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 213 lines
1<?php 2 32 $data['description'] = nv_substr( $data['description'], 0, 255 ); 33 $data['description'] = nv_nl2br( nv_htmlspecialchars( strip_tags( $data['description'] ) ), '<br />' ); 34 $data['alias'] = ( $data['alias'] == "" ) ? change_alias( $data['title'] ) : change_alias( $data['alias'] ); 83 nv_del_moduleCache( $module_name ); 84 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" ); 85 die(); 109 nv_del_moduleCache( $module_name ); 110 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" ); 111 die(); 208 209include ( NV_ROOTDIR . "/includes/header.php" ); 210echo nv_admin_theme( $contents ); 210echo nv_admin_theme( $contents ); 211include ( NV_ROOTDIR . "/includes/footer.php" ); 212db_datadict.php https://gitlab.com/albert925/lading-ach | PHP | 325 lines
49 <p> <?php echo $strDBComment; ?> 50 <i><?php echo htmlspecialchars($comment); ?></i></p> 51 <?php 175 <th width="80"><?php echo $strType; ?></th> 176<?php /* <th width="50"><?php echo $strAttr; ?></th>*/ ?> 177 <th width="40"><?php echo $strNull; ?></th> 178 <th width="70"><?php echo $strDefault; ?></th> 179<?php /* <th width="50"><?php echo $strExtra; ?></th>*/ ?> 180 <?php 265 <td<?php echo $type_nowrap; ?> xml:lang="en" dir="ltr"><?php echo $type; ?></td> 266<?php /* <td<?php echo $type_nowrap; ?>><?php echo $strAttribute; ?></td>*/ ?> 267 <td><?php echo (($row['Null'] == 'NO') ? $strNo : $strYes); ?></td> 268 <td nowrap="nowrap"><?php if (isset($row['Default'])) { echo $row['Default']; } ?></td> 269<?php /* <td<?php echo $type_nowrap; ?>><?php echo $row['Extra']; ?></td>*/ ?> 270 <?phpReport.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 341 lines
3/** 4 * PHPIDS 5 * 7 * 8 * Copyright (c) 2008 PHPIDS group (https://phpids.org) 9 * 9 * 10 * PHPIDS is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU Lesser General Public License as published by 22 * 23 * PHP version 5.1.6+ 24 * 25 * @category Security 26 * @package PHPIDS 27 * @author Mario Heiderich <mario.heiderich@gmail.com>wp-diff.php https://gitlab.com/Gashler/dp | PHP | 500 lines
1<?php 2/** 12 /** Text_Diff class */ 13 require( dirname(__FILE__).'/Text/Diff.php' ); 14 /** Text_Diff_Renderer class */ 14 /** Text_Diff_Renderer class */ 15 require( dirname(__FILE__).'/Text/Diff/Renderer.php' ); 16 /** Text_Diff_Renderer_inline class */ 16 /** Text_Diff_Renderer_inline class */ 17 require( dirname(__FILE__).'/Text/Diff/Renderer/inline.php' ); 18} 156 if ( $encode ) 157 $line = htmlspecialchars( $line ); 158 if ( $this->_show_split_view ) { 178 if ( $encode ) 179 $line = htmlspecialchars( $line ); 180 if ( $this->_show_split_view ) {helper.php https://gitlab.com/alexprowars/bitrix | PHP | 469 lines
94 if(isset($arField['HIDE_BY_NAMES']) && is_array($arField['HIDE_BY_NAMES'])) 95 $resultHtml .= 'onclick="hideFormElementsByNames(this, '.CUtil::PhpToJSObject($arField['HIDE_BY_NAMES']).');"'; 96 120 $resultHtml .= '<input type="radio" 121 id="hc_'.htmlspecialcharsbx($fieldId).'_'.htmlspecialcharsbx($value).'"'. 122 'name="'.$name.'" '. 124 ($value == $arField["VALUE"] ? " checked=\"checked\"" : "").' />'. 125 '<label for="hc_'.htmlspecialcharsbx($fieldId).'_'.htmlspecialcharsbx($value).'">'. 126 htmlspecialcharsbx($title).'</label><br />'; 135 'name="'.$name.'" '. 136 'value="'.htmlspecialcharsbx($arField["VALUE"]).'" />'; 137 151 $resultHtml .= '<option '. 152 'value="'.htmlspecialcharsbx($value).'"'. 153 ($value == $arField["VALUE"] ? " selected=\"selected\"" : "").'>'.import.php https://github.com/BibAlex/eol_php_code.git | PHP | 349 lines
1<?php 2exit; 2exit; 3include_once(dirname(__FILE__)."/../../../config/environment.php"); 4 75 76 $database_name = html_entity_decode(htmlspecialchars_decode(trim($row["database_full_name"])), ENT_COMPAT, "UTF-8"); 77 $contact_name = html_entity_decode(htmlspecialchars_decode(trim($row["contact_person"])), ENT_COMPAT, "UTF-8"); 162 $is_accepted_name = $row["is_accepted_name"]; 163 $taxon_name = html_entity_decode(htmlspecialchars_decode(trim($row["taxon_name"])), ENT_COMPAT, "UTF-8"); 164 $rank_id = Rank::insert($row["rank"]); 168 { 169 $genus = html_entity_decode(htmlspecialchars_decode(trim($row["genus"])), ENT_COMPAT, "UTF-8"); 170 $species = html_entity_decode(htmlspecialchars_decode(trim($row["species"])), ENT_COMPAT, "UTF-8"); 170 $species = html_entity_decode(htmlspecialchars_decode(trim($row["species"])), ENT_COMPAT, "UTF-8"); 171 $infraspecies = html_entity_decode(htmlspecialchars_decode(trim($row["infraspecies"])), ENT_COMPAT, "UTF-8"); 172 $infraspecies_marker = trim($row["infraspecies_marker"]);default.php https://gitlab.com/ppapadatis/Videolearn | PHP | 171 lines
38 <ul class="media-category-ls"> 39 <?php if ($this->params->get('list_details_button') != 'hide') :?><li><a href="<?php echo JRoute::_(hwdMediaShareHelperRoute::getSelfRoute('details')); ?>" class="ls-detail" title="<?php echo JText::_('COM_HWDMS_DETAILS'); ?>"><?php echo JText::_('COM_HWDMS_DETAILS'); ?></a></li><?php endif; ?> 40 <?php if ($this->params->get('list_gallery_button') != 'hide') :?><li><a href="<?php echo JRoute::_(hwdMediaShareHelperRoute::getSelfRoute('gallery')); ?>" class="ls-grid" title="<?php echo JText::_('COM_HWDMS_GALLERY'); ?>"><?php echo JText::_('COM_HWDMS_GALLERY'); ?></a></li><?php endif; ?> 40 <?php if ($this->params->get('list_gallery_button') != 'hide') :?><li><a href="<?php echo JRoute::_(hwdMediaShareHelperRoute::getSelfRoute('gallery')); ?>" class="ls-grid" title="<?php echo JText::_('COM_HWDMS_GALLERY'); ?>"><?php echo JText::_('COM_HWDMS_GALLERY'); ?></a></li><?php endif; ?> 41 <?php if ($this->params->get('list_list_button') != 'hide') :?><li><a href="<?php echo JRoute::_(hwdMediaShareHelperRoute::getSelfRoute('list')); ?>" class="ls-list" title="<?php echo JText::_('COM_HWDMS_LIST'); ?>"><?php echo JText::_('COM_HWDMS_LIST'); ?></a></li><?php endif; ?> 42 <?php if ($canAdd) :?> 42 <?php if ($canAdd) :?> 43 <li><a href="<?php echo JRoute::_('index.php?option=com_hwdmediashare&view=upload&tmpl=component&album_id='.(int)$this->album->id); ?>" class="ls-add modal" rel="{handler: 'iframe', size: {<?php echo $this->utilities->modalSize('large'); ?>}}" title="<?php echo JText::_('COM_HWDMS_ADD_MEDIA'); ?>"><?php echo JText::_('COM_HWDMS_ADD_MEDIA'); ?></a> </li> 44 <?php endif; ?> 98 <?php if ($this->params->get('item_meta_likes') != 'hide') :?> 99 <dd class="media-info-like"> <a href="<?php echo JRoute::_('index.php?option=com_hwdmediashare&task=album.like&id=' . $this->album->id . '&return=' . $this->return . '&tmpl=component'); ?>"><?php echo JText::_('COM_HWDMS_LIKE'); ?></a> (<?php echo $this->escape($this->album->likes); ?>) <a href="<?php echo JRoute::_('index.php?option=com_hwdmediashare&task=album.dislike&id=' . $this->album->id . '&return=' . $this->return . '&tmpl=component'); ?>"><?php echo JText::_('COM_HWDMS_DISLIKE'); ?></a> (<?php echo $this->escape($this->album->dislikes); ?>) </dd> 100 <?php endif; ?> 101 <?php if ($this->params->get('item_meta_report') != 'hide') :?> 102 <dd class="media-info-report"> <a title="<?php echo JText::_('COM_HWDMS_REPORT'); ?>" href="<?php echo JRoute::_('index.php?option=com_hwdmediashare&task=albumform.report&id=' . $this->album->id . '&return=' . $this->return . '&tmpl=component'); ?>" class="modal" rel="{handler: 'iframe', size: {<?php echo $this->utilities->modalSize(); ?>}}"><?php echo JText::_('COM_HWDMS_REPORT'); ?> </a> </dd> 103 <?php endif; ?>ARC2_LegacyXMLParser.php https://github.com/mterenzio/FollowThis.git | PHP | 315 lines
1<?php 2/* 145 function getNodeContent($n, $outer = 0, $trim = 1) { 146 //echo '<pre>' . htmlspecialchars(print_r($n, 1)) . '</pre>'; 147 if ($n['tag'] == 'cdata') { 194 195 function updateNode($node) {/* php4-save */ 196 $this->nodes[$node['id']] = $node;settings_static.tpl https://gitlab.com/phamngsinh/baitaplon_sinhvien | Smarty Template | 191 lines
9 <li > 10 <a href="settings_general.php" id="isoft_group_1" name="group_1" title="General Settings" class="tab-item-link "> 11 <span> 20 <li > 21 <a href="settings_meta.php" id="isoft_group_9" name="group_9" title="Meta Settings" class="tab-item-link"> 22 <span> 31 <li > 32 <a href="settings_static.php" id="isoft_group_11" name="group_11" title="Static Pages" class="tab-item-link"> 33 <span> 49 <div class="hor-scroll"> 50 <form action="settings_static.php" method="post" id="main_form1" name="main_form1" enctype="multipart/form-data"> 51 <table cellspacing="0" class="form-list"> 61 <td class="value"> 62 <textarea id="value" name="value" class=" textarea" type="textarea" style="width:700px; height:400px;" >{$static1.value|stripslashes|htmlspecialchars}</textarea> 63 </td>default_status.php https://gitlab.com/julienv/joomleague | PHP | 346 lines
1<?php defined( '_JEXEC' ) or die( 'Restricted access' ); 2 10 ?> 11 <h2><?php echo JText::_('COM_JOOMLEAGUE_PERSON_STATUS'); ?></h2> 12 13 <table class="status"> 14 <?php 15 if ($this->teamPlayer->injury > 0) 37 <td class="label"> 38 <?php 39 $imageTitle = JText::_( 'COM_JOOMLEAGUE_PERSON_INJURED' ); 47 <td class="data"> 48 <?php 49 if ($injury_end != $today) 55 </tr> 56 <?php 57 }icon.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 299 lines
1<?php 2/** 37 38 $url = 'index.php?option=com_content&task=article.add&return=' . base64_encode($uri) . '&a_id=0&catid=' . $category->id; 39 84 { 85 require_once JPATH_SITE . '/components/com_mailto/helpers/mailto.php'; 86 90 $link = $base . JRoute::_(ContentHelperRoute::getArticleRoute($article->slug, $article->catid, $article->language), false); 91 $url = 'index.php?option=com_mailto&tmpl=component&template=' . $template . '&link=' . MailToHelper::addLink($link); 92 176 177 $url = 'index.php?option=com_content&task=article.edit&a_id=' . $article->id . '&return=' . base64_encode($uri); 178 193 $overlib .= '<br />'; 194 $overlib .= JText::sprintf('COM_CONTENT_WRITTEN_BY', htmlspecialchars($author, ENT_COMPAT, 'UTF-8')); 195pagebreak.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 385 lines
1<?php 2/** 272 { 273 $headingtext = htmlspecialchars($this->params->get('article_index_text'), ENT_QUOTES, 'UTF-8'); 274 }article.php https://gitlab.com/anurat/earththailand | PHP | 321 lines
3?> 4<h1><?php echo $this->lang->line('menu_topmenu'); ?> > <?php echo $this->lang->line('menu_articles'); ?> 5 > <?php echo $this->lang->line('menu_add_article'); ?></h1> 9?> 10<h1><?php echo $this->lang->line('menu_topmenu'); ?> > <?php echo $this->lang->line('menu_articles'); ?> 11 > <?php echo $this->lang->line('menu_update_article'); ?></h1> 45 46 load_images( 'article', <?php echo $current_id; ?>, '<?php echo site_url(); ?>' ); 47 282?> 283 <input type="checkbox" id="category[<?php echo $category_id; ?>]" name="category[<?php echo $category_id; ?>]" 284 <?php echo ( empty( $article_id ) && $category_id == Cms_category::ARTICLE_CAT )? "checked=\"checked\"": ""; ?> 285 <?php echo ( !empty( $article_id ) && $has_cat_link )? "checked=\"checked\"": ""; ?> 286 ><label for="category[<?php echo $category_id; ?>]"><?php echo $category->get_title(); ?></label> 287<?phpui.extension.php https://gitlab.com/pirati.cz/simpleid | PHP | 260 lines
1<?php 2/* 149 150 $xtpl->assign('icon_url', htmlspecialchars($icon_url, ENT_QUOTES, 'UTF-8')); 151 $xtpl->parse('main.openid_consent.icon');basebutton.php https://gitlab.com/alexprowars/bitrix | PHP | 564 lines
1<?php 2 188 case Tag::SUBMIT: 189 $attributes['value'] = htmlspecialcharsbx($this->getText()); 190 $attributes['type'] = Tag::BUTTON; 235 return ( 236 (!empty($this->getText()) ? '<span class="ui-btn-text">'.htmlspecialcharsbx($this->getText()).'</span>' : ''). 237 ($counter !== null ? '<span class="ui-btn-counter">'.htmlspecialcharsbx($counter).'</span>' : '' )