Esempio n. 1
0
            <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>


<form name="listform" id="listform"  action="<?php 
echo uri();
?>
" method="post">

<div style="float:right;width:190px;overflow:hidden;">
<input type="button" value="添加内容" onClick="javascript:location.href='<?php 
echo $base_url;
?>
/index.php?case=table&act=add&table=archive&admin_dir=<?php 
Esempio n. 2
0
<div id="tagscontent" class="right_box">

<form name="typeform" method="post" action="<?php echo front::$uri;?>">
<table border="0" cellspacing="0" cellpadding="0" name="table1" id="table1" width="100%">
<tbody>
<tr>
	<td width="19%" align="right">专题</span></td>
	<td width="1%">&nbsp;</td>
                        <td width="70%"><?php
	$archive=archive::getInstance();
	echo form::select('specialid',get('specialid'),special::option());
	?>
	&nbsp;&nbsp;
	<?php echo form::submit('更新');
	?>
    </td></tr></tbody>
</table>
</form>
</div>
Esempio n. 3
0
            <?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();">
		<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%">{form::getform('attr2',$form,$field,$data)}
		<span class="hotspot" onmouseover="tooltip.show('请填写大于0的数字型字符!');" 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>
Esempio n. 4
0
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="<?php 
echo $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();">
<img src="<?php 
echo $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::getform('attr2', $form, $field, $data);
?>
 */
$tplarray=include(ROOT.'/template/'.config::get('template_dir').'/tpltag/tag.config.php');
$tplarray=$tplarray['content'];
$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(