Repository navigation
Expand file tree
/
Copy pathcommissions.php
More file actions
121 lines (119 loc) · 4.33 KB
/
Copy pathcommissions.php
File metadata and controls
121 lines (119 loc) · 4.33 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<?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">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--- header and style definitions -->
<head>
<title>Commissions - ThatShouldBeAComic.com</title>
<!--[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?displayName=smithyisspiffy&desc=@c"></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'] = "commissions.php";
}
?>
<!--- Content-->
<body>
<a href="index.php">
<img src="tsbacbanner.png" style="margin-left:10%; margin-right:10%; width:80%; opacity:.8;" />
</a>
<!--menu-->
<div class="mainmenu">
<div id="temp">
</div>
<div id="addcomment">
</div>
<table style="padding:5px">
<tr>
<td><button type="button" id="btnTSBAC" onclick="addIdea()" title="I have an idea!" alt="I have an idea!">That Should Be a Comic!!!</button></td>
<td><button type="button" id="btnUpdate" onclick="location.href='updates.html'" title="View updates" alt="View updates">Updates</button></td>
<?php if ($email) echo "<!--";?>
<td><button type="button" id="btnAddUser" onclick="location.href='adduser.php'" title="Sign me up!" alt="Sign me up!">Register</button></td>
<?php if ($email) echo "-->";?>
<?php if ($email) echo "<!--";?>
<td><button type="button" id="btnLogin" onclick="login()" title="Log me in!" alt="Log me in!">Login</button></td>
<?php if ($email) echo "-->";?>
<?php if (!($email)) echo "<!--";?>
<td><button type="button" id="btnLogout" onclick="location.href='logout.php'" title="Log out" alt="Log out">Logout</button></td>
<?php if (!($email)) echo "-->";?>
<?php if (!($email)) echo "<!--";?>
<td><button type="button" id="btnUpload" onclick="location.href='fileselect.php'" title="Upload" alt="Upload">Upload</button></td>
<?php if (!($email)) echo "-->";?>
<?php if (!($email)) echo "<!--";?>
<td><button type="button" id="btnEditAccount" onclick="location.href='edituser.php'" title="Edit Account" alt="Edit Your Account Info">Edit Account</button></td>
<?php if (!($email)) echo "-->";?>
<?php if (!$email) echo "<!--"; ?><td><button type="button" id="btnLick" onclick="lick()" alt="Lick the comic!" title="Lick the comic!">Lick!</button></td> <?php if (!$email) echo "-->"; ?>
<td><button type="button" id="commentClick" onclick="addComment()">Comment</button></td>
</tr>
</table>
</div> <!--menu-->
<br />
<!------Comic Viewer------------>
<div align="center">
<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>
<!----------------------------->
</div>
<p class="clear">
<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);";
?>
}
</script>
<form>
<div align="center">
<br />
<button type="button" id="btnFirst" onclick="firstimage()">|<<</button>
<button type="button" id="btnPrev" onclick="previmage()"><<</button>
<button type="button" id="btnNext" onclick="nextimage()">>></button>
<button type="button" id="btnLast" onclick="lastimage()">>>|</button>
<br />
</form>
</p>
</div>
<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>
<div align="center" id="addcomment">
</div>
<br>
<br>
<div align="center">
[ <a href="credits.html">Programming Credits</a> | <a href="showall.html">Show All</a> ]
</div>
<br>
<br>
</body>
</html>