$returnText['textarea'] = "\n此属性用来实现对<font color=red>Textarea输入区域类型</font>实现\n";
$returnText['htmlarea'] = "\n此属性用来实现对<font color=red>HTML文本编辑器类型</font>实现\n";
$returnText['link:view_default'] = "\n应用于INIT模型中,主要对当前数据进行<font color=red>超联接形式</font>过滤,转到View视图。\n";
$returnText['link:view_customer'] = "\n应用于INIT模型中,主要对当前数据进行<font color=red>超联接形式</font>过滤,转到View视图。\n";
$returnText['boolean'] = "\n用以显示<font color=red>boolean类型</font>的选择,一般情况有两个选项:<font color=red>\"是\"</font>和<font color=red>\"否\"</font>。\n";
$returnText['password'] = "******"******\"</font>的形式显示;\n在ADD,EDIT模型中以<font color=red>标准密码输入框</font>的形式显示。\n附加:密码判断格式为<font color=red>\"不能为纯数字\"</font>\n\n";
$returnText['sex'] = "\n在INIT模型中,显示<font color=red>性别下拉菜单</font>,在其它模型(如<font color=red>ADD,EDIT,VIEW</font>模型)中以<font color=red>select_sex</font>的属性存在。这是<font color=red>唯一在INIT和ADD模型中名称不同的一个</font>。\n";
if ($_GET['action'] == '') {
    pageHeaderModelInit2($returnDirName, 3, 300);
}
if ($_GET['action'] == 'Detail') {
    $_GET['sectionName'] == "" ? $_GET['sectionName'] = "input" : '';
    print "<form name=form1><table border=1 cellspacing=0 class=small bordercolor=#000000 cellpadding=3 align=left width=450 valign=top style=\"border-collapse:collapse\">";
    print "<tr class=TableContent valign=top>\n";
    print "<td nowrap align=left valign=top colspan=1 width=25%>\n";
    pageHeaderModelInit($returnDirName, 1, 50);
    print "&nbsp;</td>\n";
    print "<td align=left valign=top colspan=1 width=75%>\n";
    switch ($_GET['sectionName']) {
        case 'input':
        case 'date':
        case 'date1':
        case 'password':
        case 'boolean':
        case 'select_text':
        case 'textarea':
        case 'htmlarea':
        case 'sex':
        case 'select_sex':
        case 'system_datetime':
        case 'hidden_field:1:name':
Exemple #2
0
    session_register("MakeSystemModelDBName");
    if (is_file('../Interface/' . $_GET['MakeSystemModel'] . '/dbname.inc.php')) {
        require_once '../Interface/' . $_GET['MakeSystemModel'] . '/dbname.inc.php';
    }
    FormTextFile("config.php", "<?php \$SYSTEM_MODE_DIR = \"{$SYSTEM_ALL_MODE}\" ; ?>");
    //header("Location:?Tablename=".$Tablename."&FileIniname=".$FileIniname);
    echo "<script>window.location='main.php?Tablename=" . $Tablename . "&FileIniname=" . $FileIniname . "'</script>";
    //echo "<html><head><META HTTP-EQUIV=REFRESH CONTENT='0;URL=main.php?Tablename=$Tablename&FileIniname=$FileIniname'></head></html>\n";
    exit;
}
//print_R($_SESSION['MakeSystemModelDBName']);//exit;
$common_html = returnsystemlang('common_html');
pageHeader();
if ($_GET['action'] == "action_init") {
    $returnDirName = returnDirName();
    pageHeaderModelInit($returnDirName);
    //print_infor("请选择所要操作对象");
    exit;
}
if ($_GET['actionAction'] == "phpide") {
    include "php_ide.php";
    exit;
}
//##############################################################################
//系统数据变量初始化区
//##############################################################################
//初始化模块
$sectionName = $_POST['section'];
$actionModelArray = explode('_', $sectionName);
$actionModel = $actionModelArray[0];
$Tablename = $_GET['Tablename'];