-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathindex.php
210 lines (207 loc) · 8.88 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
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<?php require_once ("config.php");?>
<!DOCTYPE html>
<html dir="rtl" lang="ar">
<head>
<meta charset="UTF-8">
<title><?php echo "$page_name" ;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta name="description" content="<?php echo $sharing_description ; ?>">
<meta name="keywords" content="<?php echo $sharing_name ; ?>">
<meta name="author" content="<?php echo $sharing_url ; ?>">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
<meta name="google" value="notranslate">
<meta name="robots" content="index, follow">
<meta name="distribution" content="web">
<meta property="og:url" content="<?php echo $sharing_url ; ?>" />
<meta property="og:type" content="article" />
<meta property="og:title" content="<?php echo $sharing_name ; ?>" />
<meta property="og:description" content="<?php echo $sharing_description ; ?>" />
<meta property="fb:app_id" content="<?php echo $fb_app_id;?>" />
<meta property="og:image" content="assets/fbaid.png">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link rel="icon" type="image/png" href="assets/favico.png" />
<link href="https://fonts.googleapis.com/css?family=Tajawal" rel="stylesheet">
<script>
var countDownDate = new Date("<?php echo $aid_timer ;?>").getTime();
var x = setInterval(function() {
var now = new Date().getTime();
var distance = countDownDate - now;
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
document.getElementById("aidtime").innerHTML = + days + " <b> يوم و </b> " + hours + "<b> ساعة و </b> "
+ minutes + "<b> دقيقة و</b> " + seconds + " <b> ثانية </b>" ;
document.getElementById("aidsaid").innerHTML ="<?php echo $aid_time ;?>" ;
if (distance < 0) {
clearInterval(x);
document.getElementById("aidtime").innerHTML = "";
document.getElementById("aidsaid").innerHTML = "<?php echo $aid_said ;?>";
}
}, 1000);
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo $tracking ;?>"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '<?php echo $tracking ;?>');
</script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "<?php echo "$ads_validation" ;?>",
enable_page_level_ads: true
});
</script>
</head>
<body>
<div class="container">
<div class="subcontainer">
<center>
<?php if (empty ($small_ads_id)) { } else {?>
<ins
class="adsbygoogle"
style="display:inline-block;min-width:100%;max-width:970px;width:100%;height:90px"
data-ad-client="<?php echo $small_ads_id ; ?>"
data-ad-slot="<?php echo $small_ads_slot ; ?>">
</ins>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
<?php } ?>
<img width="100%" src="assets/am.png" />
<h2><?php echo "$aid_from" ;?></h2>
<figure><h1 class="naming"><?php if (empty ($name)) { echo "اسمك هنا"; } else { echo $name; }?></h1></figure>
<h3><?php echo "$aid_to" ;?></h3>
<?php if (empty ($name)) { } else { ?>
<div class="share" >
<div class="shareb whatsapp" >
<a
data-action="share/whatsapp/share"
href="whatsapp://send?text=
<?php echo $sharing_message;?>%0A
<?php echo $sharing_invite;?>%0A
👇👇👇👇👇👇%0A
<?php echo $sharing_url;?>/index.php?name=<?php echo $name;?>%0A
<?php echo $sharing_advice;?>%0A
👇👇👇👇👇👇%0A
<?php echo $sharing_url;?>
">
<i class="fab fa-whatsapp"></i>
<span> إرسال عبر الواتساب </span>
<i class="fab fa-whatsapp"></i>
</a>
</div>
<div class="shareb facebook" >
<a target="_blank" href="http://m.facebook.com/sharer.php?u=<?php echo $sharing_url;?>">
<i class="fab fa-facebook"></i>
<span> مشاركة عبر الفيسبوك </span>
<i class="fab fa-facebook"></i>
</a>
</div>
</div>
<?php } ?>
<?php if (empty ($name)) { ?>
<img width="100%" src="assets/separator.png" />
<form method="get" action="index.php">
<div class="name_input">
<p><?php echo "$aid_creat" ;?></p>
<input class="" autocomplete="off" type="name" required="" maxlength="50" name="name" placeholder="أكتب اسمك هنا">
<button class="btn" type="submit"><i class="fas fa-check-circle"></i> إنشاء بطاقة جديدة </button>
</div>
</form>
<?php } else { } ?>
<img width="100%" src="assets/separator.png" />
<p class="aid_msg" >
<i class="fas fa-quote-right"></i>
<?php echo "$aid_text" ;?>
<i class="fas fa-quote-left"></i>
" <?php if (empty ($name)) { echo "اسمك هنا"; } else { echo $name; }?> "
</p>
<?php if (empty ($big_ads_id)) { } else {?>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins
class="adsbygoogle"
style="display:block"
data-ad-client="<?php echo $big_ads_id ; ?>"
data-ad-slot="<?php echo $big_ads_slot ; ?>"
data-ad-format="auto"
data-full-width-responsive="true">
</ins>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
<?php } ?>
<img width="100%" src="assets/separator.png" />
<form method="get" action="index.php">
<div class="name_input">
<p><?php echo "$aid_creat" ;?></p>
<input class="" autocomplete="off" type="name" required="" maxlength="50" name="name" placeholder="أكتب اسمك هنا">
<button class="btn" type="submit"><i class="fas fa-check-circle"></i> إنشاء بطاقة جديدة </button>
</div>
</form>
<?php if (empty ($name)) { } else { ?>
<div class="share" >
<div class="shareb whatsapp" >
<a
data-action="share/whatsapp/share"
href="whatsapp://send?text=
<?php echo $sharing_message;?>%0A
<?php echo $sharing_invite;?>%0A
👇👇👇👇👇👇%0A
<?php echo $sharing_url;?>/index.php?name=<?php echo $name;?>%0A
<?php echo $sharing_advice;?>%0A
👇👇👇👇👇👇%0A
<?php echo $sharing_url;?>
">
<i class="fab fa-whatsapp"></i>
<span> إرسال عبر الواتساب </span>
<i class="fab fa-whatsapp"></i>
</a>
</div>
<div class="shareb facebook" >
<a target="_blank" href="http://m.facebook.com/sharer.php?u=<?php echo $sharing_url;?>">
<i class="fab fa-facebook"></i>
<span> مشاركة عبر الفيسبوك </span>
<i class="fab fa-facebook"></i>
</a>
</div>
</div>
<img width="100%" src="assets/separator.png" />
<?php } ?>
<?php if (empty ($small_ads_id)) { } else {?>
<ins
class="adsbygoogle"
style="display:inline-block;min-width:100%;max-width:970px;width:100%;height:90px"
data-ad-client="<?php echo $small_ads_id ; ?>"
data-ad-slot="<?php echo $small_ads_slot ; ?>">
</ins>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
<?php } ?>
<div class="aid" >
<i class="far fa-clock"></i>
<p id="aidsaid"></p>
<p id="aidtime"></p>
</div>
<figure><h1 class="naming"><?php echo $aid_said_footer ; ?></h1></figure>
<?php if (empty ($big_ads_id)) { } else {?>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins
class="adsbygoogle"
style="display:block"
data-ad-client="<?php echo $big_ads_id ; ?>"
data-ad-slot="<?php echo $big_ads_slot ; ?>"
data-ad-format="auto"
data-full-width-responsive="true">
</ins>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
<?php } ?>
</center>
</div>
</div>
</body>
</html>