-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathread.php
More file actions
32 lines (27 loc) · 782 Bytes
/
Copy pathread.php
File metadata and controls
32 lines (27 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* Created by PhpStorm.
* User: TreeNewBeee
* Date: 2017-05-21
* Time: 10:15
* Description: 用于响应对已读新消息的处理。
* Upper Page: newMSG.php
*/
session_start();
$username = $_SESSION['username'];
$authorityCode = $_SESSION['authorityCode'];
$branch = $_GET['branch'];
$title = $_GET['title'];
$type = $_GET['type'];
$status = $_GET['status'];
$ask = true;
if ($ask){
echo "<script>
if(confirm( '是否确认处理?'))
location.href='confirm.php?branch={$branch}&title={$title}&type={$type}&status={$status}';
else location.href='newMSG.php?branch={$branch}';
</script>";
$ask = false;
}else{
echo "<script> location.href='newMSG.php?branch={$branch}'</script>";
}