Esempio n. 1
0
 function create_cli_registeruser($password)
 {
     phpextension('key');
     $cookie = $this->create_dwordl(unique_key(0, 2));
     $null = $this->create_dwordl(0);
     return $this->create_tlv(1, $null . $this->create_wordl(40) . $this->create_wordl(3) . $null . $null . $cookie . $cookie . $null . $null . $null . $null . $this->create_lnts($password) . $cookie . chr(0) . chr(0) . chr(207) . chr(1));
 }
Esempio n. 2
0
    $GlobalModel = $actionModel;
    sectionName1();
    $sectionArray = $file_ini[(string) $_GET['sectionName']];
    //print_R($sectionArray);
    $array_keys = array_keys($sectionArray);
    //对象名称
    tablename();
    //对象标题
    tabletitle();
    tablewidth();
    action_submit();
    primary_key();
    if ($actionModel == "view") {
        detailTable_key();
    }
    unique_key();
    returnmodel();
    table_infor();
}
//##############################################################################
//语言表信息显示模块
//##############################################################################
if ($_GET['sectionName'] == "html_etc") {
    $sql = "select * from systemlang where tablename = '" . strtolower($Tablename) . "'";
    $rs = $db->Execute($sql);
    $rs_a = $rs->GetArray();
    //print_R($rs_a);
    for ($i = 0; $i < sizeof($rs_a); $i++) {
        $TempArray = $rs_a[$i];
        $fieldName = $TempArray['fieldname'];
        $NewArray[$fieldName] = $TempArray;