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

📄 admin_skin.php

📁 泛微协同办公系统标准版E-office V5.5的源代码内含泛微办公系统V5.5自动注册文件。
💻 PHP
📖 第 1 页 / 共 2 页
字号:
		}
		else
		{
			$html .= "<td align='center' id='mgblue'><input type='checkbox' onClick='check_all(\"UPLO\")' name='UPLOAD_ALL' value='1'></td>\n";
		}
		$html .= "</tr>\n\t\t\t\t  <tr>\n\t\t\t\t  <td colspan='5'><br><b><u>或者</u> 在下面分别修改每个用户团队的的设置</b><br>&nbsp;</td>\n\t\t\t\t  </tr>\n\t\t\t\t  <tr>\n";
		$DB->query( "SELECT g_id, g_title FROM ibf_groups ORDER BY g_title ASC" );
		while ( $data = $DB->fetch_row( ) )
		{
			$html .= "<tr>\n\t\t\t\t\t\t<td align='right'><b>{$data['g_title']} &raquo;</b></td>\n";
			if ( $read == "*" )
			{
				$html .= "<td align='center' id='memgroup'>查看主题&nbsp;<input type='checkbox' name='READ_{$data['g_id']}' value='1' checked onclick=\"obj_checked(1)\"></td>";
			}
			else if ( preg_match( "/(^|,)".$data['g_id']."(,|\$)/", $read ) )
			{
				$html .= "<td align='center' id='memgroup'>查看主题&nbsp;<input type='checkbox' name='READ_{$data['g_id']}' value='1' checked onclick=\"obj_checked(1)\"></td>";
			}
			else
			{
				$html .= "<td align='center' id='memgroup'>查看主题&nbsp;<input type='checkbox' name='READ_{$data['g_id']}' value='1' onclick=\"obj_checked(1)\"></td>";
			}
			if ( $reply == "*" )
			{
				$html .= "<td align='center' id='mggreen'>回复主题&nbsp;<input type='checkbox' name='REPLY_{$data['g_id']}' value='1' checked onclick=\"obj_checked(2)\"></td>";
			}
			else if ( preg_match( "/(?:^|,)".$data['g_id']."(?:,|\$)/", $reply ) )
			{
				$html .= "<td align='center' id='mggreen'>回复主题&nbsp;<input type='checkbox' name='REPLY_{$data['g_id']}' value='1' onclick=\"obj_checked(2)\" checked></td>";
			}
			else
			{
				$html .= "<td align='center' id='mggreen'>回复主题&nbsp;<input type='checkbox' name='REPLY_{$data['g_id']}' value='1' onclick=\"obj_checked(2)\"></td>";
			}
			if ( $write == "*" )
			{
				$html .= "<td align='center' id='mgred'>发表主题&nbsp;<input type='checkbox' name='START_{$data['g_id']}' value='1' checked onclick=\"obj_checked(3)\"></td>";
			}
			else if ( preg_match( "/(?:^|,)".$data['g_id']."(?:,|\$)/", $write ) )
			{
				$html .= "<td align='center' id='mgred'>发表主题&nbsp;<input type='checkbox' name='START_{$data['g_id']}' value='1' checked onclick=\"obj_checked(3)\"></td>";
			}
			else
			{
				$html .= "<td align='center' id='mgred'>发表主题&nbsp;<input type='checkbox' name='START_{$data['g_id']}' value='1' onclick=\"obj_checked(3)\"></td>";
			}
			if ( $upload == "*" )
			{
				$html .= "<td align='center' id='mgblue'>文件上传&nbsp;<input type='checkbox' name='UPLOAD_{$data['g_id']}' value='1' checked onclick=\"obj_checked(4)\"></td>";
			}
			else if ( preg_match( "/(?:^|,)".$data['g_id']."(?:,|\$)/", $upload ) )
			{
				$html .= "<td align='center' id='mgblue'>文件上传&nbsp;<input type='checkbox' name='UPLOAD_{$data['g_id']}' value='1' checked onclick=\"obj_checked(4)\"></td>";
			}
			else
			{
				$html .= "<td align='center' id='mgblue'>文件上传&nbsp;<input type='checkbox' name='UPLOAD_{$data['g_id']}' value='1' onclick=\"obj_checked(4)\"></td>";
			}
			$html .= "</tr><tr><td colspan='5' style='height:3px; border-bottom:1px dashed black'>&nbsp;</td></tr>\n\n";
		}
		$html .= "</table>\n\n";
		return $html;
	}

	function add_subtitle( $title = "", $id = "subtitle", $colspan = "" )
	{
		if ( $colspan != "" )
		{
			$colspan = " colspan='{$colspan}' ";
		}
		return "\n<tr><td id='{$id}'".$colspan.">{$title}</td><tr>\n";
	}

	function start_table( $title = "", $desc = "" )
	{
		if ( $desc != "" )
		{
			$desc = "<br><span id='smalltitle'>&nbsp;&nbsp;&nbsp;&nbsp;{$desc}</span>";
		}
		if ( $title != "" )
		{
			$this->has_title = 1;
			$html .= "<tr>\n\t\t\t\t\t\t<td id='subtitle'>{$title} {$desc}</td>\n\t\t\t\t\t  <tr>\n\t\t\t\t\t  <td>\n\t\t\t\t\t  \t<table cellpadding='0' cellspacing='0' width='100%' align='center' border='0' id='tablewrap'>\n\t\t\t\t\t ";
		}
		$html .= "<tr>\n\t\t\t\t  <td>\n\t\t\t\t<table width='100%' cellspacing='1' cellpadding='0' align='center' border='0' id='table1'>\n\t\t\t\t <tr>\n\t\t\t\t  <td>\n\t\t\t\t   <table width='100%' cellspacing='2' cellpadding='3' align='center' border='0'>";
		if ( isset( $this->td_header[0] ) )
		{
			$html .= "<tr>\n";
			foreach ( $this->td_header as $td )
			{
				if ( $td[1] != "" )
				{
					$width = " width='{$td[1]}' ";
				}
				else
				{
					$width = "";
				}
				$html .= "<td id='tdtop'".$width."align='center'>{$td[0]}</td>\n";
				++$this->td_colspan;
			}
			$html .= "</tr>\n";
		}
		return $html;
	}

	function add_td_row( $array, $css = "" )
	{
		if ( is_array( $array ) )
		{
			$html = "<tr>\n";
			$count = count( $array );
			$this->td_colspan = $count;
			$i = 0;
			for ( ;	$i < $count;	++$i	)
			{
				$td_col = $i % 2 ? "tdrow2" : "tdrow1";
				if ( $css != "" )
				{
					$td_col = $css;
				}
				if ( is_array( $array[$i] ) )
				{
					$text = $array[$i][0];
					$colspan = $array[$i][1];
					$html .= "<td id='{$td_col}' colspan='{$colspan}' id='{$css}'>".$text."</td>\n";
				}
				else
				{
					$html .= "<td id='{$td_col}'>".$array[$i]."</td>\n";
				}
			}
			$html .= "</tr>\n";
			return $html;
		}
	}

	function add_td_basic( $text = "", $align = "left", $id = "tdrow1" )
	{
		$html = "";
		$colspan = "";
		if ( $text != "" )
		{
			if ( 0 < $this->td_colspan )
			{
				$colspan = " colspan='".$this->td_colspan."' ";
			}
			$html .= "<tr><td align='{$align}' id='{$id}'".$colspan.">{$text}</td></tr>\n";
		}
		return $html;
	}

	function add_td_spacer( )
	{
		if ( 0 < $this->td_colspan )
		{
			$colspan = " colspan='".$this->td_colspan."' ";
		}
		return "<tr><td".$colspan."><img src='html/sys-img/blank.gif' height='7' width='1'></td></tr>";
	}

	function end_table( )
	{
		$this->td_header = array( );
		if ( $this->has_title == 1 )
		{
			$this->has_title = 0;
			return "</table></td></tr></table></td></tr></table></td></tr>";
		}
		else
		{
			return "</table></td></tr></table></td></tr>";
		}
	}

	function get_css( )
	{
		return "<style type='text/css'>\n\t\t          \tTABLE, TR, TD     { font-family:Verdana, Arial;font-size: 12px; color:#000000; line-height:120% }\n\t\t\t\t\tBODY { scrollbar-face-color: #DEE3E7; scrollbar-highlight-color: #FFFFFF; scrollbar-shadow-color: #DEE3E7; scrollbar-3dlight-color: #D1D7DC; scrollbar-arrow-color:  #006699; scrollbar-track-color: #EFEFEF; scrollbar-darkshadow-color: #98AAB1; font: 12px Verdana; color:#333333 }\n\t\t\t\t\ta:link, a:visited, a:active  { color:#000055 }\n\t\t\t\t\ta:hover                      { color:#333377;text-decoration:underline }\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t#normal      { font: 12px Verdana; color:#333333 }\n\t\t\t\t\t\n\t\t\t\t\t#title  { font-size:12px; font-weight:bold; line-height:150%; color:#FFFFFF; height: 26px; background-image: url({$this->img_url}/tile_back.gif); }\n\t\t\t\t\t#title  a:link, #title  a:visited, #title  a:active { text-decoration: underline; color : #FFFFFF; font-size:12px }\n\t\t\t\t\t\n\t\t\t\t\t#detail { font-family: Arial; font-size:12px; color: #333333 }\n\t\t\t\t\t\n \t\t\t\t\t#large { font-family: verdana, arial; font-size:14px; color:#4C77B6; font-weight:bold; letter-spacing:-1px }\n \t\t\t\t\t\n\t\t\t\t\t#subtitle { font-family: Arial,Verdana; font-size:14px; color:#FF9900; font-weight:bold }\n\t\t\t\t\t#smalltitle { font-family: Arial,Verdana; font-size:12px; color:#FF9900; font-weight:bold }\n\t\t\t\t\t\n\t\t\t\t\t#table1 {  background-color:#FFFFFF; width:100%; align:center; border:1px solid black }\n\t\t\t\t\t\n\t\t\t\t\t#tdrow1 { background-color:#EEF2F7 }\n\t\t\t\t\t\n\t\t\t\t\t#subforum { background-color:#DFE6EF }\n\t\t\t\t\t\n\t\t\t\t\t#tdrow2 { background-color:#F5F9FD }\n\t\t\t\t\t\n\t\t\t\t\t#catrow { font-weight:bold; height:24px; line-height:150%; color:#4C77B6; background-image: url({$this->img_url}/tile_sub.gif); }\n\t\t\t\t\t#catrow2 { font-size:11px; font-weight:bold; line-height:150%; color:#4C77B6; background-color:#D3DFEF; }\n\t\t\t\t\t\n\t\t\t\t\t#tablewrap { border-top:2px solid #F5F9FD;border-left:2px solid #F5F9FD;border-bottom:2px solid #BCBCBC; border-right:2px solid #BCBCBC }\n\t\t\t\t\t\n\t\t\t\t\t#copy { color:#555555; font-size:12px }\n\t\t\t\t\t\n\t\t\t\t\t#nav { color:#000000; font-size:12px }\n\t\t\t\t\t\n\t\t\t\t\t#description { color:#000000; font-size:12px }\n\t\t\t\t\t\n\t\t\t\t\t#tdtop  { font-weight:bold; height:24px; line-height:150%; color:#FFFFFF; background-image: url({$this->img_url}/tile_back.gif); }\n\t\t\t\t\t\n\t\t\t\t\t#memgroup { border:1px solid #777777 }\n\t\t\t\t\t\n\t\t\t\t\t#mgred   { border:1px solid #777777; background-color: #f5cdcd }\n\t\t\t\t\t#mggreen { border:1px solid #777777; background-color: #caf2d9 }\n\t\t\t\t\t#mgblue  { border:1px solid #777777; background-color: #DFE6EF }\n\t\t\t\t\t\n\t\t\t\t\t#green    { background-color: #caf2d9 }\n\t\t\t\t\t#red      { background-color: #f5cdcd }\n\t\t\t\t\t\n\t\t\t\t\t#button   { background-color: #4C77B6; color: #FFFFFF; font-family:Verdana, Arial; font-size:12px }\n\t\t\t\t\t\n\t\t\t\t\t#editbutton   { background-color: #DDDDDD; color: #000000; font-family:Verdana, Arial; font-size:12px }\n\t\t\t\t\t\n\t\t\t\t\t#textinput { background-color: #FFFFFF; color:

⌨️ 快捷键说明

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