Skip to content

Commit a4baf3e

Browse files
committed
pie de pagina y cabecera genericos
1 parent b2192cf commit a4baf3e

11 files changed

+42
-9
lines changed

answered.php

+6-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
<script type="text/javascript" src="js/sorttable.js"></script>
3535
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
3636
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
37+
38+
<?php include 'header.php'; ?>
39+
3740
</head>
3841
<?php
3942

@@ -595,6 +598,8 @@ function drawChart() {
595598
</div>
596599
</div>
597600

598-
<div id='footer'><a href='https://asterisk-pbx.ru'>Asterisk-pbx.ru</a> 2017</div>
599601
</body>
602+
603+
<?php include 'footer.php'; ?>
604+
600605
</html>

answered_cdr.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
<style type="text/css" media="screen">@import "css/table.css";</style>
3232
<style type="text/css" media="screen">@import "css/fixed-all.css";</style>
3333
<script type="text/javascript" src="js/sorttable.js"></script>
34+
35+
<?php include 'header.php'; ?>
3436
</head>
3537
<?php
3638
if(isset($_POST['pagerows'])) {
@@ -234,6 +236,8 @@
234236
<br/>
235237
</div>
236238
</div>
237-
<div id="footer"><a href='https://asterisk-pbx.ru'>Asterisk-pbx.ru</a> 2017</div>
238239
</body>
240+
241+
<?php include 'footer.php'; ?>
242+
239243
</html>

answered_dist.php

+8-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
<script type="text/javascript" src="js/sorttable.js"></script>
3333
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
3434
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
35+
36+
<?php include 'header.php'; ?>
37+
38+
3539
</head>
3640
<?php
3741

@@ -338,6 +342,9 @@ function drawChart() {
338342

339343
</div>
340344
</div>
341-
<div id='footer'><a href='https://asterisk-pbx.ru'>Asterisk-pbx.ru</a> 2017</div>
342345
</body>
346+
347+
<?php include 'footer.php'; ?>
348+
349+
343350
</html>

distribution.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
3434
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
3535

36+
<?php include 'header.php'; ?>
37+
38+
3639
</head>
3740
<?php
3841

@@ -561,6 +564,7 @@
561564

562565
</div>
563566
</div>
564-
<div id='footer'><a href='https://asterisk-pbx.ru'>Asterisk-pbx.ru</a> 2017</div>
565567
</body>
568+
<?php include 'footer.php'; ?>
569+
566570
</html>

footer.php

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
echo "<div id='footer'><a href='#'> Queues Statistics Asterisk</a> ". date("Y") . " </div>";
3+
?>

header.php

Whitespace-only changes.

index.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,14 @@
8989

9090
<!DOCTYPE html>
9191
<head>
92+
<?php include 'header.php'; ?>
93+
9294
<title>Asternic Call Center Stats</title>
9395
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
9496
<style type="text/css" media="screen">@import "css/basic.css";</style>
9597
<style type="text/css" media="screen">@import "css/tab.css";</style>
9698
<style type="text/css" media="screen">@import "css/fixed-all.css";</style>
97-
<script src="js/validmonth.js" type="text/javascript" language="javascript1.2"></script>
99+
<script src="js/validmonth.js" type="text/javascript" language="javascript1.2">
98100
</script>
99101
<script type="text/javascript">
100102
</script>
@@ -606,4 +608,6 @@ function remove_quotes($argument)
606608
</div>
607609
</div>
608610
</body>
611+
<?php include 'footer.php'; ?>
612+
609613
</html>

realtime.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ function sethide(elemento) {
6565
}
6666

6767
</script>
68+
<?php include 'header.php'; ?>
69+
6870
</head>
6971
<body>
7072
<?php include("menu.php"); ?>
@@ -112,6 +114,6 @@ function sethide(elemento) {
112114
</div>
113115
</div>
114116
</div>
115-
<script type="text/javascript" src="js/wz_tooltip.js"></script>
116117
</body>
118+
<?php include 'footer.php'; ?>
117119
</html>

search.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
<script type="text/javascript" src="js/1.10.2/jquery.min.js"></script>
3434
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
3535
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
36+
<?php include 'header.php'; ?>
37+
3638
</head>
3739
<body>
3840

@@ -229,6 +231,6 @@
229231
</div>
230232
</div>
231233
</div>
232-
<div id='footer'><a href='https://asterisk-pbx.ru'>Asterisk-pbx.ru</a> 2017</div>
233234
</body>
235+
<?php include 'footer.php'; ?>
234236
</html>

unanswered.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<script type="text/javascript" src="js/1.10.2/jquery.min.js"></script>
3535
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
3636
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
37+
<?php include 'header.php'; ?>
3738
</head>
3839
<?php
3940
$sql = "SELECT time, callid, queuename, event, data1, data2, data3 FROM $DBTable WHERE time >= '$start' AND time <= '$end' AND event IN ('ABANDON', 'EXITWITHTIMEOUT') AND queuename IN ($queue)";
@@ -391,6 +392,6 @@ function drawBasic() {
391392

392393
</div>
393394
</div>
394-
<div id='footer'><a href='https://asterisk-pbx.ru'>Asterisk-pbx.ru</a> 2017</div>
395395
</body>
396+
<?php include 'footer.php'; ?>
396397
</html>

unanswered_cdr.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<style type="text/css" media="screen">@import "css/table.css";</style>
3232
<style type="text/css" media="screen">@import "css/fixed-all.css";</style>
3333
<script type="text/javascript" src="js/sorttable.js"></script>
34+
<?php include 'header.php'; ?>
3435
</head>
3536
<?php
3637
//if(isset($_POST['limit'])) {
@@ -168,6 +169,6 @@
168169
<br/>
169170
</div>
170171
</div>
171-
<div id="footer"><a href='https://asterisk-pbx.ru'>Asterisk-pbx.ru</a> 2017</div>
172172
</body>
173+
<?php include 'footer.php'; ?>
173174
</html>

0 commit comments

Comments
 (0)