Hey jeg har fået sådan et flot Viz | Biz Portfolio 1.3 team.
Vi har lige fået flyttet min hjemmeside med php version 5.0 istedet for det gamle.
Men problemet er efter min hjemmeside blev flytte poppede der en grim reklame op i min top.
Server firmaet siger det en problem i min header.
Min hjemmeside har addressen http://hemdrupdesign.dk
Har prøvet og lede min min tekst. Men er ikke god til Php så kan ikke finde noget:
<?php global $wp_theme_options; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<!--The Title-->
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :: '; } ?><?php bloginfo('name'); ?></title>
<!--The Favicon-->
<link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/images/favicon.ico" type="image/x-icon" />
<!--The Meta Info-->
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php wp_meta(); //we need this for plugins ?>
<!--The Stylesheets-->
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
@import url( <?php bloginfo('stylesheet_directory'); ?>/tabber.css );
</style>
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/lt-ie7.css" type="text/css" media="screen" />
<![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/lte-ie7.css" type="text/css" media="screen" />
<![endif]-->
<!--Some Necessary Javascript-->
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/tabber.js"></script>
<script type="text/javascript">
/* Optional: Temporarily hide the "tabber" class so it does not "flash"
on the page as plain HTML. After tabber runs, the class is changed
to "tabberlive" and it will appear. */
document.write('<style type="text/css">.tabber{display:none;}<\/style>');
</script>
<!--[if lt IE 7]>
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/dropdown.js"></script>
<![endif]-->
<!--The RSS and Pingback-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); //we need this for plugins ?>
</head>
<body>
<?php include_once("js/ie.php"); ?>
<div id="header">
<div id="headerwrap">
<div id="top">
<div id="search">
<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
<input type="text" value="search..." name="s" id="s" onfocus="if (this.value == 'search...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'search...';}" />
<input type="submit" value="" alt="Submit" class="submit-button" />
</form>
</div>
- <?php wp_register('', ''); ?>
- <?php wp_loginout(); ?>
- " title="<?php _e('Syndicate this site using RSS'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/feed.png" alt="Subscribe via RSS" border="0" />
</div>
<div id="headimg">
"><?php bloginfo('title'); ?>
</div>
<div id="menu" class="clearfix">
<ul class="clearfix">
<?php //A link back to the homepage ... unlesss the user chose to omit it ?>
<?php if($wp_theme_options['exclude_pages']['0'] != 'home') { ?>
<li class="home <?php if ( is_home() ) { echo "current_page_item"; } ?>">"><span><?php _e("Home"); ?></span>
<?php } ?>
<?php //Lists pages, excludes pages selected in theme options ?>
<?php if($wp_theme_options['exclude_pages']) $exclude = implode(",", $wp_theme_options['exclude_pages']); ?>
<?php $my_pages = "echo=0&title_li=&depth=2&sort_column=menu_order&exclude=".$exclude; $pages = wp_list_pages($my_pages);
$pages = preg_replace('/(<a[^>]*>)/','$1<span>',$pages);
$pages = str_replace('', '</span>', $pages);
echo $pages;
?>
<li class="page_item <?php if ( is_category() ) { echo "current_page_item"; } ?>"><span><?php _e("Categories"); ?></span>
- <?php wp_list_categories('depth=1&title_li='); ?>
</div>
</div>
</div>
<div id="container" class="clearfix">
Men har prøvet at gå ind på min hjemmesides kilde (html) og der fandt jeg dette:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>404 - PAGE NOT FOUND</title>
<style type="text/css">
body{padding:0;margin:0;font-family:helvetica;}
#container{margin:20px auto;width:868px;}
#container #top404{background-image:url('http://216.40.254.75/images/404top.png');background-repeat:no-repeat;width:868px;height:168px;}
#container #mid404{background-image:url('http://216.40.254.75/images/404mid.gif');background-repeat:repeat-y;width:868px;}
#container #mid404 #gatorbottom{position:relative;left:21px;float:left;}
#container #mid404 #xxx{float:left;padding:40px 218px 10px;}
#container #mid404 #content{float:left;text-align:center;width:868px;}
#container #mid404 #content #errorcode{font-size:25px;font-weight:800;}
#container #mid404 #content p{font-weight:800;}
#container #mid404 #content #banner{margin:20px 0 0 ;}
#container #mid404 #content #hostedby{font-weight:800;font-size:25px;font-style:italic;margin:20px 0 0;}
#container #mid404 #content #coupon{color:#AB0000;font-size:22px;font-style:italic;}
#container #mid404 #content #getstarted a{color:#AB0000;font-size:31px;font-style:italic;font-weight:800;}
#container #mid404 #content #getstarted {margin:0 0 35px;}
#container #bottom404{background-image:url('http://216.40.254.75/images/404bottom.gif');background-repeat:no-repeat;width:868px;height:14px;}
</style>
</head>
<body>
<div id="container">
<div id="top404"></div>
<div id="mid404">
<div id="gatorbottom"><img src="http://216.40.254.75/images/gatorbottom.jpg" alt="" /></div>
<div id="xxx"><img src="http://216.40.254.75/images/x.png" alt="" /></div>
<div id="content">
<div id="errorcode">ERROR 404 - PAGE NOT FOUND</div>
<p>Oops! Looks like the page you're looking for was moved or never existed.Make sure you typed the correct URL or followed a valid link.</p>
<div id="banner">
<object width="728" height="90"><param name="movie" value="http://216.40.254.75/images/hg728x90.swf">
<embed src="http://216.40.254.75/images/hg728x90.swf?clickTAG=http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=page404" width="728" height="90"></embed>
</object>
</div>
<div id="hostedby">This site is hosted by HostGator!</div>
<div id="coupon">Build your website today for 1 cent! Coupon code: "404PAGE"</div>
<div id="getstarted">CLICK HERE TO GET STARTED</div>
</div>
<div style="clear:left;"></div>
</div>
<div id="bottom404"></div>
De addresser i koden er link til dele af det billede der er på siden..
hjælp mig ),:
mvh. Nicolai
resolved