Ver Mensaje Individual
  #14 (permalink)  
Antiguo 31/12/2009, 15:30
alvarols
 
Fecha de Ingreso: diciembre-2008
Mensajes: 738
Antigüedad: 15 años, 4 meses
Puntos: 15
Respuesta: Estan hackeando mi blog

Este es el Index raíz de wordpress

Código PHP:
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES'true);

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>
Y este es el de la plantilla

Código PHP:
<?php get_header(); ?>





<div id="post-entry">

<?php if (have_posts()) : ?>
<?php 
while (have_posts()) : the_post(); ?>

<div class="post-meta" id="post-<?php the_ID(); ?>">
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
<div class="post-author"><?php _e('Escrito Por'); ?>&nbsp;<?php the_author_posts_link(); ?>&nbsp;<?php _e('En'); ?>&nbsp;<?php the_time('F j Y'?>&nbsp;&nbsp;<?php edit_post_link('edit'); ?><? if (!is_single()){ ?> <li class="Comments"><a href="#"><?php comments_popup_link(__('No hay Comentarios'), __('1 Comentario'), __(' % Comentarios '), 'commentslink'__('Comments off')); ?></a></li><? ?></div>

<div class="post-content">
<?php the_excerpt(); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" style="font-style:italic;" title="Permanent Link to <?php the_title(); ?>">Continuar Leyendo...</a>
</div>



<?php include (TEMPLATEPATH '/social.php'); ?>

</div>

<?php endwhile; ?>

<?php /* comments_template() */ ?>

<?php include (TEMPLATEPATH '/paginate.php'); ?>

<?php else: ?>

<h2>Sorry The Post You Are Looking For Had Been Deleted</h2>

<?php endif; ?>



</div>

<?php get_sidebar(); ?>




<?php get_footer(); ?>