Example #1
0
<?php

$base = dirname($_SERVER['SCRIPT_NAME']);
$file = substr($_SERVER['SCRIPT_NAME'], strlen($base) + 1);
// +1 for tailing '/'
$autofillable = isset($autofillable) && $autofillable ? true : false;
$autofill_enabled = setting_enabled('autofill');
?>

<div class="topbar" data-dropdown="dropdown">
	<div class="topbar-inner">
		<div class="container fullwidth">
			<ul class="nav">
				<li class="<?php 
print $file == 'index.php' ? 'active' : '';
?>
" >
				<a class="menu_item" href="<?php 
print base_url();
?>
">pics</a>
				</li>

				<li class="<?php 
print $file == 'links.php' ? 'active' : '';
?>
" >
				<a class="menu_item" href="<?php 
print base_url() . 'links.php';
?>
">Links</a>
Example #2
0
print base_url() . '/rss/' . PIC_THUMB_RSS_FILE;
?>
"      title="#aoianime picture feed">
	<link rel="alternate" type="application/rss+xml"  href="<?php 
print base_url() . '/rss/' . PIC_FULL_RSS_FILE;
?>
"       title="#aoianime picture feed (full size)">
	<link rel="alternate" type="application/rss+xml"  href="<?php 
print base_url() . '/rss/' . LINK_RSS_FILE;
?>
"           title="#aoianime link feed">
	<link rel="alternate" type="application/rss+xml"  href="<?php 
print base_url() . '/rss/' . COMBINED_THUMB_RSS_FILE;
?>
" title="#application combined feed">
	<link rel="alternate" type="application/rss+xml"  href="<?php 
print base_url() . '/rss/' . COMBINED_FULL_RSS_FILE;
?>
"  title="#application combined feed (full size)">
</head>
<script>
DO_AUTOFILL = '<?php 
print setting_enabled('autofill') ? '1' : '';
?>
';
</script>
<?php 
flush();
?>
<body>