coming widget
This commit is contained in:
parent
0c6c42b533
commit
92c36e17f0
@ -4,6 +4,11 @@
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
iframe {
|
||||||
|
background: black; /* this is just to make the frames easier to see */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#style{
|
#style{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
iframe {
|
||||||
|
background: #021AB0; /* this is just to make the frames easier to see */
|
||||||
|
}
|
||||||
|
|
||||||
#style{
|
#style{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -13,6 +13,11 @@ background-color: <?php echo $custombackground; ?>;
|
|||||||
color: white; #000000;
|
color: white; #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#statswidget{
|
||||||
|
background-color: <?php echo $custombackground; ?>;
|
||||||
|
color: white; #000000;
|
||||||
|
}
|
||||||
|
|
||||||
#maincontent{
|
#maincontent{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 40px; /*Set top value to HeightOfTopFrameDiv*/
|
top: 40px; /*Set top value to HeightOfTopFrameDiv*/
|
||||||
@ -126,5 +131,9 @@ div.head {
|
|||||||
font-size: 16pt;
|
font-size: 16pt;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
iframe {
|
||||||
|
background: <?php echo $custombackground; ?>; /* this is just to make the frames easier to see */
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
@ -4,6 +4,10 @@
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
iframe {
|
||||||
|
background: red; /* this is just to make the frames easier to see */
|
||||||
|
}
|
||||||
|
|
||||||
#style{
|
#style{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -18,5 +18,29 @@ tr { background-color:<?php echo $widgetcolour; ?>;
|
|||||||
color: <?php echo $mediastatstextcolour; ?>;
|
color: <?php echo $mediastatstextcolour; ?>;
|
||||||
background-color: <?php echo $mediastatscolour; ?>;
|
background-color: <?php echo $mediastatscolour; ?>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
li{
|
||||||
|
list-style:none;
|
||||||
|
color: white ;
|
||||||
|
padding-left: 0pt;
|
||||||
|
margin-top:0px;
|
||||||
|
-webkit-background-size: cover;
|
||||||
|
-moz-background-size: cover;
|
||||||
|
-o-background-size: cover;
|
||||||
|
background-size: 80px 60px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
padding-left: 0px;
|
||||||
|
padding-top: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
iframe {
|
||||||
|
margin: none;
|
||||||
|
padding: none;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
@ -4,6 +4,11 @@
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
iframe {
|
||||||
|
background: white; /* this is just to make the frames easier to see */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#style{
|
#style{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<link rel="stylesheet" type="text/css" media="screen" href="../css/static.php" />
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.js" type="text/javascript"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.js" type="text/javascript"></script>
|
||||||
<style>
|
<style>
|
||||||
.hiddenRow { display: none; }
|
.hiddenRow { display: none; }
|
||||||
@ -17,18 +18,8 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr class="hiddenRow">
|
<tr class="hiddenRow">
|
||||||
<td bgcolor='#FFFFFF'>
|
<td bgcolor='#FFFFFF'>
|
||||||
<?php
|
<iframe src="feeds/SickBeard_2.php" width="271" height="200" scrolling="yes">
|
||||||
include '../config.php';
|
</iframe>
|
||||||
$Sick = json_decode(file_get_contents("http://$base:$sickport/api/$SICKAPI/?cmd=future&sort=date&type=today"), TRUE); ?>
|
|
||||||
<ul>
|
|
||||||
<?php foreach($Sick['data'] as $day) : ?>
|
|
||||||
<?php foreach($day as $item) : ?>
|
|
||||||
<li><?php echo $item['show_name'] ?> </br> <?php echo $item['ep_name'] ?></li>
|
|
||||||
<?php endforeach ?>
|
|
||||||
<?php endforeach ?>
|
|
||||||
<li>
|
|
||||||
<?php echo "<a href=\"http://$base:$sickport/api/$SICKAPI/?cmd=sb.forcesearch\"target=\"_blank\">Click here To Force Search</a>"; ?> </li>
|
|
||||||
</ul>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</form>
|
</form>
|
||||||
|
53
feeds/SickBeard_2.php
Normal file
53
feeds/SickBeard_2.php
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
<!--Force IE6 into quirks mode with this comment tag-->
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
|
<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="../styleswitch.js" type="text/javascript">
|
||||||
|
|
||||||
|
|
||||||
|
/***********************************************
|
||||||
|
* Style Sheet Switcher v1.1- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
|
||||||
|
* This notice MUST stay intact for legal use
|
||||||
|
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
|
||||||
|
***********************************************/
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<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();
|
||||||
|
}
|
||||||
|
function togglebodytheme() {
|
||||||
|
$('#themetable tbody').toggle();
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<?php
|
||||||
|
include '../config.php';
|
||||||
|
$Sick = json_decode(file_get_contents("http://$base:$sickport/api/$SICKAPI/?cmd=future&sort=date&type=today"), TRUE); ?>
|
||||||
|
<ul>
|
||||||
|
<?php foreach($Sick['data'] as $day) : ?>
|
||||||
|
<?php foreach($day as $item) : ?>
|
||||||
|
<?php $url = "http://$base:$sickport/api/$SICKAPI/?cmd=show.getbanner&tvdbid=".$item['tvdbid']; ?>
|
||||||
|
<li style='border: 1px solid black; background: url(<?php echo $url; ?>) no-repeat center center;'>
|
||||||
|
<span style="background-color: #000000"> <?php echo $item['show_name'] ?> - S<?php echo $item['season'] ?>E<?php echo $item['episode'] ?> </br> <?php echo $item['ep_name'] ?></li></span>
|
||||||
|
<?php endforeach ?>
|
||||||
|
<?php endforeach ?>
|
||||||
|
<?php echo "<a href=\"http://$base:$sickport/api/$SICKAPI/?cmd=sb.forcesearch\"target=\"_blank\">Click here To Force Search</a>"; ?>
|
||||||
|
</ul>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
x
Reference in New Issue
Block a user