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

📄 temp_chose.php

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

include_once( "inc/auth.php" );
include_once( "inc/conn.php" );
include_once( "inc/function_page_01.php" );
include_once( "inc/utility_sms1.php" );
echo "\r\n<html>\r\n<head>\r\n<title>登陆页定义</title>\r\n\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n";
echo "<S";
echo "CRIPT language=javascript src=\"/inc/common.js\"></SCRIPT>\r\n";
echo "<S";
echo "CRIPT language=javascript src=\"/inc/follow.js\"></SCRIPT>\r\n";
echo "<S";
echo "CRIPT language=javascript src=\"/inc/prototype.js\"></SCRIPT>\r\n";
echo "<s";
echo "cript>\r\nfunction selectIndex(url,par){\r\n\tqueryString = par;\r\n\tnew Ajax.Request\r\n\t(\r\n\t\turl,\r\n\t\t{\r\n\t\t\tmethod: \"post\",\t\r\n\t\t\tonSuccess : function(resp)\r\n\t\t\t\t\t\t{\r\n\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t},\r\n\t\t\tonFailure : function()\r\n\t\t\t\t\t\t{\r\n\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t},\r\n\t\t\tparameters : queryString\r\n\t\t}\r\n\t);\r\n\r\n}\r\n\r\n\r\n\r\nfunction returnBack(url,par){\r\n\tqueryString = par;\r\n\tnew Ajax.Request\r\n\t(\r\n\t\turl,\r\n\t\t{\r\n\t\t\tmethod: \"post\",\t\r\n\t\t\ton";
echo "Success : function(resp)\r\n\t\t\t\t\t\t{\r\n\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t},\r\n\t\t\tonFailure : function()\r\n\t\t\t\t\t\t{\r\n\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t},\r\n\t\t\tparameters : queryString\r\n\t\t}\r\n\t);\r\n\r\n}\r\n\r\nfunction openWFullSr(redirectUrl){\r\n\tvar width = screen.width ;\r\n\tvar height = screen.height ;\r\n\tif (height == 768 ) height -= 75 ;\r\n\tif (height == 600 ) height -= 60 ;\r\n\tvar szFeatures = \"top=0,\" ; \r\n\tszFeatures +=\"left=0,\" ;\r\n\tszFeatures +";
echo "=\"width=\"+width+\",\" ;\r\n\tszFeatures +=\"height=\"+height+\",\" ; \r\n\tszFeatures +=\"directories=no,\" ;\r\n\tszFeatures +=\"status=yes,\" ;\r\n\tszFeatures +=\"menubar=no,\" ;\r\n\r\n\tif (height <= 600 ) szFeatures +=\"scrollbars=yes,\" ;\r\n\telse szFeatures +=\"scrollbars=no,\" ;\r\n\r\n\tszFeatures +=\"resizable=yes\" ; //channelmode\r\n\r\n\twindow.open(redirectUrl,\"\",szFeatures);\r\n\r\n}\r\n</script>\r\n</head>\r\n<body class=\"bodycolor\" topmarg";
echo "in=\"5\">\r\n<table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\">\r\n\t<tr class=\"tablehead1\">\r\n\t\t<td><img src=\"/images/manage/news.gif\" align=\"absmiddle\">登陆页面编辑</td>\r\n\t</tr>\r\n\t<tr class=\"tablehead2\">\r\n\t\t<td><BUTTON class=\"btn\" onClick=\"location='temp_new.php';\" title=\"新建摸板\"><table><tr valign=\"top\" ><td><img src=\"/images/littlegif/b_u.gif\" align=\"center\"></td> <td>";
echo "<s";
echo "pan id=\"showallid\">新建摸板</span></td></tr></table></BUTTON>\r\n\t\t<BUTTON class=\"btn\" onClick=\"location='set_logo.php';\" title=\"LOGO设置\"><table><tr valign=\"top\" ><td><img src=\"/images/littlegif/b_u.gif\" align=\"center\"></td> <td>";
echo "<s";
echo "pan id=\"showallid\">LOGO设置</span></td></tr></table></BUTTON> </td>\r\n\t</tr>\r\n</table>\r\n";
$sql = "select * from `index_temp` order by INDEX_TEMPID DESC ";
$result = exequery( $connection, $sql );
echo "\r\n<form id=\"form1\" name=\"form1\" method=\"post\" action=\"#\">\r\n<table border=\"0\" cellspacing=\"1\" width=\"100%\" cellpadding=\"5\" class=\"small\">\r\n\r\n";
while ( $row = mysql_fetch_array( $result ) )
{
	++$count;
	$tempid = $row[0];
	$tempname = $row[1];
	$tempsatus = $row[2];
	if ( $count % 2 == 1 )
	{
		$TableLine = "TableLine1";
	}
	else
	{
		$TableLine = "TableLine2";
	}
	echo "<tr class=\"";
	echo $TableLine;
	echo "\">\r\n<td align=\"center\" width=\"10%\">\r\n\r\n<input type=\"radio\" name = \"tempid\" style=\"\"  value = \"";
	echo $tempid;
	echo "\" ";
	if ( $tempsatus == 1 )
	{
		echo "checked='checked'";
	}
	echo " onClick=\"selectIndex('temp_update.php','tempid=";
	echo $tempid;
	echo "')\">\r\n\r\n</td>\r\n<td>";
	echo $tempname;
	echo "</td>\r\n<td>\r\n";
	if ( $tempid == 11 )
	{
		echo "<a href=\"#\" onClick=\"openWFullSr('login_index.php?tempid=11')\">编辑</a> <a href=\"#\" onClick=\"if(window.confirm('是否恢复默认设置?')){returnBack('temp_return.php','tempid=11')}\">恢复默认</a>";
	}
	else
	{
		echo "<a href=\"#\" onClick=\"openWFullSr('login_index.php?tempid=";
		echo $tempid;
		echo "')\">编辑</a> <a href=\"#\" onClick=\"if(window.confirm('是否删除?')){location='temp_del.php?tempid='+";
		echo $tempid;
		echo ";}\">删除</a></td>\r\n</tr>\r\n";
	}
}
if ( $count % 2 == 1 )
{
	$TableLinex = "TableLine2";
}
else
{
	$TableLinex = "TableLine1";
}
echo "\r\n<tr class=\"";
echo $TableLinex;
echo "\">\r\n";
$sql1 = "select max(INDEX_SATUS) from `index_temp`";
$result1 = exequery( $connection, $sql1 );
$row1 = mysql_fetch_array( $result1 );
$maxsatus = $row1[0];
echo "<td align=\"center\" width=\"10%\"><input type=\"radio\" name = \"tempid\" style=\"\"  value = \"\" ";
if ( $maxsatus == 0 )
{
	echo "checked='checked'";
}
echo " onClick=\"selectIndex('temp_update.php','oldtemp=1')\"></td>\r\n<td> 旧模板登陆界面</td>\r\n<td><a href=\"#\" onClick=\"window.location.href='index.php'\">编辑</a></td>\r\n</tr>\r\n<thead class=\"TableHeader\">\r\n<td>启用</td>\r\n<td>界面名称</td>\r\n<td>操作</td>\r\n</thead>\r\n</table>\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

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