本文整理汇总了PHP中cs_html_option函数的典型用法代码示例。如果您正苦于以下问题:PHP cs_html_option函数的具体用法?PHP cs_html_option怎么用?PHP cs_html_option使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了cs_html_option函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: cs_newsletter_to
function cs_newsletter_to($select)
{
$cs_lang = cs_translate('newsletter');
$op_squads = cs_sql_option(__FILE__, 'squads', 'label');
$op_clans = cs_sql_option(__FILE__, 'clans', 'label');
$dp = cs_html_option('----', '0', 1);
$dp .= cs_html_option($cs_lang['all_users'], '1');
$dp .= cs_html_option('»' . $cs_lang['ac_group'], '');
$usergroups = cs_sql_select(__FILE__, 'access', 'access_id,access_name', 'access_id != 1', 0, 0, 0);
foreach ($usergroups as $value) {
$dp .= cs_html_option(' ' . cs_secure($value['access_name']), '2?' . $value['access_id']);
}
$dp .= cs_html_option(' »' . $cs_lang[$op_squads['label']], '');
$squads = cs_sql_select(__FILE__, 'squads', 'squads_id, squads_name', 0, 'squads_name', 0, 0);
$squads = empty($squads) ? array() : $squads;
foreach ($squads as $squad) {
$dp .= cs_html_option(' ' . cs_secure($squad['squads_name']), '3?' . $squad['squads_id']);
}
$dp .= cs_html_option('»' . $cs_lang[$op_clans['label']], '');
$clans = cs_sql_select(__FILE__, 'clans', 'clans_id, clans_name', 0, 'clans_name', 0, 0);
$clans = empty($clans) ? array() : $clans;
foreach ($clans as $clan) {
$dp .= cs_html_option(' ' . cs_secure($clan['clans_name']), '4?' . $clan['clans_id']);
}
$data['nl']['to_dropdown'] = $dp;
return $dp;
}
示例2: cs_abcode_sql
function cs_abcode_sql($name)
{
global $cs_lang;
$more = "onchange=\"javascript:abc_insert(this.form.cs_sql.options";
$more .= "[this.form.cs_sql.selectedIndex].value + '(',')','" . $name . "');";
$more .= "this.selectedIndex=0\"";
$var = cs_html_select(1, 'cs_sql', $more);
$var .= cs_html_option('SQL', 0);
$var .= cs_html_option('cs_sql_connect', 'cs_sql_connect');
$var .= cs_html_option('cs_sql_count', 'cs_sql_connect');
$var .= cs_html_option('cs_sql_delete', 'cs_sql_delete');
$var .= cs_html_option('cs_sql_escape', 'cs_sql_escape');
$var .= cs_html_option('cs_sql_insert', 'cs_sql_insert');
$var .= cs_html_option('cs_sql_insertid', 'cs_sql_insertid');
$var .= cs_html_option('cs_sql_option', 'cs_sql_option');
$var .= cs_html_option('cs_sql_query', 'cs_sql_query');
$var .= cs_html_option('cs_sql_select', 'cs_sql_select');
$var .= cs_html_option('cs_sql_update', 'cs_sql_update');
$var .= cs_html_option('cs_sql_version', 'cs_sql_version');
$var .= cs_html_select(0);
return $var;
}
示例3: cs_categories_dropdown2
function cs_categories_dropdown2($mod, $categories_id = 0, $new = 1, $name = 'categories_id')
{
global $account;
$data = array();
$cells = 'categories_id, categories_name, categories_subid';
$categories = cs_sql_select(__FILE__, 'categories', $cells, "categories_mod = '" . $mod . "' AND categories_access <= '" . $account['access_news'] . "'", 'categories_subid ASC, categories_name', 0, 0);
$categories = cs_catsort($categories);
$data['categories']['options'] = '';
if (!empty($categories)) {
foreach ($categories as $cat) {
$blank = '';
if (!empty($cat['layer'])) {
for ($i = 0; $i < $cat['layer']; $i++) {
$blank .= ' ';
}
$blank .= '»';
}
$data['categories']['options'] .= cs_html_option($blank . $cat['categories_name'], $cat['categories_id'], $cat['categories_id'] == $categories_id);
}
}
$data['if']['new'] = !empty($new) ? TRUE : FALSE;
$data['dropdown']['name'] = $name;
return cs_subtemplate(__FILE__, $data, 'categories', 'cat_dropdown2');
}
示例4: cs_sql_select
$data['head']['links'] = $head;
$data['if']['move'] = FALSE;
$data['if']['rename'] = FALSE;
//move
if (!empty($_POST['move'])) {
$data['if']['move'] = TRUE;
$tables = "board boa INNER JOIN {pre}_categories cat ON boa.categories_id = cat.categories_id";
$select = "boa.board_id AS board_id, boa.board_name AS board_name, cat.categories_name AS categories_name";
$axx_where = "boa.board_access <= '" . $account['access_board'] . "'";
$sorting = 'cat.categories_name ASC, boa.board_name ASC';
$board_data = cs_sql_select(__FILE__, $tables, $select, $axx_where, $sorting, 0, 0);
$data['board']['select'] = '';
foreach ($board_data as $board) {
$sel = $board_id == $board['board_id'] ? 1 : 0;
$content = $board['categories_name'] . ' -> ' . $board['board_name'];
$data['board']['select'] .= cs_html_option($content, $board['board_id'], $sel);
}
$data['checked']['closed'] = empty($thread_edit['threads_close']) ? '' : 'checked="checked" ';
$data['checked']['notclosed'] = !empty($thread_edit['threads_close']) ? '' : 'checked="checked" ';
}
//rename
if (!empty($_POST['rename'])) {
$data['if']['rename'] = TRUE;
$data['val']['thread_headline'] = $thread_headline;
}
echo cs_subtemplate(__FILE__, $data, 'board', 'modpanel_q');
} else {
cs_redirect($cs_lang['mark_all'], 'board', 'thread', 'where=' . $thread_id);
}
//Daten verarbeiten und in SQL Eintragen
if (!empty($thread_cells) and !empty($thread_save)) {
示例5: cs_html_select
} else {
$data['select']['before'] = '';
}
if ($cs_clans['clans_tagpos'] == '2') {
$data['select']['next'] = 'selected="selected"';
} else {
$data['select']['next'] = '';
}
$el_id = 'country_1';
$onc = "document.getElementById('" . $el_id . "').src='" . $cs_main['php_self']['dirname'] . "symbols/countries/' + this.form.";
$onc .= "clans_country.options[this.form.clans_country.selectedIndex].value + '.png'";
$data['clans']['country'] = cs_html_select(1, 'clans_country', "onchange=\"" . $onc . "\"");
include_once 'lang/' . $account['users_lang'] . '/countries.php';
foreach ($cs_country as $short => $full) {
$short == $cs_clans['clans_country'] ? $sel = 1 : ($sel = 0);
$data['clans']['country'] .= cs_html_option($full, $short, $sel);
}
$data['clans']['country'] .= cs_html_select(0) . ' ' . cs_html_img('symbols/countries/' . $cs_clans['clans_country'] . '.png', 11, 16, 'id="' . $el_id . '"');
$data['clans']['url'] = cs_secure($cs_clans['clans_url']);
$data['clans']['since'] = cs_dateselect('since', 'date', $cs_clans['clans_since']);
$data['clans']['password'] = cs_secure($cs_clans['clans_pwd']);
$data['users']['nick'] = $users_nick;
if (empty($cs_clans['clans_picture'])) {
$data['clans']['pic'] = $cs_lang['nopic'];
} else {
$place = 'uploads/clans/' . $cs_clans['clans_picture'];
$size = getimagesize($cs_main['def_path'] . '/' . $place);
$data['clans']['pic'] = cs_html_img($place, $size[1], $size[0]);
}
$matches[1] = $cs_lang['pic_infos'];
$return_types = '';
示例6: cs_abcode_smileys
if (!empty($error) or !isset($_POST['submit']) or isset($_POST['preview'])) {
$data['data'] = $board;
$data['abcode']['smileys'] = cs_abcode_smileys('threads_text');
$data['abcode']['features'] = cs_abcode_features('threads_text');
$data['max']['text'] = $cs_board_opt['max_text'];
//////////// VOTES ////////////
$data['if']['vote'] = FALSE;
if ($votes == 1) {
$data['if']['vote'] = TRUE;
$data['if']['vote_several'] = empty($bv['boardvotes_several']) ? false : true;
$data['time']['select'] = cs_dateselect('votes_end', 'unix', $bv['boardvotes_end'], 2005);
$data['access']['options'] = '';
$levels = 0;
while ($levels < 6) {
$bv['boardvotes_access'] == $levels ? $sel = 1 : ($sel = 0);
$data['access']['options'] .= cs_html_option($levels . ' - ' . $cs_lang['lev_' . $levels], $levels, $sel);
$levels++;
}
$data['data']['votes_question'] = $bv['boardvotes_question'];
$data['several']['checked'] = empty($bv['boardvotes_several']) ? '' : 'checked="checked"';
$run_loop = isset($_POST['run_loop']) ? $_POST['run_loop'] : 1;
for ($run = 0; $run < $run_loop; $run++) {
$num = $run + 1;
$cs_files["votes_election_{$num}"] = isset($_POST["votes_election_{$num}"]) ? $_POST["votes_election_{$num}"] : '';
$data['answers'][$run]['num'] = $num;
$data['answers'][$run]['answer'] = $cs_files["votes_election_{$num}"];
}
}
//////////// FILES ////////////
$data['if']['file'] = FALSE;
$a = $run_loop_files;
示例7: elseif
}
}
if (!isset($_POST['submit'])) {
$data['head']['body'] = $cs_lang['rounds_management'];
} elseif (!empty($error)) {
$data['head']['body'] = $error;
}
if (!empty($error) or empty($_POST['submit'])) {
$data['wars'] = $cs_rounds;
$cs_wars = cs_sql_select(__FILE__, 'wars', 'games_id', "wars_id = '" . $wars_id . "'");
$cs_maps = cs_sql_select(__FILE__, 'maps', 'maps_name, maps_id', "games_id = '" . $cs_wars['games_id'] . "'", 'maps_name', 0, 0);
$i = 0;
if (!empty($cs_maps)) {
foreach ($cs_maps as $map) {
$sel = $map['maps_id'] == $cs_rounds['maps_id'] ? 1 : 0;
$data['map'][$i]['sel'] = cs_html_option($map['maps_name'], $map['maps_id'], $sel);
$i++;
}
}
$data['wars']['new_map'] = $new_map;
$data['abcode']['smileys'] = cs_abcode_smileys('rounds_description');
$data['abcode']['features'] = cs_abcode_features('rounds_description');
$data['wars']['id'] = $wars_id;
$data['get']['msg'] = cs_getmsg();
$tables = 'rounds rnd LEFT JOIN {pre}_maps mps ON rnd.maps_id = mps.maps_id';
$cells = 'rnd.rounds_id AS rounds_id, rnd.rounds_score1 AS rounds_score1, ';
$cells .= 'rnd.rounds_score2 AS rounds_score2, mps.maps_name AS maps_name, ';
$cells .= 'rnd.rounds_order AS rounds_order';
$sort = 'rnd.rounds_order ASC, rnd.rounds_id ASC';
$cs_rounds = cs_sql_select(__FILE__, $tables, $cells, 'rnd.wars_id = \'' . $wars_id . '\'', $sort, 0, 0);
$count = count($cs_rounds);
示例8: empty
$cs_sort[3] = 'categories_url DESC';
$cs_sort[4] = 'categories_url ASC';
$order = 'categories_subid, ' . $cs_sort[$sort];
$where = empty($_REQUEST['where']) ? $op_cat['def_mod'] : $_REQUEST['where'];
$mdp = "categories_mod = '" . cs_sql_escape($where) . "'";
$categories_count = cs_sql_count(__FILE__, 'categories', $mdp);
$data['where']['mod'] = $where;
$data['head']['count'] = $categories_count;
$data['head']['pages'] = cs_pages('categories', 'manage', $categories_count, $start, $where, $sort);
$run = 0;
$modules = cs_checkdirs('mods');
foreach ($modules as $mods) {
$check_axx = empty($account['access_' . $mods['dir'] . '']) ? 0 : $account['access_' . $mods['dir'] . ''];
if (!empty($mods['categories']) and $check_axx > 2) {
$mods['dir'] == $where ? $sel = 1 : ($sel = 0);
$data['mod'][$run]['sel'] = cs_html_option($mods['name'], $mods['dir'], $sel);
$run++;
}
}
$data['head']['getmsg'] = cs_getmsg();
$data['sort']['name'] = cs_sort('categories', 'manage', $start, $where, 1, $sort);
$data['sort']['url'] = cs_sort('categories', 'manage', $start, $where, 3, $sort);
$select = 'categories_id, categories_name, categories_url, categories_subid';
$data['cat'] = cs_sql_select(__FILE__, 'categories', $select, $mdp, $order, $start, $account['users_limit']);
$data['cat'] = cs_catsort($data['cat']);
$categories_loop = !empty($data['cat']) ? count($data['cat']) : '';
for ($run = 0; $run < $categories_loop; $run++) {
$blank = '';
if (!empty($data['cat'][$run]['layer'])) {
for ($i = 0; $i < $data['cat'][$run]['layer']; $i++) {
$blank .= ' ';
示例9: cs_html_option
$data['sel'][$run]['options'] = cs_html_option($mods['name'], $mods['dir'], $sel);
$run++;
}
$data['options']['automatic'] = $data['options']['def_path'] == '1' ? 'selected="selected"' : '';
$data['options']['manual'] = $data['options']['def_path'] == '0' ? 'selected="selected"' : '';
$data['options']['def_path'] = $cs_main['def_path'];
$data['options']['public_1'] = $data['options']['public'] == '1' ? 'checked="checked"' : '';
$data['options']['public_2'] = $data['options']['public'] == '0' ? 'checked="checked"' : '';
$data['options']['admin_1'] = $data['options']['def_admin'] == 'integrated' || empty($data['options']['def_admin']) ? 'checked="checked"' : '';
$data['options']['admin_2'] = $data['options']['def_admin'] == 'separated' ? 'checked="checked"' : '';
$data['options']['sec_remote_1'] = !empty($data['options']['sec_remote']) ? 'checked="checked"' : '';
$data['options']['sec_remote_2'] = empty($data['options']['sec_remote']) ? 'checked="checked"' : '';
$data['options']['timezone_select'] = cs_html_select(1, 'def_timezone');
$timezone = -10;
while ($timezone <= 12) {
$zonename = $timezone >= 0 ? 'UTC +' . $timezone : 'UTC ' . $timezone;
$offset = $timezone * 3600;
$sel = $offset == $data['options']['def_timezone'] ? 1 : 0;
$data['options']['timezone_select'] .= cs_html_option($zonename, $offset, $sel);
$timezone = $timezone + 0.5;
}
$data['options']['timezone_select'] .= cs_html_select(0);
$data['options']['time_1'] = $data['options']['def_dstime'] == 'on' ? 'selected="selected"' : '';
$data['options']['time_0'] = $data['options']['def_dstime'] == 'off' ? 'selected="selected"' : '';
$data['options']['time_auto'] = $data['options']['def_dstime'] == '0' ? 'selected="selected"' : '';
$data['options']['ajax_reload'] = empty($data['options']['ajax_reload']) ? 10 : $data['options']['ajax_reload'];
$data['options']['main_acc3_checked'] = $data['options']['maintenance_access'] == 3 ? 'selected="selected"' : '';
$data['options']['main_acc4_checked'] = $data['options']['maintenance_access'] == 4 ? 'selected="selected"' : '';
$data['options']['main_acc5_checked'] = $data['options']['maintenance_access'] == 5 ? 'selected="selected"' : '';
echo cs_subtemplate(__FILE__, $data, 'clansphere', 'options');
}
示例10: cs_dropdown
function cs_dropdown($name, $list, $array, $select = 0, $key = 0, $def_option = 0)
{
global $cs_main;
$key = empty($key) ? $name : $key;
$var = cs_html_select(1, $name);
if (empty($def_option)) {
$var .= cs_html_option('----', 0, 0);
}
$array = is_array($array) ? $array : array();
foreach ($array as $data) {
$sel = $select == $data[$key] ? 1 : 0;
$content = html_entity_decode($data[$list], ENT_QUOTES, $cs_main['charset']);
$content = htmlentities($content, ENT_QUOTES, $cs_main['charset']);
$var .= cs_html_option($content, $data[$key], $sel);
}
return $var . cs_html_select(0);
}
示例11: cs_sql_select
$tables = 'comments cms INNER JOIN {pre}_users usr ON cms.users_id = usr.users_id';
$cells = 'cms.comments_fid AS comments_fid, ';
$cells .= 'usr.users_id AS users_id, usr.users_nick AS users_nick, ';
$cells .= 'usr.users_active AS users_active, usr.users_country AS users_country';
$data['comment'] = cs_sql_select(__FILE__, $tables, $cells, 'comments_id = ' . (int) $comments_id);
$data['comment']['comments_text'] = $_POST['threads_text'];
$data['lang']['errors_here'] = $cs_lang['error_occured'] . $error;
}
$data['abcode']['features'] = cs_abcode_features('threads_text');
$tables = 'categories cat INNER JOIN {pre}_board b ON cat.categories_id = b.categories_id';
$cells = 'cat.categories_name AS categories_name, b.board_name AS board_name, b.board_id AS board_id';
$boards = cs_sql_select(__FILE__, $tables, $cells, 0, 0, 0, 0);
$data['board']['select'] = cs_html_select(1, 'board_id');
$data['board']['select'] .= cs_html_option('----', 0);
foreach ($boards as $board) {
$data['board']['select'] .= cs_html_option($board['categories_name'] . ': ' . $board['board_name'], $board['board_id'], 0);
}
$data['board']['select'] .= cs_html_select(0);
$data['comment']['text'] = cs_secure($data['comment']['comments_text'], 1, 1);
$data['comment']['user'] = cs_user($data['comment']['users_id'], $data['comment']['users_nick'], $data['comment']['users_active']);
$tables = 'comments cms INNER JOIN {pre}_users usr ON cms.users_id = usr.users_id';
$cells = 'usr.users_nick AS users_nick, usr.users_id AS users_id, cms.comments_text AS comments_text, ';
$cells .= 'usr.users_active AS users_active, usr.users_country AS users_country, cms.comments_id AS comments_id';
$cond = "cms.comments_fid = " . (int) $data['comment']['comments_fid'] . " AND comments_mod = 'board' AND cms.comments_id > " . (int) $comments_id;
$data['comments'] = cs_sql_select(__FILE__, $tables, $cells, $cond, 'comments_time', 0, 0);
$comments_count = count($data['comments']);
for ($run = 0; $run < $comments_count; $run++) {
$data['comments'][$run]['user'] = cs_user($data['comments'][$run]['users_id'], $data['comments'][$run]['users_nick'], $data['comments'][$run]['users_active']);
$data['comments'][$run]['comments_text'] = cs_secure($data['comments'][$run]['comments_text'], 1, 1);
$data['comments'][$run]['checked'] = !empty($_POST) && in_array($data['comments'][$run]['comments_id'], $_POST['comments']) ? ' checked="checked"' : '';
}
示例12: make_subfolders_select
function make_subfolders_select($array, $select)
{
$var = '';
$sel = 0;
$loop = count($array);
for ($run = 0; $run < $loop; $run++) {
if (!empty($array[$run][0])) {
make_subfolders_select($array[$run], $select);
} else {
$array[$run]['folders_id'] == $select ? $sel = 1 : ($sel = 0);
$tab = makeTAB($array[$run]['depht']);
$var .= cs_html_option($tab . $array[$run]['name'], $array[$run]['folders_id'], $sel);
}
}
return $var;
}
示例13: array
$static = array();
foreach ($modules as $mod) {
if ((isset($account['access_' . $mod['dir'] . '']) or $mod['dir'] == 'captcha' or $mod['dir'] == 'pictures') and !empty($mod['tables'][0])) {
foreach ($mod['tables'] as $mod_table) {
if (isset($static[$mod_table])) {
cs_error(__FILE__, 'SQL-Table "' . $mod_table . '" is owned by two modules: "' . $static[$mod_table] . '" and "' . $mod['dir'] . '"');
} else {
$static[$mod_table] = $mod['dir'];
}
}
}
}
ksort($static);
$run = 0;
foreach ($static as $sql_table => $mod) {
$data['tables'][$run]['option'] = cs_html_option($sql_table, $sql_table);
$run++;
}
$data['output']['prefix'] = $prefix;
$checked = 'checked="checked"';
$data['output']['truncate_check'] = empty($truncate) ? '' : $checked;
$array = $output == 'file' ? array('text' => 0, 'file' => 1) : array('text' => 1, 'file' => 0);
$data['output']['text_check'] = empty($array['text']) ? '' : $checked;
$data['output']['file_check'] = empty($array['file']) ? '' : $checked;
} else {
$sql_content = '-- ClanSphere ' . $cs_main['version_name'] . ' SQL EXPORT' . "\n";
$sql_content .= '-- ' . $cs_lang['tables'] . ': ' . count($tables) . "\n";
$sql_content .= '-- ' . $cs_lang['date'] . ': ' . cs_date('unix', cs_time(), 1) . "\n";
foreach ($tables as $sql_table) {
$sql_content .= "\n" . '-- --------------------------------------------------';
$sql_content .= "\n" . '-- ' . sprintf($cs_lang['sql_data_for'], $sql_table) . "\n\n";
示例14: cs_html_option
$data['setup']['languages'] .= cs_html_option($lang['name'], $lang['name'], $sel);
}
$timezone = -10;
while ($timezone <= 12) {
$zonename = $timezone >= 0 ? 'UTC +' . $timezone : 'UTC ' . $timezone;
$offset = $timezone * 3600;
$sel = $offset == $cs_user['users_timezone'] ? 1 : 0;
$data['setup']['timezone'] .= cs_html_option($zonename, $offset, $sel);
$timezone = $timezone + 0.5;
}
$sel = empty($cs_user['users_dstime']) ? 1 : 0;
$data['setup']['option_automatic'] = cs_html_option($cs_lang['automatic'], 0, $sel);
$sel = $cs_user['users_dstime'] == 'on' ? 1 : 0;
$data['setup']['option_on'] = cs_html_option($cs_lang['on'], 'on', $sel);
$sel = $cs_user['users_dstime'] == 'off' ? 1 : 0;
$data['setup']['option_off'] = cs_html_option($cs_lang['off'], 'off', $sel);
$data['setup']['users_limit'] = $cs_user['users_limit'];
$views[0]['users_view'] = '';
$views[0]['name'] = $cs_lang['default'];
$views[1]['users_view'] = 'list';
$views[1]['name'] = $cs_lang['list'];
$views[2]['users_view'] = 'float';
$views[2]['name'] = $cs_lang['compatible'];
$data['setup']['view_type'] = cs_dropdown('users_view', 'name', $views, $cs_user['users_view'], 0, 1);
$mode[0]['users_invisible'] = 0;
$mode[0]['name'] = $cs_lang['off'];
$mode[1]['users_invisible'] = 1;
$mode[1]['name'] = $cs_lang['on'];
$data['setup']['users_invisible'] = cs_dropdown('users_invisible', 'name', $mode, $cs_user['users_invisible'], 0, 1);
$mode[0]['users_abomail'] = 0;
$mode[0]['name'] = $cs_lang['off'];
示例15: cs_html_br
$error .= $cs_lang['cat_exists'] . cs_html_br(1);
}
}
if (!isset($_POST['submit'])) {
$data['head']['body'] = $cs_lang['body_folder'];
} elseif (!empty($error)) {
$data['head']['body'] = $error;
}
if (!empty($error) or !isset($_POST['submit'])) {
$data['data'] = $folders;
$data['data']['folders_select'] = make_folders_select('sub_id', $folders['sub_id'], $account['users_id'], 'usersgallery');
$levels = 0;
$data['data']['folders_access'] = '';
while ($levels < 6) {
$folders['folders_access'] == $levels ? $sel = 1 : ($sel = 0);
$data['data']['folders_access'] .= cs_html_option($levels . ' - ' . $cs_lang['lev_' . $levels], $levels, $sel);
$levels++;
}
$matches[1] = $cs_lang['pic_infos'];
$return_types = '';
foreach ($img_filetypes as $add) {
$return_types .= empty($return_types) ? $add : ', ' . $add;
}
$matches[2] = $cs_lang['max_width'] . $option['max_width'] . ' px' . cs_html_br(1);
$matches[2] .= $cs_lang['max_height'] . $option['max_height'] . ' px' . cs_html_br(1);
$matches[2] .= $cs_lang['max_size'] . cs_filesize($option['max_size']) . cs_html_br(1);
$matches[2] .= $cs_lang['filetypes'] . $return_types;
$data['data']['info_clip'] = cs_abcode_clip($matches);
$checked = 'checked="checked"';
$data['check']['vote'] = empty($adv_vote) ? '' : $checked;
$data['check']['close'] = empty($adv_close) ? '' : $checked;