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


PHP show_form_footer函数代码示例

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


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

示例1: show_form_header

$sfile = DISCUZ_ROOT . './source/' . $source . '/setting.ini';
if (!submitcheck('submit')) {
    show_form_header();
    show_table_header();
    show_table_row(array(array('colspan="3"', '编辑配置文件 source/' . $source . '/setting.ini')), 'title');
    foreach ($setting as $key => $value) {
        if (is_array($value) && !empty($value)) {
            show_table_row(array(array('colspan="3" align="left"', '<strong>[' . $key . ']<strong>')), 'bg1');
            $disabled = in_array($key, array('program', 'config', 'steps', 'start', 'tablecheck')) ? ' disabled readonly' : '';
            foreach ($value as $k => $v) {
                show_table_row(array(lang($k), array('class="bg2" width="70%"', '<input type="text" size="40" name="newsetting[' . $key . '][' . $k . ']" value="' . htmlspecialchars($v) . '"' . $disabled . '>' . ($disabled ? ' 只读' : ''))), 'bg2');
            }
        }
    }
    show_table_footer();
    show_form_footer('submit', lang('submit'));
} else {
    $newsetting = getgpc('newsetting');
    if (is_array($newsetting)) {
        $lines = file($sfile);
        foreach ($lines as $num => $line) {
            $lines[$num] = $line = trim($line);
            $check = substr($line, 0, 1);
            if ($check !== '' && $check != ';') {
                if ($check == '[') {
                    $group = trim(str_replace(array('[', ']'), '', $line));
                } elseif ($group != '') {
                    list($key, $val) = explode('=', $line);
                    $key = trim($key);
                    if (isset($newsetting[$group][$key])) {
                        if (is_numeric($newsetting[$group][$key])) {
开发者ID:tanxiniao,项目名称:bce,代码行数:31,代码来源:do_setting.inc.php

示例2: mysql_connect_test

            if (!empty($newconfig[$key]['dbhost'])) {
                $check = mysql_connect_test($newconfig[$key], $key);
                if ($check < 0) {
                    $error[$key] = lang('mysql_connect_error_' . abs($check));
                }
            } else {
                $error[$key] = lang('mysql_config_error');
            }
        }
        save_config_file($configfile, $newconfig, $config_default);
        if (empty($error)) {
            $db_target = new db_mysql($newconfig['target']);
            $db_target->connect();
            delete_process('all');
            showmessage('config_success', 'index.php?a=select&source=' . $source);
        }
    }
}
showtips('如果无法显示设置项目,请删除文件 data/config.inc.php');
$config = loadconfig('config.inc.php');
if (empty($config)) {
    $config = $config_default;
}
show_form_header();
show_config_input('source', $config['source'], $error['source']);
show_config_input('target', $config['target'], $error['target']);
if ($setting['config']['ucenter']) {
    show_config_input('ucenter', $config['ucenter'], $error['ucenter']);
}
show_form_footer('submit', 'config_save');
开发者ID:Jaedeok-seol,项目名称:discuz_template,代码行数:30,代码来源:do_config.inc.php

示例3: array

    $category = "\n<select name=\"cat\" class=\"categoryselect\">\n";
    $category .= "<option value=\"0\">" . $lang['all_categories'] . "</option>\n";
    $category .= "<option value=\"0\">-------------------------------</option>\n";
    $drop_down_cat_cache = array();
    $drop_down_cat_cache = $cat_parent_cache;
    $category .= get_category_dropdown_bits($cat_id);
    $category .= "</select>\n";
    show_form_header("files_check.php", "checkimages");
    show_table_header("Files Check", 2);
    show_custom_row("Category", $category);
    show_radio_row("Include sub-categories", "subcat", 1);
    show_input_row("Number of images to do per cycle", "imchksize", 50, 5);
    show_radio_row("Check Remote Files", "local", 1);
    show_radio_row("Check Thumbnails", "thumbs", 1);
    show_radio_row("Include automatic JavaScript redirect to next page", "autoredirect", 1);
    show_form_footer($lang['submit'], $lang['reset'], 2);
}
if ($action == "checkimages") {
    if (isset($HTTP_GET_VARS['cat']) || isset($HTTP_POST_VARS['cat'])) {
        $cat = isset($HTTP_GET_VARS['cat']) ? intval($HTTP_GET_VARS['cat']) : intval($HTTP_POST_VARS['cat']);
    } else {
        $cat = 0;
    }
    if (isset($HTTP_GET_VARS['subcat']) || isset($HTTP_POST_VARS['subcat'])) {
        $subcat = isset($HTTP_GET_VARS['subcat']) ? intval($HTTP_GET_VARS['subcat']) : intval($HTTP_POST_VARS['subcat']);
    } else {
        $subcat = 0;
    }
    if ($cat) {
        $cats = array($cat);
        if ($subcat) {
开发者ID:abhinay100,项目名称:fourimages_app,代码行数:31,代码来源:files_check.php

示例4: format_text

         echo "<td>" . $show_user_name . "</td>\n";
         $show_image = "<a href=\"" . $site_sess->url(ROOT_PATH . "details.php?" . URL_IMAGE_ID . "=" . $comment_row['image_id']) . "\" target=\"_blank\">" . format_text($comment_row['image_name'], 2) . "</a> (ID: " . $comment_row['image_id'] . ")";
         echo "<td>" . $show_image . "</td>\n";
         echo "<td>" . format_date($config['date_format'] . " " . $config['time_format'], $comment_row['comment_date']) . "</td>\n";
         echo "<td><p>";
         show_text_link($lang['edit'], "comments.php?action=editcomment&comment_id=" . $comment_row['comment_id']);
         show_text_link($lang['delete'], "comments.php?action=removecomment&comment_id=" . $comment_row['comment_id']);
         echo "</p></td>\n";
         echo "</tr>\n";
     }
     echo "<tr class=\"tablefooter\">\n<td colspan=\"6\" align=\"left\">\n&nbsp;";
     echo "<input type=\"submit\" value=\"  " . $lang['delete'] . "   \" class=\"button\">\n";
     echo "&nbsp;\n</td>\n</tr>\n</table>\n</td>\n</tr>\n</table>\n</form>\n";
 } else {
     show_description_row($lang['no_search_results'], 6);
     show_form_footer("", "");
 }
 echo "<div align=\"right\">";
 echo "<form action=\"" . $site_sess->url("comments.php") . "\" name=\"form2\" method=\"post\">\n";
 if ($limitnumber != 5000 && $limitfinish < $countcomments['comments']) {
     show_hidden_input("action", "findcomments");
     show_hidden_input("image_id", $image_id);
     show_hidden_input("image_name", $image_name, 1);
     show_hidden_input("user_name", $user_name, 1);
     show_hidden_input("comment_headline", $comment_headline, 1);
     show_hidden_input("comment_text", $comment_text, 1);
     show_hidden_input("dateafter", $dateafter);
     show_hidden_input("datebefore", $datebefore);
     show_hidden_input("orderby", $orderby, 1);
     show_hidden_input("direction", $direction, 1);
     show_hidden_input("limitstart", $limitstart + $limitnumber + 1);
开发者ID:abhinay100,项目名称:fourimages_app,代码行数:31,代码来源:comments.php

示例5: show_form_header

     }
 }
 show_form_header("backup.php", "makebackup");
 show_table_header($lang['do_backup'], 2);
 $table_select = "<select name=\"db_tables[]\" size=\"10\" multiple>\n";
 $result = $site_db->query("SHOW tables");
 while ($row = $site_db->fetch_array($result)) {
     $table_select .= "<option value=\"" . $row[0] . "\"";
     if (in_array($row[0], $default_tables) && preg_match("/^" . $table_prefix . "/i", $row[0])) {
         $table_select .= " selected";
     }
     $table_select .= ">" . $row[0] . "</option>\n";
 }
 $table_select .= "</select>\n";
 show_custom_row($lang['do_backup_desc'] . $db_status, $table_select);
 show_form_footer($lang['do_backup'], $lang['reset']);
 show_table_header($lang['list_backups'], 4);
 $handle = opendir(ROOT_PATH . DATABASE_DIR);
 $filelist = array();
 while ($file = @readdir($handle)) {
     if (is_file(ROOT_PATH . DATABASE_DIR . "/" . $file) && $file != "." && $file != ".." && preg_match("/\\.sql/i", $file)) {
         $filelist[] = $file;
     }
 }
 closedir($handle);
 if (!empty($filelist)) {
     rsort($filelist);
     foreach ($filelist as $key => $file) {
         echo "<tr class=\"" . get_row_bg() . "\" width=\"30%\">\n<td><p class=\"rowtitle\">{$file}</p></td>\n";
         $file_time = format_date($config['date_format'] . " " . $config['time_format'], filemtime(ROOT_PATH . DATABASE_DIR . "/" . $file));
         echo "<td>" . $file_time . "</td>";
开发者ID:4images,项目名称:4images,代码行数:31,代码来源:backup.php

示例6: array

    echo "</ul>\n</td></tr>";
}
$tablelist = array();
$cdir = dir($prgdir);
while (($entry = $cdir->read()) !== false) {
    if ($entry != '.' && $entry != '..' && is_file($prgdir . $entry)) {
        $tablelist[] = $entry;
    }
}
$cdir->close();
if ($tablelist) {
    sort($tablelist);
    show_table_row(array('<span style="float: left">' . lang('update', 'table_convert') . '</span>'), 'bg1');
    echo "<tr class=bg2><td colspan=2>\n<ul id=\"ulist\">";
    foreach ($tablelist as $entry) {
        echo "<li><label><input type=\"checkbox\" class=\"checkbox\" name=\"prgs[]\" value=\"{$entry}\" checked>&nbsp;" . basename($entry, '.php') . "</label></li>";
    }
    echo "</ul>\n</td></tr>";
}
if ($setting['steps']) {
    show_table_row(array(lang('update', 'other_convert')), 'bg1');
    echo "<tr class=bg2><td colspan=2>\n<ul id=\"ulist\">";
    foreach ($setting['steps'] as $key => $value) {
        echo "<li><label><input type=\"checkbox\" class=\"checkbox\" name=\"prgs[]\" value=\"s_prg_{$key}.php\" checked>&nbsp;{$key}({$value})</label></li>";
    }
    echo "</ul>\n</td></tr>";
}
show_table_footer();
show_form_footer('submit', lang('update', 'start_conversion'));
showfooter();
exit;
开发者ID:v998,项目名称:discuzx-en,代码行数:31,代码来源:do_select.inc.php

示例7: define

 *    (Licence.txt) for further information.                              *
 *                                                                        *
 *************************************************************************/
$nozip = 1;
define('IN_CP', 1);
$root_path = false === stristr($_SERVER['PHP_SELF'], "/plugins/") ? "./../" : "./../../";
define('ROOT_PATH', $root_path);
require ROOT_PATH . 'admin/admin_global.php';
if ($config['language_dir'] == 'deutsch') {
    $lang_clear_cache = 'Cache leeren';
    $lang_clear_confirm = 'Wollen Sie das Cache-Verzeichnis leeren (%s)?';
    $lang_clear_success = 'Cache-Verzeichnis geleert';
} else {
    $lang_clear_cache = 'Clear Cache';
    $lang_clear_confirm = 'Do you want to clear the cache directory (%s)?';
    $lang_clear_success = 'Cache directory cleared';
}
show_admin_header();
if ($action == "clearcache") {
    @set_time_limit(0);
    clear_cache();
    $msg = $lang_clear_success;
}
if ($msg != "") {
    printf("<b>%s</b>\n", $msg);
}
show_form_header($HTTP_SERVER_VARS['PHP_SELF'], "clearcache");
show_table_header($lang_clear_cache);
show_description_row(sprintf($lang_clear_confirm, realpath($cache_path)));
show_form_footer($lang['submit'], "");
show_admin_footer();
开发者ID:4images,项目名称:4images,代码行数:31,代码来源:clear_cache.php

示例8: isset

    }
}
if ($action == "addusers") {
    if (isset($HTTP_GET_VARS['num_newusers']) || isset($HTTP_POST_VARS['num_newusers'])) {
        $num_newusers = isset($HTTP_GET_VARS['num_newusers']) ? intval($HTTP_GET_VARS['num_newusers']) : intval($HTTP_POST_VARS['num_newusers']);
    } else {
        $num_newusers = 1;
    }
    if ($msg != "") {
        printf("<b>%s</b>\n", $msg);
    }
    show_form_header("users.php", "saveusers", "form", 1);
    show_table_header($lang['nav_users_add'], 2);
    show_num_select_row("&nbsp;", "num_newusers", $lang['num_newusers_desc']);
    for ($i = 1; $i <= $num_newusers; $i++) {
        show_table_separator($lang['user'] . " " . $i, 2);
        show_userlevel_select_row($lang['field_userlevel'], "user_level_" . $i);
        show_input_row($lang['field_username'], "user_name_" . $i, "", $textinput_size);
        show_input_row($lang['field_email'], "user_email_" . $i, "", $textinput_size);
        show_input_row($lang['field_password'], "user_password_" . $i, "", $textinput_size);
        show_input_row($lang['field_homepage'], "user_homepage_" . $i, "", $textinput_size);
        show_input_row($lang['field_icq'], "user_icq_" . $i, "", $textinput_size);
        show_radio_row($lang['field_showemail'], "user_showemail_" . $i, 0);
        show_radio_row($lang['field_allowemails'], "user_allowemails_" . $i, 1);
        show_radio_row($lang['field_invisible'], "user_invisible_" . $i, 0);
        show_additional_fields("user", array(), USERS_TABLE, $i);
    }
    show_hidden_input("num_newusers", $num_newusers);
    show_form_footer($lang['add'], $lang['reset'], 2);
}
show_admin_footer();
开发者ID:abhinay100,项目名称:fourimages_app,代码行数:31,代码来源:users.php

示例9: get_user_table_field

    $select = "<select name=\"emails[]\" size=\"15\" multiple=\"multiple\">\n";
    $sql = "SELECT " . get_user_table_field("", "user_id") . get_user_table_field(", ", "user_level") . get_user_table_field(", ", "user_name") . get_user_table_field(", ", "user_email") . "\n          FROM " . USERS_TABLE . "\n          WHERE " . get_user_table_field("", "user_id") . " <> " . GUEST . " AND " . get_user_table_field("", "user_allowemails") . " = 1\n          ORDER BY " . get_user_table_field("", "user_level") . " DESC";
    $result = $site_db->query($sql);
    $level = 1000;
    while ($row = $site_db->fetch_array($result)) {
        $user_level = $row[$user_table_fields['user_level']];
        if ($level != $user_level && $user_level == ADMIN) {
            $select .= "<option value=\"0\">__________________________</option>\n";
            $select .= "<option value=\"0\" class=\"dropdownmarker\">" . $lang['userlevel_admin'] . "</option>\n";
        } elseif ($level != $user_level && $user_level == USER) {
            $select .= "<option value=\"0\">__________________________</option>\n";
            $select .= "<option value=\"0\" class=\"dropdownmarker\">" . $lang['userlevel_registered'] . "</option>\n";
        } elseif ($level != $user_level && $user_level == USER_AWAITING) {
            $select .= "<option value=\"0\">__________________________</option>\n";
            $select .= "<option value=\"0\" class=\"dropdownmarker\">" . $lang['userlevel_registered_awaiting'] . "</option>\n";
        }
        $user_email = $row[$user_table_fields['user_email']];
        $user_name = $row[$user_table_fields['user_name']];
        $selected = isset($HTTP_POST_VARS['emails']) && !in_array($user_email, $HTTP_POST_VARS['emails']) ? "" : " selected=\"selected\"";
        $select .= "<option value=\"" . $user_email . "\"" . $selected . ">&raquo; " . format_text($user_name, 2) . " (" . $user_email . ")</option>\n";
        $level = $user_level;
    }
    $select .= "</select>\n";
    $title = $lang['select_email_user'];
    if (isset($error['emails'])) {
        $title = sprintf("<span class=\"marktext\">%s *</span>", $title);
    }
    show_custom_row($title, $select);
    show_form_footer($lang['send_emails'], "", 2);
}
show_admin_footer();
开发者ID:abhinay100,项目名称:fourimages_app,代码行数:31,代码来源:email.php

示例10: str_replace

            $table_source = str_replace('.php', '', $db_source->tablepre . $entry);
            $source_exist = $db_source->result_first("SHOW TABLES LIKE '" . substr($table_source, strpos($table_source, '.') + 1) . "'");
            if (empty($source_exist)) {
                continue;
            }
        }
        $tablelist[] = $entry;
    }
}
$cdir->close();
if ($tablelist) {
    sort($tablelist);
    show_table_row(array('<span style="float: left">数据表转换程序</span>'), 'bg1');
    echo "<tr class=bg2><td colspan=2>\n<ul id=\"ulist\">";
    foreach ($tablelist as $entry) {
        echo "<li><label><input type=\"checkbox\" class=\"checkbox\" name=\"prgs[]\" value=\"{$entry}\" checked>&nbsp;" . basename($entry, '.php') . "</label></li>";
    }
    echo "</ul>\n</td></tr>";
}
if ($setting['steps']) {
    show_table_row(array('其他辅助转换程序'), 'bg1');
    echo "<tr class=bg2><td colspan=2>\n<ul id=\"ulist\">";
    foreach ($setting['steps'] as $key => $value) {
        echo "<li><label><input type=\"checkbox\" class=\"checkbox\" name=\"prgs[]\" value=\"s_prg_{$key}.php\" checked>&nbsp;{$key}({$value})</label></li>";
    }
    echo "</ul>\n</td></tr>";
}
show_table_footer();
show_form_footer('submit', '开始转换');
showfooter();
exit;
开发者ID:tanxiniao,项目名称:bce,代码行数:31,代码来源:do_select.inc.php

示例11: show_form_header

    show_form_header();
    show_table_header();
    show_table_row(array(array('colspan="3"', lang('config_usergroup'))), 'header title');
    //vot
    show_table_row(array(lang('config_from_usergroup'), array('class="bg1" width="10%" align="center"', '->'), lang('config_target_usergroup')));
    foreach ($sourcegroup as $key => $value) {
        $addmsg = $error && $key == 'dbhost' ? lang($error) : '';
        //vot
        $key = intval($key);
        show_table_row(array(array('class="bg2" width="45%"', $value), array('class="bg1" width="10%" align="center"', '->'), array('class="bg2" width="45%"', '<select name="targetgroup[' . $key . ']">' . $targetoption . '</select>')), 'bg1');
    }
    show_table_footer();
    echo '<br/>';
    show_table_header();
    show_table_row(array(array('colspan="3"', lang('config_extcredits'))), 'header title');
    //vot
    show_table_row(array(lang('config_from_credit'), array('class="bg1" width="10%" align="center"', '->'), lang('config_target_credit')));
    show_table_row(array(array('class="bg2" width="45%"', lang('config_credit')), array('class="bg1" width="10%" align="center"', '->'), array('class="bg2" width="45%"', '<select name="extcredits[credit]">' . $extcredits . '</select>')), 'bg1');
    show_table_row(array(array('class="bg2" width="45%"', lang('config_experience')), array('class="bg1" width="10%" align="center"', '->'), array('class="bg2" width="45%"', '<select name="extcredits[experience]">' . $extcredits . '</select>')), 'bg1');
    show_table_footer();
    echo '<br/>';
    show_table_header();
    show_table_row(array(array('colspan="3"', lang('config_convert_forum'))), 'header title');
    //vot
    show_table_row(array(lang('config_from_data'), array('class="bg1" width="10%" align="center"', '->'), lang('config_target_forum')));
    show_table_row(array(array('class="bg2" width="45%"', lang('config_poll')), array('class="bg1" width="10%" align="center"', '->'), array('class="bg2" width="45%"', '<select name="forum[poll]"><option value="0" selected>' . lang('config_auto_create') . '</option>' . $forumoption . '</select>')), 'bg1');
    show_table_row(array(array('class="bg2" width="45%"', lang('config_event')), array('class="bg1" width="10%" align="center"', '->'), array('class="bg2" width="45%"', '<select name="forum[event]"><option value="0" selected>' . lang('config_auto_create') . '</option>' . $forumoption . '</select>')), 'bg1');
    show_table_footer();
    show_form_footer('submit', 'config_convert');
    exit;
}
开发者ID:v998,项目名称:discuzx-en,代码行数:31,代码来源:config.php

示例12: array

    $category .= "<option value=\"0\">" . $lang['main_category'] . "</option>\n";
    $category .= "<option value=\"0\">--------------</option>\n";
    $drop_down_cat_cache = array();
    $drop_down_cat_cache = $cat_parent_cache;
    $category .= get_category_dropdown_bits($cat_parent_id);
    $category .= "</select>\n";
    show_custom_row($lang['field_parent'], $category);
    if ($show_cat_order_dropdown) {
        show_custom_row($lang['cat_order'], get_cat_order_dropdown($cat_parent_id, $cat_row['cat_order']));
    }
    show_input_row($lang['field_hits'], "cat_hits", $cat_row['cat_hits'], 5);
    show_table_separator($lang['permissions'], 2);
    foreach ($access_field_array as $key => $val) {
        show_access_select($lang[$key], $key, $cat_row[$key]);
    }
    show_form_footer($lang['save_changes'], $lang['reset'], 2, $lang['back']);
}
if ($action == "modifycats") {
    $site_sess->set_session_var('back_url', $self_url);
    show_admin_header();
    if ($msg != "") {
        printf("<b>%s</b>\n<p>", $msg);
    } else {
        $msg = $site_sess->get_session_var('msg');
        if ($msg != "") {
            printf("<b>%s</b>\n<p>", $msg);
        }
        $site_sess->drop_session_var('msg');
    }
    if ($ser_map = $site_sess->get_session_var('map')) {
        $GLOBALS['map'] = unserialize($ser_map);
开发者ID:4images,项目名称:4images,代码行数:31,代码来源:categories.php

示例13: show_form_header

$sfile = DISCUZ_ROOT . './source/' . $source . '/setting.ini';
if (!submitcheck('submit')) {
    show_form_header();
    show_table_header();
    show_table_row(array(array('colspan="3"', lang('update', 'edit_file') . ' source/' . $source . '/setting.ini')), 'title');
    foreach ($setting as $key => $value) {
        if (is_array($value) && !empty($value)) {
            show_table_row(array(array('colspan="3" align="left"', '<strong>[' . $key . ']<strong>')), 'bg1');
            $disabled = in_array($key, array('program', 'config', 'steps', 'start', 'tablecheck')) ? ' disabled readonly' : '';
            foreach ($value as $k => $v) {
                show_table_row(array(lang('update', $k), array('class="bg2" width="70%"', '<input type="text" size="40" name="newsetting[' . $key . '][' . $k . ']" value="' . htmlspecialchars($v) . '"' . $disabled . '>' . ($disabled ? lang('update', 'r/o') : ''))), 'bg2');
            }
        }
    }
    show_table_footer();
    show_form_footer('submit', lang('update', 'submit'));
} else {
    $newsetting = getgpc('newsetting');
    if (is_array($newsetting)) {
        $lines = file($sfile);
        foreach ($lines as $num => $line) {
            $lines[$num] = $line = trim($line);
            $check = substr($line, 0, 1);
            if ($check !== '' && $check != ';') {
                if ($check == '[') {
                    $group = trim(str_replace(array('[', ']'), '', $line));
                } elseif ($group != '') {
                    list($key, $val) = explode('=', $line);
                    $key = trim($key);
                    if (isset($newsetting[$group][$key])) {
                        if (is_numeric($newsetting[$group][$key])) {
开发者ID:v998,项目名称:discuzx-en,代码行数:31,代码来源:do_setting.inc.php

示例14: show_description_row

            }
            if ($image_counter == $num_newimages) {
                break;
            }
        }
    }
    if (empty($imgs)) {
        echo "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td class=\"tableborder\">\n<table cellpadding=\"3\" cellspacing=\"1\" border=\"0\" width=\"100%\">\n";
        $bgcounter = 0;
        show_description_row($lang['no_search_results'], 4);
        show_table_footer();
    } else {
        show_form_header("thumbnailer.php", "createthumbnails", "form");
        echo "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td class=\"tableborder\">\n<table cellpadding=\"3\" cellspacing=\"1\" border=\"0\" width=\"100%\">\n";
        echo "<tr class=\"tableseparator\">\n<td class=\"tableseparator\"><input name=allbox type=checkbox onClick=\"CheckAll();\" checked=\"checked\"></td>\n<td class=\"tableseparator\">" . $lang['field_image_name'] . "</td>\n<td class=\"tableseparator\">" . $lang['field_image_file'] . "</td>\n<td class=\"tableseparator\">" . $lang['field_category'] . "</td>\n</tr>\n";
        echo $imgs;
        show_table_separator($lang['convert_options'], 4);
        echo "<tr class=\"" . get_row_bg() . "\">\n<td colspan=\"2\"><p class=\"rowtitle\">" . $lang['convert_thumbnail_dimension'] . "</p></td>\n";
        echo "<td colspan=\"2\"><p><input type=\"text\" size=\"" . $textinput_size . "\" name=\"dimension\" value=\"" . $config['auto_thumbnail_dimension'] . "\"></p></td>\n</tr>\n";
        echo "<tr class=\"" . get_row_bg() . "\">\n<td colspan=\"2\" valign=\"top\"><p class=\"rowtitle\">" . $lang['resize_proportions_desc'] . "</p></td>\n";
        echo "<td colspan=\"2\"><p>";
        echo "<input type=\"radio\" name=\"resize_type\" value=\"1\" checked=\"checked\"> " . $lang['resize_proportionally'] . "<br />";
        echo "<input type=\"radio\" name=\"resize_type\" value=\"2\"> " . $lang['resize_fixed_width'] . "<br />";
        echo "<input type=\"radio\" name=\"resize_type\" value=\"3\"> " . $lang['resize_fixed_height'] . "<br />";
        echo "</p></td>\n</tr>\n";
        echo "<tr class=\"" . get_row_bg() . "\">\n<td colspan=\"2\"><p class=\"rowtitle\">" . $lang['convert_thumbnail_quality'] . "</p></td>\n";
        echo "<td colspan=\"2\"><p><input type=\"text\" size=\"" . $textinput_size . "\" name=\"quality\" value=\"" . $config['auto_thumbnail_quality'] . "\"></p></td>\n</tr>\n";
        show_form_footer($lang['create_thumbnails'], "", 4);
    }
}
show_admin_footer();
开发者ID:4images,项目名称:4images,代码行数:31,代码来源:thumbnailer.php

示例15: printf

if ($action == "modifytemplates") {
    if ($msg != "") {
        printf("<p><b>%s</b></p>\n", $msg);
    }
    show_table_header($lang['edit_templates'], 2);
    show_theme_select_row($lang['choose_theme']);
    if ($themes_found) {
        show_template_select_row($lang['choose_template'], $template_folder);
    }
    show_table_footer();
    if (!isset($content)) {
        $content = "";
    }
    show_form_header("templates.php", "savetemplate");
    show_table_header($lang['edit_template'] . ": " . $template_file_name, 1);
    echo "<tr class=\"tablerow\"><td>";
    ?>
  <style>
  .template_textarea {
    width: 100%;
  }
  </style>
  <?php 
    echo "<textarea name=\"content\" cols=\"60\" rows=\"30\" wrap=\"off\" class=\"template_textarea\">";
    echo htmlspecialchars($content);
    echo "</textarea>";
    show_hidden_input("template_file_name", $template_file_name);
    show_hidden_input("template_folder", $template_folder);
    show_form_footer($lang['save_changes'], "", 1);
}
show_admin_footer();
开发者ID:abhinay100,项目名称:fourimages_app,代码行数:31,代码来源:templates.php


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