📄 update_header_footer.php
字号:
<?
include "logincheck.php";
include_once "myconnect.php";
///////////////////////////////////////////////////////////////////////////////
/// THE CODE OF THIS SCRIPT HAS BEEN DEVELOPED BY SOFTBIZ SOLUTIONS /////
/// AND IS MEANT TO BE USED ON THIS SITE ONLY AND IS NOT FOR REUSE, /////
/// RESALE OR REDISTRIBUTION. /////
/// IF YOU NOTICE ANY VIOLATION OF ABOVE PLEASE REPORT AT: /////
/// admin@softbizscripts.com /////
/// http://www.softbizscripts.com /////
/// http://www.softbizsolutions.com /////
///////////////////////////////////////////////////////////////////////////////
if (!get_magic_quotes_gpc()) {
$header=str_replace('$', '\$',addslashes($_REQUEST["header"]));
$footer=str_replace('$', '\$',addslashes($_REQUEST["footer"]));
}
else
{
$header=str_replace('$', '\$',$_REQUEST["header"]);
$footer=str_replace('$', '\$',$_REQUEST["footer"]);
}
$id=$_REQUEST["id"];
$sql="update sbbleads_config set
sb_html_header='$header',
sb_html_footer='$footer'
where sb_id=$id";
mysql_query($sql);
header("Location:"."header_footer.php?msg=".urlencode("You have successfully updated header/ footer of the site"));
die();
///////////////////////////////////////////////////////////////////////////////
/// THE CODE OF THIS SCRIPT HAS BEEN DEVELOPED BY SOFTBIZ SOLUTIONS /////
/// AND IS MEANT TO BE USED ON THIS SITE ONLY AND IS NOT FOR REUSE, /////
/// RESALE OR REDISTRIBUTION. /////
/// IF YOU NOTICE ANY VIOLATION OF ABOVE PLEASE REPORT AT: /////
/// admin@softbizscripts.com /////
/// http://www.softbizscripts.com /////
/// http://www.softbizsolutions.com /////
///////////////////////////////////////////////////////////////////////////////
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -