Example #1
0
		<span class="hotspot" onmouseover="tooltip.show('填写内容中投票内容图片地址!');" onmouseout="tooltip.hide();">
		<img src="{$skin_path}/images/remind.gif" alt="" width="14" height="20"  style="margin-left:10px; margin-right:5px;">
		</span>
		</td>
    </tr>
	<tr><td colspan="4" height="10">&nbsp;</td></tr>
<?php } ?>
</table>
        </td>
    </tr>
    <tr>
        <td width="19%" align="right">地区</td>
        <td width="1%">&nbsp;</td>
        <td width="70%">
            <?php echo form::select('province_id',
    get('province_id') ? get('province_id') : 0, area::province_option()); ?>
<?php echo form::select('city_id', get('city_id') ? get('scity_id') : 0,
        area::city_option()); ?>
<?php echo form::select('section_id', get('section_id') ? get('section_id') : 0, area::section_option()); ?>
<span class="hotspot" onmouseover="tooltip.show('对内容进行地区划分,可区别不同内容!');" onmouseout="tooltip.hide();">
		<img src="{$skin_path}/images/remind.gif" alt="" width="14" height="20"  style="margin-left:10px; margin-right:5px;">
		</span>
        </td>
    </tr>
    <tr>
        <td width="19%" align="right">专题</td>
        <td width="1%">&nbsp;</td>
        <td width="70%">
<?php echo form::select('spid',
        $data['spid'], special::option()); ?>
		<span class="hotspot" onmouseover="tooltip.show('将内容划分到不同专题内,可对不同内容进行区分!');" onmouseout="tooltip.hide();">
Example #2
0
echo form::select('search_typeid', get('search_typeid') ? get('search_typeid') : 0, type::option());
?>
            标题
            <input type="text" name="search_title" id="search_title" value="" style="width:140px;overflow:hidden;" />

            <input type="submit" value="搜索" name="submit"  onclick="this.form.action='<?php 
echo url::modify('table/' . get('table') . '/type/search');
?>
'" class="btn_e" />



            <div class="blank5"></div>
            地区
            <?php 
echo form::select('search_province_id', get('search_province_id') ? get('search_province_id') : 0, area::province_option());
?>
            <?php 
echo form::select('search_city_id', get('search_city_id') ? get('search_city_id') : 0, area::city_option(get('search_city_id')));
?>
            <?php 
echo form::select('search_section_id', get('search_section_id') ? get('search_section_id') : 0, area::section_option(get('search_section_id')));
?>
 <div class="blank5"></div>
            专题
            <?php 
echo form::select('search_spid', get('search_spid') ? get('search_spid') : 0, special::option());
?>
        </form>
</div>
$tag_config=$data['setting'];
?>


        <?php
        echo "<tr onmouseover=this.bgColor='#FFFFF0'; onmouseout=this.bgColor=''; bgcolor=''>";
        echo '<td width="19%" align="right">栏目<td width="1%">&nbsp;</td><td width="70%">'.form::select('catid', $tag_config['catid'], category::option());
        echo "</td></tr><tr onmouseover=this.bgColor='#FFFFF0'; onmouseout=this.bgColor=''; bgcolor=''>";
        echo '<td width="19%" align="right">子栏目<td width="1%">&nbsp;</td><td width="70%">'.form::select('son', $tag_config['son'], array("否","是"));
		echo "</td></tr><tr onmouseover=this.bgColor='#FFFFF0'; onmouseout=this.bgColor=''; bgcolor=''>";
        echo '<td width="19%" align="right">分类<td width="1%">&nbsp;</td><td width="70%">'.form::select('typeid', $tag_config['typeid'], type::option());
         echo "</td></tr><tr onmouseover=this.bgColor='#FFFFF0'; onmouseout=this.bgColor=''; bgcolor=''>";
        echo '<td width="19%" align="right">专题<td width="1%">&nbsp;</td><td width="70%">'.form::select('spid', $tag_config['spid'], special::option());
         echo "</td></tr><tr onmouseover=this.bgColor='#FFFFF0'; onmouseout=this.bgColor=''; bgcolor=''>";
        echo '<td width="19%" align="right">地区<td width="1%">&nbsp;</td><td width="70%">';
        echo form::select('province_id', $tag_config['province_id'], area::province_option());
        echo form::select('city_id', $tag_config['city_id'], area::city_option());
        echo form::select('section_id', $tag_config['section_id'], area::section_option());
         echo "</td></tr><tr onmouseover=this.bgColor='#FFFFF0'; onmouseout=this.bgColor=''; bgcolor=''>";
        echo '<td width="19%" align="right">标题截取字数<td width="1%">&nbsp;</td><td width="70%">';
        echo form::input('length', $tag_config['length'], 'class="input_c"');
		echo "</td></tr><tr onmouseover=this.bgColor='#FFFFF0'; onmouseout=this.bgColor=''; bgcolor=''>";
		echo '<td width="19%" align="right">简介截取字数<td width="1%">&nbsp;</td><td width="70%">';
        echo form::input('introduce_length', $tag_config['introduce_length'], 'class="input_c"').'-1:不限制 0:不调用';
        echo "</td></tr><tr onmouseover=this.bgColor='#FFFFF0'; onmouseout=this.bgColor=''; bgcolor=''>";
        echo '<td width="19%" align="right">排序方式<td width="1%">&nbsp;</td><td width="70%">';
        echo form::select('ordertype', $tag_config['ordertype'],
                array(
			'adddate-desc'=>'最新(按发布时间倒序)',
            'aid-desc'=>'最新(按aid倒序)',
            'aid-asc'=>'最早(按按aid顺序)',