📄 soft_modify.tpl.php
字号:
<html>
<head>
<title>vodcms.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="../../images/admin/public.css" rel="stylesheet" type="text/css" />
<link href="../../images/admin/style.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->basedir;?>js/jquery.js" language="javascript"></script>
<script language="javascript">
$(document).ready(function() {
//setime(10);
}
)
function delfile(o, filename){
var parent = o.parentNode;
parent.innerHTML = '<input name="picture" type="file" id="picture" /><input name="delfile" type="hidden" id="delfile" value="'+filename+'" />';
}
</script>
<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr align="center" valign="top">
<td width="*" align="center" valign="top">
<!-- ######### begin ######### -->
<div class="Block">
<div class="BlockBar">修改软件信息</div>
<form action="<?php echo $this->installdir;?>?mod=soft&action=modify" method="post" enctype="multipart/form-data" name="form1" id="form1">
<table width="100%" border="0" cellpadding="1" cellspacing="1" class="tab">
<tr class="row">
<td width="12%" class="align-right">软件名称:</td>
<td width="88%"><input name="softname" type="text" id="softname" value="<?php echo $this->modify['softname'];?>" /></td>
</tr>
<tr class="row">
<td class="align-right">软件图片:</td>
<td> <?php
if ($this->modify['picture']){?>
<img src="<?php echo $this->basedir;?>
<?php echo $this->modify['picture'];?>" width="60" />
<input name="delete" type="button" value="更新图片" onclick="delfile(this, '<?php echo base64_encode(strrev($this->modify['picture']));?>')" /><?php }else{?>
<input name="picture" type="file" id="picture" /><?php }?></td>
</tr>
<tr class="row">
<td class="align-right">下载地址:</td>
<td><input name="filename" type="text" id="filename" size="50" value="<?php echo $this->modify['filename'];?>" /></td>
</tr>
<tr class="row">
<td class="align-right"> </td>
<td>
<input type="submit" class="btn" value=" 修 改 " /> <input name="Submit" type="button" class="btn" value="返回上一页" onclick="history.back()" /> </td>
</tr><input name="id" type="hidden" value="<?php echo $this->modify['id'];?>" />
</table></form>
</div>
</td>
</tr>
</table>
<?php
echo $this->render('copyright');
?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -