This repository has been archived by the owner on Jul 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.php
111 lines (109 loc) · 4.94 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
<?php
/**
* @package Script Pulsa Online
* @version 1
* @author Engky Datz * @link http://okepulsa.id
* @link http://facebook.com/Engky09 * @link http://okepulsa.id * @link http://www.bukalapak.com/engky09
* @copyright 2015 -2016
*/
include('includes/base.php');
$active_page = 'home';
$main_content = false;
$query = $pdo->query("SELECT * FROM berita ORDER BY tanggal DESC LIMIT 5");
$berita = $query->fetchAll();
?>
<?php include ('includes/header.php')?>
<div style="margin-top: 15px;" class="hidden-xs">
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="">
</li>
<li data-target="#carousel-example-generic" data-slide-to="1" class="active">
</li>
<li data-target="#carousel-example-generic" data-slide-to="2" class="">
</li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item">
<img data-src="holder.js/1140x230/auto/#777:#555/text:First slide" alt="Voucher Game" src="<?php echo $set['site_url'];?>assets/game-1140x230.jpg" data-holder-rendered="true"/>
<div class="carousel-caption">
<h3>
Voucher Game
</h3>
<p>
DigiCash, Garena Indonesia, Gemscool, Google Play, Itunes Gift Card US, LYTO, Main Games, Megaxus, PlayStation US Card, Qeon Interactive, Ultimate Game Card, Wave Game, Zynga
</p>
</div>
</div>
<div class="item active">
<img data-src="holder.js/1140x230/auto/#666:#444/text:Second slide" alt="Game" src="<?php echo $set['site_url'];?>assets/pulsa-1140x230.jpg" data-holder-rendered="true"/>
<div class="carousel-caption">
<h3>
Voucher Pulsa / BOLT
</h3>
<p>
Telkomsel, XL Axiata, Indosat Ooredoo, Axis, Three, Smartfren, Esia, Telkom Flexy, Indosat StarOne
</p>
</div>
</div>
<div class="item">
<img data-src="holder.js/1140x230/auto/#555:#333/text:Third slide" alt="Third slide [1140x230]" src="<?php echo $set['site_url'];?>assets/pln-1140x230.jpg" data-holder-rendered="true"/>
<div class="carousel-caption">
<h3>
Token PLN / PLN Prabayar
</h3>
<p>
Token PLN / PLN Prabayar
</p>
</div>
</div>
</div>
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a>
</div>
</div>
<div class="row" style="margin-top: 15px;">
<div class="col-sm-8">
<div class="box">
<div>
<h3 style="margin-top: 0;">
Pulsa Online
</h3>
</div>
<p><marquee style="font-size: 24px;padding: 5px 0; color: white; background-color: #EEA235;">SISTEM OTOMATIS 24 JAM</marquee></p>
<div class="row">
<div class="col-sm-4">
<img class="img-responsive" title="<?php echo __e($set['site_name']);?>" alt="<?php echo __e($set['site_name']);?>" src="<?php echo $set['site_url'];?>assets/img1.png"/>
</div>
<div class="col-sm-8">
<div id="description" style="text-align: justify;">Isi pulsa,Token PLN, Voucher Game Online, 24 jam Otomatis dan tanpa registrasi, praktis dan cepat. Isi pulsa tanpa harus antri dan tidak perlu keluar rumah.</div>
<p style="margin-top: 15px;"><strong>Melayani pembayaran :</strong></p>
<p>
<i class="glyphicon glyphicon-check"></i> Pulsa Telepon / Token PLN<br/>
<i class="glyphicon glyphicon-check"></i> Voucher Game Online<br/>
<i class="glyphicon glyphicon-check"></i> Token PLN / PLN Prabayar<br/>
<div class="text-center">
<a class="btn btn-warning btn-lg btn-block" href="<?php echo $set['site_url'];?>order.php">Beli / Order</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-4">
<?php if ($berita):?>
<div class="list-group">
<?php foreach ($berita as $b):?>
<a class="list-group-item" href="<?php echo SITE_URL?>berita.php/<?php echo date('Y/m/d',$b->tanggal);?>/<?php echo str_link($b->judul); ?>?id=<?php echo $b->id; ?>" title="<?php echo __e($b->judul)?>">
<span><?php echo __e($b->judul); ?>
</span>
<span class="text-muted"><small><i>(<?php echo format_tanggal($b->tanggal)?>)</i></small></span>
</a>
<?php endforeach?>
<div class="list-group-item text-right"><a href="berita.php">Berita lainnya »</a></div>
</div>
<?php else:?>
<?php endif?>
</div>
</div>
<?php include ('includes/footer.php'); ?>