jad9321
01-13-2007, 11:24 PM
Ok, Problem. When you try to change the password in this script it gives error:
Warning: include(.php) [function.include]: failed to open stream: No such file or directory in /misc/25/000/097/126/9/user/web/xivioradio.com/phpdj/dj/djpage.php on line 105
Warning: include(.php) [function.include]: failed to open stream: No such file or directory in /misc/25/000/097/126/9/user/web/xivioradio.com/phpdj/dj/djpage.php on line 105
Warning: include() [function.include]: Failed opening '.php' for inclusion (include_path='.:/usr/share/pear') in /misc/25/000/097/126/9/user/web/xivioradio.com/phpdj/dj/djpage.php on line 105
Here is the script from the djpage.php file:
<style type="text/css">
<!--
body {
background-color: #FFFFCC;
}
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: 000000;
}
-->
</style><?php
$page = $_GET['page'];
$type = $_GET['type'];
$name = $_GET['name'];
if ($_SESSION["phprank"] == "Suspended"){
echo "Your account is suspended. You may <b>NOT</b> access this page.";
include "blank.html";
exit();
} else if($page == "main"){
echo "Welcome to Radio Panel™, <b>".$_SESSION["phpname"]."</b>.<br>You are currently a(n) <b>".$_SESSION["phprank"];
} else if($page == "requests"){
$showit = mysql_query("SELECT * FROM `dj` WHERE type='1' ORDER BY `id`");
while($row = mysql_fetch_array($showit)){
echo "<b>Name:</b> ".$row["habbo"];
echo "<br><b>Request:</b> ".$row["msg"];
echo "<br><b>Time Sent:</b> ".$row["time"];
echo "<br><b>Ip:</b> (".$row["ip1"]." / ".$row["ip2"].")";
echo "<br><a href=\"delete.php?id=".$row["id"]."\">Delete Request</a>";
}
echo "---
<br />
If a request is abusive, please report it <a href=\"dj.php?page=15\">here</a>.";
} else if($page == "shoutouts"){
$showit = mysql_query("SELECT * FROM `dj` WHERE type='2' ORDER BY `id`");
while($row = mysql_fetch_array($showit)){
echo "<b>Name:</b> ".$row["habbo"];
echo "<br><b>Shout:</b> ".$row["msg"];
echo "<br><b>Time Sent:</b> ".$row["time"];
echo "<br><b>Ip:</b> (".$row["ip1"]." / ".$row["ip2"].")";
echo "<br><a href=\"delete.php?id=".$row["id"]."\">Delete Shoutout</a><hr>";
}
echo "---
<br />
If a shoutout is abusive, please report it <a href=\"dj.php?page=15\">here</a>.";
} else if($page == "complaints"){
if ($_SESSION["phprank"] == "admin" OR "Staff DJ"){
$showit = mysql_query("SELECT * FROM `dj` WHERE type='3' ORDER BY `id`");
while($row = mysql_fetch_array($showit)){
echo "<b>Name:</b> ".$row["habbo"];
echo "<br><b>Complaint:</b> ".$row["msg"];
echo "<br><b>Time Sent:</b> ".$row["time"];
echo "<br><b>Ip:</b> (".$row["ip1"]." Or ".$row["ip2"].")";
echo "<br><a href=\"delete.php?id=".$row["id"]."\">Delete Complaint</a><hr>";
}
echo "---
<br />
If a complaint is abusive, please report it <a href=\"dj.php?page=15\">here</a>.";
} else {
echo "Sorry DJ. Only admins can page complaints.";
}
} else if($page == "competition"){
$showit = mysql_query("SELECT * FROM `dj` WHERE type='4' ORDER BY `id`");
while($row = mysql_fetch_array($showit)){
echo "<b>Name:</b> ".$row["habbo"];
echo "<br><b>Competition Answer:</b> ".$row["msg"];
echo "<br><b>Time Sent:</b> ".$row["time"];
echo "<br><b>Ip:</b> (".$row["ip1"]." / ".$row["ip2"].")";
echo "<br><a href=\"delete.php?id=".$row["id"]."\">Delete Competition Entry</a>";
}
echo "---
<br />
If a competition entry is abusive, or contains spam, please report it <a href=\"dj.php?page=15\">here</a>.";
} else if($page == "other"){
$showit = mysql_query("SELECT * FROM `dj` WHERE type='5' ORDER BY `id`");
while($row = mysql_fetch_array($showit)){
echo "<b>Name:</b> ".$row["habbo"];
echo "<br><b>'Other' Entry:</b> ".$row["msg"];
echo "<br><b>Time Sent:</b> ".$row["time"];
echo "<br><b>Ip:</b> (".$row["ip1"]." / ".$row["ip2"].")";
echo "<br><a href=\"delete.php?id=".$row["id"]."\">Delete 'Other' Entry</a><hr>";
}
echo "---
<br />
If an 'other' entry is abusive, or contains spam, please report it <a href=\"dj.php?page=15\">here</a>.";
} else if($page == "all"){
$showit = mysql_query("SELECT * FROM `dj` ORDER BY `id`");
while($row = mysql_fetch_array($showit)){
if ($row["type"] == "3"){
} else {
echo "<b>Name:</b> ".$row["habbo"];
echo "<br><b>Entry:</b> ".$row["msg"];
echo "<br><b>Time Sent:</b> ".$row["time"];
echo "<br><b>Ip:</b> (".$row["ip1"]." / ".$row["ip2"].")";
echo "<br><a href=\"delete.php?id=".$row["id"]."\">Delete Entry</a><hr>";
}
}
echo "---
<br />
If an entry is abusive, or contains spam, please report it <a href=\"dj.php?page=15\">here</a>.";
} else if ($type == "html") {
include "$page.html";
} else {
include "$page.php";
}
?>
Warning: include(.php) [function.include]: failed to open stream: No such file or directory in /misc/25/000/097/126/9/user/web/xivioradio.com/phpdj/dj/djpage.php on line 105
Warning: include(.php) [function.include]: failed to open stream: No such file or directory in /misc/25/000/097/126/9/user/web/xivioradio.com/phpdj/dj/djpage.php on line 105
Warning: include() [function.include]: Failed opening '.php' for inclusion (include_path='.:/usr/share/pear') in /misc/25/000/097/126/9/user/web/xivioradio.com/phpdj/dj/djpage.php on line 105
Here is the script from the djpage.php file:
<style type="text/css">
<!--
body {
background-color: #FFFFCC;
}
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: 000000;
}
-->
</style><?php
$page = $_GET['page'];
$type = $_GET['type'];
$name = $_GET['name'];
if ($_SESSION["phprank"] == "Suspended"){
echo "Your account is suspended. You may <b>NOT</b> access this page.";
include "blank.html";
exit();
} else if($page == "main"){
echo "Welcome to Radio Panel™, <b>".$_SESSION["phpname"]."</b>.<br>You are currently a(n) <b>".$_SESSION["phprank"];
} else if($page == "requests"){
$showit = mysql_query("SELECT * FROM `dj` WHERE type='1' ORDER BY `id`");
while($row = mysql_fetch_array($showit)){
echo "<b>Name:</b> ".$row["habbo"];
echo "<br><b>Request:</b> ".$row["msg"];
echo "<br><b>Time Sent:</b> ".$row["time"];
echo "<br><b>Ip:</b> (".$row["ip1"]." / ".$row["ip2"].")";
echo "<br><a href=\"delete.php?id=".$row["id"]."\">Delete Request</a>";
}
echo "---
<br />
If a request is abusive, please report it <a href=\"dj.php?page=15\">here</a>.";
} else if($page == "shoutouts"){
$showit = mysql_query("SELECT * FROM `dj` WHERE type='2' ORDER BY `id`");
while($row = mysql_fetch_array($showit)){
echo "<b>Name:</b> ".$row["habbo"];
echo "<br><b>Shout:</b> ".$row["msg"];
echo "<br><b>Time Sent:</b> ".$row["time"];
echo "<br><b>Ip:</b> (".$row["ip1"]." / ".$row["ip2"].")";
echo "<br><a href=\"delete.php?id=".$row["id"]."\">Delete Shoutout</a><hr>";
}
echo "---
<br />
If a shoutout is abusive, please report it <a href=\"dj.php?page=15\">here</a>.";
} else if($page == "complaints"){
if ($_SESSION["phprank"] == "admin" OR "Staff DJ"){
$showit = mysql_query("SELECT * FROM `dj` WHERE type='3' ORDER BY `id`");
while($row = mysql_fetch_array($showit)){
echo "<b>Name:</b> ".$row["habbo"];
echo "<br><b>Complaint:</b> ".$row["msg"];
echo "<br><b>Time Sent:</b> ".$row["time"];
echo "<br><b>Ip:</b> (".$row["ip1"]." Or ".$row["ip2"].")";
echo "<br><a href=\"delete.php?id=".$row["id"]."\">Delete Complaint</a><hr>";
}
echo "---
<br />
If a complaint is abusive, please report it <a href=\"dj.php?page=15\">here</a>.";
} else {
echo "Sorry DJ. Only admins can page complaints.";
}
} else if($page == "competition"){
$showit = mysql_query("SELECT * FROM `dj` WHERE type='4' ORDER BY `id`");
while($row = mysql_fetch_array($showit)){
echo "<b>Name:</b> ".$row["habbo"];
echo "<br><b>Competition Answer:</b> ".$row["msg"];
echo "<br><b>Time Sent:</b> ".$row["time"];
echo "<br><b>Ip:</b> (".$row["ip1"]." / ".$row["ip2"].")";
echo "<br><a href=\"delete.php?id=".$row["id"]."\">Delete Competition Entry</a>";
}
echo "---
<br />
If a competition entry is abusive, or contains spam, please report it <a href=\"dj.php?page=15\">here</a>.";
} else if($page == "other"){
$showit = mysql_query("SELECT * FROM `dj` WHERE type='5' ORDER BY `id`");
while($row = mysql_fetch_array($showit)){
echo "<b>Name:</b> ".$row["habbo"];
echo "<br><b>'Other' Entry:</b> ".$row["msg"];
echo "<br><b>Time Sent:</b> ".$row["time"];
echo "<br><b>Ip:</b> (".$row["ip1"]." / ".$row["ip2"].")";
echo "<br><a href=\"delete.php?id=".$row["id"]."\">Delete 'Other' Entry</a><hr>";
}
echo "---
<br />
If an 'other' entry is abusive, or contains spam, please report it <a href=\"dj.php?page=15\">here</a>.";
} else if($page == "all"){
$showit = mysql_query("SELECT * FROM `dj` ORDER BY `id`");
while($row = mysql_fetch_array($showit)){
if ($row["type"] == "3"){
} else {
echo "<b>Name:</b> ".$row["habbo"];
echo "<br><b>Entry:</b> ".$row["msg"];
echo "<br><b>Time Sent:</b> ".$row["time"];
echo "<br><b>Ip:</b> (".$row["ip1"]." / ".$row["ip2"].")";
echo "<br><a href=\"delete.php?id=".$row["id"]."\">Delete Entry</a><hr>";
}
}
echo "---
<br />
If an entry is abusive, or contains spam, please report it <a href=\"dj.php?page=15\">here</a>.";
} else if ($type == "html") {
include "$page.html";
} else {
include "$page.php";
}
?>