-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathayetGoster.php
83 lines (61 loc) · 3.92 KB
/
ayetGoster.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
<?php include "templates/include/header.php";
require("classes/simple_html_dom.php");?>
<div id="content">
<div id="ayet">
<p id="baslik"><?php echo $veriler['ayet']->sure_adi . " " . $veriler['ayet']->sure_no ?>
<table style="width: 100%;">
<tr>
<td style="width: 33%;"><i><?php echo tarih_ver($veriler['ayet']->tarih) ?></i></td>
<?php if (sureIndexBul($veriler['ayet']->sure_adi) != -1) {
?>
<td style="width: 33%;">
<center>Dinle: <br>
<audio controls="" style="width: 45px;">
<?php echo '<source src="http://webdosya.diyanet.gov.tr/kuran/Sound/ar_ishakdemir/' .
sureIndexBul($veriler['ayet']->sure_adi) . "_" . $veriler['ayet']->sure_no . '.mp3" type="audio/mpeg">';
?>
Browser'ınız bunu desteklemiyor.
</audio></center>
</td>
<?php
}
?>
<td style="width: 33%;">
<!--- PAYLAŞIM -->
<!--<div id="___plus_0" style="text-indent: 0px; margin: 0px; padding: 0px; border-style: none; float: none; line-height: normal; font-size: 1px; vertical-align: baseline; display: inline-block; width: 94px; height: 24px; background: transparent;"><iframe frameborder="0" hspace="0" marginheight="0" marginwidth="0" scrolling="no" style="position: static; top: 0px; width: 94px; margin: 0px; border-style: none; left: 0px; visibility: visible; height: 24px;" tabindex="0" vspace="0" width="100%" id="I0_1433877625386" name="I0_1433877625386" src="https://apis.google.com/u/0/se/0/_/+1/sharebutton?plusShare=true&usegapi=1&action=share&annotation=bubble&height=24&hl=tr&origin=http%3A%2F%2Flocalhost&url=http%3A%2F%2Flocalhost%2FAyetlerim%2Fayetler.php%3Faction%3DayetGoster%26ayetId%3D117&gsrc=3p&ic=1&jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en.utjGQShWxzw.O%2Fm%3D__features__%2Fam%3DAQ%2Frt%3Dj%2Fd%3D1%2Ft%3Dzcms%2Frs%3DAGLTcCP2OuliJPRPjWZHaVKTj26RhlNGzA#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conload&id=I0_1433877625386&parent=http%3A%2F%2Flocalhost&pfname=&rpctoken=16288840" data-gapiattached="true" title="+Paylaş"></iframe></div>-->
<!-- Place this tag in your head or just before your close body tag. -->
<script src="https://apis.google.com/js/platform.js" async defer>
{lang: 'tr'}
</script>
<!-- Place this tag where you want the share button to render. -->
<div class="g-plus" data-action="share" data-annotation="bubble" data-height="24"></div>
<a href="javascript:void(0)" title="Facebook" onclick="window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(location.href)+'&t='+'Ayetlerim - Alâ 14-17');return false;"><img src="http://www.gundogmus.gov.tr/ortak_icerik/gundogmus/Facebook%20payla%C5%9F/1k.png" alt="Facebook'a Paylaş"></a>
<!--- PAYLAŞIM -->
</td>
</tr>
</table>
</p>
<p id="arapca"><?php echo getArabicText( sureIndexBul($veriler['ayet']->sure_adi), $veriler['ayet']->sure_no ); ?></p>
<p><div id="tagler-yazisi"><strong>Tag'ler: </strong></div>
<?php
foreach($veriler['tagler'] as $tag)
echo "<a href='tagler.php?action=tagGoster&tagId=" . $tag->tag_id . "' class='button' id='tag'>" . $tag->tag_adi . "</a>";
?>
</p>
<div id="clearer"></div>
<p><strong>Meal:</strong></p>
<p>
<?php echo metin_goster($veriler['ayet']->ayet_meal); ?>
</p>
<p><strong>Not: </strong></p>
<p>
<?php echo metin_goster($veriler['ayet']->ek_not); ?>
</p>
<?php if($giris_yapmis) { ?>
<p style="float:right;"><a href="<?php echo "ayetler.php?action=ayetDuzenle&ayetId=" . $veriler['ayet']->ayet_id ?>" class="button" id="yesil">Ayet Düzenle</a>
<a href="<?php echo "ayetler.php?action=ayetSil&ayetId=" . $veriler['ayet']->ayet_id ?>" class="button" id="kirmizi">Ayet Sil</a></p>
<?php } ?>
<div id="clearer"> </div>
</div>
</div>
<?php include "templates/include/footer.php" ?>