Server : nginx/1.22.1 System : Linux iZwz9daxib3w3i063fw434Z 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 User : www ( 1000) PHP Version : 5.6.40 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv Directory : /www/wwwroot/www.jkmold.com/phpcms/modules/banner/templates/ |
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header','admin');?> <style type="text/css"> .banner_table{ width:100%; } .banner_table tbody tr { border-bottom:1px solid #ddd; } .banner_table tbody tr td{ height:45px; } .banner_table tbody tr .td1{ width:10%; text-align:center; } .banner_table tbody tr .td2{ width:90% } .banner_table tbody tr .td2 input{ height:25px; } .banner_table tbody tr .td2 .txt{ width:30%; } #addsubmit{ width:120px; height:35px; background:red; color:#fff; border:0px; } </style> <form action="?m=banner&c=banner&a=banner_edit" method="post" id="myform"> <input type="hidden" value="<?php echo $siteid ?>" name="siteid" /> <input type="hidden" value="<?php echo $id ?>" name="info[id]" /> <div class="pad-10"> <table class="banner_table"> <tbody> <tr> <td class="td1">标题:</td> <td class="td2"><input type="text" name="info[title]" id="title" class="txt" maxlength="80" placeholder="标题" value="<?php echo $edit_list['title']?>" /></td> </tr> <tr> <td class="td1">链接:</td> <td class="td2"><input type="text" name="info[url]" id="url" class="txt" maxlength="500" placeholder="链接地址" value="<?php echo $edit_list['url']?>" /></td> </tr> <tr> <td class="td1">图片:</td> <td class="td2"> <script type="text/javascript" src="<?php echo JS_PATH?>content_addtop.js"></script> <script type="text/javascript" src="<?php echo JS_PATH?>swfupload/swf2ckeditor.js"></script> <?php $authkey = upload_key('1,jpg|pdf|gif|png|bmp,1,,,0'); ?> <input type="text" value="<?php echo $data['images']==''?$edit_list['thum']:$data['images'];?>" id="thumb" name="info[thum]" > <a onclick="flashupload('thumb_images', '附件上传','thumb',thumb_images,'1,jpg|pdf|gif|png|bmp,1,,,0','content','','<?php echo $authkey;?>');return false;" href="javascript:void(0);"> <img width="217" height="51" style="cursor:hand" id="thumb_preview" src="<?php echo $data['images']==""? IMG_PATH.'icon/upload-pic.png': $data['images'];?>"></a> <img src="<?php echo $edit_list['thum']?>" alt="" width="217" height="51" /> <input type="button" value="取消图片" onclick="$('#thumb_preview').attr('src','<?php echo IMG_PATH;?>icon/upload-pic.png');$('#thumb').val(' ');return false;" class="button" style="width: 66px;"> </td> </tr> <tr> <td class="td1">分类:</td> <td class="td2"> <select name="info[bannerid]" id="bannerid" > <option value="<?php echo $edit_list['bannerid'];?>"><?php echo $banner_title['title'];?></option> <?php foreach($banner_cates as $v): if($edit_list['bannerid']!=$v['bannerid']){ ?> <option value="<?php echo $v['bannerid'];?>"><?php echo $v['title'];?></option> <?php }?> <?php endforeach;?> </select> </td> </tr> <tr> <td class="td1">描述:</td> <td class="td2" style="height:70px"><textarea name="info[description]" id="description" rows="3" cols="50" placeholder="描述可以不填"><?php echo $edit_list['description']?></textarea></td> </tr> <tr> <td class="td1">状态:</td> <td class="td2"> <input type="radio" name="info[status]" id="status1" value="1" <?php echo $edit_list['status']==1?'checked':''?> /> 是 <input type="radio" name="info[status]" id="status2" value="0" <?php echo $edit_list['status']==0?'checked':''?>/> 否 </td> </tr> <tr> <td class="td1"> </td> <td class="td2"> <input type="submit" name="addsubmit" id="addsubmit" value="编辑" /> </td> </tr> </tbody> </table> </div> </form> </body> </html>