Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!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">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>[[TITLE]]</title>
- <meta name="description" content="[[DESCRIPTION]]"/>
- <meta property="og:image" content="[[OG_IMAGE]]" />
- <meta property="og:url" content="[[OG_URL]]" />
- <meta property="og:title" content="[[OG_TITLE]]" />
- <link rel="shortcut icon" href="/favicon.ico" />
- <link rel="stylesheet" href="http://login.photopartyupload.com/content/styles/jquery.fancybox.css" type="text/css" media="screen" />
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script type="text/javascript" src="http://login.photopartyupload.com/scripts/jquery.fancybox.pack.js"></script>
- <script type="text/javascript" src="scripts/jwplayer.js"></script>
- <style type="text/css">
- body
- {
- [[BACKGROUNDIMAGE]];
- }
- .download
- {
- font-size: 14px;
- color: #dddddd;
- text-align: center;
- text-weight:bold;
- padding: 5px;
- }
- </style>
- <style type="text/css">
- body
- {
- background-repeat: repeat;
- font-family: Arial, Helvetica, sans-serif;
- }
- .frame
- {
- border:0px;
- padding: 8px 0px;
- }
- a.fancybox.image IMG,
- a.fancybox.video IMG
- {
- max-width: 210px;
- max-height: 130px;
- }
- img
- {
- border: none;
- }
- #main
- {
- margin: 0 auto;
- width: 940px;
- height: auto;
- }
- #banner
- {
- width: 940px;
- height: auto;
- }
- #banner IMG
- {
- margin: 0 auto;
- display: block;
- }
- #header
- {
- padding: 20px;
- height: auto;
- }
- #header p
- {
- font-size: 14px;
- font-weight: 550;
- color: #000;
- }
- #content
- {
- width: 100%;
- height: auto;
- }
- .frame
- {
- margin-left: 5px;
- background-repeat: no-repeat;
- /*float: left;*/
- display: inline-block;
- }
- .frame img
- {
- margin-left: 1px;
- margin-top: 1px;
- }
- .fancybox.video
- {
- display: block;
- position: relative;
- width: 100%; /* for IE 6 */
- }
- .fancybox.video .overlay
- {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: url(data/video_play_overlay.png) no-repeat 50% 50%;
- cursor: pointer;
- }
- .clear-both
- {
- clear: both;
- }
- #footer
- {
- padding: 20px;
- }
- #footer p
- {
- font-size: 14px;
- font-weight: 550;
- color: #000;
- }
- #footer_power_by
- {
- background-image: url(data/footerbg.jpg);
- background-repeat: repeat-x;
- height: 64px;
- text-align: center;
- }
- #footer_power_by span
- {
- line-height: 64px;
- font-size: 12px;
- }
- .power
- {
- color: #8c8c8c;
- }
- .powername
- {
- color: #dd8c5c;
- }
- a.powername:link
- {
- color: #dd8c5c;
- text-decoration: none;
- }
- a.powername:hover
- {
- color: #dd8c00;
- text-decoration: underline;
- }
- a.powername:visited
- {
- color: #dd8c5c;
- text-decoration: none;
- }
- [[THUMBNAILS_SIZE]]
- </style>
- <script type="text/javascript">
- function downloadFile(url)
- {
- if(url.indexOf("://") < 0) {
- var loc = window.location.href;
- var dir = loc.substring(0, loc.lastIndexOf('/'));
- url = dir + "/" + url;
- }
- window.location = "http://login.photopartyupload.com/Pages/DownloadFile.aspx?url=" + url;
- return false;
- }
- $(function() {
- $("a.fancybox.image").fancybox({
- 'transitionIn' : 'none',
- 'transitionOut' : 'none',
- 'titlePosition' : 'over',
- 'beforeShow' : function(){
- var customContent = '<div class="download"><a href="#" onclick="return downloadFile(\'' + this.href +'\')">download</a></div>';
- $('.fancybox-outer').append(customContent);
- }
- });
- $("a.fancybox.video").fancybox({
- 'content': '<div id="customPromoVideoPlayer"></div>',
- 'maxWidth': 754,
- 'maxHeight': 600,
- 'fitToView': false,
- 'width': 754,
- 'height': 600,
- 'autoSize': false,
- 'transitionIn': 'none',
- 'transitionOut': 'none',
- 'titlePosition': 'over',
- 'afterShow': function () {
- jwplayer("customPromoVideoPlayer").setup({
- 'id': 'promoVideoPlayer',
- 'width': 720,
- 'height': 540,
- 'file': this.href,
- 'provider': 'video',
- 'autostart': true,
- 'modes': [
- { type: 'flash', src: 'scripts/player.swf' },
- { type: 'html5' },
- { type: 'download' }
- ]
- });
- var customContent = '<div class="download"><a href="#" onclick="return downloadFile(\'' + this.href +'\')">download</a></div>';
- $('.fancybox-inner').append(customContent);
- }
- });
- });
- </script>
- </head>
- <body>
- <div id="main">
- <div id="banner">
- [[HEADERIMAGE]]
- </div>
- <div id="header">
- [[HEADER]]
- </div>
- <div id="content">
- <table align="center">
- <tr>
- <td align="center">
- [[IMAGE_GALLERY]]
- [[VIDEO_GALLERY]]
- </td>
- </tr>
- </table>
- <div class="clear-both">
- </div>
- </div>
- <div id="footer">
- <div style="float: left; width: 50%;">
- [[GOOGLEANALYTICS_TRACKER_ID]]
- <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=[[TRACKER_ID]]"></script>
- <!-- AddThis Button END -->
- </div>
- <div style="float: right;">
- [[ADDTHIS_FOLLOW_BUTTONS]]
- </div>
- <div style="clear: both;"></div>
- [[FOOTER]]
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement