KLanding/feeds/SickBeard.php

44 lines
1.5 KiB
PHP
Raw Normal View History

2016-03-10 13:31:44 +00:00
<html>
<head>
<link rel="stylesheet" type="text/css" href="../css/white.css" />
<link rel="stylesheet" type="text/css" href="../css/static.php" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="black" href="../css/black.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="white" href="../css/white.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="blue" href="../css/blue.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="red" href="../css/red.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="custom" href="../css/custom.php" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.js" type="text/javascript"></script>
<style>
.hiddenRow { display: none; }
</style>
<script>
function toggleNextRow(row) {
var nextRow = $(row).next();
nextRow.toggle();
}
</script>
</head>
<table width='275' border='0' cellspacing='0' cellpadding='0'>
<tr onclick="toggleNextRow(this)" >
<th style='text-align: left;'><font color='white'>Coming Episodes</font></th>
</tr>
<tr class="hiddenRow">
<td bgcolor='#FFFFFF'>
<?php
include '../config.php';
$Sick = json_decode(file_get_contents("http://$base:$sickport/api/$SICKAPI/?cmd=future&sort=date"), TRUE);
echo $Sick["data"]["today"][2]["data_show_name"];
?>
</td>
</tr>
</form>
</td>
</table>
</p>
</body>
</html>