2017-05-04 11:22:23 +00:00
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
function print_select($id, $default, $values, $attributes = "", $name = "") {
|
|
|
|
|
if (!$name) $name = $id;
|
|
|
|
|
|
|
|
|
|
print "<select name=\"$name\" id=\"$id\" $attributes>";
|
|
|
|
|
foreach ($values as $v) {
|
|
|
|
|
if ($v == $default)
|
|
|
|
|
$sel = "selected=\"1\"";
|
|
|
|
|
else
|
|
|
|
|
$sel = "";
|
|
|
|
|
|
|
|
|
|
$v = trim($v);
|
|
|
|
|
|
|
|
|
|
print "<option value=\"$v\" $sel>$v</option>";
|
|
|
|
|
}
|
|
|
|
|
print "</select>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function print_select_hash($id, $default, $values, $attributes = "", $name = "") {
|
|
|
|
|
if (!$name) $name = $id;
|
|
|
|
|
|
|
|
|
|
print "<select name=\"$name\" id='$id' $attributes>";
|
|
|
|
|
foreach (array_keys($values) as $v) {
|
|
|
|
|
if ($v == $default)
|
|
|
|
|
$sel = 'selected="selected"';
|
|
|
|
|
else
|
|
|
|
|
$sel = "";
|
|
|
|
|
|
|
|
|
|
$v = trim($v);
|
|
|
|
|
|
|
|
|
|
print "<option $sel value=\"$v\">".$values[$v]."</option>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
print "</select>";
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-12 11:31:36 +00:00
|
|
|
|
function format_hidden($name, $value) {
|
|
|
|
|
return "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"$name\" value=\"$value\">";
|
|
|
|
|
}
|
|
|
|
|
|
2017-05-04 11:22:23 +00:00
|
|
|
|
function print_hidden($name, $value) {
|
2021-02-12 11:31:36 +00:00
|
|
|
|
print format_hidden($name, $value);
|
2017-05-04 11:22:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-02-12 11:31:36 +00:00
|
|
|
|
function format_checkbox($id, $checked, $value = "", $attributes = "") {
|
2017-05-04 11:22:23 +00:00
|
|
|
|
$checked_str = $checked ? "checked" : "";
|
|
|
|
|
$value_str = $value ? "value=\"$value\"" : "";
|
|
|
|
|
|
2021-02-12 11:31:36 +00:00
|
|
|
|
return "<input dojoType=\"dijit.form.CheckBox\" id=\"$id\" $value_str $checked_str $attributes name=\"$id\">";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function print_checkbox($id, $checked, $value = "", $attributes = "") {
|
|
|
|
|
print format_checkbox($id, $checked, $value, $attributes);
|
2017-05-04 11:22:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function print_button($type, $value, $attributes = "") {
|
|
|
|
|
print "<p><button dojoType=\"dijit.form.Button\" $attributes type=\"$type\">$value</button>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function print_radio($id, $default, $true_is, $values, $attributes = "") {
|
|
|
|
|
foreach ($values as $v) {
|
|
|
|
|
|
|
|
|
|
if ($v == $default)
|
|
|
|
|
$sel = "checked";
|
|
|
|
|
else
|
|
|
|
|
$sel = "";
|
|
|
|
|
|
|
|
|
|
if ($v == $true_is) {
|
|
|
|
|
$sel .= " value=\"1\"";
|
|
|
|
|
} else {
|
|
|
|
|
$sel .= " value=\"0\"";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
print "<input class=\"noborder\" dojoType=\"dijit.form.RadioButton\"
|
|
|
|
|
type=\"radio\" $sel $attributes name=\"$id\"> $v ";
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-07-02 17:37:52 +00:00
|
|
|
|
function print_feed_multi_select($id, $default_ids = [],
|
2018-01-30 07:44:31 +00:00
|
|
|
|
$attributes = "", $include_all_feeds = true,
|
|
|
|
|
$root_id = null, $nest_level = 0) {
|
2017-12-01 12:10:05 +00:00
|
|
|
|
|
2020-09-17 06:18:03 +00:00
|
|
|
|
$pdo = Db::pdo();
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
print_r(in_array("CAT:6",$default_ids));
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
if (!$root_id) {
|
|
|
|
|
print "<select multiple=\true\" id=\"$id\" name=\"$id\" $attributes>";
|
|
|
|
|
if ($include_all_feeds) {
|
|
|
|
|
$is_selected = (in_array("0", $default_ids)) ? "selected=\"1\"" : "";
|
|
|
|
|
print "<option $is_selected value=\"0\">".__('All feeds')."</option>";
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
if (get_pref('ENABLE_FEED_CATS')) {
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
if (!$root_id) $root_id = null;
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
$sth = $pdo->prepare("SELECT id,title,
|
2017-07-02 17:37:52 +00:00
|
|
|
|
(SELECT COUNT(id) FROM ttrss_feed_categories AS c2 WHERE
|
|
|
|
|
c2.parent_cat = ttrss_feed_categories.id) AS num_children
|
|
|
|
|
FROM ttrss_feed_categories
|
2018-06-20 15:17:44 +00:00
|
|
|
|
WHERE owner_uid = :uid AND
|
2017-12-01 16:42:02 +00:00
|
|
|
|
(parent_cat = :root_id OR (:root_id IS NULL AND parent_cat IS NULL)) ORDER BY title");
|
2017-12-01 12:10:05 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
$sth->execute([":uid" => $_SESSION['uid'], ":root_id" => $root_id]);
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
while ($line = $sth->fetch()) {
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
for ($i = 0; $i < $nest_level; $i++)
|
2021-02-10 05:58:31 +00:00
|
|
|
|
$line["title"] = " " . $line["title"];
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
$is_selected = in_array("CAT:".$line["id"], $default_ids) ? "selected=\"1\"" : "";
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
printf("<option $is_selected value='CAT:%d'>%s</option>",
|
|
|
|
|
$line["id"], htmlspecialchars($line["title"]));
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
if ($line["num_children"] > 0)
|
|
|
|
|
print_feed_multi_select($id, $default_ids, $attributes,
|
|
|
|
|
$include_all_feeds, $line["id"], $nest_level+1);
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
$f_sth = $pdo->prepare("SELECT id,title FROM ttrss_feeds
|
2017-12-01 12:10:05 +00:00
|
|
|
|
WHERE cat_id = ? AND owner_uid = ? ORDER BY title");
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
$f_sth->execute([$line['id'], $_SESSION['uid']]);
|
2017-12-01 12:10:05 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
while ($fline = $f_sth->fetch()) {
|
|
|
|
|
$is_selected = (in_array($fline["id"], $default_ids)) ? "selected=\"1\"" : "";
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2021-02-10 05:58:31 +00:00
|
|
|
|
$fline["title"] = " " . $fline["title"];
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
for ($i = 0; $i < $nest_level; $i++)
|
2021-02-10 05:58:31 +00:00
|
|
|
|
$fline["title"] = " " . $fline["title"];
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
printf("<option $is_selected value='%d'>%s</option>",
|
|
|
|
|
$fline["id"], htmlspecialchars($fline["title"]));
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
if (!$root_id) {
|
|
|
|
|
$is_selected = in_array("CAT:0", $default_ids) ? "selected=\"1\"" : "";
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
printf("<option $is_selected value='CAT:0'>%s</option>",
|
|
|
|
|
__("Uncategorized"));
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
$f_sth = $pdo->prepare("SELECT id,title FROM ttrss_feeds
|
2017-12-01 12:10:05 +00:00
|
|
|
|
WHERE cat_id IS NULL AND owner_uid = ? ORDER BY title");
|
2018-01-30 07:44:31 +00:00
|
|
|
|
$f_sth->execute([$_SESSION['uid']]);
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
while ($fline = $f_sth->fetch()) {
|
|
|
|
|
$is_selected = in_array($fline["id"], $default_ids) ? "selected=\"1\"" : "";
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2021-02-10 05:58:31 +00:00
|
|
|
|
$fline["title"] = " " . $fline["title"];
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
for ($i = 0; $i < $nest_level; $i++)
|
2021-02-10 05:58:31 +00:00
|
|
|
|
$fline["title"] = " " . $fline["title"];
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
printf("<option $is_selected value='%d'>%s</option>",
|
|
|
|
|
$fline["id"], htmlspecialchars($fline["title"]));
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
} else {
|
|
|
|
|
$sth = $pdo->prepare("SELECT id,title FROM ttrss_feeds
|
2017-12-01 12:10:05 +00:00
|
|
|
|
WHERE owner_uid = ? ORDER BY title");
|
2018-01-30 07:44:31 +00:00
|
|
|
|
$sth->execute([$_SESSION['uid']]);
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
while ($line = $sth->fetch()) {
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
$is_selected = (in_array($line["id"], $default_ids)) ? "selected=\"1\"" : "";
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
printf("<option $is_selected value='%d'>%s</option>",
|
|
|
|
|
$line["id"], htmlspecialchars($line["title"]));
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-07-02 17:37:52 +00:00
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
if (!$root_id) {
|
|
|
|
|
print "</select>";
|
|
|
|
|
}
|
2017-07-02 17:37:52 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-02-13 19:16:17 +00:00
|
|
|
|
function print_feed_cat_select($id, $default_id, $attributes, $include_all_cats = true,
|
|
|
|
|
$root_id = null, $nest_level = 0) {
|
|
|
|
|
|
|
|
|
|
print format_feed_cat_select($id, $default_id, $attributes, $include_all_cats, $root_id, $nest_level);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function format_feed_cat_select($id, $default_id, $attributes, $include_all_cats = true,
|
|
|
|
|
$root_id = null, $nest_level = 0) {
|
|
|
|
|
|
|
|
|
|
$ret = "";
|
2017-05-04 11:22:23 +00:00
|
|
|
|
|
|
|
|
|
if (!$root_id) {
|
2021-02-13 19:16:17 +00:00
|
|
|
|
$ret .= "<select id=\"$id\" name=\"$id\" default=\"$default_id\" $attributes>";
|
2017-05-04 11:22:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-09-17 06:18:03 +00:00
|
|
|
|
$pdo = Db::pdo();
|
2017-05-04 11:22:23 +00:00
|
|
|
|
|
2017-12-01 12:03:14 +00:00
|
|
|
|
if (!$root_id) $root_id = null;
|
2017-05-04 11:22:23 +00:00
|
|
|
|
|
2017-12-01 12:03:14 +00:00
|
|
|
|
$sth = $pdo->prepare("SELECT id,title,
|
2017-05-04 11:22:23 +00:00
|
|
|
|
(SELECT COUNT(id) FROM ttrss_feed_categories AS c2 WHERE
|
|
|
|
|
c2.parent_cat = ttrss_feed_categories.id) AS num_children
|
|
|
|
|
FROM ttrss_feed_categories
|
2018-06-20 15:17:44 +00:00
|
|
|
|
WHERE owner_uid = :uid AND
|
2017-12-01 16:42:02 +00:00
|
|
|
|
(parent_cat = :root_id OR (:root_id IS NULL AND parent_cat IS NULL)) ORDER BY title");
|
2017-12-01 12:03:14 +00:00
|
|
|
|
$sth->execute([":uid" => $_SESSION['uid'], ":root_id" => $root_id]);
|
2017-05-04 11:22:23 +00:00
|
|
|
|
|
2017-12-01 12:03:14 +00:00
|
|
|
|
$found = 0;
|
2017-05-04 11:22:23 +00:00
|
|
|
|
|
2017-12-01 12:03:14 +00:00
|
|
|
|
while ($line = $sth->fetch()) {
|
2018-01-30 07:44:31 +00:00
|
|
|
|
++$found;
|
2017-05-04 11:22:23 +00:00
|
|
|
|
|
|
|
|
|
if ($line["id"] == $default_id) {
|
|
|
|
|
$is_selected = "selected=\"1\"";
|
|
|
|
|
} else {
|
|
|
|
|
$is_selected = "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for ($i = 0; $i < $nest_level; $i++)
|
2021-02-10 05:58:31 +00:00
|
|
|
|
$line["title"] = " " . $line["title"];
|
2017-05-04 11:22:23 +00:00
|
|
|
|
|
|
|
|
|
if ($line["title"])
|
2021-02-13 19:16:17 +00:00
|
|
|
|
$ret .= sprintf("<option $is_selected value='%d'>%s</option>",
|
2017-05-04 11:22:23 +00:00
|
|
|
|
$line["id"], htmlspecialchars($line["title"]));
|
|
|
|
|
|
|
|
|
|
if ($line["num_children"] > 0)
|
2021-02-13 19:16:17 +00:00
|
|
|
|
$ret .= format_feed_cat_select($id, $default_id, $attributes,
|
2017-05-04 11:22:23 +00:00
|
|
|
|
$include_all_cats, $line["id"], $nest_level+1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!$root_id) {
|
|
|
|
|
if ($include_all_cats) {
|
2017-12-01 12:03:14 +00:00
|
|
|
|
if ($found > 0) {
|
2021-02-13 19:16:17 +00:00
|
|
|
|
$ret .= "<option disabled=\"1\">―――――――――――――――</option>";
|
2017-05-04 11:22:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ($default_id == 0) {
|
|
|
|
|
$is_selected = "selected=\"1\"";
|
|
|
|
|
} else {
|
|
|
|
|
$is_selected = "";
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-13 19:16:17 +00:00
|
|
|
|
$ret .= "<option $is_selected value=\"0\">".__('Uncategorized')."</option>";
|
2017-05-04 11:22:23 +00:00
|
|
|
|
}
|
2021-02-13 19:16:17 +00:00
|
|
|
|
$ret .= "</select>";
|
2017-05-04 11:22:23 +00:00
|
|
|
|
}
|
2021-02-13 19:16:17 +00:00
|
|
|
|
|
|
|
|
|
return $ret;
|
2017-05-04 11:22:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
2018-12-09 18:17:50 +00:00
|
|
|
|
function stylesheet_tag($filename, $id = false) {
|
2017-05-04 11:22:23 +00:00
|
|
|
|
$timestamp = filemtime($filename);
|
|
|
|
|
|
2018-12-09 18:17:50 +00:00
|
|
|
|
$id_part = $id ? "id=\"$id\"" : "";
|
|
|
|
|
|
2019-12-12 17:09:43 +00:00
|
|
|
|
return "<link rel=\"stylesheet\" $id_part type=\"text/css\" data-orig-href=\"$filename\" href=\"$filename?$timestamp\"/>\n";
|
2017-05-04 11:22:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function javascript_tag($filename) {
|
|
|
|
|
$query = "";
|
|
|
|
|
|
2020-09-17 16:02:27 +00:00
|
|
|
|
if (!(strpos($filename, "?") === false)) {
|
2017-05-04 11:22:23 +00:00
|
|
|
|
$query = substr($filename, strpos($filename, "?")+1);
|
|
|
|
|
$filename = substr($filename, 0, strpos($filename, "?"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$timestamp = filemtime($filename);
|
|
|
|
|
|
|
|
|
|
if ($query) $timestamp .= "&$query";
|
|
|
|
|
|
|
|
|
|
return "<script type=\"text/javascript\" charset=\"utf-8\" src=\"$filename?$timestamp\"></script>\n";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function format_warning($msg, $id = "") {
|
|
|
|
|
return "<div class=\"alert\" id=\"$id\">$msg</div>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function format_notice($msg, $id = "") {
|
|
|
|
|
return "<div class=\"alert alert-info\" id=\"$id\">$msg</div>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function format_error($msg, $id = "") {
|
|
|
|
|
return "<div class=\"alert alert-danger\" id=\"$id\">$msg</div>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function print_notice($msg) {
|
|
|
|
|
return print format_notice($msg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function print_warning($msg) {
|
|
|
|
|
return print format_warning($msg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function print_error($msg) {
|
|
|
|
|
return print format_error($msg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function format_inline_player($url, $ctype) {
|
|
|
|
|
|
|
|
|
|
$entry = "";
|
|
|
|
|
|
|
|
|
|
$url = htmlspecialchars($url);
|
|
|
|
|
|
|
|
|
|
if (strpos($ctype, "audio/") === 0) {
|
|
|
|
|
|
2018-12-07 20:20:19 +00:00
|
|
|
|
$entry .= "<div class='inline-player'>";
|
|
|
|
|
|
2017-05-04 11:22:23 +00:00
|
|
|
|
if ($_SESSION["hasAudio"] && (strpos($ctype, "ogg") !== false ||
|
|
|
|
|
$_SESSION["hasMp3"])) {
|
|
|
|
|
|
|
|
|
|
$entry .= "<audio preload=\"none\" controls>
|
|
|
|
|
<source type=\"$ctype\" src=\"$url\"/>
|
2018-12-07 20:20:19 +00:00
|
|
|
|
</audio> ";
|
2017-05-04 11:22:23 +00:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2018-12-07 20:20:19 +00:00
|
|
|
|
if ($entry) $entry .= "<a target=\"_blank\" rel=\"noopener noreferrer\"
|
2017-05-04 11:22:23 +00:00
|
|
|
|
href=\"$url\">" . basename($url) . "</a>";
|
|
|
|
|
|
2018-12-07 20:20:19 +00:00
|
|
|
|
$entry .= "</div>";
|
|
|
|
|
|
2017-05-04 11:22:23 +00:00
|
|
|
|
return $entry;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return "";
|
|
|
|
|
}
|
2017-05-04 11:26:44 +00:00
|
|
|
|
|
|
|
|
|
function print_label_select($name, $value, $attributes = "") {
|
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
$pdo = Db::pdo();
|
2017-12-01 12:10:05 +00:00
|
|
|
|
|
|
|
|
|
$sth = $pdo->prepare("SELECT caption FROM ttrss_labels2
|
|
|
|
|
WHERE owner_uid = ? ORDER BY caption");
|
|
|
|
|
$sth->execute([$_SESSION['uid']]);
|
2017-05-04 11:26:44 +00:00
|
|
|
|
|
|
|
|
|
print "<select default=\"$value\" name=\"" . htmlspecialchars($name) .
|
|
|
|
|
"\" $attributes>";
|
|
|
|
|
|
2017-12-01 12:10:05 +00:00
|
|
|
|
while ($line = $sth->fetch()) {
|
2017-05-04 11:26:44 +00:00
|
|
|
|
|
|
|
|
|
$issel = ($line["caption"] == $value) ? "selected=\"1\"" : "";
|
|
|
|
|
|
|
|
|
|
print "<option value=\"".htmlspecialchars($line["caption"])."\"
|
|
|
|
|
$issel>" . htmlspecialchars($line["caption"]) . "</option>";
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# print "<option value=\"ADD_LABEL\">" .__("Add label...") . "</option>";
|
|
|
|
|
|
|
|
|
|
print "</select>";
|
|
|
|
|
|
|
|
|
|
|
2018-01-30 07:44:31 +00:00
|
|
|
|
}
|