本文整理汇总了PHP中form_options函数的典型用法代码示例。如果您正苦于以下问题:PHP form_options函数的具体用法?PHP form_options怎么用?PHP form_options使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了form_options函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: form_select
function form_select($name, $arr, $checked = 0, $id = TRUE)
{
if (empty($arr)) {
return '';
}
$idadd = $id === TRUE ? "id=\"{$name}\"" : ($id ? "id=\"{$id}\"" : '');
$s = "<select name=\"{$name}\" {$idadd}> \r\n";
$s .= form_options($arr, $checked);
$s .= "</select> \r\n";
return $s;
}
开发者ID:xianyuxmu,项目名称:alinkagarden-xiuno,代码行数:11,代码来源:form.func.php
示例2: array
$para = 2;
}
$sql = "SELECT * FROM " . $cfg["db"]["entries"] . " WHERE " . $cfg["db"]["key"] . "='" . $environment["parameter"][$para] . "'";
$result = $db->query($sql);
$data = $db->fetch_array($result, $nop);
// bilder zum entfernen
$image_delete = array("extlink.gif", "schlagzeile.gif");
$form_fields = array("emailfrom", "emailto", "emailzusatz", "emailabsname");
if (count($HTTP_POST_VARS) == 0) {
#$form_values["emailfrom"] = "[email protected]";
#$form_values["emailto"] = "[email protected]";
} else {
$form_values = $HTTP_POST_VARS;
}
// form options holen
$form_options = form_options("1943315524.email");
// form elememte bauen
foreach ($form_fields as $key) {
$form_options[$key]["fsize"] > 0 ? $size = " size=\"" . $form_options[$key]["fsize"] . "\"" : ($size = "");
$form_options[$key]["fclass"] != "" ? $class = " class=\"" . $form_options[$key]["fclass"] . "\"" : ($class = " class=\"" . $form_defaults["class"]["textfield"] . "\"");
$form_options[$key]["fstyle"] != "" ? $style = " style=\"" . $form_options[$key]["fstyle"] . "\"" : ($style = "");
$form_values[$key] != "" ? $value = " value=\"" . $form_values[$key] . "\"" : ($value = "");
$element[$key] = "<input type=\"text\"" . $size . $class . $style . " name=\"" . $key . "\" " . $value . ">\n";
}
/*
( $form_options["emailfrom"]["fsize"] > 0 ) ? $size = " size=\"".$form_options["emailfrom"]["fsize"]."\"" : $size = "";
( $form_options["emailfrom"]["fclass"] != "" ) ? $class = " class=\"".$form_options["emailfrom"]["fclass"]."\"" : $class = " class=\"".$form_defaults["class"]["textfield"]."\"";
( $form_options["emailfrom"]["fstyle"] != "" ) ? $style = " style=\"".$form_options["emailfrom"]["fstyle"]."\"" : $style = "";
( $form_values["emailfrom"] != "" ) ? $value = " value=\"".$form_values["emailfrom"]."\"" : $value = "";
开发者ID:BackupTheBerlios,项目名称:ewebuki-svn,代码行数:30,代码来源:info-markt-email.inc.php
示例3: form_options
if (priv_check($cfg["bannered"]["basis"], $cfg["bannered"]["right"])) {
// page basics
// ***
// if ( count($_POST) == 0 ) {
// $sql = "SELECT *
// FROM ".$cfg["bannered"]["db"]["banner"]["entries"]."
// WHERE ".$cfg["bannered"]["db"]["banner"]["key"]."='".$environment["parameter"][1]."'";
// if ( $debugging["sql_enable"] ) $debugging["ausgabe"] .= "sql: ".$sql.$debugging["char"];
// $result = $db -> query($sql);
// $form_values = $db -> fetch_array($result,1);
// } else {
$form_values = $_POST;
// }
// form options holen
$form_options = form_options(eCRC($environment["ebene"]) . "." . $environment["kategorie"]);
$form_options = form_options("bannered-edit");
// form elememte bauen
$element = form_elements($cfg["bannered"]["db"]["banner"]["entries"], $form_values);
// form elemente erweitern
$element["extension1"] = "<input name=\"extension1\" type=\"text\" maxlength=\"5\" size=\"5\">";
$element["extension2"] = "<input name=\"extension2\" type=\"text\" maxlength=\"5\" size=\"5\">";
// +++
// page basics
// funktions bereich fuer erweiterungen
// ***
// kategorien
if (is_array($cfg["bannered"]["kategorien"])) {
foreach ($cfg["bannered"]["kategorien"] as $key => $value) {
$sel = "";
if (is_array($form_values["kat"])) {
if (in_array($key, $form_values["kat"])) {
开发者ID:BackupTheBerlios,项目名称:ewebuki-bvv-svn,代码行数:31,代码来源:bannered-add.inc.php
示例4: array_map
<option value="">-- ALL --</option>
<?php
$groups = array_map('trim', file(FILE_GROUPS));
echo form_options($groups);
?>
</select>
</span>
</div>
<div class="field hideable trade">
<label>Trade:</label>
<span>
<select name="trade">
<?php
$trades = dir_read_files(DIR_TRADES);
echo form_options($trades);
?>
</select>
</span>
</div>
<div class="field">
<label>Link Identifier:</label>
<span>
<input type="text" name="link" value="" size="20"/> <span class="fsize-8pt">(leave blank for none)</span>
</span>
</div>
</fieldset>
开发者ID:hackingman,项目名称:TradeX,代码行数:29,代码来源:link-generate.php
示例5: count
Lerchenstr. 11c
86343 K�nigsbrunn
URL: http://www.chaos.de
*/
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
if ($rechte[$cfg["kontakt"]["right"]] == "" || $rechte[$cfg["kontakt"]["right"]] == -1) {
// page basics
// ***
#if ( count($HTTP_POST_VARS) == 0 ) {
#} else {
$form_values = $HTTP_POST_VARS;
#}
// form options holen
$form_options = form_options(eCRC($environment["ebene"]) . "." . $environment["kategorie"]);
// form elememte bauen
$element = form_elements($cfg["kontakt"]["db"]["entries"], $form_values);
$hidedata["form"] = array();
// +++
// page basics
// funktions bereich fuer erweiterungen
// ***
if (is_array($cfg["kontakt"]["captcha"])) {
// zufaellige zeichen erzeugen
$captcha_text = captcha_randomize($cfg["kontakt"]["captcha"]["length"], $cfg["kontakt"]["captcha"]);
// bild erzeugen
captcha_create($captcha_text, $cfg["kontakt"]["captcha"]);
// captcha-info erzeugen
$captcha_crc = crc32($captcha_text . $cfg["kontakt"]["captcha"]["randomize"]);
$captcha_name = "captcha-" . $captcha_crc . ".png";
开发者ID:BackupTheBerlios,项目名称:ewebuki-svn,代码行数:31,代码来源:kontakt.inc.php
示例6: form_options
<b style="margin-left: 15px;">Owner:</b>
<select name="owner">
<option value="">-- ALL --</option>
<?php
if (!empty($values['owners'])) {
echo form_options($values['owners'], $_REQUEST['owner']);
}
?>
</select>
<b style="margin-left: 15px;">Category:</b>
<select name="category">
<option value="">-- ALL --</option>
<?php
if (!empty($values['categories'])) {
echo form_options($values['categories'], $_REQUEST['category']);
}
?>
</select>
<input type="submit" value="Submit" style="margin-left: 15px;">
<input type="hidden" name="r" value="_xNetworkStatsShow">
</form>
</div>
<!-- SEARCH OPTIONS END -->
<!-- NETWORK STATS START -->
<table id="network-stats" class="item-table no-wrap" border="0" cellspacing="0" cellpadding="4" align="center" style="min-width: 1000px;">
<?php
开发者ID:hackingman,项目名称:TradeX,代码行数:31,代码来源:network-stats.php
示例7: form_options
c/o Werner Ammon
Lerchenstr. 11c
86343 Königsbrunn
URL: http://www.chaos.de
*/
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// suchmaske anzeigen
//
if ($environment[kategorie] == "mask") {
$position = $environment["parameter"][1] + 0;
$form_values = $HTTP_POST_VARS;
// form options holen
$form_options = form_options(crc32($environment[ebene]) . "." . $environment[kategorie]);
// form elememte bauen
$element = form_elements($cfg["db"]["entries"], $HTTP_POST_VARS);
// dropdown amtsbezeichnung aus db erstellen (wach 0304)
// ***
$sql = "SELECT abamtbez_id, abamtbezkurz FROM db_adrb_amtbez ORDER by abamtbez_sort";
$result = $db->query($sql);
$formularobject[1] = "<select class=\"" . $form_defaults["class"]["dropdown"] . "\" name=\"abamtbez\">\n";
$formularobject[1] .= "<option value=\"\">Bitte auswählen</option>\n";
while ($field = $db->fetch_row($result, $nop)) {
$formularobject[1] .= "<option value=\"" . $field[0] . "\"" . $selected . ">" . $field[1] . "</option>\n";
}
$formularobject[1] .= "</select>\n";
// +++
// dropdown amtsbezeichnung aus db erstellen
// dropdown dienstposten aus db erstellen (wach 0404)
开发者ID:BackupTheBerlios,项目名称:ewebuki-svn,代码行数:31,代码来源:beschaeftigte-mask.inc.php
示例8: WHERE
}
if ( $environment["parameter"][2] == "search" ) {
if ( $HTTP_POST_VARS["search"] != "" ) {
$search_value = $HTTP_POST_VARS["search"];
} else {
$search_value = $environment["parameter"][3];
}
$parameter = ",search,".$search_value;
$where = " WHERE (abnamra LIKE '%".$search_value."%' OR abnamvor LIKE '%".$search_value."%')";
}
*/
$form_values = $HTTP_POST_VARS;
// form options holen
#$form_options = form_options(crc32($environment[ebene]).".".$environment[kategorie]);
$form_options = form_options("1943315524.list");
// form elememte bauen
$element = form_elements($cfg["db"]["entries"], $HTTP_POST_VARS);
// form elememt itext umbauen
$form_fields = array("itext");
foreach ($form_fields as $key) {
$form_options[$key]["fsize"] > 0 ? $size = " size=\"" . $form_options[$key]["fsize"] . "\"" : ($size = "");
$form_options[$key]["fclass"] != "" ? $class = " class=\"" . $form_options[$key]["fclass"] . "\"" : ($class = " class=\"" . $form_defaults["class"]["textfield"] . "\"");
$form_options[$key]["fstyle"] != "" ? $style = " style=\"" . $form_options[$key]["fstyle"] . "\"" : ($style = "");
$form_values[$key] != "" ? $value = " value=\"" . $form_values[$key] . "\"" : ($value = "");
$element[$key] = "<input type=\"text\"" . $size . $class . $style . " name=\"" . $key . "\" " . $value . ">\n";
}
//datumsfeld von und bis leeren (wach 2508)
$pos = strrpos($element["ivon"], "value");
$element["ivon"] = substr($element["ivon"], 0, $pos - 1) . ">";
$pos = strrpos($element["ibis"], "value");
开发者ID:BackupTheBerlios,项目名称:ewebuki-svn,代码行数:31,代码来源:info-markt-list.inc.php
示例9: string_htmlspecialchars
<div id="dialog-panel" dwidth="900px">
<div style="padding-top: 2px;">
<fieldset class="short-labels">
<legend>Search and Replace Settings</legend>
<div class="field">
<label>Templates:</label>
<span>
<?php
$templates = string_htmlspecialchars(dir_read_files(DIR_TEMPLATES, REGEX_EMAIL_TEMPLATES, true));
?>
<select name="templates[]" id="templates" multiple="multiple" size="10">
<?php
echo form_options($templates);
?>
</select>
</span>
</div>
<div class="field">
<label>Search For:</label>
<span><textarea name="search" id="search" rows="5" cols="88"></textarea></span>
</div>
<div class="field">
<label>Replace With:</label>
<span><textarea name="replace" id="replace" rows="5" cols="88"></textarea></span>
</div>
开发者ID:hackingman,项目名称:TradeX,代码行数:29,代码来源:email-templates-replace.php
示例10: header
if ($_POST["amt_wechseln"] != "" && $environment["parameter"][1] != $_POST["amt_wechseln"]) {
$header = $cfg["katauszug"]["basis"] . "/" . $cfg["katauszug"]["name"] . "," . $_POST["amt_wechseln"] . "," . $environment["parameter"][2] . ".html";
header("Location: " . $header);
}
// ueberschriftsmarke besetzen
if (!strstr($_SERVER["SERVER_NAME"], "vermessungsamt-")) {
$hidedata["change_amt"] = array();
} else {
$hidedata["amt_page"]["amt"] = "VA " . $data[$cfg["katauszug"]["db"]["amt"]["name"]];
}
$hidedata["ueberschrift"]["label"] = "#(" . $environment["parameter"][2] . ")";
if ($_POST["amt_wechseln"] != "" && $_POST["amt_wechseln"] != $environment["parameter"][1]) {
$environment["parameter"][1] = $_POST["amt_wechseln"];
}
// form options holen
$form_options = form_options("katauszug");
$person_data = array("surname", "forename", "strasse", "plz", "ort", "tel", "email");
foreach ($person_data as $value) {
$ausgaben[$value] = strip_tags($_POST["person"][$value]);
}
$ausgaben["sonder"] = strip_tags($_POST["sonder"]);
$ausgaben["versand_adresse"] = strip_tags($_POST["versand_adresse"]);
// dienststellen-dropdown
$sql = "SELECT *\n FROM " . $cfg["katauszug"]["db"]["amt"]["entries"] . "\n WHERE " . $cfg["katauszug"]["db"]["amt"]["kate"] . " IN ('3','4')\n ORDER BY " . $cfg["katauszug"]["db"]["amt"]["order"];
if ($debugging["sql_enable"]) {
$debugging["ausgabe"] .= "sql (amt-dropdown): " . $sql . $debugging["char"];
}
$result = $db->query($sql);
$amtkennzahl = "";
while ($data = $db->fetch_array($result, 1)) {
if ($data[$cfg["katauszug"]["db"]["amt"]["akz"]] == $environment["parameter"][1]) {
开发者ID:BackupTheBerlios,项目名称:ewebuki-bvv-svn,代码行数:31,代码来源:katauszug.inc.php
示例11: WHERE
}
if ( $environment["parameter"][2] == "search" ) {
if ( $HTTP_POST_VARS["search"] != "" ) {
$search_value = $HTTP_POST_VARS["search"];
} else {
$search_value = $environment["parameter"][3];
}
$parameter = ",search,".$search_value;
$where = " WHERE (abnamra LIKE '%".$search_value."%' OR abnamvor LIKE '%".$search_value."%')";
}
*/
$form_values = $HTTP_POST_VARS;
// form options holen
#$form_options = form_options(crc32($environment[ebene]).".".$environment[kategorie]);
$form_options = form_options(crc32($environment[ebene]) . ".list");
// form elememte bauen
$element = form_elements($cfg["db"]["entries"], $HTTP_POST_VARS);
//datumsfeld von und bis leeren (wach 2508)
$pos = strrpos($element["ivon"], "value");
$element["ivon"] = substr($element["ivon"], 0, $pos - 1) . ">";
$pos = strrpos($element["ibis"], "value");
$element["ibis"] = substr($element["ibis"], 0, $pos - 1) . ">";
#$ausgaben["form_aktion"] = $cfg["basis"]."/".$cfg["ebene"]["zwei"]."/list,".$position.",esearch.html";
$ausgaben["form_aktion"] = $cfg["basis"] . "/" . $cfg["ebene"]["zwei"] . ",0,esearch.html";
// Suche (wa 2208)
// ***
#if ( $environment[parameter][2] == "esearch" ) {
if ($environment[parameter][2] == "esearch" || $HTTP_GET_VARS["esearch"] == true) {
if ($HTTP_GET_VARS["esearch"] == true) {
$kick = array("image_x", "image_y", "esearch");
开发者ID:BackupTheBerlios,项目名称:ewebuki-svn,代码行数:31,代码来源:info-markt-list.inc.php
示例12: array
<form action="index.php" method="post">
<b>Status:</b>
<select name="status">
<option value="">-- ALL --</option>
<?php
$statuses = array(STATUS_UNCONFIRMED, STATUS_NEW, STATUS_ACTIVE, STATUS_AUTOSTOPPED, STATUS_DISABLED);
echo form_options($statuses, $_REQUEST['status']);
?>
</select>
<b style="margin-left: 15px;">Group:</b>
<select name="group">
<option value="">-- ALL --</option>
<?php
$groups = array_map('trim', file(FILE_GROUPS));
echo form_options($groups, $_REQUEST['group']);
?>
</select>
<b style="margin-left: 15px;">Category:</b>
<select name="category">
<option value="">-- ALL --</option>
<?php
$categories = array_map('trim', file(FILE_CATEGORIES));
echo form_options_multi($categories, $_REQUEST['category']);
?>
</select>
<input type="submit" value="Submit" style="margin-left: 15px;">
<input type="hidden" name="r" value="_xStatsOverallShow">
</form>
开发者ID:hackingman,项目名称:TradeX,代码行数:31,代码来源:stats-hourly.php
示例13: form_options_hash
<label class="short">End:</label>
<span>
<select name="end_day[]">
<?php
echo form_options_hash($days, $scheme['end_day']);
?>
</select>
at
<select name="end_hour[]">
<?php
echo form_options($hours, $scheme['end_hour']);
?>
</select> :
<select name="end_minute[]">
<?php
echo form_options($minutes, $scheme['end_minute']);
?>
</select>
</span>
</div>
</fieldset>
<?php
}
?>
</div>
</div>
开发者ID:hackingman,项目名称:TradeX,代码行数:28,代码来源:skim-schemes-dynamic.php
示例14: form_uninstall
function form_uninstall()
{
form_output('uninstall');
$form_options = form_options();
delete_option('form_log');
foreach ($form_options as $value) {
delete_option($value['id']);
}
delete_option('form_key');
delete_option("form_log");
delete_option("form_ftp_user");
// legacy
delete_option("form_ftp_password");
// legacy
delete_option("form_version");
delete_option('form-support-us');
}
开发者ID:Bakerpedia,项目名称:Developement_WPengine,代码行数:17,代码来源:form.php
示例15: form_options_hash
<?php
for ($i = 0; $i < count($item['req_field']); $i++) {
?>
<div style="margin: 2px 0px;">
<select name="req_field[]">
<option value=""></option>
<?php
echo form_options_hash($sorters, $item['req_field'][$i]);
?>
</select>
<select name="req_operator[]">
<option value=""></option>
<?php
$operators = array('>', '>=', '<', '<=');
echo form_options($operators, $original['req_operator'][$i]);
?>
</select>
<input type="text" name="req_value[]" size="10" value="<?php
echo $item['req_value'][$i];
?>
"/>
<img src="images/add-16x16.png" border="0" width="16" height="16" class="c-click" style="margin-left: 8px;">
<img src="images/remove-16x16.png" border="0" width="16" height="16" class="c-click" style="margin-left: 8px;">
</div>
<?php
}
?>
</div>
开发者ID:hackingman,项目名称:TradeX,代码行数:31,代码来源:toplists-add.php
示例16: create_form
function create_form(&$data)
{
foreach ($data as $element) {
if (is_array($element)) {
switch ($element[2]) {
case 0:
form_input($element[0], $element[1], $element[3]);
break;
case 1:
form_alb_list_box($element[0], $element[1]);
break;
case 2:
form_textarea($element[0], $element[1], $element[3]);
break;
case 3:
form_pic_info($element[0]);
break;
case 4:
form_options();
break;
default:
cpg_die(CRITICAL_ERROR, 'Invalid action for form creation', __FILE__, __LINE__);
}
// switch
} else {
form_label($element);
}
}
}
开发者ID:BackupTheBerlios,项目名称:milaninegw-svn,代码行数:29,代码来源:editpics.php
示例17: dir_read_files
</span>
</div>
</fieldset>
<fieldset>
<legend>Trade Settings</legend>
<div class="field">
<label>Skim Scheme:</label>
<span>
<select name="skim_scheme" style="width: 80px;">
<?php
$schemes = dir_read_files(DIR_SKIM_SCHEMES_BASE);
echo form_options($schemes, $item['skim_scheme']);
?>
</select>
</span>
</div>
<div class="field">
<label>Weight:</label>
<span>
<input type="text" name="trade_weight" value="<?php
echo $item['trade_weight'];
?>
" size="5"> %
</span>
</div>
开发者ID:hackingman,项目名称:TradeX,代码行数:30,代码来源:trades-add.php
示例18: array
<div class="field">
<label>E-mail Name:</label>
<span><input type="text" size="50" value="<?php
echo $C['email_name'];
?>
" name="email_name"/></span>
</div>
<div class="field">
<label>E-mail Method:</label>
<span>
<select name="email_method">
<?php
require_once 'mailer.php';
$mailers = array(MAILER_METHOD_PHP, MAILER_METHOD_SENDMAIL, MAILER_METHOD_SMTP);
echo form_options($mailers, $C['email_method']);
?>
</select>
</span>
</div>
<div class="field" style="display: none;">
<label>Sendmail Path:</label>
<span><input type="text" class="mailer-field mailer-sendmail" size="50" value="<?php
echo $C['sendmail_path'];
?>
" name="sendmail_path"/></span>
</div>
<div class="field" style="display: none;">
<label>SMTP Hostname:</label>
开发者ID:hackingman,项目名称:TradeX,代码行数:31,代码来源:global-settings.php
示例19: thumbnail
URL: http://www.chaos.de
*/
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
if ($cfg["right"] == "" || $rechte[$cfg["right"]] == -1) {
$ausgaben["thumbnail"] = thumbnail();
if ($ausgaben["thumbnail"] == "") {
header("Location: " . $cfg["basis"] . "/list.html");
}
// page basics
// ***
#if ( count($HTTP_POST_VARS) == 0 ) {
#} else {
$form_values = $HTTP_POST_VARS;
#}
// form options holen
$form_options = form_options(crc32($environment["ebene"]) . ".modify");
// form elememte bauen
$element = form_elements($cfg["db"]["file"]["entries"], $form_values);
// form elemente erweitern
#$element["extension1"] = "";
#$element["extension2"] = "";
$element["upload"] = "";
$element["fid"] = "";
$element["ffname"] = str_replace("ffname\"", "ffname\" value=\"" . str_replace($_SESSION["uid"] . "_", "", $file) . "\"", $element["ffname"]);
// +++
// page basics
// funktions bereich fuer erweiterungen
// ***
### put your code here ###
// +++
// funktions bereich fuer erweiterungen
开发者ID:BackupTheBerlios,项目名称:ewebuki,代码行数:31,代码来源:fileed-add.inc.php
示例20: ob_start
ob_start();
$GLOBALS["caption{$CURRENT_PIC['pid']}"] = $myts->makeTareaData4Edit($CURRENT_PIC['caption']);
xoopsCodeTarea("caption{$CURRENT_PIC['pid']}", 37, 8);
$xoops_codes = ob_get_contents();
ob_end_clean();
ob_start();
xoopsSmilies("caption" . $CURRENT_PIC['pid']);
$smilies = ob_get_contents();
ob_end_clean();
$value_field1 = $myts->makeTboxData4Edit($CURRENT_PIC['user1']);
$name_field1 = 'user1' . $CURRENT_PIC['pid'];
$value_field2 = $myts->makeTboxData4Edit($CURRENT_PIC['user2']);
$name_field2 = 'user2' . $CURRENT_PIC['pid'];
$value_field3 = $myts->makeTboxData4Edit($CURRENT_PIC['user3']);
$name_field3 = 'user3' . $CURRENT_PIC['pid'];
$value_field4 = $myts->makeTboxData4Edit($CURRENT_PIC['user4']);
$name_field4 = 'user4' . $CURRENT_PIC['pid'];
form_options();
$xoopsTpl->append('pics', array('current' => $CURRENT_PIC['pid'], 'filename' => $filename, 'pic_info' => $pic_info, 'thumb_url' => $thumb_url, 'thumb_link' => $thumb_link, 'sel_name' => $sel_name, 'alb_opt' => $alb_opt, 'title_name' => 'title' . $CURRENT_PIC['pid'], 'title_value' => $myts->makeTboxData4Edit($CURRENT_PIC['title']), 'xoops_codes' => $xoops_codes, 'xoops_smilies' => $smilies, 'keywords_value' => $myts->makeTboxData4Edit($CURRENT_PIC['keywords']), 'keywords_name' => 'keywords' . $CURRENT_PIC['pid'], 'name_field1' => $name_field1, 'value_field1' => $value_field1, 'name_field2' => $name_field2, 'value_field2' => $value_field2, 'name_field3' => $name_field3, 'value_field3' => $value_field3, 'name_field4' => $name_field4, 'value_field4' => $value_field4, 'pic_opt' => $pic_opt));
}
// while
$xoopsDB->freeRecordSet($result);
$xoopsTpl->assign('form', $form);
$xoopsTpl->assign('apply', _MD_EDITPICS_APPLY);
user_save_profile();
$xoopsTpl->assign('gallery', $xoopsModule->getVar('name'));
include_once "include/theme_func.php";
main_menu();
//$xoopsTpl->assign('xcgal_footer', pagefooter());
do_footer();
include_once "../../footer.php";
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:31,代码来源:editpics.php
注:本文中的form_options函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论