Exemplo n.º 1
1
function do_connect()
{
    if (!isset($_REQUEST['LOGIN']) || !isset($_REQUEST['PASSWORD'])) {
        return home();
    }
    global $user;
    global $page;
    if ($user->Connect($_REQUEST['LOGIN'], $_REQUEST['PASSWORD'])) {
        $page['title'] = 'Succès de connection';
        $page['class'] = 'VHtml';
        $page['method'] = 'View_html';
        $page['arg'] = 'succes_connect.html';
    } else {
        $page['title'] = 'Echec de connection';
        $page['class'] = 'VHtml';
        $page['method'] = 'View_html';
        $page['arg'] = 'echec_connect.html';
    }
}
Exemplo n.º 2
0
function get_pages()
{
    $home = home();
    if (array_key_exists('children', $home)) {
        return $home['children'];
    } else {
        return array();
    }
}
Exemplo n.º 3
0
function fromhome()
{
    if (isset($_SESSION['home'])) {
        // test if user comes from home page
        if ($_SESSION['home'] == 'yes') {
            return;
        }
    }
    $_SESSION['home'] = 'yes';
    home();
    exit;
}
Exemplo n.º 4
0
function process_request()
{
    global $legal_op;
    $result = array();
    $request = split("/", $_REQUEST['q']);
    $op = $request[0];
    $arg = $request[1];
    if (in_array($op, $legal_op) && is_callable($op, false, $run)) {
        $run($result, $arg);
    } else {
        home($result);
    }
    return $result;
}
Exemplo n.º 5
0
Arquivo: core.php Projeto: alx/Tetalab
function pixopoint_menu($pixo_which = 1)
{
    echo '
<!-- Multi-level Navigational Plugin by PixoPoint Web Development ... http://pixopoint.com/multi-level-navigation/ -->
';
    // Checks to see if theme CSS should be used and serves different HTML if isn't - so that theme CSS won't mess up plugin CSS
    if (get_option('suckerfish_generator') == 'Theme CSS') {
        echo '
<div id="menu_wrapper' . $pixo_which . '">
	<div id="menu' . $pixo_which . '">
';
    } else {
        echo '
<div id="pixopoint_menu_wrapper' . $pixo_which . '">
	<div id="pixopoint_menu' . $pixo_which . '">
';
    }
    if (get_option('suckerfish_titletags') == 'on') {
        ob_start();
    }
    // Main menu option
    if ($pixo_which == '1') {
        ?>
		<ul class="sf-menu" id="suckerfishnav"><?php 
        global $suckerfish_menuitem;
        foreach ($suckerfish_menuitem as $key => $menuitem) {
            switch ($menuitem) {
                case "Pages":
                    pages();
                    break;
                case "Pages (single dropdown)":
                    pagesdropdown();
                    break;
                case "Categories":
                    category();
                    break;
                case "Categories (single dropdown)":
                    categoriesdropdown();
                    break;
                case "Home":
                    home();
                    break;
                case "Links - no categories":
                    blogroll();
                    break;
                case "Links - no categories (single dropdown)":
                    blogrolldropdown();
                    break;
                case "Links - with categories":
                    blogrollcategories();
                    break;
                case "Links - with categories (single dropdown)":
                    blogrollcategoriesdropdown();
                    break;
                case "Archives - months":
                    archivesmonths();
                    break;
                case "Archives - years":
                    archivesyears();
                    break;
                case "Archives - months (single dropdown)":
                    archivesmonthsdropdown();
                    break;
                case "Archives - years (single dropdown)":
                    archivesyearsdropdown();
                    break;
                case "Recent Comments (single dropdown)":
                    recentcomments();
                    break;
                case "Custom 1":
                    custom();
                    break;
                case "Custom 2":
                    custom2();
                    break;
                case "Custom 3":
                    custom3();
                    break;
                case "Custom 4":
                    custom4();
                    break;
                case "Recent Posts (single dropdown)":
                    recentposts();
                    break;
            }
        }
    }
    // Second menu option
    if ($pixo_which == '2') {
        ?>
		<ul class="sf-menu" id="suckerfishnav_2"><?php 
        global $suckerfish_2_menuitem;
        foreach ($suckerfish_2_menuitem as $key => $menuitem) {
            switch ($menuitem) {
                case "Pages":
                    pages();
                    break;
                case "Pages (single dropdown)":
                    pagesdropdown();
                    break;
                case "Categories":
                    category();
                    break;
                case "Categories (single dropdown)":
                    categoriesdropdown();
                    break;
                case "Home":
                    home();
                    break;
                case "Links - no categories":
                    blogroll();
                    break;
                case "Links - no categories (single dropdown)":
                    blogrolldropdown();
                    break;
                case "Links - with categories":
                    blogrollcategories();
                    break;
                case "Links - with categories (single dropdown)":
                    blogrollcategoriesdropdown();
                    break;
                case "Archives - months":
                    archivesmonths();
                    break;
                case "Archives - years":
                    archivesyears();
                    break;
                case "Archives - months (single dropdown)":
                    archivesmonthsdropdown();
                    break;
                case "Archives - years (single dropdown)":
                    archivesyearsdropdown();
                    break;
                case "Recent Comments (single dropdown)":
                    recentcomments();
                    break;
                case "Custom 1":
                    custom();
                    break;
                case "Custom 2":
                    custom2();
                    break;
                case "Custom 3":
                    custom3();
                    break;
                case "Custom 4":
                    custom4();
                    break;
                case "Recent Posts (single dropdown)":
                    recentposts();
                    break;
            }
        }
    }
    if (get_option('suckerfish_titletags') == 'on') {
        $pixo_menucontents = ob_get_contents();
        ob_end_clean();
        $pixo_menucontents = preg_replace('/title=\\"(.*?)\\"/', '', $pixo_menucontents);
        $pixo_menucontents = preg_replace('/title=\'(.*?)\'/', '', $pixo_menucontents);
        echo $pixo_menucontents;
    }
    ?>
</ul>
	</div>
</div>
<?php 
}
Exemplo n.º 6
0
 public static function home()
 {
     return home();
 }
Exemplo n.º 7
0
function move($file, $ndir, $folder)
{
    global $folder, $l;
    if (!$file == "") {
        maintop($l['TOP_MOVE']);
        if (@rename($folder . $file, $ndir . $file)) {
            $txt = str_replace('%1', "<div class='breadcrumb' style='margin:30px;'>" . breadcrumb($folder) . " / " . $file . "</div>", $l['MOV_MSG2']);
            $txt = str_replace('%2', "<div class='breadcrumb' style='margin:30px;'>" . breadcrumb($ndir) . " / " . $file . "</div>", $txt);
            echo $txt;
        } else {
            echo "<p>" . str_replace('%1', " <span class='breadcrumb'>" . breadcrumb($folder) . " / " . $file . "</span> ", $l['MOV_MSG3']) . "</p>";
        }
        mainbottom();
    } else {
        home();
    }
}
Exemplo n.º 8
0
 private function _show_webpage()
 {
     $this->page = 'api_docs';
     if (!loadpage($this->page, true, 'pre')) {
         $this->page_body = '<div class="baseNormalContent">Pagina niet gevonden.
             <a href="' . home() . '">Klik hier</a> om terug te keren naar de hoofdpagina.</div>';
     }
     $this->load->view('frontend_main');
 }
Exemplo n.º 9
0
<?php

include "util.inc";
include "config.inc";
include "schema.inc";
include "xmlrpc.inc";
$uploadfile = NUCLEUS_UPLOAD_DIRECTORY . "/" . md5(uniqid(rand(), true));
if (!move_uploaded_file($_FILES['schemaFile']['tmp_name'], $uploadfile)) {
    print "Unable to upload schema.  Debug output below.";
    print "<pre>";
    print_r($_FILES);
    print "</pre>";
    print "<a href=\"" . home() . "\">Try again</a>";
    start_over();
}
load_schema();
if ($_POST['sendQuery'] == "drip") {
    $_SESSION['network']['sendQuery'] = 65534;
} else {
    if ($_POST['sendQuery'] == "local") {
        $_SESSION['network']['sendQuery'] = 65535;
    }
}
if ($_POST['receiveResults'] == "drain") {
    $_SESSION['network']['receiveResults'] = 0;
} else {
    if ($_POST['receiveResults'] == "local") {
        $_SESSION['network']['receiveResults'] = 65535;
    } else {
        if ($_POST['receiveResults'] == "serial") {
            $_SESSION['network']['receiveResults'] = 126;
Exemplo n.º 10
0
        echo $twig->render('resolutions.twig', getCaseStudySolvById($_GET['id']));
        break;
    case 'about':
        echo $twig->render('about.twig');
        break;
    case 'help':
        echo $twig->render('help.twig');
        break;
    case 'enterprise-profile':
        if ($_SESSION['type'] == "student") {
            echo $twig->render('enterprise_public_profile.twig', getEnterpriseProfile($_GET['id']));
        } else {
            echo $twig->render('500.twig');
        }
        break;
    case 'student-profile':
        echo $twig->render('user_public_profile.twig', getStudentProfile($_GET['id']));
        break;
    case 'home':
        home($twig);
        break;
    case 'recover':
        echo $twig->render('recover.twig');
        break;
    case 'new-password':
        echo $twig->render('new_password.twig', array('code' => $_GET['code']));
        break;
    default:
        home($twig);
        break;
}
Exemplo n.º 11
0
function move($file, $ndir, $folder)
{
    global $folder;
    if (!$file == "") {
        maintop("Move");
        if (rename($folder . $file, $ndir . $file)) {
            echo $folder . $file . " has been succesfully moved to " . $ndir . $file;
        } else {
            echo "There was an error moving " . $folder . $file;
        }
        mainbottom();
    } else {
        home();
    }
}
Exemplo n.º 12
0
                        <li><a href="<?php 
echo page('community-fr.php');
?>
">Communauté</a></li>
                        <li><a href="<?php 
echo page('development-fr.php');
?>
">Développement</a></li>
                    </ul>
                </div>
            </div>
            <div id="navigation-container">
                <div id="navigation">
                    <ul id="breadcrumbs">
                    <?php 
echo '<li><a href="' . home() . '">Accueil</a></li>';
foreach ($breadcrumbs as $name => $link) {
    echo '<li>&raquo;<a href="' . root() . '/' . $link . '">' . $name . '</a></li>';
}
?>
                    </ul>
                    <ul id="buttons">
                        <li><a id="language-en" href="<?php 
echo $translated_page;
?>
" title="Website in english">English</a></li>
                        <li><a id="donate" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VH4J3GW5GUXR4&lc=FR" title="Faire un don">Faire un don</a></li>
                        <li><a id="flattr" href="https://flattr.com/thing/38063/SFML-multimedia-library" title="Flattrer SFML">Flattr</a></li>
                    </ul>
                </div>
            </div>
Exemplo n.º 13
0
function tocopy($file, $ndir, $folder)
{
    global $meurl, $folder;
    if (!$file == "") {
        maintop("复制");
        echo "<div class='box'>";
        $nndir = $ndir;
        $nfolder = $folder;
        $file = iconv("UTF-8", "GBK", $file);
        $ndir = iconv("UTF-8", "GBK", $ndir);
        $folder = iconv("UTF-8", "GBK", $folder);
        if (!file_exists($ndir)) {
            mkdir($ndir, 0755);
        }
        $file = explode(',', $file);
        foreach ($file as $v) {
            if (file_exists($ndir . $v)) {
                @unlink($ndir . $v);
                if (@copy($folder . $v, $ndir . $v)) {
                    $v = iconv("GBK", "UTF-8", $v);
                    echo $nndir . $v . " 文件被 " . $nfolder . $v . " 替换<br>";
                } else {
                    $v = iconv("GBK", "UTF-8", $v);
                    echo "<span class='error'>无法复制 " . $nfolder . $v . ',请检查文件权限</span><br>';
                }
            } elseif (@copy($folder . $v, $ndir . $v)) {
                $v = iconv("GBK", "UTF-8", $v);
                echo $nfolder . $v . " 已经成功复制到 " . $nndir . $v . '<br>';
            } else {
                $v = iconv("GBK", "UTF-8", $v);
                echo "<span class='error'>无法复制 " . $nfolder . $v . ',请检查文件权限</span><br>';
            }
        }
        echo "你可以 <a href=\"" . $meurl . "?op=home&folder=" . $nndir . "\">前往文件夹查看文件</a> 或者 <a href=\"" . $meurl . "?op=home&folder=" . $_SESSION['folder'] . "\">返回上次浏览的文件夹</a>\n";
        echo "</div>";
        mainbottom();
    } else {
        home();
    }
}
Exemplo n.º 14
0
function resetdb()
{
    global $S;
    // Here we have a complex single liner with three seperate sql statements.
    // we drop the table. Create the table again fresh, and then insert the inital rows.
    $sql = "drop table members;" . "create table members (fname text, lname text);" . "insert into members (fname, lname) values('Big', 'Joe'),('Little', 'Joe')," . "('Barton','Phillips'),('Someone','Else');";
    $S->query($sql);
    home();
}
Exemplo n.º 15
0
<?php 
require_once "../includes/global_ui.php";
require_once "../connexion.php";
if (!isset($_GET["a"])) {
    $a = "home";
} else {
    $a = $_GET["a"];
}
switch ($a) {
    case "home":
        home();
        break;
    case "add":
        add();
        break;
    case "add_post":
        add_post();
        break;
    case "edit":
        edit();
        break;
    case "edit_post":
        edit_post();
        break;
    case "suppr_post":
        suppr_post();
        break;
    default:
        echo "Erreur de redirection";
}
function home()
Exemplo n.º 16
0
$_SESSION['query']['last'] = $responseTime;
// Save information about mote responsiveness
if (!isset($_SESSION['motes'])) {
    $_SESSION['motes']['queries'] = 1;
    $_SESSION['motes']['responses'] = array();
} else {
    $_SESSION['motes']['queries']++;
}
foreach ($data as $moteid => $moteinfo) {
    if (!isset($_SESSION['motes']['responses'][$moteid])) {
        $_SESSION['motes']['responses'][$moteid] = 1;
    } else {
        $_SESSION['motes']['responses'][$moteid]++;
    }
    // Save the time this mote responded
    $_SESSION['motes']['last'][$moteid] = $_SESSION['query']['last'];
}
if (!$error) {
    go_home();
    //  print "Query was Successful!  ";
}
// Dats all folks
print "<a href=\"" . home() . "\">Continue</a>\n";
?>






Exemplo n.º 17
0
/**
 * 
 * Browses Jinzora given the path to a node.
 *
 * @author Ben Dodson
 * @since 4/21/05
 * @version 6/21/08
 * 
 **/
function browse()
{
    global $jzUSER, $this_site, $root_dir;
    $ntype = 'both';
    if (!isset($_REQUEST['jz_path'])) {
        return home();
        // or browse root?
    }
    $type = getFormatFromRequest();
    $root = new JzMediaNode($_REQUEST['jz_path']);
    $trackfields = isset($_REQUEST['track_fields']) ? explode(',', $_REQUEST['track_fields']) : false;
    $nodefields = isset($_REQUEST['node_fields']) ? explode(',', $_REQUEST['node_fields']) : false;
    $distance = false;
    if (isset($_REQUEST['resulttype'])) {
        $rt = $_REQUEST['resulttype'];
        if ($rt == 'artist') {
            $distance = distanceTo('artist', $root);
        }
        if ($rt == 'album') {
            $distance = distanceTo('album', $root);
        }
        if ($rt == 'track' || $rt == 'tracks') {
            $distance = -1;
            $ntype = 'tracks';
        }
    }
    $results = $root->getSubNodes($ntype, $distance);
    if (isset($_REQUEST['offset']) || isset($REQUEST['length'])) {
        $results = array_slice($results, $_REQUEST['offset'], $_REQUEST['length']);
    }
    print_results($results, $type, $trackfields, $nodefields);
}
Exemplo n.º 18
0
<?php

include "util.inc";
$action = $_GET['action'];
$moteid = $_GET['mote'];
//print "Performing action " . $action . " on mote " . $moteid . "<br>";
$matches = array();
preg_match("/set\\((.*),(.*)\\)/", $action, $matches);
//print_r($matches);
if ($matches) {
    $url = home();
    $url .= "set.php?mote={$moteid}&var={$matches['1']}&value={$matches['2']}";
    header("Location: " . $url . "");
    exit;
}
if ($action == "remove") {
    unset($_SESSION['motes']['responses'][$moteid]);
    unset($_SESSION['motes']['last'][$moteid]);
    unset($_SESSION['query']['data'][$moteid]);
}
go_query();
?>

Exemplo n.º 19
0
function deleteFavorite($favorite_id)
{
    global $db;
    authenticate('access_admin', false, true, true);
    mysql_query('DELETE FROM favorite WHERE favorite_id = ' . (int) $favorite_id);
    mysql_query('DELETE FROM favoriteitem WHERE favorite_id = ' . (int) $favorite_id);
    home();
}
Exemplo n.º 20
0
/**
 * 
 * Browses Jinzora given the path to a node.
 *
 * @author Ben Dodson
 * @since 4/21/05
 * @version 6/21/08
 * 
 **/
function browse()
{
    global $jzUSER, $this_site, $root_dir;
    $ntype = 'both';
    if (!isset($_REQUEST['jz_path'])) {
        return home();
        // or browse root?
    }
    $type = getFormatFromRequest();
    $root = new JzMediaNode($_REQUEST['jz_path']);
    $trackfields = isset($_REQUEST['track_fields']) ? explode(',', $_REQUEST['track_fields']) : false;
    $nodefields = isset($_REQUEST['node_fields']) ? explode(',', $_REQUEST['node_fields']) : false;
    $distance = false;
    if (isset($_REQUEST['resulttype'])) {
        $rt = $_REQUEST['resulttype'];
        if ($rt == 'artist') {
            $distance = distanceTo('artist', $root);
        }
        if ($rt == 'album') {
            $distance = distanceTo('album', $root);
        }
        if ($rt == 'track' || $rt == 'tracks') {
            $distance = -1;
            $ntype = 'tracks';
        }
    }
    if (isset($_REQUEST['offset']) || isset($_REQUEST['limit'])) {
        //$results = array_slice($results,$_REQUEST['offset'],$_REQUEST['limit']);
    }
    $lim = isset($_REQUEST['limit']) ? $_REQUEST['limit'] : 0;
    $off = isset($_REQUEST['offset']) ? $_REQUEST['offset'] : false;
    $results = $root->getSubNodes($ntype, $distance, false, $lim, false, $off);
    $total = $root->getSubNodeCount($ntype, $distance);
    $meta = array('totalMatches' => $total);
    print_results($results, $type, $trackfields, $nodefields, $meta);
}
Exemplo n.º 21
0
 */
$win = new SDPanel();
$win->setCaption("Global Example!");
$actionBar = new ActionBar();
$actionBar->setClass("applicationBars");
$mainTable = new Table();
$table_home = new Table();
$table_home->setClass("table.MenuOption");
$table_home->setColumnsStyle("20%;80%");
$img_home = new Image();
$img_home->setImage("img/Android/hdpi/ic_home.png");
$img_home->setClass("image.menu");
$lbl_home = new Label();
$lbl_home->setClass("label.MenuOption");
$lbl_home->setCaption("Home");
$table_home->onTap(home());
$table_home->addControl($img_home, 1, 1, 1, 1, "Center", "Middle");
$table_home->addControl($lbl_home, 1, 2, 1, 1, "Left", "Middle");
$table_facebook = new Table();
$table_facebook->setClass("tableMenuOption");
$table_facebook->setColumnsStyle("20%;80%");
$img_facebook = new Image();
$img_facebook->setImage("img/Android/hdpi/ic_facebook.png");
$img_facebook->setClass("image.menu");
$lbl_facebook = new Label();
$lbl_facebook->setClass("label.MenuOption");
$lbl_facebook->setCaption("Facebook");
$table_facebook->onTap(facebook());
$table_facebook->addControl($img_facebook, 1, 1, 1, 1, "Center", "Middle");
$table_facebook->addControl($lbl_facebook, 1, 2, 1, 1, "Left", "Middle");
$table_twitter = new Table();
Exemplo n.º 22
0
     visitors($myPdo);
     break;
 case 'followUp':
     followUp($myPdo);
     break;
 case 'processing':
     processing($myPdo);
     break;
 case 'statAdvanced':
     statAdvanced($myPdo);
     break;
 case 'statBasic':
     statBasic($myPdo);
     break;
 case 'home':
     home($myPdo);
     break;
 case 'statistics':
     statistics($myPdo);
     break;
 case 'performanceAttitude':
     performanceAttitude($myPdo);
     break;
 case 'performancePE':
     performancePE($myPdo);
     break;
 case 'performanceSales':
     performanceSales($myPdo);
     break;
 case 'statssource':
     statssource($myPdo);
Exemplo n.º 23
0
                        <li><a href="<?php 
echo page('community.php');
?>
">Community</a></li>
                        <li><a href="<?php 
echo page('development.php');
?>
">Development</a></li>
                    </ul>
                </div>
            </div>
            <div id="navigation-container">
                <div id="navigation">
                    <ul id="breadcrumbs">
                    <?php 
echo '<li><a href="' . home() . '">Home</a></li>';
foreach ($breadcrumbs as $name => $link) {
    echo '<li>&raquo;<a href="' . root() . '/' . $link . '">' . $name . '</a></li>';
}
?>
                    </ul>
                    <ul id="buttons">
                        <li><a id="language-fr" href="<?php 
echo $translated_page;
?>
" title="Site en français">Français</a></li>
                        <li><a id="donate" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2C8CG2AGYSBT4&lc=US" title="Make a donation">Donate</a></li>
                        <li><a id="flattr" href="https://flattr.com/thing/38063/SFML-multimedia-library" title="Flattr SFML">Flattr</a></li>
                    </ul>
                </div>
            </div>
Exemplo n.º 24
0
          <span class="input-group-btn">
            <button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
          </span>
                    </div>
                </form>
                <!-- /.search form -->

                <!-- Sidebar Menu -->
                <ul class="sidebar-menu">
                    <li class="header">HEADER</li>
                    <li class="<?php 
echo home('index');
?>
"><a href="./"> <i class="fa fa-dashboard"></i> <span>Dashboard</span></a></li>
                    <li class="<?php 
echo home('calendar');
?>
"><a href="calendar"> <i class="fa fa-calendar"></i> <span>Calendar</span></a></li>
                    <li class="treeview <?php 
echo parent('vendor');
?>
">
                        <a href="#"> <i class="fa fa-shopping-cart"></i> <span>Vendors</span> <i class="fa fa-angle-left pull-right"></i></a>
                        <ul class="treeview-menu">
                            <li class="<?php 
echo child('list');
?>
"><a href="vendor_list"><i class="fa fa-circle-o"></i> List Vendors</a></li>
                            <li class="<?php 
echo child('add');
?>
Exemplo n.º 25
0
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.os.system.inc');
	include_once('ressources/class.os.system.tools.inc');

	$usersmenus=new usersMenus();
	if($usersmenus->AsArticaAdministrator==true){}else{header('location:users.index.php');exit;}	

if(isset($_GET["PID"])){PIDInfos();exit;}
if(isset($_GET["reload"])){echo page_proc();exit;}
if(isset($_GET["KillProcessByPid"])){KillProcessByPid();exit;}
if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["getmem"])){getmem();exit;}
if(isset($_GET["getcpu"])){getCpu();exit;}
if(isset($_GET["taskslist"])){processes();exit;}
if(isset($_GET["home"])){home();exit;}
if(isset($_GET["home-b"])){home_b();exit;}
if(isset($_GET["home-c"])){home_c();exit;}
if(isset($_GET["task-m"])){tasks_start();exit;}
if(isset($_GET["clean-mem-js"])){clean_mem_js();exit;}
if(isset($_POST["clean-mem-perform"])){clean_mem_perform();exit;}
if(isset($_GET["tasks-list"])){task_list();exit;}
if(isset($_POST["kill9"])){kill9();exit;}
js();

function js(){
$page=CurrentPageName();
$prefix=str_replace(".","_",$page);	
$tpl=new templates();
$title=$tpl->_ENGINE_parse_body('{task_manager}');
$html="RTMMail(1000,'$page?popup=yes','$title');";
Exemplo n.º 26
0
function ren($file)
{
    global $d;
    if (!$file == "") {
        page_header("Rename");
        opentitle("Rename");
        opentable("100%");
        echo "<form action=\"" . $adminfile . "?p=rename\" method=\"post\">\n" . "Renaming '/" . $d . $file . "'\n" . "<br>\n" . "<input type=\"hidden\" name=\"rename\" value=\"" . $file . "\">\n" . "<input type=\"hidden\" name=\"d\" value=\"" . $d . "\">\n" . "<input class=\"text\" type=\"text\" size=\"40\" width=\"40\" name=\"nrename\" value=\"" . $file . "\">\n" . "<input type=\"Submit\" value=\"Rename\" class=\"button\">\n";
        closetable();
        page_footer();
    } else {
        home();
    }
}