-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbench.php
executable file
·184 lines (162 loc) · 6.13 KB
/
bench.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
<!DOCTYPE HTML>
<!--
Verti by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Appony: Powered by VAS-MiS</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
</head>
<body class="homepage">
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
require("funcs/dbFunctions.php");
$appName1=$_GET['app1'];
$appName2=$_GET['app2'];
//echo "INFO - app: ".$appName;
echo "<div id=\"page-wrapper\">\n";
echo "\n";
echo " <!-- Header -->\n";
echo " <div id=\"header-wrapper\">\n";
echo " <header id=\"header\" class=\"container\">\n";
echo "\n";
echo " <!-- Logo -->\n";
echo " <div id=\"logo\">\n";
echo " <h1><a href=\"index.php\" class=\"icon fa-stethoscope\">Appony</a></h1>\n";
echo " <span>powered by VAS-MIS</span>\n";
echo " </div>\n";
echo "\n";
echo " <!-- Nav -->\n";
echo " <nav id=\"nav\">\n";
//Aygun: getTopMenu() returns navigation menu items
getTopMenu();
echo " </nav>\n";
echo "\n";
echo " </header>\n";
echo " </div>\n";
echo "\n";
echo " <!-- Features -->\n";
echo " <div id=\"apps-wrapper\">\n";
echo " <div class=\"container\">\n";
echo " <div class=\"row\" name=\"uygulamalar\">\n";
echo " <div class=\"4u 12u(medium)\">\n";
echo "\n";
echo " <!-- IMAGES Box -->\n";
$imageURL=getImageUrl120($appName1);
echo '<p><center><img src="'.$imageURL.' " ></center></p>';
echo '<p><center>vs</center></p>';
$imageURL2=getImageUrl120($appName2);
echo '<p><center><img src="'.$imageURL2.' "></center></p>';
echo "\n";
echo " </div>\n";
echo " <div class=\"8u 12u(medium)\">\n";
echo "\n";
echo " <!-- DETAILS Box -->\n";
getBoxDetailsMin($appName1);
echo "\n";
echo " <!-- Box -->\n";
getBoxDetailsMin2($appName2);
echo " </section>\n";
echo "\n";
echo " </div>\n";
echo " </div>\n";
echo " </div>\n";
echo " </div></br>\n";
echo "\n";
echo " <!-- Graph Benchmark-->\n";
echo " <div id=\"banner-wrapper\">\n";
echo " <div id=\"banner\" class=\"box container\">\n";
getBenchTrends($appName1,$appName2);
echo " </div>\n";
echo " </div>\n";
echo "</br>\n";
echo "<section class=\"box feature\">\n";
echo "<h2 style=\"color:#4099FF;\"><center>Son 15 App Store Yorumu</center></h2>";
echo "</section>";
echo " <!-- Graph Android-->\n";
echo " <!-- Features -->\n";
echo " <div id=\"features-wrapper\">\n";
echo " <div class=\"container\">\n";
echo " <div class=\"row\" name=\"uygulamalar\">\n";
echo " <div class=\"6u 12u(medium)\">\n";
echo "\n";
echo " <!-- Box -->\n";
getIosReviewsMin($appName1);
echo "\n";
echo " </div>\n";
echo " <div class=\"6u 12u(medium)\">\n";
echo "\n";
echo " <!-- Box -->\n";
getIosReviewsMin($appName2);
echo "\n";
echo " </div>\n";
echo " </div>\n";
echo " </div>\n";
echo " </div>\n";
echo "\n";
echo " <!-- Footer -->\n";
echo " <div id=\"footer-wrapper\">\n";
echo " <footer id=\"footer\" class=\"container\">\n";
echo " <div class=\"row\">\n";
echo " <div class=\"8u 12u(medium) 12u$(small)\">\n";
echo "\n";
echo " <!-- Links -->\n";
echo " <section class=\"widget links\">\n";
echo " <h3>Appony Hakkında</h3>\n";
echo " <ul class=\"style2\">\n";
echo " <li>VAS Yazılım Geliştirme Kulübü tarafından, 2016 GNCYTNK Staj programı Yeni Nesil Teknolojiler dersi kapsamında geliştirilmiştir.</li>\n";
echo " </ul>\n";
echo " </section>\n";
echo "\n";
echo " </div>\n";
echo " <div class=\"3u 6u$(medium) 12u$(small)\">\n";
echo "\n";
echo " <!-- Contact -->\n";
echo " <section class=\"widget contact last\">\n";
echo " <h3>Bize Ulaşın</h3>\n";
echo " <ul>\n";
echo " <li><a href=\"#\" class=\"icon fa-twitter\"><span class=\"label\">Twitter</span></a></li>\n";
echo " <li><a href=\"#\" class=\"icon fa-facebook\"><span class=\"label\">Facebook</span></a></li>\n";
echo " <li><a href=\"#\" class=\"icon fa-instagram\"><span class=\"label\">Instagram</span></a></li>\n";
echo " <li><a href=\"#\" class=\"icon fa-dribbble\"><span class=\"label\">Dribbble</span></a></li>\n";
echo " <li><a href=\"#\" class=\"icon fa-pinterest\"><span class=\"label\">Pinterest</span></a></li>\n";
echo " </ul>\n";
echo " <p>VAS-MIS<br />\n";
echo " Soğanlık Kartal<br />\n";
echo " </p>\n";
echo " </section>\n";
echo "\n";
echo " </div>\n";
echo " </div>\n";
echo " <div class=\"row\">\n";
echo " <div class=\"12u\">\n";
echo " <div id=\"copyright\">\n";
echo " <ul class=\"menu\">\n";
echo " <li>© Appony. All rights reserved</li><li>Design: HTML5 UP / Verti</li>\n";
echo " </ul>\n";
echo " </div>\n";
echo " </div>\n";
echo " </div>\n";
echo " </footer>\n";
echo " </div>\n";
echo "\n";
echo " </div>\n";
echo "\n";
echo " <!-- Scripts -->\n";
echo "\n";
echo " <script src=\"assets/js/jquery.min.js\"></script>\n";
echo " <script src=\"assets/js/jquery.dropotron.min.js\"></script>\n";
echo " <script src=\"assets/js/skel.min.js\"></script>\n";
echo " <script src=\"assets/js/util.js\"></script>\n";
echo " <!--[if lte IE 8]><script src=\"assets/js/ie/respond.min.js\"></script><![endif]-->\n";
echo " <script src=\"assets/js/main.js\"></script>\n";
?>
</body>
</html>