inc/footer.inc.php
author rejo
Mon, 25 Jun 2007 20:52:41 +0000
changeset 24 9f0138ac3028
parent 23 4abaed69febd
child 26 5d63f1e71d6e
permissions -rw-r--r--
[feladat @ 71] Improved printing of revision information in footer.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     1
<?
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     2
global $db;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     3
if(is_object($db))
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     4
{
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     5
	 $db->disconnect();
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     6
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     7
24
9f0138ac3028 [feladat @ 71]
rejo
parents: 23
diff changeset
     8
 $svn_rev = '$LastChangedRevision: 71 $ $Date: 2006-07-22 21:42:37 -0700 (Sat, 22 Jul 2006) $ $Author: rejo $';
9f0138ac3028 [feladat @ 71]
rejo
parents: 23
diff changeset
     9
 $svn_rev = preg_split("/[\s,]+/", $svn_rev);
9f0138ac3028 [feladat @ 71]
rejo
parents: 23
diff changeset
    10
 $revision = "revision $svn_rev[1] (commited at $svn_rev[4] by $svn_rev[13])";
9f0138ac3028 [feladat @ 71]
rejo
parents: 23
diff changeset
    11
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    12
?>
13
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    13
  </div> <!-- /content -->
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    14
  <div class="footer">
24
9f0138ac3028 [feladat @ 71]
rejo
parents: 23
diff changeset
    15
   <strong>poweradmin</strong> <? echo $revision;?> - <a href="credits.php"><? echo _('credits'); ?></a>
13
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    16
  </div>
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    17
<?
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    18
if(file_exists('inc/custom_footer.inc.php')) 
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    19
{
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    20
	include('inc/custom_footer.inc.php');
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    21
}
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    22
?>
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    23
 </body>
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    24
</html>