100+ results for 'php strip_tags'

Not the results you expected?

filter.php (https://bitbucket.org/sandeepbhaskar/inspiredliving.git) PHP · 466 lines

1 <?php

2 class ControllerCatalogFilter extends Controller {

3 private $error = array();

446 $json[] = array(

447 'filter_id' => $filter['filter_id'],

448 'name' => strip_tags(html_entity_decode($filter_value['name'], ENT_QUOTES, 'UTF-8')),

449 'category' => $filter['name'],

450 'filter_value' => $filter_value_data

DevelErrorHandlerTest.php (https://gitlab.com/Drulenium-bot/devel) PHP · 213 lines

1 <?php

2

3 namespace Drupal\devel\Tests;

50

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 = [

54 'error_handlers[]' => DEVEL_ERROR_HANDLER_NONE,

68

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.

72 $edit = [

85

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 = [

89 'error_handlers[]' => DEVEL_ERROR_HANDLER_BACKTRACE_DPM,

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>

91 <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>

108 <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>

116 <p>

widget-nav-menu.php (https://github.com/konscript/sqren.git) PHP · 224 lines

176 <label for="<?php echo $this->get_field_id( 'container_class' ); ?>"><code>container_class</code></label>

177 <input type="text" class="smallfat code" id="<?php echo $this->get_field_id( 'container_class' ); ?>" name="<?php echo $this->get_field_name( 'container_class' ); ?>" value="<?php echo esc_attr( $instance['container_class'] ); ?>" />

178 </p>

179 <p>

184 <label for="<?php echo $this->get_field_id( 'menu_class' ); ?>"><code>menu_class</code></label>

185 <input type="text" class="smallfat code" id="<?php echo $this->get_field_id( 'menu_class' ); ?>" name="<?php echo $this->get_field_name( 'menu_class' ); ?>" value="<?php echo esc_attr( $instance['menu_class'] ); ?>" />

186 </p>

187 </div>

207 <label for="<?php echo $this->get_field_id( 'link_after' ); ?>"><code>link_after</code></label>

208 <input type="text" class="smallfat code" id="<?php echo $this->get_field_id( 'link_after' ); ?>" name="<?php echo $this->get_field_name( 'link_after' ); ?>" value="<?php echo esc_attr( $instance['link_after'] ); ?>" />

209 </p>

210 <p>

211 <label for="<?php echo $this->get_field_id( 'fallback_cb' ); ?>"><code>fallback_cb</code></label>

212 <input type="text" class="widefat code" id="<?php echo $this->get_field_id( 'fallback_cb' ); ?>" name="<?php echo $this->get_field_name( 'fallback_cb' ); ?>" value="<?php echo esc_attr( $instance['fallback_cb'] ); ?>" />

213 </p>

214 <p>

widget-login-form.php (https://bitbucket.org/akeda/bmw-id-hris.git) PHP · 262 lines

209 <label for="<?php echo $this->get_field_id( 'value_username' ); ?>"><code>value_username</code></label>

210 <input type="text" class="widefat code" id="<?php echo $this->get_field_id( 'value_username' ); ?>" name="<?php echo $this->get_field_name( 'value_username' ); ?>" value="<?php echo $instance['value_username']; ?>" />

211 </p>

212 <p>

225 <label for="<?php echo $this->get_field_id( 'id_submit' ); ?>"><code>id_submit</code></label>

226 <input type="text" class="widefat code" id="<?php echo $this->get_field_id( 'id_submit' ); ?>" name="<?php echo $this->get_field_name( 'id_submit' ); ?>" value="<?php echo $instance['id_submit']; ?>" />

227 </p>

228

242 <label for="<?php echo $this->get_field_id( 'show_avatar' ); ?>">

243 <input class="checkbox" type="checkbox" <?php checked( $instance['show_avatar'], true ); ?> id="<?php echo $this->get_field_id( 'show_avatar' ); ?>" name="<?php echo $this->get_field_name( 'show_avatar' ); ?>" /> <?php _e('Display avatar?', 'widgets-reloaded'); ?></label>

244 </p>

245 <p>

251 <label for="<?php echo $this->get_field_id( 'logged_in_text' ); ?>"><?php _e( 'Logged in text:', 'members' ); ?></label>

252 <textarea class="widefat" rows="2" cols="20" id="<?php echo $this->get_field_id( 'logged_in_text' ); ?>" name="<?php echo $this->get_field_name('logged_in_text'); ?>" style="width:100%;"><?php echo $logged_in_text; ?></textarea>

253 </p>

254

Summary_Of_Organization.php (https://gitlab.com/rahad777/atomic_project_Rahad_143368_B36) PHP · 273 lines

1 <?php

2 namespace App\Summary_Of_Organization;

3 use App\Message\Message;

43 else

44 Message::message("Failed! DATA HAS not BEEN INSERTED SUCCESSFULLY");

45 Utility::redirect('create.php');

46 }

47 public function index($fetchMode="ASSOC"){

89 Message::message("<div id='message'><h3 align='center'> Failed! Data Has Not Been Updated Successfully!</h3></div>");

90

91 Utility::redirect('create.php');

92

93 }//end of update

100 $STH->execute();

101

102 Utility::redirect('create.php');

103

104 }// end of delete()

City.php (https://gitlab.com/Nilufarjahan/LabExam8) PHP · 268 lines

1 <?php

2 namespace App\City;

3 use App\Model\database as DB;

53 else

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

57 }

100 Message::message("<div id='message'><h3 align='center'> Failed! Data Has Not Been Updated Successfully!</h3></div>");

101

102 Utility::redirect('index.php');

103

104

116 Message::message("<div id='message'><h3 align='center'> Failed! Data Has Not Been Deleted Successfully!</h3></div>");

117

118 Utility::redirect('index.php');

119

120

attribute.php (https://bitbucket.org/elena_dyavolova/omf.git) PHP · 446 lines

1 <?php

2 class ControllerCatalogAttribute extends Controller {

3 private $error = array();

427 $json[] = array(

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']

431 );

return.php (https://github.com/kjsenthil02/genplus.git) PHP · 251 lines

1 <?php

2 class ModelSaleReturn extends Model {

3 public function addReturn($data) {

191 $this->db->query("UPDATE `" . DB_PREFIX . "return` SET return_status_id = '" . (int)$data['return_status_id'] . "', date_modified = NOW() WHERE return_id = '" . (int)$return_id . "'");

192

193 $this->db->query("INSERT INTO " . DB_PREFIX . "return_history SET return_id = '" . (int)$return_id . "', return_status_id = '" . (int)$data['return_status_id'] . "', notify = '" . (isset($data['notify']) ? (int)$data['notify'] : 0) . "', comment = '" . $this->db->escape(strip_tags($data['comment'])) . "', date_added = NOW()");

194

195 if ($data['notify']) {

208 if ($data['comment']) {

209 $message .= $this->language->get('text_comment') . "\n\n";

210 $message .= strip_tags(html_entity_decode($data['comment'], ENT_QUOTES, 'UTF-8')) . "\n\n";

211 }

212

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>

261 </p>

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 />

widgets.php (https://gitlab.com/mike_tm555/batiste) PHP · 186 lines

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">

107 <?php comments_popup_link( __( '0 <span class="reply">comments &rarr;</span>', 'twentyeleven' ), __( '1 <span class="reply">comment &rarr;</span>', 'twentyeleven' ), __( '% <span class="reply">comments &rarr;</span>', 'twentyeleven' ) ); ?>

112

113 <li class="widget-entry-title">

114 <a href="<?php echo esc_url( twentyeleven_get_first_url() ); ?>" rel="bookmark"><?php the_title(); ?>&nbsp;<span>&rarr;</span></a>

115 <span class="comments-link">

116 <?php comments_popup_link( __( '0 <span class="reply">comments &rarr;</span>', 'twentyeleven' ), __( '1 <span class="reply">comment &rarr;</span>', 'twentyeleven' ), __( '% <span class="reply">comments &rarr;</span>', 'twentyeleven' ) ); ?>

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 <?php

save.php (https://github.com/kronda/kronda.git) PHP · 253 lines

1 <?php

2 /**

3 * Saves the sidebar optin "Action Theme".

7 * @author Thomas Griffin <thomas@retyp.com>

8 * @copyright Copyright (c) 2013, Thomas Griffin

9 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License

10 */

11

116

117 if ( empty( $this->meta['name']['placeholder'] ) )

118 $this->meta['name']['placeholder'] = isset( $this->data['optin_name_placeholder'] ) ? strip_tags( esc_attr( $this->data['optin_name_placeholder'] ) ) : '';

119 else

120 $this->meta['name']['placeholder'] = isset( $this->data['optin_name_placeholder'] ) ? strip_tags( esc_attr( $this->data['optin_name_placeholder'] ) ) : $this->meta['name']['placeholder'];

141 // Save the optin email input field.

142 if ( empty( $this->meta['email']['placeholder'] ) )

143 $this->meta['email']['placeholder'] = isset( $this->data['optin_email_placeholder'] ) ? strip_tags( esc_attr( $this->data['optin_email_placeholder'] ) ) : '';

144 else

145 $this->meta['email']['placeholder'] = isset( $this->data['optin_email_placeholder'] ) ? strip_tags( esc_attr( $this->data['optin_email_placeholder'] ) ) : $this->meta['email']['placeholder'];

return.php (https://gitlab.com/shapcy/opencart) PHP · 238 lines

1 <?php

2 class ModelSaleReturn extends Model {

3 public function addReturn($data) {

170 $this->db->query("UPDATE `" . DB_PREFIX . "return` SET return_status_id = '" . (int)$data['return_status_id'] . "', date_modified = NOW() WHERE return_id = '" . (int)$return_id . "'");

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

174 if ($data['notify']) {

187 if ($data['comment']) {

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 }

191

groupaddnote.php (https://github.com/jarednipper/HSU-common-code.git) PHP · 96 lines

1 <?php // $Id: groupaddnote.php,v 1.3.2.1 2008/11/30 19:25:49 skodak Exp $

2 require_once("../config.php");

3 require_once($CFG->dirroot .'/notes/lib.php');

4

5 $id = required_param('id', PARAM_INT); // course id

35 $note->userid = $v;

36 if (note_save($note)) {

37 add_to_log($note->courseid, 'notes', 'add', 'index.php?course='.$note->courseid.'&amp;user='.$note->userid . '#note-' . $note->id , 'add note');

38 }

39 }

40

41 redirect("$CFG->wwwroot/user/index.php?id=$id");

42 }

43

filter.php (https://github.com/jarednipper/HSU-common-code.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

3 //activities when its name (title) is found inside every Moodle text

51 //Exclude labels, hidden activities and activities for group members only

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));

55 $entitisedname = s($currentname);

56 /// Avoid empty or unlinkable activity names

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);

60 if ($currentname != $entitisedname) { /// If name has some entity (&amp; &quot; &lt; &gt;) add that filter too. MDL-17545

tinder.php (https://github.com/db48x/testswarm.git) PHP · 207 lines

1 <?php

2

3 function get_status($num){

85 $job_id = $row[2];

86

87 $output .= '<tr><th><a href="' . swarmpath( "job/{$job_id}/" ) . '">' . strip_tags($job_name) . "</a></th>\n";

88

89 $results = array();

widget-featured-services.php (https://gitlab.com/luyxtran264/myproject) PHP · 185 lines

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>

166

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>

176 <label for="<?php echo esc_attr ( $this->get_field_id( 'services_per_row' ) ); ?>"><?php esc_html_e('How many services do you want to display per row?', 'transfers') ?></label>

177 <select id="<?php echo esc_attr ( $this->get_field_id( 'services_per_row' ) ); ?>" name="<?php echo esc_attr ( $this->get_field_name( 'services_per_row' ) ); ?>">

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 } ?>

block_social_activities.php (https://github.com/scriby/moodle.git) PHP · 146 lines

1 <?php

2

3 class block_social_activities extends block_list {

28 $course = $this->page->course;

29

30 require_once($CFG->dirroot.'/course/lib.php');

31

32 $context = context_course::instance($course->id);

73 if ($ismoving) {

74 $strmovehere = get_string('movehere');

75 $strmovefull = strip_tags(get_string('movefull', '', "'$USER->activitycopyname'"));

76 $strcancel= get_string('cancel');

77 $stractivityclipboard = $USER->activitycopyname;

82 if ($ismoving) {

83 $this->content->icons[] = '&nbsp;<img align="bottom" src="'.$OUTPUT->pix_url('t/move') . '" class="iconsmall" alt="" />';

84 $this->content->items[] = $USER->activitycopyname.'&nbsp;(<a href="'.$CFG->wwwroot.'/course/mod.php?cancelcopy=true&amp;sesskey='.sesskey().'">'.$strcancel.'</a>)';

85 }

86

payment.php (https://github.com/elleeott/WPOC-boilerplate.git) PHP · 168 lines

1 <?php

2 class ControllerCheckoutPayment extends Controller {

3 public function index() {

46 $this->session->data['payment_method'] = $this->session->data['payment_methods'][$this->request->post['payment_method']];

47

48 $this->session->data['comment'] = strip_tags($this->request->post['comment']);

49 }

50 } else {

person.php (https://gitlab.com/suporte.spturis/carnaval2015.spturis.com.br) PHP · 302 lines

1 <?php

2

3 namespace Yoast\WP\SEO\Generators\Schema;

143 }

144

145 $data['name'] = $this->helpers->schema->html->smart_strip_tags( $user_data->display_name );

146 $data = $this->add_image( $data, $user_data );

147

148 if ( ! empty( $user_data->description ) ) {

149 $data['description'] = $this->helpers->schema->html->smart_strip_tags( $user_data->description );

150 }

151

crediets.php (https://bitbucket.org/yutof/gamificationofresearchenvironment_iphone.git) PHP · 77 lines

1 <?php

2 require_once 'mbl_vertical_header.php';

7 <div id="scroller">

8 <ul id="thelist">

9 <?php

10

11 $link = mysql_connect($dburl, $fb_dbusr, $fb_dbpass);

33 //

34 echo "<li><div class='ctrbtr_name'> ";

35 echo strip_tags($row[1]);

36 // echo "</td>";

37 //echo "<td>".$row[2]."</td>";

72 </div>

73

74 <?php

75 require_once 'mbl_footer.php';

class-walker-category.php (https://gitlab.com/VTTE/sitios-vtte) PHP · 268 lines

1 <?php

2 /**

3 * Taxonomy API: Walker_Category class

97 */

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 );

101

117 * @param object $category Category object.

118 */

119 $atts['title'] = strip_tags( apply_filters( 'category_description', $category->description, $category ) );

120 }

121

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>

120 <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 } ?>

237 </p>

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>

246

news_m.php (https://github.com/ikhattab/pyrocms.git) PHP · 195 lines

1 <?php if (!defined('BASEPATH')) exit('No direct script access allowed');

2

3 class News_m extends MY_Model

183 $this->load->helper('text');

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 }

187 }

baidunews.php (https://github.com/musicpop/cms.git) PHP · 84 lines

1 <?php

2 /**

3 * ٶ

4 *

5 * @version $Id: baidunews.php 1 14:31 2010��7��12��Z tianya $

6 * @package DedeCMS.Administrator

7 * @copyright Copyright (c) 2007 - 2010, DesDev, Inc.

9 * @link http://www.dedecms.com

10 */

11 require_once(dirname(__FILE__)."/config.php");

12

13 if(empty($do))

47 }

48 $link = htmlspecialchars($link);

49 $description = htmlspecialchars(strip_tags($row['description']));

50 $text = htmlspecialchars(strip_tags($row['body']));

Admin.php (https://gitlab.com/sdlion/project_the_beginner_b35) PHP · 234 lines

1 <?php

2 namespace App\Admin;

3

140 $STH = $this->conn->prepare($sql);

141 $STH->execute($arrData);

142 Utility::redirect('index.php');

143 }

144 public function delete()

153 Message::message("Failed!Data has been deleted successfully");

154

155 Utility::redirect('index.php');

156 }

157

190 foreach ($allData as $oneData) {

191

192 $eachString= strip_tags($oneData->catagory);

193 $eachString=trim( $eachString);

194 $eachString= preg_replace( "/\r|\n/", " ", $eachString);

Default.php (https://bitbucket.org/kdms/sh-magento.git) PHP · 100 lines

1 <?php

2 /**

3 * Magento Enterprise Edition

69 // draw options label

70 $lines[][] = array(

71 'text' => Mage::helper('core/string')->str_split(strip_tags($option['label']), 70, true, true),

72 'font' => 'italic',

73 'feed' => 110

78 $_printValue = isset($option['print_value'])

79 ? $option['print_value']

80 : strip_tags($option['value']);

81 $values = explode(', ', $_printValue);

82 foreach ($values as $value) {

functions.php (https://github.com/iconifyit/SkyBlue-CMS.git) PHP · 106 lines

1 <?php defined('SKYBLUE') or die('Bad File Request');

2

3 /**

5 * @package SkyBlueCanvas

6 * @copyright Copyright (C) 2005 - 2010 Scott Edwin Lewis. All rights reserved.

7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License

8 * SkyBlueCanvas is free software. This version may have been modified pursuant

9 * to the GNU General Public License, and as distributed it includes or

99 $shred = str_replace(">", "> ", $content);

100 if (trim($shred) != "") {

101 $shred = rss_text_blob(strip_tags($shred), RSS_TEXT_LENGTH);

102 }

103 return ( trim($shred) == "" ? RSS_NO_DESCRIPTION : $shred );

apbasic-widgets.php (https://gitlab.com/pornmongkon.p/wordpress) PHP · 273 lines

1 <?php

2 /**

3 *

208 $apbasic_widgets_allowed_tags = '<p><strong><em><a>';

209 }

210 return strip_tags( $new_field_value, $apbasic_widgets_allowed_tags );

211

212 // No allowed tags for all other fields

213 } else {

214 return strip_tags( $new_field_value );

215 }

216

222 * @since Accesspress Widget Pack 1.0

223 */

224 require get_template_directory() . '/inc/widgets/widget-fields.php';

225

226 /**

SummaryOfOrganization.php (https://gitlab.com/dhimanbarua/My-AtomicProject) PHP · 194 lines

1 <?php

2 namespace App\SummaryOfOrganization;

3 use App\Model\Database as DB;

51 <br>Data Has Not been Inserted Successfully!!!!!!</h3></div> ");

52 }

53 Utility::redirect('create.php');

54

55 }

81 $STH->execute($arrData);

82

83 Utility::redirect('index.php');

84

85 }// end of update()

91

92 $STH->execute();

93 Utility::redirect('index.php');

94 }// end of delete()

95

primary.php (https://gitlab.com/sylver.gocloud/demo-sw-k12-enrollment) PHP · 465 lines

1 <?php

2

3 $primary = [

5 'field' => 'child_fname',

6 'label' => 'Child First name',

7 'rules' => 'required|text_all|trim|htmlspecialchars|strip_tags'

8 ),

9 array(

10 'field' => 'child_lname',

11 'label' => 'Child Last Name',

12 'rules' => 'required|text_all|trim|htmlspecialchars|strip_tags'

13 ),

14 array(

15 'field' => 'child_mname',

16 'label' => 'Childs Middle Name',

17 'rules' => 'required|text_all|trim|htmlspecialchars|strip_tags'

18 ),

19 array(

widget-flickr.php (https://github.com/sm0k1nggnu/PressWork.git) PHP · 60 lines

28

29 ?>

30 <p class="clear flickr-link"><a href="http://flickr.com/photos/<?php echo $UserID; ?>"><?php echo $link; ?></a></p>

31 <?php

38 $title = strip_tags($instance['title']);

39 $UserID = strip_tags($instance['UserID']);

40 $NumPics = strip_tags($instance['NumPics']);

41 $link = strip_tags($instance['link']);

42 ?>

43 <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title', "presswork"); ?>: <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); ?>" /></label></p>

44 <p><label for="<?php echo $this->get_field_id('UserID'); ?>"><?php _e('UserID', "presswork"); ?>: <input class="widefat" id="<?php echo $this->get_field_id('UserID'); ?>" name="<?php echo $this->get_field_name('UserID'); ?>" type="text" value="<?php echo esc_attr($UserID); ?>" /></label><br /><a href="http://idgettr.com/" target="_blank"><?php _e('Flickr idGettr', "presswork"); ?></a></p>

45 <p><label for="<?php echo $this->get_field_id('NumPics'); ?>"><?php _e('Number of Photos', "presswork"); ?>: <input class="widefat" id="<?php echo $this->get_field_id('NumPics'); ?>" name="<?php echo $this->get_field_name('NumPics'); ?>" type="text" value="<?php echo esc_attr($NumPics); ?>" /></label></p>

46 <p><label for="<?php echo $this->get_field_id('link'); ?>"><?php _e('Link Text', "presswork"); ?>: <input class="widefat" id="<?php echo $this->get_field_id('link'); ?>" name="<?php echo $this->get_field_name('link'); ?>" type="text" value="<?php echo esc_attr($link); ?>" /></label></p>

47 <?php

Functions.php (https://github.com/durand54/sitellite.git) PHP · 207 lines

1 <?php

2

3 loader_import ('saf.Date');

88 $op = "<br />\n";

89 } else {

90 $text = trim (strip_tags ($page));

91 $links .= $op . intl_get ('Page') . ' ' . ($k + 1) . ': ' . substr ($text, 0, 32) . '...';

92 $op = "<br />\n";

97 $op = "<br />\n";

98 } else {

99 $text = trim (strip_tags ($page));

100 $links .= $op . intl_get ('Page') . ' ' . ($k + 1) . ': <a href="' . site_prefix () . '/index/news-app/story.' . $story . '/pagenum.' . ($k + 1) . '">' . substr ($text, 0, 32) . '...</a>';

101 $op = "<br />\n";

115 $links .= intl_get ('Previous') . ': <a href="' . site_prefix () . '/index/news-app/story.' . $story . '/pagenum.' . ($pagenum - 1) . '">' . $regs[2] . '</a>';

116 } else {

117 $text = trim (strip_tags ($prev));

118 $links .= intl_get ('Previous') . ': <a href="' . site_prefix () . '/index/news-app/story.' . $story . '/pagenum.' . ($pagenum - 1) . '">' . substr ($text, 0, 32) . '...</a>';

119 $op = "<br />\n";

choose.php (https://github.com/Shigaru/shigaru.git) PHP · 87 lines

7 ?>

8 <div class="iframedoc" id="iframedoc"></div>

9 <form action="index.php?option=<?php echo ACYMAILING_COMPONENT ?>&amp;ctrl=subscriber" method="post" name="adminForm">

10 <table>

11 <tr>

30 </th>

31 <th class="title">

32 <?php echo JHTML::_('grid.sort', JText::_('EMAIL'), 'a.email',$this->pageInfo->filter->order->dir, $this->pageInfo->filter->order->value ); ?>

33 </th>

34 <th class="title">

45 <?php echo $this->pagination->getListFooter(); ?>

46 <?php echo $this->pagination->getResultsCounter(); ?>

47 </td>

48 </tr>

54 $row =& $this->rows[$i];

55 ?>

56 <tr class="<?php echo "row$k"; ?>" style="cursor:pointer" onclick="window.top.affectUser(<?php echo strip_tags($row->id);?>,'<?php echo addslashes(strip_tags($row->name)); ?>'); window.top.document.getElementById('sbox-window').close();">

57 <td align="center">

58 <?php echo $this->pagination->getRowOffset($i); ?>

inc_chat.php (https://gitlab.com/robinphillips/qags-web) PHP · 92 lines

1 <?php

2 /*

3 QAGS Web. Copyright (c) Robin Phillips

5 */

6

7 require ("inc_config.php");

8

9 function prepareMessage ($msg) {

17 while ($c > 0);

18 // Remove any remaining HTML tags and convert entities into characters

19 $msg = html_entity_decode(strip_tags($msg), ENT_QUOTES);

20 // Return prepared message

21 return $msg;

Category.php (https://github.com/prolic/DoctrineExtensions-1.git) PHP · 184 lines

1 <?php

2 namespace Entity;

3

120 public function setDescription($description)

121 {

122 $this->description = strip_tags($description);

123 }

124

loader.php (https://github.com/mahype/SeoPress.git) PHP · 168 lines

1 <?php

2

3 require_once( dirname(__FILE__) . '/open-graph.php' );

4

5 function sp_fp_add_meta(){

6 if( $_SERVER['HTTP_USER_AGENT'] == 'facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)' ) {

7 global $post;

8

117 $preview_desc = $post_meta['fb_description'];

118 }else{

119 $preview_desc = substr( strip_tags( $post->post_content ), 0, 300 ) . ' ... ';

120 }

121

log.php (https://github.com/proxima-cms/core.git) PHP · 149 lines

1 <?php defined('SYSPATH') or die('No direct script access.');

2 /**

3 * Admin log helper class

52 'date' => trim($date),

53 'log' => trim($log),

54 'path' => "{$year}/{$month}/{$day}.php",

55 'timestamp' => (string) mktime($hour, $minute, $second, $month, $day, $year)

56 );

76 {

77 // Get file contents

78 $contents = trim(strip_tags(file_get_contents($path)));

79

80 $entries = explode("\n", $contents);

Mayak.php (https://gitlab.com/slondon/fortissimo) PHP · 176 lines

1 <?php

2

3

4 require_once 'tools/service.php';

5

6

66 $node_info->type = 'dir';

67

68 $title = trim(html_entity_decode(strip_tags($i[3])));

69 $node_info->name = $title;

70

74 (

75 'Title' => $title,

76 'Count' => trim(html_entity_decode(strip_tags($i[5]))),

77 'Description' => trim(html_entity_decode(strip_tags($i[4]))),

tags.inc.php (https://github.com/shafiqissani/ASTRA-College-Website.git) PHP · 199 lines

1 <?php

2

3 // +----------------------------------------------------------------------+

17 // | You should have received a copy of the GNU General Public License |

18 // | along with this program; if not, you can view it at |

19 // | http://www.opensource.org/licenses/gpl-license.php |

20 // +------------------------------------------------------------------------+

21

28 * @author Glen Davies <glen.davies@cce.ac.nz>

29 * @copyright Christchurch College of Education 2005

30 * @version $Id: tags.inc.php,v 1.14 2007/05/09 03:02:51 glendavies Exp $

31 *

32 */

68

69 //first see if tag already exists

70 $text = strip_tags($text);

71 $tag_key = $this->getTagKey($text);

72 if ($tag_key!=false || empty($text)) {

user_settings.php (https://github.com/wangaiying/elgg4ysu.git) PHP · 352 lines

1 <?php

2 /**

3 * Elgg user settings functions.

100 */

101 function elgg_set_user_name() {

102 $name = strip_tags(get_input('name'));

103 $user_id = get_input('guid');

104

318 case 'statistics':

319 elgg_push_breadcrumb(elgg_echo('usersettings:statistics:opt:linktext'));

320 $path = $CONFIG->path . "pages/settings/statistics.php";

321 break;

322 case 'plugins':

323 elgg_push_breadcrumb(elgg_echo('usersettings:plugins:opt:linktext'));

324 $path = $CONFIG->path . "pages/settings/tools.php";

325 break;

326 case 'user':

class-avada-blog.php (https://gitlab.com/webkod3r/tripolis) PHP · 236 lines

1 <?php

2

3 class Avada_Blog {

96 $content = preg_replace( '~(?:\[/?)[^/\]]+/?\]~s', '', $content ); // strip shortcodes and keep the content

97 $content = str_replace( ']]>', ']]&gt;', $content );

98 $content = strip_tags( $content );

99 $content = str_replace( array( '"', "'" ), array( '&quot;', '&#39;' ), $content );

100 $content = trim( $content );

234 }

235

236 // Omit closing PHP tag to avoid "Headers already sent" issues.

237

compare.php (https://github.com/elleeott/WPOC-boilerplate.git) PHP · 197 lines

1 <?php

2 class ControllerProductCompare extends Controller {

3 public function index() {

114 'price' => $price,

115 'special' => $special,

116 'description' => substr(strip_tags(html_entity_decode($product_info['description'], ENT_QUOTES, 'UTF-8')), 0, 200) . '..',

117 'model' => $product_info['model'],

118 'manufacturer' => $product_info['manufacturer'],

database_utils.php (https://gitlab.com/j0nbiz/autocomplete) PHP · 304 lines

1 <?php

2

3 function getPDO(){

108

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));

112

242 $stmt = $pdo->prepare('INSERT INTO histories(uname, term) VALUES(?, ?)');

243 $stmt->bindValue(1, $_SESSION['uname']);

244 $stmt->bindValue(2, strip_tags($term));

245

246 $stmt->execute();

Creditmemo.php (https://github.com/apexure/BrandsInternational.git) PHP · 221 lines

1 <?php

2 /**

3 * Magento

8 * that is bundled with this package in the file LICENSE.txt.

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

12 * obtain it through the world-wide-web, please send an email

22 * @package Mage_Bundle

23 * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)

24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)

25 */

26

187 $lines = array();

188 $lines[][] = array(

189 'text' => Mage::helper('core/string')->str_split(strip_tags($option['label']), 70, true, true),

190 'font' => 'italic',

191 'feed' => $leftBound

IO.php (https://gitlab.com/ntphuc/BackendFeedy) PHP · 367 lines

1 <?php

2

3 /*

4 * This file is part of PhpSpec, A php toolset to drive emergent

5 * design by specification.

6 *

12 */

13

14 namespace PhpSpec\Console;

15

16 use PhpSpec\IO\IOInterface;

17 use Symfony\Component\Console\Input\InputInterface;

18 use Symfony\Component\Console\Output\OutputInterface;

19 use PhpSpec\Config\OptionsConfig;

20

21 /**

memcp.inc.php (https://github.com/sichen/hrmmdiscuz.git) PHP · 81 lines

1 <?php

2

3 /**

5 * This is NOT a freeware, use is subject to license terms

6 *

7 * $Id: memcp.inc.php 18014 2010-11-10 05:52:07Z monkey $

8 */

9

42 if($_G['gp_pluginop'] == 'add' && submitcheck('adduser')) {

43 if($singleprem && in_array(stripslashes($_G['gp_usernamenew']), $permusers) || !$singleprem) {

44 $usernamenew = strip_tags($_G['gp_usernamenew']);

45 $logindata = addslashes(authcode($_G['gp_passwordnew']."\t".$_G['gp_questionidnew']."\t".$_G['gp_answernew'], 'ENCODE', $_G['config']['security']['authkey']));

46 if(DB::result_first("SELECT COUNT(*) FROM ".DB::table('myrepeats')." WHERE uid='$_G[uid]' AND username='$usernamenew'")) {

47 DB::query("UPDATE ".DB::table('myrepeats')." SET logindata='$logindata' WHERE uid='$_G[uid]' AND username='$usernamenew'");

48 } else {

49 DB::query("INSERT INTO ".DB::table('myrepeats')." (uid, username, logindata, comment) VALUES ('$_G[uid]', '$usernamenew', '$logindata', '".strip_tags($_G['gp_commentnew'])."')");

50 }

51 dsetcookie('mrn', '');

class-wp-nav-menu-widget.php (https://gitlab.com/suporte.spturis/carnaval2015.spturis.com.br) PHP · 202 lines

169 $url = 'javascript: wp.customize.panel( "nav_menus" ).focus();';

170 } else {

171 $url = admin_url( 'nav-menus.php' );

172 }

173

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>

183 <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( '&mdash; Select &mdash;' ); ?></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 ); ?>

frontpage.php (https://github.com/viggof/moodle.git) PHP · 96 lines

1 <?php

2

3 // This file defines everything related to frontpage

57 foreach (get_all_roles() as $role) {

58 if (empty($role->archetype) or $role->archetype === 'guest' or $role->archetype === 'frontpage' or $role->archetype === 'student') {

59 $options[$role->id] = strip_tags(format_string($role->name)) . ' ('. $role->shortname . ')';

60 if ($role->archetype === 'frontpage') {

61 $defaultfrontpageroleid = $role->id;

72 $ADMIN->add('frontpage', $temp);

73

74 $ADMIN->add('frontpage', new admin_externalpage('frontpageroles', get_string('frontpageroles', 'admin'), "$CFG->wwwroot/$CFG->admin/roles/assign.php?contextid=" . $frontpagecontext->id, 'moodle/role:assign', false, $frontpagecontext));

75

76 $ADMIN->add('frontpage', new admin_externalpage('frontpagefilters', get_string('frontpagefilters', 'admin'), "$CFG->wwwroot/filter/manage.php?contextid=" . $frontpagecontext->id, 'moodle/filter:manage', false, $frontpagecontext));

77

78 $ADMIN->add('frontpage', new admin_externalpage('frontpagebackup', get_string('frontpagebackup', 'admin'), $CFG->wwwroot.'/backup/backup.php?id='.SITEID, 'moodle/backup:backupcourse', false, $frontpagecontext));

79

80 $ADMIN->add('frontpage', new admin_externalpage('frontpagerestore', get_string('frontpagerestore', 'admin'), $CFG->wwwroot.'/files/index.php?id='.SITEID.'&amp;wdir=/backupdata', 'moodle/restore:restorecourse', false, $frontpagecontext));

shortcode.php (https://gitlab.com/lamovible/grand-regis) PHP · 250 lines

1 <?php if ( ! defined( 'ABSPATH' ) ) exit;

2

3 function ninja_forms_shortcode( $atts ){

130 $label = $field['data']['label'];

131 }

132 $label = strip_tags( apply_filters( 'nf_all_fields_field_label', $label, $field_id ) );

133

134 if ( 1 == $html ) {

artist.php (https://bitbucket.org/zy_idf/popmaya.git) PHP · 172 lines

1 <?php if (! defined('BASEPATH')) exit('No direct script access allowed');

2

3 class Artist extends MX_Controller {

81 elseif($this->input->post('artist_q'))

82 {

83 $key=strip_tags($this->input->post('artist_q'));

84 $gen=$this->input->post('genre');

85 if($gen)

169 }

170 }

171 /* End of file artist.php */

172 /* Location: ./life/modules/mobile/controllers/artist.php */

Runner.class.php (https://github.com/oanas/xp-framework.git) PHP · 196 lines

1 <?php

2 /* This class is part of the XP framework

3 *

101 protected static function textOf($markup) {

102 $line= str_repeat('=', 72);

103 return strip_tags(preg_replace(array(

104 '#<pre>#', '#</pre>#', '#<li>#',

105 ), array(

136 // Parse command line

137 $operation= NULL;

138 $std= 'php://stdin';

139 for ($i= 0; $i < sizeof($args); $i++) {

140 if ('-R' == $args[$i]) {

149 case 'c':

150 self::setOperation($operation, 'create');

151 $std= 'php://stdout';

152 break;

153 case 'x':

widget-price_filter.php (https://github.com/bigdawggi/woocommerce.git) PHP · 172 lines

1 <?php

2 /**

3 * Price Filter Widget and related functions

158 function update( $new_instance, $old_instance ) {

159 if (!isset($new_instance['title']) || empty($new_instance['title'])) $new_instance['title'] = __('Filter by price', 'woothemes');

160 $instance['title'] = strip_tags(stripslashes($new_instance['title']));

161 return $instance;

162 }

168 <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'woothemes') ?></label>

169 <input type="text" class="widefat" id="<?php echo esc_attr( $this->get_field_id('title') ); ?>" name="<?php echo esc_attr( $this->get_field_name('title') ); ?>" value="<?php if (isset ( $instance['title'])) {echo esc_attr( $instance['title'] );} ?>" /></p>

170 <?php

product.php (https://gitlab.com/Raymon/QualityCaps_PHP) PHP · 494 lines

1 <?php

2 // 'product' object

3 class Product{

57

58 // sanitize

59 $this->name=htmlspecialchars(strip_tags($this->name));

60 $this->price=htmlspecialchars(strip_tags($this->price));

61 $this->category_id=htmlspecialchars(strip_tags($this->category_id));

62 $this->supplier_id=htmlspecialchars(strip_tags($this->supplier_id));

179

180 // sanitize

181 $this->category_id=htmlspecialchars(strip_tags($this->category_id));

182

183 // bind variable values

Output.php (https://github.com/weaverryan/mongodb-odm.git) PHP · 231 lines

1 <?php

2

3 namespace Symfony\Component\Console\Output;

147 break;

148 case Output::OUTPUT_PLAIN:

149 $message = strip_tags($this->format($message));

150 break;

151 default:

admin-draw.php (https://github.com/ellenoneill/lootjestrekmachine.git) PHP · 139 lines

1 <?php

2 include('functions.php');

4 if($_SESSION['login'] == true && $_SESSION['uisadmin'] == 1)

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";

8 $res = mysql_query($sql) or echo_mysql_error($sql);

20 if($getrokken)

21 {

22 echo '<p><a href="admin-draw.php" class="button draw">Trek de lootjes nogmaals</a></p>';

23 }

24 else

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>

37 </form>

Creditmemo.php (https://bitbucket.org/kdms/sh-magento.git) PHP · 224 lines

1 <?php

2 /**

3 * Magento Enterprise Edition

188 $lines = array();

189 $lines[][] = array(

190 'text' => Mage::helper('core/string')->str_split(strip_tags($option['label']), 40, true, true),

191 'font' => 'italic',

192 'feed' => $leftBound

197 $_printValue = isset($option['print_value'])

198 ? $option['print_value']

199 : strip_tags($option['value']);

200 $values = explode(', ', $_printValue);

201 foreach ($values as $value) {

gva_call_to_action.php (https://gitlab.com/kryber/wizionary) PHP · 206 lines

173

174

175 <div class="widget gsc-call-to-action <?php print implode(' ', $class) ?>" <?php print $css_background ?> <?php print gavias_content_builder_print_animate_wow('', $animate_delay) ?>>

176 <div class="content-inner clearfix" >

177 <div class="content" <?php if($width){ ?> style="max-width: <?php echo $width ?>" <?php } ?> >

178 <?php if($image){ ?>

179 <div class="image-icon">

180 <img src="<?php print $image ?>" alt="<?php print strip_tags($title) ?>"/>

181 </div>

182 <?php } ?>

186 <?php if($title){ ?>

187 <h2 class="title" <?php if($title_font_size){ ?> style="font-size: <?php echo $title_font_size ?>" <?php } ?>>

188 <span><?php print $title; ?></span>

193 <?php if($link){?>

194 <div class="button-action">

195 <a href="<?php print $link ?>" class="<?php print $style_button ?>" <?php print $target ?>>

196 <i class="btn-curve"></i><span><?php print $button_title ?></span></a>

payment_method.php (https://bitbucket.org/jojoluzifer/gold-light-project.git) PHP · 198 lines

1 <?php

2 class ControllerCheckoutPaymentMethod extends Controller {

3 public function index() {

189 $this->session->data['payment_method'] = $this->session->data['payment_methods'][$this->request->post['payment_method']];

190

191 $this->session->data['comment'] = strip_tags($this->request->post['comment']);

192 }

193 }

Creditmemo.php (https://github.com/seloshow/Magento-Pruebas.git) PHP · 221 lines

1 <?php

2 /**

3 * Magento

8 * that is bundled with this package in the file LICENSE.txt.

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

12 * obtain it through the world-wide-web, please send an email

22 * @package Mage_Bundle

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 */

26

187 $lines = array();

188 $lines[][] = array(

189 'text' => Mage::helper('core/string')->str_split(strip_tags($option['label']), 70, true, true),

190 'font' => 'italic',

191 'feed' => $leftBound

views_ui_node_views_wizard.class.php (https://github.com/istos/DrupalRooms.git) PHP · 136 lines

1 <?php

2

3 /**

82 $display_options['fields']['title']['alter']['word_boundary'] = 0;

83 $display_options['fields']['title']['alter']['ellipsis'] = 0;

84 $display_options['fields']['title']['alter']['strip_tags'] = 0;

85 $display_options['fields']['title']['alter']['html'] = 0;

86 $display_options['fields']['title']['hide_empty'] = 0;

BookTitle.php (https://gitlab.com/ajit57/ajitdas_143229_b35_session30_search_3rdparty) PHP · 183 lines

1 <?php

2

3

45 else

46 Message::setMessage("Failed ! Data has not been inserted Successfully ):");

47 Utility::redirect('index.php');

48 }//end of store

49

74 $STH = $this->DBH->prepare($sql);

75 $STH->execute($arrData);

76 Utility::redirect('index.php');

77 }

78 public function delete(){

83 $result = $STH->execute();

84

85 Utility::redirect('index.php');

86 }

87 public function trash($fetchMode ='ASSOC'){

Default.php (https://bitbucket.org/nharland/wikl.nl.git) PHP · 99 lines

1 <?php

2 /**

3 * Magento

8 * that is bundled with this package in the file LICENSE.txt.

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

12 * obtain it through the world-wide-web, please send an email

22 * @package Mage_Sales

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 */

26

70 // draw options label

71 $lines[][] = array(

72 'text' => Mage::helper('core/string')->str_split(strip_tags($option['label']), 70, true, true),

73 'font' => 'italic',

74 'feed' => 60

SearchController.php (https://github.com/massiveart-webservices/ZOOLU.git) PHP · 157 lines

1 <?php

2

3 /**

64

65 $request = $this->getRequest();

66 $strSearchValue = strip_tags($request->getParam('q'));

67 $intRootLevelId = $request->getParam('rootLevelId');

68 $arrSegmentationInfos = $request->getParam('segmentation');

108

109 $this->view->setScriptPath(GLOBAL_ROOT_PATH.'public/website/themes/'.$request->getParam('theme').'/');

110 $this->renderScript('search.php');

111 }

112

bannedip.php (https://github.com/ButuzGOL/Open-Lamp-Engine.git) PHP · 74 lines

1 <?php /*

2 //=============================================================================/

3 // Open Lamp Engine version 1.0

11 // Данный код защищен авторскими правами :)

12 //=============================================================================/

13 // Файл: bannedip.php

14 //-----------------------------------------------------------------------------/

15 // Назначение: Модуль управления забаненными IP (админка)

28

29 $o_tpl->addhtml(ADMIN_TEMPLATES_DIR."/".$m."_form.tpl", $mrules); }

30 else { $ip = $o_other->filterIp($o_vars->post['ip']); $date = (!$o_vars->post['date'] || time() > $o_other->makeToTime($o_vars->post['date'])) ? 0 : $o_other->makeToTime($o_vars->post['date']); $descr = stripslashes(htmlspecialchars(strip_tags($o_vars->post['descr']), ENT_QUOTES)); if ($ip!="" && !$o_bannedip->valueExists("ip", $ip)) {

31

32 $sw = true;

50 $mrules["{IP}"] = $n[1]; $mrules["{DATE}"] = (!$n[2]) ? "" : $o_other->makeNormalDate($n[2]);

51 $mrules["{DATEC}"] = ($n[2]) ? "" : "checked=\"checked\"";

52 $mrules["{DESCR}"] = $n[3]; $o_tpl->addhtml(ADMIN_TEMPLATES_DIR."/".$m."_form.tpl", $mrules); } } else { $ip = $o_other->filterIp($o_vars->post['ip']); $date = (!$o_vars->post['date'] || time() > $o_other->makeToTime($o_vars->post['date'])) ? 0 : $o_other->makeToTime($o_vars->post['date']); $descr = stripslashes(htmlspecialchars(strip_tags($o_vars->post['descr']), ENT_QUOTES)); if ($id!="" && $ip!="" && !$o_bannedip->valueExists("ip", $ip, $id)) {

53

54 $sw = true;

functions.php (https://github.com/hashemgamal/OSClass.git) PHP · 176 lines

1 <?php

2 /*

3 * OSCLass – software for creating and publishing online classified

142 break;

143 case('page'):

144 return osc_highlight(strip_tags(osc_static_page_text()), 140);

145 break;

146 case('search'):

152

153 if(osc_has_items ()) {

154 $result = osc_item_category() . ', ' . osc_highlight(strip_tags(osc_item_description()), 140) . '..., ' . osc_item_category();

155 }

156

165

166 if(osc_has_latest_items()) {

167 $result = osc_item_category() . ', ' . osc_highlight(strip_tags(osc_item_description()), 140) . '..., ' . osc_item_category();

168 }

169

index.php (https://bitbucket.org/denisOg/soft-site.git) PHP · 161 lines

1 <?php

2 error_reporting(E_ALL | E_STRICT);

3 ini_set('display_errors', 'On');

4 ini_set('short_open_tag', 'On');

5 include_once(__DIR__ . '/config.php');

6 $PAGE = !empty($_GET['page']) ? $_GET['page'] : 'list';

7 $data = array('test' => 'Success');

14 $data['title'] = 'Список программ';

15 $data['aResult'] = $oMySQL->Select('soft');

16 render('_list.php', $data);

17 }

18

22 $data['title'] = 'Список программ';

23 $data['aResult'] = $oMySQL->Select('soft');

24 render('_admin_list.php', $data);

25 }

26

email.php (https://bitbucket.org/sirestudios/fortis-wellness.git) PHP · 408 lines

1 <?php

2 /**

3 * Email

37 /**

38 * Send an email using a Transactional email service

39 * or native PHP as a fallback.

40 *

41 * @param array $attributes A list of attributes for sending

133 /*

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

comments.php (https://github.com/temperamente/temperamente.git) PHP · 166 lines

48 ?>

49 <ul class="widget-container"><li class="comments-widget">

50 <?php if ( $title ) { ?> <h3 class="widgettitle"><?php echo $title; ?></h3> <?php } ?>

51 <ul>

52 <?php

58

59 if( $instance['display_avatar']) { ?>

60 <a href="<?php echo $get_the_peralink; ?>" title="<?php echo $comment->post_title; ?>"><img class="comments-widget-avatar <?php echo $instance['avatar_align']; ?>" src="http://www.gravatar.com/avatar.php?gravatar_id=<?php echo md5($comment->comment_author_email); ?>&amp;size=<?php echo $instance['avatar_size']; ?>" /></a><?php

61 }

62

117 <td class="tt-widget-label" width="40%"><label for="<?php echo $this->get_field_id('title'); ?>">Title:</label></td>

118 <td class="tt-widget-content" width="60%"><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($instance['title']); ?>" /></td>

119 </tr>

120

143 <br /><input type="checkbox" name="<?php echo $this->get_field_name('display_comment'); ?>" <?php checked('true', $instance['display_comment']); ?> value="true" /> <?php _e('The Comment', 'themater'); ?>

144 <br /><input type="checkbox" name="<?php echo $this->get_field_name('display_avatar'); ?>" <?php checked('true', $instance['display_avatar']); ?> value="true" /> <?php _e('Avatar', 'themater'); ?>

145 </td>

146 </tr>

Search.php (https://bitbucket.org/acidel/buykoala.git) PHP · 147 lines

1 <?php

2 /**

3 * Magento

8 * that is bundled with this package in the file LICENSE.txt.

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

12 * obtain it through the world-wide-web, please send an email

22 * @package Mage_XmlConnect

23 * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)

24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)

25 */

26

109 $value->addChild('id', $valueItem->getValueString());

110 $value->addChild(

111 'label', $searchXmlObject->xmlentities(strip_tags($valueItem->getLabel()))

112 );

113 $value->addChild('count', $count);

cookstr-print.tpl.php (https://github.com/nbcutech/o3drupal.git) PHP · 50 lines

1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

2 <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">

3 <head>

4 <title><?php print strip_tags($print['title']) ?></title>

33 <script type="text/javascript">document.write('<scr'+'ipt language=\'JavaScript1.1\' src="http://iv.doubleclick.net/adj/<?php print $newadtagvars['site_name']; ?>/<?php print $newadtagvars['page_name']; ?>;site=<?php print $newadtagvars['site_keyval']; ?>;sect=<?php print $newadtagvars['section_keyval']; ?>;<?php if ($newadtagvars['sub']) { print 'sub='.$newadtagvars['sub'].';';} ?><?php if ($newadtagvars['sub2']) { print 'sub2='.$newadtagvars['sub2'].';';} ?>pageid=<?php print arg(1); ?>;<?php if ($newadtagvars['season']) { print 'season='.$newadtagvars['season'].';';} ?><?php if ($newadtagvars['aff']) { print 'aff='.$newadtagvars['aff'].';';} ?>daypart=primetime;genre=reality;<?php print $newadtagvars['category_excludes']; ?>;dcopt=ist;pos=1;tile=1;sz=728x90;ord='+rand_no+'?;"><\/scr'+'ipt>');</script>

34 <noscript>

35 <a href="http://iv.doubleclick.net/jump/<?php print $newadtagvars['site_name']; ?>/<?php print $newadtagvars['page_name']; ?>;site=bravo;sect=<?php print $newadtagvars['section_keyval']; ?>;<?php if ($newadtagvars['sub']) { print 'sub='.$newadtagvars['sub'].';';} ?><?php if ($newadtagvars['sub2']) { print 'sub2='.$newadtagvars['sub2'].';';} ?>pageid=<?php print arg(1); ?>;<?php if ($newadtagvars['season']) { print 'season='.$newadtagvars['season'].';';} ?><?php if ($newadtagvars['aff']) { print 'aff='.$newadtagvars['aff'].';';} ?>daypart=primetime;genre=reality;<?php print $newadtagvars['category_excludes']; ?>;dcopt=ist;pos=1;tile=1;sz=728x90;ord=<?php print $newadtagvars['ord']; ?>?" > <img src="http://iv.doubleclick.net/ad/<?php print $newadtagvars['site_name']; ?>/<?php print $newadtagvars['page_name']; ?>;site=<?php print $newadtagvars['site_keyval']; ?>;sect=<?php print $newadtagvars['section_keyval']; ?>;<?php if ($newadtagvars['sub']) { print 'sub='.$newadtagvars['sub'].';';} ?><?php if ($newadtagvars['sub2']) { print 'sub2='.$newadtagvars['sub2'].';';} ?>pageid=<?php print arg(1); ?>;<?php if ($newadtagvars['season']) { print 'season='.$newadtagvars['season'].';';} ?><?php if ($newadtagvars['aff']) { print 'aff='.$newadtagvars['aff'].';';} ?>daypart=primetime;genre=reality;<?php print $newadtagvars['category_excludes']; ?>;dcopt=ist;pos=1;tile=1;sz=728x90;ord=<?php print $newadtagvars['ord']; ?>?" border="0" alt="Click Here!" /></a>

36 </noscript>

37 </div>

40 document.write('<scr'+'ipt language=\'JavaScript1.1\' src="http://iv.doubleclick.net/adj/<?php print $newadtagvars['site_name']; ?>/<?php print $newadtagvars['page_name']; ?>;site=<?php print $newadtagvars['site_keyval']; ?>;sect=<?php print $newadtagvars['section_keyval']; ?>;<?php if ($newadtagvars['sub']) { print 'sub='.$newadtagvars['sub'].';';} ?><?php if ($newadtagvars['sub2']) { print 'sub2='.$newadtagvars['sub2'].';';} ?>pageid=<?php print arg(1); ?>;<?php if ($newadtagvars['season']) { print 'season='.$newadtagvars['season'].';';} ?><?php if ($newadtagvars['aff']) { print 'aff='.$newadtagvars['aff'].';';} ?>daypart=primetime;genre=reality;<?php print $newadtagvars['category_excludes']; ?>;pos=9;tile=9;sz=300x250;ord='+rand_no+'"><\/scr'+'ipt>');</script>

41 <noscript>

42 <a href="http://iv.doubleclick.net/jump/<?php print $newadtagvars['site_name']; ?>/<?php print $newadtagvars['page_name']; ?>;site=<?php print $newadtagvars['site_keyval']; ?>;sect=<?php print $newadtagvars['section_keyval']; ?>;<?php if ($newadtagvars['sub']) { print 'sub='.$newadtagvars['sub'].';';} ?><?php if ($newadtagvars['sub2']) { print 'sub2='.$newadtagvars['sub2'].';';} ?>pageid=<?php print arg(1); ?>;<?php if ($newadtagvars['season']) { print 'season='.$newadtagvars['season'].';';} ?><?php if ($newadtagvars['aff']) { print 'aff='.$newadtagvars['aff'].';';} ?>daypart=primetime;genre=reality;<?php print $newadtagvars['category_excludes']; ?>;pos=9;tile=9;sz=300x250;ord=<?php print $newadtagvars['ord']; ?>?" > <img src="http://iv.doubleclick.net/ad/nbcu.bravo/<?php print $newadtagvars['page_name']; ?>;site=bravo;sect=<?php print $newadtagvars['section_keyval']; ?>;<?php if ($newadtagvars['sub']) { print 'sub='.$newadtagvars['sub'].';';} ?><?php if ($newadtagvars['sub2']) { print 'sub2='.$newadtagvars['sub2'].';';} ?>pageid=<?php print arg(1); ?>;<?php if ($newadtagvars['season']) { print 'season='.$newadtagvars['season'].';';} ?><?php if ($newadtagvars['aff']) { print 'aff='.$newadtagvars['aff'].';';} ?>daypart=primetime;genre=reality;<?php print $newadtagvars['category_excludes']; ?>;pos=9;tile=9;sz=300x250;ord=<?php print $newadtagvars['ord']; ?>?" border="0" alt="Click Here!" /></a>

43 </noscript>

44 </div>

45 <?php print $print['content']; ?>

46 </div>

47 <?php include_once('/sites/all/themes/bravotv/include/omniture.php'); ?>

48 </body>

49 <script type="text/javascript" src="<?php print $themePath ?>js/s_code.js"></script>

SummaryofOrganization.php (https://gitlab.com/Shweta_riya/Atomicproject_Riya_145741_b35) PHP · 265 lines

1 <?php

2

3 namespace App\SummaryofOrganization;

7 use PDO;

8

9 //require_once("../../../../vendor/autoload.php");

10

11

49 else

50 Message::setMessage("Failure!data has not been inserted sucessfully");

51 Utility::redirect('create.php');

52 }// end of store method

53 public function index($fetchMode='ASSOC'){

94 $STH =$this->DBH->prepare($sql);

95 $STH->execute($arrData);

96 Utility::redirect('index.php');

97 }//end of update();

98

index.php (https://github.com/durand54/sitellite.git) PHP · 176 lines

1 <?php

2 //

3 // +----------------------------------------------------------------------+

103 }

104

105 $event->_details = trim (strip_tags ($event->details));

106

107 if (! empty ($event->_details)) {

admin-setup.php (https://gitlab.com/blueprintmrk/bladencountyrecords) PHP · 275 lines

1 <?php

2

3 /*-----------------------------------------------------------------------------------

25 /* Add default options and show Options Panel after activate */

26 /*-----------------------------------------------------------------------------------*/

27 if (is_admin() && isset($_GET['activated'] ) && $pagenow == "themes.php" ) {

28

29 //Call action that sets

31

32 //Do redirect

33 header( 'Location: '.admin_url().'admin.php?page=woothemes' ) ;

34

35 }

131 if ( isset( $_REQUEST['style'] ) ) {

132 // Sanitize requested value.

133 $requested_style = strtolower( strip_tags( trim( $_REQUEST['style'] ) ) );

134 $style = $requested_style;

135 }

other.php (https://github.com/quadcodes/wp-front-end-editor.git) PHP · 329 lines

1 <?php

2

3 // Handles comment_text field

110 function setup() {

111 $this->field = 'name';

112 remove_filter( $this->filter, 'strip_tags' );

113 }

114

320 extract( $data );

321

322 return 'editable_image_' . trim( strip_tags( $key ) );

323 }

324

Locale.php (https://github.com/israelnoguera/parejas.git) PHP · 221 lines

1 <?php

2

3 /*

189 ob_start();

190 $reflector->info();

191 $output = strip_tags(ob_get_clean());

192 preg_match('/^ICU version (?:=>)?(.*)$/m', $output, $matches);

193

214 ob_start();

215 $reflector->info();

216 $output = strip_tags(ob_get_clean());

217 preg_match('/^ICU Data version (?:=>)?(.*)$/m', $output, $matches);

218

donations_widget.php (https://github.com/Matmon/WP-e-Commerce.git) PHP · 181 lines

1 <?php

2

3

68

69 $instance = $old_instance;

70 $instance['title'] = strip_tags( $new_instance['title'] );

71

72 return $instance;

95 <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e( 'Title:', 'wpsc' ); ?></label>

96 <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; ?>" />

97 </p>

98 <?php

menu.php (https://github.com/kucrut/kc-essentials.git) PHP · 266 lines

1 <?php

2

3 /**

36 if ( isset($instance['mode']) && $instance['mode'] == 'select' ) {

37 if ( !function_exists('kc_dropdown_menu') )

38 require_once kcEssentials::get_data('paths', 'inc') . '/menu_dropdown.php';

39 $menu = kc_dropdown_menu( $_menu->term_id, $instance );

40 }

64

65 function update( $new, $old ) {

66 $new['title'] = strip_tags( stripslashes($new['title']) );

67 $new['menu'] = (int) $new['menu'];

68 $new['depth'] = absint($new['depth']);

84 # If no menus exists, direct the user to go and create some.

85 if ( !$menus ) {

86 echo '<p>'. sprintf( __('No menus have been created yet. <a href="%s">Create some</a>.', 'kc-essentials'), admin_url('nav-menus.php') ) .'</p>';

87 return;

88 }

ArticleMailTemplate.inc.php (https://github.com/ojsde/ojs.git) PHP · 211 lines

1 <?php

2

3 /**

4 * @file classes/mail/ArticleMailTemplate.inc.php

5 *

6 * Copyright (c) 2003-2012 John Willinsky

49 $journal = isset($this->journal)?$this->journal:Request::getJournal();

50

51 $paramArray['articleTitle'] = strip_tags($article->getLocalizedTitle());

52 $paramArray['articleId'] = $article->getId();

53 $paramArray['journalName'] = strip_tags($journal->getLocalizedName());

54 $paramArray['sectionName'] = strip_tags($article->getSectionTitle());

55 $paramArray['articleAbstract'] = String::html2text($article->getLocalizedAbstract());

56 $paramArray['authorString'] = strip_tags($article->getAuthorString());

controller.php (https://gitlab.com/koodersmiikka/operaatio-terveys) PHP · 203 lines

1 <?php

2 namespace Concrete\Block\PageAttributeDisplay;

3

88

89 $is_stack = $c->getController() instanceof \Concrete\Controller\SinglePage\Dashboard\Blocks\Stacks;

90 if (!strlen(trim(strip_tags($content))) && ($c->isMasterCollection() || $is_stack)) {

91 $content = $this->getPlaceHolderText($this->attributeHandle);

92 }

docs_helper.php (https://github.com/onivan/akelos.git) PHP · 78 lines

1 <?php

2

3 class DocsHelper extends AkBaseHelper

40 $css_class = in_array($css_class, array('caution', 'important')) ? 'warning' : $css_class;

41 $css_class = in_array($css_class, array('tip')) ? 'info' : $css_class;

42 $html = str_replace($matches[0][$k], "<div class='$css_class'><p>".strip_tags($matches[2][$k]).'</p></div>', $html);

43 }

44 }

57

58 private function _setCodeBlocks($textile){

59 if(preg_match_all('/<(yaml|shell|php|tpl|html|sql|plain)>(.*?)<\/\\1>/ms', $textile, $matches)){

60 foreach ($matches[1] as $k => $class){

61 $css_class = strtolower($class);

filteroutput.php (https://github.com/MaBelleEcole/Main.git) PHP · 148 lines

1 <?php

2 /**

3 * @version $Id:output.php 6961 2007-03-15 16:06:53Z tcp $

5 * @subpackage Filter

6 * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.

7 * @license GNU/GPL, see LICENSE.php

8 * Joomla! is free software. This version may have been modified pursuant to the

9 * GNU General Public License, and as distributed it includes or is derivative

10 * of works licensed under the GNU General Public License or other free or open

11 * source software licenses. See COPYRIGHT.php for copyright notices and

12 * details.

13 */

142 $text = preg_replace( '/&amp;/', ' ', $text );

143 $text = preg_replace( '/&quot;/', ' ', $text );

144 $text = strip_tags( $text );

145 $text = htmlspecialchars( $text );

146 return $text;

lcp-widget.php (https://github.com/livinglab/openlab.git) PHP · 148 lines

1 <?php

2 /**

3 * List Category Posts sidebar widget.

110 function update($new_instance, $old_instance) {

111 $instance = $old_instance;

112 $instance['title'] = strip_tags($new_instance['title']);

113 $instance['limit'] = strip_tags($new_instance['limit']);

114 $instance['orderby'] = strip_tags($new_instance['orderby']);

115 $instance['order'] = strip_tags($new_instance['order']);

116 $instance['exclude'] = strip_tags($new_instance['exclude']);

117 $instance['excludeposts'] = strip_tags($new_instance['excludeposts']);

118 $instance['includeposts'] = strip_tags($new_instance['includeposts']);

119 $instance['offset'] = strip_tags($new_instance['offset']);

woo-upload-listing-form.php (https://github.com/greentv/beta.green.tv.git) PHP · 211 lines

1 <?php

2 // If necessary, force the user to login.

3 global $woo_options, $current_user;

30 // allowing users to override the form in their child theme.

31

32 $templates = array( 'includes/upload-listing/process.php' );

33 $form = locate_template( $templates, false );

34

37 ?>

38 <form name="woothemes_upload_video" method="post" action="">

39 <?php

40

41 // Once in, display a form using dynamic data from the database.

45 if ( $post_type ) {

46

47 // $post_type = strtolower( strip_tags( trim( $_POST['woo_post_type'] ) ) );

48

49 // If errors are present, display them for the user.

donations_widget.php (https://github.com/evadne/wp-e-commerce.git) PHP · 77 lines

1 <?php

2 function widget_donations($args) {

3 global $wpdb, $table_prefix;

53 $options = $newoptions = get_option($option_name);

54 if ( isset($_POST[$option_name]) ) {

55 $newoptions['title'] = strip_tags(stripslashes($_POST[$option_name]));

56 }

57 if ( $options != $newoptions ) {

class-fusion-widget-facebook-page.php (https://gitlab.com/woxiprogrammers/infinia-wordpress) PHP · 148 lines

68 <div class="fb-like-box-container <?php echo $args['widget_id']; ?>" id="fb-root">

69 <div class="fb-page" data-href="<?php echo $page_url; ?>" data-width="<?php echo $widget_width; ?>" data-adapt-container-width="true" data-small-header="<?php echo $small_header; ?>" data-height="<?php echo $height; ?>" data-hide-cover="<?php echo $show_header; ?>" data-show-facepile="<?php echo $show_faces; ?>" data-show-posts="<?php echo $show_stream; ?>"></div>

70 </div>

71 <?php endif;

111 <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'Avada' ); ?></label>

112 <input class="widefat" type="text" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" />

113 </p>

114

134

135 <p>

136 <input class="checkbox" type="checkbox" <?php checked( $instance['show_header'], 'on' ); ?> id="<?php echo $this->get_field_id( 'show_header' ); ?>" name="<?php echo $this->get_field_name( 'show_header' ); ?>" />

137 <label for="<?php echo $this->get_field_id( 'show_header' ); ?>"><?php _e( 'Show Cover Photo', 'Avada' ); ?></label>

139

140 <p>

141 <input class="checkbox" type="checkbox" <?php checked( $instance['small_header'], 'on' ); ?> id="<?php echo $this->get_field_id( 'small_header' ); ?>" name="<?php echo $this->get_field_name( 'small_header' ); ?>" />

142 <label for="<?php echo $this->get_field_id( 'small_header' ); ?>"><?php _e( 'Use Small Header', 'Avada' ); ?></label>

Project.php (https://github.com/SMF-Arcade/SMF-Project-Tools.git) PHP · 195 lines

1 <?php

2 /**

3 * Main handler for Project Tools

5 * @package core

6 * @version 0.5.1

7 * @license http://download.smfproject.net/license.php New-BSD

8 * @since 0.1

9 */

41 {

42 $subActions = array(

43 'list' => array('ProjectList.php', 'ProjectList'),

44 );

45

167 // Linktree

168 $context['linktree'][] = array(

169 'name' => strip_tags($context['project']['name']),

170 'url' => project_get_url(array('project' => $project)),

171 );

BlockContentListTest.php (https://gitlab.com/reasonat/test8) PHP · 109 lines

1 <?php

2

3 namespace Drupal\block_content\Tests;

79 $this->clickLink(t('Edit'));

80 $this->assertResponse(200);

81 $this->assertTitle(strip_tags(t('Edit custom block %label', array('%label' => $label)) . ' | Drupal'));

82 $edit = array('info[0][value]' => $new_label);

83 $this->drupalPostForm(NULL, $edit, t('Save'));

96 $this->clickLink($delete_text);

97 $this->assertResponse(200);

98 $this->assertTitle(strip_tags(t('Are you sure you want to delete the custom block %label?', array('%label' => $new_label)) . ' | Drupal'));

99 $this->drupalPostForm(NULL, array(), $delete_text);

100

grve-widget-latest-combo.php (https://github.com/Canuckaholic/Pop-Digital.git) PHP · 227 lines

95 <li <?php post_class(); ?>>

96 <div class="grve-post-format"></div>

97 <a href="<?php echo esc_url( $grve_link ); ?>" target="<?php echo $grve_target; ?>" class="grve-title" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>

98 <div class="grve-latest-news-date"><?php echo get_the_date(); ?></div>

197 <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', GRVE_THEME_TRANSLATE ); ?></label>

198 <input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" style="width:100%;" />

199 </p>

200

209 }

210 ?>

211 <option value="<?php echo $i; ?>" <?php echo $selected;?>><?php echo $i; ?></option>

212 <?php

219 <label for="<?php echo $this->get_field_id( 'show_avatar' ); ?>"><?php echo __( 'Show Avatar:', GRVE_THEME_TRANSLATE ); ?></label>

220 <input id="<?php echo $this->get_field_id('show_avatar'); ?>" name="<?php echo $this->get_field_name('show_avatar'); ?>" type="checkbox" value="1" <?php checked( $instance['show_avatar'], 1 ); ?> />

221 </p>

222

portfolio_m.php (https://github.com/jenkoian/pyrocms-portfolio.git) PHP · 264 lines

1 <?php

2

3 defined('BASEPATH') OR exit('No direct script access allowed');

190 $this->load->helper('text');

191 foreach ($query->result() as $portfolio) {

192 $string .= '<p>' . anchor('portfolio/' . date('Y/m') . '/' . $portfolio->slug, $portfolio->title) . '<br />' . strip_tags($portfolio->intro) . '</p>';

193 }

194 }

File.php (https://gitlab.com/judielsm/Handora) PHP · 146 lines

1 <?php

2

3 /*

106 if (!@rename($this->getPathname(), $target)) {

107 $error = error_get_last();

108 throw new FileException(sprintf('Could not move the file "%s" to "%s" (%s)', $this->getPathname(), $target, strip_tags($error['message'])));

109 }

110

category_widget.php (https://github.com/Matmon/WP-e-Commerce.git) PHP · 180 lines

140

141 <p>

142 <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('grid'); ?>" name="<?php echo $this->get_field_name('grid'); ?>"<?php checked( $grid ); ?> />

143 <label for="<?php echo $this->get_field_id('grid'); ?>"><?php _e('Use Category Grid View', 'wpsc'); ?></label><br />

144 <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('image'); ?>" name="<?php echo $this->get_field_name('image'); ?>"<?php checked( $image ); ?> onclick="jQuery('.wpsc_category_image').toggle()" />

145 <label for="<?php echo $this->get_field_id('image'); ?>"><?php _e('Show Thumbnails', 'wpsc'); ?></label>

149 <p>

150

151 <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('show_name'); ?>" name="<?php echo $this->get_field_name('show_name'); ?>"<?php checked( $show_name ); ?> /><label for="<?php echo $this->get_field_id('show_name'); ?>"><?php _e(' Show N/A when No Image Available', 'wpsc'); ?></label>

152 </p>

153 <p>

174 $checked = ''; ?>

175

176 <input type="checkbox" class="checkbox" id="<?php echo $fieldconfig['id']; ?>-<?php echo $category->term_id; ?>" name="<?php echo $fieldconfig['name']; ?>[<?php echo $category->term_id; ?>]" <?php echo $checked; ?>></input> <label for="<?php echo $fieldconfig['id']; ?>-<?php echo $category->term_id; ?>"><?php echo htmlentities($category->name, ENT_QUOTES, 'UTF-8' ); ?></label><br />

177

178 <?php

block_social_activities.php (https://bitbucket.org/ciceidev/cicei_moodle_conditional_activities.git) PHP · 172 lines

1 <?php //$Id$

2

3 class block_social_activities extends block_list {

33 }

34

35 require_once($CFG->dirroot.'/course/lib.php');

36

37 $context = get_context_instance(CONTEXT_COURSE, $course->id);

54 $instancename = format_string($cm->name, true, $course->id);

55 $this->content->items[] = '<a title="'.$cm->modplural.'" '.$linkcss.' '.$cm->extra.

56 ' href="'.$CFG->wwwroot.'/mod/'.$cm->modname.'/view.php?id='.$cm->id.'">'.$instancename.'</a>';

57 //Accessibility: incidental image - should be empty Alt text

58 if (!empty($cm->icon)) {

86 if ($ismoving) {

87 $strmovehere = get_string('movehere');

88 $strmovefull = strip_tags(get_string('movefull', '', "'$USER->activitycopyname'"));

89 $strcancel= get_string('cancel');

90 $stractivityclipboard = $USER->activitycopyname;

frontpage.php (https://github.com/hatone/moodle.git) PHP · 124 lines

35 <link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />

36 <meta name="description" content="<?php p(strip_tags(format_text($SITE->summary, FORMAT_HTML))) ?>" />

37 <?php echo $OUTPUT->standard_head_html() ?>

38 </head>

39

40 <body id="<?php p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>">

41 <?php echo $OUTPUT->standard_top_of_body_html() ?>

57 <?php if (!empty($PAGE->theme->settings->logo)) { ?>

58 <a href="<?php echo $CFG->wwwroot; ?>" title="Home"><img id="logo" src="<?php echo $logourl; ?>" alt="Logo" /></a>

59 <?php } else { ?>

60 <h1 class="headermain"><a href="<?php echo $CFG->wwwroot; ?>" title="Home"><?php echo $PAGE->heading ?></a></h1>

61 <div class="tagline"><?php echo $tagline; ?></div>

95 </div>

96 </div>

97 <?php } ?>

98

99 </div>

login.php (https://bitbucket.org/akeda/bmw-id-hris.git) PHP · 174 lines

136 <label for="<?php echo $this->get_field_id( 'logged_in_text' ); ?>"><?php _e('Logged in text:', 'members'); ?></label>

137 <textarea class="widefat" rows="3" cols="20" id="<?php echo $this->get_field_id('logged_in_text'); ?>" name="<?php echo $this->get_field_name('logged_in_text'); ?>" style="width:100%;"><?php echo $logged_in_text; ?></textarea>

138 </p>

139 </div>

144 <label for="<?php echo $this->get_field_id( 'show_avatar' ); ?>">

145 <input class="checkbox" type="checkbox" <?php checked( $instance['show_avatar'], true ); ?> id="<?php echo $this->get_field_id( 'show_avatar' ); ?>" name="<?php echo $this->get_field_name( 'show_avatar' ); ?>" /> <?php _e('Display avatar?', 'widgets-reloaded'); ?></label>

146 </p>

147 <p>

152 <label for="<?php echo $this->get_field_id( 'password_label' ); ?>"><?php _e('Password Label:', 'widgets-reloaded'); ?></label>

153 <input id="<?php echo $this->get_field_id( 'password_label' ); ?>" name="<?php echo $this->get_field_name( 'password_label' ); ?>" value="<?php echo $instance['password_label']; ?>" style="width:100%;" />

154 </p>

155

161 <label for="<?php echo $this->get_field_id( 'remember_text' ); ?>"><?php _e('Remember User Text:', 'widgets-reloaded'); ?></label>

162 <input id="<?php echo $this->get_field_id( 'remember_text' ); ?>" name="<?php echo $this->get_field_name( 'remember_text' ); ?>" value="<?php echo $instance['remember_text']; ?>" style="width:100%;" />

163 </p>

164 </div>

wikiplugin_shorten.php (https://gitlab.com/ElvisAns/tiki) PHP · 174 lines

1 <?php

2

3 // (c) Copyright by authors of the Tiki Wiki CMS Groupware Project

148

149 if (isset($params['moreText'])) {

150 $moreText = strip_tags($params['moreText']);

151 }

152

153 if (isset($params['lessText'])) {

154 $lessText = strip_tags($params['lessText']);

155 }

156

image.php (https://bitbucket.org/odddogmedia/_s.git) PHP · 127 lines

14 <?php while ( have_posts() ) : the_post(); ?>

15

16 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

17 <header class="entry-header">

18 <h1 class="entry-title"><?php the_title(); ?></h1>

77 ?>

78

79 <a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php

80 $attachment_size = apply_filters( '_s_attachment_size', array( 1200, 1200 ) ); // Filterable image size.

81 echo wp_get_attachment_image( get_the_ID(), $attachment_size );

90 </div><!-- .entry-attachment -->

91

92 <?php the_content(); ?>

93 <?php

111 <?php endif; ?>

112 <?php edit_post_link( __( 'Edit', '_s' ), ' <span class="edit-link">', '</span>' ); ?>

113 </footer><!-- .entry-meta -->

114 </article><!-- #post-<?php the_ID(); ?> -->

phone.php (https://bitbucket.org/mshmsh5000/wp-demo.git) PHP · 259 lines

1 <?php

2 /**

3 * @package Pods\Fields

151 $value = implode( ' ', $value );

152

153 pods_view( PODS_DIR . 'ui/fields/phone.php', compact( array_keys( get_defined_vars() ) ) );

154 }

155

169 $errors = array();

170

171 $label = strip_tags( pods_var_raw( 'label', $options, ucwords( str_replace( '_', ' ', $name ) ) ) );

172

173 $check = $this->pre_save( $value, $id, $name, $options, $fields, $pod, $params );

SellingFormatController.php (https://github.com/expressdecor/Expressdecor.git) PHP · 177 lines

1 <?php

2

3 /*

130 }

131

132 $data['title'] = strip_tags($data['title']);

133

134 $data['start_price_coefficient'] = str_replace(',', '.', $data['start_price_coefficient']);

red_cloth_formatters_plain.rb (https://github.com/codenauts/redcloth-formatters-plain.git) Ruby · 239 lines

9

10 class Sanitizer

11 def self.strip_tags(text)

12 # use Rails Sanitizer if available

13 begin

14 text = ActionController::Base.helpers.strip_tags(text)

15 rescue

16 # otherwise, use custom method inspired from:

179 # strip HTML tags

180 def html(opts)

181 strip_tags(opts[:text]) + "\n"

182 end

183 def html_block(opts)

loop-attachment.php (https://github.com/livinglab/openlab.git) PHP · 182 lines

27 $post_title = sprintf( __( 'Go to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) );

28 ?>

29 <p class="page-title"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" title="<?php echo esc_attr( $post_title ); ?>" rel="gallery">

30 <?php

35 <?php endif; ?>

36

37 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

38 <h2 class="entry-title"><?php the_title(); ?></h2>

121 }

122 ?>

123 <p class="attachment"><a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment">

124 <?php

150 <?php else : ?>

151 <a href="<?php echo esc_url( wp_get_attachment_url() ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php echo esc_html( wp_basename( get_permalink() ) ); ?></a>

152 <?php endif; ?>

boolean.php (https://gitlab.com/najomie/ljm) PHP · 276 lines

1 <?php

2 /**

3 * Handles boolean field type data and operations.

154 }

155

156 pods_view( PODS_DIR . 'ui/fields/' . $field_type . '.php', compact( array_keys( get_defined_vars() ) ) );

157 }

158

270

271 if ( isset( $yesno[ (int) $value ] ) )

272 $value = strip_tags( $yesno[ (int) $value ], '<strong><a><em><span><img>' );

273

274 return $value;

tourinfrance_fonctions.php (https://bitbucket.org/pombredanne/spip-zone-treemap.git) PHP · 216 lines

1 <?php

2 function traiter_donnees_tourinfrance($url_flux, $id_flux, $infos_flux, $update_flux=false) {

3

29 foreach( $offres[$i] as $element => $valeur ){

30

31 $contenu = trim(strip_tags($valeur->asXML()));

32

33 if(in_array($element, $tab_infos_flux)){

jwc.php (https://github.com/hit-moodle/moodle-enrol_jwc.git) PHP · 182 lines

1 <?php

2

3 class jwc_helper {

124 if ($ret) {

125 // 是否出错

126 if (!strstr(strip_tags($ret), 'success')) {

127 $return_msg = trim(strip_tags($ret));

159 $url = $url_base.'?'.$param;

160

161 require_once("$CFG->libdir/filelib.php");

162 return download_file_content($url);

163 }

SZGoogleWidgetDriveEmbed.php (https://github.com/livinglab/openlab.git) PHP · 177 lines

1 <?php

2

3 /**

8 * @subpackage Widgets

9 * @author Massimo Della Rovere

10 * @license http://opensource.org/licenses/gpl-license.php GNU Public License

11 */

12

100

101 return $this->common_update(array(

102 'title' => '0', // strip_tags

103 'type' => '1', // strip_tags

104 'id' => '1', // strip_tags

105 'folderview' => '1', // strip_tags

Invoice.php (https://bitbucket.org/spenna/alexoo_produzione.git) PHP · 169 lines

1 <?php

2 /**

3 * AdvancedInvoiceLayout Invoice Bundle Pdf Items renderer

79 $this->_setFontRegular($this->fontsize_regular-1);

80 foreach

81 (Mage::helper('core/string')->str_split(strip_tags($shortdesc),

82 60-$this->fontsize_regular*2,

83 true, true) as $description) {

84 $shift[0] += 10;

85 $pdf->page->drawText(strip_tags($description), $feed, $pdf->y-$shift[0],

86 $this->charset);

87 }

134

135 $this->_setFontItalic();

136 foreach (Mage::helper('core/string')->str_split(strip_tags($option['label']), 60,false, true) as $_option) {

137 $pdf->page->drawText($_option, $this->margin_left+108, $pdf->y-$shift[1],

138 $this->charset);

class-ms-rule-replacelocation-model.php (https://gitlab.com/najomie/fit-hippie) PHP · 365 lines

1 <?php

2 /**

3 * Membership Replace-Menu Rule class.

62

63 /*

64 * This filter is called by get_theme_mod() in wp-includes/theme.php

65 * get_theme_mod( 'nav_menu_locations' ) returns an array of theme

66 * menu-areas and assigned custom menus. Our function modifies the

138 $post_title = sprintf(

139 '%s &rarr; %s',

140 strip_tags( $description ),

141 $menus[$saved]

142 );

337 /**

338 * Serializes this rule in a single array.

339 * We don't use the PHP `serialize()` function to serialize the whole object

340 * because a lot of unrequired and duplicate data will be serialized

341 *

EventTicketsController.php (https://github.com/Attendize/Attendize.git) PHP · 296 lines

1 <?php

2

3 namespace App\Http\Controllers;

100

101 $ticket->event_id = $event_id;

102 $ticket->title = strip_tags($request->get('title'));

103 $ticket->quantity_available = !$request->get('quantity_available') ? null : $request->get('quantity_available');

104 $ticket->start_sale_date = $request->get('start_sale_date');

107 $ticket->min_per_person = $request->get('min_per_person');

108 $ticket->max_per_person = $request->get('max_per_person');

109 $ticket->description = strip_tags($request->get('description'));

110 $ticket->is_hidden = $request->get('is_hidden') ? 1 : 0;

111

getnodes.incategory.php (https://github.com/francisreboucas/revolution.git) PHP · 104 lines

1 <?php

2 /**

3 * @package modx

41

42 $nodes[] = array(

43 'text' => strip_tags($category->get('category')) . ' (' . $category->get('elementCount') . ')',

44 'id' => 'n_'.$g[0].'_category_'.($category->get('id') != null ? $category->get('id') : 0),

45 'pk' => $category->get('id'),

87 $idNote = $showElementIds ? ' (' . $element->get('id') . ')' : '';

88 $nodes[] = array(

89 'text' => strip_tags($name) . $idNote,

90 'id' => 'n_'.$elementIdentifier.'_element_'.$element->get('id').'_'.$element->get('category'),

91 'pk' => $element->get('id'),

94 'name' => $name,

95 'cls' => implode(' ',$class),

96 'page' => 'index.php?a='.$ar_actionmap[$elementIdentifier].'&id='.$element->get('id'),

97 'type' => $elementIdentifier,

98 'elementType' => $elementType,

widget-woo-feedback.php (https://github.com/fauverism/swatch-remix.git) PHP · 239 lines

192 <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title (optional):', 'woothemes' ); ?></label>

193 <input type="text" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" />

194 </p>

195 <!-- Widget Limit: Text Input -->

197 <label for="<?php echo $this->get_field_id( 'limit' ); ?>"><?php _e( 'Limit:', 'woothemes' ); ?></label>

198 <input type="text" name="<?php echo $this->get_field_name( 'limit' ); ?>" value="<?php echo $instance['limit']; ?>" class="" size="3" id="<?php echo $this->get_field_id( 'limit' ); ?>" />

199 </p>

200 <!-- Widget Effect: Select Input -->

215 <!-- Widget Display Author: Checkbox Input -->

216 <p>

217 <input id="<?php echo $this->get_field_id( 'display_author' ); ?>" name="<?php echo $this->get_field_name( 'display_author' ); ?>" type="checkbox"<?php checked( $instance['display_author'], 1 ); ?> />

218 <label for="<?php echo $this->get_field_id( 'display_author' ); ?>"><?php _e( 'Display Author', 'woothemes' ); ?></label>

221 <!-- Widget Display URL: Checkbox Input -->

222 <p>

223 <input id="<?php echo $this->get_field_id( 'display_url' ); ?>" name="<?php echo $this->get_field_name( 'display_url' ); ?>" type="checkbox"<?php checked( $instance['display_url'], 1 ); ?> />

224 <label for="<?php echo $this->get_field_id( 'display_url' ); ?>"><?php _e( 'Display URL', 'woothemes' ); ?></label>

widget-hero-unit.php (https://gitlab.com/luyxtran264/myproject) PHP · 190 lines

164 <label for="<?php echo esc_attr( $this->get_field_id( 'hero_unit_sub_title' ) ); ?>"><?php esc_html_e('Hero unit sub title:', 'transfers') ?></label>

165 <input type="text" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'hero_unit_sub_title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'hero_unit_sub_title' ) ); ?>" value="<?php echo esc_attr( $instance['hero_unit_sub_title'] ); ?>" />

166 </p>

167

169 <label for="<?php echo esc_attr( $this->get_field_id( 'button_1_url' ) ); ?>"><?php esc_html_e('Button 1 url', 'transfers') ?></label>

170 <input type="text" placeholder="http://" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'button_1_url' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'button_1_url' ) ); ?>" value="<?php echo esc_attr( $instance['button_1_url'] ); ?>" />

171 </p>

172

179 <label for="<?php echo esc_attr( $this->get_field_id( 'button_2_url' ) ); ?>"><?php esc_html_e('Button 2 url', 'transfers') ?></label>

180 <input type="text" placeholder="http://" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'button_2_url' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'button_2_url' ) ); ?>" value="<?php echo esc_attr( $instance['button_2_url'] ); ?>" />

181 </p>

182

184 <label for="<?php echo esc_attr( $this->get_field_id( 'button_2_text' ) ); ?>"><?php esc_html_e('Button 2 text', 'transfers') ?></label>

185 <input type="text" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'button_2_text' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'button_2_text' ) ); ?>" value="<?php echo esc_attr( $instance['button_2_text'] ); ?>" />

186 </p>

187

Totals.php (https://bitbucket.org/kdms/sh-magento.git) PHP · 140 lines

1 <?php

2 /**

3 * Magento Enterprise Edition

92 foreach ($this->getTotals() as $total) {

93 if ($total->getValue()) {

94 $total->setValue(strip_tags($total->getValue()));

95 }

96 if ($total->getBlockName()) {

120 if ($total instanceof Varien_Object && $total->getCode() && $total->getLabel() && $total->hasData('value')) {

121 $totalsXml->addCustomChild(preg_replace('@[\W]+@', '_', trim($total->getCode())),

122 $this->_formatPrice($total), array('label' => strip_tags($total->getLabel()))

123 );

124 }

left_frame.tpl (https://github.com/claymodel/Zend-Framework--Doctrine-ORM--PHPUnit--Ant--Jenkins-CI--TDD-.git) Smarty Template · 198 lines

110 {else}

111 {if $info[p].subpackagetutorial}

112 var subpackagetree = new WebFXTreeItem('<span class="sub-package">{$info[p].subpackagetutorialtitle|strip_tags|escape:"quotes"}</span>', '{$info[p].subpackagetutorialnoa}');

113 {else}

114 var subpackagetree = new WebFXTreeItem('<span class="sub-package">{$info[p].subpackage}</span>', '{$packagedoc|escape:"quotes"}');

193 <p class="notes">

194 Generated by

195 <a href="{$phpdocwebsite}" target="_blank">phpDocumentor <span class="field">{$phpdocversion}</span></a>

196 </p>

197 </body>

Birthday.php (https://gitlab.com/Afsana/Afsana_148423_B35_Session_31) PHP · 282 lines

1 <?php

2

3 namespace App\Birthday;

55 Message::message("Failed! Data Has Not Been Inserted Successfully :(");

56

57 Utility::redirect('create.php'); // redirect korte hobe create.php te tai utility.php use korechi //

58

59 }//end of store method

99 $STH->execute($arrData);

100

101 Utility::redirect('index.php');

102

103 }// end of update()

112 $STH->execute();

113

114 Utility::redirect('index.php');

115

116 }// end of delete()

Abstract.php (https://bitbucket.org/dnejedly/eaparts.git) PHP · 281 lines

1 <?php

2 /**

3 * Magento

8 * that is bundled with this package in the file LICENSE.txt.

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

12 * obtain it through the world-wide-web, please send an email

22 * @package Mage_Bundle

23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)

24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)

25 */

26

249 public function getValueHtml($item)

250 {

251 $result = strip_tags($item->getName());

252 if (!$this->isShipmentSeparately($item)) {

253 $attributes = $this->getSelectionAttributes($item);

postslider-widget.php (https://gitlab.com/haque.mdmanzurul/wp-harpar-carolyn) PHP · 177 lines

69 <label style="width:80px;" for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label>

70 <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 ); ?>" />

71 </p>

72

121 ?>

122 </div>

123 <input id="<?php echo $this->get_field_id( 'category' ); ?>" name="<?php echo $this->get_field_name( 'category' ); ?>" type="hidden" value="<?php echo esc_attr( $category );?>" />

124

125

152 <label style="min-width:90px;" for="<?php echo $this->get_field_id( 'perpage' ); ?>"><?php _e( "Per page:",'veuse-uikit' ); ?></label>

153 <input size="6" id="<?php echo $this->get_field_id( 'perpage' ); ?>" name="<?php echo $this->get_field_name( 'perpage' ); ?>" type="text" value="<?php echo esc_attr( $perpage ); ?>" />

154 <small><?php _e( "To show all, enter -1",'veuse-uikit' ); ?></small>

159 <label style="min-width:90px;" for="<?php echo $this->get_field_id( 'width' ); ?>"><?php _e( "Image width:",'veuse-uikit' ); ?></label>

160 <input size="6" id="<?php echo $this->get_field_id( 'width' ); ?>" name="<?php echo $this->get_field_name( 'width' ); ?>" type="text" value="<?php echo esc_attr( $width ); ?>" />

161 <small><?php _e( "Numeric value",'veuse-uikit' ); ?></small>

164 <label style="min-width:90px;" for="<?php echo $this->get_field_id( 'height' ); ?>"><?php _e( "Image height:",'veuse-uikit' ); ?></label>

165 <input size="6" id="<?php echo $this->get_field_id( 'height' ); ?>" name="<?php echo $this->get_field_name( 'height' ); ?>" type="text" value="<?php echo esc_attr( $height ); ?>" />

166 <small><?php _e( "Numeric value",'veuse-uikit' ); ?></small>