function show_usergroup_row($group_id, $group_name, $start_date = "", $end_date = "", $i = 0) { global $HTTP_POST_VARS, $lang, $usergroup_match_array, $textinput_size2; $i = $i ? "_" . $i : ""; if (isset($HTTP_POST_VARS['user_groups' . $i][$group_id]) && $HTTP_POST_VARS['user_groups' . $i][$group_id] == 1) { $yes_checked = " checked=\"checked\""; $no_checked = ""; } elseif (!isset($HTTP_POST_VARS['user_groups' . $i][$group_id]) && isset($usergroup_match_array[$group_id])) { $yes_checked = " checked=\"checked\""; $no_checked = ""; } else { $yes_checked = ""; $no_checked = " checked=\"checked\""; } $bg_class = get_row_bg(); echo "<tr class=\"" . $bg_class . "\" valign=\"top\">\n"; echo "<td rowspan=\"2\">\n<p><b>" . $group_name . "</b></p></td>\n"; echo "<td>\n"; echo "<input type=\"radio\" name=\"user_groups" . $i . "[" . $group_id . "]\" value=\"1\"" . $yes_checked . "> <b>" . $lang['yes'] . "</b>\n"; echo "<input type=\"radio\" name=\"user_groups" . $i . "[" . $group_id . "]\" value=\"0\"" . $no_checked . "> <b>" . $lang['no'] . "</b>\n"; echo "</td></tr>\n"; echo "<tr class=\"" . $bg_class . "\" valign=\"top\">\n"; echo "<td>"; echo "<table border=\"0\">"; echo "<tr><td valign=\"top\"><b>" . $lang['activate_date'] . "</b></td><td rowspan=\"2\"> </td><td valign=\"top\"><b>" . $lang['expire_date'] . "</b></td></tr>"; echo "<tr><td valign=\"top\">"; if (isset($HTTP_POST_VARS['group_start_date' . $i][$group_id])) { $start_date = trim($HTTP_POST_VARS['group_start_date' . $i][$group_id]); } if (!check_admin_date($start_date)) { $start_date = date("Y-m-d H:i:s", time()); } $inputname = ""; echo "<input type=\"text\" name=\"group_start_date" . $i . "[" . $group_id . "]\" id=\"group_start_date" . $i . "_" . $group_id . "\" size=\"" . $textinput_size2 . "\" value=\"" . $start_date . "\">\n"; echo get_calendar_js("group_start_date" . $i . "_" . $group_id, $start_date); echo $lang['date_desc'] . $lang['date_format']; echo "</td><td valign=\"top\">"; if (isset($HTTP_POST_VARS['group_end_date' . $i][$group_id])) { $end_date = trim($HTTP_POST_VARS['group_end_date' . $i][$group_id]); } if (!check_admin_date($end_date) && $end_date != 0 || $end_date == "") { $end_date = 0; } echo "<input type=\"text\" name=\"group_end_date" . $i . "[" . $group_id . "]\" id=\"group_end_date" . $i . "_" . $group_id . "\"size=\"" . $textinput_size2 . "\" value=\"" . $end_date . "\">\n"; echo get_calendar_js("group_end_date" . $i . "_" . $group_id, $end_date); echo $lang['expire_date_desc'] . $lang['date_format']; echo "</td></tr></table>"; echo "</td></tr>\n"; }
function show_access_select($title = "", $type, $status) { global $access_array, $HTTP_POST_VARS; if (isset($HTTP_POST_VARS[$type])) { $status = $HTTP_POST_VARS[$type]; } echo "<tr class=\"" . get_row_bg() . "\" valign=\"top\">\n<td><p class=\"rowtitle\">" . $title . "</p></td>\n"; echo "<td>\n<select name=\"" . $type . "\">\n"; foreach ($access_array as $key => $val) { echo "<option value=\"" . $key . "\""; if ($status == $key) { echo " selected=\"selected\""; } echo ">" . $val . "</option>\n"; } echo "</select>\n</td>\n</tr>\n"; }
} else { $title = $lang['field_category']; } echo "<tr class=\"" . get_row_bg() . "\">\n<td><p class=\"rowtitle\">" . $title . "</p></td>\n<td>" . get_category_dropdown($cat_id, 0, 3, $i) . "</td>\n</tr>\n"; show_user_select_row($lang['user'], $user_id, $i); if (is_array($iptc) && $iptc_date) { $date = isset($iptc['2#055'][0]) ? preg_replace("/([0-9]{4})([0-9]{2})([0-9]{2})/", "\\1-\\2-\\3", $iptc['2#055'][0]) : $date; } $title = $lang['field_date'] . $lang['date_desc'] . $lang['date_format'] . (isset($file_src) ? get_iptc_insert_link($file_src, "date_created", "image_date_" . $i, 0) : ""); show_input_row($title, "image_date_" . $i, $date, $textinput_size); show_hidden_input("old_cat_id_" . $i, $cat_id); show_radio_row($lang['field_free'], "image_active_" . $i, 1); show_radio_row($lang['field_allow_comments'], "image_allow_comments_" . $i, 1); show_additional_fields("image", array(), IMAGES_TABLE, $i); } else { echo "<tr class=" . get_row_bg() . ">\n"; echo "<td><input type=\"checkbox\" name=\"addimage_" . $i . "\" value=\"1\"{$checked}></td>\n"; $link = "<a href=\"" . MEDIA_PATH . $cat_path . "/" . $file . "\" target=\"_blank\">" . $file . "</a>"; show_hidden_input("image_media_file_" . $i, $file); if ($thumb_file) { $file_src = THUMB_PATH . $cat_path . "/" . $thumb_file; $img_info = @getimagesize($file_src); $width = 48; $height = 48; $dim = $width; if ($img_info[0] > 0 && $img_info[1] > 0) { if ($img_info[0] > $width || $img_info[1] > $height) { $ratio = $img_info[0] / $img_info[1]; if ($ratio > 1) { $width = $dim; $height = floor($dim / $img_info[0] * $img_info[1]);
function show_theme_select_row($title) { global $template_file_name, $template_folder, $themes_found, $lang; echo "<tr class=\"" . get_row_bg() . "\" width=\"30%\">\n<td><p class=\"rowtitle\">{$title}</p></td>\n<td width=\"70%\">\n"; $folder_list = array(); $handle = @opendir(ROOT_PATH . TEMPLATE_DIR); while ($folder = @readdir($handle)) { if (@is_dir(ROOT_PATH . TEMPLATE_DIR . "/" . $folder) && $folder != "." && $folder != "..") { $folder_list[] = $folder; } } $themes_found = 1; if (empty($folder_list)) { echo $lang['no_themes']; $themes_found = 0; } else { sort($folder_list); echo "<table border=\"0\">\n<tr><form method=\"post\" action=\"./templates.php\">\n<td>\n"; echo "<select name=\"template_folder\">\n"; for ($i = 0; $i < sizeof($folder_list); $i++) { echo "<option value=\"" . $folder_list[$i] . "\""; if ($template_folder == $folder_list[$i]) { echo " selected=\"selected\""; } echo ">" . $folder_list[$i] . "</option>\n"; } echo "</select>\n</td>\n<td>\n<input type=\"submit\" value=\"" . $lang['load_theme'] . "\" class=\"button\">\n"; echo "</td>\n</form>\n</tr>\n</table>\n"; } echo "</td>\n</tr>\n"; }
$sql = "SELECT SUM(image_downloads) AS sum\n FROM " . IMAGES_TABLE; $row = $site_db->query_firstrow($sql); $sum = isset($row['sum']) ? $row['sum'] : 0; show_table_separator($lang['top_image_downloads'] . " (" . $lang['homestats_total'] . " " . $sum . ")", 4); $sql = "SELECT image_id, image_name, image_downloads\n FROM " . IMAGES_TABLE . "\n ORDER BY image_downloads DESC\n LIMIT {$stats_limit}"; $result = $site_db->query($sql); $num = 1; while ($row = $site_db->fetch_array($result)) { if ($num == 1) { $max = $row['image_downloads']; if ($max == 0) { $max = 1; } } echo "<tr class=\"" . get_row_bg() . "\">\n"; echo "<td> " . $num . ".</td>\n<td nowrap=\"nowrap\"><b><a href=\"" . $site_sess->url(ROOT_PATH . "details.php?" . URL_IMAGE_ID . "=" . $row['image_id']) . "\" target=\"_blank\">" . format_text($row['image_name'], 2) . "</a></b></td>\n\n"; $per = intval($row['image_downloads'] / $max * 100); echo "<td width=\"100%\">\n"; echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"1\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"; echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"" . $per . "%\"><tr>\n"; echo "<td bgcolor=\"#FCDC43\"><img src=\"images/spacer.gif\" height=\"10\" width=\"2\"></td>\n"; echo "</tr></table></td></tr></table>\n</td>"; echo "<td align=\"center\">" . $row['image_downloads'] . "</td></tr>\n"; $num++; } if ($num == 1) { echo "<tr class=\"" . get_row_bg() . "\">\n<td colspan=\"4\">" . $lang['no_search_results'] . "</td></tr>"; } show_table_footer(); } show_admin_footer();
echo "<td bgcolor=\"black\" width=\"10\" height=\"10\"> </td><td> - Warnings</td></tr></table><br>"; echo "<table class=\"tableheader\" cellspacing=\"1\" cellpadding=\"0\"><tr><td>"; echo "<table bgcolor=\"white\" cellspacing=\"1\" cellpadding=\"3\"><tr align=\"center\"><td class=\"tableheader\"> </td>\n"; echo "<td class=\"tableseparator\"><input name=\"allbox\" type=\"checkbox\" onClick=\"CheckAll();\" /></td>\n"; echo "<td class=\"tableheader\">Image name</td><td class=\"tableheader\">ID</td>"; echo "<td class=\"tableheader\">Category</td><td class=\"tableheader\">User Name</td><td class=\"tableheader\">Date</td><td class=\"tableheader\">Image file</td><td class=\"tableheader\">Ext.</td>" . ($thumbs ? "<td class=\"tableheader\">Thumb file</td><td class=\"tableheader\">Ext.</td>" : "") . "<td class=\"tableheader\">Action</td></tr>\n"; $i = 1; foreach ($log as $key) { $error = explode(",", $key); $sql = "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_media_file, i.image_thumb_file, i.image_date" . get_user_table_field(", u.", "user_name") . "\n FROM " . IMAGES_TABLE . " i, " . USERS_TABLE . " u\n WHERE image_id = " . $error[0] . " AND " . get_user_table_field("u.", "user_id") . " = i.user_id\n LIMIT 1"; $image_row = $site_db->query_firstrow($sql); $ok_show = ok($error[1]); $ok_t_show = ok($error[2]); $where = where($error[3]); $where_t = where($error[4]); echo "<tr align=\"center\" class=\"" . get_row_bg() . "\"><td>{$i}</td>"; echo "<td><input type=\"checkbox\" name=\"selectimages[]\" value=\"" . $image_row['image_id'] . "\" /></td>"; echo "<td align=\"left\">"; $thumb = "<img src=\"" . (empty($image_row['image_thumb_file']) ? ICON_PATH . "/" . get_file_extension($image_row['image_media_file']) . ".gif" : (is_remote($image_row['image_thumb_file']) ? remote_file_exists($image_row['image_thumb_file'], 1) ? $image_row['image_thumb_file'] : ICON_PATH . "/404.gif" : (file_exists(ROOT_PATH . THUMB_DIR . "/" . $image_row['cat_id'] . "/" . $image_row['image_thumb_file']) ? ROOT_PATH . THUMB_DIR . "/" . $image_row['cat_id'] . "/" . $image_row['image_thumb_file'] : ICON_PATH . "/404.gif"))) . "\" width=\"40\" height=\"40\" border=\"1\" alt=\"\" /><b> " . $image_row['image_name'] . "</b>"; echo "<a href=\"../images.php?action=editimage&image_id=" . $image_row['image_id'] . "\" target=\"4images_editimage\">" . $thumb . "</a>"; echo "</td><td>" . $image_row['image_id'] . "</td>"; echo "<td><a href=\"" . $site_sess->url(ROOT_PATH . "categories.php?" . URL_CAT_ID . "=" . $image_row['cat_id']) . "\" target=\"_blank\">" . htmlspecialchars($cat_cache[$image_row['cat_id']]['cat_name']) . " [ID: <b>" . $image_row['cat_id'] . "</b>]</a></td>\n"; $show_user_name = htmlspecialchars($image_row[$user_table_fields['user_name']]); if ($image_row['user_id'] != GUEST && empty($url_show_profile)) { $show_user_name = "<a href=\"" . $site_sess->url(ROOT_PATH . "member.php?action=showprofile&" . URL_USER_ID . "=" . $image_row['user_id']) . "\" target=\"_blank\">{$show_user_name}</a>"; } echo "<td>" . $show_user_name . "</a></td>\n"; echo "<td>" . format_date($config['date_format'], $image_row['image_date']) . "</td>\n"; echo "<td><font color={$where}>{$ok_show}</font></td><td>" . substr(strrchr($image_row['image_media_file'], "."), 1) . "</td>" . ($thumbs ? "<td><font color={$where_t}>{$ok_t_show}</font></td><td>" . substr(strrchr($image_row['image_thumb_file'], "."), 1) . "</td>" : "") . "<td> "; show_text_link("View", "../../details.php?" . URL_IMAGE_ID . "=" . $image_row['image_id'], 1); show_text_link($lang['edit'], "../images.php?action=editimage&image_id=" . $image_row['image_id'], 1);
function show_setting_row($setting_name, $value_option = "", $htmlspecialchars = 0) { global $config, $setting; $config_value = $config[$setting_name]; $config_value = $htmlspecialchars ? htmlspecialchars($config[$setting_name]) : $config[$setting_name]; $setting[$setting_name] = replace_url($setting[$setting_name]); if ($value_option == "") { show_input_row($setting[$setting_name], "setting_item[" . $setting_name . "]", $config_value); } elseif ($value_option == "textarea") { show_textarea_row($setting[$setting_name], "setting_item[" . $setting_name . "]", $config_value, "", 6); } elseif ($value_option == "radio") { show_radio_row($setting[$setting_name], "setting_item[" . $setting_name . "]", $config_value); } else { echo "<tr class=\"" . get_row_bg() . "\">\n<td valign=\"top\"><p class=\"rowtitle\">" . $setting[$setting_name] . "</p></td>\n"; echo "<td><p>"; $value_option($setting_name, $config_value); echo "</p></td>\n</tr>\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>"; $file_size = format_file_size(@filesize(ROOT_PATH . DATABASE_DIR . "/" . $file)); echo "<td>" . $file_size . "</td>"; echo "<td>"; echo "<a href=\"javascript:RestoreBackup('" . $file . "')\">[" . $lang['restore_backup'] . "]</a> "; echo "<a href=\"javascript:DeleteBackup('" . $file . "')\">[" . $lang['delete_backup'] . "]</a> "; show_text_link($lang['download_backup'], "backup.php?action=downloadbackup&file={$file}"); show_text_link($lang['show_backup'], "backup.php?action=showbackup&file={$file}"); echo "</td></tr>"; } } else { show_description_row($lang['no_backups'], 4); } show_table_footer();
echo $lang['found'] . " <b>" . $countcomments['comments'] . "</b> " . $lang['showing'] . " <b>{$start}</b>-"; if ($limitfinish > $countcomments['comments'] == 0) { echo "<b>{$limitfinish}</b>."; } else { echo "<b>" . $countcomments['comments'] . "</b>."; } show_form_header("comments.php", "removecomment", "form"); echo "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\" align=\"center\"><tr><td class=\"tableborder\">\n<table cellpadding=\"3\" cellspacing=\"1\" border=\"0\" width=\"100%\">\n"; if ($countcomments['comments'] > 0) { $sql = "SELECT c.comment_id, c.image_id, c.user_id, c.user_name, c.comment_headline, c.comment_text, c.comment_date, i.image_name\n FROM (" . COMMENTS_TABLE . " c, " . IMAGES_TABLE . " i)\n WHERE {$condition} AND c.image_id = i.image_id\n ORDER BY {$orderby} {$direction}\n LIMIT {$limitstart}, {$limitnumber}"; $result = $site_db->query($sql); echo "<tr class=\"tableseparator\">\n"; echo "<td class=\"tableseparator\"><input name=\"allbox\" type=\"checkbox\" onClick=\"CheckAll();\" /></td>\n"; echo "<td class=\"tableseparator\">" . $lang['field_comment'] . "</td>\n<td class=\"tableseparator\">" . $lang['field_username'] . "</td>\n<td class=\"tableseparator\">" . $lang['image'] . "</td>\n<td class=\"tableseparator\">" . $lang['field_date'] . "</td>\n<td class=\"tableseparator\">" . $lang['options'] . "</td>\n</tr>\n"; while ($comment_row = $site_db->fetch_array($result)) { echo "<tr class=\"" . get_row_bg() . "\">"; echo "<td><input type=\"checkbox\" name=\"deletecomments[]\" value=\"" . $comment_row['comment_id'] . "\" /></td>"; $show_comment = "<b>" . format_text($comment_row['comment_headline']) . "</b><br />"; if (strlen($comment_row['comment_text']) > 75) { $comment_row['comment_text'] = substr($comment_row['comment_text'], 0, 75) . "..."; } $show_comment .= format_text($comment_row['comment_text']); echo "<td>" . $show_comment . "</td>\n"; $show_user_name = format_text($comment_row['user_name'], 2); if ($comment_row['user_id'] != GUEST && empty($url_show_profile)) { $show_user_name = "<a href=\"" . $site_sess->url(ROOT_PATH . "member.php?action=showprofile&" . URL_USER_ID . "=" . $comment_row['user_id']) . "\" target=\"_blank\">{$show_user_name}</a>"; } 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";
while ($image_row = $site_db->fetch_array($result)) { if (!empty($image_row[$sql_image_type]) && file_exists($path . "/" . $image_row['cat_id'] . "/" . $image_row[$sql_image_type])) { if (!($image_info = getimagesize($path . "/" . $image_row['cat_id'] . "/" . $image_row[$sql_image_type]))) { continue; } if ($image_info[2] == 1 || $image_info[2] == 2 || $image_info[2] == 3) { $ok = 0; if ($resize_type == 1 && ($image_info[0] > $dimension || $image_info[1] > $height)) { $ok = 1; } elseif ($resize_type == 2 && $image_info[0] > $dimension) { $ok = 1; } elseif ($resize_type == 3 && $image_info[1] > $height) { $ok = 1; } if ($ok) { $imgs .= "<tr class=\"" . get_row_bg() . "\">"; $imgs .= "<td><input type=\"checkbox\" name=\"image_list[" . $image_row['image_id'] . "]\" value=\"1\" checked=\"checked\"></td>\n"; $imgs .= "<td><b>" . $image_row[$sql_image_type] . "</b></td>\n"; $imgs .= "<td>" . $image_info[0] . "x" . $image_info[1] . "</td>"; $width_height = get_width_height($dimension, $image_info[0], $image_info[1], $resize_type, $height); $imgs .= "<td>" . $width_height['width'] . "x" . $width_height['height'] . "</td>"; $imgs .= "<td>" . $quality . "</td>"; $imgs .= "</tr>\n"; $imgs .= "<input type=\"hidden\" name=\"image_dimensions[" . $image_row['image_id'] . "]\" value=\"" . $image_info[0] . "x" . $image_info[1] . "\">"; $image_counter++; } } } if ($image_counter == $num_newimages) { break; }
function show_userlevel_select_row($title, $name = "user_level", $userlevel = "") { global $lang, $error, $HTTP_POST_VARS; if (isset($error[$name])) { $title = sprintf("<span class=\"marktext\">%s *</span>", $title); } if (isset($HTTP_POST_VARS[$name])) { $userlevel = stripslashes($HTTP_POST_VARS[$name]); } echo "<tr class=\"" . get_row_bg() . "\">\n<td><p class=\"rowtitle\">" . $title . "</p></td>\n<td>\n"; echo "<select name=" . $name . ">\n"; echo "<option value=\"" . GUEST . "\""; if ($userlevel == GUEST || $userlevel == "") { echo " selected=\"selected\""; } echo ">--</option>\n"; echo "<option value=\"" . ADMIN . "\""; if ($userlevel == ADMIN && $userlevel != "") { echo " selected=\"selected\""; } echo ">" . $lang['userlevel_admin'] . "</option>\n"; echo "<option value=\"" . USER . "\""; if ($userlevel == USER && $userlevel != "") { echo " selected=\"selected\""; } echo ">" . $lang['userlevel_registered'] . "</option>\n"; echo "<option value=\"" . USER_AWAITING . "\""; if ($userlevel == USER_AWAITING && $userlevel != "") { echo " selected=\"selected\""; } echo ">" . $lang['userlevel_registered_awaiting'] . "</option>\n"; echo "</select>\n</td>\n</tr>\n"; }
} 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();