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
1252d405
You need to sign in or sign up before continuing.
Commit
1252d405
authored
May 11, 2012
by
Владислав Большаков
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
barbass: исправлены опечатки
parent
5ae9cdce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
etersoft_typos2.js
etersoft_typos2.js
+1
-1
server.php
server.php
+2
-2
typos.gif
typos.gif
+0
-0
No files found.
etersoft_typos2.js
View file @
1252d405
...
@@ -14,7 +14,7 @@ window.document.onkeydown = function(e) {
...
@@ -14,7 +14,7 @@ window.document.onkeydown = function(e) {
var
ETY
=
{
var
ETY
=
{
time
:
0
,
//время последнего запроса
time
:
0
,
//время последнего запроса
server_url
:
"http://barbass.pubsandbox.eterhost.ru/typos/server
2
.php"
,
server_url
:
"http://barbass.pubsandbox.eterhost.ru/typos/server.php"
,
control_panel
:
function
()
{
control_panel
:
function
()
{
if
(
document
.
getElementById
(
"e_typos_div"
).
style
.
display
==
"block"
)
{
if
(
document
.
getElementById
(
"e_typos_div"
).
style
.
display
==
"block"
)
{
...
...
server.php
View file @
1252d405
...
@@ -72,7 +72,7 @@ if (check_header() === 0 || get_ip() === 0) {
...
@@ -72,7 +72,7 @@ if (check_header() === 0 || get_ip() === 0) {
try
{
try
{
$query_emails
=
"SELECT r.id_site AS site, u.email AS email
$query_emails
=
"SELECT r.id_site AS site, u.email AS email
FROM users AS u, responsible AS r
FROM users AS u, responsible AS r
WHERE
u
.id IN (
WHERE
r
.id IN (
SELECT r.id
SELECT r.id
FROM responsible AS r
FROM responsible AS r
JOIN sites AS s
JOIN sites AS s
...
@@ -97,7 +97,7 @@ try {
...
@@ -97,7 +97,7 @@ try {
echo
(
$ajax_mess
);
echo
(
$ajax_mess
);
exit
;
exit
;
}
}
if
(
count
(
$email_users
)
!
=
0
)
{
if
(
$email_users
!=
=
0
)
{
try
{
try
{
$data
=
array
(
'NULL'
,
$email_users
[
0
][
'site'
],
$url
,
$error_text
,
$email
,
$comment
,
0
);
$data
=
array
(
'NULL'
,
$email_users
[
0
][
'site'
],
$url
,
$error_text
,
$email
,
$comment
,
0
);
$STH
=
$DBH
->
prepare
(
"INSERT INTO messages (id, id_site, link, error_text, email, 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, email, comment, datetime, status) VALUES (?, ?, ?, ?, ?, ?, DATE_FORMAT(NOW(), '%Y-%m-%d %H:%i:%s'), ?)"
);
...
...
typos.gif
0 → 100644
View file @
1252d405
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