⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 copyfrom.tpl.php

📁 phpcms2007很好的cms内容管理系统,操作方便
💻 PHP
字号:
<?php 
defined('IN_PHPCMS') or exit('Access Denied');
include admintpl('header');
?>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
  <tr>
    <td></td>
  </tr>
</table>
<?php if($select) { ?>

	<table cellpadding="2" cellspacing="1" class="tableborder">
	  <tr>
		<th colspan=7>甯哥敤鏉ユ簮鍒楄〃</th>
	  </tr>
	<tr align="center">
	<td width="50" class="tablerowhighlight">ID</td>
	<td class="tablerowhighlight">鍚嶇О</td>
	<td width="80" class="tablerowhighlight">浣跨敤棰戠巼</td>
	<td width="80" class="tablerowhighlight">鏇存柊鏃ユ湡</td>
	</tr>
	<?php 
	if(is_array($copyfroms)){
		foreach($copyfroms as $copyfrom){
	?>
	<tr align="center" align="center" onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#BFDFFF'" bgColor='#F1F3F5' onclick="window.returnValue='<?=$copyfrom['name']?>|<?=$copyfrom['url']?>';window.close();" height="22" style="cursor:pointer">

	<td><?=$copyfrom['id']?></td>

	<td align="left" title="<?=$copyfrom['url']?>">&nbsp;<?=$copyfrom['name']?></td>
	<td><?=$copyfrom['hits']?></td>
	<td><?=$copyfrom['updatetime']?></td>
	</tr>
	<?php 
		}
	}
	?>
	</table>

<?php } else { ?>
	<table cellpadding="2" cellspacing="1" class="tableborder">
	  <tr>
		<th colspan=7><a href="?mod=<?=$mod?>&file=<?=$file?>&action=manage&keyid=<?=$keyid?>"><font color="white">鏉ユ簮绠$悊</font></a></th>
	  </tr>
	<form method="post" name='myform' action="?mod=<?=$mod?>&file=<?=$file?>&action=update&keyid=<?=$keyid?>">
	<input type="hidden" name="referer" value="<?=$referer?>">
	<tr align="center">
	<td width="50" class="tablerowhighlight">鍒犻櫎</td>
	<td width="50" class="tablerowhighlight">ID</td>
	<td class="tablerowhighlight">鍚嶇О</td>
	<td class="tablerowhighlight">鍦板潃</td>
	<td width="80" class="tablerowhighlight">浣跨敤棰戠巼</td>
	<td width="100" class="tablerowhighlight">鐐瑰嚮璁块棶</td>
	<td width="80" class="tablerowhighlight">鏇存柊鏃ユ湡</td>
	</tr>
	<?php 
	if(is_array($copyfroms)){
		foreach($copyfroms as $copyfrom){
	?>
	<tr align="center"  align=center onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#BFDFFF'" bgColor='#F1F3F5'>
	<td><input name='id[]' type='checkbox' id='id[]' value='<?=$copyfrom['id']?>'></td>
	<td><?=$copyfrom['id']?></td>
	<td align="left">&nbsp;<input size=25 name="name[<?=$copyfrom['id']?>]" type="text" value="<?=$copyfrom['name']?>"></td>
	<td align="left">&nbsp;<input size=30 name="url[<?=$copyfrom['id']?>]" type="text" value="<?=$copyfrom['url']?>"></td>
	<td><input size=8 name="hits[<?=$copyfrom['id']?>]" type="text" value="<?=$copyfrom['hits']?>"></td>
	<td align="left"><a href="<?=$copyfrom['url']?>" target="_blank"><?=$copyfrom['name']?></a></td>
	<td><?=$copyfrom['updatetime']?></td>
	</tr>
	<?php 
		}
	}
	?>
	</table>


	<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
	<tr>
	<td width="175"  align="center">
	<input name='chkall' type='checkbox' id='chkall' onclick='checkall(this.form)' value='checkbox'>鍏ㄩ儴閫変腑
	</td>
	<td>&nbsp;&nbsp;
	<input name='submit1' type='submit' value=' 鍒犻櫎閫変腑鏉ユ簮 ' onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=delete&keyid=<?=$keyid?>'" >&nbsp;&nbsp;
	<input type="submit" name="submit" value=" 鏇存柊鏉ユ簮淇℃伅 ">
	</td>
	</tr>
	</table>
	</form>

	<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0" class="tableBorder">
	<tr align="center">
	<form method="post" action="?mod=<?=$mod?>&file=<?=$file?>&action=add&keyid=<?=$keyid?>">
	<td class="tablerow">
	<input type="hidden" name="referer" value="<?=$referer?>">
	鍚嶇О锛

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -