<?php
include("config.php");
include("core.php");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
//header('Content-type: application/vnd.wap.xhtml+xml');
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
$bcon = connectdb();
if (!$bcon)
{
echo "<head>";
echo "<title>Error!!!</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"!\"/><br/>";
echo "<b><strong>Error! Cannot Connect To Database...</strong></b><br/><br/>";
echo "This error happens usually when backing up the database, please be patient...";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}
$brws = explode("/",$HTTP_USER_AGENT);
$ubr = $brws[0];
$uip = getip();
$action = $_GET["action"];
$sid = $_GET["sid"];
$page = $_GET["page"];
$who = $_GET["who"];
$sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'"));
$sitename = $sitename[0];
$uid = getuid_sid($sid);
$theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id='".$uid."'"));
cleardata();

if(($action != "") && ($action!="terms"))
{
$uid = getuid_sid($sid);
if((islogged($sid)==false)||($uid==0))
{
echo "<head>";
echo "<title>Error</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "You are not logged in<br/>";
echo "Or Your session has been expired<br/><br/>";
echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}
}


////////////////////////////////////////MAIN PAGE
echo "<head>";
echo "<title>u2</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
?>
</head>
<body>
<embed src="http://nameofsite/mp3s/files1/U2_With_or_Without_You.mp3" autostart="true" loop="true"
width="2" height="0">
</embed>
<noembed>
<bgsound src="http://nameofsite/mp3s/files1/U2_With_or_Without_You.mp3" loop="infinite">
</noembed>

<?php
echo "<p align=\"center\">";
echo "<br>with or without you lyrics</br>";
echo "<br>See the stone set in your eyes</br>";
echo "<br>See the thorn twist in your side</br>";
echo "<br>I wait for you</br>";

echo "<br>Sleight of hand and twist of fate</br>";
echo "<br>On a bed of nails she makes me wait</br>";
echo "<br>And I wait without you</br>";

echo "<br>With or without you</br>";
echo "<br>With or without you</br>";

echo "<br>Through the storm we reach the shore</br>";
echo "<br>You give it all but I want more</br>";
echo "<br>And Im waiting for you</br>";

echo "<br>With or without you</br>";
echo "<br>With or without you</br>";
echo "<br>I cant live</br>";
echo "<br>With or without you</br>";

echo "<br>And you give yourself away</br>";
echo "<br>And you give yourself away</br>";
echo "<br>And you give</br>";
echo "<br>And you give</br>";
echo "<br>And you give yourself away</br>";

echo "<br>My hands are tied</br>";
echo "<br>My body bruised, shes got me with</br>";
echo "<br>Nothing to win and</br>";
echo "<br>Nothing left to lose</br>";

echo "<br>And you give yourself away</br>";
echo "<br>And you give yourself away</br>";
echo "<br>And you give</br>";
echo "<br>And you give</br>";
echo "<br>And you give yourself away</br>";

echo "<br>With or without you</br>";
echo "<br>With or without you</br>";
echo "<br>I cant live</br>";
echo "<br>With or without you</br>";

echo "<br>With or without you</br>";
echo "<br>With or without you</br>";
echo "<br>I cant live</br>";
echo "<br>With or without you</br>";
echo "<br>With or without you</br>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Mainpage</a>";
echo "</p>";
echo "</body>";
?>