Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Тимофей Семененко
/
shold.dev5.ashmanov.com
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b9b3128d
authored
Jul 29, 2017
by
Semenenko Timofey
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
regard local to repo
1 parent
6e62e315
Pipeline
#2809
for
b9b3128d
skipped
in 0 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
49 deletions
adminer.php
local/templates/main/footer.php
local/templates/main/header.php
adminer.php
deleted
100644 → 0
View file @
6e62e31
This diff could not be displayed because it is too large.
local/templates/main/footer.php
View file @
b9b3128
...
@@ -5,7 +5,7 @@ global $APPLICATION;
...
@@ -5,7 +5,7 @@ global $APPLICATION;
if
(
!
$APPLICATION
->
GetProperty
(
'HIDE_PAGE_CONTENT'
))
echo
'</div><!-- </div class="page-content"> -->'
;
if
(
!
$APPLICATION
->
GetProperty
(
'HIDE_PAGE_CONTENT'
))
echo
'</div><!-- </div class="page-content"> -->'
;
//})?>
//})?>
</
div
>
</
div
>
>
<?
if
(
isProduction
())
include
INCLUDE_PATH
.
'counters-before-footer.php'
?>
<?
if
(
isProduction
())
include
INCLUDE_PATH
.
'counters-before-footer.php'
?>
...
...
local/templates/main/header.php
View file @
b9b3128
<?
<?
regard
global
$APPLICATION
;
global
$APPLICATION
;
global
$USER
;
global
$USER
;
?><!DOCTYPE html>
?><!DOCTYPE html>
...
@@ -17,49 +17,49 @@ global $USER;
...
@@ -17,49 +17,49 @@ global $USER;
new
Date
().
getTime
(),
event
:
'gtm.js'
});
var
f
=
d
.
getElementsByTagName
(
s
)[
0
],
new
Date
().
getTime
(),
event
:
'gtm.js'
});
var
f
=
d
.
getElementsByTagName
(
s
)[
0
],
j
=
d
.
createElement
(
s
),
dl
=
l
!=
'dataLayer'
?
'&l='
+
l
:
''
;
j
.
async
=
true
;
j
.
src
=
j
=
d
.
createElement
(
s
),
dl
=
l
!=
'dataLayer'
?
'&l='
+
l
:
''
;
j
.
async
=
true
;
j
.
src
=
'https://www.googletagmanager.com/gtm.js?id='
+
i
+
dl
;
f
.
parentNode
.
insertBefore
(
j
,
f
);
'https://www.googletagmanager.com/gtm.js?id='
+
i
+
dl
;
f
.
parentNode
.
insertBefore
(
j
,
f
);
})(
window
,
document
,
'script'
,
'dataLayer'
,
'GTM-W9G6NXM'
);
</script>
})(
window
,
document
,
'script'
,
'dataLayer'
,
'GTM-W9G6NXM'
);
</script>
<!-- End Google Tag Manager -->
<!-- End Google Tag Manager -->
<script>
if (screen.width>768) document.write('<link rel="stylesheet" href="/css/main.css?
<?=
filemtime
(
BASE_PATH
.
'/css/main.css'
)
?>
" id="
pre_load
"
>
'
);
</script>
<script>
if (screen.width>768) document.write('<link rel="stylesheet" href="/css/main.css?
<?=
filemtime
(
BASE_PATH
.
'/css/main.css'
)
?>
" id="
pre_load
"
>
'
);
</script>
<script
src=
"/js/modernizr.js"
type=
"text/javascript"
async
></script>
<script
src=
"/js/modernizr.js"
type=
"text/javascript"
async
></script>
<?
<?
// if($USER && $USER->IsAdmin()) {
// if($USER && $USER->IsAdmin()) {
// $APPLICATION->ShowHead();
// $APPLICATION->ShowHead();
// } else {
// } else {
$APPLICATION
->
ShowMeta
(
'keywords'
,
false
,
true
);
$APPLICATION
->
ShowMeta
(
'keywords'
,
false
,
true
);
$APPLICATION
->
ShowMeta
(
'description'
,
false
,
true
);
$APPLICATION
->
ShowMeta
(
'description'
,
false
,
true
);
// }
// }
if
(
!
isProduction
())
echo
'<meta name="robots" content="none">'
;
if
(
!
isProduction
())
echo
'<meta name="robots" content="none">'
;
if
(
$APPLICATION
->
GetCurPage
()
==
'/projects/online/'
)
echo
'<meta name="robots" content="none">'
;
if
(
$APPLICATION
->
GetCurPage
()
==
'/projects/online/'
)
echo
'<meta name="robots" content="none">'
;
?>
?>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"57x57"
href=
"/img/fav/apple-touch-icon-57x57.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"57x57"
href=
"/img/fav/apple-touch-icon-57x57.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"114x114"
href=
"/img/fav/apple-touch-icon-114x114.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"114x114"
href=
"/img/fav/apple-touch-icon-114x114.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"72x72"
href=
"/img/fav/apple-touch-icon-72x72.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"72x72"
href=
"/img/fav/apple-touch-icon-72x72.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"144x144"
href=
"/img/fav/apple-touch-icon-144x144.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"144x144"
href=
"/img/fav/apple-touch-icon-144x144.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"60x60"
href=
"/img/fav/apple-touch-icon-60x60.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"60x60"
href=
"/img/fav/apple-touch-icon-60x60.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"120x120"
href=
"/img/fav/apple-touch-icon-120x120.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"120x120"
href=
"/img/fav/apple-touch-icon-120x120.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"76x76"
href=
"/img/fav/apple-touch-icon-76x76.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"76x76"
href=
"/img/fav/apple-touch-icon-76x76.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"152x152"
href=
"/img/fav/apple-touch-icon-152x152.png"
/>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"152x152"
href=
"/img/fav/apple-touch-icon-152x152.png"
/>
<link
rel=
"icon"
type=
"image/png"
href=
"/img/fav/favicon-196x196.png"
sizes=
"196x196"
/>
<link
rel=
"icon"
type=
"image/png"
href=
"/img/fav/favicon-196x196.png"
sizes=
"196x196"
/>
<link
rel=
"icon"
type=
"image/png"
href=
"/img/fav/favicon-96x96.png"
sizes=
"96x96"
/>
<link
rel=
"icon"
type=
"image/png"
href=
"/img/fav/favicon-96x96.png"
sizes=
"96x96"
/>
<link
rel=
"icon"
type=
"image/png"
href=
"/img/fav/favicon-128.png"
sizes=
"128x128"
/>
<link
rel=
"icon"
type=
"image/png"
href=
"/img/fav/favicon-128.png"
sizes=
"128x128"
/>
<meta
name=
"application-name"
content=
"Stroy House"
/>
<meta
name=
"application-name"
content=
"Stroy House"
/>
<meta
name=
"msapplication-TileColor"
content=
"#FFFFFF"
/>
<meta
name=
"msapplication-TileColor"
content=
"#FFFFFF"
/>
<meta
name=
"msapplication-TileImage"
content=
"/img/fav/mstile-144x144.png"
/>
<meta
name=
"msapplication-TileImage"
content=
"/img/fav/mstile-144x144.png"
/>
<meta
name=
"msapplication-square70x70logo"
content=
"/img/fav/mstile-70x70.png"
/>
<meta
name=
"msapplication-square70x70logo"
content=
"/img/fav/mstile-70x70.png"
/>
<meta
name=
"msapplication-square150x150logo"
content=
"/img/fav/mstile-150x150.png"
/>
<meta
name=
"msapplication-square150x150logo"
content=
"/img/fav/mstile-150x150.png"
/>
<meta
name=
"msapplication-wide310x150logo"
content=
"/img/fav/mstile-310x150.png"
/>
<meta
name=
"msapplication-wide310x150logo"
content=
"/img/fav/mstile-310x150.png"
/>
<meta
name=
"msapplication-square310x310logo"
content=
"/img/fav/mstile-310x310.png"
/>
<meta
name=
"msapplication-square310x310logo"
content=
"/img/fav/mstile-310x310.png"
/>
<!-- Facebook Pixel Code -->
<!-- Facebook Pixel Code -->
<script>
<script>
!
function
(
f
,
b
,
e
,
v
,
n
,
t
,
s
){
if
(
f
.
fbq
)
return
;
n
=
f
.
fbq
=
function
(){
n
.
callMethod
?
!
function
(
f
,
b
,
e
,
v
,
n
,
t
,
s
){
if
(
f
.
fbq
)
return
;
n
=
f
.
fbq
=
function
(){
n
.
callMethod
?
n
.
callMethod
.
apply
(
n
,
arguments
):
n
.
queue
.
push
(
arguments
)};
if
(
!
f
.
_fbq
)
f
.
_fbq
=
n
;
n
.
callMethod
.
apply
(
n
,
arguments
):
n
.
queue
.
push
(
arguments
)};
if
(
!
f
.
_fbq
)
f
.
_fbq
=
n
;
n
.
push
=
n
;
n
.
loaded
=!
0
;
n
.
version
=
'2.0'
;
n
.
queue
=
[];
t
=
b
.
createElement
(
e
);
t
.
async
=!
0
;
n
.
push
=
n
;
n
.
loaded
=!
0
;
n
.
version
=
'2.0'
;
n
.
queue
=
[];
t
=
b
.
createElement
(
e
);
t
.
async
=!
0
;
...
@@ -107,11 +107,11 @@ if ($APPLICATION->GetCurPage() == '/projects/online/') echo '<meta name="robots"
...
@@ -107,11 +107,11 @@ if ($APPLICATION->GetCurPage() == '/projects/online/') echo '<meta name="robots"
</span>
</span>
</form>
</form>
<?
<?
//26.04.2017 Hawks
//26.04.2017 Hawks
CModule
::
IncludeModule
(
'nurgush.mobiledetect'
);
CModule
::
IncludeModule
(
'nurgush.mobiledetect'
);
$detect
=
new
Nurgush\MobileDetect\Main
();
$detect
=
new
Nurgush\MobileDetect\Main
();
// Для мобыльных
// Для мобыльных
if
(
$detect
->
isMobile
()
&&
!
$detect
->
isTablet
()){
?>
if
(
$detect
->
isMobile
()
&&
!
$detect
->
isTablet
()){
?>
...
@@ -175,10 +175,10 @@ if ($APPLICATION->GetCurPage() == '/projects/online/') echo '<meta name="robots"
...
@@ -175,10 +175,10 @@ if ($APPLICATION->GetCurPage() == '/projects/online/') echo '<meta name="robots"
<?
return
ob_get_clean
();
<?
return
ob_get_clean
();
});
?>
});
?>
<?
$APPLICATION
->
AddBufferContent
(
function
()
{
<?
$APPLICATION
->
AddBufferContent
(
function
()
{
global
$APPLICATION
;
global
$APPLICATION
;
$result
=
''
;
$result
=
''
;
if
(
!
$APPLICATION
->
GetProperty
(
'HIDE_PAGE_CONTENT'
))
$result
.=
'<div class="page-content">'
;
if
(
!
$APPLICATION
->
GetProperty
(
'HIDE_PAGE_CONTENT'
))
$result
.=
'<div class="page-content">'
;
if
(
!
$APPLICATION
->
GetProperty
(
'HIDE_CENTRING_WRAP'
))
$result
.=
'<div class="centering">'
;
if
(
!
$APPLICATION
->
GetProperty
(
'HIDE_CENTRING_WRAP'
))
$result
.=
'<div class="centering">'
;
return
$result
;
return
$result
;
})
?>
\ No newline at end of file
\ No newline at end of file
})
?>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment