This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? // Itunes Mediathek Skript ?> | |
<pre> | |
<? | |
// Just import the regular iTunes Mediathek Export XML File | |
// Be sure to have a good Hoster. My Mediathek.xml is about 6.5 MB. | |
$xml = simplexml_load_file("Mediathek.xml"); | |
foreach ($xml as $key1 => $value1) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
<html> | |
<head> | |
<title>Benjamin Birkenhake sein WebLog</title> | |
<link rel="stylesheet" type="text/css" href="weblog.css"> | |
</head> | |
<body> | |
<div class="weblognet"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Quellcode-Ausschnitt: | |
$counter = 1; | |
foreach ($related_posts as $related_post ){ | |
$teaser = get_post_meta($related_post->ID, 'entry_thumb', true); | |
$output .= '<li id="a-'.$counter.'">\n'; | |
if ($show_date){ | |
$dateformat = get_option('date_format'); | |
$output .= mysql2date($dateformat, $related_post->post_date) . " -- "; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if($page and $node->field_css[0]["value"]){?> | |
<style type="text/css"> | |
<?=$node->field_css[0]["value"]?> | |
</style> | |
<?}?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$view = new view; | |
$view->name = 'contributions'; | |
$view->description = 'Seiten und Feeds für einzelene Node-Typen'; | |
$view->tag = 'anmut und demut'; | |
$view->view_php = ''; | |
$view->base_table = 'node'; | |
$view->is_cacheable = FALSE; | |
$view->api_version = 2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.getElementsByAttribute=function(attrN,attrV,multi){ | |
attrV=attrV.replace(/\|/g,'\\|').replace(/\[/g,'\\[').replace(/\(/g,'\\(').replace(/\+/g,'\\+').replace(/\./g,'\\.').replace(/\*/g,'\\*').replace(/\?/g,'\\?').replace(/\//g,'\\/'); | |
var | |
multi=typeof multi!='undefined'? | |
multi: | |
false, | |
cIterate=document.getElementsByTagName('*'), | |
aResponse=[], | |
attr, | |
re=new RegExp(multi?'\\b'+attrV+'\\b':'^'+attrV+'$'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function xlink_replace_show_embed(){ | |
var results = ''; | |
results = document.getElementsByAttribute('show', 'embed'); | |
//alert(results[0].attributes.id.value); | |
for (var i = 0; i <= results.length; i++){ | |
ajaxManager('load_page', results[i].attributes.href.value, results[i].attributes.id.value); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ajaxManager() { | |
var args = ajaxManager.arguments; | |
switch (args[0]) { | |
case "start_up": | |
/*ajaxManager('load_page','navigation.xml','menu'); */ | |
/* | |
Args 0: load_page (der Fall, der bearbeitet werden soll) | |
Args 1: navigation.xml (die zu ladende Datei) | |
Args 2: contentLYR (das Ziel-Div) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Tiny Skript to click do something with my stuff. | |
// Do something here | |
// Tiny Clicktracker | |
if($_SERVER["HTTP_REFERER"]!=""){ | |
$file = fopen("counter.txt", "a+"); | |
fwrite($file, time()." | ".$_SERVER["HTTP_REFERER"]."\n"); | |
fclose($file); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$charTable=array( | |
'a' => 2, | |
'ä' => 2, | |
'b' => 3, | |
'c' => 4, | |
'd' => 5, | |
'e' => 6, | |
'f' => 7, |
OlderNewer