示例#1
0
文件: listfile.php 项目: jcmwc/fleet
  alert(jqXHR.responseText+"erreur");
  node.setLazyNodeStatus(top.DTNodeStatus_Error, {info: textStatus, tooltip: "" + errorThrown});}
  );
  window.location='listfile.php?arbre_id=<?php 
echo $_GET["arbre_id"];
?>
'
}
</script>
</head>
<body>
    <table>
    <?php 
$_GET["version_id"] = 1;
$_GET["etat_id"] = 1;
$tbl_list = nodelist($_GET["arbre_id"]);
for ($i = 0; $i < count($tbl_list); $i++) {
    ?>
    <tr><td><img src="<?php 
    echo urlimg($tbl_list[$i]["content_id"], 1, $tbl_list[$i]["titre1"], $tbl_list[$i]["ext"]);
    ?>
" width="200"/></td>
    <td>
    <?php 
    if ($i > 0) {
        ?>
    <input type="button" name="Up" value="Up" onclick="upimg(<?php 
        echo $tbl_list[$i]["arbre_id"];
        ?>
)"/>
    <?php 
示例#2
0
文件: menu.php 项目: jcmwc/fleet
<?php

$tbl_list = nodelist(__piedid__);
示例#3
0
require 'hfwinc/session.php';
require 'hfwinc/hwfunction.php';
require 'hfwinc/hwdata.php';
require 'hfwinc/task.php';
chackuser();
//用户检测
$hclss = HGT('class');
switch ($hclss) {
    case 'main':
        MainInfo();
        break;
        //首页信息
    //首页信息
    case 'node':
        if (Gants(0) || Gants(4)) {
            nodelist();
        } else {
            echo "error-gants0";
            exit(0);
        }
        break;
        //节点列表
    //节点列表
    case 'chnode':
        if (Gants(0) || Gants(8)) {
            ChNode();
        } else {
            echo "error-gants0";
            exit(0);
        }
        break;
示例#4
0
文件: menu2.php 项目: jcmwc/fleet
<?php

if ($_SESSION["logfront"] != 1) {
    header("Location: " . urlp(__defaultfather__));
}
$tbl_list = nodelist(__compteid__);
if ($_SESSION["newsdeja"] == "") {
    $sql = "select * from  " . __racinebd__ . "news where date_creation='" . date("Y-m-d") . "'";
    $link = query($sql);
    if (num_rows($link) > 0) {
        $tbl = fetch($link);
        $news = '<div class="news">' . $tbl["texte"] . '</div>';
    }
    $_SESSION["newsdeja"] = 1;
}