当前位置: 首页>>代码示例>>PHP>>正文


PHP getArrayCombo函数代码示例

本文整理汇总了PHP中getArrayCombo函数的典型用法代码示例。如果您正苦于以下问题:PHP getArrayCombo函数的具体用法?PHP getArrayCombo怎么用?PHP getArrayCombo使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了getArrayCombo函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getRecord

<?php 
/*--------KIEM TRA THUOC TINH---------------------*/
$defaulType = getRecord($tableCategoryConfigId, " id=" . $_REQUEST['codeParent']);
?>

<?php 
// Config
include 'modulePro/table_act.php';
if ($_REQUEST['codeParent'] == $_REQUEST['idComment']) {
    $parentWhereConfig = "parent=1";
    $codeParentCha = 1;
} else {
    $parentWhereConfig = "parent=" . $_REQUEST['codeParent'];
}
$errMsg = '';
$arraySourceCombo = getArrayCombo($tableCategoryConfigId, 'id', 'name', $parentWhereConfig);
?>


<?php 
/*--------KIEM TRA THUOC TINH---------------------*/
$defaulType = getRecord($tableCategoryConfigId, " id=" . $_REQUEST['codeParent']);
?>




<?php 
// Ckeditor
include_once 'ckeditor/ckeditor.php';
require_once 'ckfinder/ckfinder.php';
开发者ID:bestwishforyou95,项目名称:congnghemoitruong,代码行数:31,代码来源:tab_m.php

示例2: elseif

    $whereSearchParentOk = $whereSearchParent;
} elseif ($totalSearchParentCha > 0) {
    $whereSearchParentOk = $whereSearchParentCha;
}
if ($whereSearchParentOk != "") {
    $searchHtmlShow = "<tr>\n\t\t\t\t\t<td width=\"15%\" class=\"smallfont\" align=\"right\">" . ADCATEGORYSEARCH . "</td>\n\t\t\t\t\t<td width=\"1%\" class=\"smallfont\" align=\"center\"></td>\n\t\t\t\t\t<td width=\"83%\" class=\"smallfont\">\n\t\t\t\t\t<table  border=\"0\" align=\"left\" cellpadding=\"0\" cellspacing=\"0\">";
    $sqlSearch = "select * from {$tableCategorySearchId} where " . $whereSearchParentOk . " and " . $whereStatus;
    $resultSearch = mysql_query($sqlSearch, $conn);
    while ($Search = mysql_fetch_array($resultSearch)) {
        $Searchname = getRecord($tableCategorySearch, 'id_code=' . $Search['id'] . " and lang='" . $_lang_A . "'");
        $searchHtmlShowCon = "";
        //echo $Search['typeivm'];
        if ($Search['typeivm'] == '0') {
            $rewSearchProduct = getRecord($tableProductSearchId, "id_code=" . $_REQUEST['id'] . " and id_search_parent=" . $Search['id']);
            //echo $rewSearchProduct['id'];
            $arraySourceSearch = getArrayCombo($tableSearchId, 'id', 'name', "parent=" . $Search['id'] . " or id=1");
            $searchHtmlShowCon = comboCategory('ddCatSearch_' . $Search['id'], $arraySourceSearch, 'smallfont', $rewSearchProduct['id_search'], 0);
        } elseif ($Search['typeivm'] == '1') {
            $searchHtmlShowCon = "<table  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
            $sqlSearchCon = "select * from {$tableSearchId} where parent=" . $Search['id'] . " and " . $whereStatus;
            $resultSearchCon = mysql_query($sqlSearchCon, $conn);
            while ($SearchCon = mysql_fetch_array($resultSearchCon)) {
                $SearchConname = getRecord($tableSearch, 'id_code=' . $SearchCon['id'] . " and lang='" . $_lang_A . "'");
                $countSearchProduct = countRecord($tableProductSearchId, "id_code=" . $_REQUEST['id'] . " and id_search_parent=" . $Search['id'] . " and id_search=" . $SearchCon['id'] . " and status_search=1");
                $searchHtmlShowCon .= "\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t <tr>\n    <td class=\"smallfont\" align=\"left\" width=\"15\" valign=\"middle\" height=\"20\"><input type=\"checkbox\" name=\"chkSearch" . $Search['id'] . $SearchCon['id'] . "\"  " . ($countSearchProduct > 0 ? "checked" : "") . ">\t</td>\n    <td class=\"smallfont\" align=\"left\" valign=\"middle\" height=\"20\">" . $SearchConname['name'] . "</td>\n  </tr>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t";
            }
            $searchHtmlShowCon .= "</table>";
        }
        $searchHtmlShow .= " <tr>\n                        <td width=\"300\" class=\"smallfont\" align=\"left\" valign=\"middle\" style=\"border-bottom:1px dotted #CCCCCC\">" . $searchHtmlShowCon . "</td>\n                        <td align=\"left\" class=\"smallfont\" valign=\"middle\"  style=\"border-bottom:1px dotted #CCCCCC; border-left:1px dotted #CCCCCC; \">&nbsp;" . $Searchname['name'] . "</td>\n                      </tr>";
    }
    $searchHtmlShow .= "  </table></td></tr>";
开发者ID:bestwishforyou95,项目名称:congnghemoitruong,代码行数:31,代码来源:module_pro_m.php

示例3: getRecord

</script>




<?php 
// Config
include 'modulePro/table_act.php';
if (!$_REQUEST['id']) {
    $CODE_default = getRecord($tableCategoryConfigId, 'id=' . $_REQUEST['codeParent']);
    // ma mac dinh
}
$parentWhereConfig = $_REQUEST['codeParent'] != "" ? 'parent=' . $_REQUEST['codeParent'] : '1=1';
$errMsg = '';
$arraySourceCombo = getArrayCombo($tableCategoryConfig, 'id', 'name', $parentWhereConfig);
$arraySourceComboInc = getArrayCombo($tableCategoryConfigId, 'id', 'name', "id<>" . $_REQUEST['codeParent']);
?>


<?php 
/*--------KIEM TRA THUOC TINH---------------------*/
$defaulType = getRecord($tableCategoryConfigId, " id=" . $_REQUEST['codeParent']);
?>




<?php 
// Ckeditor
include_once 'ckeditor/ckeditor.php';
require_once 'ckfinder/ckfinder.php';
开发者ID:bestwishforyou95,项目名称:congnghemoitruong,代码行数:31,代码来源:Copy+of+module_pro_m.php

示例4: getArrayCombo

<?php

// Config
$codeSelect = $multiLanguage == 0 ? "code='" . $_lang . "_link'" : "code='vn_link' or code='en_link'";
$tableCategoryConfig = 'tbl_content_category';
$tableConfig = 'tbl_content';
$actConfig = 'link';
$arraySourceCombo = getArrayCombo($tableCategoryConfig, 'id', 'name', $codeSelect);
?>

<?php 
if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE')) {
    echo '<script language="javascript" src="../lib/scripts/editor.js"></script>';
} else {
    echo '<script language="javascript" src="../lib/scripts/moz/editor.js"></script>';
}
?>

<script language="javascript">
function btnSave_onclick(){
	if(test_empty(document.frmForm.txtName.value)){
		alert('Hãy nhập "tên" !');
		document.frmForm.txtName.focus();
		return false;
	}
	if(test_integer(document.frmForm.txtSort.value)){
		alert('"Thứ tự sắp xếp" phải là số !');
		document.frmForm.txtSort.focus();
		return false;
	}
	
开发者ID:ece4u,项目名称:ece4cWeb,代码行数:30,代码来源:content_link_m.php

示例5: array

$errMsg = '';
$actConfigAdv = "ads";
include_once 'ckeditor/ckeditor.php';
require_once 'ckfinder/ckfinder.php';
$arrryCkfinder = array('txtDetailShort', 'txtDetail');
$path = "../" . $folderLibrary . "/" . $actConfigAdv;
$pathdb = $folderLibrary . "/" . $actConfigAdv;
$errMsg = '';
/*--------KIEM TRA THUOC TINH---------------------*/
//$defaulType					=	getRecord($tableCategoryConfigId," id=".$_REQUEST['codeParent']);
include 'district_m_insert.php';
$pathView = '';
$pathThumb = '';
include 'viewImage.php';
$whereGetArrayCategory = $whereStatus;
$arraySourceCombo = getArrayCombo($tableCityId, 'id', 'name', $whereGetArrayCategory);
// vong lạp THEO NGON NGU===================[[[[[[[[[[[[[[[[[[[[[[[[[[[====================]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
$processFrameShowHtmlConnertTC = "";
$processFrameShowHtmlConnert = "";
$processFrameShowHtmlChackJs = "";
foreach ($conf as $ln => $j) {
    //JAVASACRT KIEM TRA THEO GIA====================================================[[[[[[[[[[
    $processFrameShowHtmlChackJs .= "\nif(test_empty(document.frmForm.txtName" . $ln . ".value)){\n\t\talert('" . CNAME . "');\n\t\tdocument.frmForm.txtName" . $ln . ".focus();\n\t\treturn false;\n\t}\n\n";
    //JAVASACRT KIEM TRA THEO GIA====================================================[[[[[[[[[[[[[KET THUC=]]]]]]]]]
    //LAY NOI DUNG THEO NGON NGU====================================================[[[[[[[[[[[[[====]]]]]]]]]
    if (isset($_REQUEST['id'])) {
        $oldid = $_REQUEST['id'];
        $row = getRecord($tableDistrict, "id_code=" . $oldid . " and lang='" . $ln . "'");
        $name = $row['name'];
        $sort = $row['sort'];
        $status = $row['status'];
开发者ID:bestwishforyou95,项目名称:congnghemoitruong,代码行数:31,代码来源:district_m.php

示例6: while

';
    }
    //lay thong tin cac mon day hoc
    $HtmlClasses = '';
    $sqlClasses = "select * from {$tableCategoryNew} where status=0 and parent=196  and lang='vn' {$sortby}";
    $resultClasses = @mysql_query($sqlClasses, $conn);
    while ($Classes = @mysql_fetch_array($resultClasses)) {
        $idClasses = $Classes['id_code'];
        $nameClasses = $Classes['name'];
        for ($w = 0; $w < count($arrayClassesId); $w++) {
            if ($arrayClassesId[$w] == $idClasses) {
                $checkboxClasses = $arrayClasses[$w] == 1 ? "checked" : "";
            }
        }
        $HtmlClasses .= "\n\t<div class=\"table-form-5\">\n                <input type=\"checkbox\" value=\"on\" class=\"table-form-4\" name=\"txtClasses" . $idClasses . "\" " . $checkboxClasses . "   id=\"obj_42\">\n                <label for=\"obj_42\">" . $nameClasses . "</label>\n              </div>";
        //mon day tot nhat
        $selectedGood = $classes_good == $idClasses ? 'selected' : '';
        $HtmlClassesGood .= "<option value=\"" . $idClasses . "\" " . $selectedGood . ">" . $nameClasses . "</option>";
    }
    $HtmlClassesGoodAll = "<select name=\"classes_good\" class=\"table-form-6\">\n                <option>------ " . TOPTIONAL . " ------</option>\n                " . $HtmlClassesGood . "\n              </select>";
    //lay thong tin cac mon day hoc
    //neu la lam gia su
    $arraySourceComboPrice = getArrayCombo($tableCategoryNewId, 'id', 'name', 'parent=197');
    if ($sex == 1) {
        $checkedtype_sex1 = 'checked="checked"';
    } elseif ($sex == 0) {
        $checkedtype_sex0 = 'checked="checked"';
    }
    $showHtmlHomeConnert = "<section class=\"clear\"></section>\n<section class=\"main-width\">" . $asideleft . "\n<aside class=\"center-col\">\n   " . $showHtmlSearch . "\n    <div class=\"center-col-1\"><img src=\"" . $serverName . "images/title-bg-1.png\" width=\"7\" height=\"35\" alt=\"\"></div>\n    <div class=\"center-col-2\">Đăng ký làm gia sư</div>\n    <div class=\"center-col-1\"><img src=\"" . $serverName . "images/title-bg-3.png\" width=\"7\" height=\"35\" alt=\"\"></div>\n    <div class=\"next-page-top\" id=\"pagn\">\n    <ul class=\"next-page\">\n        <li><a href=\"javascript:history.go(-1);\" title=\"\"> " . _rBACK . "</a></li>\n      </ul>\n    </div>\n    <div class=\"clear\"></div>\n    <div class=\"center-col-3\">\n\t<link rel=\"stylesheet\" type=\"text/css\" href=\"" . $serverName . "css/form.css\"/>\n<script type=\"text/javascript\" src=\"" . $serverName . $folderLib . "/md5.js\"></script>\n<script type=\"text/javascript\" src=\"" . $serverName . $folderDatabase . "/district.js\"></script>\n<script language=\"javascript\">\nfunction btnRegi_onclick(){\ndocument.getElementById('email_subject').style.display = \"none\";\ndocument.getElementById('email_name').style.display = \"none\";\ndocument.getElementById('email_address').style.display = \"none\";\ndocument.getElementById('email_phone').style.display = \"none\";\ndocument.getElementById('email_birthday').style.display = \"none\";\ndocument.getElementById('email_schools').style.display = \"none\";\ndocument.getElementById('email_majors').style.display = \"none\";\ndocument.getElementById('email_gs_ctd').style.display = \"none\";\ndocument.getElementById('email_obj_42').style.display = \"none\";\ndocument.getElementById('email_email').style.display = \"none\";\ndocument.getElementById('emailok_error').style.display = \"none\";\ndocument.getElementById('email_error').style.display = \"none\";\ndocument.getElementById('email_capcha').style.display = \"none\";\n\t\n\tif(document.Register.txtName.value==''){\n\t\tdocument.getElementById('message_errorre').style.display = \"\";\n\t\tdocument.getElementById('email_name').style.display = \"\";\n\t\tdocument.Register.txtName.focus();return false;\n\t}\n\t\n\tif(document.Register.txtSubject.value==''){\n\t\tdocument.getElementById('message_errorre').style.display = \"\";\n\t\tdocument.getElementById('email_subject').style.display = \"\";\n\t\tdocument.Register.txtSubject.focus();return false;\n\t}\n\t\n\t\n\tif(document.Register.txtAddress.value==''){\n\t\tdocument.getElementById('message_errorre').style.display = \"\";\n\t\tdocument.getElementById('email_address').style.display = \"\";\n\t\tdocument.Register.txtAddress.focus();return false;\n\t}\n\t\n\tif(document.Register.txtPhone.value==''){\n\t\tdocument.getElementById('message_errorre').style.display = \"\";\n\t\tdocument.getElementById('email_phone').style.display = \"\";\n\t\tdocument.Register.txtPhone.focus();return false;\n\t}\n\t\n\t\n\tif(document.Register.txtEmail.value==''){\n\t\tdocument.getElementById('message_errorre').style.display = \"\";\n\t\tdocument.getElementById('email_email').style.display = \"\";\n\t\tdocument.Register.txtEmail.focus();return false;\n\t}\n\t\n\tif(document.Register.txtBirthday.value==''){\n\t\tdocument.getElementById('message_errorre').style.display = \"\";\n\t\tdocument.getElementById('email_birthday').style.display = \"\";\n\t\tdocument.Register.txtBirthday.focus();return false;\n\t}\n\t\n\tif(document.Register.txtSchools.value==''){\n\t\tdocument.getElementById('message_errorre').style.display = \"\";\n\t\tdocument.getElementById('email_schools').style.display = \"\";\n\t\tdocument.Register.txtSchools.focus();return false;\n\t}\n\t\n\tif(document.Register.txtMajors.value==''){\n\t\tdocument.getElementById('message_errorre').style.display = \"\";\n\t\tdocument.getElementById('email_majors').style.display = \"\";\n\t\tdocument.Register.txtMajors.focus();return false;\n\t}\n\t\n  //  if (t<1){\n//        document.getElementById('message_errorre').style.display = \"\";\n//\t\tdocument.getElementById('email_gs_ctd').style.display = \"\";\n//        return false;\n//    }\n//\t\n//\tvar total1 = \$(\"#obj_42 input[type=checkbox]:checked\").size();\n//    if (!total1>0){\n//        document.getElementById('message_errorre').style.display = \"\";\n//\t\tdocument.getElementById('email_obj_42').style.display = \"\";\n//        return false;\n//    }\n\t\n\tif(document.Register.txtCapchainput.value==''){\n\t\tdocument.getElementById('message_errorre').style.display = \"\";\n\t\tdocument.getElementById('email_capcha').style.display = \"\";\n\t\tdocument.Register.txtCapchainput.focus();return false;\n\t}\t\n\treturn true;\n}\n</script>\n \n\n\n<div class=\"center-14\">\n        <div class=\"table-3\"> Mong các bạn cung cấp thông tin một cách chính xác nhất để chúng tôi có thể giúp bạn lựa chọn một Lớp dạy và học sinh phù hợp với khả năng và nguyện vọng của các bạn.\n          Rất cảm ơn các bạn đã tin tưởng và lựa chọn Công ty Gia sư. </div>\n\t\t  <br><br>\n\t\t  " . $showHtmlMessError . "\n       <form name=\"Register\" method=\"POST\" id=\"ap_Register_form\" novalidate=\"novalidate\" action=\"" . $serverName . FRAMEMEMBERTOUTORNAME . "/\"> \n\t   <input name=\"openidReturn_to\" value=\"" . $openidReturn_to . "\" type=\"hidden\">\n\t\t<input name=\"txtCapcha\" value=\"" . md5($code_cards) . "\" type=\"hidden\">\n\t\t<input name=\"idAll\" value=\"" . $oldid . "\" type=\"hidden\">\n\t   <table class=\"table-1\">\n\t\t \n          <tr class=\"table-2\">\n            <td colspan=\"2\"><strong>Thông tin cá nhân:</strong></td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\"><span class=\"table-4\">(*)</span> Tiêu đề tin:</td>\n            <td><input name=\"txtName\"   value=\"" . $name . "\"  type=\"text\" class=\"table-form-1\"></td>\n          </tr>\n\t\t  \n\t\t    <tr>\n            <td class=\"table-text-right\"><span class=\"table-4\">(*)</span> Họ tên:</td>\n            <td><input name=\"txtSubject\"   value=\"" . $subject . "\"  type=\"text\" class=\"table-form-1\"></td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\"><span class=\"table-4\">(*)</span> Địa chỉ:</td>\n            <td><input name=\"txtAddress\" value=\"" . $address . "\"  type=\"text\" class=\"table-form-1\"></td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\"><span class=\"table-4\">(*)</span> Quận/Huyện:</td>\n            <td>\n\t\t\t<div class=\"city_input\">\n\t\t\t" . comboCity($city, '', '0', 'districtdiv', '') . "</div>\n            <div class=\"city_input\" id=\"districtdiv\">\n" . comboDistrict('', $district, $city, '', '0', '') . "\n</div></td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\"><span class=\"table-4\">(*)</span> Di động:</td>\n            <td><input name=\"txtPhone\"   value=\"" . $phone . "\"  type=\"text\" class=\"table-form-1\"></td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\"> ĐT cố định:</td>\n            <td><input  name=\"txtTelephone\"   value=\"" . $telephone . "\" type=\"text\" class=\"table-form-1\"></td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\"><span class=\"table-4\">(*)</span> Email:</td>\n            <td><input name=\"txtEmail\"  value=\"" . $email . "\"  type=\"text\" class=\"table-form-1\"></td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\"><span class=\"table-4\">(*)</span> Năm sinh:</td>\n            <td><input name=\"txtBirthday\"  value=\"" . $birthday . "\"  type=\"text\" class=\"table-form-3\"></td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\">Giới tính:</td>\n            <td>Nữ\n              <input name=\"type_sex\" type=\"radio\" " . $checkedtype_sex1 . "  value=\"1\" /> \n              &nbsp; &nbsp; Nam\n              <input name=\"type_sex\" type=\"radio\" value=\"0\" " . $checkedtype_sex0 . " /></td>\n          </tr>\n          <tr class=\"table-2\">\n            <td colspan=\"2\"><strong>Thông tin Gia sư:</strong></td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\">Trình độ:</td>\n            <td>" . comboTypeGS($TYPE_SEARCH, $gs_t, 'GS_T', 'GS_T', '0') . "</td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\"><span class=\"table-4\">(*)</span> Nơi đào tạo <br />\n              (hoặc nơi đang công tác)</td>\n            <td>\n\t\t\t<input value=\"" . $schools . "\" type=\"text\" name=\"txtSchools\" class=\"table-form-1\" size=\"50\">\n\t\t\t</td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\"><span class=\"table-4\">(*)</span> Ngành học:</td>\n            <td>\n\t\t\t<input value=\"" . $majors . "\" type=\"text\" name=\"txtMajors\" class=\"table-form-1\" size=\"50\">\n\t\t\t</td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\">Số năm kinh nghiệm:</td>\n            <td>\n\t\t\t<input value=\"" . $yexperience . "\" type=\"text\" name=\"txtYexperience\" class=\"table-form-3\" size=\"10\">\n\t\t\t</td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\">Điểm thi ĐH/CĐ <br/>\n              (tổng điểm 3 môn thi của bạn):</td>\n            <td><input value=\"" . $higher_scores . "\" type=\"text\" name=\"txtHigher_scores\" class=\"table-form-3\" size=\"10\"></td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\"><span class=\"table-4\">(*)</span> Có thể dạy:</td>\n            <td>" . checkboxTypeGS($TYPE_SEARCH, $gs_ctd, 'GS_CTD', 'GS_CTD', '0', 'table-form-4', '', 'class_', '<br>') . "</td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\"><span class=\"table-4\">(*)</span> Môn dạy:</td>\n            <td> " . $HtmlClasses . "</td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\">Môn dạy tốt nhất:</td>\n            <td>" . $HtmlClassesGoodAll . "</td>\n          </tr>\n          <tr>\n            <td>&nbsp;</td>\n            <td class=\"table-2\"><strong>Các buổi có thể dạy trong tuần:</strong></td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\">\n            <label class=\"table-form-7\"> Sáng: <br />\n                Chiều: <br />\n                Tối: <br />\n              </label></td>\n            <td>" . checkboxTypeGS($TYPE_SEARCH, $tg_scts, 'TG_SCT', 'TG_SCTS', '0', 'table-form-4', '', 'morning_') . "\n              <br />\n              " . checkboxTypeGS($TYPE_SEARCH, $tg_sctc, 'TG_SCT', 'TG_SCTC', '0', 'table-form-4', '', 'morning_') . "\n              <br />\n             " . checkboxTypeGS($TYPE_SEARCH, $tg_sctt, 'TG_SCT', 'TG_SCTT', '0', 'table-form-4', '', 'morning_') . "</td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\"><span class=\"table-4\">(*)</span> Khoảng học phí Gia sư mong muốn <br/> (Là học phí cho 1 buổi/2h)</td>\n            <td>\n           " . comboCategory('txtPrice', $arraySourceComboPrice, 'smallfont', $price, 0) . "\n            </td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\">Thông tin thêm hoặc yêu cầu khác:</td>\n            <td>\n            <textarea name=\"txtDetailShort\" class=\"table-form-9\" cols=\"40\" rows=\"5\">" . $detail_short . "</textarea>\n            </td>\n          </tr>\n          <tr>\n            <td class=\"table-text-right\"><span class=\"table-4\">(*)</span> Mã bảo mật:</td>\n            <td>\n\t\t\t<div class=\"capcha\">\n\t\t\t<input name=\"txtCapchainput\" type=\"text\" class=\"table-form-3\"></div> <div class=\"capcha\"><img src=\"" . $serverName . "captcha/captcha_ajax.php\"/></div></td>\n          </tr>\n\t\t     \n        </table>\n        <small style=\"font-weight:normal\">Các trường có đánh dấu <span class=\"table-4\">(*)</span> là bắt buộc. Xin hãy đảm bảo tất cả các thông tin bạn nhập là chính xác!</small><br/>\t\n\t\t\t<input type=\"submit\" name=\"btnRegister\"  onClick=\"return btnRegi_onclick()\"  style=\"width:120px;height:22px;\" value=\"Gửi thông tin\" class=\"comment-bg-1-btn\" />\n        </form>\n      </div>\n\n\t\n</div>\n\n\n    </div>\n  </aside>\n" . $asideright . "</section>";
}
开发者ID:bestwishforyou95,项目名称:congnghemoitruong,代码行数:30,代码来源:post_193.php

示例7: session_start

<?php

session_start();
$_lang_A = 'vn';
$folderIncAjax = "../";
require "../../qweasd/hoanghung.php";
require "../../qweasd/common_start.php";
include "../../lib/func.lib.php";
require "../language/language.php";
require "../language/language_config.php";
include 'table_act.php';
include '../../module/table_frame.php';
?>


<?php 
//  Developed by Roshan Bhattarai
//  Visit http://roshanbh.com.np for this script and more.
//  This notice MUST stay intact for legal use
//this varible contains the array of existing users
//value got from the get metho
$idcity = $_GET['idcity'];
$id = $_GET['id'];
$arraySourceComboDistrict = getArrayCombo($tableDistrictId, 'id', 'name', "parent=" . $idcity);
echo comboCategory('ddDistrict', $arraySourceComboDistrict, 'smallfont', $district, 0);
开发者ID:bestwishforyou95,项目名称:congnghemoitruong,代码行数:25,代码来源:district_ajax.php

示例8: getRecord

include $moduleUrl . '/module_menu_main_m_insert.php';
include 'viewImage.php';
//LAY MA MAC DINH CHO MAU TIN NAY=====================
if (!$_REQUEST['id']) {
    $CODE_default = getRecord($tableCategoryConfigId, 'id=' . $_REQUEST['codeParent']);
    // ma mac dinh
}
//LAY PARENT MAC DINH================================================
$parentWhereConfig = $_REQUEST['codeParent'] != "" ? 'parent=' . $_REQUEST['codeParent'] : '1=1';
//SAC DINH DIEU KIEN CUA COMBO=====================
if ($_REQUEST['typec'] == '1') {
    $whereUtilityCategoryAll = ' and havechildren=1';
} else {
    $whereUtilityCategoryAll = ' and havechildren=0';
}
$arraySourceCombo = getArrayCombo($tableCategoryConfig, 'id', 'name', $CategorwhereGetArrayCategory . $whereUtilityCategoryAll);
if ($defaulType['parent_1'] == '176' || $_REQUEST['codeParent'] == '176') {
    $showFromABCDHtml = "\n<tr>\n<td width=\"15%\" class=\"smallfont\" align=\"right\">Số xu phải trả khi thi thử bài nay</td>\n<td width=\"1%\" class=\"smallfont\" align=\"center\"></td>\n<td width=\"83%\" class=\"smallfont\">\n<input value=\"" . $scores . "\" type=\"text\" name=\"txtScores\" class=\"textbox\" size=\"10\"></td>\n</tr>\n<tr>\n<td width=\"15%\" class=\"smallfont\" align=\"right\">Thời gian thi</td>\n<td width=\"1%\" class=\"smallfont\" align=\"center\"></td>\n<td width=\"83%\" class=\"smallfont\">\n<input value=\"" . $minutes . "\" type=\"text\" name=\"txtMinutes\" class=\"textbox\" size=\"10\"> phút</td>\n</tr>\n\n";
    $abcdShowHtmlChackJs = "\nif(test_integer(document.frmForm.txtScores.value)){\n\t\talert('Số xu phải là số');\n\t\tdocument.frmForm.txtScores.focus();\n\t\treturn false;\n\t}";
}
// vong lạp THEO NGON NGU===================[[[[[[[[[[[[[[[[[[[[[[[[[[[====================]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
$processFrameShowHtmlConnertTC = "";
$processFrameShowHtmlConnert = "";
$processFrameShowHtmlChackJs = "";
foreach ($conf as $ln => $j) {
    //JAVASACRT KIEM TRA THEO GIA====================================================[[[[[[[[[[
    $processFrameShowHtmlChackJs .= "\nif(test_empty(document.frmForm.txtName" . $ln . ".value)){\n\t\talert('" . CNAME . "');\n\t\tdocument.frmForm.txtName" . $ln . ".focus();\n\t\treturn false;\n\t}\t\n\t\n\t\n\tif(test_empty(document.frmForm.txtUrl" . $ln . ".value)){\n\t\talert('" . APLEASEENTERYOURURL . "');\n\t\tdocument.frmForm.txtUrl" . $ln . ".focus();\n\t\treturn false;\n}\t\n";
    //JAVASACRT KIEM TRA THEO GIA====================================================[[[[[[[[[[[[[KET THUC=]]]]]]]]]
    //LAY NOI DUNG THEO NGON NGU====================================================[[[[[[[[[[[[[====]]]]]]]]]
    if (isset($_REQUEST['id'])) {
        $oldid = $_REQUEST['id'];
开发者ID:bestwishforyou95,项目名称:congnghemoitruong,代码行数:31,代码来源:module_menu_main_m.php

示例9: getArrayCombo

<?php

// Config
include 'userConfig/table_act.php';
$tableModuleId = 'tbl_configmodule_id';
$tableModule = 'tbl_configmodule';
$actModule = 'module';
$arrayConfigType = getArrayCombo($tableConfigType, 'id', 'name', "type<>'\$'");
?>







<?php 
// Ckeditor
include_once 'ckeditor/ckeditor.php';
require_once 'ckfinder/ckfinder.php';
$path = "../images/module";
$pathdb = "images/module";
?>

<script language="javascript">

function btnSave_onclick(){
	
	if(test_empty(document.frmForm.txtCode_folder.value)){
		alert('txtCode_folder!');
		document.frmForm.txtCode_folder.focus();
开发者ID:bestwishforyou95,项目名称:congnghemoitruong,代码行数:31,代码来源:config_m.php


注:本文中的getArrayCombo函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。