log.php

来自「php网页设计」· PHP 代码 · 共 46 行

PHP
46
字号
<?include "include/db.php";include "include/authenticate.php";include "include/general.php";include "include/resource_functions.php";$ref=getvalescaped("ref","");include "include/header.php";?><div class="BasicsBox"><p><a href="view.php?ref=<?=$ref?>">&lt;&nbsp;<?=$lang["backtoresourceview"]?></a></p><h1><?=$lang["resourcelog"]?></h1></div><div class="Listview"><table border="0" cellspacing="0" cellpadding="0" class="ListviewStyle"><!--Title row-->	<tr class="ListviewTitleStyle"><td><?=$lang["date"]?></td><td><?=$lang["user"]?></td><td><?=$lang["action"]?></td><td><?=$lang["field"]?></td></tr><?$log=get_resource_log($ref);for ($n=0;$n<count($log);$n++)	{	?>	<!--List Item-->	<tr>	<td><?=$log[$n]["date"]?></td>	<td><?=$log[$n]["username"]?> (<?=$log[$n]["fullname"]?>)</td>	<td><?=$lang["log-" . $log[$n]["type"]]?></td>	<td><?=i18n_get_translated($log[$n]["title"])?></td>	</tr>	<?	}?></table></div><?include "include/footer.php";?>

⌨️ 快捷键说明

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