show_performance.php
来自「十大精典PHP项目开发全程案例+代码」· PHP 代码 · 共 43 行
PHP
43 行
<?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 + =
减小字号Ctrl + -
显示快捷键?