本文整理汇总了PHP中category_select函数的典型用法代码示例。如果您正苦于以下问题:PHP category_select函数的具体用法?PHP category_select怎么用?PHP category_select使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了category_select函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: category_select
<?php
echo $strAutoSplitLogs;
?>
<INPUT TYPE="text" NAME="addautoSplit" size="4" onKeyPress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false; " onKeyup="seekform.elements['operation'][11].checked=true;" value="<?php
echo $settingInfo['autoSplit'];
?>
"> <?php
echo $strSettingUnitsWords;
?>
|
<input type="radio" name="operation" value="logmove" onclick="Javascript:this.form.opmethod.value=1">
<?php
echo $strLogCategoryMove;
?>
<?php
category_select("move_category", "", "class=\"searchbox\" onchange=\"seekform.elements['operation'][12].checked=true;\"", "");
?>
|
<input type="radio" name="operation" value="addpassword" onclick="Javascript:this.form.opmethod.value=1">
<?php
echo $strLogPassword;
?>
<INPUT TYPE="text" NAME="addpassword" size="10" maxlength="20" onKeyup="seekform.elements['operation'][13].checked=true;">
|
<input type="radio" name="operation" value="editdate" onclick="Javascript:this.form.opmethod.value=1">
<?php
echo $strPubDate;
?>
<input name="pubTime" type="text" value="<?php
echo format_time("Y-m-d H:i", time());
?>
示例2: category_select
<br>
<?php
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="subcontent-input">
<td class="subcontent-td">
<input type=radio name='autocate' value="1" checked> <?php
echo $strRssImportOption3;
?>
<input type=radio name='autocate' value="0"> <?php
echo $strRssImportOption4;
?>
<?php
category_select("rssCate", "", "class=\"searchbox\" onchange=\"seekform.elements['autocate'][1].checked=true;\"", "rss");
?>
</td>
</tr>
<tr class="subcontent-input">
<td class="subcontent-td">
<input type=radio name='curtime' value="0" checked> <?php
echo $strRssImportOption8;
?>
<input type=radio name='curtime' value="1"> <?php
echo $strRssImportOption9;
?>
</td>
</tr>
<tr class="subcontent-input">
<td class="subcontent-td">
示例3: category_select
</div>
</fieldset>
<br>
<?php
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="subcontent-input">
<td class="subcontent-td" align="right" nowrap>
<?php
echo $strCategory;
?>
</td>
<td class="subcontent-td">
<?php
category_select("rssCate", "", "class=\"searchbox\"", "");
?>
</td>
</tr>
<tr class="subcontent-input">
<td class="subcontent-td" align="right" nowrap>
<?php
echo $strDataBackupName;
?>
</td>
<td class="subcontent-td">
<input name="backup" type="text" size="45" maxlength="30" value="<?php
echo format_time("Y-m-d", time()) . "-" . md5(time());
?>
">
</td>
示例4: category_select
</td>
</tr>
</table>
</form>
<form method="post">
<div class="tt">分段生成</div>
<table cellpadding="2" cellspacing="1" class="tb">
<tr>
<th>选择分类</th>
<th width="200">每轮生成数量</th>
<th width="200">操作</th>
</tr>
<tr align="center">
<td>
<?php
echo category_select('catid', '选择分类', 0, $moduleid);
?>
第 <input type="text" size="3" name="fpage" value="1"/> 页 至 <input type="text" size="3" name="tpage" value=""/> 页
</td>
<td><input type="text" size="5" name="num" value="100"/></td>
<td>
<input type="submit" value=" 生成列表 " class="btn" onclick="this.form.action='?moduleid=<?php
echo $moduleid;
?>
&file=<?php
echo $file;
?>
&action=cate';"/>
<input type="submit" value=" 生成内容 " class="btn" onclick="this.form.action='?moduleid=<?php
echo $moduleid;
示例5: dcalendar
<option value="totime" <?php
if ($datetype == 'totime') {
echo 'selected';
}
?>
>到期日期</option>
</select>
<?php
echo dcalendar('fromdate', $fromdate, '');
?>
至 <?php
echo dcalendar('todate', $todate, '');
?>
<?php
echo category_select('catid', '所属行业', $catid, $moduleid);
?>
<?php
echo ajax_area_select('areaid', '所在地区', $areaid);
?>
<?php
echo VIP;
?>
:<input type="text" size="4" name="minvip" value="<?php
echo $minvip;
?>
"/> ~ <input type="text" size="4" name="maxvip" value="<?php
echo $maxvip;
?>
示例6: category_select
echo $CATEGORY[$parentid]['parentid'];
?>
');"/>
<?php
}
?>
</div>
</form>
<form method="post" action="?">
<div class="tt">快捷操作</div>
<table cellpadding="2" cellspacing="1" class="tb">
<tr align="center">
<td>
<div style="float:left;padding:10px;">
<?php
echo category_select('cid', '分类结构', $parentid, $mid, 'size="2" style="width:200px;height:130px;"');
?>
</div>
<div style="float:left;padding:10px;">
<table>
<tr>
<td><input type="submit" value="管理分类" class="btn" onclick="this.form.action='?mid=<?php
echo $mid;
?>
&file=<?php
echo $file;
?>
&parentid='+Dd('catid_1').value;"/></td>
</tr>
<tr>
<td><input type="submit" value="添加分类" class="btn" onclick="this.form.action='?mid=<?php
示例7: category_select
<?php
echo $strAttachmentTypeText;
?>
</option>
<option value="mp3,wma,wmv,rm,ra,rmvb,wav,asf,swf,flv" <?php
echo $seektype == "mp3,wma,wmv,rm,ra,rmvb,wav,asf,swf" ? "selected" : "";
?>
>
<?php
echo $strAttachmentTypeMp3;
?>
</option>
</select>
<?php
category_select("seekcate", $seekcate, "class=\"searchbox\"", "");
?>
<?php
echo $strBlueFind;
?>
<input type="text" name="seekname" size="8" value="<?php
echo $seekname;
?>
" class="searchbox">
<input name="find" class="btn" type="submit" value="<?php
echo $strFind;
?>
" onclick="confirm_submit('<?php
示例8: isset
continue;
}
$m['rssurl'] = $MOD['feed_url'] . 'rss.php?mid=' . $m['moduleid'];
$FD[] = $m;
}
$areaid = isset($areaid) ? intval($areaid) : 0;
$feed_code = '';
$category_select = '';
$area_select = '';
if ($mid && $mid > 4 && isset($MODULE[$mid]) && !$MODULE[$mid]['islink']) {
$feed_code .= $MOD['feed_url'] . 'rss.php?mid=' . $mid;
if ($kw == $L['keyword']) {
$kw = '';
}
if ($kw && strlen($kw) > 2 && strlen($kw) < 30) {
$feed_code .= '&kw=' . urlencode($kw);
}
if ($catid) {
$feed_code .= '&catid=' . urlencode($catid);
}
if ($areaid) {
$feed_code .= '&areaid=' . urlencode($areaid);
}
$category_select = category_select('catid', $L['category'], $catid, $mid);
if (in_array($MODULE[$mid]['module'], array('sell', 'buy', 'exhibit', 'info', 'job'))) {
$area_select = ajax_area_select('areaid', $L['rss_area'], $areaid);
}
}
$head_title = $L['rss_title'];
$head_keywords = $head_description = '';
include template('feed', $module);
示例9: ob_start
" onClick="document.getElementById('category').innerHTML='<input name=cateId size=20 class=textbox type=text size=50>';document.getElementById('btncategory').style.display='none';document.seekform.cateId.focus();document.getElementById('btnrcategory').style.display='';">
<input name="btnrcategory" id="btnrcategory" class="btn" type="button" value="<?php
echo $strReturn;
?>
" onClick="document.getElementById('category').innerHTML=document.seekform.catebak.value;document.getElementById('btnrcategory').style.display='none';document.seekform.cateId.focus();document.getElementById('btncategory').style.display='';" style="display:none">
<input name="oldCateId" type="hidden" size="50" value="<?php
echo $oldCateId;
?>
">
<input name="edittype" id="edittype" type="hidden" size="50" value="<?php
echo $edittype;
?>
">
<input name="catebak" id="catebak" type="hidden" value="<?php
ob_start();
category_select("cateId", $cateId, "", "");
$contents = ob_get_contents();
ob_end_clean();
echo str_replace('"', '', $contents);
?>
">
</td>
</tr>
<tr>
<td nowrap>
<?php
echo $strTag;
?>
</td>
<td>
<input name="tags" id="tags" class="textbox" type="text" size="50" value="<?php
示例10: category_select
echo $itemid;
?>
"/>
<input type="hidden" name="forward" value="<?php
echo $forward;
?>
"/>
<div class="tt"><?php
echo $tname;
?>
</div>
<table cellpadding="2" cellspacing="1" class="tb">
<tr>
<td class="tl"><span class="f_red">*</span> 所属分类</td>
<td><?php
echo category_select('post[catid]', '选择分类', $catid, $moduleid);
?>
<span id="dcatid" class="f_red"></span></td>
</tr>
<tr>
<td class="tl"><span class="f_red">*</span> <?php
echo $MOD['name'];
?>
标题</td>
<td><input name="post[title]" type="text" id="title" size="60" value="<?php
echo $title;
?>
"/> <?php
echo level_select('post[level]', '级别', $level, 'id="level"');
?>
<?php
示例11: foreach
<table cellpadding="2" cellspacing="1" class="tb">
<tr>
<td>
<select name="mid">
<option value="0">请选择</option>
<?php
foreach ($MODULE as $m) {
if (!$m['islink'] && $m['moduleid'] > 4 && $m['moduleid'] != $moduleid) {
echo '<option value="' . $m['moduleid'] . '"' . ($mid == $m['moduleid'] ? ' selected' : '') . '>' . $m['name'] . '</option>';
}
}
?>
</select>
<?php
if ($mid) {
echo category_select('catid', '请选择分类', $catid, $mid) . ' ';
}
?>
<input type="text" size="50" name="kw" value="<?php
echo $kw;
?>
" title="关键词"/>
<input type="text" name="psize" value="<?php
echo $pagesize;
?>
" size="2" class="t_c" title="条/页"/>
<input type="submit" value="筛 选" class="btn"/>
<input type="button" value="重 置" class="btn" onclick="Go('?moduleid=<?php
echo $moduleid;
?>
&file=<?php
示例12: category_select
</script>
<input type="hidden" name="action" value="<?php echo $action; ?>" />
<input type="hidden" name="g" value="<?php echo $group_id; ?>" />
<table class="tablebg" width="99%" cellspacing="1" cellpadding="4" border="0" align="center">
<tr>
<th colspan="2"><?php echo $_CLASS['core_user']->lang[strtoupper($action) . '_EXTENSION_GROUP']; ?></th>
</tr>
<tr>
<td class="row1" width="35%"><b><?php echo $_CLASS['core_user']->lang['GROUP_NAME']; ?>: </b></td>
<td class="row2"><input type="text" size="20" maxlength="100" name="group_name" class="post" value="<?php echo $group_name; ?>" /></td>
</tr>
<tr>
<td class="row1" width="35%"><b><?php echo $_CLASS['core_user']->lang['SPECIAL_CATEGORY']; ?>: </b><br /><span class="gensmall"><?php echo $_CLASS['core_user']->lang['SPECIAL_CATEGORY_EXPLAIN']; ?></span></td>
<td class="row2"><?php echo category_select('special_category', $group_id); ?></td>
</tr>
<tr>
<td class="row1" width="35%"><b><?php echo $_CLASS['core_user']->lang['ALLOWED']; ?>: </b></td>
<td class="row2"><input type="checkbox" name="allow_group" value="<?php echo $group_id; ?>"<?php echo $s_allowed; ?> /></td>
</tr>
<tr>
<td class="row1" width="35%"><b><?php echo $_CLASS['core_user']->lang['ALLOW_IN_PM']; ?>: </b></td>
<td class="row2"><input type="checkbox" name="allow_in_pm" value="1"<?php echo $s_in_pm_allowed; ?> /></td>
</tr>
<tr>
<td class="row1" width="35%"><b><?php echo $_CLASS['core_user']->lang['DOWNLOAD_MODE']; ?>: </b><br /><span class="gensmall"><?php echo $_CLASS['core_user']->lang['DOWNLOAD_MODE_EXPLAIN']; ?></span></td>
<td class="row2"><?php echo download_select('download_mode', $group_id); ?></td>
</tr>
<tr>
<td class="row1" width="35%"><b><?php echo $_CLASS['core_user']->lang['UPLOAD_ICON']; ?>: </b></td>
示例13: category_select
|
<input type="radio" name="operation" value="tbshow" onclick="Javascript:this.form.opmethod.value=1">
<?php
echo $strTrackBackShow;
?>
<input type="radio" name="operation" value="tbhidden" onclick="Javascript:this.form.opmethod.value=1">
<?php
echo $strTrackBackHidden;
?>
| <br>
<input type="radio" name="operation" value="logmove" onclick="Javascript:this.form.opmethod.value=1">
<?php
echo $strLogCategoryMove;
?>
<?php
category_select("move_category", "", "class=\"searchbox\" onchange=\"seekform.operation(9).checked=true;\"");
?>
|
<input type="radio" name="operation" value="addpassword" onclick="Javascript:this.form.opmethod.value=1">
<?php
echo $strLogPassword;
?>
<INPUT TYPE="text" NAME="addpassword" size="10" onKeyup="seekform.operation(10).checked=true;">
|
<input type="radio" name="operation" value="settags" onclick="Javascript:this.form.opmethod.value=1">
<?php
tags_select("settags", "class=\"searchbox\"", "onchange=\"seekform.operation(11).checked=true;\"");
?>
|
<input name="opselect" type="hidden" value="">
<input name="opmethod" type="hidden" value="1">
示例14: category_select
echo $itemid;
?>
"/>
<input type="hidden" name="forward" value="<?php
echo $forward;
?>
"/>
<div class="tt"><?php
echo $action == 'add' ? '添加' : '修改';
?>
产品</div>
<table cellpadding="2" cellspacing="1" class="tb">
<tr>
<td class="tl"><span class="f_red">*</span> 所属分类</td>
<td><?php
echo $_admin == 1 ? category_select('post[catid]', '选择分类', $catid, $moduleid) : ajax_category_select('post[catid]', '选择分类', $catid, $moduleid);
?>
<span id="dcatid" class="f_red"></span></td>
</tr>
<tr>
<td class="tl"><span class="f_red">*</span> 产品名称</td>
<td><input name="post[title]" type="text" id="title" size="40" value="<?php
echo $title;
?>
"/> <?php
echo level_select('post[level]', '级别', $level);
?>
<?php
echo dstyle('post[style]', $style);
?>
<span id="dtitle" class="f_red"></span></td>
示例15: dcalendar
<option value="addtime" <?php
if ($datetype == 'addtime') {
echo 'selected';
}
?>
>发布日期</option>
</select>
<?php
echo dcalendar('fromdate', $fromdate, '');
?>
至 <?php
echo dcalendar('todate', $todate, '');
?>
<?php
echo category_select('catid', '不限分类', $catid, $moduleid);
?>
<?php
echo ajax_area_select('areaid', '不限地区', $areaid);
?>
ID:<input type="text" size="4" name="itemid" value="<?php
echo $itemid;
?>
"/>
<input type="checkbox" name="thumb" value="1"<?php
echo $thumb ? ' checked' : '';
?>
/>图片
<input type="checkbox" name="guest" value="1"<?php