该函数的功能是在操作成功后显示跳转的页面,该页面会有提示操作的面板。函数代码如下:
广州网站设计
- //成功跳转页面
- function isok($isok){
- $output="<html>
- <head>
- <head>
- <link rel=\"stylesheet\" href=\"css/style.css\">
- <table cellspacing=1 cellpadding=3 width=55% bgcolor=\"#000000\" class=
- \"fonts\" align=\"center\">
- <tr bgcolor=\"#9999ff\">
- <td height=\"11\" align=\"center\" bgcolor=\"#999999\" class=\
- "mycss\">
- <div align=\"left\"> 系统消息:成功!</div>
- </td>
- </tr>
- <tr>
- <td align=\"center\" bgcolor=\"#FFFFFF\" class=\"mycss\">
- <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=
- \"3\">
- <tr>
- <br>
- <td colspan=\"2\"><font color=\"red\">".$isok."</font>
- <p><a href=\"index.php\">返回管理首页
- </a></p><p><a href=\"add.php\">添加新的广告代码
- </a></p>
- </td>
- </tr></table>
- </table>";
- echo $output;
- exit;
- }
【代码解读】



