93d9ca56b8bd442ad80ed14bfc5c179bcc6d3947
bfadmin-master advanced

bfadmin-master authored 8 years ago

source/structure/adpositions.html.php  1) <?php
source/structure/adpositions.html.php  2) 	include_once("source/logic/server/data.php");
source/structure/adpositions.html.php  3) 	include_once("source/logic/server/table.php");
source/structure/adpositions.html.php  4) 	include_once("source/logic/server/misc.php");
source/structure/adpositions.html.php  5)  ?>
bfadmin-master advanced

bfadmin-master authored 8 years ago

source/structure/adpositions.html.php  6) <section class="section" id="adpositions">
bfadmin-master advanced

bfadmin-master authored 8 years ago

source/structure/adpositions.html.php  7) 	<header>Adpositions</header>
Christian Fraß personal pronouns and infin...

Christian Fraß authored 8 years ago

source/content/adpositions.html.php    8) 	<?php proposal(); ?>
source/content/adpositions.html.php    9) 	<!--
source/content/adpositions.html.php   10) 	<p>The following list gives an overview over prepositions:</p>
source/content/adpositions.html.php   11) 	  -->
bfadmin-master advanced

bfadmin-master authored 8 years ago

source/structure/adpositions.html.php 12) <?php
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   13) 	$data_adpositions = read_json("source/data/adpositions.json");
Christian Fraß save

Christian Fraß authored 7 years ago

source/content/adpositions.html.php   14) 	// $data = $data_adpositions["words"];
source/content/adpositions.html.php   15) 	$data = $data_adpositions["situations"];
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   16) 	{
Christian Fraß save

Christian Fraß authored 7 years ago

source/content/adpositions.html.php   17) 		/*
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   18) 		{
source/content/adpositions.html.php   19) 			$data = sql_cross($data, $data_adpositions["situations"]);
source/content/adpositions.html.php   20) 			$data = sql_select($data, function ($row) {return ($row["situation_id"] == $row["id"]);});
Christian Fraß save

Christian Fraß authored 7 years ago

source/content/adpositions.html.php   21) 			$data = sql_order($data, function ($x, $y) {return ($x["situation_id"] >= $y["situation_id"]);});
source/content/adpositions.html.php   22) 			$data = sql_delete($data, ["situation_id", "id"]);
source/content/adpositions.html.php   23) 			$data = sql_rename($data, "name", "situation_name");
source/content/adpositions.html.php   24) 		}
source/content/adpositions.html.php   25) 		 */
source/content/adpositions.html.php   26) 		{
source/content/adpositions.html.php   27) 			$data = sql_cross($data, $data_adpositions["words"]);
source/content/adpositions.html.php   28) 			$data = sql_select($data, function ($row) {return ($row["situation_id"] == $row["id"]);});
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   29) 			$data = sql_delete($data, ["situation_id", "id"]);
source/content/adpositions.html.php   30) 			$data = sql_rename($data, "name", "situation_name");
source/content/adpositions.html.php   31) 		}
source/content/adpositions.html.php   32) 		{
source/content/adpositions.html.php   33) 			$data = sql_cross($data, $data_adpositions["types"]);
source/content/adpositions.html.php   34) 			$data = sql_select($data, function ($row) {return ($row["type_id"] == $row["id"]);});
source/content/adpositions.html.php   35) 			$data = sql_delete($data, ["type_id", "id"]);
source/content/adpositions.html.php   36) 			$data = sql_rename($data, "name", "type_name");
source/content/adpositions.html.php   37) 		}
source/content/adpositions.html.php   38) 		{
Christian Fraß added transition-data and t...

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   39) 			$data = sql_cross($data, $data_adpositions["references"]);
source/content/adpositions.html.php   40) 			$data = sql_select($data, function ($row) {return ($row["reference_id"] == $row["id"]);});
source/content/adpositions.html.php   41) 			$data = sql_delete($data, ["reference_id", "id"]);
Christian Fraß update

Christian Fraß authored 7 years ago

source/content/adpositions.html.php   42) 			$data = sql_rename($data, "name", "reference_name");
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   43) 		}
source/content/adpositions.html.php   44) 	}
source/content/adpositions.html.php   45) 	
bfadmin-master advanced

bfadmin-master authored 8 years ago

source/structure/adpositions.html.php 46) 	$table = new class_table
source/structure/adpositions.html.php 47) 	(
source/structure/adpositions.html.php 48) 		[
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   49) 			new class_column("Language", "language_id"),
source/content/adpositions.html.php   50) 			new class_column("Situation", "situation_name"),
source/content/adpositions.html.php   51) 			new class_column("Type", "type_name"),
Christian Fraß update

Christian Fraß authored 7 years ago

source/content/adpositions.html.php   52) 			new class_column("Reference", "reference_name"),
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   53) 			new class_column("Words", "words", function ($x) {return json_encode($x);}),
bfadmin-master advanced

bfadmin-master authored 8 years ago

source/structure/adpositions.html.php 54) 		],
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   55) 		$data
source/content/adpositions.html.php   56) 	);
Christian Fraß added transition-data and t...

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   57) 	$table_ = $table->snap
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   58) 	(
source/content/adpositions.html.php   59) 		[
source/content/adpositions.html.php   60) 			"label_vertical" => function ($column) {return "";},
source/content/adpositions.html.php   61) 			"columns_vertical" =>
source/content/adpositions.html.php   62) 			[
source/content/adpositions.html.php   63) 				$table->columns_get()[1],
source/content/adpositions.html.php   64) 			],
source/content/adpositions.html.php   65) 			"label_horizontal" => function ($column, $value) {return $value;},
source/content/adpositions.html.php   66) 			"columns_horizontal" =>
source/content/adpositions.html.php   67) 			[
source/content/adpositions.html.php   68) 				$table->columns_get()[2],
source/content/adpositions.html.php   69) 				$table->columns_get()[3],
source/content/adpositions.html.php   70) 			],
source/content/adpositions.html.php   71) 			"columns_data" =>
source/content/adpositions.html.php   72) 			[
source/content/adpositions.html.php   73) 				$table->columns_get()[0],
source/content/adpositions.html.php   74) 				$table->columns_get()[4],
source/content/adpositions.html.php   75) 			],
source/content/adpositions.html.php   76) 			"data_aggregator" => function ($values)
source/content/adpositions.html.php   77) 			{
source/content/adpositions.html.php   78) 				return $values;
source/content/adpositions.html.php   79) 			},
Christian Fraß added transition-data and t...

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   80) 			"data_formatter" => function_chain
source/content/adpositions.html.php   81) 			(
source/content/adpositions.html.php   82) 				[
source/content/adpositions.html.php   83) 					object_from_array("language_id"),
source/content/adpositions.html.php   84) 					object_map(object_attribute("words")),
source/content/adpositions.html.php   85) 					format_correlation("type_word"),
source/content/adpositions.html.php   86) 				]
source/content/adpositions.html.php   87) 			),
Christian Fraß repaired tables in content

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   88) 		]
bfadmin-master advanced

bfadmin-master authored 8 years ago

source/structure/adpositions.html.php 89) 	);
Christian Fraß added transition-data and t...

Christian Fraß authored 8 years ago

source/content/adpositions.html.php   90) 	$table_->generate();
bfadmin-master advanced

bfadmin-master authored 8 years ago

source/structure/adpositions.html.php 91)  ?>
Christian Fraß more adpositions

Christian Fraß authored 7 years ago

source/content/adpositions.html.php   92)  	<p><?php echo(format_correlation("type_sentence")(["flk" => ["Ek skal varte foran."], "eng" => ["I will wait in front."]])); ?></p>
source/content/adpositions.html.php   93)  	<p><?php echo(format_correlation("type_sentence")(["flk" => ["Du mut blive bakan."], "eng" => ["You must stay in the back."]])); ?></p>
source/content/adpositions.html.php   94)  	<p><?php echo(format_correlation("type_sentence")(["flk" => ["Han sta nedan de brüg."], "eng" => ["He stands under the bridge."]])); ?></p>
source/content/adpositions.html.php   95)  	<p><?php echo(format_correlation("type_sentence")(["flk" => ["Hun flüg uvan de volker."], "eng" => ["She flies above the clouds."]])); ?></p>
source/content/adpositions.html.php   96)  	<p><?php echo(format_correlation("type_sentence")(["flk" => ["Vi kan gae in de timer."], "eng" => ["We can go into the room."]])); ?></p>
source/content/adpositions.html.php   97)  	<p><?php echo(format_correlation("type_sentence")(["flk" => ["Je skal löpe ut de hus."], "eng" => ["You shall run out of the house."]])); ?></p>