コード例 #1
0
<?php

require "needlogin.php";
require "mysql.php";
$alivecheck = easymysql_select('sysinfo', array('key' => 'checkproxy'));
if ($alivecheck['value'] == 'free') {
    easymysql_update('proxy', array(), array('checktoken' => 0));
    easymysql_update('sysinfo', array('key' => 'checkproxy'), array('value' => 'check'));
}
header("Location: index.php");
コード例 #2
0
ファイル: taskdelete.php プロジェクト: qq505916481/cloudcc
<?php

require "needlogin.php";
require "mysql.php";
easymysql_update('task', array("id" => $_GET['id']), array("waitdelete" => 1));
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>操作完成!</title>

    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="signin.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy this line! -->
    <!--[if lt IE 9]><script src="http://bootstrap.evget.com/assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>