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> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<link rel="stylesheet" href="cards.css"> | |
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Vollkorn" /> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> | |
</head> | |
<body> |
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
/* | |
* Draws a new card in the document <body>. | |
*/ | |
function renderPainting() { | |
var postings = [ | |
{ | |
pictureName: 'Starry Night', | |
artist: 'Vincent van Gogh', | |
year: 1889, | |
image: '1.jpg' |
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) |
OlderNewer