Plugin Directory

Changeset 3180567


Ignore:
Timestamp:
11/03/2024 06:21:12 AM (14 months ago)
Author:
10web
Message:

Fixed: Security fix.

Location:
photo-gallery/trunk
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • photo-gallery/trunk/admin/views/Albumsgalleries.php

    r2743247 r3180567  
    103103              <td class="column-primary column-title" data-colname="<?php _e('Title', 'photo-gallery'); ?>">
    104104                <strong class="has-media-icon">
    105                   <a class="wd-pointer" onclick="window.parent.bwg_add_album_gallery('<?php echo $row->id; ?>', '<?php echo $row->is_album; ?>', '<?php echo esc_url( $preview_image ); ?>', '<?php echo esc_attr( $row->name ); ?>','<?php echo !$row->published ? 'dashicons-hidden' : 'bwg-hidden' ?>')" id="a_<?php echo $iterator; ?>">
     105                  <a class="wd-pointer" onclick="window.parent.bwg_add_album_gallery('<?php echo $row->id; ?>', '<?php echo $row->is_album; ?>', '<?php echo esc_url( $preview_image ); ?>', '<?php echo esc_js( $row->name ); ?>','<?php echo !$row->published ? 'dashicons-hidden' : 'bwg-hidden' ?>')" id="a_<?php echo $iterator; ?>">
    106106                    <span class="media-icon image-icon">
    107107                      <img class="preview-image" title="<?php echo esc_attr( $row->name ); ?>" src="<?php echo esc_url( $preview_image ); ?>" width="60" height="60" />
  • photo-gallery/trunk/admin/views/Themes.php

    r2792023 r3180567  
    162162          foreach ( $font_families as $key => $font_family ) {
    163163            ?>
    164             <option value="<?php echo $key; ?>" <?php echo (($saved_style == $key) ? 'selected="selected"' : ''); ?> style="font-family:<?php echo $font_family; ?>"><?php echo $font_family; ?></option>
     164            <option value="<?php echo esc_attr($key); ?>" <?php echo (($saved_style == $key) ? 'selected="selected"' : ''); ?> style="font-family:<?php echo $font_family; ?>"><?php echo esc_html($font_family); ?></option>
    165165            <?php
    166166          }
     
    211211            <div class="wd-page-title wd-header">
    212212                <h1 class="wp-heading-inline"><?php _e('Theme title', 'photo-gallery'); ?></h1>
    213                 <input type="text" id="name" name="name" value="<?php echo !empty( $row->name ) ? $row->name : ''; ?>" class="spider_text_input bwg_requried">
     213                <input type="text" id="name" name="name" value="<?php echo !empty( $row->name ) ? esc_attr($row->name) : ''; ?>" class="spider_text_input bwg_requried">
    214214        <div class="bwg-page-actions">
    215215                    <button class="tw-button-primary button-large" onclick="if (spider_check_required('name', 'Title')) {return false;}; spider_set_input_value('task', 'save')">
     
    246246                                  <td class="spider_label"><label for="thumb_margin"><?php _e('Distance between pictures:', 'photo-gallery'); ?> </label></td>
    247247                                  <td>
    248                                       <input type="text" name="thumb_margin" id="thumb_margin" value="<?php echo $row->thumb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     248                                      <input type="text" name="thumb_margin" id="thumb_margin" value="<?php echo esc_attr($row->thumb_margin); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    249249                                  </td>
    250250                                </tr>
     
    262262                                  <td class="spider_label"><label for="thumb_padding"><?php echo __('Padding:', 'photo-gallery'); ?> </label></td>
    263263                                  <td>
    264                                     <input type="text" name="thumb_padding" id="thumb_padding" value="<?php echo $row->thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     264                                    <input type="text" name="thumb_padding" id="thumb_padding" value="<?php echo esc_attr($row->thumb_padding); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    265265                                  </td>
    266266                                </tr>
     
    268268                                  <td class="spider_label"><label for="thumb_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
    269269                                  <td>
    270                                     <input type="text" name="thumb_border_width" id="thumb_border_width" value="<?php echo $row->thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     270                                    <input type="text" name="thumb_border_width" id="thumb_border_width" value="<?php echo esc_attr($row->thumb_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    271271                                  </td>
    272272                                </tr>
     
    278278                                      foreach ($border_styles as $key => $border_style) {
    279279                                        ?>
    280                                         <option value="<?php echo $key; ?>" <?php echo (($row->thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     280                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    281281                                        <?php
    282282                                      }
     
    288288                                  <td class="spider_label"><label for="thumb_border_color"><?php echo __('Border color:', 'photo-gallery'); ?></label></td>
    289289                                  <td>
    290                                     <input type="text" name="thumb_border_color" id="thumb_border_color" value="<?php echo $row->thumb_border_color; ?>" class="jscolor"/>
     290                                    <input type="text" name="thumb_border_color" id="thumb_border_color" value="<?php echo esc_attr($row->thumb_border_color); ?>" class="jscolor"/>
    291291                                  </td>
    292292                                </tr>
     
    294294                                  <td class="spider_label"><label for="thumb_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
    295295                                  <td>
    296                                     <input type="text" name="thumb_border_radius" id="thumb_border_radius" value="<?php echo $row->thumb_border_radius; ?>" class="spider_char_input" />
     296                                    <input type="text" name="thumb_border_radius" id="thumb_border_radius" value="<?php echo esc_attr($row->thumb_border_radius); ?>" class="spider_char_input" />
    297297                                    <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    298298                                  </td>
     
    301301                                  <td class="spider_label"><label for="thumb_box_shadow"><?php echo __('Shadow:', 'photo-gallery'); ?> </label></td>
    302302                                  <td>
    303                                     <input type="text" name="thumb_box_shadow" id="thumb_box_shadow" value="<?php echo $row->thumb_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     303                                    <input type="text" name="thumb_box_shadow" id="thumb_box_shadow" value="<?php echo esc_attr($row->thumb_box_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    304304                                    <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    305305                                  </td>
     
    312312                                      foreach ($thumbnail_hover_effects as $key => $hover_effect) {
    313313                                        ?>
    314                                         <option value="<?php echo $key; ?>" <?php echo (($row->thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect, 'photo-gallery'); ?></option>
     314                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($hover_effect, 'photo-gallery'); ?></option>
    315315                                        <?php
    316316                                      }
     
    322322                                  <td class="spider_label"><label for="thumb_hover_effect_value"><?php echo __('Hover effect value:', 'photo-gallery'); ?> </label></td>
    323323                                  <td>
    324                                     <input type="text" name="thumb_hover_effect_value" id="thumb_hover_effect_value" value="<?php echo $row->thumb_hover_effect_value; ?>" class="spider_char_input"/>
     324                                    <input type="text" name="thumb_hover_effect_value" id="thumb_hover_effect_value" value="<?php echo esc_attr($row->thumb_hover_effect_value); ?>" class="spider_char_input"/>
    325325                                    <div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale/Zoom: 1.5, Skew: 10deg.', 'photo-gallery'); ?></div>
    326326                                  </td>
     
    350350                                  </td>
    351351                                  <td>
    352                     <input type="text" name="thumb_bg_color" id="thumb_bg_color" value="<?php echo $row->thumb_bg_color; ?>" class="jscolor" />
     352                    <input type="text" name="thumb_bg_color" id="thumb_bg_color" value="<?php echo esc_attr($row->thumb_bg_color); ?>" class="jscolor" />
    353353                                  </td>
    354354                                </tr>
     
    356356                  <td class="spider_label"><label for="thumb_bg_transparency"><?php echo __('Thumbnail background transparency:', 'photo-gallery'); ?> </label></td>
    357357                  <td>
    358                     <input type="text" name="thumb_bg_transparency" id="thumb_bg_transparency" value="<?php echo $row->thumb_bg_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     358                    <input type="text" name="thumb_bg_transparency" id="thumb_bg_transparency" value="<?php echo esc_attr($row->thumb_bg_transparency); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    359359                    <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    360360                  </td>
     
    363363                                  <td class="spider_label"><label for="thumb_transparent"><?php echo __('Thumbnail transparency:', 'photo-gallery'); ?> </label></td>
    364364                                  <td>
    365                                     <input type="text" name="thumb_transparent" id="thumb_transparent" value="<?php echo $row->thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     365                                    <input type="text" name="thumb_transparent" id="thumb_transparent" value="<?php echo esc_attr($row->thumb_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    366366                                    <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    367367                                  </td>
     
    370370                                  <td class="spider_label"><label for="thumbs_bg_color"><?php echo __('Full background color:', 'photo-gallery'); ?> </label></td>
    371371                                  <td>
    372                                     <input type="text" name="thumbs_bg_color" id="thumbs_bg_color" value="<?php echo $row->thumbs_bg_color; ?>" class="jscolor"/>
     372                                    <input type="text" name="thumbs_bg_color" id="thumbs_bg_color" value="<?php echo esc_attr($row->thumbs_bg_color); ?>" class="jscolor"/>
    373373                                  </td>
    374374                                </tr>
     
    376376                                  <td class="spider_label"><label for="thumb_bg_transparent"><?php echo __('Full background transparency:', 'photo-gallery'); ?> </label></td>
    377377                                  <td>
    378                                     <input type="text" name="thumb_bg_transparent" id="thumb_bg_transparent" value="<?php echo $row->thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     378                                    <input type="text" name="thumb_bg_transparent" id="thumb_bg_transparent" value="<?php echo esc_attr($row->thumb_bg_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    379379                                    <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    380380                                  </td>
     
    387387                                      foreach ($aligns as $key => $align) {
    388388                                        ?>
    389                                         <option value="<?php echo $key; ?>" <?php echo (($row->thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     389                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    390390                                        <?php
    391391                                      }
     
    416416                                          <td class="spider_label"><label for="thumb_title_font_size"><?php echo __('Title font size:', 'photo-gallery'); ?> </label></td>
    417417                                          <td>
    418                                             <input type="text" name="thumb_title_font_size" id="thumb_title_font_size" value="<?php echo $row->thumb_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     418                                            <input type="text" name="thumb_title_font_size" id="thumb_title_font_size" value="<?php echo esc_attr($row->thumb_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    419419                                          </td>
    420420                                        </tr>
     
    422422                                          <td class="spider_label"><label for="thumb_title_font_color"><?php echo __('Title font color:', 'photo-gallery'); ?> </label></td>
    423423                                          <td>
    424                                             <input type="text" name="thumb_title_font_color" id="thumb_title_font_color" value="<?php echo $row->thumb_title_font_color; ?>" class="jscolor" />
     424                                            <input type="text" name="thumb_title_font_color" id="thumb_title_font_color" value="<?php echo esc_attr($row->thumb_title_font_color); ?>" class="jscolor" />
    425425                                          </td>
    426426                                        </tr>
     
    428428                                          <td class="spider_label"><label for="thumb_title_font_color_hover"><?php echo __('Title font color (Show on hover):', 'photo-gallery'); ?> </label></td>
    429429                                          <td>
    430                                             <input type="text" name="thumb_title_font_color_hover" id="thumb_title_font_color_hover" value="<?php echo $row->thumb_title_font_color_hover; ?>" class="jscolor" />
     430                                            <input type="text" name="thumb_title_font_color_hover" id="thumb_title_font_color_hover" value="<?php echo esc_attr($row->thumb_title_font_color_hover); ?>" class="jscolor" />
    431431                                          </td>
    432432                                        </tr>
     
    442442                                              foreach ($font_weights as $key => $font_weight) {
    443443                                                ?>
    444                                                 <option value="<?php echo $key; ?>" <?php echo (($row->thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     444                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    445445                                                <?php
    446446                                              }
     
    452452                                          <td class="spider_label"><label for="thumb_title_shadow"><?php echo __('Title box shadow:', 'photo-gallery'); ?> </label></td>
    453453                                          <td>
    454                                             <input type="text" name="thumb_title_shadow" id="thumb_title_shadow" value="<?php echo $row->thumb_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     454                                            <input type="text" name="thumb_title_shadow" id="thumb_title_shadow" value="<?php echo esc_attr($row->thumb_title_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    455455                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    456456                                          </td>
     
    459459                                          <td class="spider_label"><label for="thumb_title_margin"><?php echo __('Title margin:', 'photo-gallery'); ?> </label></td>
    460460                                          <td>
    461                                             <input type="text" name="thumb_title_margin" id="thumb_title_margin" value="<?php echo $row->thumb_title_margin; ?>" class="spider_char_input" />
     461                                            <input type="text" name="thumb_title_margin" id="thumb_title_margin" value="<?php echo esc_attr($row->thumb_title_margin); ?>" class="spider_char_input" />
    462462                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    463463                                          </td>
     
    467467                      <td>
    468468                        <input type="text" name="thumb_description_font_size" id="thumb_description_font_size" value="<?php echo
    469                         $row->thumb_description_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     469                        esc_attr($row->thumb_description_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    470470                      </td>
    471471                    </tr>
     
    473473                      <td class="spider_label"><label for="thumb_description_font_color"><?php echo __('Thumb description font color:', 'photo-gallery'); ?> </label></td>
    474474                      <td>
    475                         <input type="text" name="thumb_description_font_color" id="thumb_description_font_color" value="<?php echo $row->thumb_description_font_color; ?>" class="jscolor" />
     475                        <input type="text" name="thumb_description_font_color" id="thumb_description_font_color" value="<?php echo esc_attr($row->thumb_description_font_color); ?>" class="jscolor" />
    476476                      </td>
    477477                    </tr>
     
    484484                                          <td>
    485485                                            <input type="text" name="thumb_gal_title_font_size" id="thumb_gal_title_font_size" value="<?php echo
    486                                             $row->thumb_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     486                                            esc_attr($row->thumb_gal_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    487487                                          </td>
    488488                                        </tr>
     
    490490                                          <td class="spider_label"><label for="thumb_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
    491491                                          <td>
    492                                             <input type="text" name="thumb_gal_title_font_color" id="thumb_gal_title_font_color" value="<?php echo $row->thumb_gal_title_font_color; ?>" class="jscolor" />
     492                                            <input type="text" name="thumb_gal_title_font_color" id="thumb_gal_title_font_color" value="<?php echo esc_attr($row->thumb_gal_title_font_color); ?>" class="jscolor" />
    493493                                          </td>
    494494                                        </tr>
     
    504504                                              foreach ($font_weights as $key => $font_weight) {
    505505                                                ?>
    506                                                 <option value="<?php echo $key; ?>" <?php echo (($row->thumb_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     506                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->thumb_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    507507                                                <?php
    508508                                              }
     
    514514                                          <td class="spider_label"><label for="thumb_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
    515515                                          <td>
    516                                             <input type="text" name="thumb_gal_title_shadow" id="thumb_gal_title_shadow" value="<?php echo $row->thumb_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     516                                            <input type="text" name="thumb_gal_title_shadow" id="thumb_gal_title_shadow" value="<?php echo esc_attr($row->thumb_gal_title_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    517517                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    518518                                          </td>
     
    521521                                          <td class="spider_label"><label for="thumb_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
    522522                                          <td>
    523                                             <input type="text" name="thumb_gal_title_margin" id="thumb_gal_title_margin" value="<?php echo $row->thumb_gal_title_margin; ?>" class="spider_char_input" />
     523                                            <input type="text" name="thumb_gal_title_margin" id="thumb_gal_title_margin" value="<?php echo esc_attr($row->thumb_gal_title_margin); ?>" class="spider_char_input" />
    524524                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    525525                                          </td>
     
    532532                                              foreach ($aligns as $key => $align) {
    533533                                                ?>
    534                                                 <option value="<?php echo $key; ?>" <?php echo (($row->thumb_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
     534                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->thumb_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    535535                                                <?php
    536536                                              }
     
    556556                                      <td class="spider_label"><label for="masonry_thumb_padding"><?php echo __('Distance between pictures:', 'photo-gallery'); ?> </label></td>
    557557                                      <td>
    558                                         <input type="text" name="masonry_thumb_padding" id="masonry_thumb_padding" value="<?php echo $row->masonry_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     558                                        <input type="text" name="masonry_thumb_padding" id="masonry_thumb_padding" value="<?php echo esc_attr($row->masonry_thumb_padding); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    559559                                      </td>
    560560                                    </tr>
     
    572572                                      <td class="spider_label"><label for="masonry_thumb_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
    573573                                      <td>
    574                                         <input type="text" name="masonry_thumb_border_width" id="masonry_thumb_border_width" value="<?php echo $row->masonry_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     574                                        <input type="text" name="masonry_thumb_border_width" id="masonry_thumb_border_width" value="<?php echo esc_attr($row->masonry_thumb_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    575575                                      </td>
    576576                                    </tr>
     
    582582                                          foreach ($border_styles as $key => $border_style) {
    583583                                            ?>
    584                                             <option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     584                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->masonry_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    585585                                            <?php
    586586                                          }
     
    592592                                      <td class="spider_label"><label for="masonry_thumb_border_color"><?php echo __('Border color:', 'photo-gallery'); ?> </label></td>
    593593                                      <td>
    594                                         <input type="text" name="masonry_thumb_border_color" id="masonry_thumb_border_color" value="<?php echo $row->masonry_thumb_border_color; ?>" class="jscolor" />
     594                                        <input type="text" name="masonry_thumb_border_color" id="masonry_thumb_border_color" value="<?php echo esc_attr($row->masonry_thumb_border_color); ?>" class="jscolor" />
    595595                                      </td>
    596596                                    </tr>
     
    598598                                      <td class="spider_label"><label for="masonry_thumb_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
    599599                                      <td>
    600                                         <input type="text" name="masonry_thumb_border_radius" id="masonry_thumb_border_radius" value="<?php echo $row->masonry_thumb_border_radius; ?>" class="spider_char_input" />
     600                                        <input type="text" name="masonry_thumb_border_radius" id="masonry_thumb_border_radius" value="<?php echo esc_attr($row->masonry_thumb_border_radius); ?>" class="spider_char_input" />
    601601                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    602602                                      </td>
     
    609609                                          foreach ($thumbnail_hover_effects as $key => $hover_effect) {
    610610                                            ?>
    611                                             <option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect, 'photo-gallery'); ?></option>
     611                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->masonry_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($hover_effect, 'photo-gallery'); ?></option>
    612612                                            <?php
    613613                                          }
     
    619619                                      <td class="spider_label"><label for="masonry_thumb_hover_effect_value"><?php echo __('Hover effect value:', 'photo-gallery'); ?> </label></td>
    620620                                      <td>
    621                                         <input type="text" name="masonry_thumb_hover_effect_value" id="masonry_thumb_hover_effect_value" value="<?php echo $row->masonry_thumb_hover_effect_value; ?>" class="spider_char_input" />
     621                                        <input type="text" name="masonry_thumb_hover_effect_value" id="masonry_thumb_hover_effect_value" value="<?php echo esc_attr($row->masonry_thumb_hover_effect_value); ?>" class="spider_char_input" />
    622622                                        <div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.', 'photo-gallery'); ?></div>
    623623                                      </td>
     
    647647                                        </td>
    648648                                        <td>
    649                                             <input type="text" name="masonry_thumb_bg_color" id="masonry_thumb_bg_color" value="<?php echo $row->masonry_thumb_bg_color; ?>" class="jscolor" />
     649                                            <input type="text" name="masonry_thumb_bg_color" id="masonry_thumb_bg_color" value="<?php echo esc_attr($row->masonry_thumb_bg_color); ?>" class="jscolor" />
    650650                                        </td>
    651651                                    </tr>
     
    653653                    <td class="spider_label"><label for="masonry_thumb_bg_transparency"><?php echo __('Thumbnail background transparency:', 'photo-gallery'); ?> </label></td>
    654654                    <td>
    655                       <input type="text" name="masonry_thumb_bg_transparency" id="masonry_thumb_bg_transparency" value="<?php echo $row->masonry_thumb_bg_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     655                      <input type="text" name="masonry_thumb_bg_transparency" id="masonry_thumb_bg_transparency" value="<?php echo esc_attr($row->masonry_thumb_bg_transparency); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    656656                      <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    657657                    </td>
     
    660660                                        <td class="spider_label"><label for="masonry_thumb_transparent"><?php echo __('Transparency:', 'photo-gallery'); ?> </label></td>
    661661                                        <td>
    662                                             <input type="text" name="masonry_thumb_transparent" id="masonry_thumb_transparent" value="<?php echo $row->masonry_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     662                                            <input type="text" name="masonry_thumb_transparent" id="masonry_thumb_transparent" value="<?php echo esc_attr($row->masonry_thumb_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    663663                                            <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    664664                                        </td>
     
    667667                                        <td class="spider_label"><label for="masonry_thumbs_bg_color"><?php echo __('Full Background color:', 'photo-gallery'); ?> </label></td>
    668668                                        <td>
    669                                             <input type="text" name="masonry_thumbs_bg_color" id="masonry_thumbs_bg_color" value="<?php echo $row->masonry_thumbs_bg_color; ?>" class="jscolor" />
     669                                            <input type="text" name="masonry_thumbs_bg_color" id="masonry_thumbs_bg_color" value="<?php echo esc_attr($row->masonry_thumbs_bg_color); ?>" class="jscolor" />
    670670                                        </td>
    671671                                    </tr>
     
    673673                                        <td class="spider_label"><label for="masonry_thumb_bg_transparent"><?php echo __('Background transparency:', 'photo-gallery'); ?> </label></td>
    674674                                        <td>
    675                                             <input type="text" name="masonry_thumb_bg_transparent" id="masonry_thumb_bg_transparent" value="<?php echo $row->masonry_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     675                                            <input type="text" name="masonry_thumb_bg_transparent" id="masonry_thumb_bg_transparent" value="<?php echo esc_attr($row->masonry_thumb_bg_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    676676                                            <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    677677                                        </td>
     
    682682                                            <select name="masonry_thumb_align" id="masonry_thumb_align">
    683683                                            <?php foreach ($aligns as $key => $align) { ?>
    684                                                 <option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     684                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->masonry_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    685685                                            <?php } ?>
    686686                                        </select>
     
    700700                                            <td class="spider_label"><label for="masonry_thumb_title_font_size"><?php echo __('Title font size:', 'photo-gallery'); ?> </label></td>
    701701                                            <td>
    702                                                 <input type="text" name="masonry_thumb_title_font_size" id="masonry_thumb_title_font_size" value="<?php echo $row->masonry_thumb_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     702                                                <input type="text" name="masonry_thumb_title_font_size" id="masonry_thumb_title_font_size" value="<?php echo esc_attr($row->masonry_thumb_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    703703                                            </td>
    704704                                        </tr>
     
    706706                                          <td class="spider_label"><label for="masonry_thumb_title_font_color"><?php echo __('Title font color:', 'photo-gallery'); ?> </label></td>
    707707                                          <td>
    708                                             <input type="text" name="masonry_thumb_title_font_color" id="masonry_thumb_title_font_color" value="<?php echo $row->masonry_thumb_title_font_color; ?>" class="jscolor" />
     708                                            <input type="text" name="masonry_thumb_title_font_color" id="masonry_thumb_title_font_color" value="<?php echo esc_attr($row->masonry_thumb_title_font_color); ?>" class="jscolor" />
    709709                                          </td>
    710710                                        </tr>
     
    712712                                          <td class="spider_label"><label for="masonry_thumb_title_font_color_hover"><?php echo __('Title font color (Show on hover):', 'photo-gallery'); ?> </label></td>
    713713                                          <td>
    714                                             <input type="text" name="masonry_thumb_title_font_color_hover" id="masonry_thumb_title_font_color_hover" value="<?php echo $row->masonry_thumb_title_font_color_hover; ?>" class="jscolor" />
     714                                            <input type="text" name="masonry_thumb_title_font_color_hover" id="masonry_thumb_title_font_color_hover" value="<?php echo esc_attr($row->masonry_thumb_title_font_color_hover); ?>" class="jscolor" />
    715715                                          </td>
    716716                                        </tr>
     
    726726                                              foreach ($font_weights as $key => $font_weight) {
    727727                                                ?>
    728                                                 <option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     728                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->masonry_thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    729729                                                <?php
    730730                                              }
     
    736736                                            <td class="spider_label"><label for="masonry_thumb_title_margin"><?php echo __('Title margin:', 'photo-gallery'); ?> </label></td>
    737737                                            <td>
    738                                                 <input type="text" name="masonry_thumb_title_margin" id="masonry_thumb_title_margin" value="<?php echo $row->masonry_thumb_title_margin; ?>" class="spider_char_input" />
     738                                                <input type="text" name="masonry_thumb_title_margin" id="masonry_thumb_title_margin" value="<?php echo esc_attr($row->masonry_thumb_title_margin); ?>" class="spider_char_input" />
    739739                                                <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    740740                                            </td>
     
    743743                                      <td class="spider_label"><label for="masonry_description_font_size"><?php echo __('Description font size:', 'photo-gallery'); ?> </label></td>
    744744                                      <td>
    745                                         <input type="text" name="masonry_description_font_size" id="masonry_description_font_size" value="<?php echo $row->masonry_description_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     745                                        <input type="text" name="masonry_description_font_size" id="masonry_description_font_size" value="<?php echo esc_attr($row->masonry_description_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    746746                                      </td>
    747747                                    </tr>
     
    749749                                      <td class="spider_label"><label for="masonry_description_color"><?php echo __('Description font color:', 'photo-gallery'); ?> </label></td>
    750750                                      <td>
    751                                         <input type="text" name="masonry_description_color" id="masonry_description_color" value="<?php echo $row->masonry_description_color; ?>" class="jscolor" />
     751                                        <input type="text" name="masonry_description_color" id="masonry_description_color" value="<?php echo esc_attr($row->masonry_description_color); ?>" class="jscolor" />
    752752                                      </td>
    753753                                    </tr>
     
    759759                                      <td class="spider_label"><label for="masonry_thumb_gal_title_font_size"><?php echo __('Gallery title/description font size:', 'photo-gallery'); ?> </label></td>
    760760                                      <td>
    761                                         <input type="text" name="masonry_thumb_gal_title_font_size" id="masonry_thumb_gal_title_font_size" value="<?php echo $row->masonry_thumb_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     761                                        <input type="text" name="masonry_thumb_gal_title_font_size" id="masonry_thumb_gal_title_font_size" value="<?php echo esc_attr($row->masonry_thumb_gal_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    762762                                      </td>
    763763                                    </tr>
     
    765765                                      <td class="spider_label"><label for="masonry_thumb_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
    766766                                      <td>
    767                                         <input type="text" name="masonry_thumb_gal_title_font_color" id="masonry_thumb_gal_title_font_color" value="<?php echo $row->masonry_thumb_gal_title_font_color; ?>" class="jscolor" />
     767                                        <input type="text" name="masonry_thumb_gal_title_font_color" id="masonry_thumb_gal_title_font_color" value="<?php echo esc_attr($row->masonry_thumb_gal_title_font_color); ?>" class="jscolor" />
    768768                                      </td>
    769769                                    </tr>
     
    779779                                          foreach ($font_weights as $key => $font_weight) {
    780780                                            ?>
    781                                             <option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     781                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->masonry_thumb_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    782782                                            <?php
    783783                                          }
     
    789789                                      <td class="spider_label"><label for="masonry_thumb_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
    790790                                      <td>
    791                                         <input type="text" name="masonry_thumb_gal_title_shadow" id="masonry_thumb_gal_title_shadow" value="<?php echo $row->masonry_thumb_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     791                                        <input type="text" name="masonry_thumb_gal_title_shadow" id="masonry_thumb_gal_title_shadow" value="<?php echo esc_attr($row->masonry_thumb_gal_title_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    792792                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    793793                                      </td>
     
    796796                                      <td class="spider_label"><label for="masonry_thumb_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
    797797                                      <td>
    798                                         <input type="text" name="masonry_thumb_gal_title_margin" id="masonry_thumb_gal_title_margin" value="<?php echo $row->masonry_thumb_gal_title_margin; ?>" class="spider_char_input" />
     798                                        <input type="text" name="masonry_thumb_gal_title_margin" id="masonry_thumb_gal_title_margin" value="<?php echo esc_attr($row->masonry_thumb_gal_title_margin); ?>" class="spider_char_input" />
    799799                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    800800                                      </td>
     
    807807                                          foreach ($aligns as $key => $align) {
    808808                                            ?>
    809                                             <option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
     809                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->masonry_thumb_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    810810                                            <?php
    811811                                          }
     
    831831                                      <td class="spider_label"><label for="mosaic_thumb_padding"><?php echo __('Distance between pictures:', 'photo-gallery'); ?> </label></td>
    832832                                      <td>
    833                                         <input type="text" name="mosaic_thumb_padding" id="mosaic_thumb_padding" value="<?php echo $row->mosaic_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     833                                        <input type="text" name="mosaic_thumb_padding" id="mosaic_thumb_padding" value="<?php echo esc_attr($row->mosaic_thumb_padding); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    834834                                      </td>
    835835                                    </tr>
     
    847847                                      <td class="spider_label"><label for="mosaic_thumb_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
    848848                                      <td>
    849                                         <input type="text" name="mosaic_thumb_border_width" id="mosaic_thumb_border_width" value="<?php echo $row->mosaic_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     849                                        <input type="text" name="mosaic_thumb_border_width" id="mosaic_thumb_border_width" value="<?php echo esc_attr($row->mosaic_thumb_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    850850                                      </td>
    851851                                    </tr>
     
    857857                                          foreach ($border_styles as $key => $border_style) {
    858858                                            ?>
    859                                             <option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     859                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->mosaic_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    860860                                            <?php
    861861                                          }
     
    867867                                      <td class="spider_label"><label for="mosaic_thumb_border_color"><?php echo __('Border color:', 'photo-gallery'); ?> </label></td>
    868868                                      <td>
    869                                         <input type="text" name="mosaic_thumb_border_color" id="mosaic_thumb_border_color" value="<?php echo $row->mosaic_thumb_border_color; ?>" class="jscolor" />
     869                                        <input type="text" name="mosaic_thumb_border_color" id="mosaic_thumb_border_color" value="<?php echo esc_attr($row->mosaic_thumb_border_color); ?>" class="jscolor" />
    870870                                      </td>
    871871                                    </tr>
     
    873873                                      <td class="spider_label"><label for="mosaic_thumb_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
    874874                                      <td>
    875                                         <input type="text" name="mosaic_thumb_border_radius" id="mosaic_thumb_border_radius" value="<?php echo $row->mosaic_thumb_border_radius; ?>" class="spider_char_input" />
     875                                        <input type="text" name="mosaic_thumb_border_radius" id="mosaic_thumb_border_radius" value="<?php echo esc_attr($row->mosaic_thumb_border_radius); ?>" class="spider_char_input" />
    876876                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    877877                                      </td>
     
    884884                                              foreach ($thumbnail_hover_effects as $key => $hover_effect) {
    885885                                                ?>
    886                                                 <option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect, 'photo-gallery'); ?></option>
     886                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->mosaic_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($hover_effect, 'photo-gallery'); ?></option>
    887887                                                <?php
    888888                                              }
     
    894894                                          <td class="spider_label"><label for="mosaic_thumb_hover_effect_value"><?php echo __('Hover effect value:', 'photo-gallery'); ?> </label></td>
    895895                                          <td>
    896                                             <input type="text" name="mosaic_thumb_hover_effect_value" id="mosaic_thumb_hover_effect_value" value="<?php echo $row->mosaic_thumb_hover_effect_value; ?>" class="spider_char_input" />
     896                                            <input type="text" name="mosaic_thumb_hover_effect_value" id="mosaic_thumb_hover_effect_value" value="<?php echo esc_attr($row->mosaic_thumb_hover_effect_value); ?>" class="spider_char_input" />
    897897                                            <div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.', 'photo-gallery'); ?></div>
    898898                                          </td>
     
    920920                                      <td class="spider_label"><label for="mosaic_thumb_bg_color"><?php echo __('Thumbnail background color:', 'photo-gallery'); ?> </label></td>
    921921                                      <td>
    922                                         <input type="text" name="mosaic_thumb_bg_color" id="mosaic_thumb_bg_color" value="<?php echo $row->mosaic_thumb_bg_color; ?>" class="jscolor" />
     922                                        <input type="text" name="mosaic_thumb_bg_color" id="mosaic_thumb_bg_color" value="<?php echo esc_attr($row->mosaic_thumb_bg_color); ?>" class="jscolor" />
    923923                                      </td>
    924924                                    </tr>
     
    926926                    <td class="spider_label"><label for="mosaic_thumb_bg_transparency"><?php echo __('Thumbnail background transparency:', 'photo-gallery'); ?> </label></td>
    927927                    <td>
    928                       <input type="text" name="mosaic_thumb_bg_transparency" id="mosaic_thumb_bg_transparency" value="<?php echo $row->mosaic_thumb_bg_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     928                      <input type="text" name="mosaic_thumb_bg_transparency" id="mosaic_thumb_bg_transparency" value="<?php echo esc_attr($row->mosaic_thumb_bg_transparency); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    929929                      <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    930930                    </td>
     
    933933                                      <td class="spider_label"><label for="mosaic_thumb_transparent"><?php echo __('Transparency:', 'photo-gallery'); ?> </label></td>
    934934                                      <td>
    935                                         <input type="text" name="mosaic_thumb_transparent" id="mosaic_thumb_transparent" value="<?php echo $row->mosaic_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     935                                        <input type="text" name="mosaic_thumb_transparent" id="mosaic_thumb_transparent" value="<?php echo esc_attr($row->mosaic_thumb_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    936936                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    937937                                      </td>
     
    940940                                      <td class="spider_label"><label for="mosaic_thumbs_bg_color"><?php echo __('Full Background color:', 'photo-gallery'); ?> </label></td>
    941941                                      <td>
    942                                         <input type="text" name="mosaic_thumbs_bg_color" id="mosaic_thumbs_bg_color" value="<?php echo $row->mosaic_thumbs_bg_color; ?>" class="jscolor" />
     942                                        <input type="text" name="mosaic_thumbs_bg_color" id="mosaic_thumbs_bg_color" value="<?php echo esc_attr($row->mosaic_thumbs_bg_color); ?>" class="jscolor" />
    943943                                      </td>
    944944                                    </tr>
     
    946946                                      <td class="spider_label"><label for="mosaic_thumb_bg_transparent"><?php echo __('Background transparency:', 'photo-gallery'); ?> </label></td>
    947947                                      <td>
    948                                         <input type="text" name="mosaic_thumb_bg_transparent" id="mosaic_thumb_bg_transparent" value="<?php echo $row->mosaic_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     948                                        <input type="text" name="mosaic_thumb_bg_transparent" id="mosaic_thumb_bg_transparent" value="<?php echo esc_attr($row->mosaic_thumb_bg_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    949949                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    950950                                      </td>
     
    957957                                          foreach ($aligns as $key => $align) {
    958958                                            ?>
    959                                             <option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     959                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->mosaic_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    960960                                            <?php
    961961                                          }
     
    977977                                          <td class="spider_label"><label for="mosaic_thumb_title_font_size"><?php echo __('Title font size:', 'photo-gallery'); ?> </label></td>
    978978                                          <td>
    979                                             <input type="text" name="mosaic_thumb_title_font_size" id="mosaic_thumb_title_font_size" value="<?php echo $row->mosaic_thumb_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     979                                            <input type="text" name="mosaic_thumb_title_font_size" id="mosaic_thumb_title_font_size" value="<?php echo esc_attr($row->mosaic_thumb_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    980980                                          </td>
    981981                                        </tr>
     
    983983                                          <td class="spider_label"><label for="mosaic_thumb_title_font_color"><?php echo __('Title font color:', 'photo-gallery'); ?> </label></td>
    984984                                          <td>
    985                                             <input type="text" name="mosaic_thumb_title_font_color" id="mosaic_thumb_title_font_color" value="<?php echo $row->mosaic_thumb_title_font_color; ?>" class="jscolor" />
     985                                            <input type="text" name="mosaic_thumb_title_font_color" id="mosaic_thumb_title_font_color" value="<?php echo esc_attr($row->mosaic_thumb_title_font_color); ?>" class="jscolor" />
    986986                                          </td>
    987987                                        </tr>
     
    989989                      <td class="spider_label"><label for="mosaic_thumb_title_font_color_hover"><?php echo __('Title font color (Show on hover):', 'photo-gallery'); ?> </label></td>
    990990                      <td>
    991                         <input type="text" name="mosaic_thumb_title_font_color_hover" id="mosaic_thumb_title_font_color_hover" value="<?php echo $row->mosaic_thumb_title_font_color_hover; ?>" class="jscolor" />
     991                        <input type="text" name="mosaic_thumb_title_font_color_hover" id="mosaic_thumb_title_font_color_hover" value="<?php echo esc_attr($row->mosaic_thumb_title_font_color_hover); ?>" class="jscolor" />
    992992                      </td>
    993993                    </tr>
     
    10031003                                              foreach ($font_weights as $key => $font_weight) {
    10041004                                                ?>
    1005                                                 <option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     1005                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->mosaic_thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    10061006                                                <?php
    10071007                                              }
     
    10131013                                          <td class="spider_label"><label for="mosaic_thumb_title_shadow"><?php echo __('Title box shadow:', 'photo-gallery'); ?> </label></td>
    10141014                                          <td>
    1015                                             <input type="text" name="mosaic_thumb_title_shadow" id="mosaic_thumb_title_shadow" value="<?php echo $row->mosaic_thumb_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     1015                                            <input type="text" name="mosaic_thumb_title_shadow" id="mosaic_thumb_title_shadow" value="<?php echo esc_attr($row->mosaic_thumb_title_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    10161016                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    10171017                                          </td>
     
    10201020                                          <td class="spider_label"><label for="mosaic_thumb_title_margin"><?php echo __('Title margin:', 'photo-gallery'); ?> </label></td>
    10211021                                          <td>
    1022                                             <input type="text" name="mosaic_thumb_title_margin" id="mosaic_thumb_title_margin" value="<?php echo $row->mosaic_thumb_title_margin; ?>" class="spider_char_input" />
     1022                                            <input type="text" name="mosaic_thumb_title_margin" id="mosaic_thumb_title_margin" value="<?php echo esc_attr($row->mosaic_thumb_title_margin); ?>" class="spider_char_input" />
    10231023                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    10241024                                          </td>
     
    10271027                                          <td class="spider_label"><label for="mosaic_thumb_gal_title_font_size"><?php echo __('Gallery title/description font size:', 'photo-gallery'); ?> </label></td>
    10281028                                          <td>
    1029                                             <input type="text" name="mosaic_thumb_gal_title_font_size" id="mosaic_thumb_gal_title_font_size" value="<?php echo $row->mosaic_thumb_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1029                                            <input type="text" name="mosaic_thumb_gal_title_font_size" id="mosaic_thumb_gal_title_font_size" value="<?php echo esc_attr($row->mosaic_thumb_gal_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    10301030                                          </td>
    10311031                                        </tr>
     
    10331033                                          <td class="spider_label"><label for="mosaic_thumb_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
    10341034                                          <td>
    1035                                             <input type="text" name="mosaic_thumb_gal_title_font_color" id="mosaic_thumb_gal_title_font_color" value="<?php echo $row->mosaic_thumb_gal_title_font_color; ?>" class="jscolor" />
     1035                                            <input type="text" name="mosaic_thumb_gal_title_font_color" id="mosaic_thumb_gal_title_font_color" value="<?php echo esc_attr($row->mosaic_thumb_gal_title_font_color); ?>" class="jscolor" />
    10361036                                          </td>
    10371037                                        </tr>
     
    10471047                                              foreach ($font_weights as $key => $font_weight) {
    10481048                                                ?>
    1049                                                 <option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     1049                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->mosaic_thumb_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    10501050                                                <?php
    10511051                                              }
     
    10571057                                          <td class="spider_label"><label for="mosaic_thumb_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
    10581058                                          <td>
    1059                                             <input type="text" name="mosaic_thumb_gal_title_shadow" id="mosaic_thumb_gal_title_shadow" value="<?php echo $row->mosaic_thumb_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     1059                                            <input type="text" name="mosaic_thumb_gal_title_shadow" id="mosaic_thumb_gal_title_shadow" value="<?php echo esc_attr($row->mosaic_thumb_gal_title_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    10601060                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    10611061                                          </td>
     
    10641064                                          <td class="spider_label"><label for="mosaic_thumb_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
    10651065                                          <td>
    1066                                             <input type="text" name="mosaic_thumb_gal_title_margin" id="mosaic_thumb_gal_title_margin" value="<?php echo $row->mosaic_thumb_gal_title_margin; ?>" class="spider_char_input" />
     1066                                            <input type="text" name="mosaic_thumb_gal_title_margin" id="mosaic_thumb_gal_title_margin" value="<?php echo esc_attr($row->mosaic_thumb_gal_title_margin); ?>" class="spider_char_input" />
    10671067                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    10681068                                          </td>
     
    10751075                                              foreach ($aligns as $key => $align) {
    10761076                                                ?>
    1077                                                 <option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
     1077                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->mosaic_thumb_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    10781078                                                <?php
    10791079                                              }
     
    10991099                                      <td class="spider_label"><label for="slideshow_cont_bg_color"><?php echo __('Background color:', 'photo-gallery'); ?> </label></td>
    11001100                                      <td>
    1101                                         <input type="text" name="slideshow_cont_bg_color" id="slideshow_cont_bg_color" value="<?php echo $row->slideshow_cont_bg_color; ?>" class="jscolor"/>
     1101                                        <input type="text" name="slideshow_cont_bg_color" id="slideshow_cont_bg_color" value="<?php echo esc_attr($row->slideshow_cont_bg_color); ?>" class="jscolor"/>
    11021102                                      </td>
    11031103                                    </tr>
     
    11051105                                      <td class="spider_label"><label for="slideshow_rl_btn_size"><?php echo __('Right, left buttons size:', 'photo-gallery'); ?> </label></td>
    11061106                                      <td>
    1107                                         <input type="text" name="slideshow_rl_btn_size" id="slideshow_rl_btn_size" value="<?php echo $row->slideshow_rl_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1107                                        <input type="text" name="slideshow_rl_btn_size" id="slideshow_rl_btn_size" value="<?php echo esc_attr($row->slideshow_rl_btn_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    11081108                                      </td>
    11091109                                    </tr>
     
    11111111                                      <td class="spider_label"><label for="slideshow_play_pause_btn_size"><?php echo __('Play, pause buttons size:', 'photo-gallery'); ?> </label></td>
    11121112                                      <td>
    1113                                         <input type="text" name="slideshow_play_pause_btn_size" id="slideshow_play_pause_btn_size" value="<?php echo $row->slideshow_play_pause_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1113                                        <input type="text" name="slideshow_play_pause_btn_size" id="slideshow_play_pause_btn_size" value="<?php echo esc_attr($row->slideshow_play_pause_btn_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    11141114                                      </td>
    11151115                                    </tr>
     
    11171117                                      <td class="spider_label"><label for="slideshow_rl_btn_color"><?php echo __('Buttons color:', 'photo-gallery'); ?> </label></td>
    11181118                                      <td>
    1119                                         <input type="text" name="slideshow_rl_btn_color" id="slideshow_rl_btn_color" value="<?php echo $row->slideshow_rl_btn_color; ?>" class="jscolor"/>
     1119                                        <input type="text" name="slideshow_rl_btn_color" id="slideshow_rl_btn_color" value="<?php echo esc_attr($row->slideshow_rl_btn_color); ?>" class="jscolor"/>
    11201120                                      </td>
    11211121                                    </tr>
     
    11231123                                      <td class="spider_label"><label for="slideshow_close_btn_transparent"><?php echo __('Buttons transparency:', 'photo-gallery'); ?> </label></td>
    11241124                                      <td>
    1125                                         <input type="text" name="slideshow_close_btn_transparent" id="slideshow_close_btn_transparent" value="<?php echo $row->slideshow_close_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     1125                                        <input type="text" name="slideshow_close_btn_transparent" id="slideshow_close_btn_transparent" value="<?php echo esc_attr($row->slideshow_close_btn_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    11261126                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    11271127                                      </td>
     
    11301130                                      <td class="spider_label"><label for="slideshow_close_rl_btn_hover_color"><?php echo __('Buttons hover color:', 'photo-gallery'); ?> </label></td>
    11311131                                      <td>
    1132                                         <input type="text" name="slideshow_close_rl_btn_hover_color" id="slideshow_close_rl_btn_hover_color" value="<?php echo $row->slideshow_close_rl_btn_hover_color; ?>" class="jscolor"/>
     1132                                        <input type="text" name="slideshow_close_rl_btn_hover_color" id="slideshow_close_rl_btn_hover_color" value="<?php echo esc_attr($row->slideshow_close_rl_btn_hover_color); ?>" class="jscolor"/>
    11331133                                      </td>
    11341134                                    </tr>
     
    11361136                                      <td class="spider_label"><label for="slideshow_rl_btn_width"><?php echo __('Right, left buttons width:', 'photo-gallery'); ?> </label></td>
    11371137                                      <td>
    1138                                         <input type="text" name="slideshow_rl_btn_width" id="slideshow_rl_btn_width" value="<?php echo $row->slideshow_rl_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1138                                        <input type="text" name="slideshow_rl_btn_width" id="slideshow_rl_btn_width" value="<?php echo esc_attr($row->slideshow_rl_btn_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    11391139                                      </td>
    11401140                                    </tr>
     
    11421142                                      <td class="spider_label"><label for="slideshow_rl_btn_height"><?php echo __('Right, left buttons height:', 'photo-gallery'); ?> </label></td>
    11431143                                      <td>
    1144                                         <input type="text" name="slideshow_rl_btn_height" id="slideshow_rl_btn_height" value="<?php echo $row->slideshow_rl_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1144                                        <input type="text" name="slideshow_rl_btn_height" id="slideshow_rl_btn_height" value="<?php echo esc_attr($row->slideshow_rl_btn_height); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    11451145                                      </td>
    11461146                                    </tr>
     
    11481148                                      <td class="spider_label"><label for="slideshow_rl_btn_bg_color"><?php echo __('Right, left buttons background color:', 'photo-gallery'); ?> </label></td>
    11491149                                      <td>
    1150                                         <input type="text" name="slideshow_rl_btn_bg_color" id="slideshow_rl_btn_bg_color" value="<?php echo $row->slideshow_rl_btn_bg_color; ?>" class="jscolor"/>
     1150                                        <input type="text" name="slideshow_rl_btn_bg_color" id="slideshow_rl_btn_bg_color" value="<?php echo esc_attr($row->slideshow_rl_btn_bg_color); ?>" class="jscolor"/>
    11511151                                      </td>
    11521152                                    </tr>
     
    11541154                                      <td class="spider_label"><label for="slideshow_rl_btn_border_width"><?php echo __('Right, left buttons border width:', 'photo-gallery'); ?> </label></td>
    11551155                                      <td>
    1156                                         <input type="text" name="slideshow_rl_btn_border_width" id="slideshow_rl_btn_border_width" value="<?php echo $row->slideshow_rl_btn_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1156                                        <input type="text" name="slideshow_rl_btn_border_width" id="slideshow_rl_btn_border_width" value="<?php echo esc_attr($row->slideshow_rl_btn_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    11571157                                      </td>
    11581158                                    </tr>
     
    11641164                                          foreach ($border_styles as $key => $border_style) {
    11651165                                            ?>
    1166                                             <option value="<?php echo $key; ?>" <?php echo (($row->slideshow_rl_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     1166                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->slideshow_rl_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    11671167                                            <?php
    11681168                                          }
     
    11741174                                      <td class="spider_label"><label for="slideshow_rl_btn_border_color"><?php echo __('Right, left buttons border color:', 'photo-gallery'); ?> </label></td>
    11751175                                      <td>
    1176                                         <input type="text" name="slideshow_rl_btn_border_color" id="slideshow_rl_btn_border_color" value="<?php echo $row->slideshow_rl_btn_border_color; ?>" class="jscolor"/>
     1176                                        <input type="text" name="slideshow_rl_btn_border_color" id="slideshow_rl_btn_border_color" value="<?php echo esc_attr($row->slideshow_rl_btn_border_color); ?>" class="jscolor"/>
    11771177                                      </td>
    11781178                                    </tr>
     
    11801180                                      <td class="spider_label"><label for="slideshow_rl_btn_border_radius"><?php echo __('Right, left buttons border radius:', 'photo-gallery'); ?> </label></td>
    11811181                                      <td>
    1182                                         <input type="text" name="slideshow_rl_btn_border_radius" id="slideshow_rl_btn_border_radius" value="<?php echo $row->slideshow_rl_btn_border_radius; ?>" class="spider_char_input"/>
     1182                                        <input type="text" name="slideshow_rl_btn_border_radius" id="slideshow_rl_btn_border_radius" value="<?php echo esc_attr($row->slideshow_rl_btn_border_radius); ?>" class="spider_char_input"/>
    11831183                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    11841184                                      </td>
     
    11911191                                          foreach ($button_styles as $key => $button_style) {
    11921192                                            ?>
    1193                                             <option value="<?php echo $key; ?>" <?php echo (($row->slideshow_rl_btn_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($button_style, 'photo-gallery'); ?></option>
     1193                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->slideshow_rl_btn_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($button_style, 'photo-gallery'); ?></option>
    11941194                                            <?php
    11951195                                          }
     
    12011201                                      <td class="spider_label"><label for="slideshow_rl_btn_box_shadow"><?php echo __('Right, left buttons box shadow:', 'photo-gallery'); ?> </label></td>
    12021202                                      <td>
    1203                                         <input type="text" name="slideshow_rl_btn_box_shadow" id="slideshow_rl_btn_box_shadow" value="<?php echo $row->slideshow_rl_btn_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     1203                                        <input type="text" name="slideshow_rl_btn_box_shadow" id="slideshow_rl_btn_box_shadow" value="<?php echo esc_attr($row->slideshow_rl_btn_box_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    12041204                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    12051205                                      </td>
     
    12291229                                      <td class="spider_label"><label for="slideshow_filmstrip_thumb_margin"><?php echo __('Filmstrip margin:', 'photo-gallery'); ?> </label></td>
    12301230                                      <td>
    1231                                         <input type="text" name="slideshow_filmstrip_thumb_margin" id="slideshow_filmstrip_thumb_margin" value="<?php echo $row->slideshow_filmstrip_thumb_margin; ?>" class="spider_char_input"/>
     1231                                        <input type="text" name="slideshow_filmstrip_thumb_margin" id="slideshow_filmstrip_thumb_margin" value="<?php echo esc_attr($row->slideshow_filmstrip_thumb_margin); ?>" class="spider_char_input"/>
    12321232                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    12331233                                      </td>
     
    12361236                                      <td class="spider_label"><label for="slideshow_filmstrip_thumb_border_width"><?php echo __('Filmstrip border width:', 'photo-gallery'); ?> </label></td>
    12371237                                      <td>
    1238                                         <input type="text" name="slideshow_filmstrip_thumb_border_width" id="slideshow_filmstrip_thumb_border_width" value="<?php echo $row->slideshow_filmstrip_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1238                                        <input type="text" name="slideshow_filmstrip_thumb_border_width" id="slideshow_filmstrip_thumb_border_width" value="<?php echo esc_attr($row->slideshow_filmstrip_thumb_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    12391239                                      </td>
    12401240                                    </tr>
     
    12471247                                          foreach ($border_styles as $key => $border_style) {
    12481248                                            ?>
    1249                                             <option value="<?php echo $key; ?>" <?php echo (($row->slideshow_filmstrip_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     1249                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->slideshow_filmstrip_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    12501250                                            <?php
    12511251                                          }
     
    12571257                                      <td class="spider_label"><label for="slideshow_filmstrip_thumb_border_color"><?php echo __('Filmstrip border color:', 'photo-gallery'); ?> </label></td>
    12581258                                      <td>
    1259                                         <input type="text" name="slideshow_filmstrip_thumb_border_color" id="slideshow_filmstrip_thumb_border_color" value="<?php echo $row->slideshow_filmstrip_thumb_border_color; ?>" class="jscolor"/>
     1259                                        <input type="text" name="slideshow_filmstrip_thumb_border_color" id="slideshow_filmstrip_thumb_border_color" value="<?php echo esc_attr($row->slideshow_filmstrip_thumb_border_color); ?>" class="jscolor"/>
    12601260                                      </td>
    12611261                                    </tr>
     
    12631263                                      <td class="spider_label"><label for="slideshow_filmstrip_thumb_border_radius"><?php echo __('Filmstrip border radius:', 'photo-gallery'); ?> </label></td>
    12641264                                      <td>
    1265                                         <input type="text" name="slideshow_filmstrip_thumb_border_radius" id="slideshow_filmstrip_thumb_border_radius" value="<?php echo $row->slideshow_filmstrip_thumb_border_radius; ?>" class="spider_char_input"/>
     1265                                        <input type="text" name="slideshow_filmstrip_thumb_border_radius" id="slideshow_filmstrip_thumb_border_radius" value="<?php echo esc_attr($row->slideshow_filmstrip_thumb_border_radius); ?>" class="spider_char_input"/>
    12661266                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    12671267                                      </td>
     
    12701270                                      <td class="spider_label"><label for="slideshow_filmstrip_thumb_active_border_width"><?php echo __('Filmstrip active border width:', 'photo-gallery'); ?> </label></td>
    12711271                                      <td>
    1272                                         <input type="text" name="slideshow_filmstrip_thumb_active_border_width" id="slideshow_filmstrip_thumb_active_border_width" value="<?php echo $row->slideshow_filmstrip_thumb_active_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/>px
     1272                                        <input type="text" name="slideshow_filmstrip_thumb_active_border_width" id="slideshow_filmstrip_thumb_active_border_width" value="<?php echo esc_attr($row->slideshow_filmstrip_thumb_active_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/>px
    12731273                                      </td>
    12741274                                    </tr>
     
    12761276                                      <td class="spider_label"><label for="slideshow_filmstrip_thumb_active_border_color"><?php echo __('Filmstrip active border color:', 'photo-gallery'); ?> </label></td>
    12771277                                      <td>
    1278                                         <input type="text" name="slideshow_filmstrip_thumb_active_border_color" id="slideshow_filmstrip_thumb_active_border_color" value="<?php echo $row->slideshow_filmstrip_thumb_active_border_color; ?>" class="jscolor"/>
     1278                                        <input type="text" name="slideshow_filmstrip_thumb_active_border_color" id="slideshow_filmstrip_thumb_active_border_color" value="<?php echo esc_attr($row->slideshow_filmstrip_thumb_active_border_color); ?>" class="jscolor"/>
    12791279                                      </td>
    12801280                                    </tr>
     
    12821282                                      <td class="spider_label"><label for="slideshow_filmstrip_thumb_deactive_transparent"><?php echo __('Filmstrip deactive transparency: ', 'photo-gallery'); ?></label></td>
    12831283                                      <td>
    1284                                         <input type="text" name="slideshow_filmstrip_thumb_deactive_transparent" id="slideshow_filmstrip_thumb_deactive_transparent" value="<?php echo $row->slideshow_filmstrip_thumb_deactive_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     1284                                        <input type="text" name="slideshow_filmstrip_thumb_deactive_transparent" id="slideshow_filmstrip_thumb_deactive_transparent" value="<?php echo esc_attr($row->slideshow_filmstrip_thumb_deactive_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    12851285                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    12861286                                      </td>
     
    12891289                                      <td class="spider_label"><label for="slideshow_filmstrip_rl_bg_color"><?php echo __('Filmstrip right, left buttons background color: ', 'photo-gallery'); ?></label></td>
    12901290                                      <td>
    1291                                         <input type="text" name="slideshow_filmstrip_rl_bg_color" id="slideshow_filmstrip_rl_bg_color" value="<?php echo $row->slideshow_filmstrip_rl_bg_color; ?>" class="jscolor"/>
     1291                                        <input type="text" name="slideshow_filmstrip_rl_bg_color" id="slideshow_filmstrip_rl_bg_color" value="<?php echo esc_attr($row->slideshow_filmstrip_rl_bg_color); ?>" class="jscolor"/>
    12921292                                      </td>
    12931293                                    </tr>
     
    12951295                                      <td class="spider_label"><label for="slideshow_filmstrip_rl_btn_color"><?php echo __('Filmstrip right, left buttons color:', 'photo-gallery'); ?> </label></td>
    12961296                                      <td>
    1297                                         <input type="text" name="slideshow_filmstrip_rl_btn_color" id="slideshow_filmstrip_rl_btn_color" value="<?php echo $row->slideshow_filmstrip_rl_btn_color; ?>" class="jscolor"/>
     1297                                        <input type="text" name="slideshow_filmstrip_rl_btn_color" id="slideshow_filmstrip_rl_btn_color" value="<?php echo esc_attr($row->slideshow_filmstrip_rl_btn_color); ?>" class="jscolor"/>
    12981298                                      </td>
    12991299                                    </tr>
     
    13011301                                      <td class="spider_label"><label for="slideshow_filmstrip_rl_btn_size"><?php echo __('Filmstrip right, left buttons size:', 'photo-gallery'); ?> </label></td>
    13021302                                      <td>
    1303                                         <input type="text" name="slideshow_filmstrip_rl_btn_size" id="slideshow_filmstrip_rl_btn_size" value="<?php echo $row->slideshow_filmstrip_rl_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
     1303                                        <input type="text" name="slideshow_filmstrip_rl_btn_size" id="slideshow_filmstrip_rl_btn_size" value="<?php echo esc_attr($row->slideshow_filmstrip_rl_btn_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
    13041304                                      </td>
    13051305                                    </tr>
     
    13071307                                      <td class="spider_label"><label for="slideshow_dots_width"><?php echo __('Slider bullet width: ', 'photo-gallery'); ?></label></td>
    13081308                                      <td>
    1309                                         <input type="text" name="slideshow_dots_width" id="slideshow_dots_width" value="<?php echo $row->slideshow_dots_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1309                                        <input type="text" name="slideshow_dots_width" id="slideshow_dots_width" value="<?php echo esc_attr($row->slideshow_dots_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    13101310                                      </td>
    13111311                                    </tr>
     
    13131313                                      <td class="spider_label"><label for="slideshow_dots_height"><?php echo __('Slider bullet height:', 'photo-gallery'); ?> </label></td>
    13141314                                      <td>
    1315                                         <input type="text" name="slideshow_dots_height" id="slideshow_dots_height" value="<?php echo $row->slideshow_dots_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1315                                        <input type="text" name="slideshow_dots_height" id="slideshow_dots_height" value="<?php echo esc_attr($row->slideshow_dots_height); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    13161316                                      </td>
    13171317                                    </tr>
     
    13191319                                      <td class="spider_label"><label for="slideshow_dots_border_radius"><?php echo __('Slider bullet border radius: ', 'photo-gallery'); ?></label></td>
    13201320                                      <td>
    1321                                         <input type="text" name="slideshow_dots_border_radius" id="slideshow_dots_border_radius" value="<?php echo $row->slideshow_dots_border_radius; ?>" class="spider_char_input"/>
     1321                                        <input type="text" name="slideshow_dots_border_radius" id="slideshow_dots_border_radius" value="<?php echo esc_attr($row->slideshow_dots_border_radius); ?>" class="spider_char_input"/>
    13221322                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    13231323                                      </td>
     
    13261326                                      <td class="spider_label"><label for="slideshow_dots_background_color"><?php echo __('Slider bullet background color:', 'photo-gallery'); ?> </label></td>
    13271327                                      <td>
    1328                                         <input type="text" name="slideshow_dots_background_color" id="slideshow_dots_background_color" value="<?php echo $row->slideshow_dots_background_color; ?>" class="jscolor"/>
     1328                                        <input type="text" name="slideshow_dots_background_color" id="slideshow_dots_background_color" value="<?php echo esc_attr($row->slideshow_dots_background_color); ?>" class="jscolor"/>
    13291329                                      </td>
    13301330                                    </tr>
     
    13321332                                      <td class="spider_label"><label for="slideshow_dots_margin"><?php echo __('Slider bullet margin:', 'photo-gallery'); ?> </label></td>
    13331333                                      <td>
    1334                                         <input type="text" name="slideshow_dots_margin" id="slideshow_dots_margin" value="<?php echo $row->slideshow_dots_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1334                                        <input type="text" name="slideshow_dots_margin" id="slideshow_dots_margin" value="<?php echo esc_attr($row->slideshow_dots_margin); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    13351335                                      </td>
    13361336                                    </tr>
     
    13381338                                      <td class="spider_label"><label for="slideshow_dots_active_background_color"><?php echo __('Slider bullet active background color: ', 'photo-gallery'); ?></label></td>
    13391339                                      <td>
    1340                                         <input type="text" name="slideshow_dots_active_background_color" id="slideshow_dots_active_background_color" value="<?php echo $row->slideshow_dots_active_background_color; ?>" class="jscolor"/>
     1340                                        <input type="text" name="slideshow_dots_active_background_color" id="slideshow_dots_active_background_color" value="<?php echo esc_attr($row->slideshow_dots_active_background_color); ?>" class="jscolor"/>
    13411341                                      </td>
    13421342                                    </tr>
     
    13441344                                      <td class="spider_label"><label for="slideshow_dots_active_border_width"><?php echo __('Slider bullet active border width:', 'photo-gallery'); ?> </label></td>
    13451345                                      <td>
    1346                                         <input type="text" name="slideshow_dots_active_border_width" id="slideshow_dots_active_border_width" value="<?php echo $row->slideshow_dots_active_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1346                                        <input type="text" name="slideshow_dots_active_border_width" id="slideshow_dots_active_border_width" value="<?php echo esc_attr($row->slideshow_dots_active_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    13471347                                      </td>
    13481348                                    </tr>
     
    13501350                                      <td class="spider_label"><label for="slideshow_dots_active_border_color"><?php echo __('Slider bullet active border color: ', 'photo-gallery'); ?></label></td>
    13511351                                      <td>
    1352                                         <input type="text" name="slideshow_dots_active_border_color" id="slideshow_dots_active_border_color" value="<?php echo $row->slideshow_dots_active_border_color; ?>" class="jscolor"/>
     1352                                        <input type="text" name="slideshow_dots_active_border_color" id="slideshow_dots_active_border_color" value="<?php echo esc_attr($row->slideshow_dots_active_border_color); ?>" class="jscolor"/>
    13531353                                      </td>
    13541354                                    </tr>
     
    13661366                                      <td class="spider_label"><label for="slideshow_title_background_color"><?php echo __('Title background color: ', 'photo-gallery'); ?></label></td>
    13671367                                      <td>
    1368                                         <input type="text" name="slideshow_title_background_color" id="slideshow_title_background_color" value="<?php echo $row->slideshow_title_background_color; ?>" class="jscolor"/>
     1368                                        <input type="text" name="slideshow_title_background_color" id="slideshow_title_background_color" value="<?php echo esc_attr($row->slideshow_title_background_color); ?>" class="jscolor"/>
    13691369                                      </td>
    13701370                                    </tr>
     
    13721372                                      <td class="spider_label"><label for="slideshow_title_opacity"><?php echo __('Title transparency: ', 'photo-gallery'); ?></label></td>
    13731373                                      <td>
    1374                                         <input type="text" name="slideshow_title_opacity" id="slideshow_title_opacity" value="<?php echo $row->slideshow_title_opacity; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     1374                                        <input type="text" name="slideshow_title_opacity" id="slideshow_title_opacity" value="<?php echo esc_attr($row->slideshow_title_opacity); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    13751375                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    13761376                                      </td>
     
    13791379                                      <td class="spider_label"><label for="slideshow_title_border_radius"><?php echo __('Title border radius:', 'photo-gallery'); ?> </label></td>
    13801380                                      <td>
    1381                                         <input type="text" name="slideshow_title_border_radius" id="slideshow_title_border_radius" value="<?php echo $row->slideshow_title_border_radius; ?>" class="spider_char_input"/>
     1381                                        <input type="text" name="slideshow_title_border_radius" id="slideshow_title_border_radius" value="<?php echo esc_attr($row->slideshow_title_border_radius); ?>" class="spider_char_input"/>
    13821382                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    13831383                                      </td>
     
    13861386                                      <td class="spider_label"><label for="slideshow_title_padding"><?php echo __('Title padding: ', 'photo-gallery'); ?></label></td>
    13871387                                      <td>
    1388                                         <input type="text" name="slideshow_title_padding" id="slideshow_title_padding" value="<?php echo $row->slideshow_title_padding; ?>" class="spider_char_input"/>
     1388                                        <input type="text" name="slideshow_title_padding" id="slideshow_title_padding" value="<?php echo esc_attr($row->slideshow_title_padding); ?>" class="spider_char_input"/>
    13891389                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    13901390                                      </td>
     
    13931393                                      <td class="spider_label"><label for="slideshow_title_font_size"><?php echo __('Title font size: ', 'photo-gallery'); ?></label></td>
    13941394                                      <td>
    1395                                         <input type="text" name="slideshow_title_font_size" id="slideshow_title_font_size" value="<?php echo $row->slideshow_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
     1395                                        <input type="text" name="slideshow_title_font_size" id="slideshow_title_font_size" value="<?php echo esc_attr($row->slideshow_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
    13961396                                      </td>
    13971397                                    </tr>
     
    13991399                                      <td class="spider_label"><label for="slideshow_title_color"><?php echo __('Title color: ', 'photo-gallery'); ?></label></td>
    14001400                                      <td>
    1401                                         <input type="text" name="slideshow_title_color" id="slideshow_title_color" value="<?php echo $row->slideshow_title_color; ?>" class="jscolor"/>
     1401                                        <input type="text" name="slideshow_title_color" id="slideshow_title_color" value="<?php echo esc_attr($row->slideshow_title_color); ?>" class="jscolor"/>
    14021402                                      </td>
    14031403                                    </tr>
     
    14091409                                      <td class="spider_label"><label for="slideshow_description_background_color"><?php echo __('Description background color:', 'photo-gallery'); ?> </label></td>
    14101410                                      <td>
    1411                                         <input type="text" name="slideshow_description_background_color" id="slideshow_description_background_color" value="<?php echo $row->slideshow_description_background_color; ?>" class="jscolor"/>
     1411                                        <input type="text" name="slideshow_description_background_color" id="slideshow_description_background_color" value="<?php echo esc_attr($row->slideshow_description_background_color); ?>" class="jscolor"/>
    14121412                                      </td>
    14131413                                    </tr>
     
    14151415                                      <td class="spider_label"><label for="slideshow_description_opacity"><?php echo __('Description transparency:', 'photo-gallery'); ?> </label></td>
    14161416                                      <td>
    1417                                         <input type="text" name="slideshow_description_opacity" id="slideshow_description_opacity" value="<?php echo $row->slideshow_description_opacity; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     1417                                        <input type="text" name="slideshow_description_opacity" id="slideshow_description_opacity" value="<?php echo esc_attr($row->slideshow_description_opacity); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    14181418                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    14191419                                      </td>
     
    14221422                                      <td class="spider_label"><label for="slideshow_description_border_radius"><?php echo __('Description border radius:', 'photo-gallery'); ?> </label></td>
    14231423                                      <td>
    1424                                         <input type="text" name="slideshow_description_border_radius" id="slideshow_description_border_radius" value="<?php echo $row->slideshow_description_border_radius; ?>" class="spider_char_input"/>
     1424                                        <input type="text" name="slideshow_description_border_radius" id="slideshow_description_border_radius" value="<?php echo esc_attr($row->slideshow_description_border_radius); ?>" class="spider_char_input"/>
    14251425                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    14261426                                      </td>
     
    14291429                                      <td class="spider_label"><label for="slideshow_description_padding"><?php echo __('Description padding:', 'photo-gallery'); ?> </label></td>
    14301430                                      <td>
    1431                                         <input type="text" name="slideshow_description_padding" id="slideshow_description_padding" value="<?php echo $row->slideshow_description_padding; ?>" class="spider_char_input"/>
     1431                                        <input type="text" name="slideshow_description_padding" id="slideshow_description_padding" value="<?php echo esc_attr($row->slideshow_description_padding); ?>" class="spider_char_input"/>
    14321432                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    14331433                                      </td>
     
    14361436                                      <td class="spider_label"><label for="slideshow_description_font_size"><?php echo __('Description font size:', 'photo-gallery'); ?> </label></td>
    14371437                                      <td>
    1438                                         <input type="text" name="slideshow_description_font_size" id="slideshow_description_font_size" value="<?php echo $row->slideshow_description_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1438                                        <input type="text" name="slideshow_description_font_size" id="slideshow_description_font_size" value="<?php echo esc_attr($row->slideshow_description_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    14391439                                      </td>
    14401440                                    </tr>
     
    14421442                                      <td class="spider_label"><label for="slideshow_description_color"><?php echo __('Description color:', 'photo-gallery'); ?> </label></td>
    14431443                                      <td>
    1444                                         <input type="text" name="slideshow_description_color" id="slideshow_description_color" value="<?php echo $row->slideshow_description_color; ?>" class="jscolor"/>
     1444                                        <input type="text" name="slideshow_description_color" id="slideshow_description_color" value="<?php echo esc_attr($row->slideshow_description_color); ?>" class="jscolor"/>
    14451445                                      </td>
    14461446                                    </tr>
     
    14661466                                      <td class="spider_label"><label for="image_browser_full_padding"><?php echo __('Full padding:', 'photo-gallery'); ?> </label></td>
    14671467                                      <td>
    1468                                         <input type="text" name="image_browser_full_padding" id="image_browser_full_padding" value="<?php echo $row->image_browser_full_padding; ?>" class="spider_char_input"/>
     1468                                        <input type="text" name="image_browser_full_padding" id="image_browser_full_padding" value="<?php echo esc_attr($row->image_browser_full_padding); ?>" class="spider_char_input"/>
    14691469                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    14701470                                      </td>
     
    14731473                                      <td class="spider_label"><label for="image_browser_full_bg_color"><?php echo __('Full background color:', 'photo-gallery'); ?> </label></td>
    14741474                                      <td>
    1475                                         <input type="text" name="image_browser_full_bg_color" id="image_browser_full_bg_color" value="<?php echo $row->image_browser_full_bg_color; ?>" class="jscolor" />
     1475                                        <input type="text" name="image_browser_full_bg_color" id="image_browser_full_bg_color" value="<?php echo esc_attr($row->image_browser_full_bg_color); ?>" class="jscolor" />
    14761476                                      </td>
    14771477                                    </tr>
     
    14791479                                      <td class="spider_label"><label for="image_browser_full_transparent"><?php echo __('Full background transparency:', 'photo-gallery'); ?> </label></td>
    14801480                                      <td>
    1481                                         <input type="text" name="image_browser_full_transparent" id="image_browser_full_transparent" value="<?php echo $row->image_browser_full_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     1481                                        <input type="text" name="image_browser_full_transparent" id="image_browser_full_transparent" value="<?php echo esc_attr($row->image_browser_full_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    14821482                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    14831483                                      </td>
     
    14861486                                      <td class="spider_label"><label for="image_browser_full_border_radius"><?php echo __('Full border radius:', 'photo-gallery'); ?> </label></td>
    14871487                                      <td>
    1488                                         <input type="text" name="image_browser_full_border_radius" id="image_browser_full_border_radius" value="<?php echo $row->image_browser_full_border_radius; ?>" class="spider_char_input" />
     1488                                        <input type="text" name="image_browser_full_border_radius" id="image_browser_full_border_radius" value="<?php echo esc_attr($row->image_browser_full_border_radius); ?>" class="spider_char_input" />
    14891489                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    14901490                                      </td>
     
    14931493                                      <td class="spider_label"><label for="image_browser_full_border_width"><?php echo __('Full border width:', 'photo-gallery'); ?> </label></td>
    14941494                                      <td>
    1495                                         <input type="text" name="image_browser_full_border_width" id="image_browser_full_border_width" value="<?php echo $row->image_browser_full_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1495                                        <input type="text" name="image_browser_full_border_width" id="image_browser_full_border_width" value="<?php echo esc_attr($row->image_browser_full_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    14961496                                      </td>
    14971497                                    </tr>
     
    15031503                                          foreach ($border_styles as $key => $border_style) {
    15041504                                            ?>
    1505                                             <option value="<?php echo $key; ?>" <?php echo (($row->image_browser_full_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     1505                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->image_browser_full_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    15061506                                            <?php
    15071507                                          }
     
    15131513                                      <td class="spider_label"><label for="image_browser_full_border_color"><?php echo __('Full border color:', 'photo-gallery'); ?> </label></td>
    15141514                                      <td>
    1515                                         <input type="text" name="image_browser_full_border_color" id="image_browser_full_border_color" value="<?php echo $row->image_browser_full_border_color; ?>" class="jscolor" />
     1515                                        <input type="text" name="image_browser_full_border_color" id="image_browser_full_border_color" value="<?php echo esc_attr($row->image_browser_full_border_color); ?>" class="jscolor" />
    15161516                                      </td>
    15171517                                    </tr>
     
    15331533                                              foreach ($aligns as $key => $align) {
    15341534                                                ?>
    1535                                                 <option value="<?php echo $key; ?>" <?php echo (($row->image_browser_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     1535                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->image_browser_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    15361536                                                <?php
    15371537                                              }
     
    15431543                                          <td class="spider_label"><label for="image_browser_margin"><?php echo __('Margin:', 'photo-gallery'); ?> </label></td>
    15441544                                          <td>
    1545                                             <input type="text" name="image_browser_margin" id="image_browser_margin" value="<?php echo $row->image_browser_margin; ?>" class="spider_char_input" />
     1545                                            <input type="text" name="image_browser_margin" id="image_browser_margin" value="<?php echo esc_attr($row->image_browser_margin); ?>" class="spider_char_input" />
    15461546                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    15471547                                          </td>
     
    15501550                                          <td class="spider_label"><label for="image_browser_padding"><?php echo __('Padding:', 'photo-gallery'); ?> </label></td>
    15511551                                          <td>
    1552                                             <input type="text" name="image_browser_padding" id="image_browser_padding" value="<?php echo $row->image_browser_padding; ?>" class="spider_char_input" />
     1552                                            <input type="text" name="image_browser_padding" id="image_browser_padding" value="<?php echo esc_attr($row->image_browser_padding); ?>" class="spider_char_input" />
    15531553                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    15541554                                          </td>
     
    15571557                                          <td class="spider_label"><label for="image_browser_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
    15581558                                          <td>
    1559                                             <input type="text" name="image_browser_border_width" id="image_browser_border_width" value="<?php echo $row->image_browser_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1559                                            <input type="text" name="image_browser_border_width" id="image_browser_border_width" value="<?php echo esc_attr($row->image_browser_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    15601560                                          </td>
    15611561                                        </tr>
     
    15671567                                              foreach ($border_styles as $key => $border_style) {
    15681568                                                ?>
    1569                                                 <option value="<?php echo $key; ?>" <?php echo (($row->image_browser_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     1569                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->image_browser_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    15701570                                                <?php
    15711571                                              }
     
    15771577                                          <td class="spider_label"><label for="image_browser_border_color"><?php echo __('Border color:', 'photo-gallery'); ?> </label></td>
    15781578                                          <td>
    1579                                             <input type="text" name="image_browser_border_color" id="image_browser_border_color" value="<?php echo $row->image_browser_border_color; ?>" class="jscolor" />
     1579                                            <input type="text" name="image_browser_border_color" id="image_browser_border_color" value="<?php echo esc_attr($row->image_browser_border_color); ?>" class="jscolor" />
    15801580                                          </td>
    15811581                                        </tr>
     
    15831583                                          <td class="spider_label"><label for="image_browser_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
    15841584                                          <td>
    1585                                             <input type="text" name="image_browser_border_radius" id="image_browser_border_radius" value="<?php echo $row->image_browser_border_radius; ?>" class="spider_char_input" />
     1585                                            <input type="text" name="image_browser_border_radius" id="image_browser_border_radius" value="<?php echo esc_attr($row->image_browser_border_radius); ?>" class="spider_char_input" />
    15861586                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    15871587                                          </td>
     
    15901590                                          <td class="spider_label"><label for="image_browser_bg_color"><?php echo __('Background color:', 'photo-gallery'); ?> </label></td>
    15911591                                          <td>
    1592                                             <input type="text" name="image_browser_bg_color" id="image_browser_bg_color" value="<?php echo $row->image_browser_bg_color; ?>" class="jscolor" />
     1592                                            <input type="text" name="image_browser_bg_color" id="image_browser_bg_color" value="<?php echo esc_attr($row->image_browser_bg_color); ?>" class="jscolor" />
    15931593                                          </td>
    15941594                                        </tr>
     
    15961596                                          <td class="spider_label"><label for="image_browser_transparent"><?php echo __('Background transparency:', 'photo-gallery'); ?> </label></td>
    15971597                                          <td>
    1598                                             <input type="text" name="image_browser_transparent" id="image_browser_transparent" value="<?php echo $row->image_browser_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     1598                                            <input type="text" name="image_browser_transparent" id="image_browser_transparent" value="<?php echo esc_attr($row->image_browser_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    15991599                                            <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    16001600                                          </td>
     
    16031603                                          <td class="spider_label"><label for="image_browser_box_shadow"><?php echo __('Box shadow:', 'photo-gallery'); ?> </label></td>
    16041604                                          <td>
    1605                                             <input type="text" name="image_browser_box_shadow" id="image_browser_box_shadow" value="<?php echo $row->image_browser_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     1605                                            <input type="text" name="image_browser_box_shadow" id="image_browser_box_shadow" value="<?php echo esc_attr($row->image_browser_box_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    16061606                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    16071607                                          </td>
     
    16331633                                          foreach ($aligns as $key => $align) {
    16341634                                            ?>
    1635                                             <option value="<?php echo $key; ?>" <?php echo (($row->image_browser_image_description_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     1635                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->image_browser_image_description_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    16361636                                            <?php
    16371637                                          }
     
    16431643                                      <td class="spider_label"><label for="image_browser_img_font_size"><?php echo __('Font size:', 'photo-gallery'); ?> </label></td>
    16441644                                      <td>
    1645                                         <input type="text" name="image_browser_img_font_size" id="image_browser_img_font_size" value="<?php echo $row->image_browser_img_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1645                                        <input type="text" name="image_browser_img_font_size" id="image_browser_img_font_size" value="<?php echo esc_attr($row->image_browser_img_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    16461646                                      </td>
    16471647                                    </tr>
     
    16491649                                      <td class="spider_label"><label for="image_browser_img_font_color"><?php echo __('Font color:', 'photo-gallery'); ?> </label></td>
    16501650                                      <td>
    1651                                         <input type="text" name="image_browser_img_font_color" id="image_browser_img_font_color" value="<?php echo $row->image_browser_img_font_color; ?>" class="jscolor" />
     1651                                        <input type="text" name="image_browser_img_font_color" id="image_browser_img_font_color" value="<?php echo esc_attr($row->image_browser_img_font_color); ?>" class="jscolor" />
    16521652                                      </td>
    16531653                                    </tr>
     
    16591659                                      <td class="spider_label"><label for="image_browser_image_description_margin"><?php echo __('Description margin:', 'photo-gallery'); ?> </label></td>
    16601660                                      <td>
    1661                                         <input type="text" name="image_browser_image_description_margin" id="image_browser_image_description_margin" value="<?php echo $row->image_browser_image_description_margin; ?>" class="spider_char_input" />
     1661                                        <input type="text" name="image_browser_image_description_margin" id="image_browser_image_description_margin" value="<?php echo esc_attr($row->image_browser_image_description_margin); ?>" class="spider_char_input" />
    16621662                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    16631663                                      </td>
     
    16661666                                      <td class="spider_label"><label for="image_browser_image_description_padding"><?php echo __('Description padding:', 'photo-gallery'); ?> </label></td>
    16671667                                      <td>
    1668                                         <input type="text" name="image_browser_image_description_padding" id="image_browser_image_description_padding" value="<?php echo $row->image_browser_image_description_padding; ?>" class="spider_char_input" />
     1668                                        <input type="text" name="image_browser_image_description_padding" id="image_browser_image_description_padding" value="<?php echo esc_attr($row->image_browser_image_description_padding); ?>" class="spider_char_input" />
    16691669                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    16701670                                      </td>
     
    16731673                                      <td class="spider_label"><label for="image_browser_image_description_border_width"><?php echo __('Description border width:', 'photo-gallery'); ?> </label></td>
    16741674                                      <td>
    1675                                         <input type="text" name="image_browser_image_description_border_width" id="image_browser_image_description_border_width" value="<?php echo $row->image_browser_image_description_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
     1675                                        <input type="text" name="image_browser_image_description_border_width" id="image_browser_image_description_border_width" value="<?php echo esc_attr($row->image_browser_image_description_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
    16761676                                      </td>
    16771677                                    </tr>
     
    16831683                                          foreach ($border_styles as $key => $border_style) {
    16841684                                            ?>
    1685                                             <option value="<?php echo $key; ?>" <?php echo (($row->image_browser_image_description_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     1685                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->image_browser_image_description_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    16861686                                            <?php
    16871687                                          }
     
    16931693                                      <td class="spider_label"><label for="image_browser_image_description_border_color"><?php echo __('Description border color:', 'photo-gallery'); ?> </label></td>
    16941694                                      <td>
    1695                                         <input type="text" name="image_browser_image_description_border_color" id="image_browser_image_description_border_color" value="<?php echo $row->image_browser_image_description_border_color; ?>" class="jscolor" />
     1695                                        <input type="text" name="image_browser_image_description_border_color" id="image_browser_image_description_border_color" value="<?php echo esc_attr($row->image_browser_image_description_border_color); ?>" class="jscolor" />
    16961696                                      </td>
    16971697                                    </tr>
     
    16991699                                      <td class="spider_label"><label for="image_browser_image_description_border_radius"><?php echo __('Description border radius:', 'photo-gallery'); ?> </label></td>
    17001700                                      <td>
    1701                                         <input type="text" name="image_browser_image_description_border_radius" id="image_browser_image_description_border_radius" value="<?php echo $row->image_browser_image_description_border_radius; ?>" class="spider_char_input" />
     1701                                        <input type="text" name="image_browser_image_description_border_radius" id="image_browser_image_description_border_radius" value="<?php echo esc_attr($row->image_browser_image_description_border_radius); ?>" class="spider_char_input" />
    17021702                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    17031703                                      </td>
     
    17061706                                      <td class="spider_label"><label for="image_browser_image_description_bg_color"><?php echo __('Description background color:', 'photo-gallery'); ?> </label></td>
    17071707                                      <td>
    1708                                         <input type="text" name="image_browser_image_description_bg_color" id="image_browser_image_description_bg_color" value="<?php echo $row->image_browser_image_description_bg_color; ?>" class="jscolor" />
     1708                                        <input type="text" name="image_browser_image_description_bg_color" id="image_browser_image_description_bg_color" value="<?php echo esc_attr($row->image_browser_image_description_bg_color); ?>" class="jscolor" />
    17091709                                      </td>
    17101710                                    </tr>
     
    17131713                                      <td>
    17141714                                        <input type="text" name="image_browser_gal_title_font_size" id="image_browser_gal_title_font_size" value="<?php echo
    1715                                         $row->image_browser_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1715                                        esc_attr($row->image_browser_gal_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    17161716                                      </td>
    17171717                                    </tr>
     
    17191719                                      <td class="spider_label"><label for="image_browser_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
    17201720                                      <td>
    1721                                         <input type="text" name="image_browser_gal_title_font_color" id="image_browser_gal_title_font_color" value="<?php echo $row->image_browser_gal_title_font_color; ?>" class="jscolor" />
     1721                                        <input type="text" name="image_browser_gal_title_font_color" id="image_browser_gal_title_font_color" value="<?php echo esc_attr($row->image_browser_gal_title_font_color); ?>" class="jscolor" />
    17221722                                      </td>
    17231723                                    </tr>
     
    17331733                                          foreach ($font_weights as $key => $font_weight) {
    17341734                                            ?>
    1735                                             <option value="<?php echo $key; ?>" <?php echo (($row->image_browser_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     1735                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->image_browser_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    17361736                                            <?php
    17371737                                          }
     
    17431743                                      <td class="spider_label"><label for="image_browser_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
    17441744                                      <td>
    1745                                         <input type="text" name="image_browser_gal_title_shadow" id="image_browser_gal_title_shadow" value="<?php echo $row->image_browser_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     1745                                        <input type="text" name="image_browser_gal_title_shadow" id="image_browser_gal_title_shadow" value="<?php echo esc_attr($row->image_browser_gal_title_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    17461746                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    17471747                                      </td>
     
    17501750                                      <td class="spider_label"><label for="image_browser_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
    17511751                                      <td>
    1752                                         <input type="text" name="image_browser_gal_title_margin" id="image_browser_gal_title_margin" value="<?php echo $row->image_browser_gal_title_margin; ?>" class="spider_char_input" />
     1752                                        <input type="text" name="image_browser_gal_title_margin" id="image_browser_gal_title_margin" value="<?php echo esc_attr($row->image_browser_gal_title_margin); ?>" class="spider_char_input" />
    17531753                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    17541754                                      </td>
     
    17611761                                          foreach ($aligns as $key => $align) {
    17621762                                            ?>
    1763                                             <option value="<?php echo $key; ?>" <?php echo (($row->image_browser_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
     1763                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->image_browser_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    17641764                                            <?php
    17651765                                          }
     
    17851785                      <td class="spider_label"><label for="album_compact_thumb_margin"><?php _e('Distance between pictures:', 'photo-gallery'); ?> </label></td>
    17861786                      <td>
    1787                         <input type="text" name="album_compact_thumb_margin" id="album_compact_thumb_margin" value="<?php echo $row->album_compact_thumb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1787                        <input type="text" name="album_compact_thumb_margin" id="album_compact_thumb_margin" value="<?php echo esc_attr($row->album_compact_thumb_margin); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    17881788                      </td>
    17891789                    </tr>
     
    18011801                                          <td class="spider_label"><label for="album_compact_thumb_padding"><?php echo __('Padding:', 'photo-gallery'); ?> </label></td>
    18021802                                          <td>
    1803                                             <input type="text" name="album_compact_thumb_padding" id="album_compact_thumb_padding" value="<?php echo $row->album_compact_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1803                                            <input type="text" name="album_compact_thumb_padding" id="album_compact_thumb_padding" value="<?php echo esc_attr($row->album_compact_thumb_padding); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    18041804                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    18051805                                          </td>
     
    18081808                                          <td class="spider_label"><label for="album_compact_thumb_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
    18091809                                          <td>
    1810                                             <input type="text" name="album_compact_thumb_border_width" id="album_compact_thumb_border_width" value="<?php echo $row->album_compact_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1810                                            <input type="text" name="album_compact_thumb_border_width" id="album_compact_thumb_border_width" value="<?php echo esc_attr($row->album_compact_thumb_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    18111811                                          </td>
    18121812                                        </tr>
     
    18181818                                              foreach ($border_styles as $key => $border_style) {
    18191819                                                ?>
    1820                                                 <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     1820                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_compact_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    18211821                                                <?php
    18221822                                              }
     
    18281828                                          <td class="spider_label"><label for="album_compact_thumb_border_color"><?php echo __('Border color:', 'photo-gallery'); ?> </label></td>
    18291829                                          <td>
    1830                                             <input type="text" name="album_compact_thumb_border_color" id="album_compact_thumb_border_color" value="<?php echo $row->album_compact_thumb_border_color; ?>" class="jscolor" />
     1830                                            <input type="text" name="album_compact_thumb_border_color" id="album_compact_thumb_border_color" value="<?php echo esc_attr($row->album_compact_thumb_border_color); ?>" class="jscolor" />
    18311831                                          </td>
    18321832                                        </tr>
     
    18341834                                          <td class="spider_label"><label for="album_compact_thumb_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
    18351835                                          <td>
    1836                                             <input type="text" name="album_compact_thumb_border_radius" id="album_compact_thumb_border_radius" value="<?php echo $row->album_compact_thumb_border_radius; ?>" class="spider_char_input" />
     1836                                            <input type="text" name="album_compact_thumb_border_radius" id="album_compact_thumb_border_radius" value="<?php echo esc_attr($row->album_compact_thumb_border_radius); ?>" class="spider_char_input" />
    18371837                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    18381838                                          </td>
     
    18411841                                          <td class="spider_label"><label for="album_compact_thumb_box_shadow"><?php echo __('Shadow:', 'photo-gallery'); ?> </label></td>
    18421842                                          <td>
    1843                                             <input type="text" name="album_compact_thumb_box_shadow" id="album_compact_thumb_box_shadow" value="<?php echo $row->album_compact_thumb_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     1843                                            <input type="text" name="album_compact_thumb_box_shadow" id="album_compact_thumb_box_shadow" value="<?php echo esc_attr($row->album_compact_thumb_box_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    18441844                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    18451845                                          </td>
     
    18521852                                              foreach ($thumbnail_hover_effects as $key => $hover_effect) {
    18531853                                                ?>
    1854                                                 <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect, 'photo-gallery'); ?></option>
     1854                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_compact_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($hover_effect, 'photo-gallery'); ?></option>
    18551855                                                <?php
    18561856                                              }
     
    18621862                                          <td class="spider_label"><label for="album_compact_thumb_hover_effect_value"><?php echo __('Hover effect value:', 'photo-gallery'); ?> </label></td>
    18631863                                          <td>
    1864                                             <input type="text" name="album_compact_thumb_hover_effect_value" id="album_compact_thumb_hover_effect_value" value="<?php echo $row->album_compact_thumb_hover_effect_value; ?>" class="spider_char_input" />
     1864                                            <input type="text" name="album_compact_thumb_hover_effect_value" id="album_compact_thumb_hover_effect_value" value="<?php echo esc_attr($row->album_compact_thumb_hover_effect_value); ?>" class="spider_char_input" />
    18651865                                            <div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.', 'photo-gallery'); ?></div>
    18661866                                          </td>
     
    18881888                                      <td class="spider_label"><label for="album_compact_thumb_bg_color"><?php echo __('Thumbnail background color:', 'photo-gallery'); ?> </label></td>
    18891889                                      <td>
    1890                                         <input type="text" name="album_compact_thumb_bg_color" id="album_compact_thumb_bg_color" value="<?php echo $row->album_compact_thumb_bg_color; ?>" class="jscolor" />
     1890                                        <input type="text" name="album_compact_thumb_bg_color" id="album_compact_thumb_bg_color" value="<?php echo esc_attr($row->album_compact_thumb_bg_color); ?>" class="jscolor" />
    18911891                                      </td>
    18921892                                    </tr>
     
    18941894                    <td class="spider_label"><label for="album_compact_thumb_bg_transparency"><?php echo __('Thumbnail background transparency:', 'photo-gallery'); ?> </label></td>
    18951895                    <td>
    1896                       <input type="text" name="album_compact_thumb_bg_transparency" id="album_compact_thumb_bg_transparency" value="<?php echo $row->album_compact_thumb_bg_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     1896                      <input type="text" name="album_compact_thumb_bg_transparency" id="album_compact_thumb_bg_transparency" value="<?php echo esc_attr($row->album_compact_thumb_bg_transparency); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    18971897                      <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    18981898                    </td>
     
    19011901                                      <td class="spider_label"><label for="album_compact_thumb_transparent"><?php echo __('Thumbnail transparency:', 'photo-gallery'); ?> </label></td>
    19021902                                      <td>
    1903                                         <input type="text" name="album_compact_thumb_transparent" id="album_compact_thumb_transparent" value="<?php echo $row->album_compact_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     1903                                        <input type="text" name="album_compact_thumb_transparent" id="album_compact_thumb_transparent" value="<?php echo esc_attr($row->album_compact_thumb_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    19041904                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    19051905                                      </td>
     
    19081908                                      <td class="spider_label"><label for="album_compact_thumbs_bg_color"><?php echo __('Full background color:', 'photo-gallery'); ?> </label></td>
    19091909                                      <td>
    1910                                         <input type="text" name="album_compact_thumbs_bg_color" id="album_compact_thumbs_bg_color" value="<?php echo $row->album_compact_thumbs_bg_color; ?>" class="jscolor" />
     1910                                        <input type="text" name="album_compact_thumbs_bg_color" id="album_compact_thumbs_bg_color" value="<?php echo esc_attr($row->album_compact_thumbs_bg_color); ?>" class="jscolor" />
    19111911                                      </td>
    19121912                                    </tr>
     
    19141914                                      <td class="spider_label"><label for="album_compact_thumb_bg_transparent"><?php echo __('Full background transparency:', 'photo-gallery'); ?> </label></td>
    19151915                                      <td>
    1916                                         <input type="text" name="album_compact_thumb_bg_transparent" id="album_compact_thumb_bg_transparent" value="<?php echo $row->album_compact_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     1916                                        <input type="text" name="album_compact_thumb_bg_transparent" id="album_compact_thumb_bg_transparent" value="<?php echo esc_attr($row->album_compact_thumb_bg_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    19171917                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    19181918                                      </td>
     
    19251925                                          foreach ($aligns as $key => $align) {
    19261926                                            ?>
    1927                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     1927                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_compact_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    19281928                                            <?php
    19291929                                          }
     
    19541954                                      <td class="spider_label"><label for="album_compact_title_font_size"><?php echo __('Title font size:', 'photo-gallery'); ?> </label></td>
    19551955                                      <td>
    1956                                         <input type="text" name="album_compact_title_font_size" id="album_compact_title_font_size" value="<?php echo $row->album_compact_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     1956                                        <input type="text" name="album_compact_title_font_size" id="album_compact_title_font_size" value="<?php echo esc_attr($row->album_compact_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    19571957                                      </td>
    19581958                                    </tr>
     
    19601960                                      <td class="spider_label"><label for="album_compact_title_font_color"><?php echo __('Title font color:', 'photo-gallery'); ?> </label></td>
    19611961                                      <td>
    1962                                         <input type="text" name="album_compact_title_font_color" id="album_compact_title_font_color" value="<?php echo $row->album_compact_title_font_color; ?>" class="jscolor" />
     1962                                        <input type="text" name="album_compact_title_font_color" id="album_compact_title_font_color" value="<?php echo esc_attr($row->album_compact_title_font_color); ?>" class="jscolor" />
    19631963                                      </td>
    19641964                                    </tr>
     
    19661966                    <td class="spider_label"><label for="album_compact_title_font_color_hover"><?php echo __('Title font color (Show on hover):', 'photo-gallery'); ?> </label></td>
    19671967                    <td>
    1968                       <input type="text" name="album_compact_title_font_color_hover" id="album_compact_title_font_color_hover" value="<?php echo $row->album_compact_title_font_color_hover; ?>" class="jscolor" />
     1968                      <input type="text" name="album_compact_title_font_color_hover" id="album_compact_title_font_color_hover" value="<?php echo esc_attr($row->album_compact_title_font_color_hover); ?>" class="jscolor" />
    19691969                    </td>
    19701970                  </tr>
     
    19801980                                          foreach ($font_weights as $key => $font_weight) {
    19811981                                            ?>
    1982                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     1982                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_compact_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    19831983                                            <?php
    19841984                                          }
     
    19901990                                      <td class="spider_label"><label for="album_compact_title_shadow"><?php echo __('Title box shadow:', 'photo-gallery'); ?> </label></td>
    19911991                                      <td>
    1992                                         <input type="text" name="album_compact_title_shadow" id="album_compact_title_shadow" value="<?php echo $row->album_compact_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     1992                                        <input type="text" name="album_compact_title_shadow" id="album_compact_title_shadow" value="<?php echo esc_attr($row->album_compact_title_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    19931993                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    19941994                                      </td>
     
    19971997                                      <td class="spider_label"><label for="album_compact_title_margin"><?php echo __('Title margin:', 'photo-gallery'); ?> </label></td>
    19981998                                      <td>
    1999                                         <input type="text" name="album_compact_title_margin" id="album_compact_title_margin" value="<?php echo $row->album_compact_title_margin; ?>" class="spider_char_input" />
     1999                                        <input type="text" name="album_compact_title_margin" id="album_compact_title_margin" value="<?php echo esc_attr($row->album_compact_title_margin); ?>" class="spider_char_input" />
    20002000                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    20012001                                      </td>
     
    20042004                                      <td class="spider_label"><label for="album_compact_back_font_size"><?php echo __('Back Font size:', 'photo-gallery'); ?> </label></td>
    20052005                                      <td>
    2006                                         <input type="text" name="album_compact_back_font_size" id="album_compact_back_font_size" value="<?php echo $row->album_compact_back_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2006                                        <input type="text" name="album_compact_back_font_size" id="album_compact_back_font_size" value="<?php echo esc_attr($row->album_compact_back_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    20072007                                      </td>
    20082008                                    </tr>
     
    20102010                                      <td class="spider_label"><label for="album_compact_back_font_color"><?php echo __('Back Font color:', 'photo-gallery'); ?> </label></td>
    20112011                                      <td>
    2012                                         <input type="text" name="album_compact_back_font_color" id="album_compact_back_font_color" value="<?php echo $row->album_compact_back_font_color; ?>" class="jscolor" />
     2012                                        <input type="text" name="album_compact_back_font_color" id="album_compact_back_font_color" value="<?php echo esc_attr($row->album_compact_back_font_color); ?>" class="jscolor" />
    20132013                                      </td>
    20142014                                    </tr>
     
    20242024                                          foreach ($font_weights as $key => $font_weight) {
    20252025                                            ?>
    2026                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     2026                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_compact_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    20272027                                            <?php
    20282028                                          }
     
    20342034                                      <td class="spider_label"><label for="album_compact_back_padding"><?php echo __('Back padding:', 'photo-gallery'); ?> </label></td>
    20352035                                      <td>
    2036                                         <input type="text" name="album_compact_back_padding" id="album_compact_back_padding" value="<?php echo $row->album_compact_back_padding; ?>" class="spider_char_input" />
     2036                                        <input type="text" name="album_compact_back_padding" id="album_compact_back_padding" value="<?php echo esc_attr($row->album_compact_back_padding); ?>" class="spider_char_input" />
    20372037                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    20382038                                      </td>
     
    20412041                                      <td class="spider_label"><label for="album_compact_gal_title_font_size"><?php echo __('Gallery title/description font size:', 'photo-gallery'); ?> </label></td>
    20422042                                      <td>
    2043                                         <input type="text" name="album_compact_gal_title_font_size" id="album_compact_gal_title_font_size" value="<?php echo $row->album_compact_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2043                                        <input type="text" name="album_compact_gal_title_font_size" id="album_compact_gal_title_font_size" value="<?php echo esc_attr($row->album_compact_gal_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    20442044                                      </td>
    20452045                                    </tr>
     
    20472047                                      <td class="spider_label"><label for="album_compact_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
    20482048                                      <td>
    2049                                         <input type="text" name="album_compact_gal_title_font_color" id="album_compact_gal_title_font_color" value="<?php echo $row->album_compact_gal_title_font_color; ?>" class="jscolor" />
     2049                                        <input type="text" name="album_compact_gal_title_font_color" id="album_compact_gal_title_font_color" value="<?php echo esc_attr($row->album_compact_gal_title_font_color); ?>" class="jscolor" />
    20502050                                      </td>
    20512051                                    </tr>
     
    20612061                                          foreach ($font_weights as $key => $font_weight) {
    20622062                                            ?>
    2063                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     2063                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_compact_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    20642064                                            <?php
    20652065                                          }
     
    20712071                                      <td class="spider_label"><label for="album_compact_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
    20722072                                      <td>
    2073                                         <input type="text" name="album_compact_gal_title_shadow" id="album_compact_gal_title_shadow" value="<?php echo $row->album_compact_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     2073                                        <input type="text" name="album_compact_gal_title_shadow" id="album_compact_gal_title_shadow" value="<?php echo esc_attr($row->album_compact_gal_title_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    20742074                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    20752075                                      </td>
     
    20782078                                      <td class="spider_label"><label for="album_compact_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
    20792079                                      <td>
    2080                                         <input type="text" name="album_compact_gal_title_margin" id="album_compact_gal_title_margin" value="<?php echo $row->album_compact_gal_title_margin; ?>" class="spider_char_input" />
     2080                                        <input type="text" name="album_compact_gal_title_margin" id="album_compact_gal_title_margin" value="<?php echo esc_attr($row->album_compact_gal_title_margin); ?>" class="spider_char_input" />
    20812081                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    20822082                                      </td>
     
    20892089                                          foreach ($aligns as $key => $align) {
    20902090                                            ?>
    2091                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
     2091                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_compact_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    20922092                                            <?php
    20932093                                          }
     
    21132113                                      <td class="spider_label"><label for="album_extended_thumb_margin"><?php echo __('Thumbnail margin:', 'photo-gallery'); ?> </label></td>
    21142114                                      <td>
    2115                                         <input type="text" name="album_extended_thumb_margin" id="album_extended_thumb_margin" value="<?php echo $row->album_extended_thumb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2115                                        <input type="text" name="album_extended_thumb_margin" id="album_extended_thumb_margin" value="<?php echo esc_attr($row->album_extended_thumb_margin); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    21162116                                      </td>
    21172117                                    </tr>
     
    21192119                                      <td class="spider_label"><label for="album_extended_thumb_padding"><?php echo __('Thumbnail padding:', 'photo-gallery'); ?> </label></td>
    21202120                                      <td>
    2121                                         <input type="text" name="album_extended_thumb_padding" id="album_extended_thumb_padding" value="<?php echo $row->album_extended_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2121                                        <input type="text" name="album_extended_thumb_padding" id="album_extended_thumb_padding" value="<?php echo esc_attr($row->album_extended_thumb_padding); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    21222122                                      </td>
    21232123                                    </tr>
     
    21252125                                      <td class="spider_label"><label for="album_extended_thumb_border_width"><?php echo __('Thumbnail border width:', 'photo-gallery'); ?> </label></td>
    21262126                                      <td>
    2127                                         <input type="text" name="album_extended_thumb_border_width" id="album_extended_thumb_border_width" value="<?php echo $row->album_extended_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2127                                        <input type="text" name="album_extended_thumb_border_width" id="album_extended_thumb_border_width" value="<?php echo esc_attr($row->album_extended_thumb_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    21282128                                      </td>
    21292129                                    </tr>
     
    21352135                                          foreach ($border_styles as $key => $border_style) {
    21362136                                            ?>
    2137                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     2137                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_extended_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    21382138                                            <?php
    21392139                                          }
     
    21452145                                      <td class="spider_label"><label for="album_extended_thumb_border_color"><?php echo __('Thumbnail border color:', 'photo-gallery'); ?> </label></td>
    21462146                                      <td>
    2147                                         <input type="text" name="album_extended_thumb_border_color" id="album_extended_thumb_border_color" value="<?php echo $row->album_extended_thumb_border_color; ?>" class="jscolor"/>
     2147                                        <input type="text" name="album_extended_thumb_border_color" id="album_extended_thumb_border_color" value="<?php echo esc_attr($row->album_extended_thumb_border_color); ?>" class="jscolor"/>
    21482148                                      </td>
    21492149                                    </tr>
     
    21512151                                      <td class="spider_label"><label for="album_extended_thumb_border_radius"><?php echo __('Thumbnail border radius:', 'photo-gallery'); ?> </label></td>
    21522152                                      <td>
    2153                                         <input type="text" name="album_extended_thumb_border_radius" id="album_extended_thumb_border_radius" value="<?php echo $row->album_extended_thumb_border_radius; ?>" class="spider_char_input"/>
     2153                                        <input type="text" name="album_extended_thumb_border_radius" id="album_extended_thumb_border_radius" value="<?php echo esc_attr($row->album_extended_thumb_border_radius); ?>" class="spider_char_input"/>
    21542154                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    21552155                                      </td>
     
    21582158                                      <td class="spider_label"><label for="album_extended_thumb_box_shadow"><?php echo __('Thumbnail box shadow:', 'photo-gallery'); ?> </label></td>
    21592159                                      <td>
    2160                                         <input type="text" name="album_extended_thumb_box_shadow" id="album_extended_thumb_box_shadow" value="<?php echo $row->album_extended_thumb_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     2160                                        <input type="text" name="album_extended_thumb_box_shadow" id="album_extended_thumb_box_shadow" value="<?php echo esc_attr($row->album_extended_thumb_box_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    21612161                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    21622162                                      </td>
     
    21782178                                          foreach ($aligns as $key => $align) {
    21792179                                            ?>
    2180                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     2180                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_extended_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    21812181                                            <?php
    21822182                                          }
     
    21882188                                      <td class="spider_label"><label for="album_extended_thumb_transparent"><?php echo __('Thumbnail transparency:', 'photo-gallery'); ?> </label></td>
    21892189                                      <td>
    2190                                         <input type="text" name="album_extended_thumb_transparent" id="album_extended_thumb_transparent" value="<?php echo $row->album_extended_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     2190                                        <input type="text" name="album_extended_thumb_transparent" id="album_extended_thumb_transparent" value="<?php echo esc_attr($row->album_extended_thumb_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    21912191                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    21922192                                      </td>
     
    21992199                                          foreach ($thumbnail_hover_effects as $key => $hover_effect) {
    22002200                                            ?>
    2201                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect, 'photo-gallery'); ?></option>
     2201                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_extended_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($hover_effect, 'photo-gallery'); ?></option>
    22022202                                            <?php
    22032203                                          }
     
    22092209                                      <td class="spider_label"><label for="album_extended_thumb_hover_effect_value"><?php echo __('Hover effect value:', 'photo-gallery'); ?> </label></td>
    22102210                                      <td>
    2211                                         <input type="text" name="album_extended_thumb_hover_effect_value" id="album_extended_thumb_hover_effect_value" value="<?php echo $row->album_extended_thumb_hover_effect_value; ?>" class="spider_char_input"/>
     2211                                        <input type="text" name="album_extended_thumb_hover_effect_value" id="album_extended_thumb_hover_effect_value" value="<?php echo esc_attr($row->album_extended_thumb_hover_effect_value); ?>" class="spider_char_input"/>
    22122212                                        <div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.', 'photo-gallery'); ?></div>
    22132213                                      </td>
     
    22162216                                      <td class="spider_label"><label for="album_extended_thumb_bg_color"><?php echo __('Thumbnail background color:', 'photo-gallery'); ?> </label></td>
    22172217                                      <td>
    2218                                         <input type="text" name="album_extended_thumb_bg_color" id="album_extended_thumb_bg_color" value="<?php echo $row->album_extended_thumb_bg_color; ?>" class="jscolor"/>
     2218                                        <input type="text" name="album_extended_thumb_bg_color" id="album_extended_thumb_bg_color" value="<?php echo esc_attr($row->album_extended_thumb_bg_color); ?>" class="jscolor"/>
    22192219                                      </td>
    22202220                                    </tr>
     
    22222222                                      <td class="spider_label"><label for="album_extended_thumbs_bg_color"><?php echo __('Thumbnails background color:', 'photo-gallery'); ?> </label></td>
    22232223                                      <td>
    2224                                         <input type="text" name="album_extended_thumbs_bg_color" id="album_extended_thumbs_bg_color" value="<?php echo $row->album_extended_thumbs_bg_color; ?>" class="jscolor"/>
     2224                                        <input type="text" name="album_extended_thumbs_bg_color" id="album_extended_thumbs_bg_color" value="<?php echo esc_attr($row->album_extended_thumbs_bg_color); ?>" class="jscolor"/>
    22252225                                      </td>
    22262226                                    </tr>
     
    22282228                                      <td class="spider_label"><label for="album_extended_thumb_bg_transparent"><?php echo __('Thumbnail background transparency:', 'photo-gallery'); ?> </label></td>
    22292229                                      <td>
    2230                                         <input type="text" name="album_extended_thumb_bg_transparent" id="album_extended_thumb_bg_transparent" value="<?php echo $row->album_extended_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     2230                                        <input type="text" name="album_extended_thumb_bg_transparent" id="album_extended_thumb_bg_transparent" value="<?php echo esc_attr($row->album_extended_thumb_bg_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    22312231                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    22322232                                      </td>
     
    22462246                                          <td class="spider_label"><label for="album_extended_thumb_div_padding"><?php echo __('Thumbnail div padding:', 'photo-gallery'); ?> </label></td>
    22472247                                          <td>
    2248                                             <input type="text" name="album_extended_thumb_div_padding" id="album_extended_thumb_div_padding" value="<?php echo $row->album_extended_thumb_div_padding; ?>" class="spider_char_input"/>
     2248                                            <input type="text" name="album_extended_thumb_div_padding" id="album_extended_thumb_div_padding" value="<?php echo esc_attr($row->album_extended_thumb_div_padding); ?>" class="spider_char_input"/>
    22492249                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    22502250                                          </td>
     
    22532253                                          <td class="spider_label"><label for="album_extended_thumb_div_bg_color"><?php echo __('Thumbnail div background color:', 'photo-gallery'); ?> </label></td>
    22542254                                          <td>
    2255                                             <input type="text" name="album_extended_thumb_div_bg_color" id="album_extended_thumb_div_bg_color" value="<?php echo $row->album_extended_thumb_div_bg_color; ?>" class="jscolor"/>
     2255                                            <input type="text" name="album_extended_thumb_div_bg_color" id="album_extended_thumb_div_bg_color" value="<?php echo esc_attr($row->album_extended_thumb_div_bg_color); ?>" class="jscolor"/>
    22562256                                          </td>
    22572257                                        </tr>
     
    22602260                                          </td>
    22612261                                          <td>
    2262                                             <input type="text" name="album_extended_thumb_div_border_width" id="album_extended_thumb_div_border_width" value="<?php echo $row->album_extended_thumb_div_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2262                                            <input type="text" name="album_extended_thumb_div_border_width" id="album_extended_thumb_div_border_width" value="<?php echo esc_attr($row->album_extended_thumb_div_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    22632263                                          </td>
    22642264                                        </tr>
     
    22702270                                              foreach ($border_styles as $key => $border_style) {
    22712271                                                ?>
    2272                                                 <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_div_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     2272                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_extended_thumb_div_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    22732273                                                <?php
    22742274                                              }
     
    22802280                                          <td class="spider_label"><label for="album_extended_thumb_div_border_color"><?php echo __('Thumbnail div border color:', 'photo-gallery'); ?> </label></td>
    22812281                                          <td>
    2282                                             <input type="text" name="album_extended_thumb_div_border_color" id="album_extended_thumb_div_border_color" value="<?php echo $row->album_extended_thumb_div_border_color; ?>" class="jscolor"/>
     2282                                            <input type="text" name="album_extended_thumb_div_border_color" id="album_extended_thumb_div_border_color" value="<?php echo esc_attr($row->album_extended_thumb_div_border_color); ?>" class="jscolor"/>
    22832283                                          </td>
    22842284                                        </tr>
     
    22862286                                          <td class="spider_label"><label for="album_extended_thumb_div_border_radius"><?php echo __('Thumbnail div border radius:', 'photo-gallery'); ?> </label></td>
    22872287                                          <td>
    2288                                             <input type="text" name="album_extended_thumb_div_border_radius" id="album_extended_thumb_div_border_radius" value="<?php echo $row->album_extended_thumb_div_border_radius; ?>" class="spider_char_input"/>
     2288                                            <input type="text" name="album_extended_thumb_div_border_radius" id="album_extended_thumb_div_border_radius" value="<?php echo esc_attr($row->album_extended_thumb_div_border_radius); ?>" class="spider_char_input"/>
    22892289                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    22902290                                          </td>
     
    22932293                                          <td class="spider_label"><label for="album_extended_div_margin"><?php echo __('Margin:', 'photo-gallery'); ?> </label></td>
    22942294                                          <td>
    2295                                             <input type="text" name="album_extended_div_margin" id="album_extended_div_margin" value="<?php echo $row->album_extended_div_margin; ?>" class="spider_char_input"/>
     2295                                            <input type="text" name="album_extended_div_margin" id="album_extended_div_margin" value="<?php echo esc_attr($row->album_extended_div_margin); ?>" class="spider_char_input"/>
    22962296                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    22972297                                          </td>
     
    23002300                                          <td class="spider_label"><label for="album_extended_div_padding"><?php echo __('Padding:', 'photo-gallery'); ?> </label></td>
    23012301                                          <td>
    2302                                             <input type="text" name="album_extended_div_padding" id="album_extended_div_padding" value="<?php echo $row->album_extended_div_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2302                                            <input type="text" name="album_extended_div_padding" id="album_extended_div_padding" value="<?php echo esc_attr($row->album_extended_div_padding); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    23032303                                          </td>
    23042304                                        </tr>
     
    23062306                                          <td class="spider_label"><label for="album_extended_div_bg_color"><?php echo __('Background color:', 'photo-gallery'); ?> </label></td>
    23072307                                          <td>
    2308                                             <input type="text" name="album_extended_div_bg_color" id="album_extended_div_bg_color" value="<?php echo $row->album_extended_div_bg_color; ?>" class="jscolor"/>
     2308                                            <input type="text" name="album_extended_div_bg_color" id="album_extended_div_bg_color" value="<?php echo esc_attr($row->album_extended_div_bg_color); ?>" class="jscolor"/>
    23092309                                          </td>
    23102310                                        </tr>
     
    23122312                                          <td class="spider_label"><label for="album_extended_div_bg_transparent"><?php echo __('Background transparency:', 'photo-gallery'); ?> </label></td>
    23132313                                          <td>
    2314                                             <input type="text" name="album_extended_div_bg_transparent" id="album_extended_div_bg_transparent" value="<?php echo $row->album_extended_div_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     2314                                            <input type="text" name="album_extended_div_bg_transparent" id="album_extended_div_bg_transparent" value="<?php echo esc_attr($row->album_extended_div_bg_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    23152315                                            <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    23162316                                          </td>
     
    23192319                                          <td class="spider_label"><label for="album_extended_div_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
    23202320                                          <td>
    2321                                             <input type="text" name="album_extended_div_border_radius" id="album_extended_div_border_radius" value="<?php echo $row->album_extended_div_border_radius; ?>" class="spider_char_input"/>
     2321                                            <input type="text" name="album_extended_div_border_radius" id="album_extended_div_border_radius" value="<?php echo esc_attr($row->album_extended_div_border_radius); ?>" class="spider_char_input"/>
    23222322                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    23232323                                          </td>
     
    23262326                                          <td class="spider_label"><label for="album_extended_div_separator_width"><?php echo __('Separator width:', 'photo-gallery'); ?> </label></td>
    23272327                                          <td>
    2328                                             <input type="text" name="album_extended_div_separator_width" id="album_extended_div_separator_width" value="<?php echo $row->album_extended_div_separator_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2328                                            <input type="text" name="album_extended_div_separator_width" id="album_extended_div_separator_width" value="<?php echo esc_attr($row->album_extended_div_separator_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    23292329                                          </td>
    23302330                                        </tr>
     
    23362336                                              foreach ($border_styles as $key => $border_style) {
    23372337                                                ?>
    2338                                                 <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_div_separator_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     2338                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_extended_div_separator_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    23392339                                                <?php
    23402340                                              }
     
    23462346                                          <td class="spider_label"><label for="album_extended_div_separator_color"><?php echo __('Separator color:', 'photo-gallery'); ?> </label></td>
    23472347                                          <td>
    2348                                             <input type="text" name="album_extended_div_separator_color" id="album_extended_div_separator_color" value="<?php echo $row->album_extended_div_separator_color; ?>" class="jscolor"/>
     2348                                            <input type="text" name="album_extended_div_separator_color" id="album_extended_div_separator_color" value="<?php echo esc_attr($row->album_extended_div_separator_color); ?>" class="jscolor"/>
    23492349                                          </td>
    23502350                                        </tr>
     
    23522352                                          <td class="spider_label"><label for="album_extended_back_padding"><?php echo __('Back padding:', 'photo-gallery'); ?> </label></td>
    23532353                                          <td>
    2354                                             <input type="text" name="album_extended_back_padding" id="album_extended_back_padding" value="<?php echo $row->album_extended_back_padding; ?>" class="spider_char_input" />
     2354                                            <input type="text" name="album_extended_back_padding" id="album_extended_back_padding" value="<?php echo esc_attr($row->album_extended_back_padding); ?>" class="spider_char_input" />
    23552355                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    23562356                                          </td>
     
    23592359                                          <td class="spider_label"><label for="album_extended_back_font_size"><?php echo __('Back font size:', 'photo-gallery'); ?> </label></td>
    23602360                                          <td>
    2361                                             <input type="text" name="album_extended_back_font_size" id="album_extended_back_font_size" value="<?php echo $row->album_extended_back_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2361                                            <input type="text" name="album_extended_back_font_size" id="album_extended_back_font_size" value="<?php echo esc_attr($row->album_extended_back_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    23622362                                          </td>
    23632363                                        </tr>
     
    23652365                                          <td class="spider_label"><label for="album_extended_back_font_color"><?php echo __('Back font color:', 'photo-gallery'); ?> </label></td>
    23662366                                          <td>
    2367                                             <input type="text" name="album_extended_back_font_color" id="album_extended_back_font_color" value="<?php echo $row->album_extended_back_font_color; ?>" class="jscolor"/>
     2367                                            <input type="text" name="album_extended_back_font_color" id="album_extended_back_font_color" value="<?php echo esc_attr($row->album_extended_back_font_color); ?>" class="jscolor"/>
    23682368                                          </td>
    23692369                                        </tr>
     
    23792379                                              foreach ($font_weights as $key => $font_weight) {
    23802380                                                ?>
    2381                                                 <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     2381                                                <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_extended_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    23822382                                                <?php
    23832383                                              }
     
    24032403                      foreach ( array('top', 'center', 'bottom') as $val ) {
    24042404                        ?>
    2405                         <option value="<?php echo $val; ?>" <?php echo (($row->album_extended_title_desc_alignment == $val) ? 'selected="selected"' : ''); ?>><?php echo ucfirst( __($val, 'photo-gallery') ); ?></option>
     2405                        <option value="<?php echo esc_attr($val); ?>" <?php echo (($row->album_extended_title_desc_alignment == $val) ? 'selected="selected"' : ''); ?>><?php echo ucfirst( esc_html__($val, 'photo-gallery') ); ?></option>
    24062406                        <?php
    24072407                      }
     
    24132413                                  <td class="spider_label"><label for="album_extended_text_div_padding"><?php echo __('Text div padding:', 'photo-gallery'); ?> </label></td>
    24142414                                  <td>
    2415                                     <input type="text" name="album_extended_text_div_padding" id="album_extended_text_div_padding" value="<?php echo $row->album_extended_text_div_padding; ?>" class="spider_char_input" />
     2415                                    <input type="text" name="album_extended_text_div_padding" id="album_extended_text_div_padding" value="<?php echo esc_attr($row->album_extended_text_div_padding); ?>" class="spider_char_input" />
    24162416                                    <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    24172417                                  </td>
     
    24202420                                  <td class="spider_label"><label for="album_extended_text_div_border_width"><?php echo __('Text div border width:', 'photo-gallery'); ?> </label></td>
    24212421                                  <td>
    2422                                     <input type="text" name="album_extended_text_div_border_width" id="album_extended_text_div_border_width" value="<?php echo $row->album_extended_text_div_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2422                                    <input type="text" name="album_extended_text_div_border_width" id="album_extended_text_div_border_width" value="<?php echo esc_attr($row->album_extended_text_div_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    24232423                                  </td>
    24242424                                </tr>
     
    24302430                                      foreach ($border_styles as $key => $border_style) {
    24312431                                        ?>
    2432                                         <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_text_div_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     2432                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_extended_text_div_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    24332433                                        <?php
    24342434                                      }
     
    24402440                                  <td class="spider_label"><label for="album_extended_text_div_border_color"><?php echo __('Text border color:', 'photo-gallery'); ?> </label></td>
    24412441                                  <td>
    2442                                     <input type="text" name="album_extended_text_div_border_color" id="album_extended_text_div_border_color" value="<?php echo $row->album_extended_text_div_border_color; ?>" class="jscolor"/>
     2442                                    <input type="text" name="album_extended_text_div_border_color" id="album_extended_text_div_border_color" value="<?php echo esc_attr($row->album_extended_text_div_border_color); ?>" class="jscolor"/>
    24432443                                  </td>
    24442444                                </tr>
     
    24462446                                  <td class="spider_label"><label for="album_extended_text_div_border_radius"><?php echo __('Text div border radius:', 'photo-gallery'); ?> </label></td>
    24472447                                  <td>
    2448                                     <input type="text" name="album_extended_text_div_border_radius" id="album_extended_text_div_border_radius" value="<?php echo $row->album_extended_text_div_border_radius; ?>" class="spider_char_input"/>
     2448                                    <input type="text" name="album_extended_text_div_border_radius" id="album_extended_text_div_border_radius" value="<?php echo esc_attr($row->album_extended_text_div_border_radius); ?>" class="spider_char_input"/>
    24492449                                    <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    24502450                                  </td>
     
    24532453                                  <td class="spider_label"><label for="album_extended_text_div_bg_color"><?php echo __('Text background color:', 'photo-gallery'); ?> </label></td>
    24542454                                  <td>
    2455                                     <input type="text" name="album_extended_text_div_bg_color" id="album_extended_text_div_bg_color" value="<?php echo $row->album_extended_text_div_bg_color; ?>" class="jscolor"/>
     2455                                    <input type="text" name="album_extended_text_div_bg_color" id="album_extended_text_div_bg_color" value="<?php echo esc_attr($row->album_extended_text_div_bg_color); ?>" class="jscolor"/>
    24562456                                  </td>
    24572457                                </tr>
     
    24592459                                  <td class="spider_label"><label for="album_extended_title_margin_bottom"><?php echo __('Title margin:', 'photo-gallery'); ?> </label></td>
    24602460                                  <td>
    2461                                     <input type="text" name="album_extended_title_margin_bottom" id="album_extended_title_margin_bottom" value="<?php echo $row->album_extended_title_margin_bottom; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2461                                    <input type="text" name="album_extended_title_margin_bottom" id="album_extended_title_margin_bottom" value="<?php echo esc_attr($row->album_extended_title_margin_bottom); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    24622462                                  </td>
    24632463                                </tr>
     
    24652465                                  <td class="spider_label"><label for="album_extended_title_padding"><?php echo __('Title padding:', 'photo-gallery'); ?> </label></td>
    24662466                                  <td>
    2467                                     <input type="text" name="album_extended_title_padding" id="album_extended_title_padding" value="<?php echo $row->album_extended_title_padding; ?>" class="spider_char_input"/>
     2467                                    <input type="text" name="album_extended_title_padding" id="album_extended_title_padding" value="<?php echo esc_attr($row->album_extended_title_padding); ?>" class="spider_char_input"/>
    24682468                                    <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    24692469                                  </td>
     
    24722472                                  <td class="spider_label"><label for="album_extended_title_span_border_width"><?php echo __('Title border width:', 'photo-gallery'); ?> </label></td>
    24732473                                  <td>
    2474                                     <input type="text" name="album_extended_title_span_border_width" id="album_extended_title_span_border_width" value="<?php echo $row->album_extended_title_span_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2474                                    <input type="text" name="album_extended_title_span_border_width" id="album_extended_title_span_border_width" value="<?php echo esc_attr($row->album_extended_title_span_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    24752475                                  </td>
    24762476                                </tr>
     
    24822482                                      foreach ($border_styles as $key => $border_style) {
    24832483                                        ?>
    2484                                         <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_title_span_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     2484                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_extended_title_span_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    24852485                                        <?php
    24862486                                      }
     
    24922492                                  <td class="spider_label"><label for="album_extended_title_span_border_color"><?php echo __('Title border color:', 'photo-gallery'); ?> </label></td>
    24932493                                  <td>
    2494                                     <input type="text" name="album_extended_title_span_border_color" id="album_extended_title_span_border_color" value="<?php echo $row->album_extended_title_span_border_color; ?>" class="jscolor"/>
     2494                                    <input type="text" name="album_extended_title_span_border_color" id="album_extended_title_span_border_color" value="<?php echo esc_attr($row->album_extended_title_span_border_color); ?>" class="jscolor"/>
    24952495                                  </td>
    24962496                                </tr>
     
    24982498                                  <td class="spider_label"><label for="album_extended_title_font_size"><?php echo __('Title font size:', 'photo-gallery'); ?> </label></td>
    24992499                                  <td>
    2500                                     <input type="text" name="album_extended_title_font_size" id="album_extended_title_font_size" value="<?php echo $row->album_extended_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2500                                    <input type="text" name="album_extended_title_font_size" id="album_extended_title_font_size" value="<?php echo esc_attr($row->album_extended_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    25012501                                  </td>
    25022502                                </tr>
     
    25042504                                  <td class="spider_label"><label for="album_extended_title_font_color"><?php echo __('Title font color:', 'photo-gallery'); ?> </label></td>
    25052505                                  <td>
    2506                                     <input type="text" name="album_extended_title_font_color" id="album_extended_title_font_color" value="<?php echo $row->album_extended_title_font_color; ?>" class="jscolor"/>
     2506                                    <input type="text" name="album_extended_title_font_color" id="album_extended_title_font_color" value="<?php echo esc_attr($row->album_extended_title_font_color); ?>" class="jscolor"/>
    25072507                                  </td>
    25082508                                </tr>
     
    25182518                                      foreach ($font_weights as $key => $font_weight) {
    25192519                                        ?>
    2520                                         <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     2520                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_extended_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    25212521                                        <?php
    25222522                                      }
     
    25282528                                  <td class="spider_label"><label for="album_extended_desc_padding"><?php echo __('Description padding:', 'photo-gallery'); ?> </label></td>
    25292529                                  <td>
    2530                                     <input type="text" name="album_extended_desc_padding" id="album_extended_desc_padding" value="<?php echo $row->album_extended_desc_padding; ?>" class="spider_char_input"/>
     2530                                    <input type="text" name="album_extended_desc_padding" id="album_extended_desc_padding" value="<?php echo esc_attr($row->album_extended_desc_padding); ?>" class="spider_char_input"/>
    25312531                                    <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    25322532                                  </td>
     
    25352535                                  <td class="spider_label"><label for="album_extended_desc_span_border_width"><?php echo __('Description border width:', 'photo-gallery'); ?> </label></td>
    25362536                                  <td>
    2537                                     <input type="text" name="album_extended_desc_span_border_width" id="album_extended_desc_span_border_width" value="<?php echo $row->album_extended_desc_span_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2537                                    <input type="text" name="album_extended_desc_span_border_width" id="album_extended_desc_span_border_width" value="<?php echo esc_attr($row->album_extended_desc_span_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    25382538                                  </td>
    25392539                                </tr>
     
    25452545                                      foreach ($border_styles as $key => $border_style) {
    25462546                                        ?>
    2547                                         <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_desc_span_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     2547                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_extended_desc_span_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    25482548                                        <?php
    25492549                                      }
     
    25552555                                  <td class="spider_label"><label for="album_extended_desc_span_border_color"><?php echo __('Description border color:', 'photo-gallery'); ?> </label></td>
    25562556                                  <td>
    2557                                     <input type="text" name="album_extended_desc_span_border_color" id="album_extended_desc_span_border_color" value="<?php echo $row->album_extended_desc_span_border_color; ?>" class="jscolor"/>
     2557                                    <input type="text" name="album_extended_desc_span_border_color" id="album_extended_desc_span_border_color" value="<?php echo esc_attr($row->album_extended_desc_span_border_color); ?>" class="jscolor"/>
    25582558                                  </td>
    25592559                                </tr>
     
    25612561                                  <td class="spider_label"><label for="album_extended_desc_font_size"><?php echo __('Description font size:', 'photo-gallery'); ?> </label></td>
    25622562                                  <td>
    2563                                     <input type="text" name="album_extended_desc_font_size" id="album_extended_desc_font_size" value="<?php echo $row->album_extended_desc_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2563                                    <input type="text" name="album_extended_desc_font_size" id="album_extended_desc_font_size" value="<?php echo esc_attr($row->album_extended_desc_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    25642564                                  </td>
    25652565                                </tr>
     
    25672567                                  <td class="spider_label"><label for="album_extended_desc_font_color"><?php echo __('Description font color:', 'photo-gallery'); ?> </label></td>
    25682568                                  <td>
    2569                                     <input type="text" name="album_extended_desc_font_color" id="album_extended_desc_font_color" value="<?php echo $row->album_extended_desc_font_color; ?>" class="jscolor"/>
     2569                                    <input type="text" name="album_extended_desc_font_color" id="album_extended_desc_font_color" value="<?php echo esc_attr($row->album_extended_desc_font_color); ?>" class="jscolor"/>
    25702570                                  </td>
    25712571                                </tr>
     
    25812581                                      foreach ($font_weights as $key => $font_weight) {
    25822582                                        ?>
    2583                                         <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_desc_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     2583                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_extended_desc_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    25842584                                        <?php
    25852585                                      }
     
    25912591                                  <td class="spider_label"><label for="album_extended_desc_more_size"><?php echo __('Description more size:', 'photo-gallery'); ?> </label></td>
    25922592                                  <td>
    2593                                     <input type="text" name="album_extended_desc_more_size" id="album_extended_desc_more_size" value="<?php echo $row->album_extended_desc_more_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2593                                    <input type="text" name="album_extended_desc_more_size" id="album_extended_desc_more_size" value="<?php echo esc_attr($row->album_extended_desc_more_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    25942594                                  </td>
    25952595                                </tr>
     
    25972597                                  <td class="spider_label"><label for="album_extended_desc_more_color"><?php echo __('Description more color:', 'photo-gallery'); ?> </label></td>
    25982598                                  <td>
    2599                                     <input type="text" name="album_extended_desc_more_color" id="album_extended_desc_more_color" value="<?php echo $row->album_extended_desc_more_color; ?>" class="jscolor"/>
     2599                                    <input type="text" name="album_extended_desc_more_color" id="album_extended_desc_more_color" value="<?php echo esc_attr($row->album_extended_desc_more_color); ?>" class="jscolor"/>
    26002600                                  </td>
    26012601                                </tr>
     
    26032603                                  <td class="spider_label"><label for="album_extended_gal_title_font_size"><?php echo __('Gallery title/description font size:', 'photo-gallery'); ?> </label></td>
    26042604                                  <td>
    2605                                     <input type="text" name="album_extended_gal_title_font_size" id="album_extended_gal_title_font_size" value="<?php echo $row->album_extended_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2605                                    <input type="text" name="album_extended_gal_title_font_size" id="album_extended_gal_title_font_size" value="<?php echo esc_attr($row->album_extended_gal_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    26062606                                  </td>
    26072607                                </tr>
     
    26092609                                  <td class="spider_label"><label for="album_extended_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
    26102610                                  <td>
    2611                                     <input type="text" name="album_extended_gal_title_font_color" id="album_extended_gal_title_font_color" value="<?php echo $row->album_extended_gal_title_font_color; ?>" class="jscolor" />
     2611                                    <input type="text" name="album_extended_gal_title_font_color" id="album_extended_gal_title_font_color" value="<?php echo esc_attr($row->album_extended_gal_title_font_color); ?>" class="jscolor" />
    26122612                                  </td>
    26132613                                </tr>
     
    26232623                                      foreach ($font_weights as $key => $font_weight) {
    26242624                                        ?>
    2625                                         <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     2625                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_extended_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    26262626                                        <?php
    26272627                                      }
     
    26332633                                  <td class="spider_label"><label for="album_extended_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
    26342634                                  <td>
    2635                                     <input type="text" name="album_extended_gal_title_shadow" id="album_extended_gal_title_shadow" value="<?php echo $row->album_extended_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     2635                                    <input type="text" name="album_extended_gal_title_shadow" id="album_extended_gal_title_shadow" value="<?php echo esc_attr($row->album_extended_gal_title_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    26362636                                    <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    26372637                                  </td>
     
    26402640                                  <td class="spider_label"><label for="album_extended_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
    26412641                                  <td>
    2642                                     <input type="text" name="album_extended_gal_title_margin" id="album_extended_gal_title_margin" value="<?php echo $row->album_extended_gal_title_margin; ?>" class="spider_char_input" />
     2642                                    <input type="text" name="album_extended_gal_title_margin" id="album_extended_gal_title_margin" value="<?php echo esc_attr($row->album_extended_gal_title_margin); ?>" class="spider_char_input" />
    26432643                                    <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    26442644                                  </td>
     
    26512651                                      foreach ($aligns as $key => $align) {
    26522652                                        ?>
    2653                                         <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
     2653                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_extended_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    26542654                                        <?php
    26552655                                      }
     
    26762676                    <td class="spider_label"><label for="album_masonry_thumb_padding"><?php echo __('Distance between pictures:', 'photo-gallery'); ?> </label></td>
    26772677                    <td>
    2678                       <input type="text" name="album_masonry_thumb_padding" id="album_masonry_thumb_padding" value="<?php echo $row->album_masonry_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2678                      <input type="text" name="album_masonry_thumb_padding" id="album_masonry_thumb_padding" value="<?php echo esc_attr($row->album_masonry_thumb_padding); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    26792679                    </td>
    26802680                  </tr>
     
    26922692                                      <td class="spider_label"><label for="album_masonry_thumb_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
    26932693                                      <td>
    2694                                         <input type="text" name="album_masonry_thumb_border_width" id="album_masonry_thumb_border_width" value="<?php echo $row->album_masonry_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2694                                        <input type="text" name="album_masonry_thumb_border_width" id="album_masonry_thumb_border_width" value="<?php echo esc_attr($row->album_masonry_thumb_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    26952695                                      </td>
    26962696                                    </tr>
     
    27022702                                          foreach ($border_styles as $key => $border_style) {
    27032703                                            ?>
    2704                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     2704                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_masonry_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    27052705                                            <?php
    27062706                                          }
     
    27122712                                      <td class="spider_label"><label for="album_masonry_thumb_border_color"><?php echo __('Border color:', 'photo-gallery'); ?> </label></td>
    27132713                                      <td>
    2714                                         <input type="text" name="album_masonry_thumb_border_color" id="album_masonry_thumb_border_color" value="<?php echo $row->album_masonry_thumb_border_color; ?>" class="jscolor" />
     2714                                        <input type="text" name="album_masonry_thumb_border_color" id="album_masonry_thumb_border_color" value="<?php echo esc_attr($row->album_masonry_thumb_border_color); ?>" class="jscolor" />
    27152715                                      </td>
    27162716                                    </tr>
     
    27182718                                      <td class="spider_label"><label for="album_masonry_thumb_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
    27192719                                      <td>
    2720                                         <input type="text" name="album_masonry_thumb_border_radius" id="album_masonry_thumb_border_radius" value="<?php echo $row->album_masonry_thumb_border_radius; ?>" class="spider_char_input" />
     2720                                        <input type="text" name="album_masonry_thumb_border_radius" id="album_masonry_thumb_border_radius" value="<?php echo esc_attr($row->album_masonry_thumb_border_radius); ?>" class="spider_char_input" />
    27212721                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    27222722                                      </td>
     
    27292729                                          foreach ($thumbnail_hover_effects as $key => $hover_effect) {
    27302730                                            ?>
    2731                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect, 'photo-gallery'); ?></option>
     2731                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_masonry_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($hover_effect, 'photo-gallery'); ?></option>
    27322732                                            <?php
    27332733                                          }
     
    27392739                                      <td class="spider_label"><label for="album_masonry_thumb_hover_effect_value"><?php echo __('Hover effect value:', 'photo-gallery'); ?> </label></td>
    27402740                                      <td>
    2741                                         <input type="text" name="album_masonry_thumb_hover_effect_value" id="album_masonry_thumb_hover_effect_value" value="<?php echo $row->album_masonry_thumb_hover_effect_value; ?>" class="spider_char_input" />
     2741                                        <input type="text" name="album_masonry_thumb_hover_effect_value" id="album_masonry_thumb_hover_effect_value" value="<?php echo esc_attr($row->album_masonry_thumb_hover_effect_value); ?>" class="spider_char_input" />
    27422742                                        <div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.', 'photo-gallery'); ?></div>
    27432743                                      </td>
     
    27672767                    </td>
    27682768                    <td>
    2769                       <input type="text" name="album_masonry_thumb_bg_color" id="album_masonry_thumb_bg_color" value="<?php echo $row->album_masonry_thumb_bg_color; ?>" class="jscolor" />
     2769                      <input type="text" name="album_masonry_thumb_bg_color" id="album_masonry_thumb_bg_color" value="<?php echo esc_attr($row->album_masonry_thumb_bg_color); ?>" class="jscolor" />
    27702770                    </td>
    27712771                  </tr>
     
    27732773                                      <td class="spider_label"><label for="album_masonry_thumb_transparent"><?php echo __('Thumbnail transparency:', 'photo-gallery'); ?> </label></td>
    27742774                                      <td>
    2775                                         <input type="text" name="album_masonry_thumb_transparent" id="album_masonry_thumb_transparent" value="<?php echo $row->album_masonry_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     2775                                        <input type="text" name="album_masonry_thumb_transparent" id="album_masonry_thumb_transparent" value="<?php echo esc_attr($row->album_masonry_thumb_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    27762776                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    27772777                                      </td>
     
    27802780                                      <td class="spider_label"><label for="album_masonry_thumbs_bg_color"><?php echo __('Full background color:', 'photo-gallery'); ?> </label></td>
    27812781                                      <td>
    2782                                         <input type="text" name="album_masonry_thumbs_bg_color" id="album_masonry_thumbs_bg_color" value="<?php echo $row->album_masonry_thumbs_bg_color; ?>" class="jscolor" />
     2782                                        <input type="text" name="album_masonry_thumbs_bg_color" id="album_masonry_thumbs_bg_color" value="<?php echo esc_attr($row->album_masonry_thumbs_bg_color); ?>" class="jscolor" />
    27832783                                      </td>
    27842784                                    </tr>
     
    27862786                                      <td class="spider_label"><label for="album_masonry_thumb_bg_transparent"><?php echo __('Full background transparency:', 'photo-gallery'); ?> </label></td>
    27872787                                      <td>
    2788                                         <input type="text" name="album_masonry_thumb_bg_transparent" id="album_masonry_thumb_bg_transparent" value="<?php echo $row->album_masonry_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     2788                                        <input type="text" name="album_masonry_thumb_bg_transparent" id="album_masonry_thumb_bg_transparent" value="<?php echo esc_attr($row->album_masonry_thumb_bg_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    27892789                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    27902790                                      </td>
     
    27972797                                          foreach ($aligns as $key => $align) {
    27982798                                            ?>
    2799                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     2799                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_masonry_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    28002800                                            <?php
    28012801                                          }
     
    28172817                                      <td class="spider_label"><label for="album_masonry_title_font_size"><?php echo __('Title font size:', 'photo-gallery'); ?> </label></td>
    28182818                                      <td>
    2819                                         <input type="text" name="album_masonry_title_font_size" id="album_masonry_title_font_size" value="<?php echo $row->album_masonry_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2819                                        <input type="text" name="album_masonry_title_font_size" id="album_masonry_title_font_size" value="<?php echo esc_attr($row->album_masonry_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    28202820                                      </td>
    28212821                                    </tr>
     
    28232823                                      <td class="spider_label"><label for="album_masonry_title_font_color"><?php echo __('Title font color:', 'photo-gallery'); ?> </label></td>
    28242824                                      <td>
    2825                                         <input type="text" name="album_masonry_title_font_color" id="album_masonry_title_font_color" value="<?php echo $row->album_masonry_title_font_color; ?>" class="jscolor" />
     2825                                        <input type="text" name="album_masonry_title_font_color" id="album_masonry_title_font_color" value="<?php echo esc_attr($row->album_masonry_title_font_color); ?>" class="jscolor" />
    28262826                                      </td>
    28272827                                    </tr>
     
    28292829                    <td class="spider_label"><label for="album_masonry_thumb_title_font_color_hover"><?php echo __('Title font color (Show on hover):', 'photo-gallery'); ?> </label></td>
    28302830                    <td>
    2831                       <input type="text" name="album_masonry_thumb_title_font_color_hover" id="album_masonry_thumb_title_font_color_hover" value="<?php echo $row->album_masonry_thumb_title_font_color_hover; ?>" class="jscolor" />
     2831                      <input type="text" name="album_masonry_thumb_title_font_color_hover" id="album_masonry_thumb_title_font_color_hover" value="<?php echo esc_attr($row->album_masonry_thumb_title_font_color_hover); ?>" class="jscolor" />
    28322832                    </td>
    28332833                  </tr>
     
    28432843                                          foreach ($font_weights as $key => $font_weight) {
    28442844                                            ?>
    2845                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     2845                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_masonry_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    28462846                                            <?php
    28472847                                          }
     
    28532853                                      <td class="spider_label"><label for="album_masonry_title_shadow"><?php echo __('Title box shadow:', 'photo-gallery'); ?> </label></td>
    28542854                                      <td>
    2855                                         <input type="text" name="album_masonry_title_shadow" id="album_masonry_title_shadow" value="<?php echo $row->album_masonry_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     2855                                        <input type="text" name="album_masonry_title_shadow" id="album_masonry_title_shadow" value="<?php echo esc_attr($row->album_masonry_title_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    28562856                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    28572857                                      </td>
     
    28602860                                      <td class="spider_label"><label for="album_masonry_back_font_size"><?php echo __('Back Font size:', 'photo-gallery'); ?> </label></td>
    28612861                                      <td>
    2862                                         <input type="text" name="album_masonry_back_font_size" id="album_masonry_back_font_size" value="<?php echo $row->album_masonry_back_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2862                                        <input type="text" name="album_masonry_back_font_size" id="album_masonry_back_font_size" value="<?php echo esc_attr($row->album_masonry_back_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    28632863                                      </td>
    28642864                                    </tr>
     
    28662866                                      <td class="spider_label"><label for="album_masonry_back_font_color"><?php echo __('Back Font color:', 'photo-gallery'); ?> </label></td>
    28672867                                      <td>
    2868                                         <input type="text" name="album_masonry_back_font_color" id="album_masonry_back_font_color" value="<?php echo $row->album_masonry_back_font_color; ?>" class="jscolor" />
     2868                                        <input type="text" name="album_masonry_back_font_color" id="album_masonry_back_font_color" value="<?php echo esc_attr($row->album_masonry_back_font_color); ?>" class="jscolor" />
    28692869                                      </td>
    28702870                                    </tr>
     
    28802880                                          foreach ($font_weights as $key => $font_weight) {
    28812881                                            ?>
    2882                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     2882                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_masonry_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    28832883                                            <?php
    28842884                                          }
     
    28902890                                      <td class="spider_label"><label for="album_masonry_back_padding"><?php echo __('Back padding:', 'photo-gallery'); ?> </label></td>
    28912891                                      <td>
    2892                                         <input type="text" name="album_masonry_back_padding" id="album_masonry_back_padding" value="<?php echo $row->album_masonry_back_padding; ?>" class="spider_char_input" />
     2892                                        <input type="text" name="album_masonry_back_padding" id="album_masonry_back_padding" value="<?php echo esc_attr($row->album_masonry_back_padding); ?>" class="spider_char_input" />
    28932893                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    28942894                                      </td>
     
    28972897                                      <td class="spider_label"><label for="album_masonry_gal_title_font_size"><?php echo __('Gallery title/description font size:', 'photo-gallery'); ?> </label></td>
    28982898                                      <td>
    2899                                         <input type="text" name="album_masonry_gal_title_font_size" id="album_masonry_gal_title_font_size" value="<?php echo $row->album_masonry_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     2899                                        <input type="text" name="album_masonry_gal_title_font_size" id="album_masonry_gal_title_font_size" value="<?php echo esc_attr($row->album_masonry_gal_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    29002900                                      </td>
    29012901                                    </tr>
     
    29032903                                      <td class="spider_label"><label for="album_masonry_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
    29042904                                      <td>
    2905                                         <input type="text" name="album_masonry_gal_title_font_color" id="album_masonry_gal_title_font_color" value="<?php echo $row->album_masonry_gal_title_font_color; ?>" class="jscolor" />
     2905                                        <input type="text" name="album_masonry_gal_title_font_color" id="album_masonry_gal_title_font_color" value="<?php echo esc_attr($row->album_masonry_gal_title_font_color); ?>" class="jscolor" />
    29062906                                      </td>
    29072907                                    </tr>
     
    29172917                                          foreach ($font_weights as $key => $font_weight) {
    29182918                                            ?>
    2919                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     2919                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_masonry_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    29202920                                            <?php
    29212921                                          }
     
    29272927                                      <td class="spider_label"><label for="album_masonry_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
    29282928                                      <td>
    2929                                         <input type="text" name="album_masonry_gal_title_shadow" id="album_masonry_gal_title_shadow" value="<?php echo $row->album_masonry_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     2929                                        <input type="text" name="album_masonry_gal_title_shadow" id="album_masonry_gal_title_shadow" value="<?php echo esc_attr($row->album_masonry_gal_title_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    29302930                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    29312931                                      </td>
     
    29342934                                      <td class="spider_label"><label for="album_masonry_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
    29352935                                      <td>
    2936                                         <input type="text" name="album_masonry_gal_title_margin" id="album_masonry_gal_title_margin" value="<?php echo $row->album_masonry_gal_title_margin; ?>" class="spider_char_input" />
     2936                                        <input type="text" name="album_masonry_gal_title_margin" id="album_masonry_gal_title_margin" value="<?php echo esc_attr($row->album_masonry_gal_title_margin); ?>" class="spider_char_input" />
    29372937                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    29382938                                      </td>
     
    29452945                                          foreach ($aligns as $key => $align) {
    29462946                                            ?>
    2947                                             <option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
     2947                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->album_masonry_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    29482948                                            <?php
    29492949                                          }
     
    29692969                                      <td class="spider_label"><label for="blog_style_bg_color"><?php echo __('Background color:', 'photo-gallery'); ?> </label></td>
    29702970                                      <td>
    2971                                         <input type="text" name="blog_style_bg_color" id="blog_style_bg_color" value="<?php echo $row->blog_style_bg_color; ?>" class="jscolor"/>
     2971                                        <input type="text" name="blog_style_bg_color" id="blog_style_bg_color" value="<?php echo esc_attr($row->blog_style_bg_color); ?>" class="jscolor"/>
    29722972                                      </td>
    29732973                                    </tr>
     
    29752975                                      <td class="spider_label"><label for="blog_style_transparent"><?php echo __('Background transparency:', 'photo-gallery'); ?> </label></td>
    29762976                                      <td>
    2977                                         <input type="text" name="blog_style_transparent" id="blog_style_transparent" value="<?php echo $row->blog_style_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     2977                                        <input type="text" name="blog_style_transparent" id="blog_style_transparent" value="<?php echo esc_attr($row->blog_style_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    29782978                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    29792979                                      </td>
     
    29862986                                          foreach ($aligns as $key => $align) {
    29872987                                            ?>
    2988                                             <option value="<?php echo $key; ?>" <?php echo (($row->blog_style_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     2988                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->blog_style_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    29892989                                            <?php
    29902990                                          }
     
    29962996                                      <td class="spider_label"><label for="blog_style_margin"><?php echo __('Margin:', 'photo-gallery'); ?> </label></td>
    29972997                                      <td>
    2998                                         <input type="text" name="blog_style_margin" id="blog_style_margin" value="<?php echo $row->blog_style_margin; ?>" class="spider_char_input"/>
     2998                                        <input type="text" name="blog_style_margin" id="blog_style_margin" value="<?php echo esc_attr($row->blog_style_margin); ?>" class="spider_char_input"/>
    29992999                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    30003000                                      </td>
     
    30033003                                      <td class="spider_label"><label for="blog_style_padding"><?php echo __('Padding:', 'photo-gallery'); ?> </label></td>
    30043004                                      <td>
    3005                                         <input type="text" name="blog_style_padding" id="blog_style_padding" value="<?php echo $row->blog_style_padding; ?>" class="spider_char_input"/>
     3005                                        <input type="text" name="blog_style_padding" id="blog_style_padding" value="<?php echo esc_attr($row->blog_style_padding); ?>" class="spider_char_input"/>
    30063006                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    30073007                                      </td>
     
    30103010                                      <td class="spider_label"><label for="blog_style_box_shadow"><?php echo __('Box shadow:', 'photo-gallery'); ?> </label></td>
    30113011                                      <td>
    3012                                         <input type="text" name="blog_style_box_shadow" id="blog_style_box_shadow" value="<?php echo $row->blog_style_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     3012                                        <input type="text" name="blog_style_box_shadow" id="blog_style_box_shadow" value="<?php echo esc_attr($row->blog_style_box_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    30133013                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    30143014                                      </td>
     
    30313031                                      <td class="spider_label"><label for="blog_style_img_font_size"><?php echo __('Font size:', 'photo-gallery'); ?> </label></td>
    30323032                                      <td>
    3033                                         <input type="text" name="blog_style_img_font_size" id="blog_style_img_font_size" value="<?php echo $row->blog_style_img_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3033                                        <input type="text" name="blog_style_img_font_size" id="blog_style_img_font_size" value="<?php echo esc_attr($row->blog_style_img_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    30343034                                      </td>
    30353035                                    </tr>
     
    30373037                                      <td class="spider_label"><label for="blog_style_img_font_color"><?php echo __('Font color:', 'photo-gallery'); ?> </label></td>
    30383038                                      <td>
    3039                                         <input type="text" name="blog_style_img_font_color" id="blog_style_img_font_color" value="<?php echo $row->blog_style_img_font_color; ?>" class="jscolor"/>
     3039                                        <input type="text" name="blog_style_img_font_color" id="blog_style_img_font_color" value="<?php echo esc_attr($row->blog_style_img_font_color); ?>" class="jscolor"/>
    30403040                                      </td>
    30413041                                    </tr>
     
    30433043                                      <td class="spider_label"><label for="blog_style_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
    30443044                                      <td>
    3045                                         <input type="text" name="blog_style_border_width" id="blog_style_border_width" value="<?php echo $row->blog_style_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3045                                        <input type="text" name="blog_style_border_width" id="blog_style_border_width" value="<?php echo esc_attr($row->blog_style_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    30463046                                      </td>
    30473047                                    </tr>
     
    30533053                                          foreach ($border_styles as $key => $border_style) {
    30543054                                            ?>
    3055                                             <option value="<?php echo $key; ?>" <?php echo (($row->blog_style_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     3055                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->blog_style_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    30563056                                            <?php
    30573057                                          }
     
    30633063                                      <td class="spider_label"><label for="blog_style_border_color"><?php echo __('Border color:', 'photo-gallery'); ?> </label></td>
    30643064                                      <td>
    3065                                         <input type="text" name="blog_style_border_color" id="blog_style_border_color" value="<?php echo $row->blog_style_border_color; ?>" class="jscolor" />
     3065                                        <input type="text" name="blog_style_border_color" id="blog_style_border_color" value="<?php echo esc_attr($row->blog_style_border_color); ?>" class="jscolor" />
    30663066                                      </td>
    30673067                                    </tr>
     
    30693069                                      <td class="spider_label"><label for="blog_style_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
    30703070                                      <td>
    3071                                         <input type="text" name="blog_style_border_radius" id="blog_style_border_radius" value="<?php echo $row->blog_style_border_radius; ?>" class="spider_char_input"/>
     3071                                        <input type="text" name="blog_style_border_radius" id="blog_style_border_radius" value="<?php echo esc_attr($row->blog_style_border_radius); ?>" class="spider_char_input"/>
    30723072                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    30733073                                      </td>
     
    30863086                                      <td class="spider_label"><label for="blog_style_share_buttons_margin"><?php echo __('Buttons and title margin:', 'photo-gallery'); ?> </label></td>
    30873087                                      <td>
    3088                                         <input type="text" name="blog_style_share_buttons_margin" id="blog_style_share_buttons_margin" value="<?php echo $row->blog_style_share_buttons_margin; ?>" class="spider_char_input"/>
     3088                                        <input type="text" name="blog_style_share_buttons_margin" id="blog_style_share_buttons_margin" value="<?php echo esc_attr($row->blog_style_share_buttons_margin); ?>" class="spider_char_input"/>
    30893089                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    30903090                                      </td>
     
    30933093                                      <td class="spider_label"><label for="blog_style_share_buttons_font_size"><?php echo __('Buttons size:', 'photo-gallery'); ?> </label></td>
    30943094                                      <td>
    3095                                         <input type="text" name="blog_style_share_buttons_font_size" id="blog_style_share_buttons_font_size" value="<?php echo $row->blog_style_share_buttons_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3095                                        <input type="text" name="blog_style_share_buttons_font_size" id="blog_style_share_buttons_font_size" value="<?php echo esc_attr($row->blog_style_share_buttons_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    30963096                                      </td>
    30973097                                    </tr>
     
    30993099                                      <td class="spider_label"><label for="blog_style_share_buttons_color"><?php echo __('Buttons color:', 'photo-gallery'); ?> </label></td>
    31003100                                      <td>
    3101                                         <input type="text" name="blog_style_share_buttons_color" id="blog_style_share_buttons_color" value="<?php echo $row->blog_style_share_buttons_color; ?>" class="jscolor"/>
     3101                                        <input type="text" name="blog_style_share_buttons_color" id="blog_style_share_buttons_color" value="<?php echo esc_attr($row->blog_style_share_buttons_color); ?>" class="jscolor"/>
    31023102                                      </td>
    31033103                                    </tr>
     
    31053105                                      <td class="spider_label"><label for="blog_style_share_buttons_border_width"><?php echo __('Buttons and title border width:', 'photo-gallery'); ?> </label></td>
    31063106                                      <td>
    3107                                         <input type="text" name="blog_style_share_buttons_border_width" id="blog_style_share_buttons_border_width" value="<?php echo $row->blog_style_share_buttons_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3107                                        <input type="text" name="blog_style_share_buttons_border_width" id="blog_style_share_buttons_border_width" value="<?php echo esc_attr($row->blog_style_share_buttons_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    31083108                                      </td>
    31093109                                    </tr>
     
    31153115                                          foreach ($border_styles as $key => $border_style) {
    31163116                                            ?>
    3117                                             <option value="<?php echo $key; ?>" <?php echo (($row->blog_style_share_buttons_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     3117                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->blog_style_share_buttons_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    31183118                                            <?php
    31193119                                          }
     
    31253125                                      <td class="spider_label"><label for="blog_style_share_buttons_border_color"><?php echo __('Buttons and title border color:', 'photo-gallery'); ?> </label></td>
    31263126                                      <td>
    3127                                         <input type="text" name="blog_style_share_buttons_border_color" id="blog_style_share_buttons_border_color" value="<?php echo $row->blog_style_share_buttons_border_color; ?>" class="jscolor"/>
     3127                                        <input type="text" name="blog_style_share_buttons_border_color" id="blog_style_share_buttons_border_color" value="<?php echo esc_attr($row->blog_style_share_buttons_border_color); ?>" class="jscolor"/>
    31283128                                      </td>
    31293129                                    </tr>
     
    31313131                                      <td class="spider_label"><label for="blog_style_share_buttons_border_radius"><?php echo __('Buttons and title border radius:', 'photo-gallery'); ?> </label></td>
    31323132                                      <td>
    3133                                         <input type="text" name="blog_style_share_buttons_border_radius" id="blog_style_share_buttons_border_radius" value="<?php echo $row->blog_style_share_buttons_border_radius; ?>" class="spider_char_input"/>
     3133                                        <input type="text" name="blog_style_share_buttons_border_radius" id="blog_style_share_buttons_border_radius" value="<?php echo esc_attr($row->blog_style_share_buttons_border_radius); ?>" class="spider_char_input"/>
    31343134                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    31353135                                      </td>
     
    31383138                                      <td class="spider_label"><label for="blog_style_share_buttons_bg_color"><?php echo __('Buttons and title background color:', 'photo-gallery'); ?> </label></td>
    31393139                                      <td>
    3140                                         <input type="text" name="blog_style_share_buttons_bg_color" id="blog_style_share_buttons_bg_color" value="<?php echo $row->blog_style_share_buttons_bg_color; ?>" class="jscolor"/>
     3140                                        <input type="text" name="blog_style_share_buttons_bg_color" id="blog_style_share_buttons_bg_color" value="<?php echo esc_attr($row->blog_style_share_buttons_bg_color); ?>" class="jscolor"/>
    31413141                                      </td>
    31423142                                    </tr>
     
    31443144                                      <td class="spider_label"><label for="blog_style_share_buttons_bg_transparent"><?php echo __('Buttons and title background transparency:', 'photo-gallery'); ?> </label></td>
    31453145                                      <td>
    3146                                         <input type="text" name="blog_style_share_buttons_bg_transparent" id="blog_style_share_buttons_bg_transparent" value="<?php echo $row->blog_style_share_buttons_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     3146                                        <input type="text" name="blog_style_share_buttons_bg_transparent" id="blog_style_share_buttons_bg_transparent" value="<?php echo esc_attr($row->blog_style_share_buttons_bg_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    31473147                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    31483148                                      </td>
     
    31553155                                          foreach ($aligns as $key => $align) {
    31563156                                            ?>
    3157                                             <option value="<?php echo $key; ?>" <?php echo (($row->blog_style_share_buttons_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     3157                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->blog_style_share_buttons_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    31583158                                            <?php
    31593159                                          }
     
    31663166                                      <td>
    31673167                                        <input type="text" name="blog_style_gal_title_font_size" id="blog_style_gal_title_font_size" value="<?php echo
    3168                                         $row->blog_style_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3168                                        esc_attr($row->blog_style_gal_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    31693169                                      </td>
    31703170                                    </tr>
     
    31723172                                      <td class="spider_label"><label for="blog_style_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
    31733173                                      <td>
    3174                                         <input type="text" name="blog_style_gal_title_font_color" id="blog_style_gal_title_font_color" value="<?php echo $row->blog_style_gal_title_font_color; ?>" class="jscolor" />
     3174                                        <input type="text" name="blog_style_gal_title_font_color" id="blog_style_gal_title_font_color" value="<?php echo esc_attr($row->blog_style_gal_title_font_color); ?>" class="jscolor" />
    31753175                                      </td>
    31763176                                    </tr>
     
    31863186                                          foreach ($font_weights as $key => $font_weight) {
    31873187                                            ?>
    3188                                             <option value="<?php echo $key; ?>" <?php echo (($row->blog_style_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     3188                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->blog_style_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    31893189                                            <?php
    31903190                                          }
     
    31963196                                      <td class="spider_label"><label for="blog_style_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
    31973197                                      <td>
    3198                                         <input type="text" name="blog_style_gal_title_shadow" id="blog_style_gal_title_shadow" value="<?php echo $row->blog_style_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     3198                                        <input type="text" name="blog_style_gal_title_shadow" id="blog_style_gal_title_shadow" value="<?php echo esc_attr($row->blog_style_gal_title_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    31993199                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    32003200                                      </td>
     
    32033203                                      <td class="spider_label"><label for="blog_style_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
    32043204                                      <td>
    3205                                         <input type="text" name="blog_style_gal_title_margin" id="blog_style_gal_title_margin" value="<?php echo $row->blog_style_gal_title_margin; ?>" class="spider_char_input" />
     3205                                        <input type="text" name="blog_style_gal_title_margin" id="blog_style_gal_title_margin" value="<?php echo esc_attr($row->blog_style_gal_title_margin); ?>" class="spider_char_input" />
    32063206                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    32073207                                      </td>
     
    32143214                                          foreach ($aligns as $key => $align) {
    32153215                                            ?>
    3216                                             <option value="<?php echo $key; ?>" <?php echo (($row->blog_style_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
     3216                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->blog_style_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    32173217                                            <?php
    32183218                                          }
     
    32383238                                      <td class="spider_label"><label for="lightbox_overlay_bg_color"><?php echo __('Overlay background color:', 'photo-gallery'); ?> </label></td>
    32393239                                      <td>
    3240                                         <input type="text" name="lightbox_overlay_bg_color" id="lightbox_overlay_bg_color" value="<?php echo $row->lightbox_overlay_bg_color; ?>" class="jscolor"/>
     3240                                        <input type="text" name="lightbox_overlay_bg_color" id="lightbox_overlay_bg_color" value="<?php echo esc_attr($row->lightbox_overlay_bg_color); ?>" class="jscolor"/>
    32413241                                      </td>
    32423242                                    </tr>
     
    32443244                                      <td class="spider_label"><label for="lightbox_overlay_bg_transparent"><?php echo __('Overlay background transparency:', 'photo-gallery'); ?> </label></td>
    32453245                                      <td>
    3246                                         <input type="text" name="lightbox_overlay_bg_transparent" id="lightbox_overlay_bg_transparent" value="<?php echo $row->lightbox_overlay_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     3246                                        <input type="text" name="lightbox_overlay_bg_transparent" id="lightbox_overlay_bg_transparent" value="<?php echo esc_attr($row->lightbox_overlay_bg_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    32473247                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    32483248                                      </td>
     
    32513251                                      <td class="spider_label"><label for="lightbox_bg_color"><?php echo __('Lightbox background color:', 'photo-gallery'); ?> </label></td>
    32523252                                      <td>
    3253                                         <input type="text" name="lightbox_bg_color" id="lightbox_bg_color" value="<?php echo $row->lightbox_bg_color; ?>" class="jscolor"/>
     3253                                        <input type="text" name="lightbox_bg_color" id="lightbox_bg_color" value="<?php echo esc_attr($row->lightbox_bg_color); ?>" class="jscolor"/>
    32543254                                      </td>
    32553255                                    </tr>
     
    32573257                                      <td class="spider_label"><label for="lightbox_bg_transparent"><?php echo __('Lightbox background transparency:', 'photo-gallery'); ?> </label></td>
    32583258                                      <td>
    3259                                         <input type="text" name="lightbox_bg_transparent" id="lightbox_bg_transparent" value="<?php echo $row->lightbox_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     3259                                        <input type="text" name="lightbox_bg_transparent" id="lightbox_bg_transparent" value="<?php echo esc_attr($row->lightbox_bg_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    32603260                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    32613261                                      </td>
     
    32643264                                      <td class="spider_label"><label for="lightbox_ctrl_btn_height"><?php echo __('Control buttons height:', 'photo-gallery'); ?> </label></td>
    32653265                                      <td>
    3266                                         <input type="text" name="lightbox_ctrl_btn_height" id="lightbox_ctrl_btn_height" value="<?php echo $row->lightbox_ctrl_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3266                                        <input type="text" name="lightbox_ctrl_btn_height" id="lightbox_ctrl_btn_height" value="<?php echo esc_attr($row->lightbox_ctrl_btn_height); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    32673267                                      </td>
    32683268                                    </tr>
     
    32703270                                      <td class="spider_label"><label for="lightbox_ctrl_btn_margin_top"><?php echo __('Control buttons margin (top):', 'photo-gallery'); ?> </label></td>
    32713271                                      <td>
    3272                                         <input type="text" name="lightbox_ctrl_btn_margin_top" id="lightbox_ctrl_btn_margin_top" value="<?php echo $row->lightbox_ctrl_btn_margin_top; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3272                                        <input type="text" name="lightbox_ctrl_btn_margin_top" id="lightbox_ctrl_btn_margin_top" value="<?php echo esc_attr($row->lightbox_ctrl_btn_margin_top); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    32733273                                      </td>
    32743274                                    </tr>
     
    32763276                                      <td class="spider_label"><label for="lightbox_ctrl_btn_margin_left"><?php echo __('Control buttons margin (left):', 'photo-gallery'); ?> </label></td>
    32773277                                      <td>
    3278                                         <input type="text" name="lightbox_ctrl_btn_margin_left" id="lightbox_ctrl_btn_margin_left" value="<?php echo $row->lightbox_ctrl_btn_margin_left; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3278                                        <input type="text" name="lightbox_ctrl_btn_margin_left" id="lightbox_ctrl_btn_margin_left" value="<?php echo esc_attr($row->lightbox_ctrl_btn_margin_left); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    32793279                                      </td>
    32803280                                    </tr>
     
    32913291                                      <td class="spider_label"><label for="lightbox_ctrl_cont_bg_color"><?php echo __('Control buttons background color:', 'photo-gallery'); ?> </label></td>
    32923292                                      <td>
    3293                                         <input type="text" name="lightbox_ctrl_cont_bg_color" id="lightbox_ctrl_cont_bg_color" value="<?php echo $row->lightbox_ctrl_cont_bg_color; ?>" class="jscolor"/>
     3293                                        <input type="text" name="lightbox_ctrl_cont_bg_color" id="lightbox_ctrl_cont_bg_color" value="<?php echo esc_attr($row->lightbox_ctrl_cont_bg_color); ?>" class="jscolor"/>
    32943294                                      </td>
    32953295                                    </tr>
     
    32973297                                      <td class="spider_label"><label for="lightbox_ctrl_cont_border_radius"><?php echo __('Control buttons container border radius:', 'photo-gallery'); ?> </label></td>
    32983298                                      <td>
    3299                                         <input type="text" name="lightbox_ctrl_cont_border_radius" id="lightbox_ctrl_cont_border_radius" value="<?php echo $row->lightbox_ctrl_cont_border_radius; ?>" class="spider_char_input"/>
     3299                                        <input type="text" name="lightbox_ctrl_cont_border_radius" id="lightbox_ctrl_cont_border_radius" value="<?php echo esc_attr($row->lightbox_ctrl_cont_border_radius); ?>" class="spider_char_input"/>
    33003300                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    33013301                                      </td>
     
    33043304                                      <td class="spider_label"><label for="lightbox_ctrl_cont_transparent"><?php echo __('Control buttons container background transparency:', 'photo-gallery'); ?> </label></td>
    33053305                                      <td>
    3306                                         <input type="text" name="lightbox_ctrl_cont_transparent" id="lightbox_ctrl_cont_transparent" value="<?php echo $row->lightbox_ctrl_cont_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     3306                                        <input type="text" name="lightbox_ctrl_cont_transparent" id="lightbox_ctrl_cont_transparent" value="<?php echo esc_attr($row->lightbox_ctrl_cont_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    33073307                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    33083308                                      </td>
     
    33153315                                          foreach ($aligns as $key => $align) {
    33163316                                            ?>
    3317                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_ctrl_btn_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     3317                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_ctrl_btn_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    33183318                                            <?php
    33193319                                          }
     
    33253325                                      <td class="spider_label"><label for="lightbox_ctrl_btn_color"><?php echo __('Control buttons color:', 'photo-gallery'); ?> </label></td>
    33263326                                      <td>
    3327                                         <input type="text" name="lightbox_ctrl_btn_color" id="lightbox_ctrl_btn_color" value="<?php echo $row->lightbox_ctrl_btn_color; ?>" class="jscolor"/>
     3327                                        <input type="text" name="lightbox_ctrl_btn_color" id="lightbox_ctrl_btn_color" value="<?php echo esc_attr($row->lightbox_ctrl_btn_color); ?>" class="jscolor"/>
    33283328                                      </td>
    33293329                                    </tr>
     
    33313331                                      <td class="spider_label"><label for="lightbox_ctrl_btn_transparent"><?php echo __('Control buttons transparency:', 'photo-gallery'); ?> </label></td>
    33323332                                      <td>
    3333                                         <input type="text" name="lightbox_ctrl_btn_transparent" id="lightbox_ctrl_btn_transparent" value="<?php echo $row->lightbox_ctrl_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     3333                                        <input type="text" name="lightbox_ctrl_btn_transparent" id="lightbox_ctrl_btn_transparent" value="<?php echo esc_attr($row->lightbox_ctrl_btn_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    33343334                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    33353335                                      </td>
     
    33383338                                      <td class="spider_label"><label for="lightbox_toggle_btn_height"><?php echo __('Toggle button height:', 'photo-gallery'); ?> </label></td>
    33393339                                      <td>
    3340                                         <input type="text" name="lightbox_toggle_btn_height" id="lightbox_toggle_btn_height" value="<?php echo $row->lightbox_toggle_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3340                                        <input type="text" name="lightbox_toggle_btn_height" id="lightbox_toggle_btn_height" value="<?php echo esc_attr($row->lightbox_toggle_btn_height); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    33413341                                      </td>
    33423342                                    </tr>
     
    33443344                                      <td class="spider_label"><label for="lightbox_toggle_btn_width"><?php echo __('Toggle button width:', 'photo-gallery'); ?> </label></td>
    33453345                                      <td>
    3346                                         <input type="text" name="lightbox_toggle_btn_width" id="lightbox_toggle_btn_width" value="<?php echo $row->lightbox_toggle_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3346                                        <input type="text" name="lightbox_toggle_btn_width" id="lightbox_toggle_btn_width" value="<?php echo esc_attr($row->lightbox_toggle_btn_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    33473347                                      </td>
    33483348                                    </tr>
     
    33513351                                      </td>
    33523352                                      <td>
    3353                                         <input type="text" name="lightbox_close_btn_border_radius" id="lightbox_close_btn_border_radius" value="<?php echo $row->lightbox_close_btn_border_radius; ?>" class="spider_char_input"/>
     3353                                        <input type="text" name="lightbox_close_btn_border_radius" id="lightbox_close_btn_border_radius" value="<?php echo esc_attr($row->lightbox_close_btn_border_radius); ?>" class="spider_char_input"/>
    33543354                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    33553355                                      </td>
     
    33583358                                      <td class="spider_label"><label for="lightbox_close_btn_border_width"><?php echo __('Close button border width:', 'photo-gallery'); ?> </label></td>
    33593359                                      <td>
    3360                                         <input type="text" name="lightbox_close_btn_border_width" id="lightbox_close_btn_border_width" value="<?php echo $row->lightbox_close_btn_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3360                                        <input type="text" name="lightbox_close_btn_border_width" id="lightbox_close_btn_border_width" value="<?php echo esc_attr($row->lightbox_close_btn_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    33613361                                      </td>
    33623362                                    </tr>
     
    33683368                                          foreach ($border_styles as $key => $border_style) {
    33693369                                            ?>
    3370                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_close_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     3370                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_close_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    33713371                                            <?php
    33723372                                          }
     
    33783378                                      <td class="spider_label"><label for="lightbox_close_btn_border_color"><?php echo __('Close button border color:', 'photo-gallery'); ?> </label></td>
    33793379                                      <td>
    3380                                         <input type="text" name="lightbox_close_btn_border_color" id="lightbox_close_btn_border_color" value="<?php echo $row->lightbox_close_btn_border_color; ?>" class="jscolor"/>
     3380                                        <input type="text" name="lightbox_close_btn_border_color" id="lightbox_close_btn_border_color" value="<?php echo esc_attr($row->lightbox_close_btn_border_color); ?>" class="jscolor"/>
    33813381                                      </td>
    33823382                                    </tr>
     
    33843384                                      <td class="spider_label"><label for="lightbox_close_btn_box_shadow"><?php echo __('Close button box shadow:', 'photo-gallery'); ?> </label></td>
    33853385                                      <td>
    3386                                         <input type="text" name="lightbox_close_btn_box_shadow" id="lightbox_close_btn_box_shadow" value="<?php echo $row->lightbox_close_btn_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     3386                                        <input type="text" name="lightbox_close_btn_box_shadow" id="lightbox_close_btn_box_shadow" value="<?php echo esc_attr($row->lightbox_close_btn_box_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    33873387                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    33883388                                      </td>
     
    33913391                                      <td class="spider_label"><label for="lightbox_close_btn_bg_color"><?php echo __('Close button background color:', 'photo-gallery'); ?> </label></td>
    33923392                                      <td>
    3393                                         <input type="text" name="lightbox_close_btn_bg_color" id="lightbox_close_btn_bg_color" value="<?php echo $row->lightbox_close_btn_bg_color; ?>" class="jscolor"/>
     3393                                        <input type="text" name="lightbox_close_btn_bg_color" id="lightbox_close_btn_bg_color" value="<?php echo esc_attr($row->lightbox_close_btn_bg_color); ?>" class="jscolor"/>
    33943394                    <div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.', 'photo-gallery'); ?></div>
    33953395                    </td>
     
    33983398                                      <td class="spider_label"><label for="lightbox_close_btn_transparent"><?php echo __('Close button transparency:', 'photo-gallery'); ?> </label></td>
    33993399                                      <td>
    3400                                         <input type="text" name="lightbox_close_btn_transparent" id="lightbox_close_btn_transparent" value="<?php echo $row->lightbox_close_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     3400                                        <input type="text" name="lightbox_close_btn_transparent" id="lightbox_close_btn_transparent" value="<?php echo esc_attr($row->lightbox_close_btn_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    34013401                                      </td>
    34023402                                    </tr>
     
    34043404                                      <td class="spider_label"><label for="lightbox_close_btn_width"><?php echo __('Close button width:', 'photo-gallery'); ?> </label></td>
    34053405                                      <td>
    3406                                         <input type="text" name="lightbox_close_btn_width" id="lightbox_close_btn_width" value="<?php echo $row->lightbox_close_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3406                                        <input type="text" name="lightbox_close_btn_width" id="lightbox_close_btn_width" value="<?php echo esc_attr($row->lightbox_close_btn_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    34073407                    <div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.', 'photo-gallery'); ?></div>
    34083408                    </td>
     
    34113411                                      <td class="spider_label"><label for="lightbox_close_btn_height"><?php echo __('Close button height:', 'photo-gallery'); ?> </label></td>
    34123412                                      <td>
    3413                                         <input type="text" name="lightbox_close_btn_height" id="lightbox_close_btn_height" value="<?php echo $row->lightbox_close_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3413                                        <input type="text" name="lightbox_close_btn_height" id="lightbox_close_btn_height" value="<?php echo esc_attr($row->lightbox_close_btn_height); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    34143414                    <div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.', 'photo-gallery'); ?></div>
    34153415                    </td>
     
    34183418                                      <td class="spider_label"><label for="lightbox_close_btn_top"><?php echo __('Close button top:', 'photo-gallery'); ?> </label></td>
    34193419                                      <td>
    3420                                         <input type="text" name="lightbox_close_btn_top" id="lightbox_close_btn_top" value="<?php echo $row->lightbox_close_btn_top; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3420                                        <input type="text" name="lightbox_close_btn_top" id="lightbox_close_btn_top" value="<?php echo esc_attr($row->lightbox_close_btn_top); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    34213421                    <div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.', 'photo-gallery'); ?></div>
    34223422                    </td>
     
    34253425                                      <td class="spider_label"><label for="lightbox_close_btn_right"><?php echo __('Close button right:', 'photo-gallery'); ?> </label></td>
    34263426                                      <td>
    3427                                         <input type="text" name="lightbox_close_btn_right" id="lightbox_close_btn_right" value="<?php echo $row->lightbox_close_btn_right; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3427                                        <input type="text" name="lightbox_close_btn_right" id="lightbox_close_btn_right" value="<?php echo esc_attr($row->lightbox_close_btn_right); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    34283428                    <div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.', 'photo-gallery'); ?></div>
    34293429                    </td>
     
    34323432                                      <td class="spider_label"><label for="lightbox_close_btn_size"><?php echo __('Close button size:', 'photo-gallery'); ?> </label></td>
    34333433                                      <td>
    3434                                         <input type="text" name="lightbox_close_btn_size" id="lightbox_close_btn_size" value="<?php echo $row->lightbox_close_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3434                                        <input type="text" name="lightbox_close_btn_size" id="lightbox_close_btn_size" value="<?php echo esc_attr($row->lightbox_close_btn_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    34353435                                      </td>
    34363436                                    </tr>
     
    34383438                                      <td class="spider_label"><label for="lightbox_close_btn_color"><?php echo __('Close button color:', 'photo-gallery'); ?> </label></td>
    34393439                                      <td>
    3440                                         <input type="text" name="lightbox_close_btn_color" id="lightbox_close_btn_color" value="<?php echo $row->lightbox_close_btn_color; ?>" class="jscolor"/>
     3440                                        <input type="text" name="lightbox_close_btn_color" id="lightbox_close_btn_color" value="<?php echo esc_attr($row->lightbox_close_btn_color); ?>" class="jscolor"/>
    34413441                                      </td>
    34423442                                    </tr>
     
    34443444                                      <td class="spider_label"><label for="lightbox_close_btn_full_color"><?php echo __('Fullscreen close button color:', 'photo-gallery'); ?> </label></td>
    34453445                                      <td>
    3446                                         <input type="text" name="lightbox_close_btn_full_color" id="lightbox_close_btn_full_color" value="<?php echo $row->lightbox_close_btn_full_color; ?>" class="jscolor"/>
     3446                                        <input type="text" name="lightbox_close_btn_full_color" id="lightbox_close_btn_full_color" value="<?php echo esc_attr($row->lightbox_close_btn_full_color); ?>" class="jscolor"/>
    34473447                                      </td>
    34483448                                    </tr>
     
    34503450                                      <td class="spider_label"><label for="lightbox_comment_share_button_color"><?php echo __('Share buttons color:', 'photo-gallery'); ?> </label></td>
    34513451                                      <td>
    3452                                         <input type="text" name="lightbox_comment_share_button_color" id="lightbox_comment_share_button_color" value="<?php echo $row->lightbox_comment_share_button_color; ?>" class="jscolor" />
     3452                                        <input type="text" name="lightbox_comment_share_button_color" id="lightbox_comment_share_button_color" value="<?php echo esc_attr($row->lightbox_comment_share_button_color); ?>" class="jscolor" />
    34533453                                      </td>
    34543454                                    </tr>
     
    34703470                                          foreach ($button_styles as $key => $button_style) {
    34713471                                            ?>
    3472                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_rl_btn_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($button_style, 'photo-gallery'); ?></option>
     3472                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_rl_btn_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($button_style, 'photo-gallery'); ?></option>
    34733473                                            <?php
    34743474                                          }
     
    34803480                                      <td class="spider_label"><label for="lightbox_rl_btn_bg_color"><?php echo __('Right, left buttons background color:', 'photo-gallery'); ?> </label></td>
    34813481                                      <td>
    3482                                         <input type="text" name="lightbox_rl_btn_bg_color" id="lightbox_rl_btn_bg_color" value="<?php echo $row->lightbox_rl_btn_bg_color; ?>" class="jscolor"/>
     3482                                        <input type="text" name="lightbox_rl_btn_bg_color" id="lightbox_rl_btn_bg_color" value="<?php echo esc_attr($row->lightbox_rl_btn_bg_color); ?>" class="jscolor"/>
    34833483                                      </td>
    34843484                                    </tr>
     
    34863486                                      <td class="spider_label"><label for="lightbox_rl_btn_transparent"><?php echo __('Right, left buttons transparency:', 'photo-gallery'); ?> </label></td>
    34873487                                      <td>
    3488                                         <input type="text" name="lightbox_rl_btn_transparent" id="lightbox_rl_btn_transparent" value="<?php echo $row->lightbox_rl_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     3488                                        <input type="text" name="lightbox_rl_btn_transparent" id="lightbox_rl_btn_transparent" value="<?php echo esc_attr($row->lightbox_rl_btn_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    34893489                                      </td>
    34903490                                    </tr>
     
    34923492                                      <td class="spider_label"><label for="lightbox_rl_btn_box_shadow"><?php echo __('Right, left buttons box shadow:', 'photo-gallery'); ?> </label></td>
    34933493                                      <td>
    3494                                         <input type="text" name="lightbox_rl_btn_box_shadow" id="lightbox_rl_btn_box_shadow" value="<?php echo $row->lightbox_rl_btn_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     3494                                        <input type="text" name="lightbox_rl_btn_box_shadow" id="lightbox_rl_btn_box_shadow" value="<?php echo esc_attr($row->lightbox_rl_btn_box_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    34953495                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    34963496                                      </td>
     
    34993499                                      <td class="spider_label"><label for="lightbox_rl_btn_height"><?php echo __('Right, left buttons height:', 'photo-gallery'); ?> </label></td>
    35003500                                      <td>
    3501                                         <input type="text" name="lightbox_rl_btn_height" id="lightbox_rl_btn_height" value="<?php echo $row->lightbox_rl_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3501                                        <input type="text" name="lightbox_rl_btn_height" id="lightbox_rl_btn_height" value="<?php echo esc_attr($row->lightbox_rl_btn_height); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    35023502                                      </td>
    35033503                                    </tr>
     
    35053505                                      <td class="spider_label"><label for="lightbox_rl_btn_width"><?php echo __('Right, left buttons width:', 'photo-gallery'); ?> </label></td>
    35063506                                      <td>
    3507                                         <input type="text" name="lightbox_rl_btn_width" id="lightbox_rl_btn_width" value="<?php echo $row->lightbox_rl_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3507                                        <input type="text" name="lightbox_rl_btn_width" id="lightbox_rl_btn_width" value="<?php echo esc_attr($row->lightbox_rl_btn_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    35083508                                      </td>
    35093509                                    </tr>
     
    35113511                                      <td class="spider_label"><label for="lightbox_rl_btn_size"><?php echo __('Right, left buttons size:', 'photo-gallery'); ?> </label></td>
    35123512                                      <td>
    3513                                         <input type="text" name="lightbox_rl_btn_size" id="lightbox_rl_btn_size" value="<?php echo $row->lightbox_rl_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3513                                        <input type="text" name="lightbox_rl_btn_size" id="lightbox_rl_btn_size" value="<?php echo esc_attr($row->lightbox_rl_btn_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    35143514                                      </td>
    35153515                                    </tr>
     
    35173517                                      <td class="spider_label"><label for="lightbox_close_rl_btn_hover_color"><?php echo __('Right, left, close buttons hover color:', 'photo-gallery'); ?> </label></td>
    35183518                                      <td>
    3519                                         <input type="text" name="lightbox_close_rl_btn_hover_color" id="lightbox_close_rl_btn_hover_color" value="<?php echo $row->lightbox_close_rl_btn_hover_color; ?>" class="jscolor" />
     3519                                        <input type="text" name="lightbox_close_rl_btn_hover_color" id="lightbox_close_rl_btn_hover_color" value="<?php echo esc_attr($row->lightbox_close_rl_btn_hover_color); ?>" class="jscolor" />
    35203520                                      </td>
    35213521                                    </tr>
     
    35233523                                      <td class="spider_label"><label for="lightbox_rl_btn_color"><?php echo __('Right, left buttons color:', 'photo-gallery'); ?> </label></td>
    35243524                                      <td>
    3525                                         <input type="text" name="lightbox_rl_btn_color" id="lightbox_rl_btn_color" value="<?php echo $row->lightbox_rl_btn_color; ?>" class="jscolor"/>
     3525                                        <input type="text" name="lightbox_rl_btn_color" id="lightbox_rl_btn_color" value="<?php echo esc_attr($row->lightbox_rl_btn_color); ?>" class="jscolor"/>
    35263526                                      </td>
    35273527                                    </tr>
     
    35293529                                      <td class="spider_label"><label for="lightbox_rl_btn_border_radius"><?php echo __('Right, left buttons border radius:', 'photo-gallery'); ?> </label></td>
    35303530                                      <td>
    3531                                         <input type="text" name="lightbox_rl_btn_border_radius" id="lightbox_rl_btn_border_radius" value="<?php echo $row->lightbox_rl_btn_border_radius; ?>" class="spider_char_input"/>
     3531                                        <input type="text" name="lightbox_rl_btn_border_radius" id="lightbox_rl_btn_border_radius" value="<?php echo esc_attr($row->lightbox_rl_btn_border_radius); ?>" class="spider_char_input"/>
    35323532                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    35333533                                      </td>
     
    35363536                                      <td class="spider_label"><label for="lightbox_rl_btn_border_width"><?php echo __('Right, left buttons border width:', 'photo-gallery'); ?> </label></td>
    35373537                                      <td>
    3538                                         <input type="text" name="lightbox_rl_btn_border_width" id="lightbox_rl_btn_border_width" value="<?php echo $row->lightbox_rl_btn_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3538                                        <input type="text" name="lightbox_rl_btn_border_width" id="lightbox_rl_btn_border_width" value="<?php echo esc_attr($row->lightbox_rl_btn_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    35393539                                      </td>
    35403540                                    </tr>
     
    35463546                                          foreach ($border_styles as $key => $border_style) {
    35473547                                            ?>
    3548                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_rl_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     3548                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_rl_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    35493549                                            <?php
    35503550                                          }
     
    35563556                                      <td class="spider_label"><label for="lightbox_rl_btn_border_color"><?php echo __('Right, left buttons border color:', 'photo-gallery'); ?> </label></td>
    35573557                                      <td>
    3558                                         <input type="text" name="lightbox_rl_btn_border_color" id="lightbox_rl_btn_border_color" value="<?php echo $row->lightbox_rl_btn_border_color; ?>" class="jscolor"/>
     3558                                        <input type="text" name="lightbox_rl_btn_border_color" id="lightbox_rl_btn_border_color" value="<?php echo esc_attr($row->lightbox_rl_btn_border_color); ?>" class="jscolor"/>
    35593559                                      </td>
    35603560                                    </tr>
     
    35733573                                      <td class="spider_label"><label for="lightbox_filmstrip_thumb_margin"><?php echo __('Filmstrip thumbnail margin:', 'photo-gallery'); ?> </label></td>
    35743574                                      <td>
    3575                                         <input type="text" name="lightbox_filmstrip_thumb_margin" id="lightbox_filmstrip_thumb_margin" value="<?php echo $row->lightbox_filmstrip_thumb_margin; ?>" class="spider_char_input"/>
     3575                                        <input type="text" name="lightbox_filmstrip_thumb_margin" id="lightbox_filmstrip_thumb_margin" value="<?php echo esc_attr($row->lightbox_filmstrip_thumb_margin); ?>" class="spider_char_input"/>
    35763576                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    35773577                                      </td>
     
    35803580                                      <td class="spider_label"><label for="lightbox_filmstrip_thumb_border_width"><?php echo __('Filmstrip thumbnail border width:', 'photo-gallery'); ?> </label></td>
    35813581                                      <td>
    3582                                         <input type="text" name="lightbox_filmstrip_thumb_border_width" id="lightbox_filmstrip_thumb_border_width" value="<?php echo $row->lightbox_filmstrip_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3582                                        <input type="text" name="lightbox_filmstrip_thumb_border_width" id="lightbox_filmstrip_thumb_border_width" value="<?php echo esc_attr($row->lightbox_filmstrip_thumb_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    35833583                                      </td>
    35843584                                    </tr>
     
    35903590                                          foreach ($border_styles as $key => $border_style) {
    35913591                                            ?>
    3592                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_filmstrip_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     3592                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_filmstrip_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    35933593                                            <?php
    35943594                                          }
     
    36003600                                      <td class="spider_label"><label for="lightbox_filmstrip_thumb_border_color"><?php echo __('Filmstrip thumbnail border color:', 'photo-gallery'); ?> </label></td>
    36013601                                      <td>
    3602                                         <input type="text" name="lightbox_filmstrip_thumb_border_color" id="lightbox_filmstrip_thumb_border_color" value="<?php echo $row->lightbox_filmstrip_thumb_border_color; ?>" class="jscolor" />
     3602                                        <input type="text" name="lightbox_filmstrip_thumb_border_color" id="lightbox_filmstrip_thumb_border_color" value="<?php echo esc_attr($row->lightbox_filmstrip_thumb_border_color); ?>" class="jscolor" />
    36033603                                      </td>
    36043604                                    </tr>
     
    36063606                                      <td class="spider_label"><label for="lightbox_filmstrip_thumb_border_radius"><?php echo __('Filmstrip thumbnail border radius:', 'photo-gallery'); ?> </label></td>
    36073607                                      <td>
    3608                                         <input type="text" name="lightbox_filmstrip_thumb_border_radius" id="lightbox_filmstrip_thumb_border_radius" value="<?php echo $row->lightbox_filmstrip_thumb_border_radius; ?>" class="spider_char_input"/>
     3608                                        <input type="text" name="lightbox_filmstrip_thumb_border_radius" id="lightbox_filmstrip_thumb_border_radius" value="<?php echo esc_attr($row->lightbox_filmstrip_thumb_border_radius); ?>" class="spider_char_input"/>
    36093609                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    36103610                                      </td>
     
    36133613                                      <td class="spider_label"><label for="lightbox_filmstrip_thumb_active_border_width"><?php echo __('Filmstrip thumbnail active border width:', 'photo-gallery'); ?> </label></td>
    36143614                                      <td>
    3615                                         <input type="text" name="lightbox_filmstrip_thumb_active_border_width" id="lightbox_filmstrip_thumb_active_border_width" value="<?php echo $row->lightbox_filmstrip_thumb_active_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3615                                        <input type="text" name="lightbox_filmstrip_thumb_active_border_width" id="lightbox_filmstrip_thumb_active_border_width" value="<?php echo esc_attr($row->lightbox_filmstrip_thumb_active_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    36163616                                      </td>
    36173617                                    </tr>
     
    36193619                                      <td class="spider_label"> <label for="lightbox_filmstrip_thumb_active_border_color"><?php echo __('Filmstrip thumbnail active border color:', 'photo-gallery'); ?></label></td>
    36203620                                      <td>
    3621                                         <input type="text" name="lightbox_filmstrip_thumb_active_border_color" id="lightbox_filmstrip_thumb_active_border_color" value="<?php echo $row->lightbox_filmstrip_thumb_active_border_color; ?>" class="jscolor"/>
     3621                                        <input type="text" name="lightbox_filmstrip_thumb_active_border_color" id="lightbox_filmstrip_thumb_active_border_color" value="<?php echo esc_attr($row->lightbox_filmstrip_thumb_active_border_color); ?>" class="jscolor"/>
    36223622                                      </td>
    36233623                                    </tr>
     
    36253625                                      <td class="spider_label"><label for="lightbox_filmstrip_thumb_deactive_transparent"><?php echo __('Filmstrip thumbnail deactive transparency:', 'photo-gallery'); ?> </label></td>
    36263626                                      <td>
    3627                                         <input type="text" name="lightbox_filmstrip_thumb_deactive_transparent" id="lightbox_filmstrip_thumb_deactive_transparent" value="<?php echo $row->lightbox_filmstrip_thumb_deactive_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     3627                                        <input type="text" name="lightbox_filmstrip_thumb_deactive_transparent" id="lightbox_filmstrip_thumb_deactive_transparent" value="<?php echo esc_attr($row->lightbox_filmstrip_thumb_deactive_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    36283628                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    36293629                                      </td>
     
    36323632                                      <td class="spider_label"><label for="lightbox_filmstrip_rl_btn_size"><?php echo __('Filmstrip right, left buttons size:', 'photo-gallery'); ?> </label></td>
    36333633                                      <td>
    3634                                         <input type="text" name="lightbox_filmstrip_rl_btn_size" id="lightbox_filmstrip_rl_btn_size" value="<?php echo $row->lightbox_filmstrip_rl_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3634                                        <input type="text" name="lightbox_filmstrip_rl_btn_size" id="lightbox_filmstrip_rl_btn_size" value="<?php echo esc_attr($row->lightbox_filmstrip_rl_btn_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    36353635                                      </td>
    36363636                                    </tr>
     
    36383638                                      <td class="spider_label"><label for="lightbox_filmstrip_rl_btn_color"><?php echo __('Filmstrip right, left buttons color:', 'photo-gallery'); ?> </label></td>
    36393639                                      <td>
    3640                                         <input type="text" name="lightbox_filmstrip_rl_btn_color" id="lightbox_filmstrip_rl_btn_color" value="<?php echo $row->lightbox_filmstrip_rl_btn_color; ?>" class="jscolor"/>
     3640                                        <input type="text" name="lightbox_filmstrip_rl_btn_color" id="lightbox_filmstrip_rl_btn_color" value="<?php echo esc_attr($row->lightbox_filmstrip_rl_btn_color); ?>" class="jscolor"/>
    36413641                                      </td>
    36423642                                    </tr>
     
    36443644                                      <td class="spider_label"><label for="lightbox_filmstrip_rl_bg_color"><?php echo __('Filmstrip right, left button background color:', 'photo-gallery'); ?></label></td>
    36453645                                      <td>
    3646                                         <input type="text" name="lightbox_filmstrip_rl_bg_color" id="lightbox_filmstrip_rl_bg_color" value="<?php echo $row->lightbox_filmstrip_rl_bg_color; ?>" class="jscolor"/>
     3646                                        <input type="text" name="lightbox_filmstrip_rl_bg_color" id="lightbox_filmstrip_rl_bg_color" value="<?php echo esc_attr($row->lightbox_filmstrip_rl_bg_color); ?>" class="jscolor"/>
    36473647                                      </td>
    36483648                                    </tr>
     
    36633663                                          foreach ($aligns as $key => $align) {
    36643664                                            ?>
    3665                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_rate_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     3665                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_rate_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    36663666                                            <?php
    36673667                                          }
     
    36773677                                          foreach ($rate_icons as $key => $rate_icon) {
    36783678                                            ?>
    3679                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_rate_icon == $key) ? 'selected="selected"' : ''); ?>><?php echo __($rate_icon, 'photo-gallery'); ?></option>
     3679                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_rate_icon == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($rate_icon, 'photo-gallery'); ?></option>
    36803680                                            <?php
    36813681                                          }
     
    36873687                                      <td class="spider_label"><label for="lightbox_rate_color"><?php echo __('Rating color:', 'photo-gallery'); ?> </label></td>
    36883688                                      <td>
    3689                                         <input type="text" name="lightbox_rate_color" id="lightbox_rate_color" value="<?php echo $row->lightbox_rate_color; ?>" class="jscolor"/>
     3689                                        <input type="text" name="lightbox_rate_color" id="lightbox_rate_color" value="<?php echo esc_attr($row->lightbox_rate_color); ?>" class="jscolor"/>
    36903690                                      </td>
    36913691                                    </tr>
     
    36933693                                      <td class="spider_label"><label for="lightbox_rate_hover_color"><?php echo __('Rating hover color:', 'photo-gallery'); ?> </label></td>
    36943694                                      <td>
    3695                                         <input type="text" name="lightbox_rate_hover_color" id="lightbox_rate_hover_color" value="<?php echo $row->lightbox_rate_hover_color; ?>" class="jscolor"/>
     3695                                        <input type="text" name="lightbox_rate_hover_color" id="lightbox_rate_hover_color" value="<?php echo esc_attr($row->lightbox_rate_hover_color); ?>" class="jscolor"/>
    36963696                                      </td>
    36973697                                    </tr>
     
    36993699                                      <td class="spider_label"><label for="lightbox_rate_size"><?php echo __('Rating size:', 'photo-gallery'); ?> </label></td>
    37003700                                      <td>
    3701                                         <input type="text" name="lightbox_rate_size" id="lightbox_rate_size" value="<?php echo $row->lightbox_rate_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3701                                        <input type="text" name="lightbox_rate_size" id="lightbox_rate_size" value="<?php echo esc_attr($row->lightbox_rate_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    37023702                                      </td>
    37033703                                    </tr>
     
    37053705                                      <td class="spider_label"><label for="lightbox_rate_stars_count"><?php echo __('Rating icon count:', 'photo-gallery'); ?> </label></td>
    37063706                                      <td>
    3707                                         <input type="text" name="lightbox_rate_stars_count" id="lightbox_rate_stars_count" value="<?php echo $row->lightbox_rate_stars_count; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/>
     3707                                        <input type="text" name="lightbox_rate_stars_count" id="lightbox_rate_stars_count" value="<?php echo esc_attr($row->lightbox_rate_stars_count); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/>
    37083708                                      </td>
    37093709                                    </tr>
     
    37113711                                      <td class="spider_label"><label for="lightbox_rate_padding"><?php echo __('Rating padding:', 'photo-gallery'); ?> </label></td>
    37123712                                      <td>
    3713                                         <input type="text" name="lightbox_rate_padding" id="lightbox_rate_padding" value="<?php echo $row->lightbox_rate_padding; ?>" class="spider_char_input"/>
     3713                                        <input type="text" name="lightbox_rate_padding" id="lightbox_rate_padding" value="<?php echo esc_attr($row->lightbox_rate_padding); ?>" class="spider_char_input"/>
    37143714                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    37153715                                      </td>
     
    37313731                                          foreach ($aligns as $key => $align) {
    37323732                                            ?>
    3733                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_hit_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     3733                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_hit_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    37343734                                            <?php
    37353735                                          }
     
    37413741                                      <td class="spider_label"><label for="lightbox_hit_bg_color"><?php echo __('Hit counter background color:', 'photo-gallery'); ?> </label></td>
    37423742                                      <td>
    3743                                         <input type="text" name="lightbox_hit_bg_color" id="lightbox_hit_bg_color" value="<?php echo $row->lightbox_hit_bg_color; ?>" class="jscolor"/>
     3743                                        <input type="text" name="lightbox_hit_bg_color" id="lightbox_hit_bg_color" value="<?php echo esc_attr($row->lightbox_hit_bg_color); ?>" class="jscolor"/>
    37443744                                      </td>
    37453745                                    </tr>
     
    37473747                                      <td class="spider_label"><label for="lightbox_hit_bg_transparent"><?php echo __('Hit counter background transparency:', 'photo-gallery'); ?> </label></td>
    37483748                                      <td>
    3749                                         <input type="text" name="lightbox_hit_bg_transparent" id="lightbox_hit_bg_transparent" value="<?php echo $row->lightbox_hit_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     3749                                        <input type="text" name="lightbox_hit_bg_transparent" id="lightbox_hit_bg_transparent" value="<?php echo esc_attr($row->lightbox_hit_bg_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    37503750                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    37513751                                      </td>
     
    37543754                                      <td class="spider_label"><label for="lightbox_hit_border_width"><?php echo __('Hit counter border width:', 'photo-gallery'); ?> </label></td>
    37553755                                      <td>
    3756                                         <input type="text" name="lightbox_hit_border_width" id="lightbox_hit_border_width" value="<?php echo $row->lightbox_hit_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3756                                        <input type="text" name="lightbox_hit_border_width" id="lightbox_hit_border_width" value="<?php echo esc_attr($row->lightbox_hit_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    37573757                                      </td>
    37583758                                    </tr>
     
    37643764                                          foreach ($border_styles as $key => $border_style) {
    37653765                                            ?>
    3766                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_hit_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     3766                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_hit_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    37673767                                            <?php
    37683768                                          }
     
    37743774                                      <td class="spider_label"><label for="lightbox_hit_border_color"><?php echo __('Hit counter border color:', 'photo-gallery'); ?> </label></td>
    37753775                                      <td>
    3776                                         <input type="text" name="lightbox_hit_border_color" id="lightbox_hit_border_color" value="<?php echo $row->lightbox_hit_border_color; ?>" class="jscolor"/>
     3776                                        <input type="text" name="lightbox_hit_border_color" id="lightbox_hit_border_color" value="<?php echo esc_attr($row->lightbox_hit_border_color); ?>" class="jscolor"/>
    37773777                                      </td>
    37783778                                    </tr>
     
    37803780                                      <td class="spider_label"><label for="lightbox_hit_border_radius"><?php echo __('Hit counter border radius:', 'photo-gallery'); ?> </label></td>
    37813781                                      <td>
    3782                                         <input type="text" name="lightbox_hit_border_radius" id="lightbox_hit_border_radius" value="<?php echo $row->lightbox_hit_border_radius; ?>" class="spider_char_input"/>
     3782                                        <input type="text" name="lightbox_hit_border_radius" id="lightbox_hit_border_radius" value="<?php echo esc_attr($row->lightbox_hit_border_radius); ?>" class="spider_char_input"/>
    37833783                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    37843784                                      </td>
     
    37873787                                      <td class="spider_label"><label for="lightbox_hit_padding"><?php echo __('Hit counter padding:', 'photo-gallery'); ?> </label></td>
    37883788                                      <td>
    3789                                         <input type="text" name="lightbox_hit_padding" id="lightbox_hit_padding" value="<?php echo $row->lightbox_hit_padding; ?>" class="spider_char_input"/>
     3789                                        <input type="text" name="lightbox_hit_padding" id="lightbox_hit_padding" value="<?php echo esc_attr($row->lightbox_hit_padding); ?>" class="spider_char_input"/>
    37903790                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    37913791                                      </td>
     
    37943794                                      <td class="spider_label"><label for="lightbox_hit_margin"><?php echo __('Hit counter margin:', 'photo-gallery'); ?> </label></td>
    37953795                                      <td>
    3796                                         <input type="text" name="lightbox_hit_margin" id="lightbox_hit_margin" value="<?php echo $row->lightbox_hit_margin; ?>" class="spider_char_input"/>
     3796                                        <input type="text" name="lightbox_hit_margin" id="lightbox_hit_margin" value="<?php echo esc_attr($row->lightbox_hit_margin); ?>" class="spider_char_input"/>
    37973797                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    37983798                                      </td>
     
    38013801                                      <td class="spider_label"><label for="lightbox_hit_color"><?php echo __('Hit counter font color:', 'photo-gallery'); ?> </label></td>
    38023802                                      <td>
    3803                                         <input type="text" name="lightbox_hit_color" id="lightbox_hit_color" value="<?php echo $row->lightbox_hit_color; ?>" class="jscolor"/>
     3803                                        <input type="text" name="lightbox_hit_color" id="lightbox_hit_color" value="<?php echo esc_attr($row->lightbox_hit_color); ?>" class="jscolor"/>
    38043804                                      </td>
    38053805                                    </tr>
     
    38153815                                          foreach ($font_weights as $key => $font_weight) {
    38163816                                            ?>
    3817                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_hit_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     3817                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_hit_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    38183818                                            <?php
    38193819                                          }
     
    38263826                                      </td>
    38273827                                      <td>
    3828                                         <input type="text" name="lightbox_hit_font_size" id="lightbox_hit_font_size" value="<?php echo $row->lightbox_hit_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3828                                        <input type="text" name="lightbox_hit_font_size" id="lightbox_hit_font_size" value="<?php echo esc_attr($row->lightbox_hit_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    38293829                                      </td>
    38303830                                    </tr>
     
    38553855                                          foreach ($aligns as $key => $align) {
    38563856                                            ?>
    3857                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_info_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     3857                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_info_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    38583858                                            <?php
    38593859                                          }
     
    38653865                                      <td class="spider_label"><label for="lightbox_info_bg_color"><?php echo __('Info background color:', 'photo-gallery'); ?> </label></td>
    38663866                                      <td>
    3867                                         <input type="text" name="lightbox_info_bg_color" id="lightbox_info_bg_color" value="<?php echo $row->lightbox_info_bg_color; ?>" class="jscolor"/>
     3867                                        <input type="text" name="lightbox_info_bg_color" id="lightbox_info_bg_color" value="<?php echo esc_attr($row->lightbox_info_bg_color); ?>" class="jscolor"/>
    38683868                                      </td>
    38693869                                    </tr>
     
    38713871                                      <td class="spider_label"><label for="lightbox_info_bg_transparent"><?php echo __('Info background transparency:', 'photo-gallery'); ?> </label></td>
    38723872                                      <td>
    3873                                         <input type="text" name="lightbox_info_bg_transparent" id="lightbox_info_bg_transparent" value="<?php echo $row->lightbox_info_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     3873                                        <input type="text" name="lightbox_info_bg_transparent" id="lightbox_info_bg_transparent" value="<?php echo esc_attr($row->lightbox_info_bg_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    38743874                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    38753875                                      </td>
     
    38783878                                      <td class="spider_label"><label for="lightbox_info_border_width"><?php echo __('Info border width:', 'photo-gallery'); ?> </label></td>
    38793879                                      <td>
    3880                                         <input type="text" name="lightbox_info_border_width" id="lightbox_info_border_width" value="<?php echo $row->lightbox_info_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3880                                        <input type="text" name="lightbox_info_border_width" id="lightbox_info_border_width" value="<?php echo esc_attr($row->lightbox_info_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    38813881                                      </td>
    38823882                                    </tr>
     
    38883888                                          foreach ($border_styles as $key => $border_style) {
    38893889                                            ?>
    3890                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_info_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     3890                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_info_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    38913891                                            <?php
    38923892                                          }
     
    38983898                                      <td class="spider_label"><label for="lightbox_info_border_color"><?php echo __('Info border color:', 'photo-gallery'); ?> </label></td>
    38993899                                      <td>
    3900                                         <input type="text" name="lightbox_info_border_color" id="lightbox_info_border_color" value="<?php echo $row->lightbox_info_border_color; ?>" class="jscolor"/>
     3900                                        <input type="text" name="lightbox_info_border_color" id="lightbox_info_border_color" value="<?php echo esc_attr($row->lightbox_info_border_color); ?>" class="jscolor"/>
    39013901                                      </td>
    39023902                                    </tr>
     
    39043904                                      <td class="spider_label"><label for="lightbox_info_border_radius"><?php echo __('Info border radius:', 'photo-gallery'); ?> </label></td>
    39053905                                      <td>
    3906                                         <input type="text" name="lightbox_info_border_radius" id="lightbox_info_border_radius" value="<?php echo $row->lightbox_info_border_radius; ?>" class="spider_char_input"/>
     3906                                        <input type="text" name="lightbox_info_border_radius" id="lightbox_info_border_radius" value="<?php echo esc_attr($row->lightbox_info_border_radius); ?>" class="spider_char_input"/>
    39073907                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    39083908                                      </td>
     
    39113911                                      <td class="spider_label"><label for="lightbox_info_padding"><?php echo __('Info padding:', 'photo-gallery'); ?></label></td>
    39123912                                      <td>
    3913                                         <input type="text" name="lightbox_info_padding" id="lightbox_info_padding" value="<?php echo $row->lightbox_info_padding; ?>" class="spider_char_input"/>
     3913                                        <input type="text" name="lightbox_info_padding" id="lightbox_info_padding" value="<?php echo esc_attr($row->lightbox_info_padding); ?>" class="spider_char_input"/>
    39143914                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    39153915                                      </td>
     
    39183918                                      <td class="spider_label"><label for="lightbox_info_margin"><?php echo __('Info margin:', 'photo-gallery'); ?> </label></td>
    39193919                                      <td>
    3920                                         <input type="text" name="lightbox_info_margin" id="lightbox_info_margin" value="<?php echo $row->lightbox_info_margin; ?>" class="spider_char_input"/>
     3920                                        <input type="text" name="lightbox_info_margin" id="lightbox_info_margin" value="<?php echo esc_attr($row->lightbox_info_margin); ?>" class="spider_char_input"/>
    39213921                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    39223922                                      </td>
     
    39253925                                      <td class="spider_label"><label for="lightbox_title_color"><?php echo __('Title font color:', 'photo-gallery'); ?> </label></td>
    39263926                                      <td>
    3927                                         <input type="text" name="lightbox_title_color" id="lightbox_title_color" value="<?php echo $row->lightbox_title_color; ?>" class="jscolor"/>
     3927                                        <input type="text" name="lightbox_title_color" id="lightbox_title_color" value="<?php echo esc_attr($row->lightbox_title_color); ?>" class="jscolor"/>
    39283928                                      </td>
    39293929                                    </tr>
     
    39393939                                          foreach ($font_weights as $key => $font_weight) {
    39403940                                            ?>
    3941                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     3941                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    39423942                                            <?php
    39433943                                          }
     
    39503950                                      </td>
    39513951                                      <td>
    3952                                         <input type="text" name="lightbox_title_font_size" id="lightbox_title_font_size" value="<?php echo $row->lightbox_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3952                                        <input type="text" name="lightbox_title_font_size" id="lightbox_title_font_size" value="<?php echo esc_attr($row->lightbox_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    39533953                                      </td>
    39543954                                    </tr>
     
    39563956                                      <td class="spider_label"><label for="lightbox_description_color"><?php echo __('Description font color:', 'photo-gallery'); ?> </label></td>
    39573957                                      <td>
    3958                                         <input type="text" name="lightbox_description_color" id="lightbox_description_color" value="<?php echo $row->lightbox_description_color; ?>" class="jscolor"/>
     3958                                        <input type="text" name="lightbox_description_color" id="lightbox_description_color" value="<?php echo esc_attr($row->lightbox_description_color); ?>" class="jscolor"/>
    39593959                                      </td>
    39603960                                    </tr>
     
    39703970                                          foreach ($font_weights as $key => $font_weight) {
    39713971                                            ?>
    3972                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_description_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     3972                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_description_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    39733973                                            <?php
    39743974                                          }
     
    39813981                                      </td>
    39823982                                      <td>
    3983                                         <input type="text" name="lightbox_description_font_size" id="lightbox_description_font_size" value="<?php echo $row->lightbox_description_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3983                                        <input type="text" name="lightbox_description_font_size" id="lightbox_description_font_size" value="<?php echo esc_attr($row->lightbox_description_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    39843984                                      </td>
    39853985                                    </tr>
     
    39873987                                      <td class="spider_label"><label for="lightbox_comment_width"><?php echo __('Comments Width:', 'photo-gallery'); ?> </label></td>
    39883988                                      <td>
    3989                                         <input type="text" name="lightbox_comment_width" id="lightbox_comment_width" value="<?php echo $row->lightbox_comment_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     3989                                        <input type="text" name="lightbox_comment_width" id="lightbox_comment_width" value="<?php echo esc_attr($row->lightbox_comment_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    39903990                                      </td>
    39913991                                    </tr>
     
    40024002                                      <td class="spider_label"><label for="lightbox_comment_bg_color"><?php echo __('Comments background color:', 'photo-gallery'); ?> </label></td>
    40034003                                      <td>
    4004                                         <input type="text" name="lightbox_comment_bg_color" id="lightbox_comment_bg_color" value="<?php echo $row->lightbox_comment_bg_color; ?>" class="jscolor"/>
     4004                                        <input type="text" name="lightbox_comment_bg_color" id="lightbox_comment_bg_color" value="<?php echo esc_attr($row->lightbox_comment_bg_color); ?>" class="jscolor"/>
    40054005                                      </td>
    40064006                                    </tr>
     
    40084008                                      <td class="spider_label"><label for="lightbox_comment_font_size"><?php echo __('Comments font size:', 'photo-gallery'); ?> </label></td>
    40094009                                      <td>
    4010                                         <input type="text" name="lightbox_comment_font_size" id="lightbox_comment_font_size" value="<?php echo $row->lightbox_comment_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4010                                        <input type="text" name="lightbox_comment_font_size" id="lightbox_comment_font_size" value="<?php echo esc_attr($row->lightbox_comment_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    40114011                                      </td>
    40124012                                    </tr>
     
    40144014                                      <td class="spider_label"><label for="lightbox_comment_font_color"><?php echo __('Comments font color:', 'photo-gallery'); ?></label></td>
    40154015                                      <td>
    4016                                         <input type="text" name="lightbox_comment_font_color" id="lightbox_comment_font_color" value="<?php echo $row->lightbox_comment_font_color; ?>" class="jscolor"/>
     4016                                        <input type="text" name="lightbox_comment_font_color" id="lightbox_comment_font_color" value="<?php echo esc_attr($row->lightbox_comment_font_color); ?>" class="jscolor"/>
    40174017                                      </td>
    40184018                                    </tr>
     
    40254025                                      </td>
    40264026                                      <td>
    4027                                         <input type="text" name="lightbox_comment_author_font_size" id="lightbox_comment_author_font_size" value="<?php echo $row->lightbox_comment_author_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4027                                        <input type="text" name="lightbox_comment_author_font_size" id="lightbox_comment_author_font_size" value="<?php echo esc_attr($row->lightbox_comment_author_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    40284028                                      </td>
    40294029                                    </tr>
     
    40314031                                      <td class="spider_label"><label for="lightbox_comment_date_font_size"><?php echo __('Comments date font size:', 'photo-gallery'); ?> </label></td>
    40324032                                      <td>
    4033                                         <input type="text" name="lightbox_comment_date_font_size" id="lightbox_comment_date_font_size" value="<?php echo $row->lightbox_comment_date_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4033                                        <input type="text" name="lightbox_comment_date_font_size" id="lightbox_comment_date_font_size" value="<?php echo esc_attr($row->lightbox_comment_date_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    40344034                                      </td>
    40354035                                    </tr>
     
    40374037                                      <td class="spider_label"><label for="lightbox_comment_body_font_size"><?php echo __('Comments body font size:', 'photo-gallery'); ?> </label></td>
    40384038                                      <td>
    4039                                         <input type="text" name="lightbox_comment_body_font_size" id="lightbox_comment_body_font_size" value="<?php echo $row->lightbox_comment_body_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4039                                        <input type="text" name="lightbox_comment_body_font_size" id="lightbox_comment_body_font_size" value="<?php echo esc_attr($row->lightbox_comment_body_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    40404040                                      </td>
    40414041                                    </tr>
     
    40434043                                      <td class="spider_label"><label for="lightbox_comment_input_border_width"><?php echo __('Comment input border width:', 'photo-gallery'); ?> </label></td>
    40444044                                      <td>
    4045                                         <input type="text" name="lightbox_comment_input_border_width" id="lightbox_comment_input_border_width" value="<?php echo $row->lightbox_comment_input_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4045                                        <input type="text" name="lightbox_comment_input_border_width" id="lightbox_comment_input_border_width" value="<?php echo esc_attr($row->lightbox_comment_input_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    40464046                                      </td>
    40474047                                    </tr>
     
    40534053                                          foreach ($border_styles as $key => $border_style) {
    40544054                                            ?>
    4055                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_comment_input_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     4055                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_comment_input_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    40564056                                            <?php
    40574057                                          }
     
    40634063                                      <td class="spider_label"><label for="lightbox_comment_input_border_color"><?php echo __('Comment input border color:', 'photo-gallery'); ?> </label></td>
    40644064                                      <td>
    4065                                         <input type="text" name="lightbox_comment_input_border_color" id="lightbox_comment_input_border_color" value="<?php echo $row->lightbox_comment_input_border_color; ?>" class="jscolor"/>
     4065                                        <input type="text" name="lightbox_comment_input_border_color" id="lightbox_comment_input_border_color" value="<?php echo esc_attr($row->lightbox_comment_input_border_color); ?>" class="jscolor"/>
    40664066                                      </td>
    40674067                                    </tr>
     
    40694069                                      <td class="spider_label"><label for="lightbox_comment_input_border_radius"><?php echo __('Comment input border radius:', 'photo-gallery'); ?> </label></td>
    40704070                                      <td>
    4071                                         <input type="text" name="lightbox_comment_input_border_radius" id="lightbox_comment_input_border_radius" value="<?php echo $row->lightbox_comment_input_border_radius; ?>" class="spider_char_input"/>
     4071                                        <input type="text" name="lightbox_comment_input_border_radius" id="lightbox_comment_input_border_radius" value="<?php echo esc_attr($row->lightbox_comment_input_border_radius); ?>" class="spider_char_input"/>
    40724072                                      </td>
    40734073                                    </tr>
     
    40754075                                      <td class="spider_label"><label for="lightbox_comment_input_padding"><?php echo __('Comment input padding:', 'photo-gallery'); ?> </label></td>
    40764076                                      <td>
    4077                                         <input type="text" name="lightbox_comment_input_padding" id="lightbox_comment_input_padding" value="<?php echo $row->lightbox_comment_input_padding; ?>" class="spider_char_input"/>
     4077                                        <input type="text" name="lightbox_comment_input_padding" id="lightbox_comment_input_padding" value="<?php echo esc_attr($row->lightbox_comment_input_padding); ?>" class="spider_char_input"/>
    40784078                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    40794079                                      </td>
     
    40824082                                      <td class="spider_label"><label for="lightbox_comment_input_bg_color"><?php echo __('Comment input background color:', 'photo-gallery'); ?> </label></td>
    40834083                                      <td>
    4084                                         <input type="text" name="lightbox_comment_input_bg_color" id="lightbox_comment_input_bg_color" value="<?php echo $row->lightbox_comment_input_bg_color; ?>" class="jscolor"/>
     4084                                        <input type="text" name="lightbox_comment_input_bg_color" id="lightbox_comment_input_bg_color" value="<?php echo esc_attr($row->lightbox_comment_input_bg_color); ?>" class="jscolor"/>
    40854085                                      </td>
    40864086                                    </tr>
     
    40884088                                      <td class="spider_label"><label for="lightbox_comment_button_bg_color"><?php echo __('Comment button background color:', 'photo-gallery'); ?> </label></td>
    40894089                                      <td>
    4090                                         <input type="text" name="lightbox_comment_button_bg_color" id="lightbox_comment_button_bg_color" value="<?php echo $row->lightbox_comment_button_bg_color; ?>" class="jscolor"/>
     4090                                        <input type="text" name="lightbox_comment_button_bg_color" id="lightbox_comment_button_bg_color" value="<?php echo esc_attr($row->lightbox_comment_button_bg_color); ?>" class="jscolor"/>
    40914091                                      </td>
    40924092                                    </tr>
     
    40944094                                      <td class="spider_label"><label for="lightbox_comment_button_padding"><?php echo __('Comment button padding:', 'photo-gallery'); ?> </label></td>
    40954095                                      <td>
    4096                                         <input type="text" name="lightbox_comment_button_padding" id="lightbox_comment_button_padding" value="<?php echo $row->lightbox_comment_button_padding; ?>" class="spider_char_input"/>
     4096                                        <input type="text" name="lightbox_comment_button_padding" id="lightbox_comment_button_padding" value="<?php echo esc_attr($row->lightbox_comment_button_padding); ?>" class="spider_char_input"/>
    40974097                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    40984098                                      </td>
     
    41014101                                      <td class="spider_label"><label for="lightbox_comment_button_border_width"><?php echo __('Comment button border width:', 'photo-gallery'); ?> </label></td>
    41024102                                      <td>
    4103                                         <input type="text" name="lightbox_comment_button_border_width" id="lightbox_comment_button_border_width" value="<?php echo $row->lightbox_comment_button_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4103                                        <input type="text" name="lightbox_comment_button_border_width" id="lightbox_comment_button_border_width" value="<?php echo esc_attr($row->lightbox_comment_button_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    41044104                                      </td>
    41054105                                    </tr>
     
    41114111                                          foreach ($border_styles as $key => $border_style) {
    41124112                                            ?>
    4113                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_comment_button_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     4113                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_comment_button_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    41144114                                            <?php
    41154115                                          }
     
    41214121                                      <td class="spider_label"><label for="lightbox_comment_button_border_color"><?php echo __('Comment button border color:', 'photo-gallery'); ?> </label></td>
    41224122                                      <td>
    4123                                         <input type="text" name="lightbox_comment_button_border_color" id="lightbox_comment_button_border_color" value="<?php echo $row->lightbox_comment_button_border_color; ?>" class="jscolor"/>
     4123                                        <input type="text" name="lightbox_comment_button_border_color" id="lightbox_comment_button_border_color" value="<?php echo esc_attr($row->lightbox_comment_button_border_color); ?>" class="jscolor"/>
    41244124                                      </td>
    41254125                                    </tr>
     
    41274127                                      <td class="spider_label"><label for="lightbox_comment_button_border_radius">C<?php echo __('omment button border radius:', 'photo-gallery'); ?> </label></td>
    41284128                                      <td>
    4129                                         <input type="text" name="lightbox_comment_button_border_radius" id="lightbox_comment_button_border_radius" value="<?php echo $row->lightbox_comment_button_border_radius; ?>" class="spider_char_input" />
     4129                                        <input type="text" name="lightbox_comment_button_border_radius" id="lightbox_comment_button_border_radius" value="<?php echo esc_attr($row->lightbox_comment_button_border_radius); ?>" class="spider_char_input" />
    41304130                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    41314131                                      </td>
     
    41344134                                      <td class="spider_label"><label for="lightbox_comment_separator_width"><?php echo __('Comment separator width:', 'photo-gallery'); ?> </label></td>
    41354135                                      <td>
    4136                                         <input type="text" name="lightbox_comment_separator_width" id="lightbox_comment_separator_width" value="<?php echo $row->lightbox_comment_separator_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4136                                        <input type="text" name="lightbox_comment_separator_width" id="lightbox_comment_separator_width" value="<?php echo esc_attr($row->lightbox_comment_separator_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    41374137                                      </td>
    41384138                                    </tr>
     
    41444144                                          foreach ($border_styles as $key => $border_style) {
    41454145                                            ?>
    4146                                             <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_comment_separator_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     4146                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->lightbox_comment_separator_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    41474147                                            <?php
    41484148                                          }
     
    41544154                                      <td class="spider_label"><label for="lightbox_comment_separator_color"><?php echo __('Comment separator color:', 'photo-gallery'); ?> </label></td>
    41554155                                      <td>
    4156                                         <input type="text" name="lightbox_comment_separator_color" id="lightbox_comment_separator_color" value="<?php echo $row->lightbox_comment_separator_color; ?>" class="jscolor"/>
     4156                                        <input type="text" name="lightbox_comment_separator_color" id="lightbox_comment_separator_color" value="<?php echo esc_attr($row->lightbox_comment_separator_color); ?>" class="jscolor"/>
    41574157                                      </td>
    41584158                                    </tr>
     
    41744174                                      <td class="spider_label"><label for="page_nav_font_size"><?php echo __('Font size:', 'photo-gallery'); ?> </label></td>
    41754175                                      <td>
    4176                                         <input type="text" name="page_nav_font_size" id="page_nav_font_size" value="<?php echo $row->page_nav_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4176                                        <input type="text" name="page_nav_font_size" id="page_nav_font_size" value="<?php echo esc_attr($row->page_nav_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    41774177                                      </td>
    41784178                                    </tr>
     
    41804180                                      <td class="spider_label"><label for="page_nav_font_color"><?php echo __('Font color:', 'photo-gallery'); ?> </label></td>
    41814181                                      <td>
    4182                                         <input type="text" name="page_nav_font_color" id="page_nav_font_color" value="<?php echo $row->page_nav_font_color; ?>" class="jscolor"/>
     4182                                        <input type="text" name="page_nav_font_color" id="page_nav_font_color" value="<?php echo esc_attr($row->page_nav_font_color); ?>" class="jscolor"/>
    41834183                                      </td>
    41844184                                    </tr>
     
    41944194                                          foreach ($font_weights as $key => $font_weight) {
    41954195                                            ?>
    4196                                             <option value="<?php echo $key; ?>" <?php echo (($row->page_nav_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     4196                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->page_nav_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    41974197                                            <?php
    41984198                                          }
     
    42044204                                      <td class="spider_label"><label for="page_nav_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
    42054205                                      <td>
    4206                                         <input type="text" name="page_nav_border_width" id="page_nav_border_width" value="<?php echo $row->page_nav_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4206                                        <input type="text" name="page_nav_border_width" id="page_nav_border_width" value="<?php echo esc_attr($row->page_nav_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    42074207                                      </td>
    42084208                                    </tr>
     
    42144214                                          foreach ($border_styles as $key => $border_style) {
    42154215                                            ?>
    4216                                             <option value="<?php echo $key; ?>" <?php echo (($row->page_nav_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     4216                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->page_nav_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    42174217                                            <?php
    42184218                                          }
     
    42244224                                      <td class="spider_label"><label for="page_nav_border_color"><?php echo __('Border color:', 'photo-gallery'); ?></label></td>
    42254225                                      <td>
    4226                                         <input type="text" name="page_nav_border_color" id="page_nav_border_color" value="<?php echo $row->page_nav_border_color; ?>" class="jscolor"/>
     4226                                        <input type="text" name="page_nav_border_color" id="page_nav_border_color" value="<?php echo esc_attr($row->page_nav_border_color); ?>" class="jscolor"/>
    42274227                                      </td>
    42284228                                    </tr>
     
    42304230                                      <td class="spider_label"><label for="page_nav_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
    42314231                                      <td>
    4232                                         <input type="text" name="page_nav_border_radius" id="page_nav_border_radius" value="<?php echo $row->page_nav_border_radius; ?>" class="spider_char_input"/>
     4232                                        <input type="text" name="page_nav_border_radius" id="page_nav_border_radius" value="<?php echo esc_attr($row->page_nav_border_radius); ?>" class="spider_char_input"/>
    42334233                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    42344234                                      </td>
     
    42474247                                      <td class="spider_label"><label for="page_nav_margin"><?php echo __('Margin:', 'photo-gallery'); ?> </label></td>
    42484248                                      <td>
    4249                                         <input type="text" name="page_nav_margin" id="page_nav_margin" value="<?php echo $row->page_nav_margin; ?>" class="spider_char_input"/>
     4249                                        <input type="text" name="page_nav_margin" id="page_nav_margin" value="<?php echo esc_attr($row->page_nav_margin); ?>" class="spider_char_input"/>
    42504250                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    42514251                                      </td>
     
    42544254                                      <td class="spider_label"><label for="page_nav_padding"><?php echo __('Padding:', 'photo-gallery'); ?> </label></td>
    42554255                                      <td>
    4256                                         <input type="text" name="page_nav_padding" id="page_nav_padding" value="<?php echo $row->page_nav_padding; ?>" class="spider_char_input"/>
     4256                                        <input type="text" name="page_nav_padding" id="page_nav_padding" value="<?php echo esc_attr($row->page_nav_padding); ?>" class="spider_char_input"/>
    42574257                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    42584258                                      </td>
     
    42614261                                      <td class="spider_label"><label for="page_nav_button_bg_color"><?php echo __('Button background color:', 'photo-gallery'); ?> </label></td>
    42624262                                      <td>
    4263                                         <input type="text" name="page_nav_button_bg_color" id="page_nav_button_bg_color" value="<?php echo $row->page_nav_button_bg_color; ?>" class="jscolor" />
     4263                                        <input type="text" name="page_nav_button_bg_color" id="page_nav_button_bg_color" value="<?php echo esc_attr($row->page_nav_button_bg_color); ?>" class="jscolor" />
    42644264                                      </td>
    42654265                                    </tr>
     
    42674267                                      <td class="spider_label"><label for="page_nav_button_bg_transparent"><?php echo __('Button background transparency:', 'photo-gallery'); ?> </label></td>
    42684268                                      <td>
    4269                                         <input type="text" name="page_nav_button_bg_transparent" id="page_nav_button_bg_transparent" value="<?php echo $row->page_nav_button_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     4269                                        <input type="text" name="page_nav_button_bg_transparent" id="page_nav_button_bg_transparent" value="<?php echo esc_attr($row->page_nav_button_bg_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    42704270                                        <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    42714271                                      </td>
     
    42834283                                      <td class="spider_label"><label for="page_nav_box_shadow"><?php echo __('Box shadow:', 'photo-gallery'); ?> </label></td>
    42844284                                      <td>
    4285                                         <input type="text" name="page_nav_box_shadow" id="page_nav_box_shadow" value="<?php echo $row->page_nav_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     4285                                        <input type="text" name="page_nav_box_shadow" id="page_nav_box_shadow" value="<?php echo esc_attr($row->page_nav_box_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    42864286                                        <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    42874287                                      </td>
     
    43134313                                          foreach ($aligns as $key => $align) {
    43144314                                            ?>
    4315                                             <option value="<?php echo $key; ?>" <?php echo (($row->page_nav_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
     4315                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->page_nav_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    43164316                                            <?php
    43174317                                          }
     
    43564356                                  <td class="spider_label"><label for="carousel_cont_bg_color"><?php echo __('Background color:', 'photo-gallery'); ?> </label></td>
    43574357                                  <td>
    4358                                     <input type="text" name="carousel_cont_bg_color" id="carousel_cont_bg_color" value="<?php echo $row->carousel_cont_bg_color; ?>" class="jscolor"/>
     4358                                    <input type="text" name="carousel_cont_bg_color" id="carousel_cont_bg_color" value="<?php echo esc_attr($row->carousel_cont_bg_color); ?>" class="jscolor"/>
    43594359                                  </td>
    43604360                                </tr>
     
    43624362                                  <td class="spider_label"><label for="carousel_cont_btn_transparent"><?php echo __('Container opacity:', 'photo-gallery'); ?> </label></td>
    43634363                                  <td>
    4364                                     <input type="text" name="carousel_cont_btn_transparent" id="carousel_cont_btn_transparent" value="<?php echo $row->carousel_cont_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     4364                                    <input type="text" name="carousel_cont_btn_transparent" id="carousel_cont_btn_transparent" value="<?php echo esc_attr($row->carousel_cont_btn_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    43654365                                    <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    43664366                                  </td>
     
    43694369                                  <td class="spider_label"><label for="carousel_rl_btn_size"><?php echo __('Right, left buttons size:', 'photo-gallery'); ?> </label></td>
    43704370                                  <td>
    4371                                     <input type="text" name="carousel_rl_btn_size" id="carousel_rl_btn_size" value="<?php echo $row->carousel_rl_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4371                                    <input type="text" name="carousel_rl_btn_size" id="carousel_rl_btn_size" value="<?php echo esc_attr($row->carousel_rl_btn_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    43724372                                  </td>
    43734373                                </tr>
     
    43754375                                  <td class="spider_label"><label for="carousel_play_pause_btn_size"><?php echo __('Play, pause buttons size:', 'photo-gallery'); ?> </label></td>
    43764376                                  <td>
    4377                                     <input type="text" name="carousel_play_pause_btn_size" id="carousel_play_pause_btn_size" value="<?php echo $row->carousel_play_pause_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4377                                    <input type="text" name="carousel_play_pause_btn_size" id="carousel_play_pause_btn_size" value="<?php echo esc_attr($row->carousel_play_pause_btn_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    43784378                                  </td>
    43794379                                </tr>
     
    43814381                                  <td class="spider_label"><label for="carousel_rl_btn_color"><?php echo __('Buttons color:', 'photo-gallery'); ?> </label></td>
    43824382                                  <td>
    4383                                     <input type="text" name="carousel_rl_btn_color" id="carousel_rl_btn_color" value="<?php echo $row->carousel_rl_btn_color; ?>" class="jscolor"/>
     4383                                    <input type="text" name="carousel_rl_btn_color" id="carousel_rl_btn_color" value="<?php echo esc_attr($row->carousel_rl_btn_color); ?>" class="jscolor"/>
    43844384                                  </td>
    43854385                                </tr>
     
    43874387                                  <td class="spider_label"><label for="carousel_close_btn_transparent"><?php echo __('Buttons transparency:', 'photo-gallery'); ?> </label></td>
    43884388                                  <td>
    4389                                     <input type="text" name="carousel_close_btn_transparent" id="carousel_close_btn_transparent" value="<?php echo $row->carousel_close_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     4389                                    <input type="text" name="carousel_close_btn_transparent" id="carousel_close_btn_transparent" value="<?php echo esc_attr($row->carousel_close_btn_transparent); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    43904390                                    <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    43914391                                  </td>
     
    43944394                                  <td class="spider_label"><label for="carousel_close_rl_btn_hover_color"><?php echo __('Buttons hover color:', 'photo-gallery'); ?> </label></td>
    43954395                                  <td>
    4396                                     <input type="text" name="carousel_close_rl_btn_hover_color" id="carousel_close_rl_btn_hover_color" value="<?php echo $row->carousel_close_rl_btn_hover_color; ?>" class="jscolor"/>
     4396                                    <input type="text" name="carousel_close_rl_btn_hover_color" id="carousel_close_rl_btn_hover_color" value="<?php echo esc_attr($row->carousel_close_rl_btn_hover_color); ?>" class="jscolor"/>
    43974397                                  </td>
    43984398                                </tr>
     
    44004400                                  <td class="spider_label"><label for="carousel_rl_btn_width"><?php echo __('Right, left buttons width:', 'photo-gallery'); ?> </label></td>
    44014401                                  <td>
    4402                                     <input type="text" name="carousel_rl_btn_width" id="carousel_rl_btn_width" value="<?php echo $row->carousel_rl_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4402                                    <input type="text" name="carousel_rl_btn_width" id="carousel_rl_btn_width" value="<?php echo esc_attr($row->carousel_rl_btn_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    44034403                                  </td>
    44044404                                </tr>
     
    44064406                                  <td class="spider_label"><label for="carousel_rl_btn_height"><?php echo __('Right, left buttons height:', 'photo-gallery'); ?> </label></td>
    44074407                                  <td>
    4408                                     <input type="text" name="carousel_rl_btn_height" id="slideshow_rl_btn_height" value="<?php echo $row->carousel_rl_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4408                                    <input type="text" name="carousel_rl_btn_height" id="slideshow_rl_btn_height" value="<?php echo esc_attr($row->carousel_rl_btn_height); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    44094409                                  </td>
    44104410                                </tr>
     
    44124412                                  <td class="spider_label"><label for="carousel_rl_btn_bg_color"><?php echo __('Right, left buttons background color:', 'photo-gallery'); ?> </label></td>
    44134413                                  <td>
    4414                                     <input type="text" name="carousel_rl_btn_bg_color" id="carousel_rl_btn_bg_color" value="<?php echo $row->carousel_rl_btn_bg_color; ?>" class="jscolor"/>
     4414                                    <input type="text" name="carousel_rl_btn_bg_color" id="carousel_rl_btn_bg_color" value="<?php echo esc_attr($row->carousel_rl_btn_bg_color); ?>" class="jscolor"/>
    44154415                                  </td>
    44164416                                </tr>
     
    44184418                                  <td class="spider_label"><label for="carousel_rl_btn_border_width"><?php echo __('Right, left buttons border width:', 'photo-gallery'); ?> </label></td>
    44194419                                  <td>
    4420                                     <input type="text" name="carousel_rl_btn_border_width" id="carousel_rl_btn_border_width" value="<?php echo $row->carousel_rl_btn_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4420                                    <input type="text" name="carousel_rl_btn_border_width" id="carousel_rl_btn_border_width" value="<?php echo esc_attr($row->carousel_rl_btn_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    44214421                                  </td>
    44224422                                </tr>
     
    44284428                                      foreach ($border_styles as $key => $border_style) {
    44294429                                        ?>
    4430                                         <option value="<?php echo $key; ?>" <?php echo (($row->carousel_rl_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     4430                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->carousel_rl_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    44314431                                        <?php
    44324432                                      }
     
    44384438                                  <td class="spider_label"><label for="carousel_rl_btn_border_color"><?php echo __('Right, left buttons border color:', 'photo-gallery'); ?> </label></td>
    44394439                                  <td>
    4440                                     <input type="text" name="carousel_rl_btn_border_color" id="slideshow_rl_btn_border_color" value="<?php echo $row->carousel_rl_btn_border_color; ?>" class="jscolor"/>
     4440                                    <input type="text" name="carousel_rl_btn_border_color" id="slideshow_rl_btn_border_color" value="<?php echo esc_attr($row->carousel_rl_btn_border_color); ?>" class="jscolor"/>
    44414441                                  </td>
    44424442                                </tr>
     
    44444444                                  <td class="spider_label"><label for="carousel_rl_btn_border_radius"><?php echo __('Right, left buttons border radius:', 'photo-gallery'); ?> </label></td>
    44454445                                  <td>
    4446                                     <input type="text" name="carousel_rl_btn_border_radius" id="carousel_rl_btn_border_radius" value="<?php echo $row->carousel_rl_btn_border_radius; ?>" class="spider_char_input"/>
     4446                                    <input type="text" name="carousel_rl_btn_border_radius" id="carousel_rl_btn_border_radius" value="<?php echo esc_attr($row->carousel_rl_btn_border_radius); ?>" class="spider_char_input"/>
    44474447                                    <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    44484448                                  </td>
     
    44554455                                      foreach ($button_styles as $key => $button_style) {
    44564456                                        ?>
    4457                                         <option value="<?php echo $key; ?>" <?php echo (($row->carousel_rl_btn_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($button_style, 'photo-gallery'); ?></option>
     4457                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->carousel_rl_btn_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($button_style, 'photo-gallery'); ?></option>
    44584458                                        <?php
    44594459                                      }
     
    44754475                                        <td class="spider_label"><label for="carousel_mergin_bottom"><?php echo __('Carousel margin:', 'photo-gallery'); ?> </label></td>
    44764476                                        <td>
    4477                                             <input type="text" name="carousel_mergin_bottom" id="carousel_mergin_bottom" value="<?php echo $row->carousel_mergin_bottom; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4477                                            <input type="text" name="carousel_mergin_bottom" id="carousel_mergin_bottom" value="<?php echo esc_attr($row->carousel_mergin_bottom); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    44784478                                        </td>
    44794479                                    </tr>
     
    44814481                                  <td class="spider_label"><label for="carousel_feature_border_width"><?php echo __('Image border width:', 'photo-gallery'); ?> </label></td>
    44824482                                  <td>
    4483                                     <input type="text" name="carousel_feature_border_width" id="carousel_feature_border_width" value="<?php echo $row->carousel_feature_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/>px
     4483                                    <input type="text" name="carousel_feature_border_width" id="carousel_feature_border_width" value="<?php echo esc_attr($row->carousel_feature_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/>px
    44844484                                  </td>
    44854485                                </tr>
     
    44934493                                      foreach ($border_styles as $key => $border_style) {
    44944494                                        ?>
    4495                                         <option value="<?php echo $key; ?>" <?php echo (($row->carousel_feature_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     4495                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->carousel_feature_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    44964496                                        <?php
    44974497                                      }
     
    45034503                                  <td class="spider_label"><label for="carousel_feature_border_color"><?php echo __('Image border color:', 'photo-gallery'); ?> </label></td>
    45044504                                  <td>
    4505                                     <input type="text" name="carousel_feature_border_color" id="carousel_feature_border_color" value="<?php echo $row->carousel_feature_border_color; ?>" class="jscolor"/>
     4505                                    <input type="text" name="carousel_feature_border_color" id="carousel_feature_border_color" value="<?php echo esc_attr($row->carousel_feature_border_color); ?>" class="jscolor"/>
    45064506                                  </td>
    45074507                                </tr>
     
    45194519                                  <td class="spider_label"><label for="carousel_caption_background_color"><?php echo __('Title background color:', 'photo-gallery'); ?> </label></td>
    45204520                                  <td>
    4521                                     <input type="text" name="carousel_caption_background_color" id="carousel_caption_background_color" value="<?php echo $row->carousel_caption_background_color; ?>" class="jscolor"/>
     4521                                    <input type="text" name="carousel_caption_background_color" id="carousel_caption_background_color" value="<?php echo esc_attr($row->carousel_caption_background_color); ?>" class="jscolor"/>
    45224522                                  </td>
    45234523                                </tr>
     
    45264526                                  <td class="spider_label"><label for="carousel_title_opacity"><?php echo __('Title opacity:', 'photo-gallery'); ?> </label></td>
    45274527                                  <td>
    4528                                     <input type="text" name="carousel_title_opacity" id="carousel_title_opacity" value="<?php echo $row->carousel_title_opacity; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
     4528                                    <input type="text" name="carousel_title_opacity" id="carousel_title_opacity" value="<?php echo esc_attr($row->carousel_title_opacity); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
    45294529                                    <div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
    45304530                                  </td>
     
    45334533                                  <td class="spider_label"><label for="carousel_title_border_radius"><?php echo __('Title border radius:', 'photo-gallery'); ?> </label></td>
    45344534                                  <td>
    4535                                     <input type="text" name="carousel_title_border_radius" id="carousel_title_border_radius" value="<?php echo $row->carousel_title_border_radius; ?>" class="spider_char_input"/>
     4535                                    <input type="text" name="carousel_title_border_radius" id="carousel_title_border_radius" value="<?php echo esc_attr($row->carousel_title_border_radius); ?>" class="spider_char_input"/>
    45364536                                    <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    45374537                                  </td>
     
    45404540                                  <td class="spider_label"><label for="carousel_caption_p_mergin"><?php echo __('Title margin:', 'photo-gallery'); ?> </label></td>
    45414541                                  <td>
    4542                                     <input type="text" name="carousel_caption_p_mergin" id="carousel_caption_p_mergin" value="<?php echo $row->carousel_caption_p_mergin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
     4542                                    <input type="text" name="carousel_caption_p_mergin" id="carousel_caption_p_mergin" value="<?php echo esc_attr($row->carousel_caption_p_mergin); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
    45434543                                  </td>
    45444544                                </tr>
     
    45464546                                  <td class="spider_label"><label for="carousel_caption_p_pedding"><?php echo __('Title padding:', 'photo-gallery'); ?> </label></td>
    45474547                                  <td>
    4548                                     <input type="text" name="carousel_caption_p_pedding" id="carousel_caption_p_pedding" value="<?php echo $row->carousel_caption_p_pedding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
     4548                                    <input type="text" name="carousel_caption_p_pedding" id="carousel_caption_p_pedding" value="<?php echo esc_attr($row->carousel_caption_p_pedding); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
    45494549                                  </td>
    45504550                                </tr>
     
    45564556                                  <td class="spider_label"><label for="carousel_caption_p_font_size"><?php echo __('Title font size:', 'photo-gallery'); ?> </label></td>
    45574557                                  <td>
    4558                                     <input type="text" name="carousel_caption_p_font_size" id="carousel_caption_p_font_size" value="<?php echo $row->carousel_caption_p_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
     4558                                    <input type="text" name="carousel_caption_p_font_size" id="carousel_caption_p_font_size" value="<?php echo esc_attr($row->carousel_caption_p_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
    45594559                                  </td>
    45604560                                </tr>
     
    45624562                                  <td class="spider_label"><label for="carousel_caption_p_color"><?php echo __('Title color:', 'photo-gallery'); ?> </label></td>
    45634563                                  <td>
    4564                                     <input type="text" name="carousel_caption_p_color" id="carousel_caption_p_color" value="<?php echo $row->carousel_caption_p_color; ?>" class="jscolor"/>
     4564                                    <input type="text" name="carousel_caption_p_color" id="carousel_caption_p_color" value="<?php echo esc_attr($row->carousel_caption_p_color); ?>" class="jscolor"/>
    45654565                                  </td>
    45664566                                </tr>
     
    45724572                                      foreach ($font_weights as $key => $font_weight) {
    45734573                                        ?>
    4574                                         <option value="<?php echo $key; ?>" <?php echo (($row->carousel_caption_p_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     4574                                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->carousel_caption_p_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    45754575                                        <?php
    45764576                                      }
     
    45834583                  <td>
    45844584                    <input type="text" name="carousel_gal_title_font_size" id="carousel_gal_title_font_size" value="<?php echo
    4585                     $row->carousel_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4585                    esc_attr($row->carousel_gal_title_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    45864586                  </td>
    45874587                </tr>
     
    45894589                  <td class="spider_label"><label for="carousel_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
    45904590                  <td>
    4591                     <input type="text" name="carousel_gal_title_font_color" id="carousel_gal_title_font_color" value="<?php echo $row->carousel_gal_title_font_color; ?>" class="jscolor" />
     4591                    <input type="text" name="carousel_gal_title_font_color" id="carousel_gal_title_font_color" value="<?php echo esc_attr($row->carousel_gal_title_font_color); ?>" class="jscolor" />
    45924592                  </td>
    45934593                </tr>
     
    46034603                      foreach ($font_weights as $key => $font_weight) {
    46044604                        ?>
    4605                         <option value="<?php echo $key; ?>" <?php echo (($row->carousel_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     4605                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->carousel_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    46064606                        <?php
    46074607                      }
     
    46134613                  <td class="spider_label"><label for="carousel_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
    46144614                  <td>
    4615                     <input type="text" name="carousel_gal_title_shadow" id="carousel_gal_title_shadow" value="<?php echo $row->carousel_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
     4615                    <input type="text" name="carousel_gal_title_shadow" id="carousel_gal_title_shadow" value="<?php echo esc_attr($row->carousel_gal_title_shadow); ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
    46164616                    <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    46174617                  </td>
     
    46204620                  <td class="spider_label"><label for="carousel_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
    46214621                  <td>
    4622                     <input type="text" name="carousel_gal_title_margin" id="carousel_gal_title_margin" value="<?php echo $row->carousel_gal_title_margin; ?>" class="spider_char_input" />
     4622                    <input type="text" name="carousel_gal_title_margin" id="carousel_gal_title_margin" value="<?php echo esc_attr($row->carousel_gal_title_margin); ?>" class="spider_char_input" />
    46234623                    <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    46244624                  </td>
     
    46314631                      foreach ($aligns as $key => $align) {
    46324632                        ?>
    4633                         <option value="<?php echo $key; ?>" <?php echo (($row->carousel_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
     4633                        <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->carousel_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($align, 'photo-gallery'); ?></option>
    46344634                        <?php
    46354635                      }
     
    46744674                                        <td class="spider_label"><label for="tags_but_font_size"><?php echo __('Font size:', 'photo-gallery'); ?> </label></td>
    46754675                                        <td>
    4676                                             <input type="text" name="tags_but_font_size" id="tags_but_font_size" value="<?php echo $row->tags_but_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4676                                            <input type="text" name="tags_but_font_size" id="tags_but_font_size" value="<?php echo esc_attr($row->tags_but_font_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    46774677                                        </td>
    46784678                                    </tr>
    46794679                                    <tr>
    46804680                                        <td class="spider_label"><label for="tags_but_font_color"><?php echo __('Font color:', 'photo-gallery'); ?> </label></td>
    4681                                         <td><input type="text" name="tags_but_font_color" id="tags_but_font_color" value="<?php echo $row->tags_but_font_color; ?>" class="jscolor"/></td>
     4681                                        <td><input type="text" name="tags_but_font_color" id="tags_but_font_color" value="<?php echo esc_attr($row->tags_but_font_color); ?>" class="jscolor"/></td>
    46824682                                    </tr>
    46834683                                    <tr>
     
    46904690                                            <select name="tags_but_font_weight" id="tags_but_font_weight">
    46914691                                                <?php foreach ($font_weights as $key => $font_weight) { ?>
    4692                                                     <option value="<?php echo $key; ?>" <?php echo (($row->tags_but_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
     4692                                                    <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->tags_but_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($font_weight, 'photo-gallery'); ?></option>
    46934693                                             <?php } ?>
    46944694                                            </select>
     
    46984698                                        <td class="spider_label"><label for="tags_but_margin"><?php echo __('Margin:', 'photo-gallery'); ?> </label></td>
    46994699                                        <td>
    4700                                             <input type="text" name="tags_but_margin" id="tags_but_margin" value="<?php echo $row->tags_but_margin; ?>" class="spider_char_input"/>
     4700                                            <input type="text" name="tags_but_margin" id="tags_but_margin" value="<?php echo esc_attr($row->tags_but_margin); ?>" class="spider_char_input"/>
    47014701                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    47024702                                        </td>
     
    47054705                                        <td class="spider_label"><label for="tags_but_padding"><?php echo __('Padding:', 'photo-gallery'); ?> </label></td>
    47064706                                        <td>
    4707                                             <input type="text" name="tags_but_padding" id="tags_but_padding" value="<?php echo $row->tags_but_padding; ?>" class="spider_char_input"/>
     4707                                            <input type="text" name="tags_but_padding" id="tags_but_padding" value="<?php echo esc_attr($row->tags_but_padding); ?>" class="spider_char_input"/>
    47084708                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    47094709                                        </td>
     
    47124712                                        <td class="spider_label"><label for="tags_but_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
    47134713                                        <td>
    4714                                             <input type="text" name="tags_but_border_width" id="tags_but_border_width" value="<?php echo $row->tags_but_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4714                                            <input type="text" name="tags_but_border_width" id="tags_but_border_width" value="<?php echo esc_attr($row->tags_but_border_width); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    47154715                                        </td>
    47164716                                    </tr>
     
    47204720                                            <select name="tags_but_border_style" id="tags_but_border_style">
    47214721                                                <?php foreach ($border_styles as $key => $border_style) { ?>
    4722                                                     <option value="<?php echo $key; ?>" <?php echo (($row->tags_but_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     4722                                                    <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->tags_but_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    47234723                                              <?php } ?>
    47244724                                            </select>
     
    47274727                                    <tr>
    47284728                                        <td class="spider_label"><label for="tags_but_border_color"><?php echo __('Border color:', 'photo-gallery'); ?></label></td>
    4729                                         <td><input type="text" name="tags_but_border_color" id="tags_but_border_color" value="<?php echo $row->tags_but_border_color; ?>" class="jscolor"/></td>
     4729                                        <td><input type="text" name="tags_but_border_color" id="tags_but_border_color" value="<?php echo esc_attr($row->tags_but_border_color); ?>" class="jscolor"/></td>
    47304730                                    </tr>
    47314731                                    <tr>
    47324732                                        <td class="spider_label"><label for="tags_but_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
    47334733                                        <td>
    4734                                             <input type="text" name="tags_but_border_radius" id="tags_but_border_radius" value="<?php echo $row->tags_but_border_radius; ?>" class="spider_char_input"/>
     4734                                            <input type="text" name="tags_but_border_radius" id="tags_but_border_radius" value="<?php echo esc_attr($row->tags_but_border_radius); ?>" class="spider_char_input"/>
    47354735                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    47364736                                        </td>
     
    47384738                                    <tr>
    47394739                                        <td class="spider_label"><label for="tags_but_bg_color"><?php echo __('Button background color:', 'photo-gallery'); ?> </label></td>
    4740                                         <td><input type="text" name="tags_but_bg_color" id="tags_but_bg_color" value="<?php echo $row->tags_but_bg_color; ?>" class="jscolor" /></td>
     4740                                        <td><input type="text" name="tags_but_bg_color" id="tags_but_bg_color" value="<?php echo esc_attr($row->tags_but_bg_color); ?>" class="jscolor" /></td>
    47414741                                    </tr>
    47424742                                    <tr>
    47434743                                        <td class="spider_label"><label for="tags_but_active_bg_color"><?php echo __('Active Button background color:', 'photo-gallery'); ?> </label></td>
    4744                                         <td><input type="text" name="tags_but_active_bg_color" id="tags_but_active_bg_color" value="<?php echo $row->tags_but_active_bg_color; ?>" class="jscolor" /></td>
     4744                                        <td><input type="text" name="tags_but_active_bg_color" id="tags_but_active_bg_color" value="<?php echo esc_attr($row->tags_but_active_bg_color); ?>" class="jscolor" /></td>
    47454745                                    </tr>
    47464746                                    <tr>
    47474747                                        <td class="spider_label"><label for="tags_but_active_color"><?php echo __('Active Button font color:', 'photo-gallery'); ?> </label></td>
    4748                                         <td><input type="text" name="tags_but_active_color" id="tags_but_active_color" value="<?php echo $row->tags_but_active_color; ?>" class="jscolor" /></td>
     4748                                        <td><input type="text" name="tags_but_active_color" id="tags_but_active_color" value="<?php echo esc_attr($row->tags_but_active_color); ?>" class="jscolor" /></td>
    47494749                                    </tr>
    47504750                                    <tr>
    47514751                                        <td class="spider_label"><label for="tags_but_see_all_size"><?php echo __('See All Button Font size:', 'photo-gallery'); ?> </label></td>
    47524752                                        <td>
    4753                                             <input type="text" name="tags_but_see_all_size" id="tags_but_see_all_size" value="<?php echo $row->tags_but_see_all_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4753                                            <input type="text" name="tags_but_see_all_size" id="tags_but_see_all_size" value="<?php echo esc_attr($row->tags_but_see_all_size); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    47544754                                        </td>
    47554755                                    </tr>
    47564756                                    <tr>
    47574757                                        <td class="spider_label"><label for="tags_but_see_all_color"><?php echo __('See All Button Font color:', 'photo-gallery'); ?> </label></td>
    4758                                         <td><input type="text" name="tags_but_see_all_color" id="tags_but_see_all_color" value="<?php echo $row->tags_but_see_all_color; ?>" class="jscolor"/></td>
     4758                                        <td><input type="text" name="tags_but_see_all_color" id="tags_but_see_all_color" value="<?php echo esc_attr($row->tags_but_see_all_color); ?>" class="jscolor"/></td>
    47594759                                    </tr>
    47604760                                    <tr>
    47614761                                        <td class="spider_label"><label for="tags_but_see_all_back_color"><?php echo __('See All Button background color:', 'photo-gallery'); ?> </label></td>
    4762                                         <td><input type="text" name="tags_but_see_all_back_color" id="tags_but_see_all_back_color" value="<?php echo $row->tags_but_see_all_back_color; ?>" class="jscolor" /></td>
     4762                                        <td><input type="text" name="tags_but_see_all_back_color" id="tags_but_see_all_back_color" value="<?php echo esc_attr($row->tags_but_see_all_back_color); ?>" class="jscolor" /></td>
    47634763                                    </tr>
    47644764                                    <tr>
    47654765                                        <td class="spider_label"><label for="tags_but_see_all_border_w"><?php echo __('See All Button Border width:', 'photo-gallery'); ?> </label></td>
    47664766                                        <td>
    4767                                             <input type="text" name="tags_but_see_all_border_w" id="tags_but_see_all_border_w" value="<?php echo $row->tags_but_see_all_border_w; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
     4767                                            <input type="text" name="tags_but_see_all_border_w" id="tags_but_see_all_border_w" value="<?php echo esc_attr($row->tags_but_see_all_border_w); ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
    47684768                                        </td>
    47694769                                    </tr>
     
    47734773                                            <select name="tags_but_see_all_border_s" id="tags_but_see_all_border_s">
    47744774                                                <?php foreach ($border_styles as $key => $border_style) { ?>
    4775                                                                             <option value="<?php echo $key; ?>" <?php echo (($row->tags_but_see_all_border_s == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
     4775                                                                            <option value="<?php echo esc_attr($key); ?>" <?php echo (($row->tags_but_see_all_border_s == $key) ? 'selected="selected"' : ''); ?>><?php echo esc_html__($border_style, 'photo-gallery'); ?></option>
    47764776                                                <?php } ?>
    47774777                                            </select>
     
    47804780                                    <tr>
    47814781                                        <td class="spider_label"><label for="tags_but_see_all_border_c"><?php echo __('See All Button Border color:', 'photo-gallery'); ?></label></td>
    4782                                         <td><input type="text" name="tags_but_see_all_border_c" id="tags_but_see_all_border_c" value="<?php echo $row->tags_but_see_all_border_c; ?>" class="jscolor"/></td>
     4782                                        <td><input type="text" name="tags_but_see_all_border_c" id="tags_but_see_all_border_c" value="<?php echo esc_attr($row->tags_but_see_all_border_c); ?>" class="jscolor"/></td>
    47834783                                    </tr>
    47844784                                    <tr>
    47854785                                        <td class="spider_label"><label for="tags_but_see_all_border_r"><?php echo __('See All Button Border radius:', 'photo-gallery'); ?> </label></td>
    47864786                                        <td>
    4787                                             <input type="text" name="tags_but_see_all_border_r" id="tags_but_see_all_border_r" value="<?php echo $row->tags_but_see_all_border_r; ?>" class="spider_char_input"/>
     4787                                            <input type="text" name="tags_but_see_all_border_r" id="tags_but_see_all_border_r" value="<?php echo esc_attr($row->tags_but_see_all_border_r); ?>" class="spider_char_input"/>
    47884788                                            <div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
    47894789                                        </td>
     
    47994799            </fieldset>
    48004800        </div>
    4801         <input type="hidden" id="default_theme" name="default_theme" value="<?php echo $row->default_theme; ?>" />
    4802         <input type="hidden" id="active_tab" name="active_tab"  value="<?php echo $params['active_tab']; ?>" />
     4801        <input type="hidden" id="default_theme" name="default_theme" value="<?php echo esc_attr($row->default_theme); ?>" />
     4802        <input type="hidden" id="active_tab" name="active_tab"  value="<?php echo esc_attr($params['active_tab']); ?>" />
    48034803    <?php
    48044804    }
  • photo-gallery/trunk/frontend/views/BWGViewAlbum_compact_preview.php

    r3149367 r3180567  
    236236      background-color:rgba(<?php echo esc_html($thumb_bg_color['red']) .','. esc_html($thumb_bg_color['green']) . ',' . esc_html($thumb_bg_color['blue']) . ', '.number_format($theme_row->album_compact_thumb_bg_transparency / 100, 2, ".", ""); ?>);
    237237      border: <?php echo esc_html($theme_row->album_compact_thumb_border_width); ?>px <?php echo esc_html($theme_row->album_compact_thumb_border_style); ?> #<?php echo esc_html($theme_row->album_compact_thumb_border_color); ?>;
    238       opacity: <?php echo number_format($theme_row->album_compact_thumb_transparent / 100, 2, ".", ""); ?>;
     238      opacity: <?php echo number_format(floatval($theme_row->album_compact_thumb_transparent) / 100, 2, ".", ""); ?>;
    239239      border-radius: <?php echo esc_html($theme_row->album_compact_thumb_border_radius); ?>;
    240240      box-shadow: <?php echo esc_html($theme_row->album_compact_thumb_box_shadow); ?>;
  • photo-gallery/trunk/frontend/views/BWGViewBlog_style.php

    r2837469 r3180567  
    482482                max-width: 100%;
    483483                <?php if ( !empty($params['watermark_opacity']) ) { ?>
    484                 opacity: <?php echo number_format($params['watermark_opacity'] / 100, 2, ".", ""); ?>;
     484                opacity: <?php echo number_format(floatval($params['watermark_opacity']) / 100, 2, ".", ""); ?>;
    485485                <?php } ?>
    486486                position: relative;
  • photo-gallery/trunk/frontend/views/BWGViewGalleryBox.php

    r3058445 r3180567  
    175175      }
    176176      .bwg_popup_image {
    177         max-width: <?php echo esc_html($params['popup_width'] - ($filmstrip_direction == 'vertical' ? $image_filmstrip_width : 0)); ?>px;
    178         max-height: <?php echo esc_html($params['popup_height'] - ($filmstrip_direction == 'horizontal' ? $image_filmstrip_height : 0)); ?>px;
     177        max-width: <?php echo esc_html(floatval($params['popup_width']) - ($filmstrip_direction == 'vertical' ? floatval($image_filmstrip_width) : 0)); ?>px;
     178        max-height: <?php echo esc_html(floatval($params['popup_height']) - ($filmstrip_direction == 'horizontal' ? floatval($image_filmstrip_height) : 0)); ?>px;
    179179      }
    180180      .bwg_ctrl_btn {
     
    182182        font-size: <?php echo esc_html($theme_row->lightbox_ctrl_btn_height); ?>px;
    183183        margin: <?php echo esc_html($theme_row->lightbox_ctrl_btn_margin_top); ?>px <?php echo esc_html($theme_row->lightbox_ctrl_btn_margin_left); ?>px;
    184         opacity: <?php echo number_format($theme_row->lightbox_ctrl_btn_transparent / 100, 2, ".", ""); ?>;
     184        opacity: <?php echo number_format(floatval($theme_row->lightbox_ctrl_btn_transparent) / 100, 2, ".", ""); ?>;
    185185      }
    186186      .bwg_toggle_btn {
    187187        color: #<?php echo esc_html($theme_row->lightbox_ctrl_btn_color); ?>;
    188188        font-size: <?php echo esc_html($theme_row->lightbox_toggle_btn_height); ?>px;
    189         opacity: <?php echo number_format($theme_row->lightbox_ctrl_btn_transparent / 100, 2, ".", ""); ?>;
     189        opacity: <?php echo number_format(floatval($theme_row->lightbox_ctrl_btn_transparent) / 100, 2, ".", ""); ?>;
    190190      }
    191191      .bwg_ctrl_btn_container {
     
    216216          border-bottom-left-radius: <?php echo esc_html($theme_row->lightbox_ctrl_cont_border_radius); ?>px;
    217217          border-bottom-right-radius: <?php echo esc_html($theme_row->lightbox_ctrl_cont_border_radius); ?>px;
    218           /*top: <?php echo esc_html($theme_row->lightbox_ctrl_btn_height + 2 * $theme_row->lightbox_ctrl_btn_margin_top); ?>px;*/
     218          /*top: <?php echo esc_html(floatval($theme_row->lightbox_ctrl_btn_height) + 2 * floatval($theme_row->lightbox_ctrl_btn_margin_top)); ?>px;*/
    219219          <?php
    220220        }
     
    223223          border-top-left-radius: <?php echo esc_html($theme_row->lightbox_ctrl_cont_border_radius); ?>px;
    224224          border-top-right-radius: <?php echo esc_html($theme_row->lightbox_ctrl_cont_border_radius); ?>px;
    225           /*bottom: <?php echo esc_html($theme_row->lightbox_ctrl_btn_height + 2 * $theme_row->lightbox_ctrl_btn_margin_top); ?>px;*/
     225          /*bottom: <?php echo esc_html(floatval($theme_row->lightbox_ctrl_btn_height) + 2 * floatval($theme_row->lightbox_ctrl_btn_margin_top)); ?>px;*/
    226226          <?php
    227227        }?>
    228         margin-left: -<?php echo esc_html($theme_row->lightbox_toggle_btn_width) / 2; ?>px;
    229         opacity: <?php echo number_format($theme_row->lightbox_ctrl_cont_transparent / 100, 2, ".", ""); ?>;
     228        margin-left: -<?php echo esc_html(floatval($theme_row->lightbox_toggle_btn_width)) / 2; ?>px;
     229        opacity: <?php echo number_format(floatval($theme_row->lightbox_ctrl_cont_transparent) / 100, 2, ".", ""); ?>;
    230230        width: <?php echo esc_html($theme_row->lightbox_toggle_btn_width); ?>px;
    231231      }
    232232      .bwg_close_btn {
    233         opacity: <?php echo number_format($theme_row->lightbox_close_btn_transparent / 100, 2, ".", ""); ?>;
     233        opacity: <?php echo number_format(floatval($theme_row->lightbox_close_btn_transparent) / 100, 2, ".", ""); ?>;
    234234      }
    235235      .spider_popup_close {
     
    259259        font-size: <?php echo esc_html($theme_row->lightbox_rl_btn_size); ?>px;
    260260        width: <?php echo esc_html($theme_row->lightbox_rl_btn_width); ?>px;
    261         opacity: <?php echo number_format($theme_row->lightbox_rl_btn_transparent / 100, 2, ".", ""); ?>;
     261        opacity: <?php echo number_format(floatval($theme_row->lightbox_rl_btn_transparent) / 100, 2, ".", ""); ?>;
    262262      }
    263263      #spider_popup_left-ico {
    264         padding-right: <?php echo esc_html(($theme_row->lightbox_rl_btn_width - $theme_row->lightbox_rl_btn_size)) / 3; ?>px;
     264        padding-right: <?php echo esc_html((floatval($theme_row->lightbox_rl_btn_width) - floatval($theme_row->lightbox_rl_btn_size))) / 3; ?>px;
    265265      }
    266266      #spider_popup_right-ico {
    267         padding-left: <?php echo esc_html(($theme_row->lightbox_rl_btn_width - $theme_row->lightbox_rl_btn_size)) / 3; ?>px;
     267        padding-left: <?php echo esc_html((floatval($theme_row->lightbox_rl_btn_width) - floatval($theme_row->lightbox_rl_btn_size))) / 3; ?>px;
    268268      }
    269269      <?php
     
    299299        font-size: <?php echo esc_html($theme_row->lightbox_comment_font_size); ?>px;
    300300        font-family: <?php echo esc_html($theme_row->lightbox_comment_font_style); ?>;
    301         <?php echo esc_html($theme_row->lightbox_comment_pos); ?>: -<?php echo esc_html($theme_row->lightbox_comment_width); ?>px;
     301        <?php echo esc_html($theme_row->lightbox_comment_pos); ?>: -<?php echo floatval($theme_row->lightbox_comment_width); ?>px;
    302302        width: <?php echo esc_html($theme_row->lightbox_comment_width); ?>px;
    303303      }
     
    409409      .bwg_filmstrip {
    410410        <?php echo esc_html($left_or_top); ?>: <?php echo esc_html($theme_row->lightbox_filmstrip_rl_btn_size); ?>px;
    411         <?php echo esc_html($width_or_height); ?>: <?php echo esc_html(($filmstrip_direction == 'horizontal' ? $params['popup_width'] - 40 : $params['popup_height'] - 40)); ?>px;
     411        <?php echo esc_html($width_or_height); ?>: <?php echo esc_html(($filmstrip_direction == 'horizontal' ? floatval($params['popup_width']) - 40 : floatval($params['popup_height']) - 40)); ?>px;
    412412      }
    413413      .bwg_filmstrip_thumbnails {
    414         height: <?php echo esc_html(($filmstrip_direction == 'horizontal' ? $image_filmstrip_height : ($image_filmstrip_height + $filmstrip_thumb_right_left_space) * count($image_rows))); ?>px;
     414        height: <?php echo esc_html(($filmstrip_direction == 'horizontal' ? $image_filmstrip_height : (floatval($image_filmstrip_height) + floatval($filmstrip_thumb_right_left_space)) * count($image_rows))); ?>px;
    415415        <?php echo esc_html($left_or_top); ?>: 0px;
    416         width: <?php echo esc_html(($filmstrip_direction == 'horizontal' ? ($image_filmstrip_width + $filmstrip_thumb_right_left_space) * count($image_rows) : $image_filmstrip_width)); ?>px;
     416        width: <?php echo esc_html(($filmstrip_direction == 'horizontal' ? (floatval($image_filmstrip_width) + floatval($filmstrip_thumb_right_left_space)) * count($image_rows) : $image_filmstrip_width)); ?>px;
    417417      }
    418418      .bwg_filmstrip_thumbnail {
     
    431431      }
    432432      .bwg_thumb_deactive {
    433         opacity: <?php echo number_format($theme_row->lightbox_filmstrip_thumb_deactive_transparent / 100, 2, ".", ""); ?>;
     433        opacity: <?php echo number_format(floatval($theme_row->lightbox_filmstrip_thumb_deactive_transparent) / 100, 2, ".", ""); ?>;
    434434      }
    435435      .bwg_filmstrip_left {
     
    471471        font-family: <?php echo esc_html($params['watermark_font']); ?>;
    472472        color: #<?php echo esc_html($params['watermark_color']); ?> !important;
    473         opacity: <?php echo number_format($params['watermark_opacity'] / 100, 2, ".", ""); ?>;
     473        opacity: <?php echo number_format(floatval($params['watermark_opacity']) / 100, 2, ".", ""); ?>;
    474474      }
    475475      .bwg_image_info_container1 {
     
    491491        border: <?php echo esc_html($theme_row->lightbox_hit_border_width); ?>px <?php echo esc_html($theme_row->lightbox_hit_border_style); ?> #<?php echo esc_html($theme_row->lightbox_hit_border_color); ?>;
    492492        border-radius: <?php echo esc_html($theme_row->lightbox_info_border_radius); ?>;
    493         <?php echo ($theme_row->lightbox_ctrl_btn_pos == 'bottom' && $theme_row->lightbox_hit_pos == 'bottom') ? 'bottom: ' . esc_html(($theme_row->lightbox_ctrl_btn_height + 2 * $theme_row->lightbox_ctrl_btn_margin_top)) . 'px;' : '' ?>
     493        <?php echo ($theme_row->lightbox_ctrl_btn_pos == 'bottom' && $theme_row->lightbox_hit_pos == 'bottom') ? 'bottom: ' . esc_html((floatval($theme_row->lightbox_ctrl_btn_height) + 2 * floatval($theme_row->lightbox_ctrl_btn_margin_top))) . 'px;' : '' ?>
    494494        margin: <?php echo esc_html($theme_row->lightbox_hit_margin); ?>;
    495495        padding: <?php echo esc_html($theme_row->lightbox_hit_padding); ?>;
    496         <?php echo ($theme_row->lightbox_ctrl_btn_pos == 'top' && $theme_row->lightbox_hit_pos == 'top') ? 'top: ' . esc_html(($theme_row->lightbox_ctrl_btn_height + 2 * $theme_row->lightbox_ctrl_btn_margin_top)) . 'px;' : '' ?>
     496        <?php echo ($theme_row->lightbox_ctrl_btn_pos == 'top' && $theme_row->lightbox_hit_pos == 'top') ? 'top: ' . esc_html((floatval($theme_row->lightbox_ctrl_btn_height) + 2 * floatval($theme_row->lightbox_ctrl_btn_margin_top))) . 'px;' : '' ?>
    497497      }
    498498      .bwg_image_hits,
     
    504504      }
    505505      .bwg_image_info {
    506         background: rgba(<?php echo esc_html($rgb_bwg_image_info_bg_color['red']); ?>, <?php echo esc_html($rgb_bwg_image_info_bg_color['green']); ?>, <?php echo esc_html($rgb_bwg_image_info_bg_color['blue']); ?>, <?php echo number_format($theme_row->lightbox_info_bg_transparent / 100, 2, ".", ""); ?>);
     506        background: rgba(<?php echo esc_html($rgb_bwg_image_info_bg_color['red']); ?>, <?php echo esc_html($rgb_bwg_image_info_bg_color['green']); ?>, <?php echo esc_html($rgb_bwg_image_info_bg_color['blue']); ?>, <?php echo number_format(floatval($theme_row->lightbox_info_bg_transparent) / 100, 2, ".", ""); ?>);
    507507        border: <?php echo esc_html($theme_row->lightbox_info_border_width); ?>px <?php echo esc_html($theme_row->lightbox_info_border_style); ?> #<?php echo esc_html($theme_row->lightbox_info_border_color); ?>;
    508508        border-radius: <?php echo esc_html($theme_row->lightbox_info_border_radius); ?>;
    509         <?php echo ((!$params['popup_enable_filmstrip'] || $theme_row->lightbox_filmstrip_pos != 'bottom') && $theme_row->lightbox_ctrl_btn_pos == 'bottom' && $theme_row->lightbox_info_pos == 'bottom') ? 'bottom: ' . esc_html(($theme_row->lightbox_ctrl_btn_height + 2 * $theme_row->lightbox_ctrl_btn_margin_top) . 'px;') : '' ?>
     509        <?php echo ((!$params['popup_enable_filmstrip'] || $theme_row->lightbox_filmstrip_pos != 'bottom') && $theme_row->lightbox_ctrl_btn_pos == 'bottom' && $theme_row->lightbox_info_pos == 'bottom') ? 'bottom: ' . esc_html((floatval($theme_row->lightbox_ctrl_btn_height) + 2 * floatval($theme_row->lightbox_ctrl_btn_margin_top)) . 'px;') : '' ?>
    510510        <?php if ($params['popup_info_full_width']) { ?>
    511511        width: 100%;
     
    515515        <?php } ?>
    516516        padding: <?php echo esc_html($theme_row->lightbox_info_padding); ?>;
    517         <?php echo esc_html(((!$params['popup_enable_filmstrip'] || $theme_row->lightbox_filmstrip_pos != 'top') && $theme_row->lightbox_ctrl_btn_pos == 'top' && $theme_row->lightbox_info_pos == 'top') ? 'top: ' . ($theme_row->lightbox_ctrl_btn_height + 2 * $theme_row->lightbox_ctrl_btn_margin_top) . 'px;' : ''); ?>
     517        <?php echo esc_html(((!$params['popup_enable_filmstrip'] || $theme_row->lightbox_filmstrip_pos != 'top') && $theme_row->lightbox_ctrl_btn_pos == 'top' && $theme_row->lightbox_info_pos == 'top') ? 'top: ' . (floatval($theme_row->lightbox_ctrl_btn_height) + 2 * floatval($theme_row->lightbox_ctrl_btn_margin_top)) . 'px;' : ''); ?>
    518518        word-break : break-word;
    519519      }
     
    539539      }
    540540      .bwg_image_rate {
    541         <?php echo esc_html(($theme_row->lightbox_ctrl_btn_pos == 'bottom' && $theme_row->lightbox_rate_pos == 'bottom') ? 'bottom: ' . ($theme_row->lightbox_ctrl_btn_height + 2 * $theme_row->lightbox_ctrl_btn_margin_top) . 'px;' : ''); ?>
     541        <?php echo esc_html(($theme_row->lightbox_ctrl_btn_pos == 'bottom' && $theme_row->lightbox_rate_pos == 'bottom') ? 'bottom: ' . (floatval($theme_row->lightbox_ctrl_btn_height) + 2 * floatval($theme_row->lightbox_ctrl_btn_margin_top)) . 'px;' : ''); ?>
    542542        padding: <?php echo esc_html($theme_row->lightbox_rate_padding); ?>;
    543         <?php echo esc_html(($theme_row->lightbox_ctrl_btn_pos == 'top' && $theme_row->lightbox_rate_pos == 'top') ? 'top: ' . ($theme_row->lightbox_ctrl_btn_height + 2 * $theme_row->lightbox_ctrl_btn_margin_top) . 'px;' : ''); ?>
     543        <?php echo esc_html(($theme_row->lightbox_ctrl_btn_pos == 'top' && $theme_row->lightbox_rate_pos == 'top') ? 'top: ' . (floatval($theme_row->lightbox_ctrl_btn_height) + 2 * floatval($theme_row->lightbox_ctrl_btn_margin_top)) . 'px;' : ''); ?>
    544544      }
    545545      #bwg_rate_form .bwg_hint,
  • photo-gallery/trunk/frontend/views/BWGViewImage_browser.php

    r2750908 r3180567  
    314314          font-family: <?php echo esc_html($params['watermark_font']); ?>;
    315315          color: #<?php echo esc_html($params['watermark_color']); ?> !important;
    316           opacity: <?php echo number_format($params['watermark_opacity'] / 100, 2, ".", ""); ?>;
     316          opacity: <?php echo number_format(floatval($params['watermark_opacity']) / 100, 2, ".", ""); ?>;
    317317          text-decoration: none;
    318318          position: relative;
     
    373373        font-family: <?php echo esc_html($params['watermark_font']); ?>;
    374374        color: #<?php echo esc_html($params['watermark_color']); ?> !important;
    375         opacity: <?php echo number_format($params['watermark_opacity'] / 100, 2, ".", ""); ?>;
     375        opacity: <?php echo number_format(floatval($params['watermark_opacity']) / 100, 2, ".", ""); ?>;
    376376        position: relative;
    377377        z-index: 10141;
     
    404404        z-index: 10140;
    405405        width: <?php echo esc_html($params['watermark_width']);?>px;
    406         max-width: <?php echo esc_html((($params['watermark_width']) / ($params['image_browser_width'])) * 100); ?>%;
     406        max-width: <?php echo esc_html(((floatval($params['watermark_width'])) / floatval($params['image_browser_width'])) * 100); ?>%;
    407407        margin: 10px 10px 10px 10px ;
    408408      }
     
    417417      #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg_image_browser_watermark_img_<?php echo esc_attr($bwg); ?>{
    418418        max-width: 100%;
    419         opacity: <?php echo number_format($params['watermark_opacity'] / 100, 2, ".", ""); ?>;
     419        opacity: <?php echo number_format(floatval($params['watermark_opacity']) / 100, 2, ".", ""); ?>;
    420420        position: relative;
    421421        z-index: 10141;
  • photo-gallery/trunk/frontend/views/BWGViewSlideshow.php

    r2879187 r3180567  
    642642  }
    643643  #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg_slideshow_image_<?php echo esc_attr($bwg); ?> {
    644       max-width: <?php echo esc_html($image_width - ($filmstrip_direction == 'vertical' ? $slideshow_filmstrip_width : 0)); ?>px;
    645       max-height: <?php echo esc_html($image_height - ($filmstrip_direction == 'horizontal' ? $slideshow_filmstrip_height : 0)); ?>px;
     644      max-width: <?php echo esc_html(floatval($image_width) - ($filmstrip_direction == 'vertical' ? floatval($slideshow_filmstrip_width) : 0)); ?>px;
     645      max-height: <?php echo esc_html(floatval($image_height) - ($filmstrip_direction == 'horizontal' ? floatval($slideshow_filmstrip_height) : 0)); ?>px;
    646646  }
    647647  #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg_slideshow_embed_<?php echo esc_attr($bwg); ?> {
    648     width: <?php echo esc_html($image_width - ($filmstrip_direction == 'vertical' ? $slideshow_filmstrip_width : 0)); ?>px;
    649     height: <?php echo esc_html($image_height - ($filmstrip_direction == 'horizontal' ? $slideshow_filmstrip_height : 0)); ?>px;
     648    width: <?php echo esc_html(floatval($image_width) - ($filmstrip_direction == 'vertical' ? floatval($slideshow_filmstrip_width) : 0)); ?>px;
     649    height: <?php echo esc_html(floatval($image_height) - ($filmstrip_direction == 'horizontal' ? floatval($slideshow_filmstrip_height) : 0)); ?>px;
    650650  }
    651651  #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> #bwg_slideshow_play_pause_<?php echo esc_attr($bwg); ?> {
     
    673673      font-size: <?php echo esc_html($theme_row->slideshow_rl_btn_size); ?>px;
    674674      width: <?php echo esc_html($theme_row->slideshow_rl_btn_width); ?>px;
    675       opacity: <?php echo number_format($theme_row->slideshow_close_btn_transparent / 100, 2, ".", ""); ?>;
     675      opacity: <?php echo number_format(floatval($theme_row->slideshow_close_btn_transparent) / 100, 2, ".", ""); ?>;
    676676  }
    677677  #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> #spider_slideshow_left-ico_<?php echo esc_attr($bwg); ?>:hover,
     
    716716  #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg_slideshow_filmstrip_<?php echo esc_attr($bwg); ?> {
    717717      <?php echo esc_html($left_or_top); ?>: 20px;
    718       <?php echo esc_html($width_or_height); ?>: <?php echo esc_html(($filmstrip_direction == 'horizontal' ? $image_width - 40 : $image_height - 40)); ?>px;
     718      <?php echo esc_html($width_or_height); ?>: <?php echo esc_html(($filmstrip_direction == 'horizontal' ? floatval($image_width) - 40 : floatval($image_height) - 40)); ?>px;
    719719      /*z-index: 10106;*/
    720720  }
    721721  #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg_slideshow_filmstrip_thumbnails_<?php echo esc_attr($bwg); ?> {
    722722    <?php echo esc_html($left_or_top); ?>: 0px;
    723     width: <?php echo esc_html(($filmstrip_direction == 'horizontal' ? ($slideshow_filmstrip_width + $filmstrip_thumb_margin_hor) * count($image_rows) : $slideshow_filmstrip_width)); ?>px;
    724     height: <?php echo esc_html(($filmstrip_direction == 'horizontal' ? $slideshow_filmstrip_height : ($slideshow_filmstrip_height + $filmstrip_thumb_margin_hor) * count($image_rows))); ?>px;
     723    width: <?php echo esc_html(($filmstrip_direction == 'horizontal' ? (floatval($slideshow_filmstrip_width) + floatval($filmstrip_thumb_margin_hor)) * count($image_rows) : floatval($slideshow_filmstrip_width))); ?>px;
     724    height: <?php echo esc_html(($filmstrip_direction == 'horizontal' ? floatval($slideshow_filmstrip_height) : (floatval($slideshow_filmstrip_height) + floatval($filmstrip_thumb_margin_hor)) * count($image_rows))); ?>px;
    725725  }
    726726  #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg_slideshow_filmstrip_thumbnail_<?php echo esc_attr($bwg); ?> {
     
    735735  }
    736736  #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg_slideshow_thumb_deactive_<?php echo esc_attr($bwg); ?> {
    737     opacity: <?php echo number_format($theme_row->slideshow_filmstrip_thumb_deactive_transparent / 100, 2, ".", ""); ?>;
     737    opacity: <?php echo number_format(floatval($theme_row->slideshow_filmstrip_thumb_deactive_transparent) / 100, 2, ".", ""); ?>;
    738738  }
    739739  #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg_slideshow_filmstrip_left_<?php echo esc_attr($bwg); ?>,
     
    804804      max-height: <?php echo esc_html($watermark_height); ?>px;
    805805      max-width: <?php echo esc_html($watermark_width); ?>px;
    806       opacity: <?php echo number_format($watermark_opacity / 100, 2, ".", ""); ?>;
     806      opacity: <?php echo number_format(floatval($watermark_opacity) / 100, 2, ".", ""); ?>;
    807807  }
    808808  #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg_slideshow_watermark_text_<?php echo esc_attr($bwg); ?>,
     
    826826        margin: 5px;
    827827      <?php } ?>
    828       <?php if (!$slideshow_filmstrip_type && $slideshow_title_position[0] == $theme_row->slideshow_filmstrip_pos) echo esc_html($theme_row->slideshow_filmstrip_pos) . ':' . ($theme_row->slideshow_dots_height + 4) . 'px;'; ?>
     828      <?php if (!$slideshow_filmstrip_type && $slideshow_title_position[0] == $theme_row->slideshow_filmstrip_pos) echo esc_html($theme_row->slideshow_filmstrip_pos) . ':' . (floatval($theme_row->slideshow_dots_height) + 4) . 'px;'; ?>
    829829  }
    830830  #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg_slideshow_description_text_<?php echo esc_attr($bwg); ?> {
     
    854854  }
    855855  #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg_slideshow_dots_thumbnails_<?php echo esc_attr($bwg); ?> {
    856       height: <?php echo esc_html(($theme_row->slideshow_dots_height + $theme_row->slideshow_dots_margin * 2)); ?>px;
    857       width: <?php echo esc_html(($theme_row->slideshow_dots_width + $theme_row->slideshow_dots_margin * 2) * count($image_rows)); ?>px;
     856      height: <?php echo esc_html((floatval($theme_row->slideshow_dots_height) + floatval($theme_row->slideshow_dots_margin) * 2)); ?>px;
     857      width: <?php echo esc_html((floatval($theme_row->slideshow_dots_width) + floatval($theme_row->slideshow_dots_margin) * 2) * count($image_rows)); ?>px;
    858858  }
    859859  #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg_slideshow_dots_active_<?php echo esc_attr($bwg); ?> {
  • photo-gallery/trunk/frontend/views/BWGViewThumbnails.php

    r3149367 r3180567  
    118118    ?>
    119119    #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg-container-<?php echo esc_attr($bwg); ?>.bwg-standard-thumbnails {
    120       width: <?php echo esc_html(($params['image_column_number'] * $params['thumb_width']) + ($theme_row->container_margin ? $theme_row->thumb_margin : 0)); ?>px;
     120      width: <?php echo esc_html((floatval($params['image_column_number']) * floatval($params['thumb_width'])) + ($theme_row->container_margin ? floatval($theme_row->thumb_margin) : 0)); ?>px;
    121121      <?php
    122122      if ( $theme_row->thumb_align == 'center' ) {
     
    151151        ?>
    152152      margin-right: -<?php echo esc_html($theme_row->thumb_margin); ?>px;
    153       max-width: calc(100% + <?php echo esc_html($theme_row->thumb_margin); ?>px);
     153      max-width: calc(100% + <?php echo floatval($theme_row->thumb_margin); ?>px);
    154154        <?php
    155155      }
     
    181181      background-color:rgba(<?php echo esc_html($thumb_bg_color['red'] .','. $thumb_bg_color['green'] . ',' . $thumb_bg_color['blue'] . ', '.number_format($theme_row->thumb_bg_transparency / 100, 2, ".", "")); ?>);
    182182      border: <?php echo esc_html($theme_row->thumb_border_width); ?>px <?php echo esc_html($theme_row->thumb_border_style); ?> #<?php echo esc_html($theme_row->thumb_border_color); ?>;
    183       opacity: <?php echo number_format($theme_row->thumb_transparent / 100, 2, ".", ""); ?>;
     183      opacity: <?php echo number_format(floatval($theme_row->thumb_transparent) / 100, 2, ".", ""); ?>;
    184184      border-radius: <?php echo esc_html($theme_row->thumb_border_radius); ?>;
    185185      box-shadow: <?php echo esc_html($theme_row->thumb_box_shadow); ?>;
     
    230230    ?>
    231231    #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg-container-<?php echo esc_attr($bwg); ?>.bwg-standard-thumbnails .bwg-item1 {
    232       padding-top: <?php echo esc_html($params['thumb_height'] / $params['thumb_width'] * 100); ?>%;
     232      padding-top: <?php echo esc_html(floatval($params['thumb_height']) / floatval($params['thumb_width']) * 100); ?>%;
    233233    }
    234234    <?php
     
    268268    }
    269269    #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg-container-<?php echo esc_attr($bwg); ?>.bwg-standard-thumbnails .bwg-play-icon2 {
    270       font-size: <?php echo esc_html(2 * $theme_row->thumb_title_font_size); ?>px;
     270      font-size: <?php echo esc_html(2 * floatval($theme_row->thumb_title_font_size)); ?>px;
    271271    }
    272272    #bwg_container1_<?php echo esc_attr($bwg); ?> #bwg_container2_<?php echo esc_attr($bwg); ?> .bwg-container-<?php echo esc_attr($bwg); ?>.bwg-standard-thumbnails .bwg-ecommerce2 {
    273       font-size: <?php echo esc_html(1.2 * $theme_row->thumb_title_font_size); ?>px;
     273      font-size: <?php echo esc_html(1.2 * floatval($theme_row->thumb_title_font_size)); ?>px;
    274274      color: #<?php echo esc_html(( $params['ecommerce_icon'] == 'hover') ? (isset($theme_row->thumb_title_font_color_hover) ? $theme_row->thumb_title_font_color_hover : $theme_row->thumb_title_font_color) : $theme_row->thumb_title_font_color); ?>;
    275275    }
  • photo-gallery/trunk/frontend/views/BWGViewThumbnails_masonry.php

    r3149367 r3180567  
    153153        vertical-align: middle;
    154154        <?php if ( $params['masonry_hor_ver'] == 'vertical' ) { ?>
    155           width: <?php echo esc_html(BWG()->options->resizable_thumbnails ? '100% !important;' : $params['thumb_width'] . 'px'); ?>;
     155          width: <?php echo esc_html(BWG()->options->resizable_thumbnails ? '100% !important;' : floatval($params['thumb_width']) . 'px'); ?>;
    156156        <?php }
    157157        else { ?>
    158          height: <?php echo esc_html($params['thumb_height'] - $theme_row->masonry_thumb_padding); ?>px;
     158         height: <?php echo esc_html(floatval($params['thumb_height']) - floatval($theme_row->masonry_thumb_padding)); ?>px;
    159159        <?php } ?>
    160160        margin: 0;
    161         opacity: <?php echo number_format($theme_row->masonry_thumb_transparent / 100, 2, ".", ""); ?>;
     161        opacity: <?php echo number_format(floatval($theme_row->masonry_thumb_transparent) / 100, 2, ".", ""); ?>;
    162162      }
    163163
     
    186186        background-color:rgba(<?php echo esc_html($thumb_bg_color['red'] .','. $thumb_bg_color['green'] . ',' . $thumb_bg_color['blue'] . ', '.number_format($theme_row->masonry_thumb_bg_transparency / 100, 2, ".", "")); ?>);
    187187        border: <?php echo esc_html($theme_row->masonry_thumb_border_width); ?>px <?php echo esc_html($theme_row->masonry_thumb_border_style); ?> #<?php echo esc_html($theme_row->masonry_thumb_border_color); ?>;
    188                 opacity: <?php echo esc_html(number_format($theme_row->masonry_thumb_transparent / 100, 2, ".", "")); ?>;
     188                opacity: <?php echo esc_html(number_format(floatval($theme_row->masonry_thumb_transparent) / 100, 2, ".", "")); ?>;
    189189        border-radius: <?php echo esc_html($theme_row->masonry_thumb_border_radius); ?>;
    190190      }
     
    273273                font-size: 0;
    274274                <?php if ( $params['masonry_hor_ver'] == 'vertical' ) { ?>
    275                     width: <?php echo esc_html($params['image_column_number'] * $params['thumb_width'] + ($theme_row->masonry_container_margin ? $theme_row->masonry_thumb_padding : 0)); ?>px;
     275                    width: <?php echo esc_html(floatval($params['image_column_number']) * floatval($params['thumb_width']) + ($theme_row->masonry_container_margin ? floatval($theme_row->masonry_thumb_padding) : 0)); ?>px;
    276276                    max-width: 100%;
    277277                <?php
    278278                }
    279279                else { ?>
    280                     height: <?php echo esc_html($params['image_column_number'] * $params['thumb_height']); ?>px !important;
     280                    height: <?php echo esc_html(floatval($params['image_column_number']) * floatval($params['thumb_height'])); ?>px !important;
    281281                <?php
    282282                }
     
    287287                else { ?>
    288288                    margin-right: -<?php echo esc_html($theme_row->masonry_thumb_padding); ?>px;
    289                     max-width: calc(100% + <?php echo esc_html($theme_row->masonry_thumb_padding); ?>px);
     289                    max-width: calc(100% + <?php echo esc_html(floatval($theme_row->masonry_thumb_padding)); ?>px);
    290290                <?php } ?>
    291291                <?php if ( $theme_row->masonry_thumb_align == 'center' ) { ?>
  • photo-gallery/trunk/frontend/views/BWGViewThumbnails_mosaic.php

    r2764916 r3180567  
    209209                box-sizing: content-box !important;
    210210                margin: 0;
    211                 opacity: <?php echo number_format($theme_row->mosaic_thumb_transparent / 100, 2, ".", ""); ?>;
     211                opacity: <?php echo number_format(floatval($theme_row->mosaic_thumb_transparent) / 100, 2, ".", ""); ?>;
    212212            }
    213213
     
    321321      .bwg_mosaic_play_icon_<?php echo esc_attr($bwg); ?> {
    322322        color: #<?php echo esc_html($theme_row->mosaic_thumb_title_font_color); ?>;
    323         font-size: <?php echo esc_html(2 * $theme_row->mosaic_thumb_title_font_size); ?>px;
     323        font-size: <?php echo esc_html(2 * floatval($theme_row->mosaic_thumb_title_font_size)); ?>px;
    324324        vertical-align: middle;
    325325        display: table-cell !important;
  • photo-gallery/trunk/frontend/views/BWGViewWidget.php

    r2869484 r3180567  
    88
    99  public function view_tags($params = array()) {
    10     $current_url = isset($_SERVER['REQUEST_URI']) ? sanitize_url($_SERVER['REQUEST_URI']) : '';
     10    $current_url = isset($_SERVER['REQUEST_URI']) ? esc_url($_SERVER['REQUEST_URI']) : '';
    1111    $type = isset($params["type"]) ? $params["type"] : 'text';
    1212    $bwg = isset($params["bwg"]) ? $params["bwg"] : 0;
  • photo-gallery/trunk/photo-gallery.php

    r3171538 r3180567  
    44 * Plugin URI: https://10web.io/plugins/wordpress-photo-gallery/?utm_source=photo_gallery&utm_medium=free_plugin
    55 * Description: This plugin is a fully responsive gallery plugin with advanced functionality.  It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
    6  * Version: 1.8.30
     6 * Version: 1.8.31
    77 * Author: Photo Gallery Team
    88 * Author URI: https://10web.io/plugins/?utm_source=photo_gallery&utm_medium=free_plugin
     
    109109    $this->front_url = $this->plugin_url;
    110110    $this->main_file = plugin_basename(__FILE__);
    111     $this->plugin_version = '1.8.30';
    112     $this->db_version = '1.8.30';
     111    $this->plugin_version = '1.8.31';
     112    $this->db_version = '1.8.31';
    113113    $this->prefix = 'bwg';
    114114    $this->nicename = __('Photo Gallery', 'photo-gallery');
  • photo-gallery/trunk/readme.txt

    r3171538 r3180567  
    44Requires at least: 4.6
    55Tested up to: 6.6
    6 Stable tag: 1.8.30
     6Stable tag: 1.8.31
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    273273
    274274== Changelog ==
     275
     276= 1.8.31 =
     277* Fixed: Security fix.
    275278
    276279= 1.8.30 =
  • photo-gallery/trunk/wd/includes/notices.php

    r2766883 r3180567  
    9191                                <p class="wd-notice-body">' . $admin_display_msg . '</p>
    9292                                <ul class="wd-notice-body wd-blue">' . $admin_display_link . '</ul>
    93                                 <a href="' . $query_str . '" class="dashicons dashicons-dismiss"></a>
     93                                <a href="' . esc_url($query_str) . '" class="dashicons dashicons-dismiss"></a>
    9494                              </div>';
    9595          }
     
    100100                                    ' . $admin_display_link . '
    101101                                  </ul>';
    102             echo '<a href="' . $query_str . '" class="dashicons dashicons-dismiss close-promo"></a>';
     102            echo '<a href="' . esc_url($query_str) . '" class="dashicons dashicons-dismiss close-promo"></a>';
    103103            echo '</div>';
    104104          }
Note: See TracChangeset for help on using the changeset viewer.