-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtest.php
More file actions
44 lines (37 loc) · 905 Bytes
/
test.php
File metadata and controls
44 lines (37 loc) · 905 Bytes
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
<?php
include 'connection.php';
//echo $_SESSION["gamer"];
/* $con->query("UPDATE `open` SET `is_open`= 0 WHERE 1 ;");
$result = $con->query("SELECT * FROM open WHERE 1");
$X = $result->fetch_assoc();
echo $X["is_open"] ;
*/
//print_r($_SESSION["gamer"]);
$hi = '<div class="row" > ';
//echo $hi;
$hi .= '<div class="col-sm-4 offer_column" style=""> ';
$b ="hkdg";
$hi .= '<div class="col-sm-12 pic" style=" '.$b.'; background-repeat: no-repeat; background-position: center; background-size: 100% 100%;"></div> ';
echo $hi;
//echo $_SESSION["ID"];
/*
if(strcmp($_SESSION["gamer"]["type"], "owner") != 0 ){
echo "hi";
}
else {
echo $_SESSION["gamer"]["type"];
}
if(!(isset($_SESSION["gamer"]))){
echo "hello";
}
else{
echo "die3";
}
if (((!(isset($_SESSION["gamer"])))||(strcmp($_SESSION["gamer"]["type"], "owner") != 0 ))) {
echo "die 4";
}
else{
echo "live";
}
*/
?>