-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathembedcode.php
More file actions
153 lines (139 loc) · 5.52 KB
/
Copy pathembedcode.php
File metadata and controls
153 lines (139 loc) · 5.52 KB
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
<?php
/**
* liverequest systeem
* @author Prelution
*/
require_once('includes/bootstrap.inc.php');
require_once('template/TH4Y/header.php');
if($user->type == 1) {
$radio = $user->radio;
}elseif($user->type == 2){
$radio = $_SESSION['id'];
}
$query = DB::Query("SELECT * FROM stream_settings WHERE radio = " . DB::Escape($_SESSION['id']));
if(DB::NumRows($query) == 1) {
$playerInfo = DB::Fetch($query);
}else{
$playerInfo = array(
'id' => '',
'radio' => '',
'stream' => '',
'port' => '',
);
}
?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Insluitcodes
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-header">
<h3 class="box-title">Verzoek Formulier
</h3>
</div>
<!-- /.box-header -->
<div class="box-body pad">
<form>
<textarea style="width: 100%; height: 80px; resize: none; "><iframe src="https://ares.chattersworld.nl/verzoekjes.php?id=<?php echo $radio; ?>" id="Chattersworld" scrolling="auto" frameborder="no" height="600px" width="300px"></iframe></textarea>
</form>
</div>
</div>
<!-- /.box -->
<div class="box box-info">
<div class="box-header">
<h3 class="box-title">Dj Display
</h3>
</div>
<!-- /.box-header -->
<div class="box-body pad">
<form>
<textarea style="width: 100%; height: 80px; resize: none; "><iframe src="https://ares.chattersworld.nl/djdisplay.php?id=<?php echo $radio; ?>" id="Chattersworld" scrolling="auto" frameborder="no" height="600px" width="300px"></iframe></textarea>
</div>
</div>
<?php
$chatbox = DB::Query("SELECT * FROM stream_settings WHERE radio = " . DB::Escape($_SESSION['id']));
if(DB::NumRows($chatbox) == 1) {
?>
<div class="box box-info">
<div class="box-header">
<h3 class="box-title">Huidig Nummer
</h3>
</div>
<!-- /.box-header -->
<div class="box-body pad">
<form>
<textarea style="width: 100%; height: 80px; resize: none; "><iframe src="https://ares.chattersworld.nl/song.php?id=<?php echo $radio; ?>" id="Chattersworld" scrolling="auto" frameborder="no" height="250px" width="250px"></iframe></textarea>
</form>
</div>
</div>
<?php } ?>
<?php
$chatbox = DB::Query("SELECT * FROM chat_settings WHERE radio = " . DB::Escape($_SESSION['id']));
if(DB::NumRows($chatbox) == 1) {
?>
<div class="box box-info">
<div class="box-header">
<h3 class="box-title">Chatbox
</h3>
</div>
<!-- /.box-header -->
<div class="box-body pad">
<form>
<textarea style="width: 100%; height: 80px; resize: none; "><iframe src="https://ares.chattersworld.nl/chat.php?id=<?php echo $radio; ?>" id="Chattersworld" scrolling="auto" frameborder="no" height="758px" width="758px"></iframe></textarea>
<h3 class="box-title">Klik hier voor de chat in een apart scherm: <a href="https://ares.chattersworld.nl/chat.php?id=<?php echo $radio; ?>" target="_blank" class="btn btn-primary">Chat ID: <?php echo $radio; ?></a></h3>
</form>
</div>
</div>
<?php } ?>
<?php
$player = DB::Query("SELECT * FROM player_settings WHERE radio = " . DB::Escape($_SESSION['id']));
if(DB::NumRows($player) == 1) {
?>
<div class="box box-info">
<div class="box-header">
<h3 class="box-title">Player
</h3>
</div>
<!-- /.box-header -->
<div class="box-body pad">
<form>
<textarea style="width: 100%; height: 80px; resize: none; "><iframe src="https://ares.chattersworld.nl/player.php?id=<?php echo $radio; ?>" id="Chattersworld" scrolling="auto" frameborder="no" height="80px" width="250px"></iframe></textarea>
</form>
</div>
</div>
<?php } ?>
<?php
$berichten = DB::Query("SELECT * FROM berichtenbalkkleur WHERE radio = " . DB::Escape($_SESSION['id']));
if(DB::NumRows($berichten) == 1) {
?>
<div class="box box-info">
<div class="box-header">
<h3 class="box-title">Berichtenbalk
</h3>
</div>
<!-- /.box-header -->
<div class="box-body pad">
<form>
<textarea style="width: 100%; height: 80px; resize: none; "><iframe src="https://ares.chattersworld.nl/berichtenbalk.php?id=<?php echo $radio; ?>" id="Chattersworld" scrolling="auto" frameborder="no" height="150px" width="100%"></iframe></textarea>
</form>
</div>
</div>
<?php } ?>
</div>
</div>
<!-- /.col-->
</div>
<!-- ./row -->
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<?php require_once('template/TH4Y/footer.php'); ?>