📄 ad.php
字号:
<?php
require_once 'common.php';
$thecontent=stripslashes($setting['adinfo']);
if ($submit1){
$db->query("update setting set val='$content' where variable='adinfo'");
$db->query("update setting set val='$adurl2' where variable='adurl'");
clearcache();
show("首页提示信息更新成功", 'ad.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="ad.php?type=<?=$type?>" method="post">
<table width="90%">
<tr>
<td colspan=2>
<span style="font-size: 14px; font-weight: bolder;">广告宣传信息</div>
</td>
</tr>
<tr>
<td colspan=2>
<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&Toolbar=Default" width="100%" height="200" frameborder="no" scrolling="no"></iframe>
</div>
</td>
</tr>
<tr>
<td class="label" valign="top">
广告链接:
</td>
<td>
<input name="adurl2" type="text" value="<?=$setting['adurl']?>" size="40" />
</td>
</tr>
<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 + -