php h_time date m_time date day_today date mobile_contacts holiday_dat

  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
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<?php
$h_time = date('G');
$m_time = date('i');
$day_today = date('w');
$mobile_contacts = '';
$holiday_date = date('d-m');
$mobile_contacts = '<div style=" margin-bottom:-10px; margin-left:-15px; margin-top:-20px; width:220px; text-align:left; ">';
$contacts_salon = '';
//Дарынок
if ($h_time > 9 & $h_time < 20) {
$contacts_salon = $contacts_salon . '<img src="site_img/contacts/229_31_22_on.png" title="Ответят с 10:00 до 20:00" width="200" height="34">';
$contacts_salon = $contacts_salon . '<img src="site_img/contacts/362_09_69_on.png" title="Ответят с 10:00 до 20:00" width="200" height="34">';
$mobile_contacts .= '<img style="margin:0;" src="site_img/contacts/063_981_52_40_on.png" title="Ответят с 10:00 до 20:00">';
$mobile_contacts .= '<img style="margin:0;" src="site_img/contacts/050_526_70_04_on.png" title="Ответят с 10:00 до 20:00" >';
} else {
$contacts_salon = $contacts_salon . '<img src="site_img/contacts/229_31_22_off.png" title="Ответят с 10:00 до 20:00" width="200" height="34">';
$contacts_salon = $contacts_salon . '<img src="site_img/contacts/362_09_69_off.png" title="Ответят с 10:00 до 20:00" width="200" height="34">';
$mobile_contacts .= '<img src="site_img/contacts/063_981_52_40_off.png" title="Ответят с 10:00 до 20:00" >';
$mobile_contacts .= '<img src="site_img/contacts/050_526_70_04_off.png" title="Ответят с 10:00 до 20:00" >';
}
//Форум
if ($h_time > 9 & $h_time < 21) {
$contacts_salon = $contacts_salon . '<img src="site_img/contacts/361_42_52_on.png" title="Ответят с 10:00 до 21:00" width="200" height="34">';
$mobile_contacts .= '<img src="site_img/contacts/067_910_59_26_on.png" title="Ответят с 10:00 до 21:00" >';
} else {
$contacts_salon = $contacts_salon . '<img src="site_img/contacts/361_42_52_off.png" title="Ответят с 10:00 до 21:00" width="200" height="34">';
$mobile_contacts .= '<img src="site_img/contacts/067_910_59_26_off.png" title="Ответят с 10:00 до 21:00">';
}
//Аракс
if (($h_time > 9 & $h_time < 20) || ($h_time == 20 & $m_time < 31)) {
$contacts_salon = $contacts_salon . '<img src="site_img/contacts/353_26_53_on.png" title="Ответят с 10:00 до 20:30" width="200" height="34">';
} else {
$contacts_salon = $contacts_salon . '<img src="site_img/contacts/353_26_53_off.png" title="Ответят с 10:00 до 20:30" width="200" height="34">';
}
$mobile_contacts .= '</div>';
if ($holiday_date == "29-05") {
$contacts_salon = '';
$contacts_salon = $contacts_salon . '<img src="site_img/contacts/229_31_22_off.png" title="Ответят с 10:00 до 20:00" width="200" height="34">';
$contacts_salon = $contacts_salon . '<img src="site_img/contacts/361_42_52_on.png" title="Ответят с 10:00 до 21:00" width="200" height="34">';
$contacts_salon = $contacts_salon . '<img src="site_img/contacts/362_09_69_off.png" title="Ответят с 10:00 до 20:00" width="200" height="34">';
$contacts_salon = $contacts_salon . '<img src="site_img/contacts/353_26_53_off.png" title="Ответят с 10:00 до 20:30" width="200" height="34">';
$mobile_contacts = '<div style=" margin-bottom:-10px; margin-left:-15px; margin-top:-20px; width:220px; text-align:left; ">';
$mobile_contacts .= '<img style="margin:0;" src="site_img/contacts/095_729_20_10_on.png" title="Ответят с 10:00 до 20:00" >';
$mobile_contacts .= '<img style="margin:0;" src="site_img/contacts/063_947-99-63_on.png" title="Ответят с 10:00 до 20:00">';
$mobile_contacts .= '<img src="site_img/contacts/067_404_69_98_on.png" title="Ответят с 10:00 до 21:00" >';
$mobile_contacts .= '</div>';
}
?>
<!--Картинка логотип для google + start-->
<img style="display:none;" src="site_img/logo.png" width="250" height="250">
<!--Картинка логотип для google + end-->
<!--<div align="center" style="position: absolute; margin-top:120px; margin-left:40px; "><?php echo $mobile_contacts; ?><br />-->
<div align="center" style="position: absolute; margin-top:135px; margin-left:40px; "><?php echo $mobile_contacts; ?>
<br/>
<a style="position:relative; right:20px;" id="dop_okno" href="includes/trudno_dozvon.php"><img
src="../site_img/dozvon.gif" width="150" height="24"/></a></div>
<table width="100%" border="0" height="265" cellspacing="0" cellpadding="0">
<tr>
<td width="25%" valign="top">
<!-- <div id="logo" style=" position: absolute; z-index:5; margin-left:22px; margin-top:12px; "><a href="index.php"><img src="../site_img/logo_9_maya.png" width="249" height="81" /></a></div>-->
<!--
NEw year
<div style="position: relative; left:175px; top:5px; z-index:90;">
<div id="elka-vkl_1" style="position: absolute; display:none; z-index:91;"><img src="site_img/elka-vkl_1.png" width="97" height="123"></div>
<div id="elka-vkl_2" style="position: absolute; display:none; z-index:92;"><img src="site_img/elka-vkl_2.png" width="97" height="123"></div>
<div id="elka-vkl_3" style="position: absolute; display:none; z-index:93;"><img src="site_img/elka-vkl_3.png" width="97" height="123"></div>
<img src="site_img/elka-vukl.png" width="97" height="123"></div>
<div id="logo" style=" position:relative; bottom:125px; right:10px; "><a href="index.php"><img src="site_img/logo_new_year2.png" width="254" height="94"></a></div>
<?php
if (isset($_SESSION['new_year'])) {
echo '<div id="elka_tekst" style=" position:relative; bottom:125px; left:20px; "><img src="site_img/s_novim_godom.png" width="147" height="15" /></div>';
echo '<script language="javascript">var session_new_year=1;</script>';
} else {
echo '<div id="elka_tekst" style=" position:relative; bottom:130px; left:20px; ">Раз! ... Три! Ёлочка <input style="width:30px; " name="elka_otvet" type="text" value="..." /> !</div>';
echo '<script language="javascript">var session_new_year=0;</script>';
}
?>
-->
<!-- <div id="logo" style=" position:relative; bottom:125px; right:10px; "><a href="index.php"><img src="site_img/logo_new_year.png" width="223" height="83"></a></div>-->
<!-- <div style="position: relative; right:90px; top:-2px; z-index:9999;"><a id="dop_okno" href="euro_2012.php"><img src="site_img/child_evro.png" width="201" height="137"></a></div>-->
<div id="logo" style=" position: absolute; z-index:2; margin-left:22px; margin-top:12px; "><a
href="index.php"><img src="site_img/logo.gif" width="216" height="75"></a></div>
<!--<a href="index.php"><div style="position: relative; right:50px; top:15px; z-index:3; height:129px; width:159px;"><img style="margin-right:10px;" src="site_img/olimpiada.png" width="132" height="107"></div></a>-->
<!-- <div style="position: relative; right:50px; top:15px; z-index:3; height:129px; width:159px;"><img style="margin-right:10px;" src="site_img/valentin_day.png" width="132" height="107"></div>-->
<!-- <div style="position: relative; right:50px; top:15px; z-index:3; height:129px; width:159px;"><a title="Получи подарок!" href="http://www.mebel-baby.kiev.ua/mb_page_67.html"><img style="margin-right:10px;" src="site_img/podarok.png" width="132" height="107"></a></div> -->
<!-- <a href="index.php"><div style="position: relative; right:80px; top:30px; z-index:3; height:129px; width:159px;"><img style="margin-right:10px;" src="site_img/oslik.png" width="132" height="107"></div></a>-->
</td>
<td width="50%" valign="top" align="center">
<div id="show_admin"
style=" position: absolute; z-index:10000; margin-left:40px; width:30px; height:32px; "></div>
<div style="margin-top:10px; margin-bottom:5px;"><img src="site_img/title.png" width="325" height="23">
</div>
<!--
<div style="margin-top:5px; margin-bottom:5px;"><img src="site_img/title.png" width="325" height="23"></div>
<div style="position: absolute; top:18px; margin-left:20px; z-index:91;"><img src="site_img/Banner_Snow.png" width="439" height="48" /></div>-->
<div style="padding-left:45px;"> <?php include("plugins/slider.php"); ?></div>
</td>
<td width="25%" valign="top" align="center">
<div
style="background-image:url(site_img/bg_header_right.jpg); background-repeat:no-repeat; width:216px; height:220px; margin-top:8px;">
<!--<div style="position: absolute; top:-8px; margin-left:-10px; z-index:91;"><img src="../site_img/PhoneNumber_Snow.png" width="239" height="40" /></div>-->
<div align="center" style="position:relative; top:10px;">
<!--<img src="site_img/contacts.png" width="200" height="230">-->
<?php echo $contacts_salon ?>
<img src="site_img/contacts/adress.png" width="200" height="86">
</div>
</div>
</td>
</tr>
</table>
<div align="center">
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100"><a href="index.php">Главная</a></td>
<td width="100"><a href="<?php echo $mb_domen; ?>mb_page_1.html">О магазине</a></td>
<td width="100"><a href="<?php echo $mb_domen; ?>mb_page_2.html">Доставка</a></td>
<td width="100"><a href="<?php echo $mb_domen; ?>mb_page_6.html">Оплата</a></td>
<td width="100"><a href="<?php echo $mb_domen; ?>mb_page_5.html">Гарантия</a></td>
<td width="100"><a href="<?php echo $mb_domen; ?>mb_page_7.html">Кредит</a></td>
<td width="100"><a href="<?php echo $mb_domen; ?>show_comments_page_1_city_all.html">Отзывы</a></td>
<td width="100"><a href="<?php echo $mb_domen; ?>mb_page_4.html">Контакты</a></td>
<td width="100"><a href="<?php echo $mb_domen; ?>mb_article_all.html">Статьи</a></td>
</tr>
</table>
</div>