示例#1
0
文件: index.php 项目: rezaul101/erp32
                break;
            }
        }
        if (!$pass_ip) {
            $content = atktext('ip_not_allowed_ml');
            $content .= '<br><br><center>IP: ' . $_SERVER[REMOTE_ADDR] . '</center>';
            show_error_window($content, false);
            die;
        }
    }
    // check if user is suspended
    if ($db_is_suspended == 1) {
        $content = atktext('account_suspended_ml');
        $content .= '<br><br>';
        $content .= '<a href="index.php?atklogout=1">' . atktext('login_here_ml') . '</a>';
        show_error_window($content, false);
        die;
    }
}
/*
 * run...
 */
$indexpage =& atknew('atk.ui.atkindexpage');
$indexpage->setUsername(getFullUsername());
$indexpage->setTitle(getTitle());
$indexpage->setTopSearchPiece(getSearchPiece());
$centerpiece = "";
$centerpiecelinks = array();
getCenterPiece($centerpiece, $centerpiecelinks);
$indexpage->setTopCenterPieceLinks($centerpiecelinks);
$destination = array("atknodetype" => "dashboard.mainboard", "atkaction" => "start");
示例#2
0
文件: pdf.php 项目: rezaul101/erp32
 function blank_report()
 {
     $content .= atktext('blank_report');
     show_error_window($content);
     die;
 }