statics.tpl
3.54 KB
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
<div class="title3 mt mb"><div class="l"><div class="r"><h2>{$rules_info_one.name}</h2></div></div></div>
<div class="itemsbox">
{$statics_one.text|stripslashes}
{if $rules_info_one.action eq "shops"}
<script src="http://maps.google.com/maps?file=api&v=2&hl=ru&key=ABQIAAAAtkNgCC6QZG59vEiUw-bydBRskSqpP3-7vGsKZrIwtFlfnp35rxSm5fl7uMyXeSEvHv6JTs4mMRMc4Q"
type="text/javascript"></script>
<script src="{$smarty.const.URL}js/gmaps.js" type="text/javascript"></script>
<body alink="black" link="black" vlink="black" onload="load()" onunload="GUnload()">
<center><div id="map" class="map" style="width: 750px; height: 400px;margin-top:5px;"></div></center>
{/if}
{if $rules_info_one.action eq "sites"}
<div align="center"><a href="{$smarty.const.URL}site_equest/"><img src="{$smarty.const.URL}img/button_pac4et_s.gif" width="216" height="77" /></a></div>
{elseif $rules_info_one.action eq "site_portals"}
<div align="center"><a href="{$smarty.const.URL}site_equest/"><img src="{$smarty.const.URL}img/button_pac4et_p.gif" width="216" height="77" /></a></div>
{elseif $rules_info_one.action eq "sites_shops"}
<div align="center"><a href="{$smarty.const.URL}site_equest/"><img src="{$smarty.const.URL}img/button_pac4et_m.gif" width="216" height="77" /></a></div>
{/if}
{section name=i loop=$rooms}
<table cellpadding="2" cellspacing="0"><tr>
{if $rooms[i].pic}<td><a href="{$smarty.const.URL}{$rules_info_one.action}/{$rooms[i].id}/"><img src="{$smarty.const.URL}uploaded/pic/gallery/rooms/{$rooms[i].pic}" border="0" alt="{$rooms[i].title}" title="{$rooms[i].title}" class="pic"></a></td>{/if}
<td>
<p><a href="{$smarty.const.URL}{$rules_info_one.action}/{$rooms[i].id}/"><b>{$rooms[i].title}</b></a></p>
<p>{$rooms[i].about} <a href="{$smarty.const.URL}{$rules_info_one.action}/{$rooms[i].id}/" class="link2">ïîäðîáíåå</a></p>
</td></tr>
</table>
{if $smarty.section.i.index<count($rooms)-1}
<div class="hr"><img src="spacer.gef" width="1" height="1" border="0"></div>
{/if}
{/section}
<div class="both"></div>
{if $rules_info_one.action eq "contacts"}
<div class="h_r2"></div>
{if $smarty.get.send eq "ok"}
<font color="red"><b>Âàøå ñîîáùåíèå îòïðàâëåíî!</b></font>
{else}
<b>Ó Âàñ åñòü âîïðîñû èëè ïðåäëîæåíèÿ? </b><br>
Âû ìîæåòå çàäàòü íàì âîïðîñ(û) ñ ïîìîùüþ ñëåäóþùåé ôîðìû:
{include file="error.tpl"}
<div id="inputArea">
<form method="post" action="{$smarty.const.URL}{$rules_info_one.action}/">
<label>Âàøå èìÿ: <span class="red">*</span></label>
<input type="text" name="name" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="{$smarty.post.name|escape:'html'}" />
<label>Âàø òåëåôîí: <span class="red">*</span></label>
<input type="text" name="phone" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="{$smarty.post.phone|escape:'html'}" />
<label>Âàøå e-mail:</label>
<input type="text" name="email" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="{$smarty.post.email|escape:'html'}" />
<label>Òåêñò êîììåíòàðèÿ:</label>
<textarea rows="4" cols="30" name="text" class="idle" onblur = "this.className='idle'" onfocus = "this.className='activeField'">{$smarty.post.text|escape:'html'}</textarea>
<p>Ïîëÿ, âûäåëåííûå <span class="red">*</span>, çàïîëíèòå îáÿçàòåëüíî</p>
<input type="hidden" name="send"><input type="submit" value="Îòïðàâèòü" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'">
</form>
</div>
{/if}
{/if}
</div>