bouffeatulm/tmp/header.36ba0f7e771a8681573a91518b54b424.rtpl.php

39 lines
1.0 KiB
PHP
Raw Normal View History

2013-08-09 00:44:43 +02:00
<?php if(!class_exists('raintpl')){exit;}?><!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title><?php echo $instance_title;?></title>
2013-08-09 23:43:56 +02:00
<link rel="stylesheet" media="screen" type="text/css" href="tpl/./css/style.css" />
2013-08-09 00:44:43 +02:00
<link rel="icon" href="tpl/./favicon.ico" />
</head>
<body>
2013-08-09 23:43:56 +02:00
<?php if( !$connection ){ ?>
<h1 id="title"><?php echo $instance_title;?></h1>
<?php if( $notice != '' ){ ?>
<p><?php echo $notice;?></p>
<?php } ?>
<div id="menu">
<ul>
<li><a href="index.php?do=new_invoice">Add a bill</a></li>
<li><a href="index.php?do=password">Change your password</a></li>
<li><a href="index.php?do=paybacks">See paybacks</a></li>
</ul>
<?php if( $admin == 1 ){ ?>
<ul>
<li><a href="index.php?do=manage_paybacks">Manage paybacks</a></li>
<li><a href="index.php?do=edit_users">Edit users</a></li>
<li><a href="index.php?do=edit_notics">Edit notice on homepage</a></li>
<li><a href="index.php?do=disconnect">Disconnect</a></li>
</ul>
<?php } ?>
</div>
<?php } ?>