Exemple #1
0
$mm = new Media();
$ww = new Wires();
$uu = new URL();
$rr = new Request();
$js_back = "javascript:history.back();";
// self
$item = $oo->get($uu->id);
// am i using the ternary operator correctly?
// if this url has an id, get the associated object,
// else, get the root object
$name = $item ? strip_tags($item["name1"]) : false;
// document title
$title = $db_name . " | " . $name;
// $nav = $oo->nav_clean($uu->ids);
// used in add.php, edit.php, browse.php
$ancestors = $oo->ancestors($uu->id);
?>
<!DOCTYPE html>
<html>
	<head>
		<title><?php 
echo $title;
?>
</title>
		<meta charset="utf-8">
		<meta name="description" content="anglophile">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link rel="shortcut icon" href="<?php 
echo $admin_path;
?>
media/icon.png">