source: pmb4.2/trunk/fuentes/pmb/admin/misc/alter.inc.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 1.0 KB
Line 
1<?php
2// +-------------------------------------------------+
3// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
4// +-------------------------------------------------+
5// $Id: alter.inc.php,v 1.11 2009-05-16 11:11:52 dbellamy Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9$admin_layout = str_replace('!!menu_sous_rub!!', $msg[1800], $admin_layout);
10print $admin_layout;
11print "
12<div class='row'>".
13        $msg[alter_version_pmb]." ".$pmb_version_brut;
14
15if ($pmb_verif_on_line) {
16        $fp=@fopen($pmb_version_web, "rb");
17        if ($fp) { 
18                $buffer = fgets($fp, 4096);
19                fclose($fp) ;
20                if ($buffer!=$pmb_version_brut) {
21                        $mess_version_web = str_replace("!!version_web!!", $buffer, $msg[alter_version_pmb_dispo]) ;
22                        print " <br /><label class='etiquette'>$mess_version_web</label>";
23                        }
24                }
25        }
26
27print "
28        </div>
29<div class='row'>
30        <iframe name='alter' frameborder='0' scrolling='yes' width='800' height='600' src='./admin/misc/alter.php'>
31        </div>
32<noframes></noframes>" ;
Note: See TracBrowser for help on using the repository browser.