📄 xoopslists.php
字号:
"EC" => "Ecuador",
"EE" => "Estonia",
"EG" => "Egypt",
"EH" => "Western Sahara",
"ER" => "Eritrea",
"ES" => "Spain",
"ET" => "Ethiopia",
"FI" => "Finland",
"FJ" => "Fiji",
"FK" => "Falkland Islands (Malvinas)",
"FM" => "Micronesia",
"FO" => "Faroe Islands",
"FR" => "France",
"FX" => "France, Metropolitan",
"GA" => "Gabon",
"GB" => "Great Britain (UK)",
"GD" => "Grenada",
"GE" => "Georgia",
"GF" => "French Guiana",
"GH" => "Ghana",
"GI" => "Gibraltar",
"GL" => "Greenland",
"GM" => "Gambia",
"GN" => "Guinea",
"GP" => "Guadeloupe",
"GQ" => "Equatorial Guinea",
"GR" => "Greece",
"GS" => "S. Georgia and S. Sandwich Isls.",
"GT" => "Guatemala",
"GU" => "Guam",
"GW" => "Guinea-Bissau",
"GY" => "Guyana",
"HK" => "Hong Kong",
"HM" => "Heard and McDonald Islands",
"HN" => "Honduras",
"HR" => "Croatia (Hrvatska)",
"HT" => "Haiti",
"HU" => "Hungary",
"ID" => "Indonesia",
"IE" => "Ireland",
"IL" => "Israel",
"IN" => "India",
"IO" => "British Indian Ocean Territory",
"IQ" => "Iraq",
"IR" => "Iran",
"IS" => "Iceland",
"IT" => "Italy",
"JM" => "Jamaica",
"JO" => "Jordan",
"JP" => "Japan",
"KE" => "Kenya",
"KG" => "Kyrgyzstan",
"KH" => "Cambodia",
"KI" => "Kiribati",
"KM" => "Comoros",
"KN" => "Saint Kitts and Nevis",
"KP" => "Korea (North)",
"KR" => "Korea (South)",
"KW" => "Kuwait",
"KY" => "Cayman Islands",
"KZ" => "Kazakhstan",
"LA" => "Laos",
"LB" => "Lebanon",
"LC" => "Saint Lucia",
"LI" => "Liechtenstein",
"LK" => "Sri Lanka",
"LR" => "Liberia",
"LS" => "Lesotho",
"LT" => "Lithuania",
"LU" => "Luxembourg",
"LV" => "Latvia",
"LY" => "Libya",
"MA" => "Morocco",
"MC" => "Monaco",
"MD" => "Moldova",
"MG" => "Madagascar",
"MH" => "Marshall Islands",
"MK" => "Macedonia",
"ML" => "Mali",
"MM" => "Myanmar",
"MN" => "Mongolia",
"MO" => "Macau",
"MP" => "Northern Mariana Islands",
"MQ" => "Martinique",
"MR" => "Mauritania",
"MS" => "Montserrat",
"MT" => "Malta",
"MU" => "Mauritius",
"MV" => "Maldives",
"MW" => "Malawi",
"MX" => "Mexico",
"MY" => "Malaysia",
"MZ" => "Mozambique",
"NA" => "Namibia",
"NC" => "New Caledonia",
"NE" => "Niger",
"NF" => "Norfolk Island",
"NG" => "Nigeria",
"NI" => "Nicaragua",
"NL" => "Netherlands",
"NO" => "Norway",
"NP" => "Nepal",
"NR" => "Nauru",
"NT" => "Neutral Zone",
"NU" => "Niue",
"NZ" => "New Zealand (Aotearoa)",
"OM" => "Oman",
"PA" => "Panama",
"PE" => "Peru",
"PF" => "French Polynesia",
"PG" => "Papua New Guinea",
"PH" => "Philippines",
"PK" => "Pakistan",
"PL" => "Poland",
"PM" => "St. Pierre and Miquelon",
"PN" => "Pitcairn",
"PR" => "Puerto Rico",
"PT" => "Portugal",
"PW" => "Palau",
"PY" => "Paraguay",
"QA" => "Qatar",
"RE" => "Reunion",
"RO" => "Romania",
"RU" => "Russian Federation",
"RW" => "Rwanda",
"SA" => "Saudi Arabia",
"Sb" => "Solomon Islands",
"SC" => "Seychelles",
"SD" => "Sudan",
"SE" => "Sweden",
"SG" => "Singapore",
"SH" => "St. Helena",
"SI" => "Slovenia",
"SJ" => "Svalbard and Jan Mayen Islands",
"SK" => "Slovak Republic",
"SL" => "Sierra Leone",
"SM" => "San Marino",
"SN" => "Senegal",
"SO" => "Somalia",
"SR" => "Suriname",
"ST" => "Sao Tome and Principe",
"SU" => "USSR (former)",
"SV" => "El Salvador",
"SY" => "Syria",
"SZ" => "Swaziland",
"TC" => "Turks and Caicos Islands",
"TD" => "Chad",
"TF" => "French Southern Territories",
"TG" => "Togo",
"TH" => "Thailand",
"TJ" => "Tajikistan",
"TK" => "Tokelau",
"TM" => "Turkmenistan",
"TN" => "Tunisia",
"TO" => "Tonga",
"TP" => "East Timor",
"TR" => "Turkey",
"TT" => "Trinidad and Tobago",
"TV" => "Tuvalu",
"TW" => "Taiwan",
"TZ" => "Tanzania",
"UA" => "Ukraine",
"UG" => "Uganda",
"UK" => "United Kingdom",
"UM" => "US Minor Outlying Islands",
"US" => "United States",
"UY" => "Uruguay",
"UZ" => "Uzbekistan",
"VA" => "Vatican City State (Holy See)",
"VC" => "Saint Vincent and the Grenadines",
"VE" => "Venezuela",
"VG" => "Virgin Islands (British)",
"VI" => "Virgin Islands (U.S.)",
"VN" => "Viet Nam",
"VU" => "Vanuatu",
"WF" => "Wallis and Futuna Islands",
"WS" => "Samoa",
"YE" => "Yemen",
"YT" => "Mayotte",
"YU" => "Yugoslavia",
"ZA" => "South Africa",
"ZM" => "Zambia",
"ZR" => "Zaire",
"ZW" => "Zimbabwe"
);
asort($country_list);
reset($country_list);
return $country_list;
}
function getHtmlList()
{
$html_list = array (
"a" => "<a>",
"abbr" => "<abbr>",
"acronym" => "<acronym>",
"address" => "<address>",
"b" => "<b>",
"bdo" => "<bdo>",
"big" => "<big>",
"blockquote" => "<blockquote>",
"caption" => "<caption>",
"cite" => "<cite>",
"code" => "<code>",
"col" => "<col>",
"colgroup" => "<colgroup>",
"dd" => "<dd>",
"del" => "<del>",
"dfn" => "<dfn>",
"div" => "<div>",
"dl" => "<dl>",
"dt" => "<dt>",
"em" => "<em>",
"font" => "<font>",
"h1" => "<h1>",
"h2" => "<h2>",
"h3" => "<h3>",
"h4" => "<h4>",
"h5" => "<h5>",
"h6" => "<h6>",
"hr" => "<hr>",
"i" => "<i>",
"img" => "<img>",
"ins" => "<ins>",
"kbd" => "<kbd>",
"li" => "<li>",
"map" => "<map>",
"object" => "<object>",
"ol" => "<ol>",
"samp" => "<samp>",
"small" => "<small>",
"strong" => "<strong>",
"sub" => "<sub>",
"sup" => "<sup>",
"table" => "<table>",
"tbody" => "<tbody>",
"td" => "<td>",
"tfoot" => "<tfoot>",
"th" => "<th>",
"thead" => "<thead>",
"tr" => "<tr>",
"tt" => "<tt>",
"ul" => "<ul>",
"var" => "<var>"
);
asort($html_list);
reset($html_list);
return $html_list;
}
function getUserRankList()
{
$db =& Database::getInstance();
$myts =& MyTextSanitizer::getInstance();
$sql = "SELECT rank_id, rank_title FROM ".$db->prefix("ranks")." WHERE rank_special = 1";
$ret = array();
$result = $db->query($sql);
while ( $myrow = $db->fetchArray($result) ) {
$ret[$myrow['rank_id']] = $myts->makeTboxData4Show($myrow['rank_title']);
}
return $ret;
}
}
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -