Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retypos-webclient
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
retypos-webclient
Commits
07cd44f5
You need to sign in or sign up before continuing.
Commit
07cd44f5
authored
Jun 11, 2012
by
Владислав Большаков
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
barbass: используем sessionStorage
parent
e2eb2ded
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
etersoft_typos.js
etersoft_typos.js
+5
-5
server.php
server.php
+0
-1
No files found.
etersoft_typos.js
View file @
07cd44f5
...
@@ -189,11 +189,11 @@ var ETY = {
...
@@ -189,11 +189,11 @@ var ETY = {
},
},
get_storage
:
function
(
key
)
{
get_storage
:
function
(
key
)
{
if
(
window
[
'
local
Storage'
]
!=
null
)
{
if
(
window
[
'
session
Storage'
]
!=
null
)
{
if
(
!
local
Storage
.
getItem
(
key
+
""
))
{
if
(
!
session
Storage
.
getItem
(
key
+
""
))
{
return
0
;
return
0
;
}
else
{
}
else
{
var
data
=
local
Storage
.
getItem
(
key
+
""
);
var
data
=
session
Storage
.
getItem
(
key
+
""
);
return
data
;
return
data
;
}
}
}
else
{
}
else
{
...
@@ -202,8 +202,8 @@ var ETY = {
...
@@ -202,8 +202,8 @@ var ETY = {
},
},
set_storage
:
function
(
key
,
data
)
{
set_storage
:
function
(
key
,
data
)
{
if
(
window
[
'
local
Storage'
]
!=
null
)
{
if
(
window
[
'
session
Storage'
]
!=
null
)
{
local
Storage
.
setItem
(
key
+
""
,
data
);
session
Storage
.
setItem
(
key
+
""
,
data
);
}
}
}
}
...
...
server.php
View file @
07cd44f5
...
@@ -86,7 +86,6 @@ try {
...
@@ -86,7 +86,6 @@ try {
}
}
if
(
$email_users
!==
0
)
{
if
(
$email_users
!==
0
)
{
try
{
try
{
//FIXED !!!удалить из таблицы поле email
$data
=
array
(
'NULL'
,
$email_users
[
0
][
'site'
],
$url
,
$error_text
,
$comment
,
0
);
$data
=
array
(
'NULL'
,
$email_users
[
0
][
'site'
],
$url
,
$error_text
,
$comment
,
0
);
$STH
=
$DBH
->
prepare
(
"INSERT INTO messages (id, id_site, link, error_text, comment, datetime, status) VALUES (?, ?, ?, ?, ?, DATE_FORMAT(NOW(), '%Y-%m-%d %H:%i:%s'), ?)"
);
$STH
=
$DBH
->
prepare
(
"INSERT INTO messages (id, id_site, link, error_text, comment, datetime, status) VALUES (?, ?, ?, ?, ?, DATE_FORMAT(NOW(), '%Y-%m-%d %H:%i:%s'), ?)"
);
$STH
->
execute
(
$data
);
$STH
->
execute
(
$data
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment