📄 soft_index.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);
}
)
</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=add" 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" /></td>
</tr>
<tr class="row">
<td class="align-right">软件图片:</td>
<td><input name="picture" type="file" id="picture" /></td>
</tr>
<tr class="row">
<td class="align-right">下载地址:</td>
<td><input name="filename" type="text" id="filename" size="50" /></td>
</tr>
<tr class="row">
<td class="align-right"> </td>
<td>
<input type="submit" class="btn" value=" 添 加 " />
</td>
</tr>
</table></form>
<div class="BlockBar">软件列表</div>
<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1">
<table border="0" cellpadding="1" cellspacing="1" class="tab">
<tr class="sub">
<td width="10%" class="align-center">编号</td>
<td width="21%" class="align-center">软件名</td>
<td width="23%" class="align-center">软件图片</td>
<td width="34%" class="align-center">下载地址</td>
<td width="12%" class="align-center">管理</td>
</tr>
<?php
if (count($this->soft) > 0){
foreach($this->soft as $row){?>
<tr class="row align-center">
<td ><?php echo $row['id'];?></td>
<td><?php echo $row['softname'];?></td>
<td><?php if($row['picture']){?><img src="<?php echo $this->basedir.$row['picture'];?>" width="100" /><?php }?></td>
<td><?php echo $row['filename'];?></td>
<td><a href="<?php echo $this->installdir;?>?mod=soft&action=modify&id=<?php echo $row['id'];?>">编辑</a> <a href="<?php echo $this->installdir;?>?mod=soft&action=delete&id=<?php echo $row['id'];?>">删除</a></td>
</tr>
<?php } }else{?>
<tr><td colspan="5"></td></tr>
<?php }?>
</table>
</form>
</div>
</td>
</tr>
</table>
<?php
echo $this->render('copyright');
?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -