View file chat spall script/web/cri.htm

File size: 4.01Kb
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
	<head>
	  <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="no-cache" content="no-cache" />
        <meta http-equiv="Cache-Control" content="no-cache" />
<? $nocache = rand(0000, 9999);
echo '<meta http-equiv="refresh" content="30;url= ">';
 ?>
        <link rel="shortcut icon" href="favicon.ico" />
<title>Cricket</title>

<style type="text/css">
/* CSS Document */
body {
	font-size : small;
	font-family : Verdana, Arial, Helvetica, sans-serif;
	background-color : #ffffff;
	color : #464646;
	margin : 1px 2px 1px 2px;

}
a:active, a:visited, a:link, a.ads:active, a.ads:visited, a.ads:link {
color : #0080FF;
}
a:hover {
color : #ff3e3e;
}

p {margin: 0px 0px 0px 0px; padding: 2px;}
p.c {
text-align : center;
}
span.nick {
color : #009b00;
font-weight : bold;
}
hr {
background-color: #99cccc;
color: #99cccc;
border: none;
height: 1px;
}
.advert {
text-align : center;
padding: 5px;
}
.logo {
background-position:0 0;
background-image:none;
background-color: #ff0000;
text-align : left;
}
.info {
font-weight:bold;
padding: 2px 2px 2px 0px; 
background:#eeeeee;
border-bottom:1px solid #cccccc;
color: #000000;
}
.light {
padding: 2px 2px 2px 0px; 
background-color: #ffffff;
color: #000000;
padding:1px 2px 2px 1px;
margin:0 2px 0 2px;
}
.dark {
padding: 2px 2px 2px 0px; 
background-color: #eeeeee;
color: #000000;
padding:1px 2px 2px 1px;
margin:0 2px 0 2px;
}
.footer {
text-align : center;
background-color: #ffffff;
}

/* global default values */
form {
margin:0;
padding:0;
}
.center {
text-align:center;
}
p {
margin:0;
padding:0;
}
input {
font-size:small;
margin:0;
}
textarea {
font-size:small;
margin:0;
}
img {
border:0;
margin:0;
padding:0;
vertical-align:middle;
}
.gap {
height:0.45em;
}
h2{
font-size : large;
margin:0;
padding:0;
}
.groovybutton
{
font-size:20px;
height:30px;
background-color:#779999;
background-image:url(button_back.gif);
border-style:solid;
border-color:#EEEEEE;
border-width:1px;
}
</style>
</head>
<body>

<?
extract($_REQUEST);
$url = "http://feeds.feedburner.com/CricbuzzFeed";
$Id = $_GET["id"];
if ($Id != "")
{
  $fp = @fopen($url, "r");
if(!$fp)
{
echo"Cannot Connect<br/>";
echo"Try Again Later<br/>";
} else
{
  while (!feof($fp))
    $raw .= @fgets($fp, 4096);
  fclose($fp);

  if (eregi("<item>(.*)</item>", $raw, $rawitems))
  {
    $items = explode("<item>", $rawitems[0]);

    for ($i = 0; $i < 1; $i++)
    {
      eregi("<title>(.*)</title>", $items[$id + 1], $title);
      eregi("<description>(.*)</description>", $items[$id + 1], $description);
      eregi("<link>(.*)</link>", $items[$id + 1], $link);
$description[1] = str_replace(",", "<br/>", $description[1]);
$description[1] = str_replace(". ", "<br/>", $description[1]);
	  echo "<p class='dark'" . $title[1] . "</p>\n";
 echo"<br />";
	  echo "<a href=\" \">Refresh</a>\n<br/>";
	  echo $description[1] . " <br />\n\n";
	  echo "<p align=\"left\">\n";
	  echo "<a href=\"./cri.php?session=" . $nocache . "\">Back</a>\n<br/>";
	  echo "<a href=\" \">Refresh</a>\n<br/>";
	  echo "</p>\n";
    }
  }
}
} else
{
  $fp = @fopen($url, "r");
if(!$fp)
{
echo"Cannot Connect<br/>";
echo"Try Again Later<br/>";
} else
{
  while (!feof($fp))
    $raw .= @fgets($fp, 4096);
  fclose($fp);
	  echo "<p class='dark'>Choose A Cricket Match<p />\n";
  if (eregi("<item>(.*)</item>", $raw, $rawitems))
  if (eregi("<title>(.*)</title>", $raw, $rawitemss))
  {
    $items = explode("<item>", $rawitems[0]);
    $title = explode("<title>", $rawitemss[0]);
    for ($i = 0; $i <count($title); $i++)
    {
    eregi("<title>(.*)</title>", $items[$i + 1], $title);
      echo "<a href=\"./cri.php?session=" . $nocache . "&amp;id=" . $i . "\">" . $title[1] . "</a> <br />\n";
    }
  }

}
}
?>

<a href="http://livechat-wap.net/">Home</a><br/>
<center>	<hr>
<br/>
</center>

© 2008-2009 livechat-wap.net
</body></html>