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

📄 bookmarklist.php

📁 泛微协同办公系统标准版E-office V5.5的源代码内含泛微办公系统V5.5自动注册文件。
💻 PHP
字号:
<?php

include( "inc/auth.php" );
echo "<html>\r\n<head>\r\n<title>标签管理</title>\r\n<link rel='stylesheet' type='text/css' href='../test.css'>\r\n";
echo "<s";
echo "cript language=\"javascript\">\r\nfunction ConfirmDel(FileUrl){\r\n\tif (confirm('是否确定删除该标签!')){\r\n\t\tlocation.href=FileUrl;\r\n\t}\r\n}\r\nfunction DoMenu(MenuValue){\r\n    location.href=MenuValue;\r\n    return true;\r\n}\r\n</script>\r\n</head>\r\n<body bgcolor=\"#ffffff\">\r\n<table border=\"0\" width=\"100%\" cellspacing=\"1\"  cellpadding=\"0\">\r\n   <tr class=\"tablehead1\">\r\n    <td ><img src=\"/images/workflow.gif\"  align=\"absm";
echo "iddle\">标签管理\r\n    </td>\r\n  </tr>\r\n</table>\r\n<hr size=1 color=\"#ffffff\">\r\n<table border=0  cellspacing='1' cellpadding='1' width=100% align=center class=\"small\">\r\n<tr class=\"TableHeader\">\r\n\t\t<td nowrap align=center  height=\"26\">编号</td>\r\n\t\t<td nowrap align=center >标签名称</td>\r\n\t\t<td nowrap align=center >标签说明</td>\r\n\t\t<td nowrap align=center >标签备注</td>\r\n\t\t<td nowrap align=center >操作</td>\r\n</tr>\r\n\t";
$connection = openconnection( );
$query = "select * from BookMarks order by BookMarkID desc";
$rs = exequery( $connection, $query );
$i = 0;
while ( $Row = mysql_fetch_array( $rs ) )
{
	if ( $i % 2 == 1 )
	{
		$TableLine = "TableLine1";
	}
	else
	{
		$TableLine = "TableLine2";
	}
	echo "\t<tr class=\"";
	echo $TableLine;
	echo "\">\r\n\t\t<td >";
	echo $Row['BookMarkID'];
	echo "&nbsp;</td>\r\n\t\t<td >";
	echo $Row['BookMarkName'];
	echo "&nbsp;</td>\r\n\t\t<td >";
	echo $Row['BookMarkDesc'];
	echo "&nbsp;</td>\r\n\t\t<td >";
	echo $Row['BookMarkText'];
	echo "&nbsp;</td>\r\n\t\t<td  width=148 nowrap>\r\n\t\t\t<input type=\"button\" onclick=\"javascript:location.href='BookMarkEditFrm.php?BookMarkID=";
	echo $Row['BookMarkID'];
	echo "';\" name=\"Edit\" value=\"修 改\" class=\"SmallInput\">\r\n\t\t\t<input type=button onclick=\"javascript:ConfirmDel('BookMarkDel.php?BookMarkID=";
	echo $Row['BookMarkID'];
	echo "');\" name=\"Del\" value=\" 删 除 \" class=\"SmallInput\">\r\n\t\t</td>\r\n\t</tr>\r\n       ";
	++$i;
}
echo "</table>\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

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