5707d791c334ba0f6dfb1399f60933a0081373bb
bfadmin-master advanced

bfadmin-master authored 7 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 7 years ago

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

bfadmin-master authored 7 years ago

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

Christian Fraß authored 7 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 7 years ago

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

Christian Fraß authored 7 years ago

source/content/adpositions.html.php   13) 	$data_adpositions = read_json("source/data/adpositions.json");
source/content/adpositions.html.php   14) 	$data = $data_adpositions["words"];
source/content/adpositions.html.php   15) 	{
source/content/adpositions.html.php   16) 		{
source/content/adpositions.html.php   17) 			$data = sql_cross($data, $data_adpositions["situations"]);
source/content/adpositions.html.php   18) 			$data = sql_select($data, function ($row) {return ($row["situation_id"] == $row["id"]);});
source/content/adpositions.html.php   19) 			$data = sql_delete($data, ["situation_id", "id"]);
source/content/adpositions.html.php   20) 			$data = sql_rename($data, "name", "situation_name");
source/content/adpositions.html.php   21) 		}
source/content/adpositions.html.php   22) 		{
source/content/adpositions.html.php   23) 			$data = sql_cross($data, $data_adpositions["types"]);
source/content/adpositions.html.php   24) 			$data = sql_select($data, function ($row) {return ($row["type_id"] == $row["id"]);});
source/content/adpositions.html.php   25) 			$data = sql_delete($data, ["type_id", "id"]);
source/content/adpositions.html.php   26) 			$data = sql_rename($data, "name", "type_name");
source/content/adpositions.html.php   27) 		}
source/content/adpositions.html.php   28) 		{
Christian Fraß added transition-data and t...

Christian Fraß authored 7 years ago

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

Christian Fraß authored 6 years ago

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

Christian Fraß authored 7 years ago

source/content/adpositions.html.php   33) 		}
source/content/adpositions.html.php   34) 	}
source/content/adpositions.html.php   35) 	
bfadmin-master advanced

bfadmin-master authored 7 years ago

source/structure/adpositions.html.php 36) 	$table = new class_table
source/structure/adpositions.html.php 37) 	(
source/structure/adpositions.html.php 38) 		[
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/adpositions.html.php   39) 			new class_column("Language", "language_id"),
source/content/adpositions.html.php   40) 			new class_column("Situation", "situation_name"),
source/content/adpositions.html.php   41) 			new class_column("Type", "type_name"),
Christian Fraß update

Christian Fraß authored 6 years ago

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

Christian Fraß authored 7 years ago

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

bfadmin-master authored 7 years ago

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

Christian Fraß authored 7 years ago

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

Christian Fraß authored 7 years ago

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

Christian Fraß authored 7 years ago

source/content/adpositions.html.php   48) 	(
source/content/adpositions.html.php   49) 		[
source/content/adpositions.html.php   50) 			"label_vertical" => function ($column) {return "";},
source/content/adpositions.html.php   51) 			"columns_vertical" =>
source/content/adpositions.html.php   52) 			[
source/content/adpositions.html.php   53) 				$table->columns_get()[1],
source/content/adpositions.html.php   54) 			],
source/content/adpositions.html.php   55) 			"label_horizontal" => function ($column, $value) {return $value;},
source/content/adpositions.html.php   56) 			"columns_horizontal" =>
source/content/adpositions.html.php   57) 			[
source/content/adpositions.html.php   58) 				$table->columns_get()[2],
source/content/adpositions.html.php   59) 				$table->columns_get()[3],
source/content/adpositions.html.php   60) 			],
source/content/adpositions.html.php   61) 			"columns_data" =>
source/content/adpositions.html.php   62) 			[
source/content/adpositions.html.php   63) 				$table->columns_get()[0],
source/content/adpositions.html.php   64) 				$table->columns_get()[4],
source/content/adpositions.html.php   65) 			],
source/content/adpositions.html.php   66) 			"data_aggregator" => function ($values)
source/content/adpositions.html.php   67) 			{
source/content/adpositions.html.php   68) 				return $values;
source/content/adpositions.html.php   69) 			},
Christian Fraß added transition-data and t...

Christian Fraß authored 7 years ago

source/content/adpositions.html.php   70) 			"data_formatter" => function_chain
source/content/adpositions.html.php   71) 			(
source/content/adpositions.html.php   72) 				[
source/content/adpositions.html.php   73) 					object_from_array("language_id"),
source/content/adpositions.html.php   74) 					object_map(object_attribute("words")),
source/content/adpositions.html.php   75) 					format_correlation("type_word"),
source/content/adpositions.html.php   76) 				]
source/content/adpositions.html.php   77) 			),
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

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

bfadmin-master authored 7 years ago

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

Christian Fraß authored 7 years ago

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

bfadmin-master authored 7 years ago

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

Christian Fraß authored 6 years ago

source/content/adpositions.html.php   82)  	<p><?php echo(format_correlation("type_sentence")(["flk" => ["Ek skal varte foran."], "eng" => ["I will wait in front."]])); ?></p>
source/content/adpositions.html.php   83)  	<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   84)  	<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   85)  	<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   86)  	<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   87)  	<p><?php echo(format_correlation("type_sentence")(["flk" => ["Je skal löpe ut de hus."], "eng" => ["You shall run out of the house."]])); ?></p>