コード例 #1
0
$g_vars['page']['items']['address'] = @getInputField(getConfigItem(CONFIG_reg_address), $lngstr['label_address'], getInputElement('address', $f_address));
$g_vars['page']['items']['city'] = @getInputField(getConfigItem(CONFIG_reg_city), $lngstr['label_city'], getInputElement('city', $f_city));
$g_vars['page']['items']['state'] = @getInputField(getConfigItem(CONFIG_reg_state), $lngstr['label_state'], isset($lngstr['custom']['user_state_items']) ? getSelectElement('state', $f_state, $lngstr['custom']['user_state_items']) : getInputElement('state', $f_state));
$g_vars['page']['items']['zip'] = @getInputField(getConfigItem(CONFIG_reg_zip), $lngstr['label_zip'], getInputElement('zip', $f_zip));
$g_vars['page']['items']['country'] = @getInputField(getConfigItem(CONFIG_reg_country), $lngstr['label_country'], getSelectElement('country', $f_country, $lngstr['label_country_items']));
$g_vars['page']['items']['phone'] = @getInputField(getConfigItem(CONFIG_reg_phone), $lngstr['label_phone'], getInputElement('phone', $f_phone));
$g_vars['page']['items']['fax'] = @getInputField(getConfigItem(CONFIG_reg_fax), $lngstr['label_fax'], getInputElement('fax', $f_fax));
$g_vars['page']['items']['mobile'] = @getInputField(getConfigItem(CONFIG_reg_mobile), $lngstr['label_mobile'], getInputElement('mobile', $f_mobile));
$g_vars['page']['items']['pager'] = @getInputField(getConfigItem(CONFIG_reg_pager), $lngstr['label_pager'], getInputElement('pager', $f_pager));
$g_vars['page']['items']['ipphone'] = @getInputField(getConfigItem(CONFIG_reg_ipphone), $lngstr['label_ipphone'], getInputElement('ipphone', $f_ipphone));
$g_vars['page']['items']['webpage'] = @getInputField(getConfigItem(CONFIG_reg_webpage), $lngstr['label_webpage'], getInputElement('webpage', $f_webpage));
$g_vars['page']['items']['icq'] = @getInputField(getConfigItem(CONFIG_reg_icq), $lngstr['label_icq'], getInputElement('icq', $f_icq));
$g_vars['page']['items']['msn'] = @getInputField(getConfigItem(CONFIG_reg_msn), $lngstr['label_msn'], getInputElement('msn', $f_msn));
$g_vars['page']['items']['aol'] = @getInputField(getConfigItem(CONFIG_reg_aol), $lngstr['label_aol'], getInputElement('aol', $f_aol));
$g_vars['page']['items']['gender'] = @getInputField(getConfigItem(CONFIG_reg_gender), $lngstr['label_gender'], getSelectElement('gender', $f_gender, $lngstr['label_gender_items']));
$g_vars['page']['items']['birthday'] = @getInputField(getConfigItem(CONFIG_reg_birthday), $lngstr['label_birthday'], getCalendarEx('birthday', $f_birthday));
$g_vars['page']['items']['husbandwife'] = @getInputField(getConfigItem(CONFIG_reg_husbandwife), $lngstr['label_husbandwife'], getInputElement('husbandwife', $f_husbandwife));
$g_vars['page']['items']['children'] = @getInputField(getConfigItem(CONFIG_reg_children), $lngstr['label_children'], getInputElement('children', $f_children));
$g_vars['page']['items']['trainer'] = @getInputField(getConfigItem(CONFIG_reg_trainer), $lngstr['label_trainer'], getInputElement('trainer', $f_trainer));
$g_vars['page']['items']['photo'] = @getInputField(getConfigItem(CONFIG_reg_photo), $lngstr['label_photo'], getInputElement('photo', $f_photo));
$g_vars['page']['items']['company'] = @getInputField(getConfigItem(CONFIG_reg_company), $lngstr['label_company'], getInputElement('company', $f_company));
$g_vars['page']['items']['cposition'] = @getInputField(getConfigItem(CONFIG_reg_cposition), $lngstr['label_cposition'], getInputElement('cposition', $f_cposition));
$g_vars['page']['items']['department'] = @getInputField(getConfigItem(CONFIG_reg_department), $lngstr['label_department'], getInputElement('department', $f_department));
$g_vars['page']['items']['coffice'] = @getInputField(getConfigItem(CONFIG_reg_coffice), $lngstr['label_coffice'], getInputElement('coffice', $f_coffice));
$g_vars['page']['items']['caddress'] = @getInputField(getConfigItem(CONFIG_reg_caddress), $lngstr['label_caddress'], getInputElement('caddress', $f_caddress));
$g_vars['page']['items']['ccity'] = @getInputField(getConfigItem(CONFIG_reg_ccity), $lngstr['label_ccity'], getInputElement('ccity', $f_ccity));
$g_vars['page']['items']['cstate'] = @getInputField(getConfigItem(CONFIG_reg_cstate), $lngstr['label_cstate'], isset($lngstr['custom']['user_cstate_items']) ? getSelectElement('cstate', $f_cstate, $lngstr['custom']['user_cstate_items']) : getInputElement('cstate', $f_cstate));
$g_vars['page']['items']['czip'] = @getInputField(getConfigItem(CONFIG_reg_czip), $lngstr['label_czip'], getInputElement('czip', $f_czip));
$g_vars['page']['items']['ccountry'] = @getInputField(getConfigItem(CONFIG_reg_ccountry), $lngstr['label_ccountry'], getSelectElement('ccountry', $f_ccountry, $lngstr['label_country_items']));
$g_vars['page']['items']['cphone'] = @getInputField(getConfigItem(CONFIG_reg_cphone), $lngstr['label_cphone'], getInputElement('cphone', $f_cphone));
$g_vars['page']['items']['cfax'] = @getInputField(getConfigItem(CONFIG_reg_cfax), $lngstr['label_cfax'], getInputElement('cfax', $f_cfax));
コード例 #2
0
function getCalendar($i_name, $i_year, $i_month, $i_day, $i_hour, $minute, $can_disable = false)
{
    $i_year_start = (int) date("Y") - 1;
    $i_year_end = $i_year_start + 15;
    return getCalendarEx($i_name, $i_year, $i_month, $i_day, $i_hour, $minute, $i_year_start, $i_year_end, $can_disable);
}