Exemplo n.º 1
0
Arquivo: index.php Projeto: nanfs/lt
$query = "SELECT * FROM {$met_column} where (module=1 or module=2 or module=3 or module=4 or module=5) and lang='{$lang}'";
$result = $db->query($query);
while ($list = $db->fetch_array($result)) {
    $clist[] = $list;
    if ($list['classtype'] == 1 || $list['releclass']) {
        $clist1now[] = $list;
    }
}
$i = 0;
$listjs = "<script language = 'JavaScript'>\n";
$listjs .= "var onecount;\n";
$listjs .= "lev = new Array();\n";
foreach ($clist as $key => $vallist) {
    if ($vallist['releclass']) {
        $listjs .= "lev[" . $i . "] = new Array('" . $vallist[name] . "','0','" . $vallist[id] . "','" . $vallist[access] . "');\n";
        $i = $i + 1;
    } else {
        $listjs .= "lev[" . $i . "] = new Array('" . $vallist[name] . "','" . $vallist[bigclass] . "','" . $vallist[id] . "','" . $vallist[access] . "');\n";
        $i = $i + 1;
    }
}
$listjs .= "onecount=" . $i . ";\n";
$listjs .= "</script>";
//////////////////
$jiathis_lang1[$lang] = "checked='checked'";
$met_jiathis_ok1[$met_jiathis_ok] = "checked='checked'";
$met_tools_ok1[$met_tools_ok] = "checked='checked'";
$css_url = $depth . "../templates/" . $met_skin . "/css";
$img_url = $depth . "../templates/" . $met_skin . "/images";
include template_app('replace/index', $EXT = "html");
footer();
Exemplo n.º 2
0
Arquivo: index.php Projeto: nanfs/lt
<?php

$depth = '../';
require_once $depth . '../login/login_check.php';
if ($action == 'modify') {
    require_once $depth . '../include/config.php';
    metsave('../app/share/index.php?anyid=' . $anyid . '&lang=' . $lang, '', $depth);
}
$jiathis_lang1[$lang] = "checked='checked'";
$met_jiathis_ok1[$met_jiathis_ok] = "checked='checked'";
$met_tools_ok1[$met_tools_ok] = "checked='checked'";
$css_url = $depth . "../templates/" . $met_skin . "/css";
$img_url = $depth . "../templates/" . $met_skin . "/images";
include template_app('share/index', $EXT = "html");
footer();
Exemplo n.º 3
0
<?php

$depth = '../';
require_once $depth . '../login/login_check.php';
$css_url = $depth . "../templates/" . $met_skin . "/css";
$img_url = $depth . "../templates/" . $met_skin . "/images";
include template_app('ico/index', $EXT = "html");
footer();