initiales Commit

This commit is contained in:
root 2015-06-15 23:48:17 +02:00
commit 3e0855edb8
24 changed files with 13402 additions and 0 deletions

19
.htaccess Executable file
View File

@ -0,0 +1,19 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^css/([a-z\-]+)\.css$ style/$1.css.php [L]
RewriteRule ^([a-z]+)/?$ index.php?page=$1 [L]
#RewriteRule ^robots\.txt$ robots.php [L]
#RewriteRule ^Sitemap\.xml$ sitemap.php [L]
#RewriteRule ^js/([^/\.]+)\.js$ script.php?id=$1 [L]
#RewriteRule ^data/([A-Za-z0-9]{32})/?$ media.php?id=$1&raw=true [L]
#RewriteRule ^([a-z0-9]{32})/?$ index.php?id=$1 [L]
#RewriteRule ^([^/\.]+)/([^/\.]+)/(.) - [F,L]
</IfModule>
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|swf)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>

BIN
img/chch_nacht.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

BIN
img/line_blue.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

BIN
img/line_green.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

BIN
img/line_red.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

BIN
img/marx_blue.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
img/marx_green.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
img/marx_red.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 528 KiB

BIN
img/raw/schema.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 KiB

6362
img/raw/schema.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 482 KiB

BIN
img/raw/schema.xcf Normal file

Binary file not shown.

61
img/raw/texture.svg Normal file
View File

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="343pt"
height="340pt"
id="svg3122"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="Neues Dokument 2">
<defs
id="defs3124" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="4.5254834"
inkscape:cx="210"
inkscape:cy="210"
inkscape:document-units="pt"
inkscape:current-layer="layer1"
id="namedview3126"
showgrid="false"
inkscape:window-width="1301"
inkscape:window-height="744"
inkscape:window-x="65"
inkscape:window-y="24"
inkscape:window-maximized="1" />
<metadata
id="metadata3128">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<polyline
transform="translate(101.279,-297.0475)"
stroke-miterlimit="10"
points="88.171,475.688 92.794,471.642 91.35,475.688 98.14,469.187 94.347,474.966 104.063,466.441 97.273,474.966 107.675,466.441 99.729,475.688 112.443,463.407 102.763,475.688 116.055,463.407 105.219,474.966 118.511,463.407 108.108,474.966 121.4,463.407 111.143,474.966 124.29,463.407 114.032,474.966 127.613,463.407 117.211,474.966 131.658,463.407 121.256,474.966 134.692,463.407 124.29,474.966 137.727,463.407 126.457,474.966 140.308,463.407 130.069,474.966 141.771,463.407 132.669,474.966 141.771,466.151 134.981,474.966 141.771,469.187 137.727,474.966 141.771,471.786 140.308,474.966 "
id="polyline887"
style="fill:none;stroke:#e30613;stroke-width:0.5;stroke-miterlimit:10" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
img/texture_blue.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
img/texture_green.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
img/texture_red.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

80
index.php Normal file
View File

@ -0,0 +1,80 @@
<?php
header("Cache-Control: no-cache, must-revalidate"); //HTTP 1.1
header("Pragma: no-cache"); //HTTP 1.0
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
$pageId=isset($_GET["page"])?$_GET["page"]:"home";
$pages=Array(
Array("name"=>"home","url"=>"/","title"=>"Home"),
Array("name"=>"cfp","url"=>"/cfp","title"=>"call for papers"),
Array("name"=>"tickets","url"=>"/tickets","title"=>"Tickets"),
Array("name"=>"anreise","url"=>"/anreise","title"=>"Anreise"),
Array("name"=>"kontakt","url"=>"/kontakt","title"=>"Kontakt")
);
?>
<!DOCTYPE html>
<html>
<head>
<title>INTERFUG #1//2015</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="shortcut icon" type="image/png" href="/img/icon.png">
<link rel="stylesheet" type="text/css" href="/css/style.css">
</head>
<body>
<table id="container" border="0" cellpadding="0" cellspacing="0">
<tr><td id="marx"></td>
<td id="main">
<header id="header">
<h1>INTERFUG #1//2015</h1>
</header>
<nav id="nav">
<ul>
<?php
foreach($pages as $p)
echo "<li><a href=\"".$p["url"]."\"".($pageId==$p["name"]?" class=\"active\"":"")."><span>".$p["title"]."</span></a></li>\n";
?>
</ul>
</nav>
<div>
<article>
<?php
/*<p>id: <?php echo $pageId; ?></p>*/
switch($pageId){
case "cfp":
echo file_get_contents("text/cfp.html");
break;
case "tickets":
echo file_get_contents("text/tickets.html");
break;
case "anreise":
echo file_get_contents("text/anreise.html");
break;
case "kontakt":
echo file_get_contents("text/kontakt.html");
break;
default:
echo file_get_contents("text/home.html");
break;
}
?>
<footer id="footer" class="box" style="color:#C0C0C0">
<ul class="links">
<li><a href="https://chaoschemnitz.de/ChaosChemnitz:Impressum">Impressum</a></li>
<li>Design by ... + <a href="https://jdi.li/">/jdi/</a>.</li>
</ul>
</footer>
</article>
</div>
</td><td id="line"></td>
</tr>
</table>
</body>
</html>

BIN
misc/ocr_a_regular.ttf Normal file

Binary file not shown.

263
style/style.css.php Normal file
View File

@ -0,0 +1,263 @@
<?php
//header("Cache-Control: no-cache, must-revalidate"); //HTTP 1.1
//header("Pragma: no-cache"); //HTTP 1.0
header("Expires: ".gmdate("D, d M Y H:i:s", time() + 180) ." GMT"); // Date in the past
header('Content-type: text/css');
$colors = Array(
Array("name"=>"red","rgb"=>"#e30613"),
Array("name"=>"green","rgb"=>"#3aaa35"),
Array("name"=>"blue","rgb"=>"#009fe3")
);
/*
*
.yellow{
color:#ffde00;
}
*
*/
$color=$colors[rand(0, 2)];
?>
@charset 'UTF-8';
/*********************************************************************************/
/* Basic */
/*********************************************************************************/
@font-face {
font-family: 'OCR';
font-style: normal;
font-weight: 300;
src: url(/misc/ocr_a_regular.ttf);
}
*{
margin:0;
padding:0;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body, html{
height:100%;
}
body, input, textarea, select, option
{
font-family: 'Source Sans Pro', sans-serif;
font-weight: 300;
color: #222;
}
strong, b{
font-weight: 400;
color: #363636;
}
h1, h2, h3, h4,h5, h6{
font-family: 'OCR';
font-weight: 400;
color: #363636;
}
h3{
text-transform:uppercase;
}
a{
color:inherit;
}
blockquote
{
border-left: solid 0.5em #ddd;
padding: 1em 0 1em 2em;
font-style: italic;
}
em, i
{
font-style: italic;
}
hr
{
border: 0;
border-top: solid 1px #ddd;
padding: 1.5em 0 0 0;
margin: 1.75em 0 0 0;
clear:both;
}
sub
{
position: relative;
top: 0.5em;
font-size: 0.8em;
}
sup
{
position: relative;
top: -0.5em;
font-size: 0.8em;
}
table
{
width: 100%;
}
br.clear
{
clear: both;
}
p, ul, ol, dl, table, blockquote, form
{
margin-bottom: 2em;
}
/*********************************************************************************/
/* Panels */
/*********************************************************************************/
#container{
width: 100%;
height:100%;
margin:0;
background:#F8F8F8;
}
#marx{
min-width:130px;
width:*;
background: url("/img/marx_<?php echo $color["name"]; ?>.png") no-repeat right;
background-size:cover;
}
#line{
min-width:130px;
width:*;
background: url("/img/line_<?php echo $color["name"]; ?>.png") right;
background-size:contain;
}
#main{
background: #FFF;
width:700px;
height: 100vh;
min-width:500px;
border-right: 4px solid <?php echo $color["rgb"]; ?>;
border-left: 4px solid <?php echo $color["rgb"]; ?>;
position: relative;
}
#main>div{
padding-top:130px;
height: 100vh;
overflow-x: hidden;
overflow-y: auto;
}
#main article{
padding-left:100px;
padding-right:20px;
height:100%;
overflow-x: hidden;
overflow-y: auto;
}
.box{
margin:10px;
overflow:hidden;
}
/*********************************************************************************/
/* Nav */
/*********************************************************************************/
#header
{
position:absolute;
top:30px;
height:100px;
left:-120px;
right:-70px;
padding-left:50px;
text-align:center;
}
#header h1
{
font-size:64px;
}
#nav
{
position:absolute;
top:142px;
left:-120px;
width:200px;
}
#nav ul
{
list-style-type:none;
}
#nav li, header
{
border: 4px solid <?php echo $color["rgb"]; ?>;
background: white;
margin-bottom:12px;
padding:4px;
}
#nav a{
display: inline-block;
width:100%
}
#nav a span
{
/*text-transform:*/
background:url("/img/texture_<?php echo $color["name"]; ?>.png") no-repeat right bottom;
background-size:70%;
font-family:'OCR';
display: inline-block;
color: #000;
font-size:1.3em;
width:100%;
line-height: 1.5em;
padding-right:60px;
}
#nav .active span
{
text-decoration:underline;
}
/*********************************************************************************/
/* Content */
/*********************************************************************************/
/*********************************************************************************/
/* Footer */
/*********************************************************************************/
#footer
{
font-family:'OCR';
}

10
text/anreise.html Normal file
View File

@ -0,0 +1,10 @@
<p><div id="content" class="box">
<iframe width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=12.938383519649506%2C50.83022651147957%2C12.940263748168945%2C50.831154889820375&amp;layer=mapnik" style="border: 1px solid black"></iframe><br/><small><a href="http://www.openstreetmap.org/#map=19/50.83069/12.93932">Größere Karte anzeigen</a></small>
</p>
<h3>Adresse</h3>
<p>Chaostreff Chemnitz e.V.<br>
Augustusburger Str. 102<br>
09126 Chemnitz
</p>
<h3>Geokoordinaten</h3>
<p>Nord 50.8306552, Ost 12.9396711</p>

12
text/cfp.html Normal file
View File

@ -0,0 +1,12 @@
<div id="content" class="box">
<p>
Das Motto ist „Denkt denn keiner an die Vögel?“. Wenn ihr einen Vortrag in die Richtung habt, ist das sehr schön. Solltet ihr etwas in einer anderen Richtung haben, auch sehr schön.
Reicht einfach alles ein, was ihr schon immer mal erzählen wolltet.
</p><p>
Die Vortragsslots sind auf 60 Minuten ausgelegt (40 Minuten Vortrag, 10 Minuten Diskussion, 10 Minuten Puffer). Ihr könnt euch gerne daran orientieren. Im Endeffekt biegen wir das schon irgendwie hin.
</p><p>
Um eure Anfragen effizient beantworten zu können, reicht diese bitte im <a href="https://frab.chch.it" title="frab des ChCh">frab</a> ein.
</p><p>
Die Anmeldefrist für Präsentationsanträge endet am 18. August 2015.
</p>
</div>

7
text/home.html Normal file
View File

@ -0,0 +1,7 @@
<div id="content" class="box">
<img alt="die A102 bei Nacht" src="/img/chch_nacht.jpg" width="500">
<p>
Der <a href="https://chaoschemnitz.de" title="Chaostreff Chemnitz">Chaostreff Chemnitz</a> veranstaltet am letzten Augustwochenende (<b>29./30.08.2015</b>) seine erste Konferenz.
Damit das auch ordentlich Spaß macht und ihr euer Wissen möglichst effizient verbreiten könnt, bieten wir eine Bühne und Raum für Vorträge, Worshops und Hacking an.
</p>
</div>

3
text/kontakt.html Normal file
View File

@ -0,0 +1,3 @@
<div id="content" class="box">
<p>Solltest du noch Fragen haben, melde dich einfach unter <a href="mailto:kontakt@interfug.de">kontakt@interfug.de</a></p>
</div>

5
text/tickets.html Normal file
View File

@ -0,0 +1,5 @@
<div id="content" class="box">
<p>
Der Ticketverkauf ist noch nicht gestartet.
</p>
</div>