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

📄 notice.php

📁 P流量放大程序
💻 PHP
字号:
<?php

require_once 'common.php';

if($type==2){
  $linkstr="已达IP标准时显示的信息  &nbsp; -  &nbsp; <span style=\"font-size: 12px; color: #CCCCCC;\"><a style=\"color: #0033cc;\" href=\"notice.php?type=1\">未达IP标准时显示的信息</a></span>";
  $thecontent=stripslashes($setting['privatemessage']);
}else{
   $linkstr="未达IP标准时显示的信息  &nbsp; -  &nbsp;<span style=\"font-size: 12px;\"><a href=\"notice.php?type=1\"> <a style=\"color: #0033cc;\" href=\"notice.php?type=2\">已达IP标准时显示的信息</a></span>";
   $thecontent=stripslashes($setting['publicmessage']);
}
if ($submit1){
  if($type==2) {
     $db->query("update setting set val='$content' where variable='privatemessage'");
  }else{
     $db->query("update setting set val='$content' where variable='publicmessage'");
  }
   clearcache();
   show("首页提示信息更新成功", 'notice.php?type='.$type, '现在将返回');

}

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>广告管理系统 - 首页提示信息 </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<link href="styles/general.css" rel="stylesheet" type="text/css" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<body>
<h1>
<span>后台管理  - 首页提示信息 </span>
</h1>
 <div id="tabbody-div">
    <form enctype="multipart/form-data" name="theForm" action="notice.php?type=<?=$type?>" method="post">
        <table width="90%">
            <tr>
        <td>
        </td>
</tr>
	   <tr>
        <td>
	<div style="border: solid 1px #003366"><input type="hidden" id="content" name="content" value='<?=$thecontent?>' style="display:none" />
<input type="hidden" id="content___Config" value="" style="display:none" /><iframe id="content___Frame" src="../images/editor/editor/fckeditor.html?InstanceName=content&amp;Toolbar=Default" width="100%" height="400" frameborder="no" scrolling="no"></iframe>
</div>

                            </td>
      </tr>

                </table>
	
    <div class="button-div">
      <input name="submit1" type="submit" value=" 确定 " class="button" />
      <input name="reset" type="reset" value=" 重置 " class="button" />
    </div>
    </form>
  </div>

⌨️ 快捷键说明

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