uawdijnntqw1x1x1
IP : 18.227.102.20
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,parse_ini_file,show_source,eval,open_base,symlink
OS : Linux
PATH:
/
home
/
sudancam
/
www
/
61c46
/
..
/
wp-content
/
plugins
/
.
/
wp-editor-themes
/
..
/
wp-automatic
/
posted_metabox.php
/
/
<?php global $post; global $wpdb; $prefix=$wpdb->prefix; $post_id=$post->ID; $query="SELECT * FROM {$prefix}automatic_log where action='Posted:$post_id' order by id DESC limit 10"; $rows=$wpdb->get_results($query); $count=count($rows); echo '<p>Latest posts.</p><div class="latest-posts-container">'; foreach ($rows as $row){ $displayTitle = str_replace('New post posted:','',$row->data); if(stristr($displayTitle , '></a') ){ $displayTitle = str_replace('><', '>(no title)<', $displayTitle); } echo '<div class="posted_itm">'. $displayTitle .'<br>on <small>'. get_date_from_gmt($row->date) .'</small><br></div>'; } echo '</div>'; //pagination if( $count == 10){ echo '<button data-camp="'.$post_id.'" data-page="10" id="more_posted_posts">Load more ...</button><div class="spinner-more_posted_posts spinner" ></div>'; } ?>
/home/sudancam/www/61c46/../wp-content/plugins/./wp-editor-themes/../wp-automatic/posted_metabox.php