Also, ich wollte jetzt erst einmal ne Lösung finden, bevor ich hier alles organisiere, aber okay:
Also die Bilder liegen hier:
1. http://tokyopunk.com/blog/wp-conten…ions/sgarmy.jpg
2. http://tokyopunk.com/blog/wp-conten…ons/myspace.jpg
Das 1. soll auf http://suicidegirls.com/ und das 2. auf http://myspace.com/tokyopunk linken.
Hier ist die sidebar.php:
PHP
<div id="sidebar2" style="float:left;">
<h2><img src="http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif" width="44" height="24" alt="" /></h2>
<?php
// let's generate info appropriate to the page being displayed
if (is_search()) {
// we're on the home page, so let's show a list of all top-level categories
echo "<ul>";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/topsearch.gif\">";
sm_list_popular_searches();
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/nice_eye_candy.gif\">";
echo "<a href='http://tokyopunk.com/blog/kontakt/'><img class='right' src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/write.jpg\" /></a>";
echo "<h2>Dein direkter Draht zu mir!</h2>";
echo "<p>Mach mich happy und schick mir was Nettes zum Anschauen.</p>";
echo "<p><a href='http://tokyopunk.com/blog/kontakt'>Einfach hier klicken</a></p>";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/tokyopunks.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo "<p>Hier klicken für alle anderen!</a></p>";
echo "<ol>";
cc_comment_stats(5, '<li><h1>%a</h1> (%c)</li>');
echo "</ol>";
echo "</ul>";
echo "</ul>";
} if (is_page() || is_single()) {
// catch-all for everything else (archives, searches, 404s, etc)
echo "<ul>";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/recent_writings.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo c2c_get_recent_posts(5);
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/recent_comments.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo c2c_get_recently_commented(5);
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/nice_eye_candy.gif\">";
echo "<a href='http://tokyopunk.com/blog/kontakt/'><img class='right' src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/write.jpg\" /></a>";
echo "<h2>Dein direkter Draht zu mir!</h2>";
echo "<p>Mach mich happy und schick mir was Nettes zum Anschauen.</p>";
echo "<p><a href='http://tokyopunk.com/blog/kontakt'>Einfach hier klicken</a></p>";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/tokyopunks.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo "<p>Hier klicken für alle anderen!</a></p>";
echo "<ol>";
cc_comment_stats(5, '<li><h1>%a</h1> (%c)</li>');
echo "</ol>";
echo "</ul>";
} if (is_page(photos)) {
// catch-all for everything else (archives, searches, 404s, etc)
echo "<ul>";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/recent_writings.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo c2c_get_recent_posts(5);
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/recent_comments.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo c2c_get_recently_commented(5);
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/nice_eye_candy.gif\">";
echo "<a href='http://tokyopunk.com/blog/kontakt/'><img class='right' src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/write.jpg\" /></a>";
echo "<h2>Dein direkter Draht zu mir!</h2>";
echo "<p>Mach mich happy und schick mir was Nettes zum Anschauen.</p>";
echo "<p><a href='http://tokyopunk.com/blog/kontakt'>Einfach hier klicken</a></p>";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/tokyopunks.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo "<p>Hier klicken für alle anderen!</a></p>";
echo "<ol>";
cc_comment_stats(5, '<li><h1>%a</h1> (%c)</li>');
echo "</ol>";
echo "</ul>";
} if (is_home()) {
echo "<ul>";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/feat.gif\">";
!!!!! HIER SOLLEN DIE ZUFALLSBILDER ERSCHEINEN !!!!
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/pixel.gif\">";
echo "<a href='http://tokyopunk.com/blog/photos/'><img class='right' src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/photo.jpg\" /></a>";
echo "<h2>Sexy Schnappschüsse nur für euch</h2>";
echo "<p><a href='http://tokyopunk.com/blog/photos/'>Sofort hier ansehen</a></p>";;
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/gride.gif\">";
echo "<a href='http://tokyopunk.com/blog/info/'><img class='right' src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/about.jpg\" /></a>";
echo "<p><a href='http://tokyopunk.com/blog/info'>Alles über mich</a></p>";
echo "<a href='http://tokyopunk.com/blog/kram'>Geile Sachen</a></p>";
echo "<a href='http://tokyopunk.com/blog/leute'>Menschen hinter mir</a>";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/nice_eye_candy.gif\">";
echo "<a href='http://tokyopunk.com/blog/kontakt/'><img class='right' src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/write.jpg\" /></a>";
echo "<h2>Dein direkter Draht zu mir!</h2>";
echo "<p>Mach mich happy und schick mir was Nettes zum Anschauen.</p>";
echo "<p><a href='http://tokyopunk.com/blog/kontakt'>Einfach hier klicken</a></p>";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/tokyopunks.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo "<p>Hier klicken für alle anderen!</a></p>";
echo "<ol>";
cc_comment_stats(5, '<li><h1>%a</h1> (%c)</li>');
echo "</ol>";
echo "</ul>";
} if ( strpos( $_SERVER['REQUEST_URI'], 'photos' ) ) {
echo "<ul>";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/recent_writings.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo c2c_get_recent_posts(5);
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/recent_comments.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo c2c_get_recently_commented(5);
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/nice_eye_candy.gif\">";
echo "<a href='http://tokyopunk.com/blog/kontakt/'><img class='right' src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/write.jpg\" /></a>";
echo "<h2>Dein direkter Draht zu mir!</h2>";
echo "<p>Mach mich happy und schick mir was Nettes zum Anschauen.</p>";
echo "<p><a href='http://tokyopunk.com/blog/kontakt'>Einfach hier klicken</a></p>";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/tokyopunks.gif\">";
echo "<img src=\"http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif\">";
echo "<p>Hier klicken für alle anderen!</a></p>";
echo "<ol>";
cc_comment_stats(5, '<li><h1>%a</h1> (%c)</li>');
echo "</ol>";
echo "</ul>";
} else {
} // That's all, folks!
?></div>
<div id="sidebar" style="float:left;">
<h2><img src="http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif" width="44" height="37" alt="" /></h2>
<ul>
<li><a href="<?php echo get_settings('home'); ?>/">Home</a></li>
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
</ul>
<img src="http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif" alt="" />
<h2><img src="http://tokyopunk.com/blog/wp-content/themes/simplablack/images/rock.gif" /></h2>
<img src="http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif" alt="" />
<ul id="linkmusic">
<?php get_links('14', '', '', '', 1, '', 0, 0, -1, 0); ?>
</ul>
<img src="http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif" alt="" />
<h2><img src="http://tokyopunk.com/blog/wp-content/themes/simplablack/images/links.gif" /></h2>
<img src="http://tokyopunk.com/blog/wp-content/themes/simplablack/images/space.gif" alt="" />
<ul>
<?php get_links('1'); ?>
</ul>
</div>
Alles anzeigen
Die Bilder sollen im letzten Drittel des Codes, dort wo "!!! HIER SOLLEN DIE ZUFALLSBILDER ERSCHEINEN !!!" steht erscheinen.
Na, ne Idee? Oder doch lieber n Plugin? ;)