Skip to content

Commit 937a4f0

Browse files
committed
gereksiz dil kodu kaldırıldı
1 parent 3c293de commit 937a4f0

6 files changed

+580
-1
lines changed

application/core/controller.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ public function loadExtended($libraryName, $libraryAsName, $type = 'lib')
153153
case 'language':
154154

155155
$language = $this->utility->getLanguage();
156-
$language = 'en';
157156
if (!file_exists(LANG_PATH . $language . '/' . $libraryName . '.php')) {
158157
throw new Exception("Cannot Load Language File!");
159158
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?php
2+
/* Smarty version 3.1.30, created on 2019-11-26 20:08:40
3+
from "C:\xampp\htdocs\php-performance-benchmark\application\view\smarty\helper\head.tpl" */
4+
5+
/* @var Smarty_Internal_Template $_smarty_tpl */
6+
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
7+
'version' => '3.1.30',
8+
'unifunc' => 'content_5ddd783864b214_57164489',
9+
'has_nocache_code' => false,
10+
'file_dependency' =>
11+
array (
12+
'1f676ae27228d6b77ab03348148c84ac2507aeba' =>
13+
array (
14+
0 => 'C:\\xampp\\htdocs\\php-performance-benchmark\\application\\view\\smarty\\helper\\head.tpl',
15+
1 => 1574795262,
16+
2 => 'file',
17+
),
18+
),
19+
'includes' =>
20+
array (
21+
'file:helper/headstyle.tpl' => 1,
22+
),
23+
),false)) {
24+
function content_5ddd783864b214_57164489 (Smarty_Internal_Template $_smarty_tpl) {
25+
$_smarty_tpl->_subTemplateRender("file:helper/headstyle.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
26+
?>
27+
28+
<?php echo '<script'; ?>
29+
type="text/javascript">
30+
var system = new Object();
31+
system.lang = new Object();
32+
system.lang.index = new Object();
33+
system.lang.index.benchmarkStartWarning = '<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['lang']->value['index']['benchmarkStartWarning'], ENT_QUOTES, 'UTF-8', true);?>
34+
';
35+
system.lang.index.benchmarkProcessing = '<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['lang']->value['index']['benchmarkProcessing'], ENT_QUOTES, 'UTF-8', true);?>
36+
';
37+
system.lang.index.benchmarkAddedQueue = '<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['lang']->value['index']['benchmarkAddedQueue'], ENT_QUOTES, 'UTF-8', true);?>
38+
';
39+
system.lang.index.workDone = '<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['lang']->value['index']['workDone'], ENT_QUOTES, 'UTF-8', true);?>
40+
';
41+
system.lang.index.workAmountDone = '<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['lang']->value['index']['workAmountDone'], ENT_QUOTES, 'UTF-8', true);?>
42+
';
43+
<?php echo '</script'; ?>
44+
><?php }
45+
}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?php
2+
/* Smarty version 3.1.30, created on 2019-11-26 20:08:40
3+
from "C:\xampp\htdocs\php-performance-benchmark\application\view\smarty\helper\headstyle.tpl" */
4+
5+
/* @var Smarty_Internal_Template $_smarty_tpl */
6+
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
7+
'version' => '3.1.30',
8+
'unifunc' => 'content_5ddd78386d1133_85589890',
9+
'has_nocache_code' => false,
10+
'file_dependency' =>
11+
array (
12+
'9a859fafb6578716d67dabdbb1777fadda8c8f8b' =>
13+
array (
14+
0 => 'C:\\xampp\\htdocs\\php-performance-benchmark\\application\\view\\smarty\\helper\\headstyle.tpl',
15+
1 => 1574795262,
16+
2 => 'file',
17+
),
18+
),
19+
'includes' =>
20+
array (
21+
),
22+
),false)) {
23+
function content_5ddd78386d1133_85589890 (Smarty_Internal_Template $_smarty_tpl) {
24+
?>
25+
<style>
26+
.bd-placeholder-img {
27+
font-size: 1.125rem;
28+
text-anchor: middle;
29+
-webkit-user-select: none;
30+
-moz-user-select: none;
31+
-ms-user-select: none;
32+
user-select: none;
33+
}
34+
35+
.jumbotron {
36+
padding-top: 3rem;
37+
padding-bottom: 3rem;
38+
margin-bottom: 0;
39+
background-color: #fff;
40+
}
41+
42+
@media (min-width: 768px)
43+
{
44+
.bd-placeholder-img-lg {
45+
font-size: 3.5rem;
46+
}
47+
.jumbotron {
48+
padding-top: 6rem;
49+
padding-bottom: 6rem;
50+
}
51+
}
52+
53+
.font-weight-middle {
54+
font-weight: 500;
55+
}
56+
57+
.text-success-light{
58+
color: #a4ffb9!important;
59+
}
60+
61+
.bg-purple {
62+
background-color: #6f42c1;
63+
}
64+
65+
.b-capsule{
66+
width: 32px;
67+
height: 32px;
68+
}
69+
70+
.jumbotron p:last-child {
71+
margin-bottom: 0;
72+
}
73+
74+
.jumbotron-heading {
75+
font-weight: 300;
76+
}
77+
78+
.jumbotron .container {
79+
max-width: 40rem;
80+
}
81+
82+
footer {
83+
padding-top: 3rem;
84+
padding-bottom: 3rem;
85+
}
86+
87+
footer p {
88+
margin-bottom: .25rem;
89+
}
90+
</style><?php }
91+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<?php
2+
/* Smarty version 3.1.30, created on 2019-11-26 20:08:40
3+
from "C:\xampp\htdocs\php-performance-benchmark\application\view\smarty\helper\header.tpl" */
4+
5+
/* @var Smarty_Internal_Template $_smarty_tpl */
6+
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
7+
'version' => '3.1.30',
8+
'unifunc' => 'content_5ddd783871c053_18035628',
9+
'has_nocache_code' => false,
10+
'file_dependency' =>
11+
array (
12+
'ed28da3b4bc6b77fa7ae200a50a1ddc1320f2528' =>
13+
array (
14+
0 => 'C:\\xampp\\htdocs\\php-performance-benchmark\\application\\view\\smarty\\helper\\header.tpl',
15+
1 => 1574795262,
16+
2 => 'file',
17+
),
18+
),
19+
'includes' =>
20+
array (
21+
),
22+
),false)) {
23+
function content_5ddd783871c053_18035628 (Smarty_Internal_Template $_smarty_tpl) {
24+
?>
25+
<div class="collapse bg-dark" id="navbarHeader">
26+
<div class="container">
27+
<div class="row">
28+
<div class="col-sm-8 col-md-7 py-4">
29+
<h4 class="text-white"><?php echo $_smarty_tpl->tpl_vars['lang']->value['index']['information'];?>
30+
</h4>
31+
<p class="text-muted"><?php echo $_smarty_tpl->tpl_vars['lang']->value['index']['informationdescription'];?>
32+
</p>
33+
</div>
34+
<div class="col-sm-4 offset-md-1 py-4">
35+
<h4 class="text-white"><?php echo $_smarty_tpl->tpl_vars['lang']->value['index']['contact'];?>
36+
</h4>
37+
<ul class="list-unstyled">
38+
<li><a href="https://github.com/ismail0234/php-performance-benchmark" class="text-white"><?php echo $_smarty_tpl->tpl_vars['lang']->value['index']['github'];?>
39+
</a></li>
40+
<li><a href="https://ismail0234.github.io/php-performance-benchmark/" class="text-white"><?php echo $_smarty_tpl->tpl_vars['lang']->value['index']['website'];?>
41+
</a></li>
42+
</ul>
43+
</div>
44+
</div>
45+
</div>
46+
</div>
47+
<div class="navbar navbar-dark bg-dark shadow-sm">
48+
<div class="container d-flex justify-content-between">
49+
<a href="" class="navbar-brand d-flex align-items-center">
50+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" aria-hidden="true" class="mr-2" viewBox="0 0 24 24" focusable="false"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"/><circle cx="12" cy="13" r="4"/></svg>
51+
<strong><?php echo $_smarty_tpl->tpl_vars['lang']->value['index']['phpbenchmark'];?>
52+
</strong>
53+
</a>
54+
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarHeader" aria-controls="navbarHeader" aria-expanded="false" aria-label="Toggle navigation">
55+
<span class="navbar-toggler-icon"></span>
56+
</button>
57+
</div>
58+
</div><?php }
59+
}

0 commit comments

Comments
 (0)