-
Notifications
You must be signed in to change notification settings - Fork 1
/
footer.php
68 lines (63 loc) · 2.5 KB
/
footer.php
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
/*
* Osclass – software for creating and publishing online classified
* advertising platforms
*
* Copyright (C) 2013 OSCLASS
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
?>
<footer>
<p>© Copyright 2012-2013, All Rights Reserved, playandbay.com</p>
</footer>
<div class="chose-langu">
<a class="search-btn" href="javascript:void(0)"></a>
<?php if ( osc_count_web_enabled_locales() > 1) {
$numb= osc_count_web_enabled_locales();
//echo 'osc_count_web_enabled_locales: '.;
?>
<?php $i = 0;
// echo '<br>$i: '.$i;
?>
<?php while ( $i< $numb) {
//echo '<br>$i: '.$i;
if($i==0){
?>
<a class="english-btn" href="<?php echo osc_change_language_url ( osc_get_locales()[$i]['pk_c_code'] ); ?>"><img src="<?php echo osc_current_web_theme_url('images/english-flag.png');?>" alt=" "></a>
<?php }elseif($i==1){?>
<a class="rusiian-btn" href="<?php echo osc_change_language_url ( osc_get_locales()[$i]['pk_c_code'] ); ?>"><img src="<?php echo osc_current_web_theme_url('images/russian-flag.png');?>" alt=" "></a>
<?php } ?>
<?php $i++; ?>
<?php }}?>
</div>
<?php $result = $_SERVER['REQUEST_URI'];
//echo '<br>$result '.$result;
if ($result!=='/user/items') { ?>
<div class="mask9" id="mask8"></div>
<div class="preloader9">
<div class="wraper" id="mask7">
<div class="dots">
</div>
</div>
</div>
<script type="text/javascript">
document.getElementById("mask7").style.display = 'block';
document.getElementById("mask8").style.display = 'block';
</script>
</div>
<?php } ?>
<!-- Drag and Drop -->
<?php osc_run_hook('footer'); ?>
</body></html>