-
Notifications
You must be signed in to change notification settings - Fork 1
/
quran_all.php
32 lines (26 loc) · 922 Bytes
/
quran_all.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
<?php
include_once 'db.php';
$exec_start = get_micro_time();
include_once 'includes/globales.php';
$queryTimer = new MicroTimer();
$result_total=("SELECT * FROM quran_surah_names");
$db->query($result_total);
$db->setFetchMode(2);
$quran_table = $db->get();
//echo count($totalItems);
//print_r($quran_table);
$method = isset($_GET['method']) ? $_GET['method'] : 1;
$smarty->assign('method',$method);
$smarty->assign('soranames',soranames());
$smarty->assign('site_title','فهرس السور');
$smarty->assign('Description','فهرس سور القران الكريم');
$smarty->assign('keywords','فهرس,سور,قران,قرأن');
$smarty->assign('quran_table',$quran_table);
$exec_end = get_micro_time();
$timer = get_exec_time($exec_end, $exec_start);
$smarty->assign ("timer",$timer);
$queryTimer->stop();
$smarty->assign('query_time',$queryTimer);
$smarty->display('all_sura.html');
ob_end_flush();
?>