本文整理汇总了PHP中makeSelect函数的典型用法代码示例。如果您正苦于以下问题:PHP makeSelect函数的具体用法?PHP makeSelect怎么用?PHP makeSelect使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了makeSelect函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: writeContent
function writeContent()
{
global $sId, $aStates, $isPost, $sName, $sEmail, $nPhone, $sAddress, $sAddress2, $sCity, $sState, $nZip, $bAdmin, $bActive;
if (!empty($sId)) {
addHidden('use_id', $sId);
}
addField(makeInput('Name', 'use_name', $sName), true);
addField(makeEmail('Email Address', 'use_email', $sEmail), true);
addField(makePassword('Password', 'use_password'));
addField(makeInput('Phone', 'use_phone', $nPhone, 'size="13"'));
addField(makeInput('Address', 'use_address', $sAddress, 'size="30"'));
addField(makeInput('Address 2', 'use_address2', $sAddress2, 'size="30"'));
addField(makeInput('City', 'use_city', $sCity));
addField(makeSelect('State', 'use_state', $aStates, $sState));
addField(makeInput('Zip', 'use_zip', $nZip, 'size="10"'));
addField(makeCheckbox('Admin', 'use_admin', $bAdmin));
addField(makeCheckbox('Active', 'use_active', $bActive));
addField(makeSubmit('Save', 'save') . ' ' . makeCancel('Cancel', 'cancel'));
writeDataForm($_SERVER['PHP_SELF'], 'user');
}
示例2: writeContent
function writeContent()
{
global $aStates, $isPost, $sFirstName, $sLastName, $sEmail, $nPhone, $sAddress, $sAddress2, $sCity, $sState, $nZip, $sComments, $bSent;
if ($bSent) {
echo '<p>Thank you for contacting us.</p>';
} else {
addField(makeInput('First Name', 'con_firstname', $sFirstName), true);
addField(makeInput('Last Name', 'con_lastname', $sLastName), true);
addField(makeEmail('Email Address', 'con_email', $sEmail), true);
addField(makeInput('Telephone', 'con_phone', $nPhone, 'size="13"'));
addField(makeInput('Address', 'con_address', $sAddress, 'size="30"'));
addField(makeInput('Address 2', 'con_address2', $sAddress2, 'size="30"'));
addField(makeInput('City', 'con_city', $sCity));
addField(makeSelect('State', 'con_state', $aStates, $sState));
addField(makeInput('Zip', 'con_zip', $nZip, 'size="10" maxlength="5"'));
addField(makeTextArea('Message', 'con_comments', $sComments, 'rows="5" cols="60"'));
addField(makeSubmit('Send', 'send') . ' ' . makeCancel('Cancel', 'cancel'));
writeDataForm('/contact.php', 'contact');
}
}
示例3: htmlspecialchars
if ($review_comments_array[$row44['rc_comment']] != "") {
echo $review_comments_array[$row44['rc_comment']] . ": ";
}
echo htmlspecialchars($row44['rc_text']);
?>
</td>
</tr>
<?php
}
?>
<tr class="gray" valign="top">
<td colspan=2 valign="top" align="left" width="100%">
<select name="rc_comment">
<option value="">---
<?php
echo makeSelect($review_comments_array, $rc_comment);
?>
</select>
</td>
</tr>
<tr class="gray" valign="top">
<td colspan=2 valign="top" align="left" width="100%">
<textarea name="rc_text" rows="4" cols="40"></textarea>
</td>
</tr>
<tr class="gray" valign="top">
<td colspan=2 valign="top" align="left" width="100%">
<input type="button" value="<?php
echo $lng[16][23];
?>
" onclick="if (document.forms['f12'].rc_text.value!='') document.forms['f12'].submit();">
示例4: main
function main()
{
?>
<script language="javascript">
$(document).ready(function(){
$("#btnDel").click(function(){
if(confirm('确定要删除吗')){
$("#form1").attr("action","admin_vod_batch.php?action=del");
$("#form1").submit();
}
else{return false}
});
$("#btnDelPlay").click(function(){
if($("#from").val()==""){
alert("请选择要删除的播放器类型");
return;
}
if(confirm('确定要删除吗')){
$("#form1").attr("action","admin_vod_batch.php?action=delplay");
$("#form1").submit();
}
else{return false}
});
});
</script>
<form id="form1" name="form1" method="post">
<table class="tb">
<tr>
<td>
<table width="96%" border="0" align="center" cellpadding="3" cellspacing="1">
<tr>
<td colspan="2">
过滤条件:<select id="stype" name="stype">
<option value="0">视频栏目</option>
<option value="-1">没有栏目</option>
<?php
echo makeSelectAll("{pre}vod_type", "t_id", "t_name", "t_pid", "t_sort", 0, "", " | ", "");
?>
</select>
<select id="state" name="state">
<option value="0">视频连载</option>
<option value="1">连载中</option>
<option value="2">未连载</option>
</select>
<select id="level" name="level">
<option value="0">视频推荐</option>
<option value="1">推荐1</option>
<option value="2">推荐2</option>
<option value="3">推荐3</option>
<option value="4">推荐4</option>
<option value="5">推荐5</option>
</select>
<select id="topic" name="topic">
<option value="0">视频专题</option>
<?php
echo makeSelect("{pre}vod_topic", "t_id", "t_name", "t_sort", "", " | ", "");
?>
</select>
<select id="sserver" name="sserver">
<option value="">视频服务器</option>
<?php
echo makeSelectServer("");
?>
</select>
<select id="from" name="from">
<option value="">视频播放器</option>
<?php
echo makeSelectPlayer("");
?>
</select>
<select id="spic" name="spic">
<option value="0">视频图片</option>
<option value="1">无图片</option>
<option value="2">远程图片</option>
</select>
<select id="hide" name="hide">
<option value="-1">视频显隐</option>
<option value="0">显示</option>
<option value="1">隐藏</option>
</select>
</td>
</tr>
<tr>
<td colspan="6">
<input class="input" type="button" value="批量删除数据" id="btnDel">
<input class="input" type="button" value="批量删除播放组" id="btnDelPlay">
</td>
</tr>
</table>
</td>
</tr>
</table>
//.........这里部分代码省略.........
示例5: __
}
} else {
$memberList = "\n\t\t\t<tr class=\"cell0\">\n\t\t\t\t<td colspan=\"8\">\n\t\t\t\t\t" . __("Nothing matched your search.") . "\n\t\t\t\t</td>\n\t\t\t</tr>";
}
echo "\n\t\t\t<tr class=\"header1\">\n\t\t\t\t<th style=\"width: 30px; \">#</th>\n\t\t\t\t<th style=\"width: 62px; \">" . __("Picture") . "</th>\n\t\t\t\t<th>" . __("Name") . "</th>\n\t\t\t\t<th style=\"width: 50px; \">" . __("Posts") . "</th>\n\t\t\t\t<th style=\"width: 50px; \">" . __("Average") . "</th>\n\t\t\t\t<th style=\"width: 50px; \">" . __("Karma") . "</th>\n\t\t\t\t<th style=\"width: 80px; \">" . __("Birthday") . "</th>\n\t\t\t\t<th style=\"width: 130px; \">" . __("Registered on") . "</th>\n\t\t\t</tr>\n\t\t\t{$memberList}";
if ($pagelinks) {
echo "\n\t\t\t<tr class=\"cell2\">\n\t\t\t\t<td colspan=\"2\">\n\t\t\t\t\t" . __("Page") . "\n\t\t\t\t</td>\n\t\t\t\t<td colspan=\"6\">\n\t\t\t\t\t{$pagelinks}\n\t\t\t\t</td>\n\t\t\t</tr>";
}
echo "</table>";
die;
}
$crumbs = new PipeMenu();
$crumbs->add(new PipeMenuLinkEntry(__("Member list"), "memberlist"));
makeBreadcrumbs($crumbs);
if (!$isBot) {
echo "\n\t<script type=\"text/javascript\" src=\"" . resourceLink("js/memberlist.js") . "\"></script>\n\t<table>\n\t<tr>\n\t<td id=\"userFilter\" style=\"margin-bottom: 1em; margin-left: auto; margin-right: auto; padding: 1em; padding-bottom: 0.5em; padding-top: 0.5em;\">\n\t\t<label>\n\t\t" . __("Sort by") . ":\n\t\t" . makeSelect("orderBy", array("" => __("Post count"), "id" => __("ID"), "name" => __("Name"), "karma" => __("Karma"), "reg" => __("Registration date"))) . " \n\t\t</label>\n\t\t<label>\n\t\t" . __("Order") . ":\n\t\t" . makeSelect("order", array("desc" => __("Descending"), "asc" => __("Ascending"))) . " \n\t\t</label>\n\t\t<label>\n\t\t" . __("Sex") . ":\n\t\t" . makeSelect("sex", array("" => __("(any)"), "n" => __("N/A"), "f" => __("Female"), "m" => __("Male"))) . " \n\t\t</label>\n\t\t<label>\n\t\t" . __("Power") . ":\n\t\t" . makeSelect("power", array("" => __("(any)"), -1 => __("Banned"), 0 => __("Normal"), 1 => __("Local Mod"), 2 => __("Full Mod"), 3 => __("Admin"), 4 => __("Root"), 5 => __("System"))) . "\n\t\t</label>\n\t</td>\n\t<td style=\"text-align: right;\">\n\t\t\t<form action=\"javascript:refreshMemberlist();\">\n\t\t\t\t<div style=\"display:inline-block\">\n\t\t\t\t\t<input type=\"text\" name=\"query\" id=\"query\" placeholder=\"" . __("Search") . "\" />\n\t\t\t\t\t<button id=\"submitQuery\"><i class=\"icon-search\"></i></button>\n\t\t\t\t</div>\n\t\t\t</form>\n\t</td></tr></table>";
}
echo "\n\t<div id=\"memberlist\">\n\t\t<div class=\"center\" style=\"padding: 2em;\">\n\t\t\t" . __("Loading memberlist...") . "\n\t\t</div>\n\t</div>";
//We do not need a default index.
//All options are translatable too, so no need for __() in the array.
//Name is the same as ID.
function makeSelect($name, $options)
{
$result = "<select name=\"" . $name . "\" id=\"" . $name . "\">";
$i = 0;
foreach ($options as $key => $value) {
$result .= "\n\t<option" . ($i = 0 ? " selected=\"selected\"" : "") . " value=\"" . $key . "\">" . $value . "</option>";
}
$result .= "\n</select>";
return $result;
}
示例6: IN
echo '<select id="val" name="val"><option value="">请选择...</option><option value="0">显示</option><option value="1">隐藏</option></select><input type="button" value="确定" onclick="ajaxsubmit(\'' . $ac . '\',\'' . $tab . '\',\'' . $colid . '\',\'' . $col . '\',\'' . $id . '\');" class=input> <input type="button" value="取消" onclick="closew();" class=input>';
} else {
$sql = 'UPDATE {pre}' . $tab . ' set ' . $col . '=' . $val . ' WHERE ' . $colid . ' IN(' . $id . ')';
$db->query($sql);
if ($show == 2) {
echo 'reload';
} else {
redirect(getReferer());
}
}
} elseif ($ac == 'shift') {
if ($show == 1) {
if (strpos($tab, '_type')) {
$selstr = makeSelectAll("{pre}" . $tab, "t_id", "t_name", "t_pid", "t_sort", 0, "", " | ", "");
} else {
$selstr = makeSelect("{pre}" . $tab, "t_id", "t_name", "t_sort", "", " | ", "");
}
echo '<select id="val" name="val"><option value="0">请选择目标</option>' . $selstr . '</select><input type="button" value="确定" onclick="ajaxsubmit(\'' . $ac . '\',\'' . $tab . '\',\'' . $colid . '\',\'' . $col . '\',\'' . $id . '\');" class=input> <input type="button" value="取消" onclick="closew();" class=input>';
} else {
if (strpos(',' . $tab, 'vod')) {
$tab2 = 'vod';
} else {
$tab2 = 'art';
}
switch ($tab) {
case 'vod_type':
$tab2 = 'vod';
$colid2 = 'd_type';
break;
case 'art_type':
$tab2 = 'art';
示例7: makeSelect
</tr>
<tr class="blue" title="<?php
echo $lng[39][13];
?>
">
<td align="right"> <?php
echo $lng[39][12];
?>
: </td>
<td>
<select name="r_status">
<?php
include "ini/txts/" . $_SESSION['chlang'] . "/review_status.php";
?>
<?php
echo makeSelect($review_status_array, $r_status);
?>
</select>
<script>
for (i=0;i<document.forms.f.r_status.length;i++)
if (document.forms.f.r_status.options[i].value=='<?php
echo $r_status;
?>
')
document.forms.f.r_status.options[i].selected=true;
</script>
</td>
</tr>
<tr class="light_blue" title="<?php
echo $lng[39][15];
?>
示例8: makeSelect
if (ctype_alpha($_POST['str']) || $_POST['str'] == "") {
$message = "検索結果";
}
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>問題10:該当する都道府県を表示する</title>
</head>
<body>
<form action="todofuken.php" method="post">
<?php
makeSelect($area);
?>
<input type="text" size="1" value="<?php
if (isset($_POST['str'])) {
echo $_POST['str'];
}
?>
" name="str">
<br>
<input type="submit">
</form>
<p><?php
echo $message;
?>
</p>
<hr>
示例9: main
function main()
{
global $db;
$pagenum = be("get", "page");
if (isN($pagenum) || !isNum($pagenum)) {
$pagenum = 1;
}
if ($pagenum < 1) {
$pagenum = 1;
}
$pagenum = intval($pagenum);
$project = be("get", "{pre}cj_art_projects");
$sql = "select a.*,b.p_name from {pre}cj_filters a left join {pre}cj_art_projects b on a.f_pid=b.p_id where 1=1 and f_sys=1 ";
if ($project != "") {
$sql = $sql . " and a.f_pid = " . $project;
}
$sql = $sql . " order by f_id desc ";
$rscount = $db->query($sql);
$nums = $db->num_rows($rscount);
//总记录数
$pagecount = ceil($nums / app_pagenum);
//总页数
$sql = $sql . "limit " . app_pagenum * ($pagenum - 1) . "," . app_pagenum;
$rs = $db->query($sql);
?>
<script language="javascript">
$(document).ready(function(){
$("#btnDel").click(function(){
if(confirm('确定要删除吗')){
$("#form1").attr("action","collect_art_filters.php?action=del");
$("#form1").submit();
}
else{return false}
});
$("#btnFlag1").click(function(){
$("#form1").attr("action","collect_art_filters.php?action=sflag&f_flag=1");
$("#form1").submit();
});
$("#btnFlag2").click(function(){
$("#form1").attr("action","collect_art_filters.php?action=sflag&f_flag=0");
$("#form1").submit();
});
$("#btnAdd").click(function(){
location.href='collect_art_filters.php?action=add';
});
});
</script>
<table width="96%" border="0" align="center" cellpadding="3" cellspacing="1">
<tr>
<td>
菜单:<a href="collect_art_manage.php?action=">采集规则列表</a> | <a href="collect_art_manage.php?action=upexp">导入采集规则</a> | <a href="collect_art_change.php">分类转换</a> | <a href="collect_art_filters.php">信息过滤</a>
按项目查看:<select onchange=javascript:window.location.href=this.options[this.selectedIndex].value>
<option value="?">所有转换</option>
<option value="?{pre}cj_art_projects=0" <?php
if ($project == "0") {
echo "selected";
}
?>
>全局转换</option>
<?php
echo makeSelect("{pre}cj_art_projects", "p_id", "p_name", "", "collect_art_filters.php", " | ", $project);
?>
</select>
</td>
</tr>
</table>
<form action="" method="post" name="form1" id="form1" >
<table class=tb >
<tr>
<td width="4%"> </td>
<td>过滤名称</td>
<td width="15%" >过滤对象</td>
<td width="15%">过滤类型</td>
<td width="15%">所属项目</td>
<td width="13%">状态</td>
<td width="10%">操作</td>
</tr>
<?php
if (!$rs) {
?>
<tr><td align="center" colspan="8">没有任何记录!</td></tr>
<?php
} else {
while ($row = $db->fetch_array($rs)) {
?>
<tr>
<td>
<input type="checkbox" value="<?php
echo $row["f_id"];
?>
" id="f_id" name="f_id[]">
</td>
<td><?php
echo $row["f_name"];
?>
</td>
<td>
<?php
if ($row["f_object"] == 1) {
//.........这里部分代码省略.........
示例10: makeSelect
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<title>Exercise 5-6</title>
</head>
<body>
<?php
if (!isset($_POST['submit'])) {
?>
<form action = "" method="POST">
Please choose a month<br/>
<?php
makeSelect($months);
?>
<input type="submit" name="submit" value="Go" />
</form>
<?php
} else {
$month = $_POST['month'];
echo "The month of {$month} has " . $months[$month];
if ($month != "February") {
echo " days";
}
echo ".";
}
?>
</body>
</html>
示例11: makeLangList
function makeLangList($fieldname, $value)
{
$data = array();
$dir = @opendir("lib/lang");
while ($file = readdir($dir)) {
//print $file;
if (endsWith($file, "_lang.php")) {
$file = substr($file, 0, strlen($file) - 9);
$data[$file] = $file;
}
}
$data["en_US"] = "en_US";
closedir($dir);
return makeSelect($fieldname, $value, $data);
}
示例12: main
function main()
{
global $db, $cache;
$pagenum = be("page", "get");
if (isN($pagenum) || !isNum($pagenum)) {
$pagenum = 1;
}
if ($pagenum < 1) {
$pagenum = 1;
}
$pagenum = intval($pagenum);
$keyword = be("get", "keyword");
$project = be("get", "{pre}cj_art_projects");
$zt = be("get", "zt");
$sql = "Select a.*,b.p_name as p_name from {pre}cj_art a,{pre}cj_art_projects b where a.m_pid=b.p_id";
if ($zt != "") {
$sql = $sql . " and m_zt = " . $zt;
}
if ($keyword != "") {
$sql = $sql . " and m_title like '%" . $keyword . "%' ";
}
if ($project != "") {
$sql = $sql . " and a.m_pid = " . $project;
}
$sql = $sql . " order by m_zt asc,m_addtime desc ";
$rscount = $db->query($sql);
$nums = $db->num_rows($rscount);
//总记录数
$pagecount = ceil($nums / app_pagenum);
//总页数
$sql = $sql . " limit " . app_pagenum * ($pagenum - 1) . "," . app_pagenum;
$rs = $db->query($sql);
?>
<script language="javascript">
$(document).ready(function(){
$("#btnDel").click(function(){
if(confirm('确定要删除吗')){
$("#form1").attr("action","?action=delpl");
$("#form1").submit();
}
});
$("#btnDelall").click(function(){
if(confirm('确定要删除吗')){
$("#form1").attr("action","?action=delall");
$("#form1").submit();
}
});
$("#btnSelin").click(function(){
if(confirm('确定入库您所选择的数据吗')){
$("#form1").attr("action","?action=IDInflow");
$("#form1").submit();
}
});
$("#btnAllin").click(function(){
if(confirm('全部入库你所采集的数据吗')){
$("#form1").attr("action","?action=AllInflow");
$("#form1").submit();
}
});
$("#btnNoin").click(function(){
if(confirm('确定入库所有未入库的数据吗')){
$("#form1").attr("action","?action=noInflow");
$("#form1").submit();
}
});
$("#btnType").click(function(){
if(confirm('确定入库所有未入库的数据吗')){
$("#form1").attr("action","?action=editype");
$("#form1").submit();
}
});
});
</script>
<TABLE width="96%" border=0 align=center cellpadding=0 cellSpacing=0 class=tbtitle >
<TBODY>
<tr>
<td>
<form action="collect_art.php" method="get">
<strong>搜索文章:</strong>
<input id=KeyWord size=40 name=keyword>
<INPUT class=inputbut type=submit value=搜索 name=Submit>
按项目查看:
<select onchange=javascript:window.location.href=this.options[this.selectedIndex].value>
<option value="collect_art.php">全部采集项目</option>
<?php
echo makeSelect("{pre}cj_art_projects", "p_id", "p_name", "", "collect_art.php", " | ", "");
?>
</select>
<font color="#FF0000">(没有找到对应栏目,不能入库)</font>
</form>
</td>
</tr>
</TBODY>
</table>
<form action="" method="post" name="form1" id="form1">
<table class=tb >
<tr>
<td width="4%"> </td>
//.........这里部分代码省略.........
示例13: printSelect
$selected = '';
}
$options_str .= "<option " . $selected . " value=" . $key . ">" . $text . "</option>";
}
echo "<select name=" . $name . ">" . $options_str . "</select>";
}
?>
</pre>
<form method="post">
<label for="first-name">Имя: </label>
<input value="<?php
echo $_POST['first-name'];
?>
" name="first-name" id="first-name">
<br>
<label>Домашние животные: </label>
<?php
printSelect($_POST, 'animals', array('Dog' => 'Собака', 'Cat' => 'Кошка'));
?>
<br>
<label>Автомобиль: </label>
<?php
makeSelect($_POST, 'cars', array('BMW' => 'БМВ', 'Mersedes' => 'Мерседес'));
?>
<br>
<input type="submit" value="Send">
</form>
</body>
</html>
示例14: main
//.........这里部分代码省略.........
$('#form3').form('load','admin_ajax.php?action=getinfo&tab=apk_master_items&col=id&val='+id);
}
</script>
<table class="tb">
<tr>
<td>
<table width="96%" border="0" align="center" cellpadding="3" cellspacing="1">
<tr><td colspan="4" align="center">应用基本信息 <a href="javascript:void(0)" onclick="edit('<?php
echo $apk_id;
?>
');return false;"><font color="red">修改基本信息</font></a></td></tr>
<tr>
<td width="10%">应用名称:</td>
<td> <?php
echo $rowapk['app_name'];
?>
</td>
<td width="10%">应用包名:</td>
<td> <?php
echo $rowapk['package_name'];
?>
</td>
</tr>
<tr>
<td width="10%">应用类别:</td>
<td> <select id="category_id" name="category_id" disabled>
<?php
echo makeSelectAll("apk_category", "id", "name", "parent_id", "disp_order", 0, "", " | ", $rowapk['category_id']);
?>
</select>
</td>
<td width="10%">应用是否正常:</td>
<td> <select id="status" name="status" disabled>
<option value="1" <?php
if ($rowapk['status'] == 1) {
echo "selected";
}
?>
>正常</option>
<option value="-1" <?php
if ($rowapk['status'] == -1) {
echo "selected";
}
?>
>不正常</option>
</select>
</td>
</tr>
<tr>
<td width="10%">渠道:</td>
<td>
<select id="company_id" name="company_id" disabled>
<?php
echo makeSelect("apk_company", "id", "name", "id", "", " | ", $rowapk['company_id']);
?>
</select>
</td>
示例15: main
//.........这里部分代码省略.........
settab(i);
}
});
});
function settab(to){
$("#htmltabs li").each(function(i,row){
if("tabs.title"+ to == $(this).attr("id")){
$("#tab"+i).show(); $(this).attr("class","hover");
}
else{
$("#tab"+i).hide(); $(this).removeClass("hover");
}
});
$.cookie("maketab",to);
}
</script>
<div>
<ul id="htmltabs" style="padding:0">
<li id="tabs.title0" class="hover" onclick="settab('0');" style="cursor:pointer">视频相关</li>
<li id="tabs.title1" onclick="settab('1');" style="cursor:pointer">文章相关</li>
<li id="tabs.title2" onclick="settab('2');" style="cursor:pointer">其他内容</li>
</ul>
</div>
<table class="tb" id="tab0" style="display:block">
<form id="vodform" name="vodform" method="post">
<tr><td colspan=3>
<font color="#FF0000">友情提示:如果生成路径中使用了{name}和{enname}等参数,请确保数据的名称和拼音中不包含非法字符 * : ? "" < > | \ </font>
</td></tr>
<tr>
<td width="30%">视频栏目列表:<br>
<select name="mtype[]" multiple style="width:150px;height:100px;">
<?php
echo makeSelectAll("{pre}vod_type", "t_id", "t_name", "t_pid", "t_sort", 0, "", " | ", "");
?>
</select>
</td>
<td width="30%">
视频专题列表:<br>
<select name="mtopic[]" multiple style="width:150px;height:100px;">
<?php
echo makeSelect("{pre}vod_topic", "t_id", "t_name", "t_sort", "", " | ", "");
?>
</select>
</td>
<td width="30%">
按起始数字生成:<br>
从<input type="text" name="startnum" id="startnum" size="5">
到<input type="text" name="endnum" id="endnum" size="5">
</td>
</tr>
<tr>
<td>
<input type="button" id="btnvod1" value="生成选择栏目" class="input" />
<input type="button" id="btnvod2" value="生成全部栏目" class="input" /> <br>
<input type="button" id="btnvod3" value="生成选择内容" class="input" />
<input type="button" id="btnvod4" value="生成全部内容" class="input" /> <br>
<input type="button" id="btnvod5" value="一键生成当天" class="input" />
</td>
<td>
<input type="button" id="btnvod6" value="生成选择专题" class="input" />
<input type="button" id="btnvod7" value="生成全部专题" class="input" /> <br>
<input type="button" id="btnvod8" value="生成专题首页" class="input" /> <br>
</td>