-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
101 lines (96 loc) · 6.47 KB
/
index.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>Animation checker</title>
<link href="css/styles.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="scripts/pixlr.js"></script>
<script type="text/javascript">
pixlr.settings.target = 'http://developer.pixlr.com/save_post_modal.php';
pixlr.settings.exit = 'http://www.azukisoft.com/OSC/';
pixlr.settings.credentials = false;
pixlr.settings.method = 'get';
</script>
<script type="text/javascript" src="scripts/ajaxupload.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="fancybox/jquery.fancybox.js?v=2.1.3"></script>
<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox.css?v=2.1.2" media="screen" />
<script type="text/javascript" src="scripts/animator.js"></script>
</head>
<body >
<div id="container">
<div id="demo_area">
<div id="left_col">
<h1>"Welcome to Animation Checker by Azukisoft"</h1>
<fieldset>
<legend>Authorization </legend>
<?php
require 'fb_scripts.php';
?>
<div id="fb_place">
<fb:login-button autologoutlink='true'></fb:login-button>
<div id="your_fb"> </div>
</div>
<small style="font-weight: bold; font-style:italic;"> Only Facebook login supported now</small>
</fieldset>
<fieldset>
<legend>Select image from the list on the right</legend>
<div id="animator_container">
<table width="100%" border="0">
<tr>
<td rowspan="2"><span id="frame_info" > </span><br/><span id="image_info" > </span></td>
<td class="green">Frames count</td>
<td><img id="framesPlus" src='images/plus.png'/></td>
</tr>
<tr>
<td align="center"><span id="frames_count" >1</span></td>
<td><img id="framesMinus" src='images/minus.png'/></td>
</tr>
</table>
<br/>
Click on image to play it
<hr/><br/>
<div id="animator">
<a id="image_anim_a" href="#animator_a">
<table id="animator_grid" celpadding="0" cellspacing="0" border="1"></table>
<img id="image_anim" src="images/loader_light_blue.gif" />
</a>
</div>
<div id="animator_a" style="display: none">
<?php require 'animator_popup.php'; ?>
</div>
</div>
</fieldset>
</div>
<div id="right_col">
<fieldset>
<legend>Image uploading form</legend>
<form action="scripts/ajaxupload.php" method="post" name="unobtrusive" id="ploadingForm" enctype="multipart/form-data">
<inpit type="hiden" id="usfolder" name="userFolder" value="" />
<input type="hidden" name="maxSize" value="9999999999" />
<input type="hidden" name="maxW" value="20000" />
<input type="hidden" name="fullPath" value="/OSC/uploads/" />
<input type="hidden" name="relPath" value="../uploads/" />
<input type="hidden" name="colorR" value="255" />
<input type="hidden" name="colorG" value="255" />
<input type="hidden" name="colorB" value="255" />
<input type="hidden" name="maxH" value="30000" />
<input type="hidden" name="filename" value="filename" />
<p><input type="file" name="filename" id="filename" value="filename" onchange="ajaxUpload(this.form,'scripts/ajaxupload.php?filename=filename&userFolder='+folder+'&maxSize=9999999999&maxW=200&fullPath=/OSC/uploads/&relPath=../uploads/&colorR=255&colorG=255&colorB=255&maxH=300','upload_area','File Uploading Please Wait...<br /><img src=\'images/loader_light_blue.gif\' width=\'128\' height=\'15\' border=\'0\' />','<img src=\'images/error.gif\' width=\'16\' height=\'16\' border=\'0\' /> Error in Upload, check settings and path info in source code.'); imagesList(); return false;" /></p>
<noscript><p><input type="submit" name="submit" value="Upload Image" /></p></noscript>
</form>
<small style="font-weight: bold; font-style:italic;"> Supported File Types: gif, jpg, png</small>
</fieldset>
<div id="upload_area">
Please, start with uploading form on the left<br /><br />
</div>
<div id="images_list">loading...</div>
</div>
<div class="clear"> </div>
</div>
<br />
<br />
</div>
<div id="footer">© <a href="http://azukisoft.com">Azukisoft Pte Ltd</a> </div>
</body>
</html>