-
Notifications
You must be signed in to change notification settings - Fork 1
/
comics.php
81 lines (78 loc) · 2.27 KB
/
comics.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php session_start(); ?><!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">
<!--- header and style definitions -->
<title>ThatShouldBeAComic.com</title>
<head>
<!--[if lt IE 9]>
<script src="http://www.dreamreign.com/include/excanvas.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="thatshouldbeacomic.css" />
<script src="getimagesdb.php?series=comic"></script>
</head>
<?php
require_once 'config.php';
$email = $_SESSION['email'];
$curimage=$_GET['image'];
if (!$curimage)
{
$_SESSION['lastPage'] = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
}
else
{
$_SESSION['lastPage'] = $GLOBALS['FQP'] . "/comics.php";
}
?>
<!--- Content-->
<body>
<a href="index.php">
<img src="tsbacbanner.png" style="margin-left:10%; margin-right:10%; width:80%; opacity:.8;" />
</a>
<div align="center">
<?php require($DOCUMENT_ROOT . "mainmenu.html"); ?>
<br />
<!------Comic Viewer------------>
<a class="comicview" href="#">
<canvas id="canvas" name="canvas"></canvas>
<span>
<!-- *** Code to show box when hover -->
<div align="center">
<table id="infobox" class="imgdesc">
<tr> <td><span id="filedesc"></span> </tr> </td>
</table>
</div>
</span>
</a>
<!----------------------------->
<?php require($DOCUMENT_ROOT . "rotatemenu.html"); ?>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script type="text/javascript" src="phpget.js"></script>
<script type="text/javascript" src="cview.js"></script>
<script type="text/javascript">
window.onload=function(){
var curimg=-1;
<?php if (empty($curimage))
echo "init(-1);";
else
echo "init($curimage);";
?>
<?php if (!($email)) echo "/*";?>
checkNewMessages();
var timeoutIdMsg=0;
timeoutIdMsg = setInterval("checkNewMessages()", 300000 );
<?php if (!($email)) echo "*/";?>
}
</script>
<div align="center" id="licks">
</div>
<div align="center" id="comments">
</div>
<div align="center">
<form><button type="button" id="commentClick" onclick="addComment()">Comment</button></form>
</div>
<br>
<br>
<br>
<br>
</body>
</html>