SourceCodeSky QQ客服 SourceCodeSky 400电话 客服电话 暂无
首页 » 源代码 » 帝国cms7.0_TAG静态化插件_简体GBK版 » /简体GBK版/upload/e/dongpo/tag/install/index.php

index.php ( 文件浏览 )

  • keepall 发布于 2016-12-09 21:17
  • 浏览次数:541
  • 下载次数: 3
  • 下载需 100 积分
  • 侵权举报
<?php
error_reporting(E_ALL ^ E_NOTICE);

@set_time_limit(10000);

define('EmpireCMSAdmin','1');
require('../../../class/connect.php');
require('../../../class/db_sql.php');
require('../../../class/functions.php');
$link=db_connect();
$empire=new mysqlquery();

//程序版本
$ver=file_exists('../../../config/config.php')?1:0;

//数据编码
$dbchar=$ver==1?$ecms_config['db']['dbchar']:$phome_db_dbchar;

//页面编码
$pagechar=$ver==1?$ecms_config['sets']['pagechar']:$phome_ecms_charver;

//插件名称
$ename='TAG静态化插件';


if(file_exists("install.off"))
{
    echo"安装程序已锁定。如果要重新安装,请删除<b>install.off</b>文件!";
    exit();
}

if($_GET['ecms']=="install")
{
    $phome_db_dbchar=$dbchar;
    $doinstall=$_GET['doinstall'];
    if($doinstall=='install')//安装操作
    {
        include('install.php');
        $word='已安装完毕!</br>建议您立即删除安装文件。';
    }
    elseif($doinstall=='uninstall')//卸载操作
    {
        include('uninstall.php');
        $word='已卸载完毕!';
    }
    echo $ename.$word;
    exit();
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$pagechar?>">
<title><?=$ename?> 安装/卸载程序</title>
<style>
a:link     { COLOR: #000000; TEXT-DECORATION: none }
a:visited   { COLOR: #000000 ; TEXT-DECORATION: none }
a:active   { COLOR: #000000 ; TEXT-DECORATION: underline }
a:hover    { COLOR: #000000 ; TEXT-DECORATION:underline }
.home_top { border-top:2px solid #4798ED; }
.home_path { background:#4798ED; padding-right:10px; color:#F0F0F0; font-size: 11px; }
td, th, caption { font-family:  "宋体"; font-size: 14px; color:#000000;  LINE-HEIGHT: 165%; }
.hrLine{MARGIN: 0px 0px; BORDER-BOTTOM: #807d76 1px dotted;}
</style>
<script>
function CheckUpdate(obj){
    if(confirm('确认操作?'))
    {
        obj.updatebutton.disabled=true;
        return true;
    }
    return false;
}
</script>
</head>
<body>
<form method="GET" action="index.php" name="formupdate" onsubmit="return CheckUpdate(document.formupdate);">
  <br>
  <br>
  <br>
  <table width="500" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#4FB4DE">
    <tr> 
      <td height="30" colspan="2"> <div align="center"><strong><font color="#FFFFFF"><?=$ename?> 安装/卸载程序</font></strong></div></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="141" height="36"> 
        <div align="right">选择操作:</div></td>
      <td width="344"> <input name="doinstall" type="radio" value="install" checked>
        安装 
        <input type="radio" name="doinstall" value="uninstall">
        卸载</td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="30"> 
        <div align="center"></div></td>
      <td> <input type=submit name=updatebutton value="提交操作"> <input name="ecms" type="hidden" id="ecms" value="install"> 
      </td>
    </tr>
  </table>
  </form>
  </body>
  </html>			
...
展开> <收缩

下载源码到电脑,阅读使用更方便

1 积分

快速下载
还剩0行未阅读,继续阅读
免费下载源码
Sponsored links

源码文件列表

温馨提示: 点击源码文件名可预览文件内容哦 ^_^
...
名称 大小 修改日期
/dp_funs6.6替换.php 41.06 KB 2014-11-12 10:08:00
/简体GBK版/TAG静态化插件 使用说明.rtf 11.58 KB 2014-05-15 10:33:48
/简体GBK版/upload/e/dongpo/tag/AddClass.php 4.21 KB 2014-05-14 14:58:20
/简体GBK版/upload/e/dongpo/tag/AddListInfo.php 6.23 KB 2014-05-14 18:59:44
/简体GBK版/upload/e/dongpo/tag/AddTag.php 6.05 KB 2014-05-15 08:08:20
/简体GBK版/upload/e/dongpo/tag/AddTagF.php 6.33 KB 2014-05-14 16:32:44
/简体GBK版/upload/e/dongpo/tag/do.php 3.29 KB 2014-05-15 16:34:06
/简体GBK版/upload/e/dongpo/tag/ListClass.php 3.63 KB 2014-05-15 07:47:16
/简体GBK版/upload/e/dongpo/tag/ListTagF.php 3.22 KB 2014-06-19 16:22:10
/简体GBK版/upload/e/dongpo/tag/ListTagInfo.php 4.85 KB 2014-05-14 19:01:38
/简体GBK版/upload/e/dongpo/tag/ListTags.php 7.31 KB 2014-05-15 09:48:34
/简体GBK版/upload/e/dongpo/tag/PushToTag.php 3.42 KB 2014-05-14 19:12:04
/简体GBK版/upload/e/dongpo/tag/setconfig.php 597 Bytes 2014-05-15 16:48:38
/简体GBK版/upload/e/dongpo/tag/TagHtml.php 7.10 KB 2014-05-14 22:15:52
/简体GBK版/upload/e/dongpo/tag/class/dp_config.php 300 Bytes 2014-05-14 12:08:10
/简体GBK版/upload/e/dongpo/tag/class/dp_funs.php 40.69 KB 2014-06-19 20:06:10
/简体GBK版/upload/e/dongpo/tag/install/index.php 2.81 KB 2014-05-14 12:15:32
/简体GBK版/upload/e/dongpo/tag/install/install.php 2.06 KB 2014-05-15 10:32:50
/简体GBK版/upload/e/dongpo/tag/install/uninstall.php 507 Bytes 2014-05-15 10:35:24
Sponsored links
正在加载中……

Switch to the English version?

Yes
SourceCodeSky 英文版
No
SourceCodeSky 中文版

完善个人资料,获价值¥30元积分奖励!