forked from liveuamap/liveuamap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
137 lines (111 loc) · 5.18 KB
/
index.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
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
<?php defined('WERUA') or include('../bad.php');
include 'parts/_headercontent.php';
?> <div class="info" style="position: absolute;overflow: hidden;height: 20px;margin-top: -20px">
<? if(isset($this->venue)){?>
<h1><?WRA::e($this->venue->name);?></h1>
<img title="<?WRA::e($this->venue->name);?>" src="<?WRA::e($this->venue->picture);?>"/>
<?}else{
foreach($this->venues as $k=>$v){?>
<a href="<?WRA::e($v->getlink());?>" title="<?WRA::e($v->name);?>"><?WRA::e($v->name);?></a>
<?} }?>
<h2><a href="<?WRA::e(WRA::base_url());?>history" title="History of ukraine conflict">History of ukraine conflict</a></h2>
</div>
<div id="map_canvas" style="width: 100%; height: 100%">
</div>
<div class="top">
<a href="http://liveuamap.com" class="logo"><img src="<?WRA::e(WRA::base_url());?>images/logo.png" width="76" height="12"></a><a href="#"
class="tim"></a><div class="data" id="toptime">
<span class="all"></span> <span class="datac"><?php echo date('j',time());?></span> <span class="datam"><?WRA::e(date('F',time()));?></span> <span class="datag"><?WRA::e(date('Y',time()));?></span>
</div>
</div>
<div class="mnu">
<a href="#" id="topl"></a><a href="#" id="list" class="inside"></a><a href="#" id="map"></a><a href="#" id="filter"></a><a href="<?WRA::e(WRA::base_url());?>rss" id="rss"></a><a href="#" id="info"></a>
</div>
<div id="maplegend">
<div class="scro" id="boxmsg" style="display: none;height: 100%;">
<ul>
<li id="modaltitle" ></li>
<li id="modalbody"></li>
</ul></div>
<div class="feed">
<div class="tweet">
<div class="header">
EVENTS <a href="#" style="display: none" id="showmap">MAP</a>
</div>
<div class="link">
TWEET US <a href="http://twitter.com/liveuamap" target="_blank">@liveuamap</a>
</div>
</div>
<div id="infobox" style="display: none;height: 100%;">
<p>Liveuamap.com is nonprofit, volunteer-run project of civic journalism. Our mission is to tell about
crisis in Ukraine all over the world. We gather information from open sources and put it on the map in format of Reds-vs-Blues conflict.</p>
<p>
If you want to share our mission, or have any question, just mail to info@liveuamap.com or ask in Twitter @liveuamap
</p>
<p>
To support liveuamap.com you can donate bitcoins to <a style="font-size: 13px;" href="https://blockchain.info/address/1EjYq48gmWN8mRxLtg6bZYyNT5xqZHonAd" target="_blank" rel="nofollow">1EjYq48gmWN8mRxLtg6bZYyNT5xqZHonAd</a>
</p>
<p>
Or
<select id="txtamount" name="txtamount">
<option value="1">$1</option>
<option value="5" selected="selected">$5</option>
<option value="10">$10</option>
<option value="100">$100</option>
</select>
<a href="#" id="goliqpay">from card</a>
<div class="footer__logo"></div>
</p>
</div>
<div id="filterbox" style="display: none;height: 100%;">
<div class="group">Time filter</div>
<div class="group">Type filter</div>
<div class="group">Custom filter</div>
<a href="#" id="defaultfilter">Set Default</a>
</div>
<div class="scro" id="feedler" >
</div>
</div>
</div>
<script type="text/javascript">
var curid=<?php WRA::e($this->cpid);?>;
<?php if($this->cpid>0){?>
globaltime=<? WRA::e( $this->venue->time-43100);?>;first=true;
<?}?>
</script>
<div class="boxselect">
<div class="txt">Select date</div>
<div class="bb">
<select name="datam" id="datam">
<?php for($i=5;$i<=12;$i++){?>
<option <? if(date('F',($i-1)*2592000+1389484800)==date('F',time())){?>selected="selected"<?}?> value="<?php WRA::e($i);?>"><?WRA::e(date('F',($i-1)*2592000+1389484800));?></option>
<?php }?>
</select>
</div>
<div class="bb">
<select name="datac">
<?php if(false){?><option selected>All day</option><?php }?>
<?php for($i=1;$i<=31;$i++){?>
<option <?if($i==date('j',time())) {?>selected="selected"<?}?> value="<?php
if($i<10)WRA::e($i);else
WRA::e($i);?>"><?php WRA::e($i);?></option> <?php }?>
<?php if(false){?>
<option value="t2">22 </option>
<option value="t3">23</option>
<option value="t4">24</option> <?php }?>
</select>
</div>
<?php if(false){?>
<div class="bb">
<select name=datag>
<option selected>All year </option>
<option value=t1>2014 </option>
<option value=t1>2013 </option>
<option value=t2>2012 </option>
<option value=t3>2011 </option>
<option value=t4>2010</option>
</select>
</div><?}?>
<a href="#" class="ok" id="loadmore">ok</a>
</div>
<?php include 'parts/_footercontent.php'; ?>