Czy w tym kodzie jest wirus ?
-
Witam,
Dostałem info od google, że moja strona może zagrażać bezpieczeństwu odwiedzających. Poniżej znajduje się kod jednej ze stron oznaczony jako niebezpieczny, ja nie widzę w nim nic niebezpiecznego. Mogę prosić o pomoc ?
pzdr
<?php /** * The template for displaying all pages. * Template Name: O NAS * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package Cooperative * @since Cooperative 1.0 */ include (TEMPLATEPATH . '/header-onas.php'); ?> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'page' ); ?> <?php comments_template( '', true ); ?> <?php endwhile; // end of the loop. ?> </div><!-- #content .site-content --> </div><!-- #primary .content-area --> <h1 class="widget-title" style="font-family:Tahoma;color:#4d231b;text-transform:uppercase;font-size:24px;">WYDARZENIA</h1> <ul style="margin-left:-16px;"> <?php $the_query = new WP_Query( 'showposts=3' ); ?> <?php while ($the_query -> have_posts()) : $the_query -> the_post(); ?> <article style="width: 30%;float: left;margin:0 15px 0 15px;"> <header class="entry-header"> <?php the_post_thumbnail( 'single-post-thumbnail'); ?> <div class="entry-title" style="text-align:center"><a style="color:#917440;font-size:21px;font-family:Tahoma;font-weight:bold;" href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'cooperative' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></div> <?php if ( 'post' == get_post_type() ) : ?> <div class="entry-meta" style="color:#371916;font-size:12px;" > <?php cooperative_posted_on(); ?> </div><!-- .entry-meta --> <?php endif; ?> </header><!-- .entry-header --> <li><?php the_excerpt(__('(more…)')); ?><div style="width:100%;"><a href="<?php the_permalink(); ?>" style="float:right;margin:-15px 10px 20px 0"><img src="<?php echo get_template_directory_uri(); ?>/images/more.png" alt="" ></a></div></li></article> <?php endwhile;?> </ul> <?php get_footer(); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- Temat ‘Czy w tym kodzie jest wirus ?’ jest zamknięty na nowe odpowiedzi.