本文整理汇总了PHP中form::images方法的典型用法代码示例。如果您正苦于以下问题:PHP form::images方法的具体用法?PHP form::images怎么用?PHP form::images使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类form
的用法示例。
在下文中一共展示了form::images方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: L
<th><?php
echo L('special_banner');
?>
:</th>
<td><?php
echo form::images('special[banner]', 'banner', '', 'special', '', 40);
?>
</td>
</tr>
<tr>
<th><?php
echo L('sepcial_thumb');
?>
:</th>
<td><?php
echo form::images('special[thumb]', 'thumb', '', 'special', '', 40, '', '', '', array(350, 350));
?>
</td>
</tr>
<tr>
<th><?php
echo L('special_intro');
?>
:</th>
<td><textarea name="special[description]" id="description" cols="50" rows="6"></textarea></td>
</tr>
<tr>
<th align="right" valign="top"><?php
echo L('ishtml');
?>
:</th>
示例2: L
<tr>
<td><?php echo L('listorder')?></td>
<td><input type="text" name="info[listorder]" class="input-text" size="5" value="<?php echo $listorder?>"></input></td>
</tr>
<tr>
<td><?php echo L('maxnum')?></td>
<td><input type="text" name="info[maxnum]" id="maxnum" class="input-text" size="5" value="<?php echo $maxnum?>"></input><?php echo L('posid_num')?></td>
</tr>
<tr>
<td><?php echo L('extention_name')?></td>
<td><input type="text" name="info[extention]" id="extention" class="input-text" size="30" value="<?php echo $extention?>"></input></td>
</tr>
<tr>
<td><?php echo L('上传对应图')?></td>
<td><?php echo form::images('info[thumb]', 'thumb', $info['thumb'], 'thumb','','30')?></td>
</tr>
</table>
<div class="bk15"></div>
<input name="dosubmit" type="submit" value="<?php echo L('submit')?>" class="dialog" id="dosubmit">
</form>
<div class="explain-col">
<?php echo L('position_tips')?><br/>
<?php echo L('extention_name_tips')?>
</div>
</div>
</div>
</body>
</html>
<script type="text/javascript">
示例3: L
<td width="100"><?php
echo L('posid_title');
?>
</td>
<td><input type="text" name="info[title]" class="input-text" value="<?php
echo $title;
?>
" id="title" size="40"></input></td>
</tr>
<tr>
<td><?php
echo L('posid_thumb');
?>
</td>
<td><?php
echo form::images('info[thumb]', 'thumb', $thumb, 'content');
?>
</td>
</tr>
<tr>
<td><?php
echo L('posid_inputtime');
?>
</td>
<td><?php
echo form::date('info[inputtime]', date('Y-m-d h:i:s', $inputtime), 1);
?>
</td>
</tr>
<tr>
示例4: L
<tr>
<th width="100"><?php
echo L('url');
?>
:</th>
<td><input type="text" name="link[url]" id="link_url"
size="30" class="input-text"></td>
</tr>
<tr id="logolink">
<th width="100"><?php
echo L('logo');
?>
:</th>
<td><?php
echo form::images('link[logo]', 'logo', '', 'link');
?>
</td>
</tr>
<tr>
<th width="100"><?php
echo L('username');
?>
:</th>
<td><input type="text" name="link[username]" id="link_username"
size="30" class="input-text"></td>
</tr>
<tr>
示例5: foreach
echo $cat['catdir'];
?>
' style='width:250px'></td>
<?php
}
?>
</tr>
<tr>
<?php
foreach ($batch_array as $catid => $cat) {
?>
<td><b><?php
echo L('catgory_img');
?>
£º</b><br><?php
echo form::images('info[' . $catid . '][image]', 'image' . $catid, $cat['image'], 'content', '', 23);
?>
</td>
<?php
}
?>
</tr>
<tr>
<?php
foreach ($batch_array as $catid => $cat) {
?>
<td><b><?php
echo L('description');
?>
£º</b><br><textarea name="info[<?php
echo $catid;
示例6: L
<li id="tab_setting_2" onclick="SwapTab('setting','on','',6,2);"><?php echo L('extend_setting')?></li>
</ul>
<div id="div_setting_1" class="contentList pad-10">
<table class="table_form" width="100%" cellspacing="0">
<tbody>
<tr>
<th width="200"><?php echo L('special_title')?>:</th>
<td><input name="special[title]" id="title" class="input-text" value="<?php echo new_html_special_chars($info['title']);?>" type="text" size="40"></td>
</tr>
<tr>
<th><?php echo L('special_banner')?>:</th>
<td><?php echo form::images('special[banner]', 'banner', $info['banner'], 'special', '', 40)?></td>
</tr>
<tr>
<th><?php echo L('sepcial_thumb')?>:</th>
<td><?php echo form::images('special[thumb]', 'thumb', $info['thumb'], 'special', '', 40, '', '', '', array(350, 350))?></td>
</tr>
<tr>
<th><?php echo L('special_intro')?>:</th>
<td><textarea name="special[description]" id="description" cols="50" rows="6"><?php echo $info['description'];?></textarea></td>
</tr>
<tr>
<th align="right" valign="top"><?php echo L('ishtml')?>:</th>
<td valign="top"><?php echo form::radio(array('1'=>L('yes'), '0'=>L('no')), $info['ishtml'], 'name="special[ishtml]"');?>
</td>
</tr>
<tr id="file_div" style="display:<?php if($info['ishtml']) {?> <?php } else {?>none<?php }?>;">
<th align="right" valign="top"><?php echo L('special_filename')?>:</th>
<td valign="top"><input type="text" name="special[filename]" id="filename" class="input-text"<?php if($info['ishtml']) {?> readonly<?php }?> value="<?php echo $info['filename']?>" size="20">
</td>
</tr>
示例7: L
<th><?php
echo L('catdir');
?>
:</th>
<td><input type="text" name="info[catdir]" id="catdir" class="input-text" value="<?php
echo $catdir;
?>
"></td>
</tr>
<tr>
<th><?php
echo L('catgory_img');
?>
:</th>
<td><?php
echo form::images('info[image]', 'image', $image, 'ask');
?>
</td>
</tr>
<tr>
<th><?php
echo L('description');
?>
:</th>
<td>
<textarea name="info[description]" maxlength="255" style="width:300px;height:60px;"><?php
echo $description;
?>
</textarea>
</td>
</tr>
示例8: L
<td><?php
echo L('extention_name');
?>
</td>
<td><input type="text" name="info[extention]" id="extention" class="input-text" size="30" value="<?php
echo $extention;
?>
"></input></td>
</tr>
<tr>
<td><?php
echo L('上传对应图');
?>
</td>
<td><?php
echo form::images('info[thumb]', 'thumb', $info['thumb'], 'thumb', '', '30');
?>
</td>
</tr>
</table>
<div class="bk15"></div>
<input name="dosubmit" type="submit" value="<?php
echo L('submit');
?>
" class="dialog" id="dosubmit">
</form>
<div class="explain-col">
<?php
echo L('position_tips');
?>
示例9: L
<tr>
<th width="100"><?php echo L('link_name')?>Б║</th>
<td><input type="text" name="link[name]" id="link_name"
size="30" class="input-text"></td>
</tr>
<tr>
<th width="100"><?php echo L('url')?>Б║</th>
<td><input type="text" name="link[url]" id="link_url"
size="30" class="input-text"></td>
</tr>
<tr id="logolink">
<th width="100"><?php echo L('logo')?>Б║</th>
<td><?php echo form::images('link[logo]', 'logo', '', 'link')?></td>
</tr>
<tr>
<th width="100"><?php echo L('username')?>Б║</th>
<td><input type="text" name="link[username]" id="link_username"
size="30" class="input-text"></td>
</tr>
<tr>
<th><?php echo L('web_description')?>Б║</th>
<td><textarea name="link[introduce]" id="introduce" cols="50"
rows="6"></textarea></td>
</tr>
示例10: L
</tr>
<tr>
<th width="100"><?php echo L('url')?>:</th>
<td><input type="text" name="link[url]" id="link_url"
size="30" class="input-text" value="<?php echo $url;?>"></td>
</tr>
<?php if($linktype==1){?>
<tr id="logolink">
<th width="100"><?php echo L('logo')?>:</th>
<td><?php echo form::images('link[logo]', 'logo', $info['logo'], 'link')?></td>
</tr>
<?php }else{?>
<tr id="logolink" style="display: none;">
<th width="100"><?php echo L('logo')?>:</th>
<td><?php echo form::images('link[logo]', 'logo', $info['logo'], 'link')?></td>
</tr>
<?php }?>
<tr>
<th width="100"><?php echo L('username')?>:</th>
<td><input type="text" name="link[username]" id="link_username"
size="30" class="input-text" value="<?php echo $username;?>"></td>
</tr>
<tr>
<th><?php echo L('web_description')?>:</th>
<td><textarea name="link[introduce]" id="introduce" cols="50"
rows="6"><?php echo $introduce;?></textarea></td>
</tr>
示例11: L
?>
</tr>
<tr>
<?php
foreach($batch_array as $catid=>$cat) {
?>
<td><b><?php echo L('catdir')?>:</b><br><input type='text' name='info[<?php echo $catid;?>][catdir]' id='catname' class='input-text' value='<?php echo $cat['catdir']?>' style='width:250px'></td>
<?php
}
?>
</tr>
<tr>
<?php
foreach($batch_array as $catid=>$cat) {
?>
<td><b><?php echo L('catgory_img')?>:</b><br><?php echo form::images('info['.$catid.'][image]', 'image'.$catid, $cat['image'], 'content','',23);?></td>
<?php
}
?>
</tr>
<tr>
<?php
foreach($batch_array as $catid=>$cat) {
?>
<td><b><?php echo L('description')?>:</b><br><textarea name="info[<?php echo $catid;?>][description]" maxlength="255" style="width:240px;height:40px;"><?php echo $cat['description'];?></textarea></td>
<?php
}
?>
</tr>
<tr>
<?php
示例12: L
//-->
</script>
<div class="pad_10">
<div class="common-form">
<form name="myform" action="?m=zl_admin&c=position&a=public_item_manage" method="post" id="myform">
<input type="hidden" name="posid" value="<?php echo $posid?>"></input>
<input type="hidden" name="modelid" value="<?php echo $modelid?>"></input>
<input type="hidden" name="id" value="<?php echo $id?>"></input>
<table width="100%" class="table_form">
<tr>
<td width="100"><?php echo L('posid_title')?></td>
<td><input type="text" name="info[title]" class="input-text" value="<?php echo $title?>" id="title" size="40"></input></td>
</tr>
<tr>
<td><?php echo L('posid_thumb')?></td>
<td><?php echo form::images('info[thumb]','thumb',$thumb,'content')?> </td>
</tr>
<tr>
<td><?php echo L('posid_inputtime')?></td>
<td><?php echo form::date('info[inputtime]', date('Y-m-d h:i:s',$inputtime), 1)?></td>
</tr>
<tr>
<td><?php echo L('posid_desc')?></td>
<td>
<textarea name="info[description]" rows="2" cols="20" id="description" class="inputtext" style="height:100px;width:300px;"><?php echo $description?></textarea>
</td>
</tr>
<tr>
<td><?php echo L('posid_syn')?></td>
<td>
示例13: L
<th width="200"><?php echo L('parent_category')?>:</th>
<td>
<?php echo form::select_category('category_content_'.$this->siteid,$parentid,'name="info[parentid]" id="parentid"',L('please_select_parent_category'),0,-1);?>
</td>
</tr>
<tr>
<th><?php echo L('catname')?>:</th>
<td><input type="text" name="info[catname]" id="catname" class="input-text" value="<?php echo $catname;?>"></td>
</tr>
<tr>
<th><?php echo L('catdir')?>:</th>
<td><input type="text" name="info[catdir]" id="catdir" class="input-text" value="<?php echo $catdir;?>"></td>
</tr>
<tr>
<th><?php echo L('catgory_img')?>:</th>
<td><?php echo form::images('info[image]', 'image', $image, 'content');?></td>
</tr>
<tr>
<?php if($changjia>0){//增加品牌时加载厂家?>
<tr>
<th>所属厂家:</th>
<td>
<select name="info[changjia]" id="changjia">
<?php
//foreach($changjia_arr as $v) {
echo $changjia_arr;
//}
//echo form::select($changjia_arr[0],'','name="info[changjia]" id="changjia" onchange="change_tpl(this.value)"',"请选择厂家");
?>
</select>
</td>
示例14: date
<div class="h_a">信息管理</div>
<form name="myform" action="{:U("Contents/Position/public_item_manage")}" method="post" class="J_ajaxForm">
<input type="hidden" name="posid" value="{$posid}"/>
<input type="hidden" name="modelid" value="{$modelid}"/>
<input type="hidden" name="id" value="{$id}"/>
<div class="table_full" style="overflow-x:hidden;">
<table width="100%" class="table_form">
<tr>
<th width="110">推荐位标题</th>
<td><input type="text" name="data[title]" class="input" value="{$data['title']}" id="title" size="40">
</input></td>
</tr>
<tr>
<th>推荐位图片</th>
<td><?php
echo form::images('thumb', 'thumb', $data['thumb'], 'content');
?>
</td>
</tr>
<tr>
<th>推荐时间</th>
<td><?php
echo Form::date('data[inputtime]', date('Y-m-d H:i:s', $data['inputtime']), 1);
?>
</td>
</tr>
<tr>
<th>描述</th>
<td><textarea name="data[description]" rows="2" cols="20" id="description" class="inputtext" style="height:200px;width:100%;">{$data['description']}</textarea></td>
</tr>
<tr>
示例15: L
<th><?php
echo L('copyfrom_url');
?>
:</th>
<td><input type="text" name="info[siteurl]" id="siteurl" size="25" value="<?php
echo $siteurl;
?>
"></td>
</tr>
<tr>
<th><?php
echo L('copyfrom_logo');
?>
:</th>
<td><?php
echo form::images('info[thumb]', 'thumb', $thumb, 'admin');
?>
</td>
</tr>
<input type="hidden" name="id" value="<?php
echo $id;
?>
">
<input type="submit" name="dosubmit" id="dosubmit" class="dialog" value=" <?php
echo L('submit');
?>
">
</table>
</form>
</div>