Habs gefunden.
Beiträge von Hilfe
-
-
Nichts gefunden und immer noch keine weitere Hilfe, dass ist dünn. Noob, wie willst du das im DW gesehen haben, die Farbwahl und das Syntax Highlighting ist doch sau schlecht.
Tolles Forum => Fast wie fürn Arsch.
Super Hilfe hier, kann man nicht klagen.
-
Im Code steht wo es ungefähr angezeigt wird, hättest du diesen gelesen wüsstest du es. Ich erwarte von dir, liebe Meister(in) keine Hilfe, du bist ein Großkotz, mehr nicht! Danke Noob, ich schau mal, aber in der Index werden nur 3 Dateien aufgerufen, mal sehen...
-
Doch, aber ich kann es nicht finden. Ich bin jedes < > abgegangen.
-
Ein Witz das Forum hier, habe nicht eine Hilfe bekommen, nur dummes Zeug - ich werde den Quellcode bestimmt umschreiben weil du es so willst und nicht in der Lage bist ihn zu lesen. Es funktioniert alles einwandfrei und es wurden schon viele Änderungen durchgeführt, komisch, dass es immer lesbar war, nur ist es eben jetzt ein "<" zu viel. Mein Gott!
-
Warum Müll, ich liefere die Seite gzipet aus, der Code sieht She*ße aus, macht aber alles was er soll und das bestens und mit sehr geringem Traffic Verbrauch!
Gibt es nicht ein Tool bzw. Script welches mir das Ding sucht?
-
Was soll ich noch posten?
-
Hallo Leute,
ich habe ein kleines Problem, nicht weiter schlimm - sieht aber nicht gut aus.
Ich habe eine HP, welche aus verschiedenen Modulen entsteht. In der Index.php rufe ich diese dann einfach auf, wie es sich gehört.
Leider habe ich ein "<" zu viel eingebaut und nun wird an einer recht ungünstigen Stelle eben dieses "<" angezeigt. Habe eben lange gesucht, konnte es aber denoch nicht finden.
Ich poste einfach mal den Code. Währe nett, wenn sich das mal einer anschauen könnte.
Die URL zur Homepage gibt es auf Anfrage.
Hier der Code:
(Ich bin mir nicht sicher, denke aber, dass der Fehler in diesem Modul liegt!)
PHP
Alles anzeigen<hr /> <table id="sidebar" align="center"> <tr> <td class="vertical" width="212"><div class="secondary"> <?php if (is_home()) { ?> <div class="sb-search"> <h2> <?php _e('Search'); ?> </h2> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </div> <?php } ?> <?php global $notfound; ?> <?php /* Creates a menu for pages beneath the level of the current page */ if (is_page() and ($notfound != '1')) { $current_page = $post->ID; while($current_page) { $page_query = $wpdb->get_row("SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = '$current_page'"); $current_page = $page_query->post_parent; } $parent_id = $page_query->ID; $parent_title = $page_query->post_title; if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_status != 'attachment'")) { ?> <?php } } ?> <?php /* If there is a custom about message, use it on the frontpage. */ $k2about = get_option('k2aboutblurp'); if ((is_home() && $k2about != '') or !is_home() && !is_page() && !is_single() or is_paged()) { ?> <div class="sb-about"> <h2> <?php _e('About'); ?> </h2> <?php /* If this is the frontpage */ if (is_home()) { ?> <?php echo stripslashes($k2about); ?></p> <?php /* If this is a category archive */ } elseif (is_category()) { ?> <?php printf( __('...'), '[url='' . get_settings('siteurl') .'']' . get_bloginfo('name') . '[/url]', single_cat_title('', false) ) ?></p> <?php /* If this is a day archive */ } elseif (is_day()) { ?> You are currently browsing the [url='<?php echo get_settings('siteurl'); ?>']<?php echo bloginfo('name'); ?>[/url] weblog archives for the day <?php the_time('l, F jS, Y'); ?> .</p> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> You are currently browsing the [url='<?php echo get_settings('siteurl'); ?>']<?php echo bloginfo('name'); ?>[/url] weblog archives for <?php the_time('F, Y'); ?> .</p> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> You are currently browsing the [url='<?php echo get_settings('siteurl'); ?>']<?php echo bloginfo('name'); ?>[/url] weblog archives for the year <?php the_time('Y'); ?> .</p> <?php /* If this is a search page */ } elseif (is_search()) { ?> [url='<?php echo get_settings('siteurl'); ?>']<?php echo bloginfo('name'); ?>[/url] </p> <?php /* If this is an author archive */ } elseif (is_author()) { ?> Archive for [b] <?php the_author(); ?> [/b].</p> <?php the_author_description(); ?> </p> <?php } elseif (function_exists('is_tag') and is_tag()) { ?> You are currently browsing the [url='<?php echo get_settings('siteurl'); ?>']<?php echo bloginfo('name'); ?>[/url] weblog archives for <?php UTW_ShowCurrentTagSet("", array('first'=>'%tagdisplay%', 'default'=>', %tagdisplay%', 'last'=>' %operatortext% %tagdisplay%')); ?> .</p> <?php /* If this is a paged archive */ } elseif (is_paged) { ?> You are currently browsing the [url='<?php echo get_settings('siteurl'); ?>']<?php echo bloginfo('name'); ?>[/url] weblog archives.</p> <?php /* If this is a permalink */ } elseif (is_single()) { ?> <?php next_post('%', 'Next: ','yes') ?> <?php previous_post('%', 'Previous: ' ,'yes') ?> </p> <?php /* If this is the frontpage */ } elseif (is_home()) { ?> <?php echo stripslashes($k2about); ?></p> <?php } ?> <?php if (is_archive() or is_search()) { ?> <?php } ?> </div> <?php } ?> <?php /* If this is the frontpage */ if ( (is_home()) && !(is_page()) && !(is_single()) && !(is_search()) && !(is_archive()) && !(is_author()) && !(is_category()) && !(is_paged()) ) { ?> <?php $links_list_exist = @$wpdb->get_var("SELECT link_id FROM $wpdb->links LIMIT 1"); if($links_list_exist) { ?> <?php } ?> <?php /* Show Asides only on the frontpage */ if (!is_paged() && is_home()) { $k2asidescategory = get_option('k2asidescategory'); $k2asidesnumber = get_option('k2asidesnumber'); if (get_option('k2asidesposition') != '0') { ?> <div class="sb-asides"> <h2> <?php _e('Asides'); ?> </h2> <span class="metalink">[url='<?php bloginfo('url'); ?>/?feed=rss&cat=<?php echo $k2asidescategory; ?>'][img]<?php bloginfo('template_directory'); ?>/images/feed.png[/img][/url]</span> <?php $temp_query = $wp_query; // save original loop ?> <div> <?php /* Choose a category to be an 'aside' in the K2 options panel */ query_posts("cat=$k2asidescategory&showposts=$k2asidesnumber"); while (have_posts()) : the_post(); if (($k2asides != '0') && (in_category($k2asidescategory) && !$single)) { ?> <p class="aside" id="p<?php the_ID(); ?>"><span>»</span><?php echo wptexturize($post->post_content) ?><span class="metalink">[url='<?php the_permalink($post->ID) ?>']#[/url]</span><span class="metalink"> <?php comments_popup_link('0', '1', '%', '', ' '); ?> </span> <?php edit_post_link('edit','<span class="metalink">','</span>'); ?> </p> <?php /* End Asides Loop */ } endwhile; ?> </div> <?php $wp_query = $temp_query; // revert to original loop ?> </div> <?php } } ?> <?php if ((function_exists('delicious')) && is_home() && !(is_paged()) ) { $k2deliciousname = get_option('k2deliciousname'); ?> <?php } ?> <div class="sb-meta"><h2><?php _e('HIER OBEN DRÜBER WIRD ES ANGEZEIGT'); ?></h2> <ul> <?php wp_meta(); ?> [/list] </div> <?php } ?> <?php if ((function_exists('related_posts')) && is_single() && ($notfound != '1')) { ?> <?php } ?> </div> <div class="clear"></div></td> <td width="10"></td> <td class="vertical" width="212"><div class="secondary"> <?php global $notfound; ?> <?php /* Creates a menu for pages beneath the level of the current page */ if (is_page() and ($notfound != '1')) { $current_page = $post->ID; while($current_page) { $page_query = $wpdb->get_row("SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = '$current_page'"); $current_page = $page_query->post_parent; } $parent_id = $page_query->ID; $parent_title = $page_query->post_title; if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_status != 'attachment'")) { ?> <?php } } ?> <?php /* If there is a custom about message, use it on the frontpage. */ $k2about = get_option('k2aboutblurp'); if ((is_home() && $k2about != '') or !is_home() && !is_page() && !is_single() or is_paged()) { ?> <?php } ?> <?php /* If this is the frontpage */ if ( (is_home()) && !(is_page()) && !(is_single()) && !(is_search()) && !(is_archive()) && !(is_author()) && !(is_category()) && !(is_paged()) ) { ?> <?php $links_list_exist = @$wpdb->get_var("SELECT link_id FROM $wpdb->links LIMIT 1"); if($links_list_exist) { ?> <div class="sb-links"> <ul> <?php get_links_list(); ?> [/list] </div> <div class="sb-categories"> <h2> <?php _e('Categories'); ?> </h2> <ul> <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?> [/list] </div> <?php } ?> <?php /* Show Asides only on the frontpage */ if (!is_paged() && is_home()) { $k2asidescategory = get_option('k2asidescategory'); $k2asidesnumber = get_option('k2asidesnumber'); if (get_option('k2asidesposition') != '0') { ?> <div class="sb-asides"> <h2> <?php _e('Asides'); ?> </h2> <span class="metalink">[url='<?php bloginfo('url'); ?>/?feed=rss&cat=<?php echo $k2asidescategory; ?>'][img]<?php bloginfo('template_directory'); ?>/images/feed.png[/img][/url]</span> <?php $temp_query = $wp_query; // save original loop ?> <div> <?php /* Choose a category to be an 'aside' in the K2 options panel */ query_posts("cat=$k2asidescategory&showposts=$k2asidesnumber"); while (have_posts()) : the_post(); if (($k2asides != '0') && (in_category($k2asidescategory) && !$single)) { ?> <p class="aside" id="p<?php the_ID(); ?>"><span>»</span><?php echo wptexturize($post->post_content) ?><span class="metalink">[url='<?php the_permalink($post->ID) ?>']#[/url]</span><span class="metalink"> <?php comments_popup_link('0', '1', '%', '', ' '); ?> </span> <?php edit_post_link('edit','<span class="metalink">','</span>'); ?> </p> <?php /* End Asides Loop */ } endwhile; ?> </div> <?php $wp_query = $temp_query; // revert to original loop ?> </div> <?php } } ?> <?php if ((function_exists('delicious')) && is_home() && !(is_paged()) ) { $k2deliciousname = get_option('k2deliciousname'); ?> <?php } ?> <?php } ?> <?php if ((function_exists('related_posts')) && is_single() && ($notfound != '1')) { ?> <?php } ?> </div> <div class="clear"></div></td> <td width="10"></td> <td class="vertical" width="200"><div class="secondary"> <?php global $notfound; ?> <?php /* Creates a menu for pages beneath the level of the current page */ if (is_page() and ($notfound != '1')) { $current_page = $post->ID; while($current_page) { $page_query = $wpdb->get_row("SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = '$current_page'"); $current_page = $page_query->post_parent; } $parent_id = $page_query->ID; $parent_title = $page_query->post_title; if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_status != 'attachment'")) { ?> <?php } } ?> <?php /* Show Asides only on the frontpage */ if (!is_paged() && is_home()) { $k2asidescategory = get_option('k2asidescategory'); $k2asidesnumber = get_option('k2asidesnumber'); if (get_option('k2asidesposition') != '0') { ?> <div class="sb-asides"> <h2> <?php _e('Asides'); ?> </h2> <span class="metalink">[url='<?php bloginfo('url'); ?>/?feed=rss&cat=<?php echo $k2asidescategory; ?>'][img]<?php bloginfo('template_directory'); ?>/images/feed.png[/img][/url]</span> <?php $temp_query = $wp_query; // save original loop ?> <div> <?php /* Choose a category to be an 'aside' in the K2 options panel */ query_posts("cat=$k2asidescategory&showposts=$k2asidesnumber"); while (have_posts()) : the_post(); if (($k2asides != '0') && (in_category($k2asidescategory) && !$single)) { ?> <p class="aside" id="p<?php the_ID(); ?>"><span>»</span><?php echo wptexturize($post->post_content) ?><span class="metalink">[url='<?php the_permalink($post->ID) ?>']#[/url]</span><span class="metalink"> <?php comments_popup_link('0', '1', '%', '', ' '); ?> </span> <?php edit_post_link('edit','<span class="metalink">','</span>'); ?> </p> <?php /* End Asides Loop */ } endwhile; ?> </div> <?php $wp_query = $temp_query; // revert to original loop ?> </div> <?php } } ?> <?php if ( (is_home()) or (is_search() or (is_404()) or ($notfound == '1')) ) { ?> <div class="sb-latest"> <h2> <?php _e('Latest Posts'); ?> </h2> <span class="metalink">[url='<?php bloginfo('rss2_url'); ?>'][img]<?php bloginfo('template_directory'); ?>/images/feed.png[/img][/url]</span> <ul> <?php wp_get_archives('type=postbypost&limit=19'); ?> [/list] </div> <?php } ?> <?php if ((function_exists('blc_latest_comments')) && is_home()) { ?> <div class="sb-comments"> <h2> <?php _e('Latest Comments'); ?> </h2> [url='<?php bloginfo('comments_rss2_url'); ?>'][img]<?php bloginfo('template_directory'); ?>/images/feed.png[/img][/url] <ul> <?php blc_latest_comments('3','5','false'); ?> [/list] </div> <?php } ?> <?php if ((function_exists('delicious')) && is_home() && !(is_paged()) ) { $k2deliciousname = get_option('k2deliciousname'); ?> <?php } ?> <?php /* If this is the an archive page or a search page */ if ( (is_archive()) or (is_search()) or (is_paged()) or (is_home()) or ($notfound == '1') ) { ?> <?php } ?> <?php if ((function_exists('related_posts')) && is_single() && ($notfound != '1')) { ?> <?php } ?> </div> <div class="clear"></div></td> </tr> <tr> <td colspan="5"> <?php if ((function_exists('get_flickrrss')) && ( (is_home()) or (is_page()) or (is_search()) ) ) { ?> <h2><?php _e('Latest Photos on Flickr'); ?></h2> <div align="center" class="sb-flickr"> <?php get_flickrrss(); ?> </div><?php } ?></td> </tr> </table>
Bitte helfen, sollten noch Infos benötigt werden, liefere ich diese natürlich.
Danke schon mal.