Aufgabe 2: include der Teilseiten funktioniert
This commit is contained in:
parent
bf4ce7d58c
commit
d4639fe5e8
6 changed files with 58 additions and 42 deletions
|
@ -12,7 +12,8 @@
|
||||||
<link rel="stylesheet" type="text/css" media="screen" href="css/main.css"/>
|
<link rel="stylesheet" type="text/css" media="screen" href="css/main.css"/>
|
||||||
<script src="js/table.js"></script>
|
<script src="js/table.js"></script>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.2/css/all.css" integrity="sha384-/rXc/GQVaYpyDdyxK+ecHPVYJSN9bmVFBvjA/9eOB+pb3F2w2N6fc5qB9Ew5yIns"
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.2/css/all.css"
|
||||||
|
integrity="sha384-/rXc/GQVaYpyDdyxK+ecHPVYJSN9bmVFBvjA/9eOB+pb3F2w2N6fc5qB9Ew5yIns"
|
||||||
crossorigin="anonymous">
|
crossorigin="anonymous">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -28,13 +29,16 @@
|
||||||
<a href="index.php"><i class="fas fa-ellipsis-v"></i> <i class="fas fa-bars"></i> A1 - Table</a>
|
<a href="index.php"><i class="fas fa-ellipsis-v"></i> <i class="fas fa-bars"></i> A1 - Table</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="icon">
|
<li class="icon">
|
||||||
<a href="index.php?page=parse"><i class="fas fa-ellipsis-v"></i> <i class="fas fa-bars"></i> A2 - Parse</a>
|
<a href="index.php?page=parse"><i class="fas fa-ellipsis-v"></i> <i class="fas fa-bars"></i> A2 -
|
||||||
|
Parse</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="icon">
|
<li class="icon">
|
||||||
<a href="index.php?page=save"><i class="fas fa-ellipsis-v"></i> <i class="fas fa-bars"></i> A2 - Save</a>
|
<a href="index.php?page=save"><i class="fas fa-ellipsis-v"></i> <i class="fas fa-bars"></i> A2 -
|
||||||
|
Save</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="icon">
|
<li class="icon">
|
||||||
<a href="index.php?page=print"><i class="fas fa-ellipsis-v"></i> <i class="fas fa-bars"></i> A2 - Print</a>
|
<a href="index.php?page=print"><i class="fas fa-ellipsis-v"></i> <i class="fas fa-bars"></i> A2 -
|
||||||
|
Print</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="icon">
|
<li class="icon">
|
||||||
<a><i class="fas fa-ellipsis-v"></i> <i class="fas fa-bars"></i> A3 - REST</a>
|
<a><i class="fas fa-ellipsis-v"></i> <i class="fas fa-bars"></i> A3 - REST</a>
|
||||||
|
@ -48,34 +52,20 @@
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<section class="page" id="section">
|
<section class="page" id="section">
|
||||||
<h1>World Data Overview ...</h1>
|
<?php
|
||||||
|
if (isset($_GET["page"])) {
|
||||||
<p class='text'>Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. Por scientie,
|
if ($_GET["page"] == "parse") {
|
||||||
musica, sport etc, litot Europa usa li sam vocabular. Li lingues differe solmen in li grammatica, li
|
include 'parse.inc.php';
|
||||||
pronunciation e li plu commun vocabules. Omnicos directe al desirabilite de un nov lingua franca: On refusa
|
} elseif ($_GET["page"] == "save") {
|
||||||
continuar payar custosi traductores.
|
include 'save.inc.php';
|
||||||
|
} elseif ($_GET["page"] == "print") {
|
||||||
At solmen va esser necessi far uniform grammatica, pronunciation e plu sommun paroles. Ma quande lingues
|
include 'print.inc.php';
|
||||||
coalesce, li grammatica del resultant lingue es plu simplic e regulari quam ti del coalescent lingues. Li
|
}
|
||||||
nov lingua franca va esser plu simplic e regulari quam li existent Europan lingues.
|
} else {
|
||||||
|
include 'main.inc.php';
|
||||||
It va esser tam simplic quam Occidental in fact, it va esser Occidental. A un Angleso it va semblar un
|
}
|
||||||
simplificat Angles, quam un skeptic Cambridge amico dit me que Occidental es. Li Europan lingues es membres
|
?>
|
||||||
del sam familie. Lor separat existentie es un myth. Por scientie, musica, sport etc, litot Europa usa li
|
|
||||||
sam vocabular. Li lingues differe solmen in li grammatica, li pronunciation e li plu commun vocabules.
|
|
||||||
Omnicos directe al desirabilite de un nov lingua franca: On refusa continuar payar custosi traductores.
|
|
||||||
|
|
||||||
At solmen va esser necessi far uniform grammatica, pronunciation e plu sommun paroles. <a href="index.html">jony_ipsum</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div id="options" class="option_list"></div>
|
|
||||||
|
|
||||||
<div class="table-wrapper">
|
|
||||||
<table id="t01"></table>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
29
aufgabe2/main.inc.php
Normal file
29
aufgabe2/main.inc.php
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
<section class="page" id="section">
|
||||||
|
<h1>World Data Overview ...</h1>
|
||||||
|
|
||||||
|
<p class='text'>Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. Por scientie,
|
||||||
|
musica, sport etc, litot Europa usa li sam vocabular. Li lingues differe solmen in li grammatica, li
|
||||||
|
pronunciation e li plu commun vocabules. Omnicos directe al desirabilite de un nov lingua franca: On refusa
|
||||||
|
continuar payar custosi traductores.
|
||||||
|
|
||||||
|
At solmen va esser necessi far uniform grammatica, pronunciation e plu sommun paroles. Ma quande lingues
|
||||||
|
coalesce, li grammatica del resultant lingue es plu simplic e regulari quam ti del coalescent lingues. Li
|
||||||
|
nov lingua franca va esser plu simplic e regulari quam li existent Europan lingues.
|
||||||
|
|
||||||
|
It va esser tam simplic quam Occidental in fact, it va esser Occidental. A un Angleso it va semblar un
|
||||||
|
simplificat Angles, quam un skeptic Cambridge amico dit me que Occidental es. Li Europan lingues es membres
|
||||||
|
del sam familie. Lor separat existentie es un myth. Por scientie, musica, sport etc, litot Europa usa li
|
||||||
|
sam vocabular. Li lingues differe solmen in li grammatica, li pronunciation e li plu commun vocabules.
|
||||||
|
Omnicos directe al desirabilite de un nov lingua franca: On refusa continuar payar custosi traductores.
|
||||||
|
|
||||||
|
At solmen va esser necessi far uniform grammatica, pronunciation e plu sommun paroles. <a href="index.php">jony_ipsum</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div id="options" class="option_list"></div>
|
||||||
|
|
||||||
|
<div class="table-wrapper">
|
||||||
|
<table id="t01"></table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</section>
|
4
aufgabe2/parse.inc.php
Normal file
4
aufgabe2/parse.inc.php
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<?php
|
||||||
|
echo "Ich bin die Parse-Datei!";
|
||||||
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Created by PhpStorm.
|
|
||||||
* User: Selin
|
|
||||||
* Date: 10.11.2018
|
|
||||||
* Time: 16:00
|
|
||||||
*/
|
|
Loading…
Reference in a new issue