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

📄 show_performance.php

📁 十大精典PHP项目开发全程案例+代码
💻 PHP
字号:
<?php
	session_start(); 
	include "../conn/conn.php";
	if($_GET[action] == "t")
		$sqlstr = "select * from tb_plan where (p_type = 21 or p_type = 22) and p_id = ".$_GET[p_id];
	else if($_GET[action] == "m")
		$sqlstr = "select * from tb_plan where (p_type>=18 and  p_type <= 20) and p_id = ".$_GET[p_id];
	$result = mysql_query($sqlstr,$conn);
?>
<link rel="stylesheet" href="../css/style.css" />
<table border="1" cellpadding="0" cellspacing="0" class="big_td" >
<?php
if($rows = mysql_fetch_array($result)){
?>
	<tr>
		<td height="30"><?php echo substr($rows[1],0,50)."........."; ?></td>
		<td>
			<a href="#" onclick="javascript:openWin=open('show_plan.php?id=<?php echo $rows[0]; ?>' ,'','width=300,height=200,scrollbars=no');">查看全文</a>
		</td>
		<td width="30" align="center" valign="middle"><a href="del_plan_chk.php?id=<?php echo $rows[0]; ?>">删除</a></td>
	</tr>
<?
	while($rows = mysql_fetch_array($result)){
?>
	<tr>
		<td height="30"><?php echo substr($rows[1],0,50)."........."; ?></td>
		<td>
		<a href="#" onclick="javascript:openWin=open('show_plan.php?id=<?php echo $rows[0]; ?>' ,'','width=300,height=200,scrollbars=no');">查看全文</a>
		</td>
		<td height="30" align="center" valign="middle"><a href="del_plan_chk.php?id=<?php echo $rows[0]; ?>">删除</a></td>
	</tr>
<?php
	}
}else{
?>
	<tr>
		<td height="30">暂无业绩</td>
	</tr>
<?php
}
?>
</table>

⌨️ 快捷键说明

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